/* ============================================================
   GiveDemin · "Velvet" kit
   One stylesheet, written from scratch. Soft glass on a theatre
   stage: rounded everything, layered light, springy motion.
   ============================================================ */

:root {
  --ink: #050507;
  --red: #d6dce6;
  --red-2: #e6e9ef;
  --red-3: #8d97a6;
  --gold: #d6dce6;
  --gold-2: #8d97a6;
  --ok: #3ccf6e;

  --tx-1: #f6f6f8;
  --tx-2: #b3b3bb;
  --tx-3: #75757e;

  --glass: #121214;
  --glass-flat: #17171a;
  --glass-2: #1d1d21;
  --stroke: rgba(255, 255, 255, 0.09);
  --shadow: none;

  --r-xl: 24px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.23, 1, 0.32, 1);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', Inter, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --pad: 16px;
  --dock-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--ink); color: var(--tx-1); font-family: var(--font); font-size: 16px; line-height: 1.42; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body { min-height: 100dvh; overflow-x: hidden; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
h1, h2, h3, p { margin: 0; }
b, strong { font-weight: 650; }
svg { display: block; }
[hidden] { display: none !important; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .92em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.muted { color: var(--tx-2); }
.center { text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--tx-3); letter-spacing: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inline { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- motion vocabulary ---------- */
@keyframes in-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes in-pop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.in-up { animation: in-up 0.6s var(--ease) both; }
.in-fade { animation: in-fade 0.6s var(--ease) both; }
.in-pop { animation: in-pop 0.5s var(--ease) both; }
.d1 { animation-delay: 60ms; } .d2 { animation-delay: 120ms; } .d3 { animation-delay: 180ms; }
.d4 { animation-delay: 240ms; } .d5 { animation-delay: 300ms; } .d6 { animation-delay: 360ms; }

/* ============================================================
   Backdrop: stage, two drifting lights, dust
   ============================================================ */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--ink); }
.bg::before {
  content: ''; position: absolute; inset: -6%;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.55), rgba(5, 5, 7, 0.82) 45%, rgba(5, 5, 7, 0.96)), url('/static/img/bg-marble.webp') center top / cover no-repeat;
  animation: stage-drift 60s ease-in-out infinite alternate; will-change: transform;
}
.bg::after { display: none; }
.bg__photo, .bg__ice, .bg__scrim { display: none; }
.bg__aura {
  position: absolute; left: -30%; right: -30%; bottom: -30%; height: 80%;
  background: radial-gradient(50% 50% at 50% 60%, rgba(170, 185, 210, 0.08), transparent 70%);
}
.bg__grain {
  position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes stage-drift { from { transform: translate3d(-1.5%, 0, 0) scale(1.02); } to { transform: translate3d(1.5%, -1.5%, 0) scale(1.1); } }
@keyframes spot-breathe { from { opacity: 0.55; transform: translateX(-50%) scale(0.94); } to { opacity: 1; transform: translateX(-50%) scale(1.06); } }
@keyframes aura-breathe { from { opacity: 0.5; transform: scale(0.95); } to { opacity: 1; transform: scale(1.08); } }

/* ============================================================
   Chrome: floating top bar and bottom dock
   ============================================================ */
.viewport { position: relative; z-index: 1; width: 100%; max-width: 480px; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; }
.stage { flex: 1; padding: calc(var(--sat) + 78px) var(--pad) 40px; }
.stage--bare { padding-top: calc(var(--sat) + 8px); }
.stage--tabbar { padding-bottom: calc(var(--dock-h) + var(--sab) + 28px); }
.stage--bar { padding-bottom: calc(var(--bar-h, 118px) + 24px); }
.stage--fill { display: flex; flex-direction: column; }
.stage--fill > div { flex: 1; display: flex; flex-direction: column; }
.stage--fill .draw { flex: 1; display: flex; flex-direction: column; }
.stage--fill .draw > .stack { flex: 1; }

.appbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: calc(var(--sat) + 10px) 12px 0; display: flex; justify-content: center; pointer-events: none; }
.appbar__inner {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 456px; min-height: 52px; padding: 6px 8px; border-radius: 16px;
  background: rgba(14, 14, 16, 0.78); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: max-width 0.5s var(--ease), background-color 0.4s ease;
}
.appbar.is-stuck .appbar__inner { max-width: 300px; background: rgba(10, 10, 12, 0.9); }
.appbar__lead { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.08); transition: transform 0.2s var(--ease), background 0.2s; }
.appbar__lead:active { transform: scale(0.88); background: rgba(255, 255, 255, 0.18); }
.appbar__lead svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.appbar__text { flex: 1; min-width: 0; padding: 0 12px; display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.appbar__lead[hidden] + .appbar__text { padding-left: 14px; }
.appbar__text small { font-size: 11.5px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__text b { font-size: 16px; font-weight: 700; letter-spacing: -0.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar.is-stuck .appbar__text { align-items: center; text-align: center; }
.appbar__side { flex: none; display: flex; align-items: center; gap: 6px; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-width: 480px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px 8px calc(var(--sab) + 6px);
  background: rgba(10, 10, 12, 0.86); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 52px; border-radius: 12px; color: var(--tx-3); font-size: 10.5px; font-weight: 600; transition: color 0.25s ease, transform 0.2s var(--ease); }
.tab::before { content: ''; position: absolute; top: -7px; left: 50%; width: 24px; height: 2px; margin-left: -12px; border-radius: 0 0 2px 2px; background: var(--red); opacity: 0; transform: scaleX(0.4); transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab:active { transform: scale(0.94); }
.tab[aria-selected='true'] { color: #fff; }
.tab[aria-selected='true']::before { opacity: 1; transform: none; }
.tab__mark { position: absolute; top: 2px; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: #e6e9ef; font-size: 10.5px; font-weight: 750; color: #0a0b0d; }

.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 28px 14px calc(var(--sab) + 14px); display: flex; flex-direction: column; gap: 10px; max-width: 480px; margin: 0 auto; background: linear-gradient(to top, rgba(5, 5, 7, 0.96) 55%, transparent); animation: in-up 0.6s var(--ease) both; }
.actionbar--inline { position: static; padding: 16px 0 0; background: none; max-width: none; margin-top: auto; }
.actionbar__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actionbar--slim .btn { min-height: 50px; font-size: 15.5px; }

/* ============================================================
   Surfaces
   ============================================================ */
.card, .gw, .vault, .tcard, .pf, .steps li, .fold, .spin, .proof, .empty, .reroll, .errbox, .count, .rlose, .win, .awin, .gate, .adet, .arow, .astat, .agw, .row, .role-row {
  position: relative; background: var(--glass); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--stroke);
}
.card { padding: 18px; }
.card--tap { cursor: pointer; transition: transform 0.25s var(--ease); }
.card--tap:active, .gw.is-press { transform: scale(0.985); }
.errbox { padding: 18px; color: var(--tx-2); }
.errbox b { color: var(--tx-1); display: block; margin-bottom: 4px; }

.section { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 26px 4px 12px; }
.section h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.section > span { font-size: 13px; color: var(--tx-3); }
.section--sm { margin: 20px 4px 10px; }
.section--sm h2 { font-size: 19px; }
.section--center { justify-content: center; }
.section__arrow { display: inline-grid; margin-left: 6px; opacity: 0.5; }
.section__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 600; color: var(--tx-1); }
.badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tx-3); }
.badge--live .badge__dot { background: var(--ok); animation: dot-ping 2s ease-out infinite; }
.badge--team { background: rgba(205, 213, 226, 0.12); color: #cdd5e2; }
.badge--win { background: rgba(60, 207, 110, 0.14); color: var(--ok); }
.badge--win .badge__dot { background: var(--ok); }
.badge--warn { background: rgba(255, 255, 255, 0.08); color: var(--tx-2); }
.badge--gold { background: rgba(255, 255, 255, 0.1); color: var(--tx-1); }
@keyframes dot-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 107, 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 107, 0); } }

