/* NBA AI Analytics — marketing site. Tokens mirror mobile/src/theme.ts. No external fonts (speed). */
:root {
    --bg: #0B0F17;
    --surface: #141A26;
    --surface-alt: #1B2333;
    --border: #263046;
    --text: #F2F5FA;
    --muted: #8A96AD;
    --dim: #5D6880;
    --primary: #FF6B2C;
    --primary-hover: #FF8350;
    --primary-dim: #3A2116;
    --positive: #2FD27F;
    --negative: #FF5A6A;
    --live: #FF3B4E;
    --silver: #C9D3E3;
    --gold: #F4C542;
    --radius: 14px;
    --radius-sm: 10px;
    --container: 1160px;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--font); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.accent { color: var(--primary); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #111; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 999px; font-weight: 650; text-decoration: none;
    border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-primary { background: var(--primary); color: #160A04; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.link { color: var(--primary); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 15, 23, .72); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; letter-spacing: -0.01em; }
.brand img { flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 550; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); border-radius: 2px; content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-glow {
    position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(closest-side, rgba(255, 107, 44, .22), transparent 70%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    color: var(--primary); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.hero .eyebrow .dot { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: .92rem; }
.hero-points li::before { content: "✓"; color: var(--positive); font-weight: 800; margin-right: 8px; }

/* Store buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px; min-width: 190px;
    padding: 10px 18px; border-radius: 12px; text-decoration: none;
    background: #000; color: #fff; border: 1px solid #3a3f4b;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.store-btn:hover { border-color: #8a8f99; transform: translateY(-1px); }
.store-btn.recommended { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 107, 44, .18); }
.store-btn[aria-disabled="true"] { cursor: default; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn-text small { font-size: .7rem; opacity: .85; }
.store-btn-text strong { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone {
    position: relative; width: 300px; height: 610px; padding: 12px; border-radius: 46px;
    background: linear-gradient(160deg, #2a3142, #11151e); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), inset 0 0 0 2px #3a4357;
    transform: rotate(-3deg);
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #05070b; z-index: 2; }
.phone-screen {
    height: 100%; border-radius: 36px; background: var(--bg); padding: 58px 14px 14px; overflow: hidden;
    display: flex; flex-direction: column; gap: 10px; font-size: 12px;
}
.ps-top { display: flex; align-items: center; justify-content: space-between; }
.ps-title { font-size: 20px; font-weight: 800; }
.ps-chip { font-size: 10px; color: var(--muted); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; }
.ps-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.ps-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ps-row.small { font-size: 10.5px; margin-top: 6px; }
.ps-team b { color: var(--text); margin-right: 4px; }
.ps-team.right b { margin: 0 0 0 4px; }
.ps-team { color: var(--muted); }
.ps-time { font-size: 10px; color: var(--muted); background: var(--surface-alt); padding: 2px 6px; border-radius: 6px; }
.ps-label { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin: 10px 0 6px; }
.ps-card > .ps-label:first-child { margin-top: 0; }
.ps-bar { height: 8px; border-radius: 99px; background: var(--surface-alt); overflow: hidden; }
.ps-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #ffa06f); border-radius: 99px; }
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.ps-list li { display: flex; gap: 8px; align-items: baseline; }
.ps-list i { flex: none; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-1px); }
.ps-list i.pos { background: var(--positive); }
.ps-list i.neg { background: var(--negative); }
.ps-tag { font-size: 10px; font-weight: 700; color: var(--gold); background: rgba(244, 197, 66, .12); padding: 2px 8px; border-radius: 999px; }
.ps-tabs { margin-top: auto; display: flex; justify-content: space-around; border-top: 1px solid var(--border); padding-top: 10px; color: var(--dim); font-size: 10px; }
.ps-tabs .on { color: var(--primary); font-weight: 700; }

/* Upcoming games */
.games { padding: 8px 0 72px; }
.section-head.row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head.row h2 { font-size: 1.5rem; margin: 0; }
.games-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.game { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.game-teams { display: flex; align-items: baseline; gap: 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; }
.game-teams .at { color: var(--dim); font-size: 1rem; font-weight: 600; }
.game-names { color: var(--muted); font-size: .88rem; margin: 0; }
.game-time { font-size: .85rem; margin: 6px 0 10px; color: var(--text); }
.game-time.live { color: var(--live); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.game-lock { margin-top: auto; align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--primary); background: var(--primary-dim); padding: 4px 10px; border-radius: 999px; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: linear-gradient(180deg, rgba(20, 26, 38, .55), rgba(20, 26, 38, .2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .muted { font-size: 1.08rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: #3a4763; transform: translateY(-2px); }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-dim); color: var(--primary); margin-bottom: 18px; }
.feature-icon svg { width: 22px; height: 22px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.step p { color: var(--muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #160A04; font-weight: 800; margin-bottom: 16px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.plan.featured { border-color: var(--primary); box-shadow: 0 20px 50px -25px rgba(255, 107, 44, .45); }
.plan h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan h3.silver { color: var(--silver); }
.plan h3.gold { color: var(--gold); }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 18px; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--text); }
.checks li::before { content: "✓"; color: var(--positive); font-weight: 800; flex: none; }
.checks li.off { color: var(--muted); }
.checks li.off::before { content: "•"; color: var(--dim); }
.plan .btn { margin-top: auto; }
.badge { position: absolute; top: -12px; right: 20px; background: var(--primary); color: #160A04; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

.cta { text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; max-width: 680px; }
.cta-icon { border-radius: 22px; margin-bottom: 20px; box-shadow: 0 20px 40px -15px rgba(255, 107, 44, .5); }
.cta .store-buttons { justify-content: center; margin: 10px 0 14px; }

/* Legal pages */
.legal { padding: 64px 20px 96px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #c9d1df; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--primary); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; background: #090c13; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-grid .brand { margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--text); }
.disclaimer { border-top: 1px solid var(--border); padding-top: 24px; }
.disclaimer p { color: var(--dim); font-size: .8rem; line-height: 1.6; margin-bottom: .8em; }
.disclaimer a { color: var(--muted); }

/* Reveal on scroll (only when JS is running; content is visible without JS) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: left; }
    .hero-visual { order: 2; }
    .features, .plans { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 20px; display: none;
    }
    .nav.open { display: flex; }
    .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
    .nav .btn { margin-top: 16px; }
    .hero { padding: 40px 0 64px; }
    .section { padding: 72px 0; }
    .features, .plans { grid-template-columns: 1fr; }
    .phone { transform: none; width: 280px; height: 570px; }
    .store-btn { flex: 1 1 180px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* Brand: long name with a lighter tail ("Basketball AI" + ": Odds & Analysis") */
.brand-rest { color: var(--muted); font-weight: 600; }
@media (max-width: 420px) { .site-header .brand-rest { display: none; } }

/* Markets */
.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.market { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.market p { color: var(--muted); margin: 0; }
.market-tag {
    display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 8px;
    background: var(--primary-dim); color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .06em;
}
.markets-note { margin: 22px 0 0; }
@media (max-width: 960px) { .markets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .markets { grid-template-columns: 1fr; } }

/* ---------- Game pages ---------- */
.page { padding: 28px 20px 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--dim); margin-bottom: 24px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-head { max-width: 760px; margin-bottom: 28px; }
.page-head h1, .match-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-alt); color: var(--muted); border: 1px solid var(--border); }
.pill.live { color: var(--live); border-color: rgba(255, 59, 78, .4); }
.pill.gold { color: var(--gold); border-color: rgba(244, 197, 66, .35); background: rgba(244, 197, 66, .08); }
.pill.silver { color: var(--silver); }

.day-nav { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 28px; }
.day-nav a { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; }
.day-nav a small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.day-nav a strong { font-size: .95rem; }
.day-nav a.on { border-color: var(--primary); background: var(--primary-dim); }
.day-nav a:hover { border-color: var(--muted); }

.slate { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 12px; }
.slate-link {
    display: grid; grid-template-columns: 110px 1.4fr 1.6fr auto; align-items: center; gap: 20px;
    padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.slate-link:hover { border-color: #3a4763; transform: translateY(-1px); }
.slate-status { font-size: .9rem; font-weight: 650; }
.slate-teams { display: grid; gap: 6px; }
.slate-team { display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 10px; }
.slate-team .abbr { font-weight: 800; }
.slate-team .name { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slate-team .score { font-weight: 800; font-variant-numeric: tabular-nums; }
.slate-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .92rem; }
.slate-lines small { display: block; color: var(--dim); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.slate-cta { color: var(--primary); font-weight: 650; font-size: .9rem; white-space: nowrap; }

.seo-copy { max-width: 760px; margin: 0 0 48px; }
.seo-copy h2 { font-size: 1.3rem; }
.seo-copy p { color: var(--muted); }

.app-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px; border-radius: var(--radius); border: 1px solid var(--primary-dim); background: linear-gradient(120deg, rgba(255, 107, 44, .12), rgba(20, 26, 38, .6)); margin-top: 32px; }
.app-cta img { border-radius: 14px; }
.app-cta-copy { flex: 1 1 260px; }
.app-cta h2 { font-size: 1.35rem; margin: 0 0 4px; }
.app-cta p { margin: 0; }

/* Match page */
.match-head { margin-bottom: 28px; }
.match-head .lead { max-width: 820px; margin: 22px 0 0; }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.sb-team { display: flex; flex-direction: column; gap: 2px; }
.sb-team.right { text-align: right; align-items: flex-end; }
.sb-abbr { font-size: 2rem; font-weight: 850; letter-spacing: .01em; line-height: 1; }
.sb-name { color: var(--text); font-weight: 600; }
.sb-rec { color: var(--muted); font-size: .85rem; }
.sb-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sb-score { display: flex; align-items: center; gap: 14px; font-size: 2.6rem; font-weight: 850; font-variant-numeric: tabular-nums; color: var(--muted); line-height: 1; }
.sb-score .win { color: var(--text); }
.sb-dash { color: var(--dim); font-weight: 400; }
.sb-at { color: var(--dim); font-size: 1.4rem; font-weight: 700; }
.sb-time { font-weight: 650; }

.match-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.match-main, .match-side { display: grid; gap: 20px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { font-size: 1.2rem; margin: 0; }
.card h3 { font-size: .95rem; margin: 0 0 10px; }
.side-team { margin-top: 14px !important; }
.card .side-team:first-of-type { margin-top: 0 !important; }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl thead th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; background: var(--surface-alt); border-bottom: 0; }
.tbl thead th:first-child { border-top-left-radius: 8px; }
.tbl thead th:last-child { border-top-right-radius: 8px; }
.tbl tbody th { font-weight: 650; white-space: nowrap; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .02); }
.tbl small { color: var(--dim); margin-left: 4px; font-size: .78rem; }
.tbl .ln { display: block; white-space: nowrap; }
.tbl .ln + .ln { margin-top: 4px; }
.tbl.stats td, .tbl.stats thead th:not(:first-child) { text-align: right; }
.tbl.compact th, .tbl.compact td { padding: 7px 8px; font-size: .86rem; }
.tbl.compact td, .tbl.compact thead th:not(:first-child) { text-align: right; }

.movement { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.movement dl { margin: 0; display: grid; gap: 8px; }
.movement dl div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.movement dt { color: var(--muted); }
.movement dd { margin: 0; font-variant-numeric: tabular-nums; }
.mv-note { margin-left: 10px; font-size: .8rem; color: var(--warning, #F5B841); }

.bet-results { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bet-results div { background: var(--surface-alt); border-radius: 10px; padding: 12px; }
.bet-results small { display: block; color: var(--dim); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 2px; }

.ai-lock .lock-rows { display: grid; gap: 8px; margin-bottom: 14px; }
.ai-lock .lock-rows div { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: var(--surface-alt); }
.ai-lock .lock-rows span { color: var(--muted); }
.ai-lock .lock-rows b { color: var(--dim); filter: blur(3px); letter-spacing: .1em; user-select: none; }
.ai-lock .btn { margin-top: 6px; }

.ai-review { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.ai-tier { background: var(--surface-alt); border-radius: 12px; padding: 16px; }
.ai-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ai-record { color: var(--muted); font-size: .85rem; }
.ai-record b { color: var(--text); }
.ai-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.ai-picks li { display: flex; gap: 10px; align-items: baseline; }
.ai-res { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .7rem; font-weight: 900; }
.ai-picks li.win .ai-res { background: rgba(47, 210, 127, .15); color: var(--positive); }
.ai-picks li.loss .ai-res { background: rgba(255, 90, 106, .15); color: var(--negative); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inj, .lineup, .more-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.inj li { display: flex; justify-content: space-between; gap: 10px; }
.inj small, .lineup small { color: var(--dim); }
.lineup small { display: inline-block; min-width: 26px; font-weight: 700; }
.inj-status { color: var(--warning, #F5B841); font-weight: 650; white-space: nowrap; }
.inj-status.out { color: var(--negative); }
.more-games { margin-bottom: 12px; }
.more-games a { display: flex; justify-content: space-between; text-decoration: none; padding: 8px 10px; border-radius: 8px; background: var(--surface-alt); font-weight: 650; }
.more-games a:hover { background: #222c40; }
.more-games small { color: var(--muted); font-weight: 500; }
.card .faq details { background: var(--surface-alt); }

@media (max-width: 1000px) {
    .match-grid { grid-template-columns: 1fr; }
    .slate-link { grid-template-columns: 1fr; gap: 12px; }
    .slate-cta { justify-self: start; }
}
@media (max-width: 640px) {
    .day-nav { grid-template-columns: repeat(7, minmax(64px, 1fr)); overflow-x: auto; }
    .scoreboard { padding: 18px; gap: 10px; }
    .sb-abbr { font-size: 1.5rem; }
    .sb-name { display: none; }
    .sb-rec { font-size: .78rem; }
    .sb-score { font-size: 2rem; gap: 8px; }
    .ai-review, .two-col, .bet-results { grid-template-columns: 1fr 1fr; }
    .ai-review, .two-col { grid-template-columns: 1fr; }
}
.game { position: relative; transition: border-color .15s; }
.game:hover { border-color: #3a4763; }
.game-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
