:root {
  --bg: #0b1f17;
  --bg-2: #10281e;
  --surface: #143226;
  --surface-2: #1a3d2e;
  --line: rgba(212, 175, 55, 0.22);
  --text: #f4f0e6;
  --muted: #b7c4bc;
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --accent: #e8b923;
  --danger: #ff6b6b;
  --ok: #3ddc97;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

a[x-apple-data-detectors],
a[href^="tel"] {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 185, 35, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(61, 220, 151, 0.12), transparent 55%),
    linear-gradient(165deg, var(--bg), #07140f 55%, #0e241b);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: 0;
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  right: -80px;
  top: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
  filter: blur(10px);
  animation: float 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 31, 23, 0.88);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.site-header .btn {
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  min-height: 3.05rem;
}

.site-header .nav-balance {
  padding: 0.28rem 0.7rem;
  min-width: 0;
}

.site-header .nav-balance strong {
  font-size: 0.84rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}

.brand-logo-full {
  display: block;
  height: clamp(40px, 5vw, 52px);
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

.nav-toggle {
  display: none;
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(160deg, rgba(36, 78, 58, 0.95), rgba(8, 24, 18, 0.96));
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 60;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.nav-scrim {
  display: none;
}

.nav-drawer-head {
  display: none;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #f3e2a3;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  color: #142018;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.28);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.btn.lg {
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
}

.btn.block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  animation: rise 0.7s ease both;
}

.lede {
  margin: 1rem 0 1.25rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.8s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.price-pill {
  background: rgba(232, 185, 35, 0.15);
  border: 1px solid rgba(232, 185, 35, 0.35);
  color: var(--gold-2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
}

.price-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.progress-block {
  background: rgba(20, 50, 38, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  max-width: 28rem;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.progress-meta-pct strong {
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3ddc97, var(--gold));
  transition: width 0.6s ease;
}

.progress-hint {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.progress-hint.gold {
  color: var(--gold-2);
  font-weight: 700;
}

.progress-track {
  position: relative;
}

.progress-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: rgba(240, 215, 140, 0.95);
  box-shadow: 0 0 8px rgba(232, 185, 35, 0.55);
  transform: translateX(-50%);
  left: 80%;
  pointer-events: none;
}

.raffle-cover-wrap {
  max-width: 40rem;
  margin: 1rem 0 1.1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(0, 0, 0, 0.25);
}

.raffle-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
}

.extra-prize-callout {
  display: none;
  width: 100%;
  max-width: 40rem;
  margin: -0.35rem 0 1.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(232, 185, 35, 0.55);
  background:
    linear-gradient(135deg, rgba(232, 185, 35, 0.2), rgba(12, 36, 26, 0.92));
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  gap: 0.75rem;
  align-items: center;
  box-shadow: 0 8px 28px rgba(232, 185, 35, 0.12);
}

.prize-callouts {
  display: grid;
  gap: 0.7rem;
  max-width: 40rem;
  margin: 0 0 1.1rem;
}

.prize-callouts .extra-prize-callout {
  margin: 0;
}

.extra-prize-callout.is-third {
  border-color: rgba(90, 196, 140, 0.55);
  background: linear-gradient(135deg, rgba(61, 140, 110, 0.28), rgba(12, 36, 26, 0.92));
}

.extra-prize-callout.is-third .extra-prize-callout-mark {
  background: #3d8c6e;
  color: #f4fbf7;
}

.extra-prize-callout:not([hidden]) {
  display: grid;
  grid-template-columns: auto 1fr auto;
}

.extra-prize-callout-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #e8b923;
  color: #0c1a14;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
}

.extra-prize-callout-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.extra-prize-callout-copy .prize-kicker {
  color: var(--gold-2, #e8b923);
}

.extra-prize-callout-copy strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.extra-prize-callout-copy em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

#extra-prize-callout-thumb,
#third-prize-callout-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-tab.extra-tab-btn:not([hidden]) {
  background: rgba(232, 185, 35, 0.16);
  color: var(--gold-2, #e8b923);
}

.second-prize-chip {
  display: inline-flex;
  align-items: center;
  margin: 0.4rem 0 0.1rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 185, 35, 0.16);
  border: 1px solid rgba(232, 185, 35, 0.4);
  color: var(--gold-2, #e8b923);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash-second-prize {
  margin: 0.2rem 0 0;
  display: grid;
  gap: 0.12rem;
}

.dash-second-prize span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2, #e8b923);
  font-weight: 800;
}

.dash-second-prize strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: rgba(244, 240, 230, 0.95);
}

.extra-prize-card {
  max-width: 40rem;
  margin: 0 0 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(20, 50, 38, 0.65);
  display: grid;
  gap: 0.35rem;
}

.extra-prize-card strong {
  font-size: 1.15rem;
}

.extra-prize-thumbs,
.extra-prize-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.extra-prize-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.extra-prize-panel {
  max-width: 40rem;
  display: grid;
  gap: 0.55rem;
}

.extra-prize-panel h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.third-prize-winner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0.85rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(12, 36, 26, 0.7);
}

.third-prize-winner strong {
  display: block;
  margin-top: 0.15rem;
}

.third-prize-winner .muted-text {
  margin: 0.25rem 0 0;
}

.prize-race-card {
  margin: 0.85rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: linear-gradient(165deg, rgba(28, 68, 50, 0.55), rgba(10, 28, 20, 0.82));
}

.prize-race-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.prize-race-head .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.prize-race-head strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 1.05rem;
}

.prize-race-head .muted-text {
  margin: 0.2rem 0 0;
}

.prize-race-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0.7rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.45rem;
}

.prize-race-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.92rem;
}

.prize-race-list li span {
  color: var(--gold-2);
  font-weight: 700;
  white-space: nowrap;
}

.prize-race-bar {
  margin-top: 0.75rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.prize-race-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8922a, #f0d78c);
}

.second-prize-chip.is-third {
  border-color: rgba(90, 196, 140, 0.45);
  background: rgba(61, 140, 110, 0.18);
}

.extra-prize-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}