.metachip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; color: var(--tx-2); }
.metachip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.metachip b { color: var(--tx-1); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px; overflow: hidden; isolation: isolate;
  font-size: 16.5px; font-weight: 650; letter-spacing: -0.015em; color: #0a0b0d; text-align: center; background: linear-gradient(180deg, #f4f6f9 0%, #dde1e8 55%, #c1c8d3 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.2s var(--ease), background-color 0.2s, opacity 0.2s;
}
.btn:active, .btn.is-pressed { transform: scale(0.975); filter: brightness(0.92); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 42px; font-size: 14.5px; padding: 0 16px; border-radius: 12px; }
.btn[disabled], .btn.is-busy { opacity: 0.5; pointer-events: none; }
.btn__text { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.btn svg, .bico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--shine::after { display: none; }
.btn--ghost { color: var(--tx-1); background: #1b1e22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); filter: none; }
.btn--ghost:active { background: #252a30; }
.btn--gold, .btn--violet { color: var(--tx-1); background: #1b1e22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.btn--gold:active, .btn--violet:active { background: #252a30; }
.btn--danger { background: rgba(255, 120, 120, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 130, 130, 0.45); color: #ff9a9a; filter: none; }
.btn__ring { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); animation: ring-out 0.6s var(--ease) both; pointer-events: none; z-index: 1; }
@keyframes ring-out { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(14); opacity: 0; } }
.btn__spin { position: absolute; inset: 0; display: grid; place-items: center; background: inherit; }
.btn__spin i { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.iconbtn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.08); transition: transform 0.2s var(--ease); }
.iconbtn:active { transform: scale(0.88); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sndbtn { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--tx-2); transition: transform 0.2s var(--ease), color 0.2s; }
.sndbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sndbtn:active { transform: scale(0.88); }
.sndbtn.is-off { color: var(--tx-3); }
.sndbtn.is-blocked { color: var(--tx-1); animation: snd-wait 1.8s ease infinite; }
@keyframes snd-wait { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); } 55% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }

/* ============================================================
   Home
   ============================================================ */
