:root {
  --bg: #f1f2f4;
  --raffle-bg-image: url('https://i.postimg.cc/rpZmM8TG/Gemini-Generated-Image-5em91y5em91y5em9.png');
  --card: #ffffff;
  --line: #d7dce3;
  --text: #101828;
  --muted: #667085;
  --green: #16a34a;
  --green-dark: #13873f;
  --blue: #2f6de0;
  --black: #08090b;
  --accent: #f5c65d;
  --teal: #3bd8c5;
  --glass: rgba(255, 255, 255, 0.08);
  --shadow-strong: 0 30px 90px #020617a3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.raffle-page {
  --bg: #050910;
  --card: rgba(12, 18, 32, 0.72);
  --line: #dbe4ff1f;
  --text: #e8edf7;
  --muted: #b4c0d8;
  --green: #2ae184;
  --green-dark: #12c267;
  --blue: #60e7ce;
  background-color: #050910;
  background-image:
    radial-gradient(1200px at 12% 10%, #60e7ce22, transparent 48%),
    radial-gradient(900px at 82% 12%, #f5c65d26, transparent 50%),
    linear-gradient(180deg, #04070e 0%, #060c18 42%, #04070f 100%),
    linear-gradient(160deg, #0a1224 0%, #05070f 100%),
    var(--raffle-bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--text);
  position: relative;
  min-height: 100vh;
}

body.raffle-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(900px at 20% 50%, #1f29370d, transparent 50%),
    radial-gradient(600px at 80% 70%, #0ea5e91f, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.app {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 20px 20px 30px;
  backdrop-filter: blur(2px);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 280px;
  gap: 14px;
}

.main-column {
  display: grid;
  gap: 12px;
}

.side-column {
  display: grid;
  gap: 12px;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #ffffff18;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d1424, #0c1320) padding-box,
    linear-gradient(120deg, #60e7ce55, #f5c65d44) border-box;
  box-shadow: 0 20px 60px #01030899;
}

.brand-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #04101f;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 15px 40px #0ea5e955;
}

.brand-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #f8fbff;
}

.brand-subtitle {
  margin: 3px 0 0;
  color: #d6def1;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffffff2b;
  border-radius: 999px;
  padding: 10px 14px;
  background: #0f172a99;
  font-size: 14px;
  color: #e4e9f3;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px #01030870;
}

.card {
  background: var(--card);
  border: 1px solid #ffffff1c;
  border-radius: 18px;
  padding: 16px 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #ffffff06, transparent 40%);
  pointer-events: none;
}

.raffle-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f9fbff;
  text-shadow: 0 10px 40px #00000070;
}

.carousel {
  position: relative;
  border: 1px solid #ffffff1f;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1222;
  box-shadow: 0 18px 48px #0106158c;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel-item {
  min-width: 100%;
  height: min(540px, 65vh);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ffffff2e;
  background: #0f172ad9;
  color: #e7f0ff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 2;
  box-shadow: 0 10px 30px #010308a8;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 16px 36px #010308c2;
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #04101f;
}

#carousel-prev {
  left: 10px;
}

#carousel-next {
  right: 10px;
}

.carousel-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: #ffffff30;
  padding: 0;
  cursor: pointer;
  transition: width 0.15s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  width: 26px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
}

