/* HotStreaks landing, "Prime time": a broadcast-style page that shows more
   than it says. Ash and fire, Big Shoulders over Barlow; one job per colour
   as in the app (heat_theme.dart). Night theme only; mobile first. */
:root {
  --ground: #0e0b0a;
  --deep: #120d0b;
  --surface: #17120f;
  --raised: #221a15;
  --line: #352923;
  --ink: #fbf4ec;
  --muted: #b8a89e;
  --on-flame: #1a120e;
  --ember: #c8290f;
  --flame: #ff5a1f;
  --blaze: #ff8a00;
  --spark: #ffc247;
  --white-hot: #fff3d6;
  --ember-tint: #3a1a12;
  --ash: #6f5d54;
  --ash-light: #8a6a58;
  --ember-text: #ff6b5e;
  --frost: #6fd3ff;
  --ice-deep: #1d4f7a;
  --won: #5fd68c;
  /* The fire itself, the same in both themes (squares, flames, buttons). */
  --fire1: #ff5a1f;
  --fire2: #ff8a00;
  --card-top: #1d1612;
  --header-bg: rgba(14, 11, 10, .82);
  --sticky-bg: rgba(18, 13, 11, .94);
  --pill-bg: rgba(23, 18, 15, .7);
  --stamp-bg: rgba(20, 51, 34, .85);
  --won-tint: #143322;
  --value-b: #499b66;
  --display: "Big Shoulders Display", "Barlow Condensed", Impact, sans-serif;
  --body: Barlow, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-x: hidden; }
a { color: var(--flame); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blaze); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.disp { font-family: var(--display); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.example { font-size: 12px; color: var(--muted); }
.title { font-family: var(--display); font-weight: 900; line-height: .92; font-size: clamp(44px, 11vw, 92px); text-wrap: balance; letter-spacing: -.005em; }
.lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45; }
.sub { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 46ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; border: 1px solid transparent; white-space: nowrap; }
.btn.fire { background: linear-gradient(135deg, var(--fire1), var(--fire2)); color: var(--on-flame); }
.btn.fire:hover { color: var(--on-flame); filter: brightness(1.08); }
.btn.line { border-color: var(--line); color: var(--ink); }
.btn.line:hover { border-color: var(--flame); color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); }
.top.scrolled { border-bottom-color: var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .name { font-family: var(--display); font-weight: 900; font-size: 27px; letter-spacing: -.01em; }
.brand .logo { width: 24px; height: 30px; }
.sections { display: none; gap: 22px; font-size: 14px; font-weight: 600; }
.sections a { color: var(--muted); }
.sections a:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 8px; }
.actions .signin { display: none; }
@media (min-width: 1020px) { .sections { display: flex; } }
@media (min-width: 560px) { .actions .signin { display: inline-flex; } }

/* ---------- flames (the Bonfire) ---------- */
.flame { display: block; flex: none; }
.flame svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lick, .spark, .smoke { transform-box: fill-box; transform-origin: 50% 100%; }
.f-hot svg { filter: drop-shadow(0 0 .14em rgba(255, 138, 0, .55)); }
.f-hot .l1 { animation: flickA .9s ease-in-out infinite; }
.f-hot .l2 { animation: flickB .7s ease-in-out infinite; }
.f-hot .l3 { animation: flickA .5s ease-in-out infinite; }
.f-hot .spark { animation: rise 1.6s ease-out infinite; opacity: 0; }
.f-hot .s2 { animation-delay: .55s; }
.f-hot .s3 { animation-delay: 1.1s; }
.f-mid .l1 { animation: sway 2.4s ease-in-out infinite; }
.f-mid .l2 { animation: sway 1.9s ease-in-out infinite; }
.f-not .l1 { animation: breathe 3.6s ease-in-out infinite; }
.f-not .smoke { animation: wisp 3.6s ease-out infinite; opacity: 0; }
@keyframes flickA { 0%,100% { transform: scale(1,1) skewX(0); } 25% { transform: scale(.97,1.05) skewX(-3deg); } 50% { transform: scale(1.02,.96) skewX(2deg); } 75% { transform: scale(.98,1.03) skewX(-1deg); } }
@keyframes flickB { 0%,100% { transform: scale(1,1) skewX(0); } 30% { transform: scale(1.03,.94) skewX(4deg); } 60% { transform: scale(.96,1.07) skewX(-3deg); } }
@keyframes sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) scaleY(1.04); } }
@keyframes breathe { 0%,100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1); opacity: 1; } }
@keyframes rise { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-34px) scale(.3); opacity: 0; } }
@keyframes wisp { 0% { transform: translate(0,0) scaleY(.6); opacity: 0; } 30% { opacity: .6; } 100% { transform: translate(4px,-18px) scaleY(1.2); opacity: 0; } }


/* gap bar */
.gap { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.gap .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--raised); overflow: hidden; min-width: 40px; }
.gap .bar i { display: block; height: 100%; border-radius: 6px; width: var(--to); animation: fill 5s ease-in-out infinite; }
.gap strong { font-size: 13px; }
/* The bar carries the verdict; the payout stays a number, in ink. */
.up i { background: var(--won); } .up strong { color: var(--ink); }
.down i { background: var(--ember); } .down strong { color: var(--ink); }
@keyframes fill { 0% { width: 0; } 30%, 85% { width: var(--to); } 100% { width: 0; } }