.homebar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 2px 0; }
.homebar__mark { font-size: 24px; font-weight: 780; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.homebar__mark .yo { position: relative; display: inline-block; }
.homebar__mark .yo::before, .homebar__mark .yo::after { content: ''; position: absolute; top: -0.09em; width: 0.115em; height: 0.115em; border-radius: 50%; background: #e6e9ef; }
.homebar__mark .yo::before { left: 0.15em; }
.homebar__mark .yo::after { left: 0.37em; }
.homebar__mark i { margin-left: 6px; font-style: normal; font-size: 0.55em; font-weight: 650; letter-spacing: 0.14em; color: var(--tx-3); }
.homebar__live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: var(--glass-flat); box-shadow: inset 0 0 0 1px var(--stroke); font-size: 13px; font-weight: 600; white-space: nowrap; }
.homebar__live b { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: dot-ping 2s ease-out infinite; }

/* hero gift for the empty state and boot */



/* giveaway card */
.gw { margin-top: 12px; padding: 18px; overflow: hidden; transition: transform 0.25s var(--ease); cursor: pointer; }
.gw::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red-2); }
.gw--team::before { background: #f2f2f4; }
.gw--joined { box-shadow: inset 0 0 0 1px rgba(60, 207, 110, 0.5); }
.gw--joined::before { background: var(--ok); }
.gw__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gw__clock { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--tx-2); font-variant-numeric: tabular-nums; }
.gw__clock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.gw__clock--hot { color: #fff; }
.gw__clock--now { color: var(--tx-1); }
@keyframes tick { 50% { opacity: 0.4; } }
.gw__name, .gw__title { position: relative; margin-top: 14px; font-size: 22px; font-weight: 720; letter-spacing: -0.035em; line-height: 1.12; overflow-wrap: anywhere; }
.gw__note, .gw__desc { position: relative; margin-top: 8px; font-size: 15px; line-height: 1.42; color: var(--tx-2); }
.gw__prize { position: relative; display: flex; align-items: center; gap: 13px; margin-top: 14px; padding: 12px; border-radius: var(--r-md); background: #0a0a0c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.gw__prizeIco { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #1d1d21; color: var(--tx-1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.gw__prizeIco svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gw__prizeTxt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gw__prizeTxt small { font-size: 11.5px; color: var(--tx-3); }
.gw__prizeTxt b { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; overflow-wrap: anywhere; }
.gw__prizeMore { flex: none; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: 600; color: var(--tx-2); white-space: nowrap; }
.gw__meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.gw__metaCell { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tx-2); }
.gw__metaCell svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: 0.8; }
.gw__metaCell b { color: var(--tx-1); }
.gw__act { position: relative; display: flex; align-items: stretch; gap: 10px; margin-top: 18px; }
.gw__act .btn--block { flex: 1; }
.gw__act .btn--ghost { flex: 1; }
.myticket__box { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 96px; padding: 8px 16px; border-radius: var(--r-md); background: #0a0a0c; box-shadow: inset 0 0 0 1px rgba(60, 207, 110, 0.4); }
.myticket__box small { font-size: 11px; color: var(--ok); }
.myticket__box b { font-size: 26px; font-weight: 740; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }

/* contacts: one wide, two small */
.links__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.linkcard { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; padding: 14px; border-radius: var(--r-lg); text-align: left; overflow: hidden; background: var(--glass); box-shadow: inset 0 0 0 1px var(--stroke); animation: in-up 0.6s var(--ease) both; transition: transform 0.2s var(--ease); }
.linkcard:active { transform: scale(0.975); }
.linkcard__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #1d1d21; }
.linkcard__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.linkcard__txt { min-width: 0; display: flex; flex-direction: column; }
.linkcard__txt b { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkcard__txt small { font-size: 12px; color: var(--tx-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkcard__go { display: none; }
.linkcard--big { grid-column: 1 / -1; gap: 14px; padding: 18px; min-height: 92px; background: #17171a; box-shadow: inset 0 0 0 1px var(--stroke); }
.linkcard--big::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red-2); }
.linkcard--big .linkcard__ico { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(180deg, #f4f6f9, #c1c8d3); color: #0a0b0d; }
.linkcard--big .linkcard__ico svg { width: 28px; height: 28px; }
.linkcard--big .linkcard__txt b { font-size: 21px; letter-spacing: -0.03em; }
.linkcard--big .linkcard__txt small { font-size: 14px; color: var(--tx-2); }
.linkcard--big .linkcard__txt em { margin-top: 6px; font-style: normal; font-size: 13px; color: var(--tx-3); white-space: normal; }
.linkcard--big .linkcard__go { display: grid; place-items: center; flex: none; width: 34px; height: 34px; margin-left: auto; border-radius: 10px; background: rgba(255, 255, 255, 0.1); position: relative; }
.linkcard--big .linkcard__go svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }

/* empty + loader */
.empty { display: flex; align-items: center; gap: 14px; padding: 18px; margin-top: 14px; }
.empty--stack { flex-direction: column; text-align: center; padding: 34px 20px; }
.empty__mark { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #1d1d21; }
.empty__mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.empty__mark--fill svg { fill: currentColor; stroke: none; }
.empty--stack .empty__mark { width: 68px; height: 68px; border-radius: 18px; }
.empty--stack .empty__mark svg { width: 34px; height: 34px; }
.empty__body { flex: 1; min-width: 0; }
.empty__body b { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.empty__body p { margin-top: 3px; font-size: 14.5px; color: var(--tx-2); }
.empty__cta { margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 12px; background: linear-gradient(180deg, #f4f6f9, #c1c8d3); font-size: 15.5px; font-weight: 650; color: #0a0b0d; }
.loader { display: grid; place-items: center; min-height: 40vh; }
.loader__dot { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--red); animation: spin 0.8s linear infinite; }
.boot { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--ink); }
.boot__mask img { width: 88px; height: auto; opacity: 0.9; }
.boot__bar { width: 120px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.boot__bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--red), transparent); animation: boot-run 1.2s ease-in-out infinite; }
@keyframes boot-run { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ============================================================
   Tickets, history rows
   ============================================================ */

/* ============================================================
   Profile
   ============================================================ */
.pf { overflow: hidden; margin-top: 4px; padding: 0 18px 20px; text-align: center; border-radius: var(--r-xl); }
.pf__cover { height: 104px; margin: 0 -18px; background: linear-gradient(180deg, rgba(5, 5, 7, 0.1), rgba(20, 20, 24, 0.95)), url('/static/img/bg-marble.webp') 40% 20% / cover; }
.pf__ava { position: relative; width: 92px; height: 92px; margin: -48px auto 0; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #26262c; box-shadow: 0 0 0 4px #121214, 0 0 0 5px rgba(255, 255, 255, 0.18); }
.pf__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.pf__img.is-on { opacity: 1; }
.pf__ini { font-size: 32px; font-weight: 760; }
.pf__name { margin-top: 14px; font-size: 26px; font-weight: 780; letter-spacing: -0.045em; line-height: 1.1; overflow-wrap: anywhere; }
.pf__handle { margin-top: 3px; font-size: 14px; color: var(--tx-3); }
.pf__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.pf__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); font-size: 12.5px; font-weight: 600; }
.pf__chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf__chip--team { background: rgba(205, 213, 226, 0.14); color: #dce2ec; }
.pf__chip--admin { background: rgba(255, 255, 255, 0.18); }


.tcard { margin-top: 12px; padding: 18px; overflow: hidden; }
.tcard__aura { display: none; }
.tcard__rays { display: none; }
.tcard__top { position: relative; display: flex; align-items: center; gap: 12px; }
.tcard__seal { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #1d1d21; color: var(--tx-1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.tcard__seal--locked { background: rgba(255, 255, 255, 0.12); color: var(--tx-1); }
.tcard__seal svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tcard__head { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tcard__kicker { font-size: 12px; color: var(--tx-3); }
.tcard__title { font-size: 20px; font-weight: 750; letter-spacing: -0.035em; }
.tcard__pulse { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(52, 211, 107, 0.16); color: var(--ok); animation: dot-ping 2.4s ease-out infinite; }
.tcard__pulse svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tcard__text { position: relative; margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--tx-2); }
.tcard__cta { margin-top: 14px; }
.tcard__recheck { display: block; margin: 12px auto 0; font-size: 13px; color: var(--tx-3); text-decoration: underline; text-underline-offset: 3px; }


.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; align-items: flex-start; gap: 13px; padding: 15px; border-radius: var(--r-md); }
.steps i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #1d1d21; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-style: normal; font-size: 13px; font-weight: 700; }
.steps p { min-width: 0; font-size: 14px; line-height: 1.45; color: var(--tx-2); }
.steps p b { color: var(--tx-1); }

.fold { margin-top: 8px; overflow: hidden; border-radius: var(--r-md); }
.fold__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; text-align: left; }
.fold__head b { font-size: 15.5px; font-weight: 650; }
.fold__ico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: transform 0.45s var(--spring), background 0.2s; }
.fold__ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transform: rotate(90deg); }
.fold.is-open .fold__ico { transform: rotate(180deg); background: #e6e9ef; color: #0a0b0d; }
.fold__wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.fold.is-open .fold__wrap { grid-template-rows: 1fr; }
.fold__body { overflow: hidden; padding: 0 16px; font-size: 14px; line-height: 1.5; }
.fold.is-open .fold__body { padding-bottom: 16px; }

/* ============================================================
   Draw screen
   ============================================================ */
.draw__head { display: flex; justify-content: center; margin-bottom: 12px; }
.draw__head--tight { margin-bottom: 8px; }
.draw__status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 10px; background: var(--glass-flat); box-shadow: inset 0 0 0 1px var(--stroke); font-size: 13px; font-weight: 650; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.vault { padding: 10px; border-radius: var(--r-lg); }
.vault__top { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: var(--r-md); background: rgba(0, 0, 0, 0.32); }
.vault__medal, .prize__medal { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: #26262b; color: #fff; font-size: 15px; font-weight: 800; }
.vault__txt { display: flex; flex-direction: column; min-width: 0; }
.vault__txt small { font-size: 11.5px; color: var(--tx-3); }
.vault__txt b { font-size: 21px; font-weight: 750; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.vault__rest { margin-top: 6px; display: grid; gap: 6px; }
.prize { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); }
.prize--2 .prize__medal { background: #3a3a40; }
.prize--3 .prize__medal { background: #2f2f34; }
.prize__medal { width: 30px; height: 30px; border-radius: 10px; font-size: 13px; }
.prize__text { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.prize__num { flex: none; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.prize--me { box-shadow: inset 0 0 0 1.5px rgba(52, 211, 107, 0.6); background: rgba(52, 211, 107, 0.1); }
.prize.is-reveal { animation: in-up 0.7s var(--ease) both; }

.count { padding: 24px 14px 20px; margin-top: 12px; text-align: center; }
.count__grid { display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.count__unit { min-width: 62px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.count__val { min-width: 62px; padding: 12px 6px; border-radius: var(--r-md); background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px var(--stroke); font-size: 40px; font-weight: 780; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.count__cap { font-size: 11.5px; color: var(--tx-3); }
.count__sep { padding-top: 14px; font-size: 32px; font-weight: 700; color: var(--tx-3); animation: tick 1s steps(2, end) infinite; }
.count__hint { margin-top: 16px; font-size: 14px; color: var(--tx-2); }
.count.is-urgent .count__val { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(230, 235, 242, 0.7); animation: urgent 1s var(--ease) infinite; }
@keyframes urgent { 50% { transform: scale(1.05); } }

.spin { padding: 14px 14px 16px; border-radius: var(--r-xl); overflow: hidden; }
.spin__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.spin__steps { display: flex; gap: 6px; }
.spin__steps i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); font-style: normal; font-size: 12px; font-weight: 750; color: var(--tx-3); transition: all 0.4s var(--spring); }
.spin__steps i.is-done { background: rgba(255, 255, 255, 0.16); color: var(--tx-1); }
.spin__steps i.is-now { background: #e6e9ef; color: #0a0b0d; transform: scale(1.18); }
.spin__prizewrap { flex: 1; min-width: 0; text-align: right; }
.spin__prize { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spin__stage { display: flex; justify-content: center; }
.spin__reel { min-width: 0; width: 100%; }
.spin__rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.spin__stat { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px; border-radius: var(--r-md); background: rgba(0, 0, 0, 0.3); min-width: 0; }
.spin__stat b { font-size: 20px; font-weight: 780; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.spin__stat i { font-style: normal; font-size: 11px; color: var(--tx-3); }
.spin__stat--live b { color: #fff; }
.spin__stat--me b { color: var(--gold); }
.spin__result { margin-top: 12px; min-height: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.spin__hit { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.09); animation: in-pop 0.5s var(--spring) both; }
.spin__hit i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.16); font-style: normal; font-size: 11px; font-weight: 750; }
.spin__hit b { font-size: 15px; font-variant-numeric: tabular-nums; }
.spin__hit em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold); }
.spin__hit.is-me { background: rgba(230, 235, 242, 0.14); box-shadow: inset 0 0 0 1px rgba(230, 235, 242, 0.5); }

/* results */
.result { display: flex; flex-direction: column; gap: 12px; }
.win { padding: 22px 20px; overflow: hidden; border-radius: var(--r-xl); min-height: 260px; background: linear-gradient(135deg, rgba(205, 213, 226, 0.14), rgba(255, 255, 255, 0.03) 60%); box-shadow: inset 0 0 0 1px rgba(230, 235, 242, 0.4); }
.win__bg { display: none; }
.win__hero { position: absolute; right: -6px; bottom: -4px; width: 46%; max-width: 190px; height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6)); animation: in-up 0.9s var(--ease) 0.2s both; }
.win__main { position: relative; max-width: 62%; display: flex; flex-direction: column; gap: 10px; }
.win__won { display: flex; flex-direction: column; line-height: 0.95; }
.win__won span { font-size: 15px; color: var(--tx-2); }
.win__won b { font-size: 40px; font-weight: 780; letter-spacing: -0.055em; }
.win__prize { font-size: 22px; font-weight: 720; letter-spacing: -0.04em; line-height: 1.1; overflow-wrap: anywhere; }
.win__prize.is-tbd { font-size: 18px; color: var(--tx-2); }
.win__place { display: inline-flex; align-items: baseline; gap: 6px; width: fit-content; padding: 6px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); }
.win__pnum { font-size: 22px; font-weight: 800; }
.win__pword { font-size: 13px; color: var(--tx-2); }
.win__stub { display: flex; gap: 14px; margin-top: 4px; padding-top: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.win__cell { display: flex; flex-direction: column; }
.win__cell i { font-style: normal; font-size: 11.5px; color: var(--tx-3); }
.win__cell b { font-size: 19px; font-weight: 780; font-variant-numeric: tabular-nums; }
.rlose { padding: 26px 20px; text-align: center; border-radius: var(--r-xl); overflow: hidden; }
.rlose__glow { display: none; }
.rlose__motes { display: none; }
.rlose__kicker { position: relative; font-size: 13px; color: var(--tx-3); }
.rlose__title { position: relative; margin-top: 6px; display: flex; flex-direction: column; font-size: 20px; font-weight: 600; color: var(--tx-2); line-height: 1; }
.rlose__title b { font-size: 64px; font-weight: 800; letter-spacing: -0.06em; color: var(--tx-1); }
.rlose__sub { position: relative; margin-top: 8px; font-size: 14.5px; color: var(--tx-2); }
.rlose__ticket { position: relative; margin: 16px auto 0; width: fit-content; padding: 10px 22px; border-radius: var(--r-md); background: rgba(0, 0, 0, 0.35); display: flex; flex-direction: column; }
.rlose__ticket i { font-style: normal; font-size: 11.5px; color: var(--tx-3); }
.rlose__ticket b { font-size: 26px; font-weight: 780; font-variant-numeric: tabular-nums; }
.rlose__meta { position: relative; display: flex; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--tx-2); }
.rlose__lab, .awin__lab { margin: 6px 4px -4px; font-size: 13px; color: var(--tx-3); }
.result__places { display: grid; gap: 8px; }
.awin { padding: 24px 20px; text-align: center; border-radius: var(--r-xl); }
.awin__label { font-size: 13px; color: var(--tx-3); }
.awin__num { margin-top: 6px; font-size: 64px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.awin__name { margin-top: 8px; font-size: 18px; font-weight: 650; }
.awin__tag { margin-top: 2px; font-size: 14px; color: var(--tx-3); }
.awin__meta { margin-top: 14px; display: flex; justify-content: center; }
.awin__meta span { padding: 6px 12px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); font-size: 13px; color: var(--tx-2); }
.awin__meta b { color: var(--tx-1); }
.proof { overflow: hidden; border-radius: var(--r-md); }
.proof__btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 15px 16px; text-align: left; font-size: 14.5px; font-weight: 600; color: var(--tx-2); }
.proof__btn span { flex: 1; }
.proof__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--spring); }
.proof__btn svg:last-child { width: 16px; height: 16px; transform: rotate(90deg); }
.proof__btn.is-open svg:last-child { transform: rotate(-90deg); }
.proof__body { padding: 0 16px 16px; font-size: 13.5px; line-height: 1.5; color: var(--tx-2); }
.reroll { overflow: hidden; border-radius: var(--r-md); }
.reroll__btn { width: 100%; display: flex; align-items: center; gap: 13px; padding: 14px 16px; text-align: left; }
.reroll__ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, 0.1); }
.reroll__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.reroll__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.reroll__tx b { font-size: 15.5px; }
.reroll__tx small { font-size: 12.5px; color: var(--tx-3); }
.reroll__go { width: 18px; height: 18px; fill: none; stroke: var(--tx-3); stroke-width: 2; }

/* gate */
.gate { margin-top: 10px; padding: 34px 22px 26px; text-align: center; border-radius: var(--r-xl); }
.gate__mask img { width: 128px; height: auto; margin: 0 auto; opacity: 0.9; }
.gate__mask { margin: 0; }
.gate__title { margin-top: 14px; font-size: 28px; font-weight: 780; letter-spacing: -0.045em; }
.gate__text { margin-top: 8px; font-size: 15px; color: var(--tx-2); }
.gate__acts { display: grid; gap: 10px; margin-top: 22px; }
.gate__hint { margin-top: 14px; font-size: 12.5px; }

/* ============================================================
   Overlays: sheet + center dialogs
   ============================================================ */
.overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.overlay--center { align-items: center; padding: 22px; }
.overlay__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: in-fade 0.35s ease both; }
.sheet { position: relative; width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto; padding: 10px 20px calc(var(--sab) + 20px); border-radius: 24px 24px 0 0; background: #141416; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); animation: sheet-up 0.5s var(--ease) both; }
.overlay--center .sheet { max-width: 400px; padding: 24px 20px 22px; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); animation: in-pop 0.45s var(--ease) both; }
.overlay.is-closing .sheet { animation: sheet-down 0.26s ease-in both; }
.overlay--center.is-closing .sheet { animation: out-pop 0.24s ease-in both; }
.overlay.is-closing .overlay__scrim { animation: out-fade 0.26s ease both; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes out-pop { to { opacity: 0; transform: scale(0.94); } }
@keyframes out-fade { to { opacity: 0; } }
.sheet__grip { width: 40px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.sheet__title { font-size: 22px; font-weight: 720; letter-spacing: -0.035em; line-height: 1.15; }
.sheet__text { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--tx-2); }
.sheet__actions { display: grid; gap: 10px; margin-top: 20px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--dock-h) + var(--sab) + 18px); z-index: 120; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; transform: translateX(-50%); background: rgba(28, 28, 33, 0.96); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 14.5px; font-weight: 600; text-align: center; animation: toast-in 0.5s var(--spring) both; }
.toast--sheet { bottom: calc(var(--sab) + 24px); }
.toast--err { color: #ff9a9a; box-shadow: inset 0 0 0 1px rgba(255, 130, 130, 0.45); }
.toast--ok { color: var(--ok); }
.toast.is-closing { animation: toast-out 0.25s ease-in both; }
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(20px) scale(0.9); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(-50%) translateY(10px); } }

