/* BetsPal landing: Matchday Blue */
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --kit: #1450f0;
  --navy: #0a2e9e;
  --yellow: #ffcc1f;
  --on-yellow: #0a2e9e;
  --ground: #eef3ff;
  --card: #ffffff;
  --line: #d9e2f5;
  --ink: #0b1b3f;
  --ink-2: #34426a;
  --ink-3: #5c6b8c;
  --win: #12b76a;
  --win-text: #067647;
  --win-tint: #dcfae6;
  --loss: #f04438;
  --loss-text: #b42318;
  --pending-tint: #fef0c7;
  --pending-text: #93370d;
  --link: #1450f0;
  --shadow: 0 12px 32px -14px rgba(20, 80, 240, 0.28);
  --shadow-lift: 0 22px 48px -18px rgba(20, 80, 240, 0.4);
  --hero-grad: linear-gradient(165deg, #1450f0 0%, #1244d6 45%, #0a2e9e 100%);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #07102a;
    --card: #0f1b3f;
    --line: #1d2a55;
    --ink: #f2f5ff;
    --ink-2: #c3cdea;
    --ink-3: #9aa8cc;
    --link: #5b8cff;
    --yellow: #ffd23f;
    --win-text: #32d583;
    --win-tint: rgba(18, 183, 106, 0.16);
    --loss-text: #fda29b;
    --pending-tint: rgba(255, 210, 63, 0.14);
    --pending-text: #fedf89;
    --shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.6);
    --shadow-lift: 0 22px 48px -18px rgba(0, 0, 0, 0.75);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.top :focus-visible, .hero :focus-visible, .closer :focus-visible, .cta-inline :focus-visible, .ticker :focus-visible { outline-color: var(--yellow); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--ground); padding: 8px 14px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.98; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