/* streak squares */
.cells { display: flex; gap: 4px; }
.cells span { flex: 1; min-width: 0; height: 22px; border-radius: 6px; background: var(--raised); color: var(--muted); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
/* Lit squares burn hotter the longer the run (ten steps up the flame
   ladder). Without script or with reduced motion they are simply lit;
   site.js arms them and lights them left to right each time they scroll
   into view. */
.cells span { position: relative; }
.cells em { position: absolute; inset: 0; border-radius: inherit; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.cells .h1 em { background: linear-gradient(180deg, #3a1a12, #3a1a12); color: #ff5a1f; }
.cells .h2 em { background: linear-gradient(180deg, #5a2210, #5a2210); color: #ff7a2a; box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .5); }
.cells .h3 em { background: linear-gradient(180deg, #a8300f, #7e220c); color: #ffc247; box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .65); }
.cells .h4 em { background: linear-gradient(180deg, #ff6c2c, #ee4b16); color: #1a120e; }
.cells .h5 em { background: linear-gradient(180deg, #ff8a00, #ff5a1f); color: #1a120e; }
.cells .h6 em { background: linear-gradient(180deg, #ff9c1f, #ff8a00); color: #1a120e; box-shadow: 0 0 6px rgba(255, 138, 0, .35); }
.cells .h7 em { background: linear-gradient(180deg, #ffc247, #ff8a00); color: #1a120e; box-shadow: 0 0 9px rgba(255, 138, 0, .45); }
.cells .h8 em { background: linear-gradient(180deg, #ffd476, #ffc247); color: #1a120e; box-shadow: 0 0 11px rgba(255, 194, 71, .5); }
.cells .h9 em { background: linear-gradient(180deg, #fff3d6, #ffc247); color: #1a120e; box-shadow: 0 0 13px rgba(255, 194, 71, .6); }
.cells .h10 em { background: radial-gradient(circle at 50% 58%, #fff 0, #fff3d6 34%, #ffc247 74%, #ff8a00 100%); color: #1a120e; box-shadow: 0 0 18px rgba(255, 90, 31, .7), 0 0 4px #fff3d6, inset 0 0 0 1px #fff3d6; }
.cells .h7 em::after, .cells .h8 em::after, .cells .h9 em::after, .cells .h10 em::after { content: ""; position: absolute; inset: -30%; border-radius: inherit; background: radial-gradient(closest-side, rgba(255, 194, 71, .75), rgba(255, 90, 31, 0)); opacity: 0; pointer-events: none; }
.cells.armed em { opacity: 0; transform: scale(.35); }
.cells.armed.on em { animation: sqpop 520ms cubic-bezier(.2, .9, .25, 1.25) both; animation-delay: var(--d); }
.cells.armed.on em::after { animation: sqflare 900ms ease-out both; animation-delay: calc(var(--d) + 220ms); }
@keyframes sqpop { 0% { opacity: 0; transform: scale(.35); } 55% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sqflare { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.7); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--deep); }
.hero-block .ticker { background: linear-gradient(90deg, rgba(255, 90, 31, .06), var(--deep) 30%, var(--deep) 70%, rgba(255, 90, 31, .06)); }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }
.track { display: flex; gap: 44px; width: max-content; padding-block: 14px; animation: marquee 44s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.tick { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 5vw, 26px); letter-spacing: .04em; white-space: nowrap; }
.tick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.tick em { font-style: normal; font-size: 15px; padding: 2px 8px; border-radius: 6px; background: var(--raised); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gap .bar i { width: var(--to); }
  .cells.armed em { opacity: 1; transform: none; }
  .f-hot .spark, .f-not .smoke { opacity: 0; }
}

/* ---------- subscribe calls ---------- */
.btn.big { min-height: 56px; padding: 0 26px; font-size: 17px; }
.cta-fine { font-size: 13px; color: var(--muted); margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.btn.glow { box-shadow: 0 0 0 0 rgba(255, 90, 31, .5); animation: ctaglow 2.6s ease-in-out infinite; }
@keyframes ctaglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .45); } 50% { box-shadow: 0 0 18px 2px rgba(255, 90, 31, .55); } }
.hero .ctas .btn.fire { box-shadow: 0 10px 34px rgba(255, 90, 31, .35); }

/* the phone bar: slides up once the hero's button has scrolled away */
.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--sticky-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease-out; }
.stickycta.show { transform: translateY(0); }
.stickycta-text { display: grid; line-height: 1.2; min-width: 0; }
.stickycta-text b { font-size: 15px; }
.stickycta-text span { font-size: 12px; color: var(--muted); }
.stickycta .btn { min-height: 46px; flex: none; }
@media (min-width: 900px) { .stickycta { display: none; } }

/* ---------- the hero animation (one SVG, a 14 s loop) ---------- */
.demo-wrap { min-width: 0; display: flex; justify-content: center; }
.demo { display: block; width: 100%; height: 100%; }
.dscreen { fill: var(--deep); }

/* ---------- the 3D iPhone the animation plays in ---------- */
.device3d { --h: min(480px, 120vw); position: relative; perspective: 1600px; display: flex; justify-content: center; padding-block: 8px 34px; }
.iphone { position: relative; height: var(--h); aspect-ratio: 0.49; transform-style: preserve-3d; transform: rotateY(-10deg) rotateX(4deg) rotateZ(1deg); animation: phonefloat 9s ease-in-out infinite; }
@keyframes phonefloat {
  0%, 100% { transform: rotateY(-14deg) rotateX(5deg) rotateZ(1.2deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(2deg) rotateZ(.3deg) translateY(-10px); }
}
.iphone-body { position: absolute; inset: 0; border-radius: calc(var(--h) * .088); background: linear-gradient(145deg, #6b6460 0%, #2f2a27 30%, #1b1816 60%, #57504b 100%);
  box-shadow: 1px 1px 0 #3d3835, 2px 2px 0 #36312e, 3px 3px 0 #2f2b28, 4px 4px 0 #292522, 5px 5px 0 #231f1d, 6px 7px 0 #1d1a18, 7px 9px 0 #171412,
    inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 calc(var(--h) * .006) #0b0908, 24px 40px 70px rgba(0, 0, 0, .55); }
.iphone-screen { position: absolute; inset: calc(var(--h) * .017); border-radius: calc(var(--h) * .072); overflow: hidden; background: var(--deep); transform: translateZ(1px); }
.island { position: absolute; top: calc(var(--h) * .032); left: 50%; width: 30%; height: calc(var(--h) * .037); transform: translateX(-50%) translateZ(2px); background: #000; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.glare { position: absolute; inset: calc(var(--h) * .017); border-radius: calc(var(--h) * .072); pointer-events: none; transform: translateZ(3px);
  background: linear-gradient(118deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 26%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .06) 100%); }
.side { position: absolute; width: 4px; border-radius: 6px; background: linear-gradient(90deg, #2f2a27, #6b6460); }
.s-action { left: -3px; top: 16%; height: 4%; }
.s-vol1 { left: -3px; top: 23%; height: 7%; }
.s-vol2 { left: -3px; top: 32%; height: 7%; }
.s-power { right: -4px; top: 27%; height: 11%; background: linear-gradient(90deg, #6b6460, #2f2a27); }
.floor { position: absolute; bottom: 6px; left: 50%; width: calc(var(--h) * .5); height: 26px; transform: translateX(-42%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0)); filter: blur(6px); animation: floorpulse 9s ease-in-out infinite; }
@keyframes floorpulse { 0%, 100% { opacity: .9; transform: translateX(-42%) scale(1); } 50% { opacity: .6; transform: translateX(-42%) scale(.9); } }


@media (prefers-reduced-motion: reduce) { .iphone, .floor { animation: none; } }
.demo text { font-family: var(--body); font-variant-numeric: tabular-nums; }
.demo .flame .lick { transform-box: fill-box; transform-origin: 50% 100%; }

/* The hero tour (web/demo_tour.py): five scenes on one 30-second clock. */
.v-pill { fill: var(--surface); stroke: var(--line); }
.v-puck { fill: #2a2320; stroke: var(--flame); stroke-width: 2; }
.v-pilltext { fill: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.v-title { fill: var(--ink); font-family: var(--display) !important; font-weight: 900; font-size: 38px; }
.v-caption { fill: var(--muted); font-size: 12px; }
.v-card { fill: var(--surface); stroke: var(--line); }
.v-hot { stroke: rgba(255, 90, 31, .5); }
.v-name { fill: var(--ink); font-size: 17px; font-weight: 700; }
.v-name.small { font-size: 15px; }
.v-meta { fill: var(--muted); font-size: 12px; }
.v-small { fill: var(--muted); font-size: 11px; }
.v-grade { fill: var(--raised); stroke-width: 1.2; }
.v-gradel { font-family: var(--display) !important; font-size: 22px; font-weight: 800; }
.v-label { font-size: 12.5px; font-weight: 700; }
.v-label.hot { fill: var(--flame); } .v-label.mid { fill: var(--spark); } .v-label.ice { fill: var(--frost); }
.v-sq { fill: var(--raised); }
.v-sqt { fill: var(--muted); font-size: 11px; font-weight: 600; }
.v-sqt.lit { font-weight: 800; }
.q-glow rect { filter: drop-shadow(0 0 4px rgba(255, 150, 40, .6)); }
.v-livesq { fill: var(--raised); stroke: var(--flame); stroke-width: 1.5; stroke-dasharray: 3 3; }
.v-sparkdot { fill: var(--muted); }
.v-scrim { fill: rgba(8, 5, 4, .6); }
.v-drawer { fill: #1d1612; stroke: var(--line); }
.v-handle { fill: var(--line); }
.v-dname { fill: var(--ink); font-size: 22px; font-weight: 700; }
.v-section { fill: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.v-colhead { fill: var(--muted); font-size: 11px; font-weight: 700; }
.v-book { fill: var(--ink); font-size: 14px; font-weight: 600; }
.v-price { fill: var(--ink); font-size: 14px; font-weight: 700; }
.v-price.best { fill: var(--won); font-weight: 800; }
.v-best { fill: rgba(95, 214, 140, .14); stroke: var(--won); stroke-width: 1.2; }
.v-rule { stroke: var(--line); }
.v-cta { fill: var(--flame); }
.v-ctat { fill: #1a120e; font-size: 15px; font-weight: 800; }
.v-toast { fill: rgba(95, 214, 140, .16); stroke: var(--won); }
.v-toastt { fill: var(--won); font-size: 13px; font-weight: 800; }
.v-tkt { fill: var(--ink); font-family: var(--display) !important; font-weight: 900; font-size: 24px; }
.v-tkt.big { font-size: 30px; }
.v-tpays { font-family: var(--display) !important; font-weight: 900; font-size: 30px; }
.v-tpays.big { font-size: 42px; }
.v-dash { stroke: var(--line); stroke-dasharray: 5 4; }
.v-leg { fill: var(--ink); font-size: 14px; font-weight: 600; }
.v-streak { fill: var(--flame); font-size: 13px; font-weight: 700; }
.v-streak.v-later { fill: var(--won); font-weight: 800; }
.v-wincard { fill: none; stroke: var(--won); stroke-width: 2; }
.v-stamp { transform-box: fill-box; transform-origin: 50% 50%; transform: rotate(-12deg); }
.v-stamp rect { fill: rgba(95, 214, 140, .12); stroke: var(--won); stroke-width: 2.5; }
.v-stamp text { fill: var(--won); font-family: var(--display) !important; font-weight: 900; font-size: 24px; letter-spacing: .06em; }
.v-money { fill: var(--ink); font-family: var(--display) !important; font-weight: 900; font-size: 54px; }
.v-money.v-later { fill: var(--won); }
.v-up { fill: var(--won); font-size: 15px; font-weight: 800; }
.v-pays { fill: var(--ink); font-size: 15px; font-weight: 800; }
.v-row { fill: var(--surface); stroke: var(--line); }
.v-row.you { fill: rgba(255, 90, 31, .08); stroke: rgba(255, 90, 31, .6); }
.v-rank { fill: var(--muted); font-family: var(--display) !important; font-weight: 900; font-size: 22px; }
.v-rname { fill: var(--muted); font-size: 15px; font-weight: 600; }
.v-rname.ranked { fill: var(--ink); }
.v-rmoney { fill: var(--ink); font-size: 15px; font-weight: 700; }
.v-rmoney.muted { fill: var(--muted); font-size: 12px; font-weight: 600; }
.v-rmoney.v-later { fill: var(--won); }
.v-res { font-size: 13px; font-weight: 800; }
.v-res.won { fill: var(--won); } .v-res.live { fill: var(--flame); }
.v-tap { fill: rgba(255, 243, 214, .3); stroke: rgba(255, 243, 214, .85); stroke-width: 2; opacity: 0; }
.v-dot { fill: var(--line); }
.v-dot.on { fill: var(--flame); }
.v-pop, .v-tap { transform-box: fill-box; transform-origin: 50% 50%; }

/* At rest (and under reduced motion) the first scene shows still, fully lit. */
.v-scene:not(.v-first), .v-later { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .v-scene, .v-in, .v-out, .v-pop, .v-slide, .v-climb, .v-tap, .v-stamp {
    animation-duration: 30s; animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: ease-out;
  }
  .v-scene { animation-name: vScene; animation-timing-function: linear; }
  .v-in { animation-name: vIn; }
  .v-out { animation-name: vOut; }
  .v-pop { animation-name: vPop; }
  .v-slide { animation-name: vSlide; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  .v-climb { animation-name: vClimb; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
  .v-tap { animation-name: vTap; }
  .v-stamp { animation-name: vStamp; }
  .v-livesq { animation: vPulse 1.1s ease-in-out infinite alternate; }
}
/* Each element moves at its own delay and holds; it resets at 80% of the
   loop, while its scene is hidden, so it is ready when the scene returns. */
@keyframes vScene { 0% { opacity: 0; } 1.2%, 19% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes vIn { 0% { opacity: 0; transform: translateY(14px); } 2%, 80% { opacity: 1; transform: none; } 80.1%, 100% { opacity: 0; transform: translateY(14px); } }
@keyframes vOut { 0% { opacity: 1; } 1.5%, 80% { opacity: 0; } 80.1%, 100% { opacity: 1; } }
@keyframes vPop { 0% { opacity: 0; transform: scale(.4); } 1.2% { opacity: 1; transform: scale(1.18); } 2.4%, 80% { opacity: 1; transform: scale(1); } 80.1%, 100% { opacity: 0; transform: scale(.4); } }
@keyframes vSlide { 0% { transform: translateY(620px); } 3%, 80% { transform: translateY(0); } 80.1%, 100% { transform: translateY(620px); } }
@keyframes vClimb { 0% { transform: translateY(0); } 3%, 80% { transform: translateY(var(--dy)); } 80.1%, 100% { transform: translateY(0); } }
@keyframes vTap { 0% { opacity: 0; transform: scale(.5); } 1% { opacity: 1; transform: scale(.8); } 3%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes vStamp { 0% { opacity: 0; transform: rotate(-12deg) scale(2); } 1.4% { opacity: 1; transform: rotate(-12deg) scale(.94); } 2.4%, 80% { opacity: 1; transform: rotate(-12deg) scale(1); } 80.1%, 100% { opacity: 0; transform: rotate(-12deg) scale(2); } }
@keyframes vPulse { from { stroke-opacity: .35; } to { stroke-opacity: 1; } }


/* ---------- cold streaks: the slump in ice ---------- */
.cold-head { margin-top: 10px; }
.cold-head b { color: var(--frost); }
.cells.cold .ice { background: var(--ice-deep); color: #d6f1ff; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(111, 211, 255, .45); }


/* ---------- scroll reveal (site.js adds .in; no script, no hiding) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2) { transition-delay: .08s; } .bento .reveal:nth-child(3) { transition-delay: .16s; }
.bento .reveal:nth-child(4) { transition-delay: .24s; } .bento .reveal:nth-child(5) { transition-delay: .32s; }
.stats .reveal:nth-child(2) { transition-delay: .1s; } .stats .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- hero ---------- */
.hero-block { position: relative; overflow: hidden; isolation: isolate; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-glow { position: absolute; z-index: -2; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(52% 46% at 72% 46%, rgba(255, 90, 31, .30), rgba(200, 41, 15, .10) 45%, rgba(14, 11, 10, 0) 72%),
              radial-gradient(40% 40% at 12% 8%, rgba(255, 138, 0, .10), rgba(14, 11, 10, 0) 70%); animation: glowshift 10s ease-in-out infinite alternate; }
@keyframes glowshift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.hero { display: grid; gap: 28px; padding-block: 28px 40px; align-items: center; }
@media (min-width: 1020px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 48px 64px; min-height: calc(100svh - 65px - 58px); } }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.eyebrow.live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--pill-bg); color: var(--ink); letter-spacing: .12em; }
.eyebrow.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 0 rgba(255, 90, 31, .7); animation: livedot 1.6s ease-out infinite; }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .7); } 100% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } }
.headline { font-family: var(--display); font-weight: 900; line-height: .86; letter-spacing: -.01em; font-size: clamp(64px, 17vw, 156px); text-wrap: balance; }
html[lang^="fr"] .headline { font-size: clamp(56px, 14.5vw, 136px); }
.burn { display: inline-block; background: linear-gradient(0deg, var(--ember) 0%, var(--flame) 30%, var(--blaze) 58%, var(--spark) 80%, var(--white-hot) 100%); background-size: 100% 240%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: heat 2.8s ease-in-out infinite alternate; filter: drop-shadow(0 0 28px rgba(255, 90, 31, .45)); }
@keyframes heat { from { background-position: 0 100%; } to { background-position: 0 0; } }
.hero .lede { font-size: clamp(19px, 2.6vw, 26px); font-weight: 600; color: var(--ink); max-width: 34ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.hero .ctas .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero .ctas .btn { flex: 0 0 auto; } }
.btn.big { min-height: 58px; padding: 0 28px; font-size: 17px; }
.hero .ctas .btn.fire { box-shadow: 0 14px 40px rgba(255, 90, 31, .45); }
/* open on your phone: a desktop with a mouse only; a phone is already there */
.qr { display: none; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; margin-top: 4px; border: 1px solid var(--line); border-radius: 18px; background: var(--pill-bg); color: var(--ink); text-decoration: none; max-width: 400px; transition: border-color .2s, transform .2s; }
.qr:hover { border-color: var(--flame); transform: translateY(-2px); }
@media (min-width: 1020px) and (hover: hover) { .qr { display: flex; } }
.qr-code { position: relative; flex: none; width: 104px; height: 104px; padding: 6px; border-radius: 12px; background: #fbf4ec; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.qr-code img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.qr-scan { position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, transparent, var(--flame), transparent); box-shadow: 0 0 10px var(--flame); opacity: .85; animation: qrscan 2.8s ease-in-out infinite; }
@keyframes qrscan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(90px); } }
@media (prefers-reduced-motion: reduce) { .qr-scan { display: none; } }
.qr-text { display: grid; gap: 4px; line-height: 1.3; }
.qr-text b { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .01em; }
.qr-text span { font-size: 14px; color: var(--muted); }
/* a laptop-height desktop: the headline gives up some height so the code is
   in the first view with the buttons */
@media (min-width: 1020px) and (hover: hover) and (max-height: 1000px) {
  .hero { padding-block: 28px 48px; }
  .hero-copy { gap: 18px; }
  .headline { font-size: min(156px, 15vh); }
  html[lang^="fr"] .headline { font-size: min(136px, 13vh); }
  .qr-code { width: 88px; height: 88px; }
  @keyframes qrscan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(74px); } }
}
.btn.fire { position: relative; overflow: hidden; }
.btn.fire::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 243, 214, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.hero-stage { position: relative; min-width: 0; display: flex; justify-content: center; --mx: 0; --my: 0; }
.device3d { --h: clamp(380px, 112vw, 520px); }
@media (min-width: 1020px) { .device3d { --h: min(70vh, 620px); } }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px;
  background: rgba(29, 22, 18, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); white-space: nowrap;
  translate: calc(var(--mx) * var(--depth, 14px)) calc(var(--my) * var(--depth, 14px)); transition: translate .25s ease-out; }
.chip b { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; }
.chip-col { display: grid; gap: 2px; }
.chip-k { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.chip .up { color: var(--won); font-size: 34px; }
.chip .res { font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 6px 9px; border-radius: 10px; background: var(--won-tint); color: var(--won); }
.gbox { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid currentColor; font-family: var(--display); font-weight: 900; font-size: 24px; flex: none; }
.va { color: var(--won); } .vb { color: var(--value-b); } .vc { color: var(--muted); }
.mini { display: inline-flex; gap: 3px; }
.mini i { width: 14px; height: 18px; border-radius: 4px; display: block; }
.c1 { left: -2%; top: 12%; --depth: 22px; flex-direction: column; align-items: flex-start; gap: 6px; animation: bob 6s ease-in-out infinite; }
.c2 { right: -1%; top: 30%; --depth: 30px; animation: bob 7s ease-in-out -2s infinite; }
.c3 { left: 2%; bottom: 20%; --depth: 18px; animation: bob 8s ease-in-out -4s infinite; }
.c4 { right: 3%; bottom: 9%; --depth: 26px; flex-direction: column; align-items: flex-start; gap: 2px; animation: bob 6.5s ease-in-out -1s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@media (max-width: 1019px) {
  .chip { padding: 8px 11px; gap: 8px; } .chip b { font-size: 19px; } .chip .up { font-size: 26px; } .gbox { width: 38px; height: 38px; font-size: 20px; }
  .mini i { width: 11px; height: 14px; }
  .c1 { left: 0; top: 6%; } .c2 { right: 0; top: 34%; } .c3 { left: 0; bottom: 18%; } .c4 { right: 0; bottom: 6%; }
}
@media (max-width: 420px) { .c3, .c2 { display: none; } }
@media (min-width: 1020px) { .hero-block .ticker { position: relative; } }

/* ---------- stats ---------- */
.stats { display: grid; gap: 12px; padding-block: clamp(40px, 7vw, 72px) 0; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { display: grid; gap: 6px; padding: clamp(18px, 3vw, 28px); border-radius: 18px; background: linear-gradient(160deg, var(--card-top), var(--surface) 60%); border: 1px solid var(--line); }
.stat b { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 9vw, 96px); line-height: .9; letter-spacing: -.01em;
  background: linear-gradient(180deg, var(--white-hot), var(--spark) 45%, var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b.pending { background: none; color: var(--line); }
.stat b em { font-style: normal; font-size: .6em; padding-inline: .1em; vertical-align: .15em; }
.stat span { font-size: 15px; font-weight: 600; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 132px); display: grid; gap: clamp(28px, 4vw, 48px); }
.head { display: grid; gap: 14px; justify-items: start; }
.head.center, .center { text-align: center; justify-items: center; margin-inline: auto; }
.title { font-size: clamp(48px, 10vw, 104px); }
.sub { font-size: clamp(17px, 2vw, 20px); max-width: 44ch; }
.example { font-size: 13px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 0; padding: 0; }
.pills li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700; }

/* ---------- bento ---------- */
.bento { display: grid; gap: 14px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); } .t-streak { grid-column: span 2; } }
.tile { position: relative; overflow: hidden; display: grid; gap: 16px; align-content: start; padding: clamp(20px, 3vw, 30px); border-radius: 18px;
  background: linear-gradient(165deg, var(--card-top) 0%, var(--surface) 55%); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.tile:hover { border-color: rgba(255, 90, 31, .45); transform: translateY(-4px); }
.tile::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 31, .16), rgba(255, 90, 31, 0)); pointer-events: none; }
.tile-k { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile h3 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.4vw, 48px); line-height: .95; }
.t-streak .cells span { height: clamp(44px, 7vw, 76px); border-radius: clamp(6px, 1vw, 12px); font-family: var(--display); font-size: clamp(20px, 3.4vw, 36px); font-weight: 800; }
.t-streak .cells { gap: clamp(4px, .8vw, 8px); }
.cold-row { display: grid; gap: 8px; }
.tile-note { font-size: 13px; font-weight: 700; }
.t-ice { color: var(--frost); }
.trio { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.tw { display: grid; justify-items: center; gap: 8px; }
.tw b { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); }
.tw.hot b { color: var(--flame); } .tw.mid b { color: var(--spark); } .tw.not b { color: var(--ash-light); }
.tw.hot .flame { width: 76px; height: 95px; } .tw.mid .flame { width: 54px; height: 68px; } .tw.not .flame { width: 34px; height: 43px; }
.value-viz { display: grid; gap: 18px; }
.flip { height: 92px; overflow: hidden; }
.flip-reel { display: grid; animation: reel 7.5s cubic-bezier(.7, 0, .3, 1) infinite; }
.flip-reel span { height: 92px; font-family: var(--display); font-weight: 900; font-size: 92px; line-height: 92px; }
@keyframes reel { 0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-92px); } 40%, 56% { transform: translateY(-184px); } 60%, 76% { transform: translateY(-276px); } 80%, 100% { transform: translateY(-368px); } }
.value-viz .gap { font-size: 14px; }
.value-viz .gap .bar { height: 10px; }
.value-viz .gap strong { font-family: var(--display); font-size: 24px; }
.odds { width: 100%; border-collapse: collapse; font-size: 16px; }
.odds th, .odds td { padding: 9px 10px; }
.odds th { text-align: left; font-weight: 600; }
.odds td { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.odds tr + tr { border-top: 1px solid var(--line); }
.odds tr.best td { color: var(--won); }
.odds tr.best { background: rgba(95, 214, 140, .08); box-shadow: inset 3px 0 0 var(--won); }
.tile.in .odds tr.best { animation: bestpulse 2.4s ease-in-out .8s infinite; }
@keyframes bestpulse { 0%, 100% { background: rgba(95, 214, 140, .06); } 50% { background: rgba(95, 214, 140, .18); } }
.livesq { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lsq { position: relative; width: clamp(52px, 5.4vw, 72px); height: clamp(52px, 5.4vw, 72px); border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 4vw, 40px); }
.lsq.done { background: linear-gradient(180deg, #ff8a00, #ff5a1f); color: var(--on-flame); }
.lsq.now { background: var(--raised); color: var(--muted); outline: 2px dashed rgba(255, 90, 31, .8); outline-offset: -2px; animation: livering 1.1s ease-in-out infinite alternate; }
.lsq.now em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; border-radius: inherit; }
.lsq.now .lit { background: linear-gradient(180deg, #ffc247, #ff8a00); color: var(--on-flame); box-shadow: 0 0 30px rgba(255, 138, 0, .7); opacity: 0; animation: golive 5s ease-in-out infinite; }
@keyframes livering { from { outline-color: rgba(255, 90, 31, .3); } to { outline-color: rgba(255, 90, 31, 1); } }
@keyframes golive { 0%, 45% { opacity: 0; transform: scale(.4); } 52% { opacity: 1; transform: scale(1.15); } 58%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.live-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: var(--ember-tint); color: var(--flame); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); animation: livedot 1.6s ease-out infinite; }

/* ---------- picks fan ---------- */
.picks { background: radial-gradient(70% 60% at 50% 40%, rgba(255, 90, 31, .10), rgba(14, 11, 10, 0) 70%); }
.picks .wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.fan { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter) 24px; scrollbar-width: none; }
.fan::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 min(78%, 300px); scroll-snap-align: center; position: relative; display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pc-legs { font-size: 13px; color: var(--muted); }
.pc-name { font-size: 20px; font-weight: 700; }
.pc-run { font-size: 14px; font-weight: 700; color: var(--flame); }
.pc-pay { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.pc-pay span { font-size: 13px; color: var(--muted); }
.pc-pay b { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; }
.pc-pay.big b { font-size: 60px; }
.pcard .legs { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.pcard .legs li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.pcard .legs li span:first-child { font-weight: 600; }
.pcard .legs li span:last-child { color: var(--flame); font-weight: 700; white-space: nowrap; }
.pcard.ticket.hot { box-shadow: inset 0 4px 0 var(--flame), 0 24px 60px rgba(0, 0, 0, .5); }
.pcard.ticket.aplus { box-shadow: inset 0 4px 0 var(--blaze), 0 24px 60px rgba(0, 0, 0, .5); }
.stamp { position: absolute; right: 52px; top: 104px; z-index: 3; padding: 8px 14px; border: 3px solid var(--won); border-radius: 10px; color: var(--won); background: var(--stamp-bg);
  font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: .06em; transform: rotate(-12deg) scale(2.2); opacity: 0; }
.fan.in .stamp { animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1) 1.1s forwards; }
@keyframes stamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@media (min-width: 1020px) {
  .fan { overflow: visible; justify-content: center; padding: 30px 0 40px; margin: 0; perspective: 1400px; }
  .pcard { flex: 0 0 280px; margin-inline: -18px; }
  .pcard:nth-child(1) { transform: rotate(-9deg) translateY(36px); } .pcard:nth-child(2) { transform: rotate(-3deg) translateY(6px); z-index: 1; }
  .pcard:nth-child(3) { transform: rotate(3deg) translateY(0); z-index: 2; } .pcard:nth-child(4) { transform: rotate(9deg) translateY(30px); }
  .fan:not(.in) .pcard { transform: translateY(80px) rotate(0); }
  .fan .pcard:hover { transform: translateY(-22px) rotate(0) scale(1.04); z-index: 5; box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 90, 31, .4); }
}

/* ---------- newscast ---------- */
.news { align-items: center; }
@media (min-width: 980px) { .news { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.tv { position: relative; padding: 12px; border-radius: 22px; background: linear-gradient(145deg, #2a2320, #120d0b); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.tv-screen { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; display: grid; grid-template-rows: auto 1fr auto;
  background: radial-gradient(90% 80% at 30% 30%, #2a1510, var(--ground) 70%); }
@media (max-width: 640px) { .tv-screen { aspect-ratio: auto; min-height: 320px; } .tv-body { padding-block: 8px 14px; } }
.tv-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.tv-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.onair { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.onair i { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); animation: livedot 1.6s ease-out infinite; }
.tv-sound { font-size: 11px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: var(--flame); color: var(--on-flame); }
.tv-body { display: grid; align-content: center; gap: clamp(6px, 1.2vw, 12px); padding: 0 clamp(16px, 3vw, 32px); }
.tv-kicker { font-size: clamp(10px, 1.3vw, 13px); font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); overflow: hidden; white-space: nowrap; width: 0; }
.tv.in .tv-kicker { animation: type 1.4s steps(28) .3s forwards; }
@keyframes type { to { width: 100%; } }
.tv-tag { justify-self: start; font-size: clamp(10px, 1.2vw, 12px); font-weight: 900; letter-spacing: .16em; padding: 5px 10px; background: var(--flame); color: var(--on-flame); transform: scaleX(0); transform-origin: left; }
.tv.in .tv-tag { animation: wipe .4s ease-out 1.6s forwards; }
@keyframes wipe { to { transform: scaleX(1); } }
.tv-head { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5.4vw, 64px); line-height: .9; opacity: 0; transform: translateY(14px); }
.tv.in .tv-head { animation: rise-in .6s ease-out 1.9s forwards; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
.tv-row { display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); }
.tv-money { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 54px); color: var(--ember); opacity: 0; }
.tv.in .tv-money { animation: rise-in .5s ease-out 2.4s forwards; }
.tv-legs { display: flex; gap: 5px; }
.tv-legs i { width: clamp(22px, 3vw, 32px); height: clamp(22px, 3vw, 32px); border-radius: 6px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: clamp(12px, 1.6vw, 16px); opacity: 0; transform: scale(.4); }
.tv-legs .ok { background: var(--won-tint); color: var(--won); }
.tv-legs .no { background: var(--ember-tint); color: var(--ember-text); box-shadow: inset 0 0 0 1.5px var(--ember); }
.tv.in .tv-legs i { animation: sqpop .4s cubic-bezier(.2, .9, .25, 1.25) forwards; }
.tv.in .tv-legs i:nth-child(1) { animation-delay: 2.6s; } .tv.in .tv-legs i:nth-child(2) { animation-delay: 2.75s; } .tv.in .tv-legs i:nth-child(3) { animation-delay: 2.9s; }
.tv.in .tv-legs i:nth-child(4) { animation-delay: 3.05s; } .tv.in .tv-legs i:nth-child(5) { animation-delay: 3.5s; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 4px; }
.eq i { width: 4px; height: 100%; border-radius: 2px; background: var(--muted); opacity: .6; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(3n) { animation-duration: .8s; } .eq i:nth-child(3n+1) { animation-duration: 1.2s; animation-delay: -.3s; } .eq i:nth-child(4n) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.tv-crawl { display: flex; align-items: center; height: 34px; background: #17120f; border-top: 2px solid var(--flame); overflow: hidden; }
.tv-label { flex: none; height: 100%; display: grid; place-items: center; padding: 0 12px; background: var(--flame); color: var(--on-flame); font-size: 11px; font-weight: 900; letter-spacing: .12em; z-index: 1; }
.tv-track { display: flex; gap: 32px; padding-left: 16px; white-space: nowrap; animation: marquee 26s linear infinite; font-size: 13px; font-weight: 600; }

/* ---------- league board ---------- */
.league { align-items: center; }
@media (min-width: 980px) { .league { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.board { padding: clamp(16px, 2.6vw, 24px); border-radius: 22px; background: linear-gradient(165deg, var(--card-top), var(--surface) 60%); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.board-head b { font-size: 17px; }
.board-head span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.board-body { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
.ranks { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 60px; gap: 8px; }
.ranks li { display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--muted); }
.brows { list-style: none; margin: 0; padding: 0; position: relative; height: calc(5 * 60px + 4 * 8px); }
.brow { position: absolute; left: 0; right: 0; height: 60px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; border-radius: 12px;
  background: var(--raised); top: calc(var(--from) * 68px); transition: top 1s cubic-bezier(.3, .7, .2, 1) .9s, box-shadow .4s; }
.board.in .brow { top: calc(var(--to) * 68px); }
.brow.you { background: linear-gradient(90deg, rgba(255, 90, 31, .18), var(--raised) 70%); box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .55); z-index: 2; }
.board.in .brow.you { box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .7), 0 12px 34px rgba(255, 90, 31, .25); }
.brow.bot .bname::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px; border-radius: 5px; border: 1.8px solid var(--muted); }
.bname { font-size: 16px; font-weight: 700; }
.brow.bot .bname, .brow:last-child .bname { color: var(--muted); }
.bmoney { position: relative; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bmoney.muted { color: var(--muted); font-size: 13px; font-weight: 600; }
.bmoney .now { position: absolute; right: 0; color: var(--won); opacity: 0; }
.board.in .bmoney .was { opacity: 0; transition: opacity .3s 1.6s; }
.board.in .bmoney .now { opacity: 1; transition: opacity .3s 1.6s; }

/* ---------- pricing ---------- */
.pricing { justify-items: center; text-align: center; }
.record-line { font-size: 16px; color: var(--muted); }
.record-line b { color: var(--ink); }
.pending { color: var(--muted); }
.plans { display: grid; gap: 16px; width: 100%; max-width: 760px; }
@media (min-width: 680px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { display: grid; gap: 8px; justify-items: center; padding: 32px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.plan.best { background: linear-gradient(180deg, var(--ember-tint), var(--surface) 75%); border-color: var(--flame); box-shadow: 0 0 40px rgba(255, 90, 31, .25); }
.plan .k { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan.best .k { color: var(--won); }
.plan .price { font-family: var(--display); font-weight: 900; font-size: 88px; line-height: 1; }
.plan .per { font-size: 14px; color: var(--muted); }
.plan .deal { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--won-tint); color: var(--won); }
.plan .btn { width: 100%; margin-top: 10px; }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- not a sportsbook, footer ---------- */
.honest { border-top: 1px solid var(--line); }
.honest .wrap { display: grid; gap: 14px; padding-block: 40px; }
@media (min-width: 900px) { .honest .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.honest h3 { font-family: var(--display); font-weight: 800; font-size: 30px; }
.honest p { color: var(--muted); font-size: 14px; max-width: 80ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 28px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
@media (max-width: 899px) { .foot .wrap { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .chip, .hero-glow, .flip-reel, .tv-track, .eq i, .btn.fire::after { animation: none !important; }
  .tv-kicker { width: auto; } .tv-tag { transform: none; } .tv-head, .tv-money, .tv-legs i { opacity: 1; transform: none; }
  .stamp { opacity: 1; transform: rotate(-12deg); }
  .lsq.now .lit { opacity: 1; transform: none; }
  .brow { transition: none; } .board .brow { top: calc(var(--to) * 68px); } .bmoney .was { opacity: 0; } .bmoney .now { opacity: 1; }
}

/* ---------- light theme (the header's sun/moon; dark is the default) ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --ground: #fbf6f1; --deep: #f4ece5; --surface: #ffffff; --raised: #f3eae3; --line: #e3d6cd;
  --ink: #1a120e; --muted: #6b5b52;
  --ember: #b51f08; --ember-text: #b51f08; --flame: #c9400f; --blaze: #d96e00; --spark: #8f5c00; --ember-tint: #fde6dd;
  --frost: #1f6fa0; --ice-deep: #9fd8f5; --won: #1f7a45; --won-tint: #def5e6; --value-b: #4a7d5c;
  --ash: #a8968a; --ash-light: #8a6a58;
  --card-top: #fff4ec; --header-bg: rgba(251, 246, 241, .86); --sticky-bg: rgba(255, 255, 255, .95);
  --pill-bg: rgba(255, 255, 255, .85); --stamp-bg: rgba(222, 245, 230, .94);
}
/* The phone, its floating chips, the ticker and the newscast's TV show the
   app at night in both themes, and pop on a light page. */
.iphone, .chip, .ticker, .tv {
  --ground: #0e0b0a; --deep: #120d0b; --surface: #17120f; --raised: #221a15; --line: #352923;
  --ink: #fbf4ec; --muted: #b8a89e;
  --ember: #c8290f; --ember-text: #ff6b5e; --flame: #ff5a1f; --blaze: #ff8a00; --spark: #ffc247; --ember-tint: #3a1a12;
  --frost: #6fd3ff; --ice-deep: #1d4f7a; --won: #5fd68c; --won-tint: #143322; --value-b: #499b66;
  color: var(--ink);
}
:root[data-theme="light"] .ticker { border-color: #2a2320; }
:root[data-theme="light"] .hero-block .ticker { background: linear-gradient(90deg, #2a130c, #120d0b 30%, #120d0b 70%, #2a130c); }
:root[data-theme="light"] .burn { background-image: linear-gradient(0deg, #9a2a08 0%, var(--fire1) 38%, var(--fire2) 72%, #ffb020 100%); filter: drop-shadow(0 6px 22px rgba(255, 90, 31, .35)); }
:root[data-theme="light"] .stat b { background-image: linear-gradient(180deg, var(--fire2), var(--fire1) 50%, #b51f08); }
:root[data-theme="light"] .stat b.pending { background: none; color: var(--line); }
:root[data-theme="light"] .hero-glow { opacity: .75; }
:root[data-theme="light"] .tile, :root[data-theme="light"] .stat, :root[data-theme="light"] .board, :root[data-theme="light"] .pcard, :root[data-theme="light"] .plan { box-shadow: 0 18px 50px rgba(90, 40, 20, .08); }
:root[data-theme="light"] .pcard.ticket.hot { box-shadow: inset 0 4px 0 var(--fire1), 0 18px 50px rgba(90, 40, 20, .1); }
:root[data-theme="light"] .pcard.ticket.aplus { box-shadow: inset 0 4px 0 var(--fire2), 0 18px 50px rgba(90, 40, 20, .1); }
:root[data-theme="light"] .cells .h1 em { background: #fde6dd; color: #c9400f; }
:root[data-theme="light"] .cells .h2 em { background: #f9c6ae; color: #9a2a08; box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .45); }
:root[data-theme="light"] .cells.cold .ice { color: #0f3d5c; box-shadow: inset 0 0 0 1px rgba(31, 111, 160, .45); }
:root[data-theme="light"] .lsq.done { color: var(--on-flame); }
.theme-toggle { width: 40px; padding: 0; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }

/* ---------- /download: getting the app on a phone ---------- */
.dl { padding-block: 40px 56px; display: grid; gap: 28px; }
.dl-head { display: grid; gap: 12px; max-width: 640px; }
.dl-title { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 9vw, 84px); line-height: .9; margin: 0; text-wrap: balance; }
.dl-lede { font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; color: var(--muted); margin: 0; }
.dl-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .dl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.dl-card { position: relative; display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--card-top), var(--surface)); }
.dl-card h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; }
.dl-os { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: var(--raised); align-items: center; justify-content: center; }
.dl-os svg { width: 22px; height: 22px; }
.dl-card.mine { border-color: var(--flame); box-shadow: 0 20px 60px rgba(255, 90, 31, .18); }
.dl-yours { display: none; justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--ember-tint); color: var(--flame); }
.dl-card.mine .dl-yours { display: inline-block; }
.dl-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.dl-steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 16px; line-height: 1.4; }
.dl-steps li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.dl-steps .ico { width: 18px; height: 18px; vertical-align: -3px; color: #2f8cff; }
.dl-cta { justify-content: center; width: 100%; }
.dl-note, .dl-meta { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.dl-meta { font-weight: 700; color: var(--ink); text-align: center; }
.dl-qr { display: flex; align-items: center; gap: 16px; }
.dl-qr p { margin: 0; font-size: 15px; color: var(--muted); }
.dl-fine { margin: 0; font-size: 13px; color: var(--muted); }
/* a phone never needs the code to scan */
.os-ios #dl-desktop, .os-android #dl-desktop { display: none; }
[hidden] { display: none !important; }