/* captcha */
.captcha { text-align: center; }
.captcha--shake { animation: shake 0.45s ease; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.captcha__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.captcha__badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); font-size: 12px; color: var(--tx-2); }
.captcha__badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.captcha__badge i { font-style: normal; }
.captcha__refresh { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: transform 0.5s var(--spring); }
.captcha__refresh:active { transform: rotate(180deg) scale(0.9); }
.captcha__refresh svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.captcha__expr { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 12px; }
.captcha__num, .captcha__ans { min-width: 60px; height: 66px; padding: 0 8px; display: grid; place-items: center; border-radius: 14px; background: #0a0a0c; box-shadow: inset 0 0 0 1px var(--stroke); font-size: 34px; font-weight: 780; font-variant-numeric: tabular-nums; }
.captcha__op { font-size: 28px; font-weight: 700; color: var(--gold); }
.captcha__eq { font-size: 28px; font-weight: 600; color: var(--tx-3); }
.captcha__ans { color: var(--tx-3); box-shadow: inset 0 0 0 1.5px rgba(230, 235, 242, 0.6); }
.captcha__ans.is-filled { color: var(--tx-1); background: rgba(230, 235, 242, 0.12); animation: in-pop 0.3s var(--spring); }
.captcha__field { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.captcha__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.captcha__key { height: 52px; border-radius: 12px; background: rgba(255, 255, 255, 0.09); font-size: 22px; font-weight: 650; transition: transform 0.2s var(--spring), background 0.15s; }
.captcha__key:active { transform: scale(0.92); background: rgba(255, 255, 255, 0.2); }
.captcha__key--ghost { background: transparent; color: var(--tx-2); }
.captcha__err { min-height: 20px; margin-top: 10px; font-size: 13.5px; color: #ff9a9a; }

/* ticket reveal */
.reveal__label { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--tx-3); }
.reveal__stage { display: grid; place-items: center; padding: 22px 0 14px; }
.slots { display: flex; gap: 8px; }
.slot { position: relative; width: 60px; height: 76px; overflow: hidden; border-radius: 14px; background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px var(--stroke), inset 0 12px 16px -10px rgba(0, 0, 0, 0.8), inset 0 -12px 16px -10px rgba(0, 0, 0, 0.8); }
.slot__strip { will-change: transform; }
.slot__strip i { display: grid; place-items: center; height: 76px; font-style: normal; font-size: 46px; font-weight: 800; font-variant-numeric: tabular-nums; }
.slot.is-locked { box-shadow: inset 0 0 0 1.5px rgba(230, 235, 242, 0.8); animation: in-pop 0.4s var(--ease); }
.reveal__text { text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
.reveal__meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 18px; font-size: 13px; color: var(--tx-3); }
.reveal__meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; }

/* team sheet */
.tsheet { position: relative; text-align: center; }
.tsheet__glow { display: none; }
.tsheet__crest { position: relative; width: 62px; height: 62px; margin: 6px auto 0; display: grid; place-items: center; border-radius: 16px; background: #1d1d21; color: var(--tx-1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.tsheet__crest svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tsheet__kicker { position: relative; margin-top: 14px; font-size: 12.5px; color: var(--tx-3); }
.tsheet__title { position: relative; margin-top: 4px; font-size: 24px; font-weight: 780; letter-spacing: -0.04em; }
.tphrase { position: relative; width: 100%; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); text-align: left; background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px var(--stroke); transition: box-shadow 0.3s, transform 0.3s var(--spring); }
.tphrase:active { transform: scale(0.98); }
.tphrase.is-copied { box-shadow: inset 0 0 0 1.5px rgba(52, 211, 107, 0.7); }
.tphrase__label { display: block; font-size: 12px; color: var(--tx-3); }
.tphrase__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.tphrase__text { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.tphrase__copy { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.12); }
.tphrase__copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tsheet__hint { position: relative; margin-top: 12px; font-size: 14px; color: var(--tx-2); }
.tsheet__split { margin: 18px 0 10px; font-size: 12px; color: var(--tx-3); display: flex; align-items: center; gap: 12px; }
.tsheet__split::before, .tsheet__split::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.tcontacts { display: grid; gap: 8px; }
.tcontact { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.08); text-align: left; animation: in-up 0.6s var(--ease) both; transition: transform 0.3s var(--spring); }
.tcontact:active { transform: scale(0.97); }
.tcontact__ava { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, 0.12); }
.tcontact__ava svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tcontact__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tcontact__body small { font-size: 12.5px; color: var(--tx-3); }
.tcontact__go svg { width: 20px; height: 20px; fill: none; stroke: var(--tx-3); stroke-width: 1.8; }
.tsheet__close { margin-top: 14px; font-size: 15px; color: var(--tx-3); }