.prize-zoom-btn {
  position: relative;
  display: block;
  width: min(100%, 220px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
}

.prize-zoom-hint {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 22, 16, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #f3e2a3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.zoom-modal {
  max-width: min(96vw, 920px);
  width: min(96vw, 920px);
  background: transparent;
  padding: 0;
}

.zoom-card {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 2.6rem 0.75rem 0.9rem;
  border-radius: 18px;
  background: rgba(7, 18, 13, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.zoom-stage {
  overflow: hidden;
  touch-action: none;
  display: grid;
  place-items: center;
  min-height: 0;
}

.zoom-card img {
  display: block;
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: #06110c;
  border-radius: 12px;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.zoom-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
}

.zoom-actions {
  display: flex;
  justify-content: center;
}

.prize-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  max-width: 34rem;
}

.prize-banner > div {
  background: rgba(20, 50, 38, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
}

.prize-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.prize-banner strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.draw-banner {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1.1rem;
  max-width: 34rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.3);
}

.draw-banner strong {
  color: var(--ok);
}

.draw-banner span {
  color: var(--muted);
  font-size: 0.92rem;
}

.prize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.prize-card {
  background: linear-gradient(180deg, rgba(26, 61, 46, 0.95), rgba(16, 40, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
}

.prize-card h3 {
  margin: 0.7rem 0 0.35rem;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}

.prize-card > p:not(.muted-text) {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-2);
}

.leader-live {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.result-card {
  background: linear-gradient(180deg, rgba(26, 61, 46, 0.95), rgba(16, 40, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem;
}

.result-kicker {
  margin: 0.7rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.result-number {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 4.6rem);
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--gold-2);
  margin: 0.2rem 0 0.8rem;
}

.result-card h3 {
  margin: 0.7rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}

.result-verdict {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.result-verdict.is-winner {
  color: var(--ok);
}

.result-verdict.is-lose {
  color: #ffb4b4;
}

.result-verdict.is-wait {
  color: var(--gold-2);
}

.winner-box {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.28);
}

.result-card.is-winner {
  border-color: rgba(61, 220, 151, 0.45);
}

.result-card.is-lose {
  border-color: rgba(255, 107, 107, 0.35);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.ticket-stack {
  position: relative;
  width: min(100%, 340px);
  height: 320px;
}

.ticket-card {
  position: absolute;
  width: 220px;
  height: 130px;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(135deg, rgba(240, 215, 140, 0.95), rgba(212, 175, 55, 0.92)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.08) 8px,
      rgba(255, 255, 255, 0.08) 16px
    );
  color: #1a2418;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: ticketIn 0.9s ease both;
}

.ticket-card span,
.ticket-card em {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
}

.ticket-card a,
.ticket-card a[x-apple-data-detectors] {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  text-decoration: none !important;
}

.ticket-card strong {
  font-family: var(--display);
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.ticket-card.t1 {
  left: 18px;
  top: 24px;
  transform: rotate(-8deg);
  z-index: 3;
}

.ticket-card.t2 {
  right: 10px;
  top: 90px;
  transform: rotate(7deg);
  z-index: 2;
  animation-delay: 0.1s;
  filter: brightness(0.96);
}

.ticket-card.t3 {
  left: 56px;
  bottom: 18px;
  transform: rotate(-2deg);
  z-index: 1;
  animation-delay: 0.2s;
  filter: brightness(0.9);
}

@keyframes ticketIn {
  from { opacity: 0; transform: translateY(24px) rotate(0deg); }
  to { opacity: 1; }
}

.visual-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.section.muted {
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-radius: 28px;
  background: rgba(16, 40, 30, 0.65);
  border: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.raffle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.admin-card {
  background: linear-gradient(180deg, rgba(26, 61, 46, 0.95), rgba(16, 40, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
}

.admin-card h2,
.admin-card h3 {
  margin-top: 0;
  font-family: var(--display);
  letter-spacing: 0.03em;
}

.admin-card label,
.admin-card select,
.admin-card textarea {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.75rem;
  font: inherit;
  color: inherit;
}

.admin-card input,
.admin-card select,
.admin-card textarea {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.75rem 0.85rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 700;
}

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

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-wrap th,
.table-wrap td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.35rem;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 980px) {
  .raffle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .raffle-grid {
    grid-template-columns: 1fr;
  }
}

.package {
  background: linear-gradient(180deg, rgba(26, 61, 46, 0.95), rgba(16, 40, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 240px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.package:hover:not(.disabled) {
  transform: translateY(-4px);
  border-color: rgba(232, 185, 35, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.package.disabled {
  opacity: 0.45;
}

.package .size {
  font-family: var(--display);
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.package .formula {
  color: var(--muted);
  font-size: 0.92rem;
}

.package .amount {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-2);
}

.package .badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.15);
  color: var(--ok);
  border: 1px solid rgba(61, 220, 151, 0.3);
}

.package .badge.out {
  background: rgba(255, 107, 107, 0.12);
  color: #ff9b9b;
  border-color: rgba(255, 107, 107, 0.28);
}

.package .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.package.has-art {
  min-height: 22rem;
  height: 100%;
}

.package-grid {
  align-items: stretch;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.steps strong {
  font-size: 1.05rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.copy {
  align-self: end;
}

.modal {
  border: none;
  padding: 0;
  background: transparent;
  width: fit-content;
  max-width: calc(100vw - 1rem);
  margin: auto;
  box-sizing: border-box;
}

.modal::backdrop {
  background: rgba(4, 12, 9, 0.72);
  backdrop-filter: blur(4px);
}

.modal.zoom-modal {
  width: min(96vw, 920px);
  max-width: min(96vw, 920px);
}

.modal.zoom-modal::backdrop {
  background: rgba(2, 8, 6, 0.88);
}

@media (max-width: 900px) {
  dialog.modal.zoom-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .zoom-card {
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    height: 100svh;
    border-radius: 0;
    border: 0;
    padding: 0;
    gap: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    background: #040c09;
  }

  .zoom-stage {
    height: 100%;
    background: #040c09;
  }

  .zoom-card img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .zoom-close {
    top: calc(0.55rem + env(safe-area-inset-top));
    right: calc(0.55rem + env(safe-area-inset-right));
  }

  .zoom-actions {
    padding: 0.85rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(4, 12, 9, 0.94));
  }
}

.modal-card {
  width: min(440px, calc(100vw - 2rem));
  max-width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #17392c, #10261d);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  color: var(--text);
}

.modal-card-wide {
  width: min(560px, 92vw);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
}

.auth-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.auth-tab.is-active {
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #142018;
}

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

.auth-card label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-card input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.history-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.history-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: rgba(0, 0, 0, 0.18);
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.55rem;
}

.history-meta strong {
  color: var(--gold-2);
}

.history-meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.modal-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.modal-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.icon-close {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-lead,
.muted-text {
  color: var(--muted);
  margin: 0 0 1rem;
}

.form-section {
  margin: 1.1rem 0 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.form-section-note {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.4;
}

.modal-card label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-card input:not([type="radio"]):not([type="checkbox"]):not([type="file"]) {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.modal-card input[type="radio"],
.modal-card input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  padding: 0;
  accent-color: #d4af37;
}

.modal-card input[type="file"] {
  width: 100%;
  max-width: 100%;
}

.modal-card textarea,
.modal-card select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.modal-card input:focus {
  outline: 2px solid rgba(212, 175, 55, 0.45);
  border-color: rgba(212, 175, 55, 0.55);
}

.modal-card textarea:focus,
.modal-card select:focus {
  outline: 2px solid rgba(212, 175, 55, 0.45);
  border-color: rgba(212, 175, 55, 0.55);
}

.form-error {
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.28);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

.form-ok {
  color: #9dffcf;
  background: rgba(61, 220, 151, 0.12);
  border: 1px solid rgba(61, 220, 151, 0.28);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

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

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
}

.modal-actions .btn,
.btn-tall {
  min-height: 3.05rem;
  padding: 0.85rem 1.35rem;
}

.modal-actions[hidden] {
  display: none !important;
}

.search-result,
.ticket-chips,
.success-box {
  margin-top: 1rem;
}

.ticket-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  background: rgba(232, 185, 35, 0.14);
  border: 1px solid rgba(232, 185, 35, 0.35);
  color: var(--gold-2);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.success-box {
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.28);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: #1d4333;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 50;
  animation: rise 0.25s ease both;
}

@media (max-width: 980px) {
  .package-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prize-grid,
  .prize-banner,
  .result-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    order: -1;
  }

  .ticket-stack {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .package-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .ticket-card {
    width: 190px;
    height: 115px;
  }

  .ticket-card strong {
    font-size: 2.6rem;
  }

  .extra-prize-callout:not([hidden]) {
    grid-template-columns: auto 1fr;
  }

  #extra-prize-callout-thumb,
  #third-prize-callout-thumb {
    display: none;
  }
}

@media (max-width: 900px) {
  body.nav-locked {
    overflow: hidden;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    z-index: 50;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .brand-text strong {
    font-size: 0.98rem;
  }

  .site-header .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(4, 12, 9, 0.62);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .site-header.nav-open .nav-scrim,
  body.nav-open .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-self: stretch;
    gap: 0.55rem;
    width: min(19.5rem, 86vw);
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: max(4.75rem, env(safe-area-inset-top, 0px) + 3.6rem) 1.15rem max(1.4rem, env(safe-area-inset-bottom, 0px));
    border: 0;
    border-left: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(18, 48, 36, 0.98), rgba(7, 20, 15, 0.98));
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    z-index: 45;
    overflow-y: auto;
  }

  .site-header.nav-open .nav-actions,
  body.nav-open .nav-actions {
    transform: translateX(0);
  }

  .nav-drawer-head {
    display: grid;
    gap: 0.1rem;
    margin: 0 0 0.45rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-drawer-head strong {
    font-family: var(--display);
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    color: #fff;
  }

  .nav-drawer-head span {
    color: var(--gold-2, #e8b923);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-actions .btn,
  .nav-actions .nav-balance {
    width: 100%;
    justify-content: center;
  }

  .nav-actions .btn.primary {
    margin-top: auto;
  }

  .nav-balance {
    align-items: center;
  }

  .dashboard-shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-shortcuts .btn {
    width: 100%;
    justify-content: center;
  }

  .raffle-grid {
    grid-template-columns: 1fr !important;
  }

  .raffle-card .btn {
    width: 100%;
  }

  .section-head p {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .dashboard-shortcuts {
    grid-template-columns: 1fr;
  }
}

/* ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Home raffle cards & hero stats ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.hero-stats > div {
  display: grid;
  gap: 0.15rem;
}

.hero-stats strong {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  line-height: 1;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero-rule {
  max-width: 36rem;
  line-height: 1.45;
}

.raffle-card {
  background: linear-gradient(180deg, rgba(26, 61, 46, 0.95), rgba(16, 40, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.raffle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 185, 35, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.raffle-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.raffle-card .badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.15);
  color: var(--ok);
  border: 1px solid rgba(61, 220, 151, 0.3);
}

.raffle-card .badge.out {
  background: rgba(255, 107, 107, 0.12);
  color: #ff9b9b;
  border-color: rgba(255, 107, 107, 0.28);
}

.raffle-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-2);
}

.raffle-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.raffle-prize {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.raffle-reason {
  margin: 0;
  font-size: 0.82rem;
  min-height: 2.4em;
}

.raffle-card .btn {
  margin-top: auto;
}

.progress-block.compact {
  margin: 0.25rem 0;
}

.progress-block.compact .progress-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

.page-dashboard .dash-raffle-body .progress-block,
.raffle-card-body .progress-block {
  max-width: none;
  margin: 0.2rem 0 0.35rem;
}

.page-dashboard .dash-raffle-body .progress-block {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
}

/* ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Auth page ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ */
.auth-page {
  min-height: 100vh;
}

.auth-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.auth-brand-panel {
  padding: 0;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(20, 50, 38, 0.55), transparent 55%),
    radial-gradient(600px 400px at 20% 80%, rgba(232, 185, 35, 0.12), transparent 60%);
}

.auth-brand-inner {
  position: sticky;
  top: 0;
  box-sizing: border-box;
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  max-width: 34rem;
}

.auth-brand-panel h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.auth-brand-inner > p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  font-size: 1.05rem;
}

.auth-points {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.auth-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.auth-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.auth-form-card {
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(26, 61, 46, 0.96), rgba(14, 36, 27, 0.98));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
}

.auth-form-card .auth-tabs {
  margin: 0;
  width: 100%;
}

.auth-forms {
  display: grid;
  width: 100%;
}

.auth-forms > form {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  margin: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.auth-forms > form.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.auth-forms h2 {
  margin: 0 0 0.15rem;
  padding: 0;
  font-family: var(--display);
  font-size: 2.15rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: left;
  width: 100%;
}

.auth-lead,
.auth-hint {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}

.auth-hint {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.82rem;
}

.auth-forms label {
  display: block;
  margin: 0.35rem 0 0.25rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
  width: 100%;
}

.auth-forms input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 0.85rem 0.95rem;
  font: inherit;
  margin: 0;
}

/* Registro vendedor / formularios sueltos fuera del grid de tabs */
.auth-form-card > form,
.auth-form-card .auth-forms > form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
}

.auth-form-card > form label,
.auth-form-card .auth-forms > form label {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0.25rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.auth-form-card > form input,
.auth-form-card .auth-forms > form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.auth-forms input::placeholder {
  color: rgba(183, 196, 188, 0.55);
}

.auth-forms input:focus {
  outline: 2px solid rgba(232, 185, 35, 0.45);
  border-color: transparent;
}

/* Chrome/Edge/Safari autofill pinta el input de blanco; lo forzamos al tema oscuro */
.auth-forms input:-webkit-autofill,
.auth-forms input:-webkit-autofill:hover,
.auth-forms input:-webkit-autofill:focus,
.auth-forms input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px #0c1f17 inset !important;
  transition: background-color 99999s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.admin-card input:-webkit-autofill,
.admin-card input:-webkit-autofill:hover,
.admin-card input:-webkit-autofill:focus,
.admin-card input:-webkit-autofill:active,
.modal-card input:-webkit-autofill,
.modal-card input:-webkit-autofill:hover,
.modal-card input:-webkit-autofill:focus,
.modal-card input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px #0c1f17 inset !important;
  transition: background-color 99999s ease-out;
}

.auth-forms .btn {
  margin-top: 0.85rem;
  position: relative;
}

.btn .btn-spinner {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid rgba(20, 32, 24, 0.22);
  border-top-color: #142018;
  animation: btn-spin 0.7s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -0.575rem 0 0 -0.575rem;
}

.btn.is-loading .btn-label {
  visibility: hidden;
}

.btn.is-loading .btn-spinner {
  display: block;
}

.btn.is-loading {
  pointer-events: none;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-forms .form-error {
  margin: 0.35rem 0 0;
}

.auth-back {
  margin: 0;
  text-align: center;
}

.auth-back a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.auth-back a:hover {
  color: var(--gold-2);
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-brand-inner {
    position: static;
    min-height: auto;
    justify-content: flex-start;
    padding-bottom: 1.5rem;
  }

  .auth-brand-panel h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }

  .auth-points {
    display: none;
  }
}

/* =========================================================
   HOME ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ cinematic redesign (scoped to .page-home)
   ========================================================= */
.page-home {
  background: #06130e;
}

.page-home .atmosphere,
.page-trust .atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-home .atm-wash,
.page-trust .atm-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(232, 185, 35, 0.22), transparent 58%),
    radial-gradient(900px 620px at -12% 28%, rgba(46, 140, 98, 0.28), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(12, 70, 48, 0.55), transparent 60%),
    linear-gradient(168deg, #071911 0%, #0a1f17 42%, #05140f 100%);
}

.page-home .atm-orb,
.page-trust .atm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.75;
  animation: orbDrift 14s ease-in-out infinite;
}

.page-home .atm-orb-a,
.page-trust .atm-orb-a {
  width: 420px;
  height: 420px;
  right: -90px;
  top: 90px;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.35), transparent 68%);
}

.page-home .atm-orb-b,
.page-trust .atm-orb-b {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: 12%;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.18), transparent 70%);
  animation-delay: -5s;
}

.page-home .atm-noise,
.page-trust .atm-noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.page-home .bg-grid {
  opacity: 0.55;
}

@keyframes orbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 22px, 0) scale(1.08); }
}

.page-home .home-header,
.page-trust .home-header {
  background: rgba(6, 19, 14, 0.55);
  border-bottom-color: rgba(212, 175, 55, 0.14);
}

.page-home .hero-stage {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3.5rem) 0 0;
}

.page-home .hero-stage-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.page-home .brand-lockup {
  display: none;
}

.page-home .hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 230, 0.92);
  animation: rise 0.8s ease both;
}