h3 { font-size: 1.55rem; line-height: 1.05; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: 1.1875rem; max-width: 36em; }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- brand mark ---------- */
.mark { width: 36px; height: 36px; flex: none; display: block; border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.foot-brand .mark { box-shadow: none; }

/* ---------- header ---------- */
.top { background: var(--kit); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.85rem; letter-spacing: 0.01em; }
.top nav { display: flex; gap: 20px; align-items: center; font-weight: 600; font-size: 0.95rem; }
.top nav a { color: #fff; text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.top nav .hide-sm { display: none; }
@media (min-width: 640px) { .top nav .hide-sm { display: inline; } }
.nav-cta { border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 999px; padding: 6px 14px; }
.nav-cta:hover { background: #fff; color: var(--navy) !important; text-decoration: none !important; }

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: stretch; background: #0a2e9e; color: #f2f5ff; font-size: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.tk-label { flex: none; display: flex; align-items: center; padding: 0 12px; background: #ffcc1f; color: #0a2e9e; font-weight: 800; font-size: 0.8rem; }
.tk-viewport { flex: 1; display: flex; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.tk-track { flex: none; display: flex; list-style: none; margin: 0; padding: 0; animation: tick 70s linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track, .ticker.paused .tk-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
.tk { display: flex; align-items: center; gap: 10px; padding: 10px 22px; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.tk-comp, .tk-st { color: #b8c5e8; font-variant-numeric: tabular-nums; }
.tk-teams b { color: #fff; font-family: var(--display); font-size: 1.05rem; }
.tk-live .tk-st { color: #fda29b; font-weight: 700; }
.tk-pick b { color: #ffd23f; font-family: var(--display); font-size: 1.05rem; }
.tk-res { font-weight: 800; font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; background: #12b76a; color: #0b1b3f; }
.tk-lost .tk-res { background: #f04438; color: #0b1b3f; }
.tk-pause { flex: none; width: 40px; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.12); background: transparent; color: #f2f5ff; cursor: pointer; display: grid; place-items: center; }
.tk-pause svg { width: 14px; height: 14px; fill: currentColor; }
.tk-pause .i-play, .ticker.paused .tk-pause .i-pause { display: none; }
.ticker.paused .tk-pause .i-play { display: inline; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f04438; margin-right: 6px; vertical-align: 1px; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 68, 56, 0.65); } 70%, 100% { box-shadow: 0 0 0 7px rgba(240, 68, 56, 0); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-grad); color: #fff; padding: 32px 0 72px; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border: 2px solid rgba(255, 255, 255, 0.14); }
.hero::before { width: 560px; height: 560px; border-radius: 50%; right: -200px; top: 50%; transform: translateY(-50%); }
.hero::after { border-width: 0 0 0 2px; top: 0; bottom: 0; right: 80px; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 48px; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 104px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 64px; }
  .hero::before { right: 60px; width: 640px; height: 640px; }
  .hero::after { right: 380px; }
}
.hero h1 { font-size: clamp(3rem, 10vw, 5.9rem); line-height: 0.92; margin-bottom: 20px; color: #fff; }
.hero .lede { color: #e6ecff; margin-bottom: 26px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 1.05rem/1 var(--text); min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--yellow); background: var(--yellow); color: var(--on-yellow); cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { cursor: progress; opacity: 0.85; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.9); }
.btn-blue { background: var(--kit); border-color: var(--kit); color: #fff; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; animation: spin 0.7s linear infinite; }
.btn[aria-busy="true"] .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn.shine { position: relative; overflow: hidden; isolation: isolate; }
.btn.shine::after { content: ""; position: absolute; inset: -2px auto -2px -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: skewX(-20deg); animation: shine 6s ease-in-out 2.5s infinite; z-index: -1; pointer-events: none; }
.btn.shine:hover::after { animation-duration: 1.2s; animation-delay: 0s; }
@keyframes shine { 0% { left: -60%; } 18%, 100% { left: 130%; } }

/* the signature: a ball drops onto the CTA once */
.btn-wrap { position: relative; display: inline-flex; flex: 0 0 auto; align-self: flex-end; }
.ball { position: absolute; right: 18px; top: -15px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #0a2e9e; display: grid; place-items: center; box-shadow: 0 3px 6px rgba(10, 46, 158, 0.35); animation: drop 1.3s cubic-bezier(0.3, 0, 0.6, 1) 0.5s both; pointer-events: none; }
.ball svg { width: 20px; height: 20px; }
@keyframes drop {
  0% { transform: translateY(-90px) rotate(-200deg); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translateY(0) rotate(0) scale(1.08, 0.9); animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); }
  68% { transform: translateY(-26px) rotate(60deg); animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.6); }
  86% { transform: translateY(0) rotate(90deg) scale(1.04, 0.95); }
  94% { transform: translateY(-5px) rotate(96deg); }
  100% { transform: translateY(0) rotate(100deg); opacity: 1; }
}

/* ---------- form ---------- */
.join { max-width: 34rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row .field { flex: 1 1 15rem; }
.join .lbl { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
input[type="email"], input[type="text"], select { width: 100%; font: inherit; font-size: 1rem; color: #0b1b3f; background: #fff; border: 2px solid #d9e2f5; border-radius: var(--r-sm); padding: 12px 14px; min-height: 52px; }
.hero input[type="email"], .hero input[type="text"], .hero select { border-color: #fff; }
input[aria-invalid="true"] { border-color: #f04438 !important; box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.35); }
@media (max-width: 479px) { .btn-wrap, .btn-wrap .btn { width: 100%; } }
.err { color: #b42318; background: #fee4e2; border-radius: var(--r-sm); padding: 6px 10px; font-weight: 700; font-size: 0.95rem; margin: 8px 0 0; }
.err:empty { display: none; }
.roles { border: 0; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.roles legend { font-weight: 700; font-size: 0.95rem; padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.roles label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: #ffcc1f; margin: 0; }
.more { margin-top: 16px; }
.more summary { cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; width: fit-content; }
.more[open] summary { margin-bottom: 14px; }
.more .grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .more .grid { grid-template-columns: 1fr 1fr; } }
.more fieldset { border: 0; padding: 0; margin: 0; grid-column: 1 / -1; }
.more fieldset legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.95); color: #0b1b3f; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 0.95rem; font-weight: 700; }
.chips label:has(input:checked) { background: #ffcc1f; color: #0a2e9e; }
.chips input { accent-color: #0a2e9e; }
.fine { font-size: 0.92rem; margin: 16px 0 0; color: #e6ecff; }
.fine strong { color: #fff; }
.hero .fine a, .hero .more a { color: #fff; }
.alt { display: inline-flex; margin-top: 18px; min-height: 44px; font-size: 0.98rem; }
.done { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 24px; max-width: 34rem; box-shadow: var(--shadow-lift); }
.done h2 { font-size: 2.5rem; margin-bottom: 10px; }
.done .share { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.done .share input { flex: 1 1 14rem; }
.done .share .btn { background: var(--kit); border-color: var(--kit); color: #fff; }
.done:focus { outline: none; }

/* ---------- cards + example post ---------- */
.card { background: var(--card); color: var(--ink); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lift { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.preview { margin: 0; max-width: 30rem; width: 100%; justify-self: center; }
.hero .card { box-shadow: 0 28px 60px -24px rgba(5, 18, 70, 0.7); border-color: transparent; }
.caption { font-size: 0.85rem; margin: 10px 4px 0; }
.hero .caption { color: #e6ecff; }
.post { padding: 18px 18px 14px; }
.who { display: flex; gap: 12px; align-items: center; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 1.3rem var(--display); background: #ffcc1f; color: #0a2e9e; flex: none; }
.who b { display: block; line-height: 1.2; }
.who small { color: var(--ink-3); font-size: 0.9rem; }
.verified { width: 16px; height: 16px; vertical-align: -2px; margin-left: 2px; }
.post p { margin: 12px 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.slip { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--ground); }
.slip-head { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px 0; font-size: 0.82rem; color: var(--ink-3); }
.slip-match { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 14px 10px; }
.teams { font: 700 1.3rem/1.1 var(--display); }
.score { font: 800 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.score small { font-size: 0.6em; color: var(--ink-3); }
.pickrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 12px; flex-wrap: wrap; }
.pickchip { display: inline-flex; align-items: center; gap: 10px; background: #ffcc1f; color: #0a2e9e; border-radius: 12px; padding: 6px 8px 6px 12px; min-width: 0; }
.pc-l { font-size: 0.72rem; font-weight: 800; }
.pc-sel { font: 700 1.2rem/1.05 var(--display); }
.pc-odds { font: 800 1.6rem/1 var(--display); background: #0a2e9e; color: #ffcc1f; border-radius: 8px; padding: 4px 8px; font-variant-numeric: tabular-nums; }
.status { position: relative; min-width: 5.6rem; height: 2.2rem; }
.chip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 800; font-size: 0.9rem; }
.chip.pending { background: var(--pending-tint); color: var(--pending-text); }
.chip.won { background: var(--win-tint); color: var(--win-text); box-shadow: inset 0 0 0 1.5px var(--win); }
.slip-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px dashed var(--line); font-size: 0.8rem; color: var(--ink-3); flex-wrap: wrap; }
.tail { display: inline-flex; align-items: center; gap: 6px; background: var(--kit); color: #fff; font-weight: 800; font-size: 0.82rem; border-radius: 999px; padding: 5px 14px; }
.tail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffcc1f; }
.acts { display: flex; gap: 20px; margin-top: 12px; color: var(--ink-3); font-size: 0.9rem; }
.acts span { display: inline-flex; gap: 6px; align-items: center; }
.acts svg { width: 18px; height: 18px; }
.form-guide { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); flex-wrap: wrap; }
.form-guide ol { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.r, .fchips i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 800 0.72rem/1 var(--text); font-style: normal; color: #0b1b3f; }
.r.w, .fchips .w { background: #12b76a; } .r.l, .fchips .l { background: #f04438; } .r.v, .fchips .v { background: #c3cdea; }
.form-guide .stat { margin-left: auto; color: var(--ink); font-weight: 700; }
.form-guide .stat .num { font: 800 1.15rem var(--display); color: var(--win-text); }

/* example pick settles on load */
.score, .chip.won { animation: reveal 0.35s ease-out 1.6s both; }
.chip.pending { animation: hide 0.2s ease-in 1.5s both; }
.post-card { animation: settle 0.6s ease-out 1.6s both; }
@keyframes reveal { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
@keyframes hide { to { opacity: 0; visibility: hidden; } }
@keyframes settle { 40% { box-shadow: 0 0 0 4px #12b76a, 0 28px 60px -24px rgba(5, 18, 70, 0.7); } }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
@media (min-width: 960px) { section.block { padding: 112px 0; } }
.block + .block { border-top: 1px solid var(--line); }
.head { max-width: 44rem; margin-bottom: 40px; }
.head h2 { margin-bottom: 16px; }
.head p { color: var(--ink-2); font-size: 1.125rem; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; position: relative; }
.timeline li { position: relative; padding-left: 38px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ground); border: 3px solid var(--kit); }
.timeline li:last-child::before { background: #ffcc1f; border-color: var(--navy); }
.timeline::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.timeline .when { display: block; font: 800 1.2rem var(--display); color: var(--link); margin-bottom: 4px; }
.timeline h3 { margin-bottom: 10px; }
.timeline p { color: var(--ink-2); max-width: 30rem; }
@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .timeline::before { left: 10px; right: 0; top: 9px; bottom: auto; width: auto; height: 2px; }
  .timeline li { padding: 46px 0 0; }
  .timeline li::before { top: 0; }
}

/* ---------- matchday ---------- */
.matchday { position: relative; overflow: hidden; color: #f2f5ff; padding: 80px 0; background:
  radial-gradient(ellipse 55% 45% at 6% -8%, rgba(255, 255, 255, 0.2), transparent 60%),
  radial-gradient(ellipse 55% 45% at 94% -8%, rgba(255, 255, 255, 0.16), transparent 60%),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 90px, transparent 90px 180px),
  linear-gradient(180deg, #0a2e9e 0%, #081f6e 55%, #07102a 100%); }
.matchday::before { content: ""; position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; transform: translate(-50%, -50%); border: 2px solid rgba(255, 255, 255, 0.08); border-radius: 50%; pointer-events: none; }
.matchday::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid rgba(255, 255, 255, 0.08); pointer-events: none; }
@media (min-width: 960px) { .matchday { padding: 120px 0; } }
.md-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .md-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.matchday h2 { color: #fff; margin-bottom: 18px; }
.md-copy > p { color: #c3cdea; font-size: 1.125rem; max-width: 34rem; }
.md-log { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.md-log li { display: flex; gap: 14px; align-items: baseline; transition: opacity 0.4s; }
.md-log time { font: 800 1.25rem var(--display); color: #ffd23f; font-variant-numeric: tabular-nums; min-width: 3.2rem; }
.md-armed .md-log li:not(.on) { opacity: 0.55; }
.md-stage { justify-self: center; width: 100%; max-width: 27rem; }
.md-caption { color: #b8c5e8; }

.betslip { position: relative; background: #0f1b3f; color: #fff; border: 1px solid #1d2a55; border-radius: var(--r-lg); padding: 20px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9); overflow: hidden; }
.betslip[data-state="won"] { border-color: rgba(18, 183, 106, 0.7); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 40px -8px rgba(18, 183, 106, 0.45); transition: border-color 0.4s, box-shadow 0.6s; }
.bs-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #b8c5e8; }
.st { display: none; font-weight: 800; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.st-pending { background: rgba(255, 210, 63, 0.14); color: #fedf89; }
.st-live { background: rgba(240, 68, 56, 0.18); color: #fecdca; }
.st-ft { background: rgba(18, 183, 106, 0.18); color: #6ce9a6; }
[data-state="pending"] .st-pending, [data-state="live"] .st-live, [data-state="won"] .st-ft { display: inline-block; }
.bs-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 18px 0; }
.bs-team { font: 700 1.35rem/1.05 var(--display); }
.bs-team:last-child { text-align: right; }
.bs-goals { font: 800 3.8rem/1 var(--display); display: flex; gap: 8px; font-variant-numeric: tabular-nums; }
.bs-goals b { display: inline-block; min-width: 0.55em; text-align: center; }
.bs-goals b.bump { animation: bump 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); color: #ffd23f; }
@keyframes bump { 0% { transform: scale(1.7); } 100% { transform: none; } }
[data-state="pending"] .bs-goals { opacity: 0.55; }
.bs-pick { padding: 14px 0; border-top: 1px dashed #1d2a55; }
.bs-pick .pickchip { width: 100%; }
.bs-pick .pc-sel { flex: 1; }
.bs-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0 12px; border-top: 1px dashed #1d2a55; }
.betslip small { display: block; color: #b8c5e8; font-size: 0.78rem; margin-bottom: 2px; }
.bs-money b { font: 800 1.35rem var(--display); font-variant-numeric: tabular-nums; }
.bs-ret, .bs-profit { color: #32d583; text-shadow: 0 0 18px rgba(18, 183, 106, 0.55); }
[data-state="pending"] .bs-ret, [data-state="live"] .bs-ret, [data-state="pending"] .bs-profit, [data-state="live"] .bs-profit { color: #b8c5e8; text-shadow: none; }
.betslip .slip-foot { padding: 12px 0 0; border-top: 1px dashed #1d2a55; color: #b8c5e8; }
.stamp { position: absolute; right: 66px; top: 10px; transform: rotate(-12deg); border: 3px solid #ffd23f; color: #ffd23f; border-radius: 12px; padding: 4px 12px 6px; font: 800 0.85rem/1 var(--text); text-align: center; background: rgba(10, 46, 158, 0.92); box-shadow: 0 0 24px -4px rgba(255, 210, 63, 0.55); }
.stamp b { display: block; font: 800 1.7rem/1 var(--display); }
.betslip:not([data-state="won"]) .stamp { opacity: 0; }
.betslip.just-won .stamp { animation: stamp 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-12deg) scale(2.2); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }

/* ---------- what you get + leaderboard ---------- */
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.gets { margin: 0; }
.gets div { padding: 20px 0; border-top: 2px solid var(--kit); }
.gets div:last-child { border-bottom: 1px solid var(--line); }
.gets dt { font: 800 1.8rem/1.05 var(--display); margin-bottom: 8px; }
.gets dd { margin: 0; color: var(--ink-2); max-width: 32rem; }
.board { overflow: hidden; }
.board-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.board-top h3 { font-size: 1.6rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
th { white-space: nowrap; text-align: right; font-weight: 700; font-size: 0.8rem; color: var(--ink-3); padding: 10px 12px 8px; }
td { text-align: right; padding: 12px; border-top: 1px solid var(--line); white-space: nowrap; }
th:nth-child(2), td:nth-child(2) { text-align: left; width: 100%; }
th:first-child, td:first-child { text-align: center; padding-left: 16px; padding-right: 4px; }
td:first-child { font: 800 1.35rem var(--display); }
td .h { font-weight: 700; display: block; }
td .n { color: var(--ink-3); font-size: 0.8rem; }
#board td.num { font: 700 1.1rem var(--display); }
.pos { color: var(--win-text); }
#board tbody { counter-reset: rk; }
#board tbody tr { counter-increment: rk; position: relative; }
#board .rk::before { content: counter(rk); }
#board tbody tr:first-child .rk { color: var(--navy); }
@media (prefers-color-scheme: dark) { #board tbody tr:first-child .rk { color: #ffd23f; } }
#board tbody tr.flash td { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 30% { background: rgba(18, 183, 106, 0.2); } 100% { background: transparent; } }
tfoot td { border-top: 1px dashed var(--line); }
tr.me td { background: rgba(255, 204, 31, 0.18); }
@media (prefers-color-scheme: dark) { tr.me td { background: rgba(91, 140, 255, 0.14); } }
.fchips { display: inline-flex; gap: 3px; }
.fchips i { width: 18px; height: 18px; border-radius: 5px; font-size: 0.65rem; transition: opacity 0.25s, transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1); }
.fchips i.off { opacity: 0; transform: scale(0.4); }
.board .caption { color: var(--ink-3); padding: 0 18px 14px; }
.board-note .land { display: block; color: var(--win-text); font-weight: 700; margin-bottom: 4px; }
.board-note .land.off { visibility: hidden; }
@media (max-width: 479px) { .hide-xs { display: none; } td, th { padding-left: 8px; padding-right: 8px; } }

/* answers + guides */
.answers { display: grid; gap: 8px 48px; }
@media (min-width: 860px) { .answers { grid-template-columns: 1fr 1fr; } }
.answers article { border-top: 2px solid var(--kit); padding: 20px 0 8px; }
.answers h3 { margin-bottom: 10px; }
.answers p { color: var(--ink-2); max-width: 34rem; }
.guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .guides { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .guides { grid-template-columns: repeat(4, 1fr); } }
.guide { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.guide::before { content: ""; width: 36px; height: 6px; border-radius: 3px; background: #ffcc1f; }
.guide b { font: 800 1.65rem/1.05 var(--display); }
.guide span { color: var(--ink-2); font-size: 0.975rem; }
.guide:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }

/* FAQ accordions */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 800 2rem var(--display); color: var(--link); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 42rem; }

/* closer */
.closer { background: var(--hero-grad); color: #fff; padding: 72px 0; }
.closer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; }
.closer h2 { max-width: 16ch; }
.closer p { margin: 10px 0 0; color: #e6ecff; }

/* ---------- content pages ---------- */
.page { padding: 48px 0 88px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(2.7rem, 8.5vw, 4.4rem); margin-bottom: 20px; }
.page h2 { font-size: 2.1rem; margin: 48px 0 14px; }
.page h3 { margin: 28px 0 8px; }
.page ul, .page ol { padding-left: 1.3em; }
.page li { margin-bottom: 0.4em; }
.page .updated { color: var(--ink-3); font-size: 0.95rem; }
.page table { margin: 16px 0; font-size: 1rem; background: var(--card); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.page table td, .page table th { text-align: left; white-space: normal; }
.page thead th { background: var(--ground); }
.page table td:first-child { font: 700 1rem var(--text); text-align: left; padding-left: 14px; }
.page table th:first-child { text-align: left; padding-left: 14px; }
.page table.nums td:first-child { font: 800 1.1rem var(--display); }
.page table caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.toc { border-left: 4px solid #ffcc1f; padding: 4px 0 4px 18px; margin: 28px 0; }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc.az { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.toc.az a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: 0.9rem; font-weight: 700; }
.toc.az a:hover { border-color: var(--link); }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 18px 36px; box-shadow: var(--shadow); }
.note { background: var(--pending-tint); color: var(--ink); border-radius: var(--r-md); padding: 14px 16px; font-weight: 600; }
.glossary dt { font: 800 1.75rem/1.1 var(--display); padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.glossary dd { margin: 8px 0 0; color: var(--ink-2); }
.glossary dt:target { color: var(--link); }
.related { margin-top: 48px; }
.related h2 { margin-top: 0; }
.cta-inline { margin-top: 48px; padding: 28px; border-radius: var(--r-lg); background: var(--hero-grad); color: #fff; }
.cta-inline h2 { margin-top: 0; color: #fff; }
.cta-inline p { color: #e6ecff; }
.cta-inline .btn { margin-top: 8px; }

/* ---------- footer ---------- */
footer { padding: 48px 0 56px; font-size: 0.95rem; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 28px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.foot-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: auto; } }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-h { font: 700 0.95rem var(--text); margin: 0 0 10px; }
.foot-brand { color: var(--ink); margin-bottom: 8px; }
.rg { border-left: 4px solid #ffcc1f; padding-left: 16px; color: var(--ink-2); max-width: 44rem; margin: 8px 0 0; }
.rg strong { color: var(--ink); }
.copy { color: var(--ink-3); margin: 0; }

/* ---------- scroll reveals ---------- */
.reveal { transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .tk-viewport { overflow-x: auto; }
  .tk-track { animation: none; }
  .tk-track[aria-hidden="true"], .tk-pause, .ball { display: none; }
  .btn.shine::after { display: none; }
  .lift:hover { transform: none; }
  .dot { animation: none; }
}