/* fx layers */
.fx { position: fixed; inset: 0; z-index: 130; pointer-events: none; overflow: hidden; }
.fx__p { position: absolute; display: block; will-change: transform, opacity; }
.confetti { position: fixed; inset: 0; z-index: 125; pointer-events: none; }
.devflag { position: fixed; left: 8px; bottom: calc(var(--dock-h) + var(--sab) + 28px); z-index: 60; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 10px; font-weight: 700; color: var(--tx-3); pointer-events: none; opacity: 0.6; }

/* ============================================================
   Forms (admin + prompts)
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.field label { font-size: 13px; color: var(--tx-2); }
.input, .textarea, input[type='text'], input[type='number'], input[type='datetime-local'], textarea, select {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-md); border: 0; outline: 0; background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 1px var(--stroke); font-size: 16px; color: var(--tx-1); transition: box-shadow 0.2s;
}
.textarea, textarea { padding: 14px 16px; min-height: 100px; resize: vertical; }
.input:focus, .textarea:focus, input:focus, textarea:focus { box-shadow: inset 0 0 0 2px var(--red); }
.input--sm { min-height: 44px; font-size: 15px; }
.input::placeholder, textarea::placeholder { color: var(--tx-3); }
.seg { display: flex; gap: 3px; padding: 3px; border-radius: 14px; background: rgba(0, 0, 0, 0.4); }
.seg__btn { flex: 1; min-height: 40px; padding: 0 10px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--tx-2); transition: background 0.25s, color 0.25s; }
.seg__btn.is-on { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.seg--sm .seg__btn { min-height: 34px; font-size: 13px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pager__info { font-size: 13px; color: var(--tx-3); }
.pblur { filter: none; }

.adm, .adet { display: block; }
.adet { padding: 18px; margin-top: 12px; border-radius: var(--r-lg); }
.admg { margin-top: 18px; }
.admg .eyebrow { display: block; margin: 0 4px 8px; }
.rows { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--glass); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.arow { width: 100%; display: flex; align-items: center; gap: 13px; padding: 13px 16px; text-align: left; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background 0.2s; }
.arow + .arow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.arow:active { background: rgba(255, 255, 255, 0.06); }
.arow__ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.1); }
.arow__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arow--danger .arow__ic { color: #ff9a9a; }
.arow__go { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--tx-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arow__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.arow__tx b { font-size: 16px; font-weight: 600; }
.arow__tx small { font-size: 12.5px; color: var(--tx-3); }
.arow__state { flex: none; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: 650; color: var(--tx-2); }
.arow__state.is-on { background: rgba(52, 211, 107, 0.16); color: var(--ok); }
.astat { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-top: 4px; }
.astat__c { padding: 16px 8px; text-align: center; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.astat__c + .astat__c { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08); }
.astat__c b { display: block; font-size: 26px; font-weight: 780; letter-spacing: -0.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.astat__c span { font-size: 12px; color: var(--tx-3); }
.astat__c--ice b { color: #fff; }
.astat__c--gold b { color: var(--tx-1); }
.agw { display: flex; align-items: flex-start; gap: 12px; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.agw__id { flex: none; min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center; border-radius: 13px; background: rgba(0, 0, 0, 0.35); font-weight: 750; color: var(--tx-2); }
.agw__body { flex: 1; min-width: 0; }
.agw__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.agw__title { font-size: 16.5px; font-weight: 700; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.agw__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; margin-top: 8px; border-radius: var(--r-md); }
.row--tap:active { background: rgba(255, 255, 255, 0.07); }
.row__main { display: flex; flex-direction: column; min-width: 0; }
.row__main span { font-size: 12.5px; color: var(--tx-3); }
.row__num { font-size: 13px; color: var(--tx-3); }
.nform { display: grid; gap: 18px; margin-top: 16px; }
.nform__grp { padding: 16px; border-radius: var(--r-md); background: rgba(0, 0, 0, 0.28); }
.nform__cap { font-size: 12.5px; font-weight: 650; color: var(--tx-3); }
.nform__hint { margin-top: 6px; font-size: 12.5px; color: var(--tx-3); }
.nprize { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; }
.nprize__medal { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.12); font-weight: 800; font-size: 14px; }
.nprize__medal--1 { background: #26262b; color: #fff; }
.nprize__medal--2 { background: #3a3a40; color: #fff; }
.nprize__medal--3 { background: #2f2f34; color: #fff; }
.nprize__fields { flex: 1; min-width: 0; display: grid; gap: 8px; }
.nprize__del { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(205, 213, 226, 0.14); color: #ff8a92; }
.nprize__del svg, .nprize__add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nprize__add { margin-top: 12px; width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.08); font-weight: 650; font-size: 15px; }
.role-row { padding: 12px; margin-top: 8px; border-radius: var(--r-md); }
.ghosttap { position: absolute; inset: 0; }
.pf__cover, .gw::before { will-change: opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   The draw: a field of dots, one per participant, thinning out
   round by round until one is left.
   ============================================================ */