.page-home .hero-line-gold {
  color: var(--gold-2);
}

.page-home .hero-copy .lede {
  margin: 1.1rem 0 1.4rem;
  max-width: 32rem;
  color: rgba(183, 196, 188, 0.95);
  font-size: 1.08rem;
  line-height: 1.55;
}

.page-home .hero-cta .btn.primary {
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.35);
}

.page-home .hero-fade {
  height: 72px;
  margin-top: clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, transparent, rgba(6, 19, 14, 0.85));
}

.page-home .hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.page-home .ticket-stage {
  position: relative;
  width: min(100%, 420px);
  height: 380px;
}

.page-home .ticket-glow {
  position: absolute;
  inset: 18% 12%;
  background: radial-gradient(circle, rgba(240, 215, 140, 0.35), transparent 70%);
  filter: blur(18px);
  animation: pulseGlow 4.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

.page-home .ticket-card {
  position: absolute;
  width: 250px;
  height: 148px;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 12px 1fr 42px;
  color: #1a2418;
  background:
    linear-gradient(135deg, #f7e7a8 0%, #e8b923 42%, #c9961d 100%);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  animation: ticketFloat 7s ease-in-out infinite;
}

.page-home .ticket-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

.page-home .ticket-perf {
  background:
    radial-gradient(circle at center, #06130e 2.5px, transparent 2.6px) 0 10px / 100% 14px repeat-y;
  opacity: 0.55;
}

.page-home .ticket-body {
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-home .ticket-body span,
.page-home .ticket-body em {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
}

.page-home .ticket-body a,
.page-home .ticket-card a,
.page-home .ticket-card a[x-apple-data-detectors] {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  text-decoration: none !important;
}

.page-home .ticket-body strong {
  font-family: var(--display);
  font-size: 3rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.page-home .ticket-stub {
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: center;
  border-left: 1px dashed rgba(20, 32, 24, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.page-home .ticket-stub i {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: rgba(20, 32, 24, 0.55);
}

.page-home .ticket-card.t1 {
  left: 18px;
  top: 28px;
  transform: rotate(-10deg);
  z-index: 3;
}

.page-home .ticket-card.t2 {
  right: 8px;
  top: 108px;
  transform: rotate(8deg);
  z-index: 2;
  animation-delay: -1.8s;
  filter: brightness(0.97);
}

.page-home .ticket-card.t3 {
  left: 70px;
  bottom: 24px;
  transform: rotate(-3deg);
  z-index: 1;
  animation-delay: -3.4s;
  filter: brightness(0.92);
}

@keyframes ticketFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes sheen {
  0%, 55% { transform: translateX(-130%); }
  75%, 100% { transform: translateX(130%); }
}

.page-home .visual-caption {
  margin-top: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(183, 196, 188, 0.85);
}

.page-home .pulse-bar {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: -1.25rem auto 0;
}

.page-home .pulse-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background:
    linear-gradient(120deg, rgba(20, 50, 38, 0.92), rgba(10, 28, 20, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.page-home .pulse-rule {
  margin: 0;
  flex: 1 1 280px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 46rem;
}

.page-home .pulse-stats {
  display: flex;
  gap: 1.5rem;
}

.page-home .pulse-stat {
  display: grid;
  gap: 0.1rem;
  min-width: 7rem;
}

.page-home .pulse-stat strong {
  font-family: var(--display);
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  line-height: 1;
}

.page-home .pulse-stat span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

.page-home .section-rifas,
.page-home .section-flow {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
}

.page-home .section-kicker,
.page-trust .section-kicker {
  margin: 0 0 0.35rem;
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .section-head h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.page-home .raffle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.page-home .raffle-grid.is-single {
  grid-template-columns: 1fr;
}

.page-home .raffle-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(28, 68, 50, 0.95), rgba(12, 34, 25, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.page-home .raffle-grid:not(.is-single) .raffle-card:not(.is-featured) {
  grid-template-columns: 1fr;
  min-height: auto;
}

.page-home .raffle-grid:not(.is-single) .raffle-card:not(.is-featured) .raffle-card-media {
  min-height: 120px;
}

.page-home .raffle-card-media {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(240, 215, 140, 0.28), transparent 45%),
    linear-gradient(160deg, #1d4a37, #0d281d 70%);
  overflow: hidden;
}

.page-home .raffle-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .raffle-foil {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      -28deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.04) 14px 28px
    ),
    linear-gradient(120deg, transparent 35%, rgba(240, 215, 140, 0.18), transparent 65%);
  animation: foilShift 10s linear infinite;
}

@keyframes foilShift {
  from { transform: translateX(-8%) translateY(0); }
  to { transform: translateX(8%) translateY(-6%); }
}

.page-home .raffle-media-copy {
  position: absolute;
  inset: auto 1.1rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.25rem;
  z-index: 1;
}

.page-home .raffle-media-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ok);
}

.page-home .raffle-media-copy strong {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.page-home .raffle-card-body {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.page-home .raffle-card .raffle-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
}

.page-home .raffle-card .raffle-prize {
  font-size: 1.05rem;
  color: rgba(244, 240, 230, 0.88);
}

.page-home .raffle-card .progress-block.compact {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  max-width: none;
}

.page-home .raffle-card .btn {
  align-self: flex-start;
  min-width: 180px;
}

.page-home .section-flow {
  margin: 1.5rem auto 3rem;
  border-radius: 28px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 40, 30, 0.72), rgba(8, 24, 18, 0.85));
  padding-bottom: 2.5rem;
}

.page-home .flow-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: none;
}

.page-home .flow-track li {
  position: relative;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 0.45rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .flow-track li:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 185, 35, 0.35);
}

.page-home .flow-num {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1;
}

.page-home .flow-track strong {
  font-size: 1.05rem;
}

.page-home .flow-track li > span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Pillars */
.page-home .section-pillars {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
}

.page-home .pillar-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.page-home .pillar {
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(165deg, rgba(28, 68, 50, 0.55), rgba(10, 28, 20, 0.75));
}

.page-home .pillar-label {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  line-height: 1;
}

.page-home .pillar h3 {
  margin: 0.55rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.page-home .pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* SMS / email alerts */
.page-home .section-alerts {
  position: relative;
  z-index: 1;
  padding-top: 2.5rem;
}

.page-home .alert-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.page-home .alert-card {
  position: relative;
  padding: 1.55rem 1.4rem 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(232, 185, 35, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(28, 68, 50, 0.62), rgba(10, 28, 20, 0.82));
  overflow: hidden;
}

.page-home .alert-card-gold {
  background:
    radial-gradient(380px 200px at 0% 100%, rgba(232, 185, 35, 0.16), transparent 50%),
    linear-gradient(165deg, rgba(42, 78, 52, 0.7), rgba(12, 30, 22, 0.88));
  border-color: rgba(232, 185, 35, 0.38);
}

.page-home .alert-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  color: var(--gold);
}

.page-home .alert-icon svg {
  width: 48px;
  height: 48px;
}

.page-home .alert-tag {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.page-home .alert-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.page-home .alert-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.page-home .alert-email-note {
  margin: 1.15rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Verify account */
.page-verify .verify-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.page-verify .verify-brand {
  margin-bottom: 0.25rem;
}

.page-verify .verify-card {
  width: min(680px, 100%);
  margin: 0 auto;
}

.page-verify .verify-card > h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

.page-verify .verify-card > .auth-lead {
  margin: 0;
}

.page-verify .verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.page-verify .verify-pane {
  margin: 0;
  padding: 1rem 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-verify .verify-pane.is-done {
  border-color: rgba(120, 190, 140, 0.45);
  background: rgba(30, 80, 50, 0.28);
}

.page-verify .verify-pane header {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}

.page-verify .verify-channel {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-verify .verify-pane header strong {
  font-size: 1.02rem;
}

.page-verify .verify-pane header em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
}

.page-verify .verify-pane header em.is-ok {
  color: #9ad4ad;
}

.page-verify .verify-pane label {
  font-weight: 600;
  font-size: 0.86rem;
}

.page-verify .verify-pane input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 0.85rem 0.95rem;
  font: inherit;
  letter-spacing: 0.28em;
  text-align: center;
}

.page-verify .verify-pane input:focus {
  outline: 2px solid rgba(232, 185, 35, 0.45);
  border-color: transparent;
}

.page-verify .verify-pane input:disabled {
  opacity: 0.55;
}

.page-verify .verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.page-verify .verify-actions .btn {
  flex: 1 1 auto;
}

.page-verify .verify-card > .auth-hint,
.page-verify .verify-card > .auth-back {
  text-align: center;
}

@media (max-width: 700px) {
  .page-verify .verify-grid {
    grid-template-columns: 1fr;
  }
}

/* Expandable guide */
.page-home .section-guide {
  position: relative;
  z-index: 1;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.page-home .guide-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.page-home .guide-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.03em;
  line-height: 0.98;
}

.page-home .guide-intro p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.55;
}

.page-home .faq-list {
  display: grid;
  gap: 0.65rem;
}

.page-home .faq-item {
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(12, 34, 25, 0.85);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .faq-item[open] {
  border-color: rgba(232, 185, 35, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.page-home .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  font-weight: 700;
  font-size: 1rem;
  user-select: none;
}

.page-home .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-home .faq-q {
  text-align: left;
  line-height: 1.35;
}

.page-home .faq-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(232, 185, 35, 0.35);
  background: rgba(232, 185, 35, 0.08);
  position: relative;
}

.page-home .faq-icon::before,
.page-home .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-home .faq-icon::before {
  width: 12px;
  height: 2px;
}

.page-home .faq-icon::after {
  width: 2px;
  height: 12px;
}

.page-home .faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.page-home .faq-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  animation: faqOpen 0.25s ease;
}

.page-home .faq-body p {
  margin: 0 0 0.75rem;
}

.page-home .faq-body p:last-child {
  margin-bottom: 0;
}

.page-home .faq-body ul,
.page-home .faq-body ol {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

.page-home .faq-body li {
  margin: 0.35rem 0;
}

.page-home .faq-body strong {
  color: var(--text);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA band */
.page-home .section-cta-band {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
}

.page-home .cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(700px 220px at 90% 0%, rgba(232, 185, 35, 0.18), transparent 55%),
    linear-gradient(120deg, rgba(28, 68, 50, 0.95), rgba(10, 28, 20, 0.98));
}

.page-home .cta-band h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.page-home .cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.page-home .cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.home-footer {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 2.25rem 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.home-footer .footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: 1.75rem;
}

.home-footer .footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.home-footer .brand-mark.sm {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  flex: 0 0 auto;
  border-radius: 10px;
}

.home-footer .footer-brand strong {
  font-size: 1.1rem;
}

.home-footer .footer-brand p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.page-home .footer-note {
  margin: 1rem 0 0;
  color: rgba(183, 196, 188, 0.85);
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 28rem;
}

.home-footer .footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-footer .footer-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-footer .footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.home-footer .footer-col h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.home-footer .footer-col a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.home-footer .footer-col a:hover {
  color: var(--gold-2);
}

.home-footer .footer-col p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.home-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer .footer-bottom .copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.home-footer .footer-disclaimer {
  margin: 0;
  color: rgba(183, 196, 188, 0.7);
  font-size: 0.82rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(8, 28, 20, 0.72);
  color: var(--gold-2) !important;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(20, 50, 38, 0.95);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.social-link svg {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .page-home .hero-stage-inner {
    grid-template-columns: 1fr;
  }

  .page-home .hero-stage {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .page-home .brand-lockup img {
    width: min(360px, 88%);
  }

  .page-home .hero-visual {
    min-height: 340px;
    order: -1;
  }

  .page-home .ticket-stage {
    height: 320px;
  }

  .page-home .raffle-card,
  .page-home .raffle-grid.is-single .raffle-card {
    grid-template-columns: 1fr;
  }

  .page-home .raffle-card-media {
    min-height: 150px;
  }

  .page-home .flow-track,
  .page-home .pillar-row,
  .page-home .alert-duo {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .guide-layout,
  .home-footer .footer-top {
    grid-template-columns: 1fr;
  }

  .home-footer .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-home .flow-track,
  .page-home .pillar-row,
  .page-home .alert-duo,
  .home-footer .footer-cols {
    grid-template-columns: 1fr;
  }

  .page-home .pulse-stats {
    width: 100%;
    justify-content: space-between;
  }

  .page-home .ticket-card {
    width: 210px;
    height: 128px;
  }

  .page-home .ticket-body strong {
    font-size: 2.4rem;
  }
}

/* =========================================================
   Transparency / trust page
   ========================================================= */
.page-trust {
  background: #06130e;
}

.page-trust .atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-trust .trust-main {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.page-trust .trust-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.page-trust .trust-hero .lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.page-trust .trust-filter-card {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(145deg, rgba(26, 61, 46, 0.92), rgba(12, 34, 25, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.page-trust .trust-filter {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.page-trust .trust-filter .field {
  display: grid;
  gap: 0.4rem;
}

.page-trust .trust-filter label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.page-trust .trust-filter input[type='date'] {
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  color-scheme: dark;
}

.page-trust .trust-filter input[type='date']::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.85;
  filter: invert(0.85) sepia(0.4) saturate(4) hue-rotate(5deg);
}

.page-trust .trust-filter input[type='date']:focus {
  outline: 2px solid rgba(232, 185, 35, 0.45);
  border-color: transparent;
}

.page-trust .trust-filter-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.page-trust .trust-filter-hint {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-trust .trust-results {
  margin-top: 1.5rem;
}

.page-trust .trust-empty {
  padding: 2rem 1.5rem;
  border-radius: 22px;
  border: 1px dashed rgba(212, 175, 55, 0.28);
  background: rgba(12, 34, 25, 0.65);
  text-align: left;
}

.page-trust .trust-empty strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.page-trust .trust-empty p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.page-trust .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-trust .trust-card {
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(165deg, rgba(28, 68, 50, 0.88), rgba(10, 28, 20, 0.95));
  display: grid;
  gap: 0.35rem;
}

.page-trust .trust-card.is-winner {
  border-color: rgba(61, 220, 151, 0.35);
}

.page-trust .trust-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.page-trust .trust-card .badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.15);
  color: var(--ok);
  border: 1px solid rgba(61, 220, 151, 0.3);
}

.page-trust .trust-card .badge.out {
  background: rgba(255, 107, 107, 0.12);
  color: #ff9b9b;
  border-color: rgba(255, 107, 107, 0.28);
}

.page-trust .trust-date {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.page-trust .trust-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.page-trust .trust-number-label {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.page-trust .trust-card .result-number {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
}

.page-trust .trust-winner {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.page-trust .trust-meta {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.page-trust .trust-evidence {
  margin-top: 0.75rem;
}

.page-trust .trust-evidence h4 {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.page-trust .trust-evidence ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.page-trust .trust-evidence li {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.88rem;
}

.page-trust .trust-evidence span {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-trust .trust-evidence em {
  font-style: normal;
  color: var(--muted);
}

.page-trust .trust-no-ev {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
}

.page-trust .trust-footer .footer-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .page-trust .trust-filter {
    grid-template-columns: 1fr;
  }

  .page-trust .trust-grid {
    grid-template-columns: 1fr;
  }
}

.package.has-art {
  align-items: center;
  text-align: center;
  min-height: 22rem;
  height: 100%;
}

.package-art {
  width: min(100%, 180px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
  margin: 0.15rem 0;
}

.package.has-art .size {
  font-size: 1.55rem;
}

.page-home .section-packages {
  position: relative;
  z-index: 1;
  padding-top: 2.5rem;
}

.page-home .package-showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .package-showcase figure {
  margin: 0;
  padding: 1.1rem 0.85rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(165deg, rgba(28, 68, 50, 0.55), rgba(10, 28, 20, 0.8));
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .package-showcase figure:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 185, 35, 0.4);
}

.page-home .package-showcase img {
  width: min(100%, 200px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
}

.page-home .package-showcase figcaption {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.1rem;
}

.page-home .package-showcase strong {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  line-height: 1;
}

.page-home .package-showcase span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .page-home .package-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .page-home .package-showcase {
    grid-template-columns: 1fr;
  }
}

.page-trust .trust-pager {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.page-trust .trust-page-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-trust .trust-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-trust .trust-page-actions .btn {
  min-width: 2.4rem;
  padding: 0.55rem 0.8rem;
}

.account-main .account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  width: fit-content;
  max-width: 100%;
}

.account-panels .account-panel[hidden] {
  display: none !important;
}

.account-banner {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.account-banner .btn {
  margin-left: auto;
}

#form-deposit.is-locked {
  opacity: 0.72;
}

#form-deposit fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

#form-deposit fieldset:disabled {
  pointer-events: none;
}

.account-status {
  font-weight: 800;
  color: var(--gold-2);
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  margin: 0.75rem 0 1rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}

.check-row .ui-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.check-row .ui-check-box {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  border-radius: 0.4rem;
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.check-row .ui-check-box::after {
  content: '';
  width: 0.38rem;
  height: 0.65rem;
  border: solid #142018;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
  margin-bottom: 0.12rem;
}

.check-row .ui-check:checked + .ui-check-box {
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.28);
}

.check-row .ui-check:checked + .ui-check-box::after {
  transform: rotate(45deg) scale(1);
}

.check-row .ui-check:focus-visible + .ui-check-box {
  outline: 2px solid rgba(212, 175, 55, 0.65);
  outline-offset: 2px;
}

.check-row:hover .ui-check-box {
  border-color: rgba(212, 175, 55, 0.85);
}

.ui-check-label {
  color: var(--text);
  font-size: 0.95rem;
}

.account-tabs .auth-tab.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}

.account-tabs .auth-tab.is-locked.is-active {
  opacity: 0.7;
}

.tab-lock-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.18);
  color: #7dffc0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.profile-avatar-frame {
  flex: 0 0 auto;
}

.profile-avatar-copy strong {
  display: block;
  margin-bottom: 0.25rem;
}

.profile-name-form {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 1rem;
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.55rem;
}

.contact-card-head {
  display: grid;
  gap: 0.2rem;
}

.contact-card-head strong {
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-card .btn {
  justify-self: start;
  margin-top: 0.2rem;
}

.kyc-locked {
  padding: 1rem 0 0.25rem;
}

.dev-code-hint {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-account .account-panel {
  max-width: 44rem;
}

.page-account .account-panel label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.page-account .account-panel input:not([type='checkbox']):not([type='file']),
.page-account .account-panel select,
.page-account .account-panel textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  font: inherit;
}

.page-account .account-panel input:disabled {
  opacity: 0.7;
}

@media (max-width: 720px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.ticket-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}

.ticket-order-card {
  margin-bottom: 1rem;
}

.ticket-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.chip {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.chip-win {
  background: rgba(61, 220, 151, 0.18);
  border-color: rgba(61, 220, 151, 0.45);
  color: var(--ok);
}

.history-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .page-wallet .admin-grid,
  .page-wallet .wallet-grid,
  .page-seller .admin-grid,
  .page-seller .wallet-grid {
    grid-template-columns: 1fr !important;
  }

  .page-seller .modal-card,
  .page-seller .admin-card {
    width: 100% !important;
    max-width: 100%;
  }

  .page-seller .seller-history {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.nav-balance {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.05rem;
  min-width: 5.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(8, 28, 20, 0.85);
  text-decoration: none;
  color: var(--text);
  line-height: 1.15;
}

.nav-balance span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.nav-balance strong {
  font-size: 0.92rem;
  color: var(--gold);
  font-weight: 800;
}

.wallet-balance-card {
  max-width: 28rem;
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: linear-gradient(145deg, rgba(18, 48, 36, 0.95), rgba(8, 24, 18, 0.92));
}

.wallet-balance-card strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  color: #f3e2a3;
  margin: 0.15rem 0 0.45rem;
}

.wallet-balance-card .muted-text {
  margin: 0;
  font-size: 0.88rem;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.wallet-row,
.wallet-bank {
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
}

.wallet-row {
  display: grid;
  gap: 0.15rem;
}

.wallet-row strong {
  color: var(--text);
}

.wallet-row.is-credit strong + span,
.wallet-row.is-credit > span {
  color: #7dffc0;
}

.wallet-row.is-debit > span {
  color: #ffb4a8;
}

.wallet-row a,
.activity-list a {
  color: var(--gold-2);
  text-decoration: none;
}

.wallet-row a:hover,
.activity-list a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.55);
}

.activity-main {
  padding-top: 1.5rem;
}

.activity-balance {
  margin-bottom: 1.25rem;
  max-width: 28rem;
}

.activity-tabs {
  margin-bottom: 1rem;
}

.activity-panel[hidden] {
  display: none !important;
}

.activity-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-item:last-child {
  border-bottom: 0;
}

.activity-item-right {
  text-align: right;
  display: grid;
  gap: 0.2rem;
  justify-items: end;
}

.activity-item.is-credit .activity-item-right strong {
  color: #7dffc0;
}

.activity-item.is-debit .activity-item-right strong {
  color: #ffb4a8;
}

.activity-item .gold {
  color: var(--gold-2);
  font-weight: 700;
  margin: 0.25rem 0 0;
}

.activity-win {
  align-items: center;
}

.wallet-deposit-only {
  max-width: 32rem;
}

.wallet-balance-actions {
  margin-top: 0.85rem;
}

.activity-filters {
  margin-bottom: 1rem;
}

.activity-filters h3 {
  margin: 0 0 0.75rem;
}

.activity-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: end;
}

.activity-filter-row > label {
  width: auto;
  min-width: 0;
  margin-bottom: 0;
}

.activity-filter-row label input[type='date'] {
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.2;
  border-radius: 12px;
  color-scheme: dark;
}

@media (max-width: 640px) {
  .activity-filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .activity-filter-actions {
    grid-column: 1 / -1;
  }
}

.ticket-reveal {
  margin-top: 0.7rem;
}

.ticket-reveal .btn {
  min-height: 2.5rem;
}

.ticket-reveal .ticket-chips {
  margin-top: 0.65rem;
}

.ticket-order-card p {
  color: #fff;
  margin: 0.2rem 0;
}

.activity-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

#filter-summary {
  margin: 0.75rem 0 0;
}

.activity-bank .muted-text {
  margin: 0.15rem 0 0;
}

.activity-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-pager-label {
  color: var(--muted, rgba(255, 255, 255, 0.65));
  font-size: 0.9rem;
}

.activity-pager .btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

.form-hint {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.82rem;
}

.page-dashboard .dashboard-main {
  padding-top: 1.5rem;
}

.page-dashboard .dash-welcome {
  max-width: min(100%, 28rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.25rem;
  align-items: stretch;
}

.dashboard-summary .wallet-balance-card,
.dashboard-summary .dash-stat {
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
  height: 100%;
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-width: none;
  margin: 0;
}

.dashboard-summary .wallet-balance-card:hover,
.dash-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.55);
}

.dash-stat-soft {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 36, 26, 0.88);
}

a.dash-stat,
a.dash-stat-soft,
a.dash-stat:visited,
a.dash-stat-soft:visited,
a.dash-stat:hover,
a.dash-stat-soft:hover,
a.dash-stat:active,
a.dash-stat-soft:active {
  color: inherit;
  text-decoration: none;
}

.dashboard-summary .prize-kicker {
  margin-bottom: 0.35rem;
}

.dashboard-summary .wallet-balance-card strong,
.dash-stat-soft strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  color: #f3e2a3;
  margin: 0.15rem 0 0.45rem;
    flex: 1 1 auto;
  }

.dashboard-summary .muted-text {
  margin: auto 0 0;
  font-size: 0.88rem;
}

.dashboard-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.dashboard-raffles .section-head {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .dashboard-summary {
    grid-template-columns: 1fr;
  }
}

.support-main {
  padding-top: 1.5rem;
}

.support-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.support-channels a.dash-stat,
.support-channels a {
  color: inherit;
  text-decoration: none;
}

.support-channels a:visited,
.support-channels a:hover,
.support-channels a:active,
.support-channels a:focus {
  color: inherit;
  text-decoration: none;
}

.support-channels a:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.support-ticket {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-ticket:last-child {
  border-bottom: 0;
}

.support-reply {
  margin-top: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(61, 220, 151, 0.08);
  border: 1px solid rgba(61, 220, 151, 0.22);
}

.support-reply p {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .support-channels,
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.file-label {
  display: grid;
  gap: 0.35rem;
}

.file-label .hint {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.kyc-selfie-block {
  display: grid;
  gap: 0.65rem;
  margin: 0.35rem 0 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(0, 0, 0, 0.18);
}

.kyc-selfie-tips {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.file-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-height: 3rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.file-field.has-file {
  border-color: rgba(61, 220, 151, 0.45);
}

.file-field input[type="file"] {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
  z-index: 2;
}

.file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #142018;
  font-weight: 800;
  font-size: 0.86rem;
  pointer-events: none;
  z-index: 1;
}

.file-name {
  color: var(--muted);
  font-size: 0.88rem;
  z-index: 1;
  pointer-events: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-field.has-file .file-name {
  color: var(--text);
  font-weight: 600;
}

.admin-card select,
.modal-card select,
.auth-card select,
.page-account .account-panel select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #f3e2a3 50%),
    linear-gradient(135deg, #f3e2a3 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
  color-scheme: dark;
}

.ru-select {
  position: relative;
  width: 100%;
}

.ru-select select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.ru-select-value {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.ru-select-value span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ru-select-trigger img,
.ru-select-option img {
  width: auto;
  height: 1.45rem;
  max-width: 5.4rem;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 2px 4px;
  flex: 0 0 auto;
}

.ru-select-trigger {
  appearance: none;
  width: 100%;
  min-height: 2.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: rgba(8, 28, 20, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  padding: 0.75rem 2.4rem 0.75rem 0.9rem;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #f3e2a3 50%),
    linear-gradient(135deg, #f3e2a3 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.ru-select-trigger.is-placeholder {
  color: #fff;
}

.ru-select.is-open .ru-select-trigger {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.ru-select-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 16rem;
  overflow: auto;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: #10281e;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ru-select-option {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  font: inherit;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}

.ru-select-option:hover,
.ru-select-option:focus {
  background: rgba(212, 175, 55, 0.18);
  color: #fff;
}

.ru-select-option.is-selected {
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #142018;
  font-weight: 800;
}

.ru-select-option.is-muted {
  color: #fff;
}

.bank-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.bank-cell img {
  width: auto;
  height: 1.4rem;
  max-width: 4.8rem;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 2px 4px;
  flex: 0 0 auto;
}

.bank-card-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.bank-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(180deg, rgba(20, 50, 38, 0.95), rgba(10, 28, 21, 0.95));
}

.bank-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bank-card-logo {
  display: grid;
  place-items: center;
  min-height: 3.1rem;
  padding: 0.4rem 0.55rem;
  border-radius: 12px;
  background: #fff;
  flex: 0 0 auto;
}

.bank-card-logo img {
  display: block;
  height: 2.15rem;
  width: auto;
  max-width: 10.5rem;
  object-fit: contain;
}

.bank-card-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #142018;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  flex: 0 0 auto;
}

.bank-card-body h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}

.bank-card-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.bank-card-row:last-child {
  border-bottom: 0;
}

.bank-card-row span,
.bank-card-row strong {
  color: #fff;
}

.bank-card-row strong {
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}

/* ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Dashboard raffle cards ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ */
.page-dashboard .dash-raffle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.page-dashboard .dash-raffle-grid:not(.is-single) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-dashboard .dash-raffle {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.2fr);
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(145deg, rgba(24, 58, 42, 0.98), rgba(10, 28, 20, 0.98));
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  animation: dashRaffleIn 0.55s ease both;
}

.page-dashboard .dash-raffle:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 215, 140, 0.5);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.page-dashboard .dash-raffle.is-locked {
  opacity: 0.88;
}

.page-dashboard .dash-raffle-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgba(240, 215, 140, 0.3), transparent 42%),
    linear-gradient(160deg, #214f3a, #0c2419 72%);
}

.page-dashboard .dash-raffle-sheen {
  position: absolute;
  inset: -30%;
  background:
    repeating-linear-gradient(
      -28deg,
      transparent 0 16px,
      rgba(255, 255, 255, 0.035) 16px 32px
    ),
    linear-gradient(120deg, transparent 30%, rgba(240, 215, 140, 0.2), transparent 70%);
  animation: foilShift 11s linear infinite;
  pointer-events: none;
}

.page-dashboard .dash-raffle-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.page-dashboard .dash-raffle-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.page-dashboard .dash-ticket {
  position: absolute;
  width: 148px;
  height: 86px;
  border-radius: 14px;
  border: 1px solid rgba(240, 215, 140, 0.35);
  background: linear-gradient(145deg, #f4e7b0, #d4af37 55%, #b8922a);
  color: #142018;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  display: grid;
  align-content: space-between;
}

.page-dashboard .dash-ticket span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-dashboard .dash-ticket strong {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.page-dashboard .dash-ticket.t-a {
  transform: rotate(-14deg) translate(-28px, -8px);
  z-index: 1;
  animation: dashTicketFloat 4.5s ease-in-out infinite;
}

.page-dashboard .dash-ticket.t-b {
  transform: rotate(6deg) translate(18px, 10px);
  z-index: 2;
  opacity: 0.95;
  animation: dashTicketFloat 5.2s ease-in-out infinite 0.4s;
}

.page-dashboard .dash-ticket.t-c {
  transform: rotate(18deg) translate(42px, -22px);
  z-index: 0;
  opacity: 0.7;
  filter: saturate(0.9);
  animation: dashTicketFloat 6s ease-in-out infinite 0.8s;
}

.page-dashboard .dash-raffle-visual-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: grid;
  gap: 0.2rem;
}

.page-dashboard .dash-raffle-visual-copy em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f3e2a3;
}

.page-dashboard .dash-raffle-visual-copy strong {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.page-dashboard .dash-raffle-body {
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-dashboard .dash-raffle-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.page-dashboard .dash-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.page-dashboard .dash-badge.is-open {
  background: rgba(61, 220, 151, 0.15);
  color: var(--ok);
  border: 1px solid rgba(61, 220, 151, 0.35);
}

.page-dashboard .dash-badge.is-closed {
  background: rgba(255, 107, 107, 0.12);
  color: #ff9b9b;
  border: 1px solid rgba(255, 107, 107, 0.28);
}

.page-dashboard .dash-price {
  font-weight: 800;
  color: var(--gold-2);
  font-size: 1rem;
}

.page-dashboard .dash-price small {
  margin-left: 0.25rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
}

.page-dashboard .dash-raffle-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  letter-spacing: 0.03em;
  line-height: 0.98;
}

.page-dashboard .dash-raffle-prize {
  margin: 0;
  display: grid;
  gap: 0.15rem;
  color: rgba(244, 240, 230, 0.92);
  font-size: 1.05rem;
  font-weight: 600;
}

.page-dashboard .dash-raffle-prize span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.page-dashboard .dash-raffle-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-dashboard .dash-raffle-metrics > div {
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-dashboard .dash-raffle-metrics span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.page-dashboard .dash-raffle-metrics strong {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: #f3e2a3;
}

.page-dashboard .dash-progress {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  max-width: none;
}

.page-dashboard .dash-pkgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-dashboard .dash-pkg {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 4.4rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.08);
  font-weight: 800;
  font-size: 1rem;
  color: #f3e2a3;
}

.page-dashboard .dash-pkg small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

.page-dashboard .dash-pkg.is-off {
  opacity: 0.45;
}

.page-dashboard .dash-reason {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-dashboard .dash-raffle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
  margin-top: 0.2rem;
}

.page-dashboard .dash-raffle-actions .btn {
  min-height: 3rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-sizing: border-box;
}

.page-dashboard .dash-raffle-actions .btn.primary {
  min-width: 11rem;
}

@keyframes dashRaffleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dashTicketFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (max-width: 900px) {
  .page-dashboard .dash-raffle-grid:not(.is-single),
  .page-dashboard .dash-raffle {
    grid-template-columns: 1fr;
  }

  .page-dashboard .dash-raffle-visual {
    min-height: 200px;
  }

  .page-dashboard .dash-raffle-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂ Avatars & raffle board ÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂ */
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(212, 175, 55, 0.45);
  display: block;
}

.avatar-lg {
  width: 96px;
  height: 96px;
}

.avatar-xl {
  width: 112px;
  height: 112px;
}

.profile-avatar-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-form {
  display: grid;
  gap: 0.65rem;
  max-width: 18rem;
}

.raffle-tabs {
  margin: 0.75rem 0 1.25rem;
}

.raffle-tab-panel {
  min-height: 4rem;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.player-card {
  appearance: none;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.18));
  border-radius: 1rem;
  padding: 1.35rem 0.85rem 1rem;
  color: inherit;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.player-rank {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  min-width: 1.9rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  color: #f0d78c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.player-card.is-top-1 {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.12);
}

.player-card.is-top-1 .player-rank {
  background: #d4af37;
  color: #0b1f17;
}

.player-card.is-top-2 .player-rank {
  background: #c5cdd4;
  color: #142018;
}

.player-card.is-top-3 .player-rank {
  background: #c4843c;
  color: #142018;
}

.player-rank-pill {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  color: #f0d78c;
  font-size: 0.75rem;
  font-weight: 800;
}

.player-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.player-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

.player-card-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

.board-search {
  display: grid;
  gap: 0.45rem;
  max-width: 24rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
}

.board-search-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 2.85rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: rgba(8, 28, 20, 0.92);
  color: var(--gold-2);
}

.board-search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  outline: none;
}

.board-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.board-search-field:focus-within {
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.board-tickets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.board-chip {
  appearance: none;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-2, #e8c76a);
  border-radius: 0.55rem;
  padding: 0.45rem 0.35rem;
  font: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.board-chip:hover {
  background: rgba(212, 175, 55, 0.28);
  transform: translateY(-1px);
}

.player-modal-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.player-modal-name {
  font-size: 1.25rem;
  display: block;
}

.modal-player-card {
  width: min(44rem, 94vw);
  max-width: min(44rem, 94vw);
}

.player-ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.4rem;
}

.ticket-board-pager {
  margin-top: 0.85rem;
}

@media (max-width: 640px) {
  .profile-avatar-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .avatar-form {
    max-width: none;
    width: 100%;
  }
}

/* ÃÂ¢ÃÂÃÂÃÂ¢ÃÂÃÂ Winner spotlight & confetti ÃÂ¢ÃÂÃÂÃÂ¢ÃÂÃÂ */
.spotlight-wrap {
  margin: 0 0 1.75rem;
}

.winner-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background:
    radial-gradient(circle at 12% 20%, rgba(212, 175, 55, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(20, 48, 36, 0.96), rgba(8, 22, 16, 0.98));
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
  animation: spotlightIn 0.55s ease both;
}

.winner-spotlight.is-you {
  border-color: rgba(240, 215, 140, 0.75);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 24px 60px rgba(212, 175, 55, 0.18);
}

.winner-spotlight-glow {
  position: absolute;
  inset: -40% auto auto 55%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28), transparent 70%);
  pointer-events: none;
  animation: spotlightPulse 3.2s ease-in-out infinite;
}

.winner-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #142018;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.winner-spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.winner-spotlight-person {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.winner-spotlight-avatar {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.45);
}

.winner-spotlight-number {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 0.95;
  margin: 0.15rem 0 0.35rem;
  color: var(--gold-2);
  letter-spacing: 0.06em;
}

.winner-spotlight-name {
  margin: 0;
  font-size: 1.45rem;
}

.winner-spotlight-prize {
  margin: 0.35rem 0 0;
  font-weight: 700;
}

.winner-spotlight-timer {
  margin: 0.45rem 0 0;
  color: rgba(240, 215, 140, 0.85);
  font-size: 0.9rem;
}

.winner-spotlight-side {
  display: grid;
  gap: 0.75rem;
}

.spotlight-media {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.spotlight-media-link {
  display: block;
}

.spotlight-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.spotlight-socials a {
  color: var(--gold-2);
  font-weight: 700;
  text-decoration: none;
}

.spotlight-socials a:hover {
  text-decoration: underline;
}

.spotlight-inline-badge {
  display: inline-block;
  margin: 0.35rem 0 0.55rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-winner-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.65rem 0;
}

.trust-winner-row .avatar {
  width: 48px;
  height: 48px;
}

@keyframes spotlightIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spotlightPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 820px) {
  .winner-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .winner-spotlight-person {
    flex-direction: column;
    text-align: center;
  }
}

.page-error .error-stage {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 6rem;
  text-align: center;
}

.page-error .error-stage h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  margin: 0.35rem 0 0.75rem;
}

.page-error .error-stage .lede {
  color: var(--muted);
  margin: 0 auto 1.75rem;
  max-width: 28rem;
}

/* Official Android client */
.section-android {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}

.page-dashboard .dash-android {
  padding: 1.35rem 1.4rem 1.5rem;
  margin: 0 0 2rem;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background:
    radial-gradient(700px 220px at 100% 0%, rgba(232, 185, 35, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(28, 68, 50, 0.55), rgba(10, 28, 20, 0.88));
}

.android-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr);
  gap: 1.75rem;
  align-items: center;
}

.android-copy h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.android-copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 38rem;
}

.android-points {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.android-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.android-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.android-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.android-version {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.android-device {
  display: flex;
  justify-content: center;
}

.android-phone {
  width: 196px;
  height: 380px;
  padding: 12px;
  border-radius: 32px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, #1a3d2e, #0b1f17);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.android-phone-notch {
  width: 72px;
  height: 8px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
}

.android-phone-screen {
  height: calc(100% - 28px);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(180px 120px at 50% 20%, rgba(232, 185, 35, 0.2), transparent 70%),
    #07140f;
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.android-phone-screen span {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
}

.android-phone-screen strong {
  font-family: var(--display);
  font-size: 3.4rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--gold-2);
}

.android-phone-screen em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.82rem;
}

.btn.is-disabled,
a.btn.is-disabled,
span.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

.native-only-note {
  display: none;
  margin: 0.85rem 0 0;
  color: var(--gold-2);
  font-weight: 600;
}

.app-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.app-download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.app-mobile-card {
  margin-bottom: 1.1rem;
}

.app-mobile-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: 1.7rem;
}

.app-news,
.app-install {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.app-news li,
.app-install li {
  margin: 0 0 0.45rem;
}

.app-faq {
  margin: 0;
}

@media (max-width: 900px) {
  .page-home .android-layout,
  .android-layout,
  .app-status-row {
    grid-template-columns: 1fr;
  }
}

/* Native Android shell: presentation only */
.is-native-app .atmosphere,
.is-native-app .hero-visual,
.is-native-app .visual-caption,
.is-native-app .auth-brand-panel,
.is-native-app .web-only-download,
.is-native-app .section-packages,
.is-native-app .page-home .ticket-stage,
.is-native-app .section-android,
.is-native-app .dash-android,
.is-native-app a[href="#android"],
.is-native-app a[href="/#android"],
.is-native-app a[href="/app"],
.is-native-app a[href="/app/download"] {
  display: none !important;
}

.is-native-app .native-only-note {
  display: block;
}

.is-native-app .home-footer {
  display: block;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.is-native-app {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.is-native-app .site-header {
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
}

.is-native-app .auth-shell {
  grid-template-columns: 1fr;
  min-height: 100dvh;
}

.is-native-app .auth-form-panel {
  padding: 1.25rem 1rem 2rem;
}

.is-native-app .hero-stage-inner {
  grid-template-columns: 1fr;
  padding-bottom: 1.5rem;
}

.is-native-app .hero-copy h1 {
  font-size: clamp(2.4rem, 12vw, 3.4rem);
}

.is-native-app .dashboard-shortcuts .btn[href="/transparency"] {
  display: none;
}

.is-native-app .account-nav .btn[href="/transparency"] {
  display: none;
}

.is-native-app .bg-glow {
  display: none;
}

/* Legal documents */
.page-legal .legal-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem clamp(1.1rem, 3.5vw, 2.75rem) 3.5rem;
  box-sizing: border-box;
}

.page-legal .legal-lead {
  margin: 0 0 1.1rem;
}

.page-legal .legal-meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-legal .legal-nav .btn.is-active {
  border-color: rgba(232, 185, 35, 0.7);
  background: rgba(232, 185, 35, 0.14);
  color: var(--gold-2);
}

.page-legal .legal-doc {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: clamp(1.35rem, 3vw, 2.4rem) clamp(1.25rem, 3.5vw, 2.75rem) clamp(1.8rem, 3vw, 2.8rem);
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(232, 185, 35, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(23, 57, 44, 0.97), rgba(11, 31, 23, 0.98));
  box-shadow: var(--shadow);
}

.page-legal .legal-doc h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--gold-2);
}

.page-legal .legal-doc h2 {
  margin: 1.85rem 0 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.page-legal .legal-doc h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.page-legal .legal-doc h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.02rem;
  color: var(--gold);
}

.page-legal .legal-doc p,
.page-legal .legal-doc li {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.page-legal .legal-doc p {
  margin: 0 0 0.85rem;
}

.page-legal .legal-doc ul,
.page-legal .legal-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.page-legal .legal-doc li {
  margin: 0 0 0.4rem;
}

.page-legal .legal-doc strong {
  color: var(--gold-2);
  font-weight: 700;
}

@media (max-width: 720px) {
  .page-legal .legal-nav {
    flex-wrap: wrap;
  }

  .page-legal .legal-nav .btn {
    padding: 0.65rem 0.9rem;
    min-height: 2.6rem;
    font-size: 0.86rem;
  }
}

/* Loading shimmers — gold sweep on forest green */
@keyframes ruShimmer {
  0% {
    background-position: 140% 0;
  }
  100% {
    background-position: -140% 0;
  }
}

.shimmer-bone {
  display: block;
  border-radius: 8px;
  background-color: rgba(16, 40, 30, 0.95);
  background-image: linear-gradient(
    100deg,
    rgba(16, 40, 30, 0.2) 0%,
    rgba(26, 61, 46, 0.55) 28%,
    rgba(232, 185, 35, 0.38) 50%,
    rgba(240, 215, 140, 0.5) 52%,
    rgba(232, 185, 35, 0.38) 54%,
    rgba(26, 61, 46, 0.55) 72%,
    rgba(16, 40, 30, 0.2) 100%
  );
  background-size: 220% 100%;
  animation: ruShimmer 1.45s ease-in-out infinite;
  pointer-events: none;
}

.shimmer-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 7.5rem;
  border-radius: 0;
}

.shimmer-badge {
  width: 5.6rem;
  height: 1.35rem;
  border-radius: 999px;
}

.shimmer-title {
  width: 72%;
  height: 1.35rem;
  margin: 0.2rem 0;
}

.shimmer-line {
  width: 100%;
  height: 0.82rem;
  margin: 0.28rem 0;
}

.shimmer-w-sm {
  width: 4.6rem;
  height: 0.9rem;
}

.shimmer-w-50 {
  width: 50%;
}

.shimmer-w-70 {
  width: 70%;
}

.shimmer-w-80 {
  width: 80%;
}

.shimmer-bar {
  width: 100%;
  height: 0.55rem;
  border-radius: 999px;
  margin: 0.45rem 0;
}

.shimmer-btn {
  width: 100%;
  height: 2.65rem;
  border-radius: 12px;
  margin-top: 0.35rem;
}

.shimmer-btn-sm {
  width: 9rem;
  height: 2.3rem;
}

.shimmer-stat {
  display: inline-block;
  width: 3.1rem;
  height: 1.55rem;
  vertical-align: middle;
}

.shimmer-stat-lg {
  display: inline-block;
  width: 7.5rem;
  height: 1.85rem;
  vertical-align: middle;
}

.shimmer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.shimmer-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}

.shimmer-chip {
  display: inline-block;
  width: 3.5rem;
  height: 1.85rem;
  border-radius: 999px;
  margin: 0.2rem;
}

.shimmer-media-sq {
  width: 100%;
  height: 9.5rem;
  border-radius: 16px;
}

.shimmer-number {
  width: 8.5rem;
  height: 2.4rem;
  margin: 0.45rem 0;
}

.shimmer-rule {
  width: min(36rem, 100%);
  height: 1rem;
}

.dash-welcome .shimmer-bone {
  width: min(16rem, 78%);
  height: 2.15rem;
}

strong > .shimmer-bone,
h1 > .shimmer-bone,
h2 > .shimmer-bone,
p > .shimmer-bone {
  display: inline-block;
}

.raffle-card.is-shimmer,
.dash-raffle.is-shimmer,
.package.is-shimmer,
.bank-card.is-shimmer,
.trust-card.is-shimmer,
.player-card.is-shimmer,
.history-item.is-shimmer,
.support-ticket.is-shimmer,
.activity-item.is-shimmer {
  pointer-events: none;
  user-select: none;
}

.raffle-card.is-shimmer:hover,
.dash-raffle.is-shimmer:hover,
.player-card.is-shimmer:hover,
.package.is-shimmer:hover,
.trust-card.is-shimmer:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.page-dashboard .dash-raffle.is-shimmer {
  animation: none;
}

.page-dashboard .dash-raffle.is-shimmer:hover {
  transform: none;
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.history-item.is-shimmer,
.support-ticket.is-shimmer {
  display: grid;
  gap: 0.35rem;
}

.ticket-chips.is-shimmer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .shimmer-bone {
    animation: none;
    background-image: none;
    background-color: rgba(232, 185, 35, 0.14);
  }
}

.win4-watch {
  margin: 1.25rem 0 0;
  max-width: 40rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(232, 185, 35, 0.35);
  background:
    linear-gradient(155deg, rgba(28, 68, 50, 0.96), rgba(10, 28, 20, 0.98));
  display: grid;
  gap: 0.4rem;
}

.win4-watch strong {
  font-family: var(--display);
  letter-spacing: 0.03em;
  font-size: 1.45rem;
  color: var(--gold-2);
}

.win4-watch p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.win4-watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.55rem;
}

.win4-watch.is-compact {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
}

.win4-watch.is-compact strong {
  font-size: 1.15rem;
}

.page-trust .trust-verify {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}

.page-trust .trust-verify a {
  color: var(--gold-2);
}

.ticket-order-card .win4-watch {
  max-width: none;
}

/* Tutorials — YouTube-like player */
.page-home .section-hero-tutorial {
  position: relative;
  z-index: 1;
  padding: 0 0 0.4rem;
}

.tut-hero,
.tut-page {
  width: min(1100px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.tut-hero-head {
  margin-bottom: 0.85rem;
}

.tut-hero-more {
  margin: 0.9rem 0 0;
  text-align: right;
}

.page-tutorials .tut-page {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.tut-now-playing {
  margin: 0 0 1.6rem;
}

.tut-player-title {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.tut-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #06110c;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.tut-player.is-playing .tut-stage {
  cursor: default;
}

.tut-stage .tut-poster,
.tut-stage video.tut-live {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tut-player.is-playing .tut-stage video.tut-live {
  object-fit: contain;
  background: #000;
}

.tut-poster-fallback {
  background:
    radial-gradient(520px 200px at 80% 0%, rgba(232, 185, 35, 0.18), transparent 60%),
    linear-gradient(160deg, #123526, #07140e);
}

.tut-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #f6e7a8;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  background: linear-gradient(180deg, rgba(4, 12, 8, 0.08), rgba(4, 12, 8, 0.38));
  transition: background 0.2s ease;
}

.tut-play svg {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
  transition: transform 0.18s ease;
}

.tut-stage:hover .tut-play {
  background: linear-gradient(180deg, rgba(4, 12, 8, 0.02), rgba(4, 12, 8, 0.28));
}

.tut-stage:hover .tut-play svg {
  transform: scale(1.06);
}

.tut-player.is-playing .tut-play {
  display: none;
}

.tut-grid-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}

.tut-grid-head h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: 1.35rem;
}

.tut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tut-card {
  display: grid;
  gap: 0.65rem;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 18px;
  background: rgba(10, 28, 20, 0.72);
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.tut-card:hover,
.tut-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(232, 185, 35, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.tut-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  background: #06110c;
}

.tut-card-thumb .tut-poster,
.tut-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tut-card-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 12, 8, 0.22);
}

.tut-card-play svg {
  width: 48px;
  height: 48px;
}

.tut-card-body {
  display: grid;
  gap: 0.2rem;
  padding: 0 0.9rem 0.95rem;
}

.tut-card-title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
}

.tut-card-cta {
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.page-tutorials .trust-empty {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .tut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tut-grid {
    grid-template-columns: 1fr;
  }

  .tut-stage {
    border-radius: 16px;
  }

  .tut-hero-more {
    text-align: left;
  }
}

.news-page {
  padding-top: 1.25rem;
}

.news-feed {
  display: grid;
  gap: 0.9rem;
}

.news-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(180deg, rgba(18, 36, 28, 0.92), rgba(8, 18, 14, 0.88));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.news-card-photo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  background: #06110c;
  display: block;
}

.news-card-photo-btn {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
}

.news-card-photo-btn .news-card-photo {
  width: 100%;
  height: 100%;
}

.news-card-photo-empty {
  background: rgba(212, 175, 55, 0.12);
}

.news-card-body h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.news-card-date {
  margin: 0;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.news-new {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-2);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-card.is-new {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.08);
}

.dashboard-shortcuts a.has-news-badge {
  position: relative;
}

.dashboard-shortcuts a.has-news-badge::after {
  content: attr(data-news-count);
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--gold-2);
  color: #12120a;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.news-card-text {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 0.92rem;
}

.news-pager {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.news-page-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.news-page-actions .btn {
  min-width: 2.4rem;
  padding: 0.55rem 0.8rem;
}

.news-more-wrap {
  margin: 1rem 0 0;
}

.dashboard-news {
  margin: 0 0 2rem;
}

.news-feed-compact .news-card {
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 0.75rem;
}

.news-feed-compact .news-card-photo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}

.news-feed-compact .news-card-photo-btn {
  width: 72px;
  height: 72px;
}

.news-feed-compact .news-card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 620px) {
  .news-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .news-card-photo,
  .news-card-photo-btn {
    width: 72px;
    height: 72px;
  }
}

.wallet-code-card,
.seller-balance-card {
  margin: 0 0 1.35rem;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(180deg, rgba(18, 36, 28, 0.92), rgba(8, 18, 14, 0.88));
}

.wallet-code-card strong,
.seller-balance-card strong {
  display: block;
  margin: 0.25rem 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 0.08em;
  color: var(--gold-2);
}

.wallet-code-card .btn {
  margin-top: 0.45rem;
}

.deposit-notice {
  margin: 0 0 1.1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(90, 168, 220, 0.45);
  background: rgba(90, 168, 220, 0.12);
}

.deposit-notice-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd0f0;
}