.price-banner {
  margin-top: 12px;
  border-radius: 16px;
  background: linear-gradient(120deg, #22c55e, #0ea5e9);
  color: #04101f;
  text-align: center;
  padding: 14px;
  border: 1px solid #ffffff30;
  box-shadow: 0 14px 40px #0ea5e970;
  width: 100%;
  display: grid;
  gap: 6px;
  align-items: center;
  justify-items: center;
}

.price-banner p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.price-banner strong {
  display: block;
  margin-top: 2px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 21px;
  color: #f5f8ff;
  letter-spacing: -0.01em;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.pack {
  border: 1px solid #ffffff20;
  border-radius: 14px;
  padding: 16px 14px;
  background: linear-gradient(140deg, #0f172a, #0b1322);
  text-align: left;
  color: #e8edf7;
  cursor: pointer;
  display: grid;
  gap: 6px;
  box-shadow: 0 14px 38px #01030880;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border 0.12s ease;
}

.pack span {
  font-size: 14px;
  color: #cfd8eb;
}

.pack-top {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.pack-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f5f8ff;
}

.pack strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f5f8ff;
}

.pack-note {
  margin: 0;
  font-size: 13px;
  color: #c9d4e7;
}

.pack-price {
  display: block;
}

.pack[data-pack='p2'] .pack-price {
  font-size: 32px;
  color: #fdfdfd;
  text-shadow: 0 8px 24px #0ea5e9aa;
}

.pack-tag {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #1f2937;
  color: #e8edf7;
  border: 1px solid #ffffff24;
}

.pack[data-pack='p1'] {
  border-left: 3px solid #60e7ce;
}

.pack[data-pack='p2'] {
  border-left: 3px solid #8dd3ff;
}

.pack[data-pack='p4'] {
  border-left: 3px solid #22c55e;
}

.pack[data-pack='p2'] .pack-tag {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  color: #04101f;
  border: 0;
}

.pack[data-pack='p4'] .pack-tag {
  background: linear-gradient(135deg, #22c55e, #a3e635);
  color: #04101f;
  border: 0;
}

.pack[data-pack='p1'] .pack-tag {
  background: #111827;
  color: #e8edf7;
}

.pack:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px #010308a0;
  border-color: #60e7ce50;
}

.pack.is-active {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px #22c55e40, 0 20px 48px #010308b0;
  background: linear-gradient(135deg, #0ea5e9 0%, #22c55e 100%);
  color: #04101f;
}

.pack.is-active .pack-title,
.pack.is-active .pack-price {
  color: #04101f;
}

.pack.is-active .pack-note {
  color: #0f172a;
}

.pack.is-active .pack-tag {
  border-color: #ffffff35;
}

.numbers-card.is-hidden {
  display: none;
}

.numbers-head p {
  margin: 0;
  font-size: 13px;
  color: #c9d4e7;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  margin-bottom: 10px;
  color: #e8edf7;
  box-shadow: 0 14px 36px #01030870 inset;
}

.search-field input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font: inherit;
  color: #e8edf7;
}

.search-field input::placeholder {
  color: #a7b5cc;
}

.quick-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.ghost {
  border: 1px solid #ffffff20;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4ebfa;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 24px #01030880;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border 0.1s ease;
}

.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px #010308a0;
  border-color: #60e7ce50;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.number-button {
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8edf7;
  height: 50px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px #01030890;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border 0.12s ease, background 0.12s ease;
}

.number-button:hover {
  border-color: #60e7ce70;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px #010308a8;
}

.number-button.is-selected {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  border-color: #22c55e;
  color: #04101f;
  box-shadow: 0 14px 36px #0ea5e970;
}

.number-button.is-taken {
  background: rgba(255, 255, 255, 0.06);
  color: #9da9bf;
  border-color: #ffffff1a;
  cursor: not-allowed;
  box-shadow: none;
}

.number-button.is-match {
  box-shadow: 0 0 0 2px #60e7ce60, 0 12px 30px #01030880;
}

.numbers-hint {
  margin: 10px 0 0;
  color: #c9d4e7;
  font-size: 12px;
}

.payment-box {
  border: 1px solid #ffffff20;
  border-radius: 16px;
  background: linear-gradient(145deg, #0f172a, #0c1322);
  text-align: center;
  padding: 24px 14px;
  color: #e8edf7;
  box-shadow: 0 18px 46px #010308a0;
}

.payment-box p {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.payment-box small {
  margin-top: 8px;
  display: block;
  color: #c3cee4;
}

.floating-buy {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 25;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #04101f;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 42px #0ea5e97a;
  border: 1px solid #ffffff20;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.floating-buy span {
  background: #ffffff36;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 800;
}

.floating-buy:hover {
  transform: translate(-50%, -1px);
  box-shadow: 0 24px 52px #0ea5e99c;
}

.floating-buy::after {
  content: '→';
  font-weight: 800;
  font-size: 16px;
  color: #04101f;
  background: #ffffff48;
  border-radius: 999px;
  padding: 6px 10px;
}

.floating-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.lightbox.is-hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: #020617d9;
  backdrop-filter: blur(6px);
}

.lightbox-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox-content img {
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  border-radius: 18px;
  border: 1px solid #ffffff1f;
  box-shadow: 0 22px 60px #000000b0;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #ffffff2b;
  background: #0f172acc;
  color: #e8edf7;
  font-size: 24px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ffffff2e;
  background: #0f172ad9;
  color: #e7f0ff;
  font-size: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

.checkout-inline {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 1fr);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ffffff20;
  box-shadow: 0 16px 44px #01030896;
}

.checkout-inline-total {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #04101f;
  padding: 14px;
  text-align: center;
}

.checkout-inline-total small {
  display: block;
  font-size: 12px;
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.checkout-inline-total strong {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.checkout-actions {
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 8px;
  padding: 10px;
  backdrop-filter: blur(12px);
}

.reserve-button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #04101f;
  font: inherit;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  padding: 12px 18px;
  box-shadow: 0 16px 40px #0ea5e97a;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.reserve-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px #0ea5e9a2;
}

.reserve-button:disabled {
  background: #1f2c3d;
  color: #7a8499;
  cursor: not-allowed;
  box-shadow: none;
}

.reserve-main {
  font-size: 18px;
}

.add-more-button {
  font-size: 13px;
  text-align: center;
  padding: 10px;
  color: #cfd8eb;
}

.is-hidden {
  display: none !important;
}

.modal.is-hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #020617c0;
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(540px, calc(100% - 22px));
  margin: 8vh auto 0;
  background: linear-gradient(140deg, #0f172a, #0b1322);
  border-radius: 18px;
  border: 1px solid #ffffff1f;
  padding: 18px;
  display: grid;
  gap: 12px;
  color: #e8edf7;
  box-shadow: 0 24px 60px #010308c0;
}

.modal-card h3 {
  margin: 0;
  color: #f5f8ff;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  background: #0f172a;
  color: #e8edf7;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 26px #01030890;
}

.pix-qr {
  width: 210px;
  height: 210px;
  object-fit: contain;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  justify-self: center;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px #01030880 inset;
}

#pix-code {
  width: 100%;
  min-height: 90px;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  resize: none;
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf7;
}

.modal-status {
  margin: 0;
  color: #c3cee4;
  font-size: 12px;
}

.pix-note {
  margin: 0;
  color: #c3cee4;
  font-size: 12px;
  line-height: 1.45;
  display: block;
}

.approved-message {
  display: grid;
  gap: 10px;
  font-size: 21px;
  line-height: 1.45;
  color: #e8edf7;
  }

.approved-title {
  font-size: 22px;
  font-weight: 800;
  color: #22c55e;
}

.approved-message .numbers {
  font-size: 22px;
  font-weight: 800;
  color: #22c55e;
}

.approved-note {
  font-size: 18px;
  color: #e8edf7;
}

.top-buyers-card {
  display: grid;
  gap: 8px;
}

.badge-soft {
  display: none;
}

.top-buyers-list {
  display: grid;
  gap: 8px;
}

.buyer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.buyer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  display: grid;
  place-items: center;
  color: #04101f;
  font-weight: 800;
}

.buyer-name {
  margin: 0;
  color: #f8fbff;
  font-weight: 700;
  font-size: 14px;
}

.buyer-meta {
  margin: 2px 0 0;
  color: #c3cee4;
  font-size: 11px;
}

.buyer-score {
  color: #22c55e;
  font-weight: 800;
  font-size: 13px;
}

.field-label {
  font-size: 13px;
  font-weight: 700;
  color: #dfe6f4;
}

.field-input {
  width: 100%;
  height: 46px;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  color: #e8edf7;
  background: rgba(255, 255, 255, 0.06);
}

.field-input::placeholder {
  color: #a5b2c9;
}

.field-input:focus {
  outline: none;
  border-color: #60e7ce70;
  box-shadow: 0 0 0 3px #60e7ce30;
}

.modal-card .reserve-button {
  font-size: 16px;
  border-radius: 12px;
  padding: 12px;
}

.secondary-button {
  border: 1px solid #ffffff30;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf7;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  padding: 11px;
  box-shadow: 0 10px 26px #01030880;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border 0.1s ease;
}

.secondary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px #010308a0;
  border-color: #60e7ce60;
}