.rl { position: relative; }
.rl__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 6px 4px 12px; }
.rl__cnt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rl__cnt small { font-size: 12.5px; font-weight: 600; color: var(--tx-3); }
.rl__cnt b { font-size: 62px; line-height: 0.95; font-weight: 800; letter-spacing: -0.065em; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.rl.is-final .rl__cnt b { color: #fff; text-shadow: 0 0 30px rgba(214, 226, 250, 0.5); animation: rl-beat 0.7s ease-in-out infinite alternate; }
.rl.is-done .rl__cnt b { color: #fff; text-shadow: 0 0 40px rgba(214, 226, 250, 0.6); animation: rl-pop 0.8s var(--ease); }
@keyframes rl-pop { 0% { transform: scale(0.8); opacity: 0.3; } 55% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
@keyframes rl-beat { from { transform: scale(1); } to { transform: scale(1.04); } }
.rl__pips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 110px; padding-bottom: 10px; }
.rl__pips i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); transition: background-color 0.3s, box-shadow 0.3s; }
.rl__pips i.is-done { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.7); }

.rl__field { position: relative; height: 250px; border-radius: 22px; background: radial-gradient(80% 90% at 50% 40%, rgba(90, 102, 128, 0.2), transparent 70%), linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(14, 14, 17, 0.82)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: box-shadow 0.5s ease; }
.rl.is-final .rl__field { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 50px -14px rgba(200, 216, 244, 0.6); }
.rl.is-done .rl__field { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 60px -10px rgba(210, 226, 255, 0.8); }
.rl__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: inherit; }