.deposit-notice h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.deposit-notice p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.deposit-notice-note {
  margin-top: 0.7rem !important;
}

.seller-history {
  display: grid;
  gap: 0.65rem;
}

.seller-confirm-box {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.seller-confirm-box p {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
}

.seller-confirm-box span {
  color: var(--muted);
}

.admin-table .admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.seller-number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3.4rem, 1fr));
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.seller-num {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: #fff;
  border-radius: 0.45rem;
  min-height: 3.2rem;
  padding: 0.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.seller-num small {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted, #b7c2b8);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-num.is-taken {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(80, 20, 20, 0.35);
}

.seller-num:not(.is-taken):hover {
  border-color: #d4af37;
}

.raffle-cover-fallback {
  margin: 0;
  padding: 2.5rem 1.25rem;
  text-align: center;
  font-family: var(--display, Bebas Neue, sans-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  color: #f0d78c;
  background: linear-gradient(160deg, rgba(20,40,28,0.9), rgba(8,16,12,0.95));
  border-radius: 0.75rem;
}

.seller-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.seller-action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 36, 27, 0.92);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.seller-action-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(20, 48, 36, 0.96);
  transform: translateY(-2px);
}

.seller-action-card strong {
  font-size: 1.05rem;
}

.seller-action-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.seller-meta-strip {
  margin-bottom: 1.25rem;
}