.toast {
  position: fixed;
  right: 12px;
  top: 12px;
  z-index: 50;
  padding: 11px 14px;
  border-radius: 12px;
  color: #e8edf7;
  background: #0f172a;
  font-size: 13px;
  box-shadow: 0 14px 36px #010308b0;
  border: 1px solid #ffffff20;
}

.toast.ok {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #04101f;
}

.toast.error {
  background: #b42318;
}

/* Admin */
.page {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 22px 16px 30px;
}

.topbar {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.overline {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--muted);
}

.brand-name {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.panel-header h2 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1;
}

.kit-upload {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.kit-upload input {
  font: inherit;
}

.primary {
  border: 0;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.kit-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.kit-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.kit-card img,
.kit-placeholder {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.kit-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f8fafc;
}

.kit-meta {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kit-meta small {
  margin-right: auto;
}

.kit-meta button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

.kit-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid #0000001f;
  border-radius: 999px;
  background: #ffffffde;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.upload-toast {
  position: fixed;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.upload-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.upload-toast[data-kind='ok'] {
  background: #15803d;
}

.upload-toast[data-kind='error'] {
  background: #b42318;
}

@media (max-width: 760px) {
  body.raffle-page {
    background-attachment: scroll;
  }

  .app {
    padding: 12px 12px 18px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .raffle-title {
    font-size: 24px;
  }

  .carousel-item {
    height: min(340px, 46vh);
  }

  .number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pack strong {
    font-size: 21px;
  }

  .checkout-inline {
    grid-template-columns: 1fr;
  }

  .checkout-inline-total strong {
    font-size: 24px;
  }

  .reserve-main {
    font-size: 18px;
  }

  .panel-header {
    flex-direction: column;
  }

  .kit-upload {
    width: 100%;
    justify-items: start;
  }
}