.rl__mine { position: absolute; width: 0; height: 0; font-style: normal; pointer-events: none; z-index: 2; }
.rl__mine b { position: absolute; left: 0; bottom: 15px; transform: translateX(-50%); padding: 3px 9px; border-radius: 9px; background: #f2f4f8; color: #0a0b0d; font-size: 11.5px; font-weight: 720; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color 0.3s, color 0.3s; }
.rl__mine b::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid transparent; border-top-color: #f2f4f8; transition: border-top-color 0.3s; }
.rl__mine.is-left b { left: -10px; transform: none; }
.rl__mine.is-left b::after { left: 14px; }
.rl__mine.is-right b { left: auto; right: -10px; transform: none; }
.rl__mine.is-right b::after { left: auto; right: 10px; }
.rl__mine.is-low b { bottom: auto; top: 15px; }
.rl__mine.is-low b::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #f2f4f8; }
.rl__mine.is-dead b { background: rgba(60, 64, 74, 0.95); color: var(--tx-2); }
.rl__mine.is-dead b::after { border-top-color: rgba(60, 64, 74, 0.95); }
.rl__mine.is-dead.is-low b::after { border-top-color: transparent; border-bottom-color: rgba(60, 64, 74, 0.95); }

.rl__fin { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 36px; margin-top: 12px; }
.rl__chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 11px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font-size: 16px; font-weight: 740; font-variant-numeric: tabular-nums; animation: rl-chip 0.5s var(--ease) both; transition: opacity 0.5s, transform 0.5s, background-color 0.4s, color 0.4s; }
@keyframes rl-chip { from { opacity: 0; transform: translateY(8px) scale(0.9); } to { opacity: 1; transform: none; } }
.rl__chip em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ok); }
.rl__chip.is-out { opacity: 0.28; transform: scale(0.92); text-decoration: line-through; }
.rl__chip.is-win { background: #f2f4f8; color: #0a0b0d; box-shadow: 0 0 30px -4px rgba(220, 232, 255, 0.85); transform: scale(1.1); }
.rl__chip.is-win em { color: #0a0b0d; }

.rl__legend { margin: 12px 6px 0; font-size: 12.5px; line-height: 1.4; color: var(--tx-3); text-align: center; }

.spin__rail { grid-template-columns: repeat(2, 1fr); }

@media (max-height: 700px) { .rl__cnt b { font-size: 50px; } .rl__field { height: 210px; } }
@media (prefers-reduced-motion: reduce) { .rl__cnt b, .rl__chip { animation: none !important; } }

/* ============================================================
   Home: hero banner, my tickets, featured draw, how it works
   ============================================================ */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ang-spin { to { --ang: 360deg; } }
@keyframes hh-float { 0%, 100% { transform: translateY(var(--py, 0px)); } 50% { transform: translateY(calc(var(--py, 0px) - 7px)); } }
@keyframes tw { 0%, 100% { opacity: 0.15; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1); } }
@keyframes cone { 0%, 100% { opacity: 0.55; transform: rotate(-6deg); } 50% { opacity: 0.95; transform: rotate(7deg); } }
@keyframes sh-text { from { background-position: 100% 0; } to { background-position: -140% 0; } }
@keyframes sweep { from { transform: translateX(-140%) skewX(-18deg); } 55%, 100% { transform: translateX(260%) skewX(-18deg); } }

.hhero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: end; min-height: 256px; margin-top: 14px; padding: 22px 0 0 20px; overflow: hidden; border-radius: 30px; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 100%, rgba(196, 210, 238, 0.2), transparent 62%), linear-gradient(165deg, #1a1c22 0%, #0b0c0f 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 30px 60px -36px rgba(0, 0, 0, 0.95); }
.hhero::after { content: ''; position: absolute; inset: 0; z-index: 3; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0%, rgba(222, 234, 255, 0.85) 8%, transparent 22%, transparent 60%, rgba(222, 234, 255, 0.35) 70%, transparent 82%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ang-spin 7s linear infinite; }
.hhero__sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hhero__cone { position: absolute; right: -6%; bottom: -10%; width: 78%; height: 130%; transform-origin: 70% 100%; background: conic-gradient(from 180deg at 70% 100%, transparent 154deg, rgba(214, 228, 255, 0.22) 180deg, transparent 206deg); filter: blur(10px); animation: cone 7s ease-in-out infinite; }
.tw { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(214, 228, 255, 0.8); animation: tw 3.2s ease-in-out infinite; }
.tw1 { right: 36%; top: 14%; animation-delay: 0s; }
.tw2 { right: 12%; top: 22%; animation-delay: -0.9s; width: 4px; height: 4px; }
.tw3 { right: 46%; top: 44%; animation-delay: -1.7s; width: 3px; height: 3px; }
.tw4 { right: 6%; top: 52%; animation-delay: -2.3s; }
.tw5 { right: 27%; top: 8%; animation-delay: -0.4s; width: 3px; height: 3px; }
.tw6 { right: 24%; top: 62%; animation-delay: -1.3s; width: 4px; height: 4px; }
.tw7 { right: 50%; top: 20%; animation-delay: -2.7s; width: 3px; height: 3px; }
.hhero__txt { position: relative; z-index: 2; align-self: start; padding-bottom: 22px; }
.hhero__txt small { display: block; font-size: 14.5px; font-weight: 550; color: var(--tx-2); }
.hhero__txt h1 { margin-top: 8px; font-size: 37px; line-height: 0.98; font-weight: 790; letter-spacing: -0.06em; }
.hhero__sh { background: linear-gradient(100deg, #8d98ab 0%, #f4f7fc 32%, #c7d0df 52%, #ffffff 72%, #8d98ab 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: sh-text 6s linear infinite; }
.hhero__txt p { margin-top: 12px; max-width: 230px; font-size: 14px; line-height: 1.42; color: var(--tx-2); }
.hhero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hchip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); font-size: 12.5px; font-weight: 640; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hchip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; opacity: 0.85; }
.hchip--live b { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: dot-ping 2s ease-out infinite; }
.hhero__img { position: relative; z-index: 2; align-self: end; justify-self: end; width: 196px; max-width: none; height: auto; margin: 0 -26px -8px 0; filter: grayscale(1) contrast(1.06) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.7)); animation: hh-float 7s ease-in-out infinite; will-change: transform; }