.seller-meta-strip p {
  margin: 0.25rem 0;
}

.seller-block {
  margin-bottom: 1.25rem;
}

.seller-block-head {
  margin-bottom: 0.75rem;
}

.seller-block-head h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
}

.seller-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.75rem 0 0.25rem;
}

.seller-check input {
  width: auto !important;
  margin-top: 0.2rem;
}

#modal-market-grid .seller-number-grid {
  margin: 1rem 0;
  max-height: min(52vh, 420px);
  overflow: auto;
}

#modal-market-own .modal-card,
#modal-market-grid .modal-card {
  width: min(640px, calc(100vw - 1.25rem));
  max-height: min(90vh, 860px);
  overflow: auto;
}

@media (max-width: 900px) {
  .seller-action-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .seller-action-grid {
    grid-template-columns: 1fr;
  }
}

.market-page .section-head {
  margin-bottom: 1.25rem;
}

.market-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.market-offer-card,
.market-empty {
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(22, 48, 36, 0.96), rgba(10, 24, 18, 0.98));
}

.market-offer-card h2,
.market-empty h2 {
  margin: 0.35rem 0 0.55rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.market-offer-card.is-paper {
  border-color: rgba(212, 175, 55, 0.28);
}

.market-price {
  margin: 0.75rem 0;
  font-weight: 700;
  color: var(--accent, #d4af37);
}

.market-purchases-card {
  margin-top: 0.5rem;
}

@media (max-width: 800px) {
  .market-catalog {
    grid-template-columns: 1fr;
  }
}