.section__note { margin: -4px 6px 4px; font-size: 13px; line-height: 1.4; color: var(--tx-3); }
.section { margin-top: 28px; }
.section h2 { font-size: 23px; letter-spacing: -0.04em; }
.section > span { min-width: 26px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font-size: 12.5px; font-weight: 650; color: var(--tx-2); text-align: center; font-variant-numeric: tabular-nums; }

.mynums-wrap { margin-top: 0; }
.mynums { display: flex; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 16px; scrollbar-width: none; }
.mynums::-webkit-scrollbar { display: none; }
.mynums--one { margin: 0; padding: 2px 0 6px; overflow: visible; }
.stub { position: relative; flex: none; width: 286px; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: stretch; min-height: 104px; padding: 0; overflow: hidden; border-radius: 22px; text-align: left; scroll-snap-align: start; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, rgba(60, 207, 110, 0.16), transparent 55%), linear-gradient(180deg, #1b1d22, #101114);
  box-shadow: inset 0 0 0 1px rgba(60, 207, 110, 0.42), 0 20px 36px -26px rgba(0, 0, 0, 0.95);
  -webkit-mask: radial-gradient(circle 9px at 96px 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 96px 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at 96px 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 96px 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  transition: transform 0.2s var(--ease); animation: in-up 0.6s var(--ease) both; }
.mynums--one .stub { width: 100%; }
.stub:active { transform: scale(0.98); }
.stub::before { content: ''; position: absolute; top: 12px; bottom: 12px; left: 96px; border-left: 2px dashed rgba(255, 255, 255, 0.14); z-index: 1; }
.stub::after { content: ''; position: absolute; inset: 0; z-index: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent); animation: sweep 5.5s ease-in-out infinite; pointer-events: none; }
.stub__n { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.stub__n i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ok); }
.stub__n b { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 24px rgba(60, 207, 110, 0.4); }
.stub__body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 14px 16px 14px 18px; }
.stub__t { font-size: 16.5px; font-weight: 720; letter-spacing: -0.03em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.stub__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stub__go { display: inline-flex; align-items: center; gap: 1px; font-size: 12.5px; font-weight: 650; color: var(--tx-2); white-space: nowrap; }
.stub__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* the nearest draw gets a light that runs around its edge */
.gw--feature { padding: 22px; border: 1.5px solid transparent; box-shadow: 0 28px 54px -34px rgba(190, 206, 238, 0.55);
  background: linear-gradient(180deg, rgba(34, 36, 42, 0.98), var(--glass) 60%) padding-box, conic-gradient(from var(--ang), rgba(255, 255, 255, 0.07), rgba(222, 234, 255, 0.95) 12%, rgba(255, 255, 255, 0.07) 30%, rgba(255, 255, 255, 0.07) 70%, rgba(222, 234, 255, 0.5) 82%, rgba(255, 255, 255, 0.07)) border-box;
  animation: ang-spin 8s linear infinite, in-up 0.6s var(--ease) both; }
.gw--feature .gw__name { font-size: 29px; letter-spacing: -0.05em; }
.gw--feature .gw__prize b { font-size: 23px; }
.gw .btn--shine { position: relative; overflow: hidden; }
.gw .btn--shine::after { display: block; content: ''; position: absolute; inset: 0; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); animation: sweep 5s ease-in-out infinite; pointer-events: none; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.how__i { display: flex; flex-direction: column; gap: 3px; padding: 13px 12px 12px; border-radius: var(--r-lg); background: var(--glass); box-shadow: inset 0 0 0 1px var(--stroke); }
.how__i i { animation: how-pulse 3.6s ease-in-out infinite; width: 24px; height: 24px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-style: normal; font-size: 12px; font-weight: 750; }
.how__i b { font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.how__i small { font-size: 12px; line-height: 1.3; color: var(--tx-3); }


@keyframes how-pulse { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); background: rgba(255, 255, 255, 0.1); } 15% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.28); } }
.how__i:nth-child(2) i { animation-delay: 1.2s; }
.how__i:nth-child(3) i { animation-delay: 2.4s; }

/* ============================================================
   Profile: stats and numbers
   ============================================================ */
.pstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pstats > div { padding: 16px 16px 14px; border-radius: var(--r-lg); background: var(--glass); box-shadow: inset 0 0 0 1px var(--stroke); }
.pstats b { display: block; font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.pstats span { display: block; margin-top: 6px; font-size: 13px; color: var(--tx-3); }

.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nt { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px 14px; border-radius: var(--r-lg); background: var(--glass); box-shadow: inset 0 0 0 1px var(--stroke); text-align: left; transition: transform 0.2s var(--ease); animation: in-up 0.6s var(--ease) both; }
.nt:active { transform: scale(0.97); }
.nt.is-live { box-shadow: inset 0 0 0 1px rgba(60, 207, 110, 0.4); }
.nt.is-win { background: linear-gradient(180deg, rgba(52, 211, 107, 0.14), var(--glass) 70%); box-shadow: inset 0 0 0 1px rgba(52, 211, 107, 0.5); }
.nt__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.09); font-size: 11px; font-weight: 650; color: var(--tx-2); }
.nt__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.nt__tag--live { background: rgba(52, 211, 107, 0.14); color: var(--ok); }
.nt__tag--win { background: rgba(52, 211, 107, 0.2); color: var(--ok); }
.nt__n { margin-top: 10px; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.nt.is-win .nt__n { color: var(--ok); }
.nt__t { margin-top: 6px; font-size: 13.5px; font-weight: 650; letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt small { font-size: 12px; color: var(--tx-3); }

/* mascot cut-outs carry a red rim light: neutralise it to match the silver palette */
.win__hero, .gate__mask img, .boot__mask img { filter: grayscale(1) contrast(1.05) brightness(1.05); }
.win__hero { filter: grayscale(1) contrast(1.05) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6)); }

/* profile: a light circles the avatar, a winning tile glints */
.pf__ava::after { content: ''; position: absolute; inset: 0; z-index: 2; padding: 3px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0%, rgba(232, 242, 255, 0.95) 14%, transparent 38%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ang-spin 4.5s linear infinite; }
.nt { overflow: hidden; }
.nt.is-win::after, .nt.is-live::after { content: ''; position: absolute; inset: 0; width: 42%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.1), transparent); animation: sweep 6s ease-in-out infinite; pointer-events: none; }
.nt.is-live::after { animation-delay: -2s; }
.nt__n { text-shadow: 0 0 22px rgba(255, 255, 255, 0.12); }
.nt.is-win .nt__n { text-shadow: 0 0 24px rgba(52, 211, 107, 0.5); }
@media (prefers-reduced-motion: reduce) {
  .hhero::after, .hhero__img, .tw, .hhero__cone, .hhero__sh, .stub::after, .gw--feature, .gw .btn--shine::after, .how__i i, .pf__ava::after, .nt::after { animation: none !important; }
}
