:root { --bg: #070b18; --surface: #111a2e; --surface-2: #16223b; --text: #e6edf7; --muted: #97a6ba; --line: rgba(151, 166, 186, .18); --cyan: #22d3ee; --violet: #8b5cf6; --green: #34d399; --rose: #fb7185; --amber: #fbbf24; --shadow: 0 18px 55px rgba(0, 0, 0, .3); --team-primary: var(--cyan); --team-secondary: var(--violet); --panel: rgba(17, 26, 46, .9); --panel-strong: rgba(17, 26, 46, .98); --header-bg: rgba(7, 11, 24, .8); --header-solid: rgba(7, 11, 24, .92); --inset-bg: rgba(7, 11, 24, .4); --text-soft: #c9d4e3; --hero-bg: linear-gradient(120deg, rgba(17, 26, 46, .98), rgba(21, 34, 59, .86)); color-scheme: dark; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { min-width: 320px; margin: 0; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.page-glow { position: fixed; z-index: -1; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(90px); opacity: .13; pointer-events: none; }
.page-glow-one { top: -16rem; left: -8rem; background: var(--team-primary); } .page-glow-two { right: -14rem; top: 20rem; background: var(--team-secondary); }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transform: translateZ(0); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; min-width: max-content; }
.brand-mark { display: block; width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 0 26px rgba(34, 211, 238, .32); }
.brand strong, .brand small { display: block; line-height: 1.05; } .brand strong { font-size: .9rem; } .brand small { color: var(--cyan); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 1rem; } nav a { color: var(--muted); font-size: .9rem; font-weight: 700; } nav a:hover { color: var(--cyan); }
.site-header nav > a.nav-link-active, .site-header .nav-dropdown-trigger.nav-link-active { color: var(--cyan); } .site-header .nav-dropdown-menu a.nav-link-active { color: var(--cyan); background: rgba(34, 211, 238, .08); }
.nav-dropdown { position: relative; } .nav-dropdown-trigger { display: inline-flex; align-items: center; gap: .3rem; padding: 0; color: var(--muted); font-size: .9rem; font-weight: 700; background: none; border: 0; cursor: pointer; } .nav-dropdown-trigger:hover { color: var(--cyan); } .nav-dropdown-caret { font-size: .7em; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 30; flex-direction: column; gap: .15rem; min-width: 140px; margin-top: .5rem; padding: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); } .nav-dropdown-menu a { display: block; padding: .45rem .6rem; color: var(--muted); font-size: .85rem; font-weight: 700; border-radius: 8px; } .nav-dropdown-menu a:hover { color: var(--cyan); background: rgba(34, 211, 238, .08); }
.nav-dropdown-menu.nav-dropdown-menu-open { display: flex; }
.bottom-nav .nav-dropdown { flex: 1 1 0; min-width: 0; } .bottom-nav .nav-dropdown-trigger { width: 100%; justify-content: center; padding: .75rem .2rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: -.02em; border-radius: 10px; white-space: nowrap; } .bottom-nav .nav-dropdown-trigger.bottom-nav-active { color: var(--cyan); background: rgba(34, 211, 238, .1); }
.nav-dropdown-menu-mobile { position: fixed; top: auto; left: 0; margin: 0; transform: translateX(-50%); }
.header-search-row { display: contents; } .team-search { position: relative; display: flex; align-items: center; } .team-search-icon { position: absolute; left: .75rem; color: var(--muted); pointer-events: none; } .team-search input { width: 170px; padding: .58rem .75rem .58rem 2.1rem; color: var(--text); font-size: .85rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; outline: none; } .team-search input:focus { border-color: var(--team-primary); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
main { padding-block: 3.25rem 4rem; }
.eyebrow { margin: 0 0 .4rem; color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; } h1 { max-width: 680px; margin-bottom: .7rem; font-size: clamp(2.1rem, 5vw, 4.15rem); letter-spacing: -.055em; line-height: 1.02; } h2 { margin-bottom: 0; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.035em; } h3 { margin-bottom: 1rem; font-size: 1rem; }
.hero, .team-hero, .game-hero { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); margin-bottom: 3rem; overflow: hidden; background: var(--hero-bg); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); } .hero-copy { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; } .compact-hero { margin-bottom: 1.25rem; }
.hero-stat { min-width: 130px; padding: 1.2rem; text-align: center; background: var(--inset-bg); border: 1px solid var(--line); border-radius: 18px; } .hero-stat span, .hero-stat small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; } .hero-stat strong { display: block; margin: .15rem 0; color: var(--cyan); font-size: 2rem; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .75rem 1rem; margin: 2rem 0 1.1rem; } .section-heading > p { margin: 0; color: var(--muted); font-size: .9rem; }
.matchup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .matchup-card, .detail-card, .metric-card, .schedule-card, .empty-state, .analysis-box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); } .matchup-card { padding: 1.15rem; }
.card-meta, .pick-line, .probability-row, .probability-label, .card-footer-row { display: flex; justify-content: space-between; gap: .7rem; align-items: center; } .card-meta, .card-meta time { color: var(--muted); font-size: .78rem; }
.teams-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: center; padding: 1rem 0; } .team-lockup { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 800; } .team-lockup-right { justify-content: flex-end; text-align: right; } .team-logo { flex: 0 0 auto; width: 34px; height: 34px; object-fit: contain; } .team-logo-xl { width: 82px; height: 82px; } .score-prediction { text-align: center; } .score-prediction strong { display: block; font-size: 1.55rem; letter-spacing: -.05em; white-space: nowrap; } .score-prediction small { padding-inline: .25rem; color: var(--muted); } .score-prediction span { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.team-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-2); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .02em; text-align: center; } .team-badge.team-logo-xl { font-size: 1.15rem; }
.probability-row { color: var(--muted); font-size: .76rem; font-weight: 800; } .probability-track { height: 7px; flex: 1; overflow: hidden; background: rgba(151, 166, 186, .16); border-radius: 99px; } .probability-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), #67e8f9); border-radius: inherit; transition: width 1.1s cubic-bezier(.16, 1, .3, 1); } .pick-line { margin: 0; color: var(--muted); font-size: .83rem; } .pick-line strong { color: var(--green); } .card-footer-row { margin: 1rem 0 .8rem; padding-top: .8rem; border-top: 1px solid var(--line); } .card-link, .text-link { color: var(--cyan); font-size: .85rem; font-weight: 800; } .card-link { display: flex; justify-content: space-between; padding-top: .8rem; margin-top: .6rem; border-top: 1px solid var(--line); }
.confidence-badge, .reveal-badge { display: inline-flex; align-items: center; padding: .3rem .65rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; background: rgba(151, 166, 186, .12); border: 1px solid var(--line); border-radius: 99px; } .reveal-badge-sm { padding: .18rem .5rem; font-size: .62rem; } .confidence-low { color: var(--rose); border-color: rgba(251, 113, 133, .35); background: rgba(251, 113, 133, .1); } .confidence-high { color: var(--green); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); }
.live-badge { color: var(--cyan); border-color: rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .1); } .live-badge[hidden] { display: none; }
.reveal-hit { color: var(--green); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); } .reveal-miss { color: var(--rose); border-color: rgba(251, 113, 133, .35); background: rgba(251, 113, 133, .1); }
.badge-group { display: flex; align-items: center; gap: .4rem; }
.upset-badge { display: inline-flex; align-items: center; padding: .3rem .65rem; color: var(--amber); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35); border-radius: 99px; }
.score-prediction span del, .game-score-predicted del { color: var(--muted); text-decoration-color: var(--rose); }
.score-prediction-live span { color: var(--cyan); } .score-prediction-live span::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin-right: .35rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; vertical-align: .08em; }
.comment-modal-score-live span { color: var(--cyan); }
.game-score-predicted { margin: .3rem 0 0; color: var(--muted); font-size: .8rem; }
.analysis-list { display: grid; gap: .5rem; align-content: start; margin: 0 0 .3rem; padding: 0; list-style: none; } .analysis-list li { position: relative; padding-left: 1rem; color: var(--muted); font-size: .82rem; line-height: 1.45; } .analysis-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); } .analysis-list-large li { font-size: .92rem; color: var(--text); } .matchup-card .analysis-list { min-height: 5.26rem; } .matchup-card .analysis-list li { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.factor-list { display: grid; gap: .9rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.factor-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: 0; }
.factor-points { padding: .15rem .55rem; color: var(--text); font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; background: rgba(151, 166, 186, .12); border: 1px solid var(--line); border-left: 4px solid var(--factor-color, var(--cyan)); border-radius: 99px; }
.factor-head strong { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 540px) { .factor-head { flex-direction: column; align-items: flex-start; gap: .3rem; } }
.factor-sentence { margin: .25rem 0 0; font-size: .9rem; }
.factor-footnote { margin: 0; font-size: .78rem; }
.analysis-box { padding: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 2rem; } .analysis-box-header { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1.1rem; } .analysis-box-header h2 { flex-basis: 100%; margin-top: .1rem; font-size: 1.35rem; }
.hero-stat-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.team-hero { justify-content: flex-start; } .team-hero > div:nth-child(2) { flex: 1; } .team-hero h1 { margin-bottom: .3rem; } .team-hero p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.schedule-list { display: grid; gap: .75rem; } .schedule-card { display: grid; grid-template-columns: 70px minmax(210px, 1fr) 145px minmax(160px, .8fr) 28px; gap: 1rem; align-items: center; padding: 1rem 1.15rem; } .schedule-week span, .schedule-score span { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; } .schedule-week strong { font-size: 1.35rem; } .schedule-opponent a { display: flex; align-items: center; gap: .55rem; font-weight: 800; } .schedule-opponent small { display: block; margin-top: .25rem; color: var(--muted); font-size: .76rem; } .location-pill { display: inline-block; min-width: 24px; margin-bottom: .35rem; color: var(--cyan); font-size: .7rem; font-weight: 800; text-transform: uppercase; } .schedule-score { display: grid; gap: .3rem; } .schedule-score strong { font-size: 1.05rem; } .schedule-probability span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .78rem; font-weight: 800; } .icon-link { color: var(--cyan); font-size: 1.35rem; text-align: right; }
.game-hero { justify-content: center; text-align: center; } .game-team { display: grid; justify-items: center; gap: .35rem; flex: 1; } .game-team a { font-weight: 800; } .game-team span, .game-score span, .muted { color: var(--muted); font-size: .82rem; } .game-score { min-width: 240px; } .game-score > strong { display: block; margin: .35rem 0; font-size: clamp(2.4rem, 7vw, 4.5rem); letter-spacing: -.08em; } .game-score > strong small { padding-inline: .4rem; color: var(--muted); font-size: .52em; } .game-score > p:last-child { margin: .6rem 0 0; color: var(--green); font-size: .86rem; font-weight: 800; }
.detail-grid, .injury-grid, .metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; } .injury-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .detail-card { padding: 1.25rem; } .detail-card h2 { font-size: 1.2rem; margin-bottom: 1rem; } .condition-value { margin-bottom: 0; font-size: 1.1rem; font-weight: 700; } .condition-value span { color: var(--cyan); } .probability-label { margin: .8rem 0 .35rem; font-size: .82rem; } .injury-row { display: flex; justify-content: space-between; gap: .7rem; padding: .65rem 0; margin: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

/* Weather severity tint */
.weather-icon { margin-right: .4rem; font-size: 1.1em; }
.detail-card-weather { transition: border-color .2s, box-shadow .2s; }
.weather-calm { border-color: rgba(52, 211, 153, .3); }
.weather-notable { border-color: rgba(251, 191, 36, .35); box-shadow: var(--shadow), 0 0 0 1px rgba(251, 191, 36, .1) inset; }
.weather-severe { border-color: rgba(251, 113, 133, .4); box-shadow: var(--shadow), 0 0 0 1px rgba(251, 113, 133, .12) inset; }
.weather-tag { display: inline-block; margin-top: .5rem; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.weather-calm .weather-tag { color: var(--green); }
.weather-notable .weather-tag { color: var(--amber); }
.weather-severe .weather-tag { color: var(--rose); }

/* Injury impact badges */
.injury-badge { display: inline-flex; padding: .2rem .55rem; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 99px; border: 1px solid var(--line); background: rgba(151, 166, 186, .1); color: var(--muted); }
.injury-badge.impact-out { color: var(--rose); background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .35); }
.injury-badge.impact-doubtful { color: var(--amber); background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .35); }
.injury-badge.impact-questionable { color: var(--cyan); background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .3); }
.injury-badge.impact-minor { color: var(--muted); }

/* Betting angles */
.betting-card { padding: 1.5rem; margin-bottom: 2rem; }
.betting-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.betting-row strong { font-size: .95rem; }
.betting-hint { margin: .25rem 0 0; max-width: 46ch; color: var(--muted); font-size: .82rem; }
.betting-value { flex-shrink: 0; text-align: right; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.bet-team { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; } .bet-team h3 { margin: 0; font-size: 1.15rem; } .bet-opponent { margin: .15rem 0 0; color: var(--muted); font-size: .82rem; } .bet-info { min-width: 0; flex: 1; } .bet-footer-row { align-items: flex-end; } .bet-odds { font-size: clamp(1.15rem, 5vw, 1.4rem); color: var(--green); }
.total-pick-value { color: var(--green); }

/* Head-to-head matchup history */
.matchup-history-card { padding: 1.5rem; margin-bottom: 2rem; }
.matchup-history-list { display: grid; margin-top: .5rem; }
.matchup-history-header, .matchup-history-row { display: grid; grid-template-columns: 1fr 2.5rem 1.25rem 2.5rem; align-items: center; gap: .5rem; }
.matchup-history-header { padding-bottom: .6rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.matchup-history-header span:nth-child(2), .matchup-history-header span:nth-child(4) { text-align: center; }
.matchup-history-row { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.matchup-history-row:last-child { border-bottom: 0; }
.matchup-history-date { color: var(--muted); font-size: .84rem; }
.matchup-history-score { text-align: center; font-size: 1.05rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.matchup-history-win { color: var(--text); }
.matchup-history-sep { text-align: center; color: var(--muted); }

#rankings-table th[data-sort] { cursor: pointer; user-select: none; } #rankings-table th[data-sort]:hover { color: var(--cyan); }
.metric-card { padding: 1.2rem; } .metric-card span { display: block; color: var(--muted); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; } .metric-card strong { display: block; margin-top: .3rem; color: var(--cyan); font-size: 2rem; } .table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow); } table { width: 100%; border-collapse: collapse; } th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } th { color: var(--muted); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; } tr:last-child td { border-bottom: 0; }
.role-form { margin-right: .5rem; } .role-select { padding: .5rem .7rem; margin-right: .4rem; border-radius: 8px; }
/* Leaderboard favorite-team ring. Table rows can't draw borders, so it's an absolutely
   positioned div. */
.standings-highlight { position: absolute; pointer-events: none; border: 3px solid transparent; border-image: linear-gradient(to bottom right, var(--fav-1), var(--fav-2)) 1; }
/* Add-to-home-screen nudge (mobile only). Here and below, display rules use :not([hidden])
   so they don't override the hidden attribute. */
.install-banner:not([hidden]) { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; margin-bottom: 1.25rem; color: var(--text); font-size: .82rem; font-weight: 700; line-height: 1.35; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3); border-radius: 14px; }
.install-banner-text { flex: 1 1 auto; }
.install-banner-action { flex: 0 0 auto; min-height: 44px; padding: .5rem 1rem; color: #06111c; font-weight: 800; background: var(--cyan); border: 0; border-radius: 999px; cursor: pointer; }
.install-banner-dismiss { flex: 0 0 auto; width: 44px; height: 44px; color: var(--muted); font-size: 1.2rem; line-height: 1; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.install-banner-dismiss:hover { color: var(--text); background: rgba(151, 166, 186, .12); }
.notice, .empty-state { padding: 1.25rem; } .notice { color: #fcd34d; background: rgba(252, 211, 77, .08); border: 1px solid rgba(252, 211, 77, .22); border-radius: 14px; } .notice-success { color: var(--green); background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .22); } .empty-state { text-align: center; color: var(--muted); } .empty-state h2 { color: var(--text); } .site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 2rem; color: var(--muted); font-size: .78rem; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Bottom tab bar: mobile-only, see the max-width:800px block for display:flex */
.bottom-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; justify-content: space-around; gap: .15rem; padding: .4rem .35rem calc(.4rem + env(safe-area-inset-bottom)); background: var(--header-solid); border-top: 1px solid var(--line); backdrop-filter: blur(18px); overflow-x: auto; transform: translateZ(0); }
.bottom-nav a { flex: 1 1 0; min-width: 0; padding: .75rem .2rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: -.02em; text-align: center; border-radius: 10px; white-space: nowrap; }
.bottom-nav a.bottom-nav-active, .nav-dropdown-menu-mobile a.bottom-nav-active { color: var(--cyan); background: rgba(34, 211, 238, .1); }
@media (max-width: 800px) { .header-inner { flex-wrap: wrap; padding-block: .75rem; gap: .8rem; } .site-header nav { display: none; } .header-search-row { display: flex; align-items: center; gap: .8rem; width: 100%; } .header-search-row .team-search { flex: 1; } .header-search-row .team-search input { width: 100%; } .header-search-row .picker-chip, .header-search-row .account-dropdown { flex: 0 0 auto; } .matchup-grid, .detail-grid, .metric-grid { grid-template-columns: 1fr; } .schedule-card { grid-template-columns: 60px 1fr 28px; } .schedule-score, .schedule-probability { grid-column: 2; } .game-hero { gap: .8rem; padding-inline: 1rem; } .game-team { min-width: 0; font-size: .78rem; } .team-logo-xl { width: 58px; height: 58px; } .game-score { min-width: 0; } .injury-grid { grid-template-columns: 1fr; }
  /* Bottom tab bar replaces the top nav on mobile */
  .bottom-nav { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* Bigger pick'em touch targets */
  .pick-buttons { gap: .6rem; }
  .pick-btn { padding: .65rem 1.05rem; min-height: 44px; font-size: .85rem; }
  .pick-btn:active { transform: scale(.94); }
  /* Bigger tap targets for dropdowns, menus and modal close buttons. */
  .outlast-history-trigger, .outlast-status-pin-trigger, .outlast-howto-trigger { min-height: 44px; }
  .nav-dropdown-menu a { min-height: 44px; display: flex; align-items: center; }
  .switch-field { min-height: 44px; }
  .modal-close { width: 44px; height: 44px; top: .35rem; right: .35rem; font-size: 1.3rem; }
}
@media (max-width: 540px) { .shell { width: min(100% - 1.25rem, 1180px); } main { padding-top: 2rem; } .hero, .team-hero { align-items: flex-start; flex-direction: column; margin-bottom: 2rem; } .team-hero .hero-stat { align-self: stretch; } .hero-stat { width: 100%; } .site-footer { flex-direction: column; } .score-prediction strong { font-size: 1.25rem; } .card-footer-row { flex-direction: column; align-items: flex-start; gap: .4rem; }
  /* Keep the score column from squeezing the team names off screen. */
  .game-hero { gap: .5rem; padding-inline: .6rem; }
  .game-team { min-width: 64px; font-size: .7rem; }
  .team-logo-xl { width: 42px; height: 42px; }
  .game-score { min-width: 84px; }
  .game-score > strong { font-size: clamp(1.3rem, 8vw, 2.2rem); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.picker-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; margin-left: auto; color: var(--muted); font-size: .78rem; font-weight: 700; white-space: nowrap; background: rgba(151, 166, 186, .1); border: 1px solid var(--line); border-radius: 99px; transition: filter .15s ease, transform .15s ease, box-shadow .15s ease, color .15s ease; } .picker-chip strong { color: var(--cyan); } .picker-chip-icon { flex: 0 0 auto; } .picker-chip:hover { color: var(--text); filter: brightness(1.25); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34, 211, 238, .28); } button.picker-chip { font: inherit; cursor: pointer; }
/* The account dropdown wrapper takes over the chip's margin-left:auto. */
.account-dropdown { margin-left: auto; }
.account-dropdown-menu { left: auto; right: 0; }
.link-button { padding: 0; color: var(--cyan); font: inherit; font-weight: 800; background: none; border: 0; cursor: pointer; }
.account-form-footer { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: .2rem; } .account-form-footer .link-button { padding: 0; color: var(--rose); background: none; border: 0; }
/* Favorite-team ring on the sign-in chip. The inner mask must be opaque. */
.picker-chip-highlight { border: 2px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(to bottom right, var(--fav-1), var(--fav-2)); background-origin: border-box; background-clip: padding-box, border-box; }
.join-form { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 420px; } .join-form input { flex: 1; min-width: 140px; padding: .7rem .9rem; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; outline: none; } .join-form input:focus { border-color: var(--team-primary); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); } .join-form select { flex: 1; min-width: 140px; } .join-form button { padding: .7rem 1.1rem; color: #06111c; font-weight: 800; background: var(--cyan); border: 0; border-radius: 10px; cursor: pointer; } .join-form button:disabled { opacity: .6; cursor: not-allowed; }
select { padding: .7rem .9rem; color: var(--text); font: inherit; font-size: .85rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; outline: none; } select:focus { border-color: var(--team-primary); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); } select option { color: var(--text); background: var(--surface-2); }
.join-form + .muted { margin-top: 1.1rem; }

.pick-row { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding-top: .8rem; margin-top: .6rem; border-top: 1px solid var(--line); } .pick-row-label { color: var(--muted); font-size: .78rem; font-weight: 700; }
.pick-buttons { display: flex; gap: .4rem; } .pick-btn { padding: .35rem .75rem; color: var(--text); font-size: .78rem; font-weight: 800; background: rgba(151, 166, 186, .1); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; } .pick-btn-active { color: #06111c; background: var(--cyan); border-color: var(--cyan); }
.pick-btn:disabled { color: var(--muted); background: rgba(151, 166, 186, .05); border-color: var(--line); cursor: not-allowed; text-decoration: line-through; opacity: .6; }
.outlast-winner-banner { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; background: linear-gradient(135deg, rgba(52, 211, 153, .14), rgba(34, 211, 238, .1)); border: 1px solid rgba(52, 211, 153, .35); border-radius: 18px; }
.outlast-winner-banner h2 { margin: 0; }
.outlast-used-teams { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.outlast-hero { position: relative; z-index: 5; flex-direction: column; align-items: stretch; text-align: center; background: none; border: 0; box-shadow: none; padding: clamp(.5rem, 3vw, 1.5rem) 0 0; overflow: visible; }
.outlast-status-pin { position: absolute; top: 0; left: 0; }
.outlast-status-pin-trigger { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .5rem .5rem .9rem; color: var(--text); font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; transition: filter .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.outlast-status-pin-trigger:hover { filter: brightness(1.2); transform: translateY(-1px); border-color: rgba(34, 211, 238, .4); box-shadow: 0 4px 14px rgba(34, 211, 238, .24); }
.outlast-status-panel.nav-dropdown-menu { left: 0; top: calc(100% + .6rem); width: min(320px, 86vw); padding: 1rem 1.15rem; color: var(--muted); font-size: .88rem; line-height: 1.6; text-align: left; }
@media (hover: hover) { .outlast-status-pin:hover .outlast-status-panel { display: flex; } }
@media (max-width: 640px) { .outlast-status-pin { position: static; align-self: center; margin: 0 0 1rem; } .outlast-status-panel.nav-dropdown-menu { left: 50%; transform: translateX(-50%); } }
.outlast-hero-body { width: 100%; }
/* This h1 holds a logo, so lift the global max-width. */
.outlast-logo-heading { margin: 0; line-height: 0; max-width: none; }
.outlast-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 220px; margin: .3rem auto .1rem; filter: drop-shadow(0 0 26px rgba(239, 68, 68, .22)) drop-shadow(0 0 30px rgba(45, 212, 191, .16)); }
@media (max-width: 540px) { .outlast-logo { max-height: 150px; } }
.outlast-howto { display: inline-block; position: relative; margin: .6rem auto 0; }
.outlast-howto-trigger { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; color: var(--cyan); font-size: .85rem; font-weight: 700; background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .35); border-radius: 999px; cursor: pointer; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.outlast-howto-trigger:hover { background: rgba(34, 211, 238, .14); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34, 211, 238, .24); }
.outlast-howto-panel.nav-dropdown-menu { left: 50%; top: calc(100% + .6rem); width: min(590px, 92vw); padding: 1rem 1.15rem; color: var(--muted); font-size: .88rem; line-height: 1.6; text-align: left; transform: translateX(-50%); }
@media (hover: hover) { .outlast-howto:hover .outlast-howto-panel { display: flex; } }
.outlast-clock { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .7rem; padding: .75rem 1.1rem; margin-bottom: 1rem; background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .3); border-radius: 14px; text-align: center; transition: background-color .2s ease, border-color .2s ease; }
.outlast-clock-label { color: var(--amber); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.outlast-clock-team { color: var(--muted); font-size: .85rem; font-weight: 600; }
.outlast-clock-timer { font-variant-numeric: tabular-nums; font-size: 1rem; font-weight: 800; }
.outlast-clock-urgent { background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .4); }
.outlast-clock-urgent .outlast-clock-timer { color: var(--rose); }
.outlast-clock-locked .outlast-clock-timer { color: var(--rose); }
/* Pick snap animation; JS re-adds the class to replay it. */
.pick-helmet-pop { animation: pick-pop .32s ease-out; }
@keyframes pick-pop { 0% { transform: scale(1); } 40% { transform: scale(1.15); } 70% { transform: scale(.96); } 100% { transform: scale(1); } }
.pick-locked { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .82rem; font-weight: 800; }
.pick-result { display: inline-flex; font-weight: 800; } .pick-correct { color: var(--green); } .pick-incorrect { color: var(--rose); } .pick-push { color: var(--amber); }
.rank-move { margin-left: .35rem; font-size: .72rem; font-weight: 800; } .rank-up { color: var(--green); } .rank-down { color: var(--rose); }
.streak { font-weight: 800; } .streak-win { color: var(--green); } .streak-loss { color: var(--rose); }

.weekly-grid th, .weekly-grid td { padding: .55rem .65rem; text-align: center; font-variant-numeric: tabular-nums; }
.weekly-grid thead th { vertical-align: bottom; }
.weekly-grid-season { display: block; color: var(--muted); font-size: .62rem; letter-spacing: .04em; }
.weekly-grid tbody th, .weekly-grid thead th:first-child { position: sticky; left: 0; z-index: 1; min-width: 7.5rem; max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; text-align: left; color: var(--text); font-size: .85rem; letter-spacing: 0; text-transform: none; background: var(--surface); border-right: 1px solid var(--line); }
.weekly-grid .weekly-grid-model th, .weekly-grid .weekly-grid-model td { background: var(--surface-2); }
.weekly-grid .weekly-grid-model th { color: var(--cyan); font-weight: 800; }
.weekly-grid-score { font-weight: 800; }
.weekly-grid-pct { margin-left: .35rem; color: var(--muted); font-size: .72rem; }
.weekly-grid-mark { margin-left: .3rem; font-size: .7rem; font-weight: 800; }
.weekly-grid-beat { color: var(--green); }
.weekly-grid-lost { color: var(--rose); }
.weekly-grid td.heat-hi { background-color: color-mix(in srgb, var(--green) calc(var(--heat) * .2%), transparent); }
.weekly-grid td.heat-lo { background-color: color-mix(in srgb, var(--rose) calc(var(--heat) * .2%), transparent); }
.weekly-grid-beat .weekly-grid-pct, .weekly-grid-lost .weekly-grid-pct { color: inherit; opacity: .85; }
.weekly-grid-empty { color: var(--muted); }
.weekly-grid-wrap:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.weekly-grid-legend { margin: .6rem 0 0; font-size: .78rem; }

.section-heading-controls { display: flex; align-items: center; gap: 1rem; }
.settings-section { display: flex; flex: 1 1 100%; flex-direction: column; align-items: flex-start; gap: .6rem; }
.settings-section + .settings-section { padding-top: 1rem; margin-top: .3rem; border-top: 1px solid var(--line); }
/* Divider above the danger zone, which follows buttons rather than a section. */
.settings-section-security { padding-top: 1.1rem; margin-top: 1.2rem; border-top: 1px solid var(--line); }
.badge-picker { display: flex; flex-wrap: wrap; gap: .5rem; width: 100%; }
.badge-option { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .6rem .35rem .35rem; color: var(--muted); font-size: .78rem; font-weight: 700; background: rgba(151, 166, 186, .1); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.badge-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.badge-option:has(input:checked) { color: var(--text); border-color: var(--cyan); }
.badge-option-swatch { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: .6rem; font-weight: 800; }
.badge-option-swatch.badge-option-none { background: rgba(151, 166, 186, .18); color: var(--muted); }
.badge-option-swatch.badge-option-image { object-fit: contain; }
[data-tooltip] { cursor: help; }
.tooltip-bubble { position: fixed; z-index: 300; max-width: 220px; padding: .5rem .7rem; color: var(--text); font-size: .76rem; font-weight: 600; line-height: 1.35; text-align: center; background: var(--panel-strong); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); pointer-events: none; }
.tooltip-bubble[hidden] { display: none; }
.badge-picker button[type="submit"] { flex: 0 0 auto; margin-left: .3rem; padding: .55rem 1rem; color: #06111c; font-weight: 800; background: var(--cyan); border: 0; border-radius: 10px; cursor: pointer; }
/* Small badge shown next to a player's name. */
.name-badge { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: .4rem; border-radius: 50%; font-size: .56rem; font-weight: 800; vertical-align: middle; }
.name-badge-image { object-fit: contain; background: none; }
.picker-chip .name-badge { margin-right: 0; flex: 0 0 auto; }
/* The reigning Outlast champion's name (see the champion_name macro). */
.outlast-champion-name { color: var(--amber); }
.champion-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem .35rem .5rem; color: var(--amber); font-size: .78rem; font-weight: 700; white-space: nowrap; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3); border-radius: 99px; text-decoration: none; transition: filter .15s ease, transform .15s ease; }
.champion-pill-eyebrow { display: none; }
.champion-pill-row { display: inline-flex; align-items: center; gap: .35rem; }
.champion-pill-badge { width: 22px; height: 22px; object-fit: contain; }
.champion-pill strong { color: var(--text); }
a.champion-pill:hover { filter: brightness(1.15); transform: translateY(-1px); }
@media (max-width: 800px) {
  .champion-pill { width: 100%; flex-direction: column; gap: .15rem; padding: .6rem .9rem; border-radius: 16px; margin-top: .1rem; }
  .champion-pill-eyebrow { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
  .champion-pill-row { font-size: .95rem; }
}
.password-toggle { width: 100%; }
.password-toggle summary { display: inline-flex; align-items: center; gap: .4rem; color: var(--cyan); font-size: .85rem; font-weight: 800; list-style: none; cursor: pointer; }
.password-toggle summary::-webkit-details-marker { display: none; }
.password-toggle summary::after { content: '▾'; font-size: .7em; transition: transform .15s ease; }
.password-toggle[open] summary::after { transform: rotate(180deg); }
.password-toggle .notice { margin-top: .8rem; }
.password-toggle .password-form { margin-top: .8rem; }
.settings-section-title { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.join-form.password-form { gap: .75rem; }
.join-form.password-form input, .join-form.password-form button { flex: 1 1 100%; }
.select-field-row { display: flex; gap: .6rem; width: 100%; }
.select-field { display: flex; flex: 1 1 0; flex-direction: column; gap: .3rem; min-width: 0; color: var(--muted); font-size: .82rem; font-weight: 700; }
.switch-field { display: flex; align-items: center; justify-content: space-between; gap: .55rem; width: 100%; color: var(--muted); font-size: .82rem; font-weight: 700; cursor: pointer; }
.switch-field > span:first-child { flex: 1 1 auto; }
.switch { position: relative; display: inline-block; width: 38px; height: 22px; flex: 0 0 auto; }
.switch input { position: absolute; inset: 0; width: 100%; min-width: 0; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { position: absolute; inset: 0; background: rgba(151, 166, 186, .22); border-radius: 99px; transition: background .15s ease; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--text); border-radius: 50%; transition: transform .15s ease; }
.switch input:checked + .switch-track { background: var(--team-secondary); }
.switch input:checked ~ .switch-thumb { transform: translateX(16px); }
.switch input:focus-visible ~ .switch-thumb { box-shadow: 0 0 0 3px rgba(34, 211, 238, .35); }

/* Logo clash intro: away flies in from the left, home from the right, overshooting center. */
.game-hero .team-logo-xl { animation-duration: .75s; animation-timing-function: cubic-bezier(.22, .9, .3, 1); animation-fill-mode: both; }
.game-team:first-of-type .team-logo-xl { animation-name: clash-in-left; } .game-team:last-of-type .team-logo-xl { animation-name: clash-in-right; }
@keyframes clash-in-left { 0% { transform: translateX(-60vw) rotate(-14deg); opacity: 0; } 55% { transform: translateX(3vw) rotate(6deg); opacity: 1; } 72% { transform: translateX(-1.5vw) rotate(-3deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes clash-in-right { 0% { transform: translateX(60vw) rotate(14deg); opacity: 0; } 55% { transform: translateX(-3vw) rotate(-6deg); opacity: 1; } 72% { transform: translateX(1.5vw) rotate(3deg); } 100% { transform: translateX(0) rotate(0); } }
.game-score { position: relative; }
.game-score::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%); transform: translate(-50%, -50%) scale(0); opacity: 0; animation: clash-impact .75s cubic-bezier(.22, .9, .3, 1) both; pointer-events: none; }
@keyframes clash-impact { 0%, 50% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 60% { transform: translate(-50%, -50%) scale(10); opacity: .8; } 100% { transform: translate(-50%, -50%) scale(15); opacity: 0; } }

/* Matchup card hover lift. */
.matchup-card { box-shadow: 0 10px 26px rgba(0, 0, 0, .4); transition: transform .18s ease-out, box-shadow .18s ease-out; cursor: pointer; }
.matchup-card:hover, .matchup-card:focus-within { transform: translateY(-4px) scale(1.015); box-shadow: 0 22px 60px rgba(0, 0, 0, .45); }
.matchup-card:active { transform: scale(.985); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); transition: transform .08s ease-out, box-shadow .08s ease-out; }

/* Favorite-team gradient border (--fav-1/--fav-2), using the two-background-layer trick. */
.matchup-card-favorite { border: 3px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(to bottom right, var(--fav-1), var(--fav-2)); background-origin: border-box; background-clip: padding-box, border-box; }

/* Team-tinted matchup cards (the slate and Outlast), colored by --away-color/--home-color. */
.matchup-card[style*="--away-color"] { --wash-boost: 1; container-type: inline-size; position: relative; isolation: isolate; padding: .7rem .8rem .65rem; background-color: var(--surface); }
.matchup-card-favorite[style*="--away-color"] { --wash-boost: 1.12; }
.matchup-card[style*="--away-color"]::after,
.game-hero[style*="--away-color"]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; opacity: .22; background: radial-gradient(ellipse 130% 150% at 0% 0%, var(--away-color, transparent) 0%, transparent 68%), radial-gradient(ellipse 130% 150% at 100% 100%, var(--home-color, transparent) 0%, transparent 68%); }
@supports (color: hsl(from red h s l)) {
  .matchup-card[style*="--away-color"]::after,
  .game-hero[style*="--away-color"]::after { opacity: 1; background: radial-gradient(ellipse 138% 168% at -6% -14%, hsl(from var(--away-color) h max(s, min(calc(s * 2), 52)) clamp(34, l, 48) / calc(clamp(0.22, 0.95 - l / 90, 0.84) * var(--wash-boost))) 0%, transparent 70%), radial-gradient(ellipse 138% 168% at 106% 114%, hsl(from var(--home-color) h max(s, min(calc(s * 2), 52)) clamp(34, l, 48) / calc(clamp(0.22, 0.95 - l / 90, 0.84) * var(--wash-boost))) 0%, transparent 70%); }
}
.game-hero[style*="--away-color"] { --wash-boost: 1; position: relative; isolation: isolate; background-color: var(--surface); background-image: none; }
.matchup-card[style*="--away-color"] .card-meta { justify-content: flex-start; align-items: center; gap: 0; min-height: 1.7rem; }
.matchup-card[style*="--away-color"] .card-meta-status { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; margin-right: auto; padding-right: 1.6rem; }
.matchup-card[style*="--away-color"] .card-meta time { flex: 0 0 auto; margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-size: .72rem; font-weight: 700; }
.matchup-card[style*="--away-color"] .confidence-badge, .matchup-card[style*="--away-color"] .reveal-badge { margin-left: 0; padding: .18rem .5rem; font-size: .64rem; }
.matchup-card[style*="--away-color"] .teams-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .4rem; align-items: center; padding: .45rem 0 .35rem; }
.matchup-card[style*="--away-color"] .team-lockup { gap: .5rem; min-width: 0; }
/* Marks sit on the wash: no badge plate and no framed square behind them. */
.matchup-card[style*="--away-color"] .team-logo,
.matchup-card[style*="--away-color"] .team-badge.team-logo,
.game-hero[style*="--away-color"] .team-logo,
.game-hero[style*="--away-color"] .team-badge { background: transparent; border: 0; box-shadow: none; }
.matchup-card[style*="--away-color"] .team-logo, .matchup-card[style*="--away-color"] .team-badge.team-logo { width: 58px; height: 58px; font-size: 1.02rem; }
.matchup-card[style*="--away-color"] .team-id { display: flex; flex-direction: column; gap: .08rem; min-width: 0; line-height: 1.05; }
.matchup-card[style*="--away-color"] .team-lockup-right .team-id { align-items: flex-end; text-align: right; }
.matchup-card[style*="--away-color"] .team-nick,
.game-hero[style*="--away-color"] .team-nick { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.matchup-card[style*="--away-color"] .team-city,
.game-hero[style*="--away-color"] .team-city { color: #fff; font-size: .95rem; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.matchup-card[style*="--away-color"] .team-record { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.game-hero[style*="--away-color"] .team-id { display: flex; flex-direction: column; align-items: center; gap: .08rem; width: 100%; min-width: 0; max-width: 100%; line-height: 1.05; text-align: center; }
.game-hero[style*="--away-color"] .team-city { font-size: clamp(.78rem, 3.2vw, 1.05rem); white-space: normal; overflow: visible; }
.game-hero[style*="--away-color"] .game-score > strong { color: #fff; }
.game-score > strong [data-hero-away], .game-score > strong [data-hero-home] { color: inherit; font-size: inherit; }
.matchup-card[style*="--away-color"] .score-block { min-width: 0; text-align: center; }
.matchup-card[style*="--away-color"] .score-prediction strong { color: #fff; font-size: 1.7rem; font-size: clamp(1.55rem, 5cqi, 2.15rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.matchup-card[style*="--away-color"] .score-prediction small { color: rgba(255, 255, 255, .78); }
.matchup-card[style*="--away-color"] .score-prediction span { color: #d7e0ec; }
.matchup-card[style*="--away-color"] .score-prediction-final span { color: #f4f7fb; }
.matchup-card[style*="--away-color"] .score-prediction-live span, .matchup-card[style*="--away-color"] .score-prediction-final span { position: absolute; top: .62rem; right: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .32rem; max-width: 46%; margin: 0; padding: .12rem .48rem .12rem .38rem; overflow: hidden; color: #f4fdff; line-height: 1.2; letter-spacing: .04em; white-space: nowrap; text-overflow: ellipsis; background: rgba(7, 11, 24, .92); border: 1px solid rgba(125, 249, 255, .75); border-radius: 99px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45); }
.matchup-card[style*="--away-color"] .score-prediction-final span { color: #f4f7fb; border-color: rgba(230, 237, 247, .35); }
.matchup-card[style*="--away-color"] .score-prediction-final span del { display: none; }
.matchup-card[style*="--away-color"] .score-prediction-live span::before { margin-right: 0; flex: 0 0 auto; background: var(--cyan); color: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.matchup-card[style*="--away-color"]:has(.score-prediction-live) .card-meta time, .matchup-card[style*="--away-color"]:has(.score-prediction-final) .card-meta time { visibility: hidden; width: 5.6rem; }
.matchup-card[style*="--away-color"] .score-chance { max-width: 11rem; margin: .1rem auto 0; overflow: hidden; color: #c5d0e0; font-size: .68rem; font-weight: 700; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.matchup-card[style*="--away-color"] .probability-row { margin-top: .15rem; color: #edf2f8; font-size: .82rem; font-variant-numeric: tabular-nums; }
.matchup-card[style*="--away-color"] .probability-track { height: 12px; background: var(--home-color, rgba(151, 166, 186, .16)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.matchup-card[style*="--away-color"] .probability-track i { background: var(--away-color, var(--cyan)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
/* Community pick split under the model bar. */
.community-split:not([hidden]) { display: flex; flex-direction: column; align-items: center; gap: .1rem; margin-top: .42rem; }
.community-split-label { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .02em; }
.community-split-counts { margin: 0; color: #c5d0e0; font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1.2; }
.community-split-sep { color: #8ea0b8; font-weight: 700; }
.community-split-track { width: 100%; height: 4px; margin-top: .16rem; overflow: hidden; background: var(--home-color, rgba(151, 166, 186, .28)); border-radius: 99px; opacity: .8; }
.community-split-track i { display: block; height: 100%; width: 0; background: var(--away-color, var(--cyan)); border-radius: inherit; }
.matchup-card[style*="--away-color"] .called-it-compact, .matchup-card[style*="--away-color"] .analysis-list { display: none; }
/* Pick'em on the slate: the helmet is the pick, as in the app. A cyan ring and check mark
   the pick; after the final the mark shows the result. The team name opens the team page. */
.pick-helmet { position: relative; display: inline-flex; flex: 0 0 auto; margin: 0; }
.pick-helmet-btn { position: relative; display: inline-flex; padding: 3px; color: inherit; background: none; border: 0; border-radius: 50%; cursor: pointer; transition: transform .12s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.pick-helmet-btn:hover { box-shadow: inset 0 0 0 2px rgba(34, 211, 238, .45); }
.pick-helmet-btn:active { transform: scale(.94); }
.pick-helmet-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, .55); }
span.pick-helmet { padding: 3px; border-radius: 50%; }
.pick-helmet-active, .pick-helmet-active:hover { box-shadow: inset 0 0 0 2px var(--cyan); }
.pick-mark { position: absolute; right: -2px; bottom: -2px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: #06111c; font-size: .72rem; font-weight: 900; line-height: 1; background: var(--cyan); border: 2px solid var(--bg); border-radius: 50%; pointer-events: none; }
.pick-helmet-btn:not(.pick-helmet-active) .pick-mark { display: none; }
.pick-mark.pick-correct { background: var(--green); } .pick-mark.pick-incorrect { color: #fff; background: var(--rose); } .pick-mark.pick-push { background: var(--amber); }
.team-name-link { min-width: 0; color: inherit; }
.team-name-link:hover .team-city { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.matchup-card .team-name-link:hover .team-city { text-decoration: none; }
.matchup-card .team-name-link .team-city, .matchup-card .team-name-link .team-nick { transition: color .15s ease-out; }
.matchup-card .team-name-link:hover .team-city, .matchup-card .team-name-link:focus-visible .team-city, .matchup-card .team-name-link:hover .team-nick, .matchup-card .team-name-link:focus-visible .team-nick { color: var(--cyan); }
.team-name-missed .team-city { text-decoration: line-through; }
.matchup-card[style*="--away-color"] .card-link { align-items: center; padding-top: .35rem; margin-top: .15rem; border-top: 0; font-size: .75rem; }
.matchup-card[style*="--away-color"] .card-link .comment-indicator { margin: 0; padding: 0; color: inherit; font: inherit; line-height: 1; background: none; border: 0; cursor: pointer; opacity: 1; }
@container (max-width: 430px) {
  .matchup-card[style*="--away-color"] .team-lockup { flex-direction: column; align-items: center; gap: .28rem; text-align: center; }
  .matchup-card[style*="--away-color"] .team-logo, .matchup-card[style*="--away-color"] .team-badge.team-logo { order: -1; width: 52px; height: 52px; }
  .matchup-card[style*="--away-color"] .pick-helmet { order: -1; }
  .matchup-card[style*="--away-color"] .team-id, .matchup-card[style*="--away-color"] .team-lockup-right .team-id { align-items: center; text-align: center; }
  .matchup-card[style*="--away-color"] .team-city { font-size: .78rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .matchup-card[style*="--away-color"] .score-chance { font-size: .62rem; }
}
/* Edge cards share the slate's look but keep analysis and the line comparison. */
.matchup-card.bet-card[style*="--away-color"] { display: flex; flex-direction: column; }
.matchup-card.bet-card[style*="--away-color"] .analysis-list { display: grid; min-height: 0; margin-top: .15rem; }
.matchup-card.bet-card[style*="--away-color"] .bet-card-foot { margin-top: auto; }
.matchup-card.bet-card[style*="--away-color"] .card-footer-row { margin: .45rem 0 .1rem; padding-top: .4rem; }
.matchup-card.bet-card[style*="--away-color"] .pick-line { flex-wrap: wrap; gap: .15rem .6rem; font-size: .75rem; line-height: 1.3; }
.matchup-card.bet-card[style*="--away-color"] .pick-line strong { font-size: .8rem; white-space: nowrap; }
.matchup-card.bet-card[style*="--away-color"] .value-badge { color: var(--green); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); }
.matchup-card.bet-card[style*="--away-color"] .score-prediction .bet-odds,
.matchup-card.bet-card[style*="--away-color"] .score-prediction .total-pick-value { color: #fff; }
.matchup-card.bet-card .edge-side-block { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .5rem 0 .15rem; }
.matchup-card.bet-card .edge-side { flex-direction: column; justify-content: center; gap: .3rem; width: 100%; padding: 0; text-align: center; }
.matchup-card.bet-card .edge-side .team-id { align-items: center; text-align: center; }
.matchup-card.bet-card .edge-side .team-logo,
.matchup-card.bet-card .edge-side .team-badge.team-logo { width: 68px; height: 68px; font-size: 1.15rem; }
.matchup-card.bet-card .edge-side .team-nick { color: var(--green); font-size: .68rem; }
.matchup-card.bet-card .edge-side .team-city { font-size: 1.25rem; white-space: normal; }
.matchup-card.bet-card .edge-side-block .score-chance { max-width: none; }
.matchup-card.edge-total-card .edge-total-side { margin: 0 0 .1rem; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.matchup-card.edge-total-card .score-chance { max-width: none; }
/* One card per row from phone through tablet. Desktop keeps two columns. */
@media (max-width: 960px) { .matchup-grid { grid-template-columns: 1fr; } }

@keyframes recap-fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes recap-pop-in { 0% { transform: scale(.92); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Matchup comments modal. */
.comment-modal { text-align: left; }
.comment-modal-score { margin: 0 0 1rem; text-align: center; font-size: 1.1rem; font-weight: 800; } .comment-modal-score span { margin-left: .4rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.comment-thread { display: flex; flex-direction: column; gap: .6rem; max-height: 260px; margin-bottom: .9rem; overflow-y: auto; }
.comment { padding: .55rem .7rem; background: rgba(151, 166, 186, .08); border: 1px solid var(--line); border-radius: 12px; }
.comment-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.comment-author { font-size: .78rem; font-weight: 800; }
.comment-body { margin: .25rem 0 0; font-size: .88rem; overflow-wrap: anywhere; }
.comment-delete-btn { padding: 0; color: var(--muted); font-size: .72rem; font-weight: 700; background: none; border: 0; cursor: pointer; }
.comment-delete-btn:hover { color: var(--text); text-decoration: underline; }
.comment-empty { margin: 0; text-align: center; }
.comment-form { display: flex; flex-direction: column; gap: .5rem; }
.comment-form textarea { min-height: 4.5rem; padding: .6rem .7rem; color: var(--text); font: inherit; background: rgba(151, 166, 186, .08); border: 1px solid var(--line); border-radius: 12px; resize: vertical; }
.comment-form button { align-self: flex-end; padding: .5rem 1rem; color: var(--text); font-weight: 700; background: rgba(34, 211, 238, .14); border: 1px solid var(--cyan); border-radius: 99px; cursor: pointer; }
.comment-form button:hover { background: rgba(34, 211, 238, .22); }
.comment-login-hint { margin: 0; text-align: center; }

/* Comment count in the card's bottom-right corner. */
.card-meta-week { display: inline-flex; align-items: center; gap: .3rem; }
.comment-indicator { display: inline-flex; align-items: center; gap: .15rem; color: var(--muted); opacity: .45; transition: opacity .15s ease-out, color .15s ease-out; }
.matchup-card:hover .comment-indicator, .matchup-card:focus-within .comment-indicator { opacity: .8; }
.comment-indicator-active { color: var(--cyan); opacity: .85; }
.matchup-card:hover .comment-indicator-active, .matchup-card:focus-within .comment-indicator-active { opacity: 1; }
.comment-indicator-count { font-size: .74rem; font-weight: 800; }

/* Login, signup and account popups. */
.modal-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(3, 6, 14, .72); animation: recap-fade-in .2s ease-out; }
.modal { position: relative; width: min(100%, 380px); padding: 1.75rem; background: var(--panel-strong); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); animation: recap-pop-in .22s ease-out; }
.modal h2 { margin: .4rem 0 1rem; font-size: 1.35rem; }
.modal-close { position: absolute; top: .7rem; right: .8rem; width: 28px; height: 28px; color: var(--muted); font-size: 1.1rem; line-height: 1; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.modal-close:hover { color: var(--text); background: rgba(151, 166, 186, .12); }
.achievement-modal { text-align: center; }
.achievement-modal .eyebrow { color: var(--amber); }
.achievement-row { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: .6rem 0; }
.achievement-swatch { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.1rem; font-weight: 800; }

/* Week recap and "What's new": inline dismissible cards at the top of Matchups. */
.inline-card:not([hidden]) { position: relative; margin: 0 0 .85rem; padding: 1rem 3rem 1rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.recap-card:not([hidden]) { background: linear-gradient(135deg, rgba(34, 211, 238, .12), var(--panel-strong)); border-color: rgba(34, 211, 238, .38); }
.inline-card h2 { margin: .2rem 0 .3rem; font-size: 1.15rem; }
.inline-card-meta { margin: 0 0 .5rem; color: var(--muted); font-size: .85rem; }
.inline-card-dismiss { position: absolute; top: .2rem; right: .2rem; width: 44px; height: 44px; color: var(--muted); font-size: 1.3rem; line-height: 1; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.inline-card-dismiss:hover { color: var(--text); background: rgba(151, 166, 186, .12); }
.inline-card-dismiss:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.whats-new-list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.whats-new-list li { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.whats-new-list li strong { display: block; color: var(--text); font-size: .95rem; }

/* Feature-discovery dots on nav items the player hasn't opened yet. */
nav a[data-discover-key], .nav-dropdown-trigger { position: relative; }
[data-discover-key].nav-unseen::after, .nav-dropdown-trigger.nav-unseen::after { content: ''; position: absolute; top: -2px; right: -9px; width: 7px; height: 7px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 2px var(--bg); }
.nav-dropdown-menu a.nav-unseen::after { top: 50%; right: .55rem; transform: translateY(-50%); }
.bottom-nav a.nav-unseen::after, .bottom-nav .nav-dropdown-trigger.nav-unseen::after { top: .35rem; right: .35rem; }
.achievement-swatch-image { object-fit: contain; background: none; }
.achievement-row strong { font-size: 1.05rem; }

.matchup-grid-compact .matchup-card { padding: .8rem; }
.matchup-grid-compact .teams-row { padding: .6rem 0; gap: .5rem; }
.matchup-grid-compact .team-logo { width: 26px; height: 26px; }
.matchup-grid-compact .matchup-card-locked { position: relative; }
.matchup-grid-compact .matchup-card-locked::before { content: ""; position: absolute; inset: 0; background: rgba(6, 10, 20, .55); border-radius: inherit; z-index: 1; pointer-events: none; }
.matchup-grid-compact .outlast-lock-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .6)); z-index: 2; pointer-events: none; }
.matchup-grid-compact .score-prediction strong { font-size: 1.2rem; }
.matchup-grid-compact .matchup-card[style*="--away-color"] .score-prediction strong { font-size: 1.55rem; font-size: clamp(1.45rem, 5cqi, 1.9rem); }
.matchup-grid-compact .matchup-card[style*="--away-color"] .team-logo, .matchup-grid-compact .matchup-card[style*="--away-color"] .team-badge.team-logo { width: 48px; height: 48px; }
.matchup-grid-compact .card-footer-row { margin: .6rem 0 .5rem; padding-top: .6rem; }
.matchup-grid-compact .analysis-list { display: none; }
.matchup-grid-compact .pick-row { padding-top: .5rem; margin-top: .4rem; }

/* Weekly habit loop: deadline banner and Monday scorecard teaser. */
.habit-banner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .95rem 1.05rem; margin-bottom: 1.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.habit-banner-quiet { background: rgba(52, 211, 153, .06); border-color: rgba(52, 211, 153, .22); }
.habit-banner-copy { flex: 1 1 16rem; min-width: 0; }
.habit-banner-copy h2 { margin: .15rem 0 0; font-size: 1.05rem; }
.habit-banner-copy p { margin: .3rem 0 0; color: var(--muted); font-size: .84rem; }
.habit-banner-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.habit-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.habit-banner-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.05rem; color: #06111c; font-size: .85rem; font-weight: 800; background: var(--cyan); border-radius: 999px; }
.habit-clock { color: var(--cyan); font-weight: 800; }
.scorecard-teaser:not([hidden]) { position: relative; display: block; padding: 1.15rem 2.6rem 1.15rem 1.25rem; margin-bottom: 1.25rem; background: linear-gradient(135deg, rgba(34, 211, 238, .12), var(--panel-strong)); border: 1px solid rgba(34, 211, 238, .28); border-radius: 18px; }
.scorecard-teaser h2 { margin: .2rem 0 .3rem; font-size: 1.35rem; }
.scorecard-teaser-line { margin: 0 0 .7rem; color: var(--muted); font-size: .88rem; }
.scorecard-dismiss { position: absolute; top: .35rem; right: .4rem; width: 44px; height: 44px; color: var(--muted); font-size: 1.2rem; line-height: 1; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.scorecard-dismiss:hover { color: var(--text); background: rgba(151, 166, 186, .12); }
.scorecard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 0 0 1.25rem; }
.scorecard-stat { display: block; padding: .9rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
a.scorecard-stat:hover { border-color: rgba(34, 211, 238, .45); }
.scorecard-stat span { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scorecard-stat strong { display: block; margin-top: .25rem; font-size: 1.2rem; }
.scorecard-stat small { display: block; margin-top: .2rem; }
.scorecard-note { margin: 0 0 1.25rem; color: var(--muted); font-size: .9rem; }
.scorecard-highlights { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.scorecard-highlights li { padding: .8rem 0; border-top: 1px solid var(--line); }
.scorecard-highlights li p { margin: .25rem 0 0; }
.called-it-summary { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.called-it-compact { margin: .35rem 0 .15rem; color: var(--muted); font-size: .8rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.analysis-list li.called-it-helped::before { background: var(--green); }
.analysis-list li.called-it-hurt::before { background: var(--rose); }
.matchup-card .called-it-compact, .schedule-score .called-it-compact, .scorecard-highlights .called-it-compact { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.scorecard-highlight-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; }
.scorecard-highlight-row a { font-weight: 800; }
.scorecard-footer { margin: .5rem 0 1.5rem; }
@media (max-width: 540px) {
  .habit-banner-actions, .habit-banner-action { flex: 1 1 100%; }
  .scorecard-teaser:not([hidden]) { padding-right: 2.4rem; }
}

/* Matchups dual chip under search. */
.habit-strip { display: flex; flex-wrap: nowrap; align-items: stretch; gap: .4rem; height: 60px; margin: 0 0 .85rem; }
.habit-strip:not(:has(:not([hidden]))) { display: none; height: 0; margin: 0; }
.habit-chip:not([hidden]) { position: relative; display: flex; align-items: center; flex: 0 1 auto; max-width: 100%; min-width: 0; height: 100%; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.habit-chip-link, a.habit-chip:not([hidden]) { color: inherit; }
.habit-chip-link { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 2.05rem 0 .8rem; border-radius: inherit; }
a.habit-chip:not([hidden]) { padding: 0 .8rem; }
.habit-chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.habit-chip-scorecard:not([hidden]) { color: var(--cyan); background: linear-gradient(135deg, rgba(34, 211, 238, .16), var(--panel-strong)); border-color: rgba(34, 211, 238, .38); }
.habit-chip-quiet:not([hidden]), .habit-chip-alive:not([hidden]) { color: var(--green); background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .38); }
.habit-chip-eliminated:not([hidden]) { color: var(--rose); background: rgba(251, 113, 133, .08); border-color: rgba(251, 113, 133, .38); }
.habit-chip-picks:not(.habit-chip-quiet):not(.habit-chip-alive):not(.habit-chip-eliminated):not([hidden]) { border-color: rgba(34, 211, 238, .28); }
.habit-chip-link:hover, a.habit-chip:hover { filter: brightness(1.12); }
.habit-chip-link:focus-visible, a.habit-chip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.habit-chip-dismiss { position: absolute; top: 50%; right: .2rem; z-index: 1; transform: translateY(-50%); width: 28px; height: 28px; color: var(--muted); font-size: 1.05rem; line-height: 1; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.habit-chip-dismiss:hover { color: var(--text); background: rgba(151, 166, 186, .12); }
@media (min-width: 720px) {
  .habit-chip:not([hidden]) { max-width: 22rem; }
}
/* Centered Matchups hero. Each line pads by its own letter-spacing to stay centered. */
.hero.hero-tight { justify-content: center; align-items: center; text-align: center; padding: .8rem 1rem; margin-bottom: 1rem; }
.hero.hero-tight > div { width: 100%; }
.hero.hero-tight .eyebrow { margin-bottom: .15rem; padding-left: .14em; }
.hero.hero-tight h1 { max-width: none; margin-bottom: 0; padding-right: .055em; font-size: clamp(1.7rem, 6vw, 2.35rem); }
.scores-updated { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: -.35rem 0 .9rem; color: var(--muted); font-size: .8rem; } .scores-updated[hidden] { display: none; } .scores-updated-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); animation: scores-pulse 2s ease-out infinite; } .scores-updated.is-stale { color: var(--amber); } .scores-updated.is-stale .scores-updated-dot { background: var(--amber); animation: none; }
@keyframes scores-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); } 70% { box-shadow: 0 0 0 .4rem rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@media (prefers-reduced-motion: reduce) { .scores-updated-dot { animation: none; } }
/* League standings (/standings): one table per division, stacked by conference. */
.standings-divisions { display: grid; gap: 1rem; margin-bottom: 1rem; }
.league-table caption { padding: .9rem 1rem .2rem; text-align: left; color: var(--text); font-size: 1rem; font-weight: 800; }
.league-table th, .league-table td { padding: .7rem .8rem; font-variant-numeric: tabular-nums; }
.league-table tr:last-child th { border-bottom: 0; }
.league-table tbody th { font-weight: inherit; text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; }
.league-table abbr { text-decoration: none; cursor: help; }
.league-table .team-lockup { min-height: 44px; }
.standings-team-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.standings-team-abbr { font-weight: 800; }
.standings-team-name { color: var(--muted); font-size: .8rem; font-weight: 600; }
.standings-in-field td:nth-last-child(2) { color: var(--cyan); font-weight: 800; }
.standings-positive { color: var(--green); } .standings-negative { color: var(--rose); }
.standings-playoff { min-width: 7.5rem; }
.standings-playoff-label { display: inline-block; min-width: 2.6rem; font-weight: 800; }
.standings-playoff-meter { display: inline-block; vertical-align: middle; width: 3.5rem; height: 6px; margin-left: .35rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.standings-playoff-meter > span { display: block; height: 100%; border-radius: inherit; background: var(--cyan); }
@media (min-width: 641px) { .league-table { table-layout: fixed; } .league-table thead th:first-child { width: 26%; } .league-table thead th:last-child { width: 10.5rem; } }
@media (max-width: 640px) {
  .standings-optional { display: none; }
  .standings-team-name { font-size: .7rem; white-space: normal; }
  .league-table th, .league-table td { padding: .6rem .4rem; }
  .league-table thead th { letter-spacing: .02em; }
  .league-table caption { padding-inline: .6rem; }
  .standings-playoff { min-width: 0; }
  .standings-playoff-meter { display: none; }
}
/* Team page Schedule / Depth chart switch. */
.view-tabs { display: inline-flex; gap: .25rem; padding: .25rem; margin: 0 0 .5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.view-tabs a { padding: .45rem 1.1rem; border-radius: 999px; color: var(--muted); font-size: .88rem; font-weight: 800; text-decoration: none; }
.view-tabs a:hover { color: var(--text); }
.view-tabs a[aria-current="page"] { background: rgba(34, 211, 238, .14); color: var(--cyan); }
/* Team page depth chart: a row per position, a column per string. */
.depth-table { table-layout: fixed; }
.depth-table th, .depth-table td { padding: .65rem .8rem; white-space: normal; }
.depth-table thead th:first-child, .depth-table tbody th { width: 4.5rem; }
.depth-table tbody th { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.depth-table tbody th abbr { text-decoration: none; cursor: help; }
.depth-table tr:last-child th { border-bottom: 0; }
.depth-table td { color: var(--muted); font-size: .9rem; }
.depth-table td.depth-starter { color: var(--text); font-weight: 800; }
.depth-empty { opacity: .5; }
.injury-tag { display: inline-block; min-width: 1.3rem; padding: 0 .3rem; border: 1px solid var(--line); border-radius: 6px; font-size: .68rem; font-weight: 800; line-height: 1.35rem; text-align: center; vertical-align: middle; }
@media (max-width: 640px) {
  .depth-optional { display: none; }
  .depth-table th, .depth-table td { padding: .6rem .5rem; font-size: .85rem; }
  .depth-table thead th:first-child, .depth-table tbody th { width: 3.4rem; }
}
.injury-tag.impact-out { color: var(--rose); background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .35); }
.injury-tag.impact-doubtful { color: var(--amber); background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .35); }
.injury-tag.impact-questionable { color: var(--cyan); background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .3); }

/* Privacy policy and terms: long-form reading text */
.legal-copy { max-width: 72ch; margin-bottom: 2rem; padding: clamp(1.25rem, 3vw, 2rem); line-height: 1.65; }
.legal-copy h2 { margin: 1.75rem 0 .5rem; font-size: 1.05rem; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: .92rem; }
.legal-copy strong { color: var(--text); }
.legal-copy ul { padding-left: 1.15rem; }
.legal-copy li + li { margin-top: .4rem; }
.site-footer { flex-wrap: wrap; }
.site-footer-links { display: flex; gap: 1rem; }
.site-footer-fine { flex-basis: 100%; margin: 0; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.6; }
.site-footer-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; } .site-footer-fine a:hover { color: var(--cyan); }
.site-footer-fine .nowrap { white-space: nowrap; }
.edge-disclaimer { margin: 2.5rem 0 1rem; font-size: .85rem; }
.site-footer-links a { color: var(--muted); } .site-footer-links a:hover { color: var(--cyan); }
.danger-button { color: var(--rose) !important; background: rgba(251, 113, 133, .1) !important; border: 1px solid rgba(251, 113, 133, .35) !important; }
.box-score-card { margin-bottom: 2rem; } .box-score-table-wrap { margin-bottom: 1rem; border-radius: 12px; box-shadow: none; } .box-score-table th, .box-score-table td { padding: .55rem .7rem; font-size: .86rem; text-align: right; } .box-score-table thead th:first-child, .box-score-table tbody th { text-align: left; } .box-score-table tbody th { color: var(--text); font-size: .86rem; font-weight: 600; letter-spacing: 0; text-transform: none; } .box-score-team-stats th, .box-score-team-stats td { text-align: center; } .box-score-team-stats td { width: 30%; font-variant-numeric: tabular-nums; } .box-score-team-stats tbody th { color: var(--muted); text-align: center; } .box-score-team-stats thead th:first-child { text-align: center; } .box-score-table td { font-variant-numeric: tabular-nums; } .box-score-jersey { color: var(--muted); font-size: .78rem; } .box-score-subhead { margin: .5rem 0 .6rem; font-size: 1rem; } .scoring-plays { list-style: none; margin: 0; padding: 0; } .scoring-play { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: .7rem; align-items: baseline; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .86rem; } .scoring-play-when { color: var(--muted); font-variant-numeric: tabular-nums; } .scoring-play-text em { color: var(--cyan); font-style: normal; font-weight: 700; font-size: .75rem; } .scoring-play-score { font-weight: 800; font-variant-numeric: tabular-nums; } .box-score-players { min-width: 0; } .box-score-players h3 { margin-bottom: .8rem; }
@media (max-width: 640px) { .scoring-play { grid-template-columns: 1fr auto; } .scoring-play-when { grid-column: 1 / -1; font-size: .78rem; } }
.live-pill { display: inline-block; padding: .15rem .55rem; color: #070b18; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--rose); border-radius: 999px; animation: live-pulse 2s ease-in-out infinite; }
.game-score .live-pill { color: #070b18; font-size: .7rem; }
.game-score .game-live-clock { display: block; color: var(--text); font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.game-score > .game-live-down { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; } .game-live-down strong { color: var(--text); }
.game-score[data-live] > p:last-child { margin: .3rem 0 0; color: var(--muted); font-size: .8rem; font-weight: 400; }
@keyframes live-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .live-pill { animation: none; } }
.play-by-play-card { margin-bottom: 2rem; } .quarter-tabs { display: flex; width: fit-content; max-width: 100%; margin: .5rem 0 1rem; overflow-x: auto; scrollbar-width: none; } .quarter-tabs[hidden] { display: none; } .quarter-tabs::-webkit-scrollbar { display: none; } .quarter-tabs button { flex: none; padding: .45rem 1.1rem; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; } .quarter-tabs button:hover { color: var(--text); } .quarter-tabs button[aria-selected="true"] { background: rgba(34, 211, 238, .14); color: var(--cyan); } .quarter-tabs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; } .quarter-heading { margin: 1rem 0 .3rem; font-size: .95rem; } .quarters-tabbed .quarter-heading { display: none; } .quarter-panel[hidden] { display: none; } .drives { list-style: none; margin: 0; padding: 0; } .drives > li { border-top: 1px solid var(--line); } .drive summary { display: grid; grid-template-columns: 3rem 7.5rem 1fr auto; gap: .7rem; align-items: baseline; padding: .65rem 0; font-size: .86rem; cursor: pointer; list-style: none; } .drive summary::-webkit-details-marker { display: none; } .drive summary::before { content: "▸"; position: absolute; left: 0; color: var(--muted); font-size: .7rem; } .drive[open] summary::before { content: "▾"; } .drive summary { position: relative; padding-left: 1rem; } .drive-team { font-weight: 800; } .drive-result { color: var(--muted); font-weight: 700; } .drive-score .drive-result { color: var(--green); } .drive-live .drive-result { color: var(--rose); } .drive-desc { color: var(--muted); } .drive-when { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.drive-plays { list-style: none; margin: 0 0 .8rem; padding: 0 0 0 1rem; } .drive-play { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: .7rem; align-items: baseline; padding: .45rem 0; border-top: 1px dashed var(--line); font-size: .84rem; } .drive-play-when { color: var(--muted); font-variant-numeric: tabular-nums; } .drive-play-text em { color: var(--cyan); font-style: normal; font-weight: 700; font-size: .75rem; } .drive-play-score .drive-play-text { font-weight: 700; }
@media (max-width: 640px) { .drive summary { grid-template-columns: 3rem 1fr auto; } .drive-desc { grid-column: 2 / -1; font-size: .78rem; } .drive-play { grid-template-columns: 1fr auto; } .drive-play-when { grid-column: 1 / -1; font-size: .76rem; } }
.team-badge.team-helmet { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
/* A helmet is wider than tall and reads smaller than a logo at the same box, so the game hero gets more room on phones. */
@media (max-width: 540px) { .team-badge.team-helmet.team-logo-xl { width: 70px; height: 62px; } }

/* Game page tabs: one panel at a time under the score. Scrolls sideways on a narrow phone. */
.game-hero { margin-bottom: 1.25rem; }
.game-tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 1.5rem; overflow-x: auto; scrollbar-width: none; }
.game-tabs::-webkit-scrollbar { display: none; }
.game-tabs a { flex: none; white-space: nowrap; }
.game-tabs a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.game-panel[hidden] { display: none; }
.game-panel > .section-heading:first-child { margin-top: 0; }
.detail-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .detail-grid-pair { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .game-tabs a { padding-inline: .8rem; } }

/* Site guide (/guide): a step-by-step tour. The script shows one .guide-step at a time. */
.guide-index { display: flex; gap: .4rem; margin: 0 0 1rem; padding-bottom: .35rem; overflow-x: auto; scrollbar-width: thin; scroll-margin-top: 5rem; }
.guide-index a { flex: 0 0 auto; padding: .4rem .8rem; color: var(--muted); font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; background: var(--panel); border: 1px solid var(--line); border-radius: 99px; }
.guide-index a:hover { color: var(--text); }
.guide-index a.guide-index-active { color: #06111c; background: var(--cyan); border-color: var(--cyan); }
.guide-progress { height: 4px; margin: 0 0 1rem; overflow: hidden; background: rgba(151, 166, 186, .16); border-radius: 99px; }
.guide-progress i { display: block; width: 0; height: 100%; background: var(--cyan); border-radius: inherit; transition: width .25s ease; }
.guide-step { max-width: 760px; padding: clamp(1.1rem, 3vw, 1.8rem); margin: 0 auto 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.guide-step h2 { margin: .1rem 0 .8rem; font-size: clamp(1.3rem, 4vw, 1.7rem); letter-spacing: -.02em; }
.guide-step h2:focus { outline: none; }
.guide-step p { color: var(--text-soft); line-height: 1.55; }
.guide-list { display: flex; flex-direction: column; gap: .5rem; margin: .8rem 0; padding-left: 1.2rem; color: var(--text-soft); line-height: 1.5; }
.guide-terms { display: grid; gap: .6rem; margin: 1rem 0; }
.guide-terms > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .3rem 1rem; padding: .7rem .85rem; background: var(--inset-bg); border: 1px solid var(--line); border-radius: 14px; }
.guide-terms dt { display: flex; align-items: center; gap: .5rem; color: var(--text); font-weight: 800; }
.guide-terms dd { margin: 0; color: var(--text-soft); line-height: 1.5; }
.guide-badge-image { flex: 0 0 auto; width: 28px; height: 28px; object-fit: contain; }
.guide-tip { padding: .75rem .9rem; color: var(--text) !important; background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); border-radius: 14px; }
.guide-controls:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: .75rem; max-width: 760px; margin: 0 auto; }
.guide-controls button { min-height: 44px; padding: .55rem 1.1rem; color: var(--text); font: inherit; font-size: .9rem; font-weight: 800; background: rgba(151, 166, 186, .1); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; }
.guide-controls .guide-next { color: #06111c; background: var(--cyan); border-color: var(--cyan); }
.guide-controls button:disabled { opacity: .4; cursor: default; }
.guide-count { color: var(--muted); font-size: .82rem; font-weight: 700; }
.guide-show-all { max-width: 760px; margin: 1rem auto 0; text-align: center; font-size: .82rem; }
.whats-new-guide { margin: 1rem 0 0; }
@media (max-width: 540px) {
  .guide-terms > div { grid-template-columns: 1fr; }
}
details.metric-card { margin-bottom: .6rem; } details.metric-card summary { cursor: pointer; } details.metric-card pre { max-height: 24rem; overflow: auto; font-size: .75rem; white-space: pre-wrap; word-break: break-word; }
/* Leaderboard on a phone: tighter cells, and the lower-value Win % and Streak columns drop out so Picks stays on screen. */
@media (max-width: 540px) {
  .leaderboard-table th, .leaderboard-table td { padding: .75rem .4rem; }
  .leaderboard-table th { font-size: .66rem; letter-spacing: .02em; }
  .leaderboard-table td:nth-child(2) { max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis; }
  .leaderboard-table .col-win, .leaderboard-table .col-streak { display: none; }
}

/* Motion polish (fx.js): entrance stagger, bar fill, tilt, bursts, nav underline.
   Plain CSS animations that end back at the normal styles, so hover and live updates still work. */
@keyframes fx-card-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes fx-bar-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.matchup-grid > .matchup-card { animation: fx-card-in .55s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--fx-i, 0) * 55ms); }
.matchup-grid .probability-track i { animation: fx-bar-fill 1s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--fx-i, 0) * 55ms + 250ms); }
.matchup-grid > .matchup-card.fx-wait, .matchup-grid > .matchup-card.fx-wait .probability-track i { animation-play-state: paused; }
.matchup-grid > article:nth-of-type(2) { --fx-i: 1; }
.matchup-grid > article:nth-of-type(3) { --fx-i: 2; }
.matchup-grid > article:nth-of-type(4) { --fx-i: 3; }
.matchup-grid > article:nth-of-type(5) { --fx-i: 4; }
.matchup-grid > article:nth-of-type(6) { --fx-i: 5; }
.matchup-grid > article:nth-of-type(7) { --fx-i: 6; }
.matchup-grid > article:nth-of-type(8) { --fx-i: 7; }
.matchup-grid > article:nth-of-type(9) { --fx-i: 8; }
.matchup-grid > article:nth-of-type(10) { --fx-i: 9; }
.matchup-grid > article:nth-of-type(n+11) { --fx-i: 10; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .matchup-card[style*="--away-color"]:hover { transform: perspective(1000px) translateY(-4px) scale(1.015) rotateX(var(--fx-rx, 0deg)) rotateY(var(--fx-ry, 0deg)); transition: transform .12s ease-out, box-shadow .18s ease-out; }
  .matchup-card[style*="--away-color"]:active { transform: scale(.985); }
  .site-header nav > a, .site-header .nav-dropdown-trigger { padding-bottom: 3px; background-image: linear-gradient(var(--cyan), var(--cyan)); background-repeat: no-repeat; background-position: left bottom; background-size: 0 2px; transition: background-size .25s ease-out, color .15s; }
  .site-header nav > a:hover, .site-header .nav-dropdown-trigger:hover, .site-header nav > a.nav-link-active, .site-header .nav-dropdown-trigger.nav-link-active { background-size: 100% 2px; }
}
.fx-burst { position: fixed; z-index: 200; width: 0; height: 0; pointer-events: none; animation: fx-burst-life 1s linear forwards; }
.fx-burst i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; animation: fx-spark .7s cubic-bezier(.1, .8, .3, 1) both; }
@keyframes fx-spark { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--fx-dx), var(--fx-dy)) scale(.2); opacity: 0; } }
@keyframes fx-burst-life { to { opacity: 1; } }
.pick-mark.fx-hit { animation: fx-hit-ring 1s ease-out; }
@keyframes fx-hit-ring { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .75); transform: scale(1.35); } 100% { box-shadow: 0 0 0 .9rem rgba(52, 211, 153, 0); transform: scale(1); } }

/* Live games, upset alerts, confidence and the win-probability chart. */
@property --fx-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --fx-glow { syntax: "<number>"; initial-value: 0; inherits: false; }
@keyframes fx-spin { to { --fx-angle: 360deg; } }
@keyframes fx-glow-pulse { from { --fx-glow: 0; } to { --fx-glow: 1; } }
@keyframes fx-swing { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 16px 3px rgba(255, 255, 255, 0); } }
@keyframes fx-swing-fill { 0% { filter: brightness(2); } 100% { filter: brightness(1); } }
@keyframes fx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fx-now-pulse { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Live: a team-colored border that travels around the card. */
.matchup-card[style*="--away-color"]:has(.score-prediction-live) { padding: calc(.7rem - 1px) calc(.8rem - 1px) calc(.65rem - 1px); border: 2px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), conic-gradient(from var(--fx-angle), var(--away-color), var(--cyan) 25%, var(--home-color) 50%, var(--cyan) 75%, var(--away-color)); background-origin: border-box; background-clip: padding-box, border-box; animation: fx-card-in .55s cubic-bezier(.16, 1, .3, 1) backwards, fx-spin 5s linear infinite; animation-delay: calc(var(--fx-i, 0) * 55ms), 0s; }
/* Upset alert: an amber glow that breathes. */
.matchup-card-upset { --fx-glow-ring: 0 0 0 1px rgba(251, 191, 36, calc(.3 + .25 * var(--fx-glow))), 0 0 calc(12px + 20px * var(--fx-glow)) rgba(251, 191, 36, calc(.18 + .3 * var(--fx-glow))); box-shadow: 0 10px 26px rgba(0, 0, 0, .4), var(--fx-glow-ring); animation: fx-card-in .55s cubic-bezier(.16, 1, .3, 1) backwards, fx-glow-pulse 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--fx-i, 0) * 55ms), 0s; }
.matchup-card-upset:hover, .matchup-card-upset:focus-within { box-shadow: 0 22px 60px rgba(0, 0, 0, .45), var(--fx-glow-ring); }
.matchup-card-upset[style*="--away-color"]:has(.score-prediction-live) { animation: fx-card-in .55s cubic-bezier(.16, 1, .3, 1) backwards, fx-glow-pulse 2.4s ease-in-out infinite alternate, fx-spin 5s linear infinite; animation-delay: calc(var(--fx-i, 0) * 55ms), 0s, 0s; }
.matchup-grid > .matchup-card.fx-wait { animation-play-state: paused; }
/* A big live swing flashes the bar. */
.probability-track.fx-swing { animation: fx-swing .9s ease-out; }
.probability-track.fx-swing i { animation: fx-swing-fill .9s ease-out; }
/* Confidence meter: four pips, cool to hot, in front of the "% chance" line. */
.matchup-card[data-confidence] { --conf-level: 1; --conf-color: #7c93b8; }
.matchup-card[data-confidence="lean"] { --conf-level: 2; --conf-color: var(--cyan); }
.matchup-card[data-confidence="strong"] { --conf-level: 3; --conf-color: var(--amber); }
.matchup-card[data-confidence="lock"] { --conf-level: 4; --conf-color: #ff6b4a; }
.matchup-card[data-confidence] .score-chance::before { content: ""; display: inline-block; width: 19px; height: 6px; margin-right: .4rem; vertical-align: middle; border-radius: 2px; background: linear-gradient(var(--conf-color), var(--conf-color)) left / calc(var(--conf-level) * 25%) 100% no-repeat, rgba(255, 255, 255, .2); -webkit-mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 5px); mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 5px); transition: background-size .6s ease; }
/* Win-probability chart on the game page. */
.momentum-wrap { position: relative; margin-top: .6rem; }
.momentum-chart { display: block; width: 100%; height: auto; overflow: visible; }
.momentum-area { opacity: .6; } .momentum-area-home { fill: var(--home-color); } .momentum-area-away { fill: var(--away-color); }
.momentum-mid { stroke: rgba(255, 255, 255, .35); stroke-width: .4; stroke-dasharray: 2 2; }
.momentum-line { fill: none; stroke: var(--text); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.momentum-now { fill: var(--text); transform-box: fill-box; transform-origin: center; }
.momentum-live .momentum-now { animation: fx-now-pulse 1.6s ease-out infinite; }
.momentum-card:not(.momentum-live) .momentum-line { stroke-dasharray: 1; animation: fx-draw 1.4s ease-out both; }
.momentum-team { position: absolute; left: .5rem; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; opacity: .9; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.momentum-team-home { top: .35rem; } .momentum-team-away { bottom: .35rem; }
.momentum-caption { margin: .6rem 0 0; color: var(--muted); font-size: .85rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .matchup-card-upset, .matchup-card[style*="--away-color"]:has(.score-prediction-live), .momentum-live .momentum-now, .momentum-card:not(.momentum-live) .momentum-line { animation: none; }
  .matchup-card-upset { --fx-glow: .5; }
}

/* Light theme. Dark is the default; chrome.js sets data-theme from the toggle. The scoreboard-style
   surfaces (team-tinted cards, the home hero, the ticker) keep the dark palette in both themes. */
html[data-theme="light"] { color-scheme: light; --bg: #eef2f8; --surface: #fff; --surface-2: #f1f5fb; --text: #0f1a2e; --muted: #566781; --line: rgba(15, 26, 46, .14); --cyan: #0891b2; --violet: #7c3aed; --green: #059669; --rose: #e11d48; --amber: #b45309; --shadow: 0 14px 40px rgba(15, 26, 46, .1); --panel: rgba(255, 255, 255, .94); --panel-strong: #fff; --header-bg: rgba(255, 255, 255, .84); --header-solid: rgba(255, 255, 255, .97); --inset-bg: rgba(15, 26, 46, .05); --text-soft: #3b4a63; --hero-bg: linear-gradient(120deg, #fff, #eaf0f9); }
html[data-theme="light"] :is(.matchup-card[style*="--away-color"], .game-hero[style*="--away-color"], .home-hero, .ticker) { --bg: #070b18; --surface: #111a2e; --surface-2: #16223b; --text: #e6edf7; --muted: #97a6ba; --line: rgba(151, 166, 186, .18); --cyan: #22d3ee; --violet: #8b5cf6; --green: #34d399; --rose: #fb7185; --amber: #fbbf24; --panel: rgba(17, 26, 46, .9); --panel-strong: rgba(17, 26, 46, .98); --inset-bg: rgba(7, 11, 24, .4); --text-soft: #c9d4e3; --shadow: 0 18px 55px rgba(0, 0, 0, .3); color: var(--text); }
html[data-theme="light"] .page-glow { opacity: .2; }

/* Theme toggle in the header: the icon shows what a click switches to. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; padding: 0; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: color .15s, border-color .15s, transform .2s; }
.theme-toggle:hover { color: var(--cyan); border-color: var(--cyan); }
.theme-toggle:active { transform: rotate(25deg) scale(.92); }
.theme-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
html[data-theme="light"] .theme-icon-sun, html:not([data-theme="light"]) .theme-icon-moon { display: none; }

/* Home hero: animated backdrop on the left, rotating top picks on the right. */
.home-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 1.5rem 2.5rem; min-height: 15rem; padding: clamp(1.4rem, 4vw, 2.6rem); margin-bottom: 1.4rem; overflow: hidden; color: var(--text); background: linear-gradient(125deg, #0b1427, #121f3a 55%, #0e1930); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.home-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.home-hero-orb { position: absolute; width: 26rem; height: 26rem; border-radius: 50%; filter: blur(70px); opacity: .42; animation: hh-drift 16s ease-in-out infinite alternate; }
.home-hero-orb-a { top: -12rem; left: -6rem; background: var(--team-primary); }
.home-hero-orb-b { right: -9rem; bottom: -14rem; background: var(--team-secondary); animation-duration: 21s; animation-direction: alternate-reverse; }
.home-hero-lines { position: absolute; inset: -40% -10%; opacity: .5; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .045) 46px 48px); animation: hh-lines 24s linear infinite; }
@keyframes hh-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(4rem, 2.5rem) scale(1.18); } }
@keyframes hh-lines { to { transform: translateX(96px); } }
.home-hero-copy .eyebrow { margin-bottom: .5rem; }
.home-hero h1 { max-width: 14ch; margin-bottom: .7rem; font-size: clamp(2.4rem, 6.5vw, 4.4rem); background: linear-gradient(100deg, #fff 30%, var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hh-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
.home-hero-sub { max-width: 34rem; margin: 0; color: var(--muted); font-size: 1rem; animation: hh-rise .8s .12s cubic-bezier(.16, 1, .3, 1) both; }
.home-hero-copy .eyebrow { animation: hh-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hh-rise { from { opacity: 0; transform: translateY(14px); } }
.top-pick { position: relative; padding: 1rem 1.1rem .8rem; background: rgba(8, 14, 28, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; backdrop-filter: blur(10px); animation: hh-rise .8s .2s cubic-bezier(.16, 1, .3, 1) both; }
.top-pick-stage { display: grid; }
.top-pick-slide { grid-area: 1 / 1; display: grid; gap: .7rem; padding: .2rem .1rem; color: inherit; border-radius: 14px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.top-pick-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.top-pick-kind { justify-self: start; padding: .22rem .65rem; color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35); border-radius: 99px; }
.top-pick-kind-upset { color: var(--amber); background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .4); }
.top-pick-kind-toss { color: #c4b5fd; background: rgba(139, 92, 246, .12); border-color: rgba(139, 92, 246, .4); }
.top-pick-teams { display: inline-flex; align-items: center; gap: .6rem; }
.top-pick-teams .team-logo { width: 54px; height: 54px; }
.top-pick-at { color: var(--muted); font-size: .8rem; font-weight: 800; }
.top-pick-copy { display: grid; gap: .1rem; }
.top-pick-name { font-size: clamp(1.25rem, 3vw, 1.7rem); letter-spacing: -.03em; line-height: 1.1; }
.top-pick-line { color: var(--text-soft); font-size: .92rem; font-variant-numeric: tabular-nums; } .top-pick-line b { color: var(--cyan); }
.top-pick-when { color: var(--muted); font-size: .78rem; font-weight: 700; }
.top-pick-slide:hover .top-pick-name { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.top-pick-slide:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.top-pick-dots { display: flex; justify-content: center; gap: .4rem; margin-top: .7rem; }
.top-pick-dot { position: relative; width: 8px; height: 8px; padding: 0; overflow: hidden; background: rgba(255, 255, 255, .25); border: 0; border-radius: 99px; cursor: pointer; transition: width .3s ease, background .2s; }
.top-pick-dot:hover { background: rgba(255, 255, 255, .45); }
.top-pick-dot.is-active { width: 26px; background: rgba(255, 255, 255, .25); }
.top-pick-dot.is-active::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform-origin: left; animation: tp-progress var(--tp-interval, 6.5s) linear forwards; }
.top-pick:hover .top-pick-dot.is-active::after, .top-pick:focus-within .top-pick-dot.is-active::after, .top-pick.is-paused .top-pick-dot.is-active::after { animation-play-state: paused; }
.top-pick.is-static .top-pick-dot.is-active::after { animation: none; }
.top-pick.is-static .top-pick-dot.is-active { background: var(--cyan); }
@keyframes tp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 860px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .home-hero h1 { max-width: none; }
  .top-pick-teams .team-logo { width: 46px; height: 46px; }
}

/* Scoreboard ticker under the nav. */
.ticker { display: flex; align-items: stretch; height: 46px; color: var(--text); background: #0a1224; border-bottom: 1px solid var(--line); }
.ticker[hidden] { display: none; }
.ticker-week { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 0 .9rem; color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: #0d1830; border-right: 1px solid var(--line); }
.ticker-viewport { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track { display: flex; align-items: center; width: max-content; height: 100%; }
.ticker.is-scrolling .ticker-track { will-change: transform; }
.ticker.is-scrolling .ticker-viewport { cursor: grab; touch-action: pan-y; }
.ticker.is-dragging .ticker-viewport { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.ticker-item { display: inline-flex; align-items: center; gap: .4rem; flex: 0 0 auto; height: 100%; padding: 0 1.15rem; color: var(--muted); font-size: .78rem; font-weight: 700; white-space: nowrap; border-right: 1px solid rgba(151, 166, 186, .12); transition: background .15s; }
.ticker-item:hover { background: rgba(255, 255, 255, .05); }
.ticker-item b { color: var(--text); font-variant-numeric: tabular-nums; }
.ticker-team { display: inline-flex; align-items: center; gap: .3rem; color: var(--text); letter-spacing: .02em; }
.ticker-side { display: inline-flex; align-items: center; gap: .1rem; }
.ticker-helmet { flex: 0 0 auto; width: 38px; height: 33px; object-fit: contain; }
.ticker-at { color: var(--muted); }
.ticker-final .is-loser .ticker-helmet { opacity: .55; }
.ticker-final .is-loser, .ticker-final .is-loser b { color: var(--muted); font-weight: 600; }
.ticker-clock { margin-left: .2rem; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ticker-live .ticker-clock { color: var(--rose); }
.ticker-live::before { content: ""; width: 7px; height: 7px; margin-right: .1rem; background: var(--rose); border-radius: 50%; box-shadow: 0 0 0 0 rgba(251, 113, 133, .6); animation: ticker-pulse 1.6s ease-out infinite; }
@keyframes ticker-pulse { 70% { box-shadow: 0 0 0 .45rem rgba(251, 113, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); } }
@media (max-width: 640px) { .ticker { height: 42px; } .ticker-helmet { width: 34px; height: 30px; } .ticker-week { padding: 0 .65rem; } .ticker-item { padding: 0 .85rem; font-size: .74rem; } }

@media (prefers-reduced-motion: reduce) {
  .home-hero-orb, .home-hero-lines, .home-hero h1, .home-hero-sub, .home-hero-copy .eyebrow, .top-pick, .ticker-live::before { animation: none; }
  .ticker-viewport { overflow-x: auto; }
  .top-pick-dot.is-active::after { animation: none; }
}

/* Shared page polish: every page header gets the home hero's drifting backdrop, and stat
   tiles, tables and cards get the slate's entrance and count-up motion (fx.js). A page picks
   its header color with .hero-accent-*; the default is cyan and violet. */
.hero, .team-hero { --hero-accent: var(--cyan); --hero-accent-2: var(--violet); --hero-orb: 30%; --hero-line: rgba(255, 255, 255, .045); position: relative; isolation: isolate; }
html[data-theme="light"] :is(.hero, .team-hero) { --hero-orb: 20%; --hero-line: rgba(15, 26, 46, .05); }
.hero-accent-gold { --hero-accent: var(--amber); --hero-accent-2: #f97316; }
.hero-accent-green { --hero-accent: var(--green); --hero-accent-2: var(--cyan); }
.hero-accent-violet { --hero-accent: var(--violet); --hero-accent-2: #ec4899; }
.hero-accent-rose { --hero-accent: var(--rose); --hero-accent-2: var(--amber); }
:is(.hero:not(.outlast-hero), .team-hero)::before { content: ""; position: absolute; inset: -35%; z-index: -1; pointer-events: none; background: radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--hero-accent) var(--hero-orb), transparent), transparent 30%), radial-gradient(circle at 84% 82%, color-mix(in srgb, var(--hero-accent-2) var(--hero-orb), transparent), transparent 32%); animation: hh-drift 18s ease-in-out infinite alternate; }
:is(.hero:not(.outlast-hero), .team-hero)::after { content: ""; position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 46px, var(--hero-line) 46px 48px); animation: hh-lines 24s linear infinite; }
:is(.hero:not(.outlast-hero), .team-hero) h1 { background: linear-gradient(100deg, var(--text) 40%, var(--hero-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
:is(.hero:not(.outlast-hero), .team-hero) .eyebrow { color: var(--hero-accent); }
:is(.hero:not(.outlast-hero), .team-hero) > div > :is(.eyebrow, h1, p) { animation: hh-rise .7s cubic-bezier(.16, 1, .3, 1) both; }
:is(.hero:not(.outlast-hero), .team-hero) > div > h1 { animation-delay: .06s; }
:is(.hero:not(.outlast-hero), .team-hero) > div > p:not(.eyebrow) { animation-delay: .12s; }
:is(.hero, .team-hero) .hero-stat { animation: hh-rise .7s .18s cubic-bezier(.16, 1, .3, 1) both; }
:is(.hero, .team-hero) .hero-stat:nth-child(2) { animation-delay: .24s; } :is(.hero, .team-hero) .hero-stat:nth-child(3) { animation-delay: .3s; }
:is(.hero, .team-hero) .hero-stat strong { color: var(--hero-accent); font-variant-numeric: tabular-nums; }
.metric-card strong, .scorecard-stat strong { font-variant-numeric: tabular-nums; }

/* Entrance: tiles and cards rise in, table rows fade in (opacity only, so the leaderboard's
   measured row highlight stays put). fx.js holds anything below the fold until it scrolls in. */
@keyframes fx-fade-in { from { opacity: 0; } }
:is(.metric-grid, .scorecard-stats, .detail-grid, .schedule-list, .standings-divisions, .podium) > *, .scorecard-highlights > li, .empty-state, .outlast-survival, .accuracy-chart { animation: fx-card-in .55s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--fx-i, 0) * 55ms + 120ms); }
.table-wrap:not(.box-score-table-wrap) > table > tbody > tr { animation: fx-fade-in .45s ease-out backwards; animation-delay: calc(var(--fx-i, 0) * 40ms + 150ms); }
.fx-reveal-wait, .fx-reveal-wait * { animation-play-state: paused !important; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(2) { --fx-i: 1; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(3) { --fx-i: 2; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(4) { --fx-i: 3; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(5) { --fx-i: 4; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(6) { --fx-i: 5; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(7) { --fx-i: 6; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(8) { --fx-i: 7; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(9) { --fx-i: 8; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(10) { --fx-i: 9; }
:is(.metric-grid, .scorecard-stats, .detail-grid, .scorecard-highlights, .schedule-list, .standings-divisions, tbody) > :nth-child(n+11) { --fx-i: 10; }
.table-wrap:not(.box-score-table-wrap) > table > tbody > tr { transition: background-color .15s ease; }
.table-wrap:not(.box-score-table-wrap) > table > tbody > tr:hover { background-color: color-mix(in srgb, var(--cyan) 5%, transparent); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.metric-card, .scorecard-stat, .detail-grid > .detail-card) { transition: transform .18s ease-out, border-color .18s, box-shadow .18s; }
  :is(.metric-card, .scorecard-stat, .detail-grid > .detail-card):hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cyan) 35%, var(--line)); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--cyan) 12%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.hero, .team-hero)::before, :is(.hero, .team-hero)::after, :is(.hero, .team-hero) > div > *, :is(.hero, .team-hero) .hero-stat,
  :is(.metric-grid, .scorecard-stats, .detail-grid, .schedule-list, .standings-divisions, .podium) > *, .scorecard-highlights > li, .empty-state, .outlast-survival, .accuracy-chart, .table-wrap > table > tbody > tr { animation: none; }
}

/* Outlast: survival bar, alive/out rows, a pick trail per player, a pulsing lock clock and a
   gold winner banner. */
.outlast-logo { animation: outlast-logo-in .8s cubic-bezier(.16, 1, .3, 1) both, outlast-logo-breathe 5s 1s ease-in-out infinite alternate; }
@keyframes outlast-logo-in { from { opacity: 0; transform: scale(.9); } }
@keyframes outlast-logo-breathe { to { filter: drop-shadow(0 0 38px rgba(239, 68, 68, .36)) drop-shadow(0 0 44px rgba(45, 212, 191, .26)); } }
.outlast-survival { display: grid; gap: .55rem; margin: 0 0 1rem; padding: .9rem 1.1rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.outlast-survival-counts { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.outlast-survival-counts strong { margin-right: .3rem; font-size: 1.7rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.outlast-survival-alive strong { color: var(--green); } .outlast-survival-out strong { color: var(--rose); }
.outlast-survival-track { height: 10px; overflow: hidden; background: color-mix(in srgb, var(--rose) 22%, transparent); border-radius: 99px; }
.outlast-survival-track i { display: block; width: var(--alive-pct); height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: inherit; box-shadow: 0 0 14px rgba(52, 211, 153, .5); animation: fx-bar-fill 1.2s .4s cubic-bezier(.16, 1, .3, 1) backwards; }
.outlast-crown { margin-right: .3rem; }
.outlast-table td:first-child { box-shadow: inset 3px 0 0 transparent; }
.outlast-row-alive td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.outlast-row-winner td:first-child { box-shadow: inset 3px 0 0 var(--amber); }
.outlast-table > tbody > .outlast-row-winner { background-color: color-mix(in srgb, var(--amber) 8%, transparent); }
.outlast-row-out .outlast-player, .outlast-row-out .outlast-survived { opacity: .55; }
.outlast-row-out .outlast-player { text-decoration: line-through 2px; text-decoration-color: color-mix(in srgb, var(--rose) 75%, transparent); }
.outlast-survived { font-weight: 800; font-variant-numeric: tabular-nums; }
.outlast-alive-badge { gap: .4rem; }
.outlast-alive-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: scores-pulse 1.8s ease-out infinite; }
.outlast-trail { display: flex; flex-wrap: wrap; gap: .3rem; width: max-content; max-width: 22rem; margin: 0; padding: 0; list-style: none; }
.outlast-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .45rem; color: var(--text); font-size: .7rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap; background: rgba(151, 166, 186, .1); border: 1px solid var(--line); border-radius: 8px; animation: outlast-chip-in .4s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(var(--chip-i, 0) * 40ms + 300ms); }
.outlast-chip-week { color: var(--muted); font-size: .6rem; font-weight: 700; }
.outlast-chip-win { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.outlast-chip-loss { color: var(--rose); background: color-mix(in srgb, var(--rose) 14%, transparent); border-color: color-mix(in srgb, var(--rose) 40%, transparent); }
.outlast-chip-none { color: var(--rose); background: transparent; border-style: dashed; border-color: color-mix(in srgb, var(--rose) 45%, transparent); }
.outlast-chip-pending { color: var(--amber); background: transparent; border-style: dashed; border-color: color-mix(in srgb, var(--amber) 50%, transparent); }
.outlast-chip-hidden, .outlast-chip-open { color: var(--muted); }
.outlast-chip-open { background: transparent; border-style: dashed; }
@keyframes outlast-chip-in { from { opacity: 0; transform: scale(.6); } }
.outlast-clock { position: relative; }
.outlast-clock-label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .45rem; vertical-align: .05em; background: currentColor; border-radius: 50%; }
.outlast-clock-soon { animation: outlast-clock-pulse 2s ease-out infinite; --clock-pulse: rgba(251, 191, 36, .45); }
.outlast-clock-urgent { animation: outlast-clock-pulse 1.1s ease-out infinite; --clock-pulse: rgba(251, 113, 133, .55); }
.outlast-clock-urgent .outlast-clock-label { color: var(--rose); }
@keyframes outlast-clock-pulse { 0% { box-shadow: 0 0 0 0 var(--clock-pulse); } 100% { box-shadow: 0 0 0 .6rem transparent; } }
.outlast-winner-banner { position: relative; overflow: hidden; isolation: isolate; align-items: center; text-align: center; padding: 1.4rem 1.25rem; background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 18%, var(--surface)), color-mix(in srgb, #f97316 10%, var(--surface))); border-color: color-mix(in srgb, var(--amber) 55%, transparent); box-shadow: var(--shadow), 0 0 32px color-mix(in srgb, var(--amber) 22%, transparent); animation: recap-pop-in .6s cubic-bezier(.16, 1, .3, 1) backwards; }
.outlast-winner-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%); transform: translateX(-100%); animation: outlast-shimmer 4.5s 1s ease-in-out infinite; }
@keyframes outlast-shimmer { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.outlast-winner-banner .eyebrow { color: var(--amber); }
.outlast-winner-trophy { font-size: 2.2rem; line-height: 1; animation: outlast-trophy 1s .3s cubic-bezier(.34, 1.56, .64, 1) backwards; }
@keyframes outlast-trophy { from { opacity: 0; transform: translateY(-14px) scale(.4) rotate(-20deg); } }
@media (prefers-reduced-motion: reduce) {
  .outlast-logo, .outlast-survival-track i, .outlast-alive-dot, .outlast-chip, .outlast-clock-soon, .outlast-clock-urgent, .outlast-winner-banner, .outlast-winner-banner::after, .outlast-winner-trophy { animation: none; }
}

/* Leaderboards (/pickem and groups): a medal podium, win% bars and streak pills. */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: .8rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.podium:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.podium-spot { --medal: #cbd5e1; position: relative; display: grid; justify-items: center; gap: .15rem; min-width: 0; padding: 1rem .8rem .95rem; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--medal) 16%, var(--surface)), var(--surface) 75%); border: 1px solid color-mix(in srgb, var(--medal) 45%, transparent); border-radius: 18px; box-shadow: var(--shadow); }
.podium-1 { --medal: #fbbf24; order: 2; padding-block: 1.5rem 1.2rem; box-shadow: var(--shadow), 0 0 30px color-mix(in srgb, var(--medal) 22%, transparent); animation-delay: .35s; }
.podium-2 { order: 1; animation-delay: .2s; }
.podium-3 { --medal: #d08a4e; order: 3; animation-delay: .5s; }
.podium-tier-1 { --medal: #fbbf24; }
.podium-tier-2 { --medal: #cbd5e1; }
.podium-tier-3 { --medal: #d08a4e; }
.podium-medal { font-size: 1.9rem; line-height: 1; animation: podium-medal .7s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: inherit; }
.podium-1 .podium-medal { font-size: 2.4rem; }
@keyframes podium-medal { from { opacity: 0; transform: translateY(-10px) scale(.4) rotate(-25deg); } }
.podium-rank { color: color-mix(in srgb, var(--medal) 80%, var(--text)); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.podium-name { max-width: 100%; overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.podium-record { font-size: clamp(1.25rem, 3.4vw, 1.75rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.podium-1 .podium-record { font-size: clamp(1.45rem, 4vw, 2.1rem); }
.podium-meta { color: var(--muted); font-size: .78rem; font-weight: 700; }
.podium-meta .streak-pill { padding-block: .05rem; font-size: .7rem; }
.win-pct { display: inline-flex; align-items: center; gap: .55rem; }
.win-pct-label { min-width: 2.6rem; font-variant-numeric: tabular-nums; }
.win-pct-track { width: 4.5rem; height: 6px; overflow: hidden; background: var(--line); border-radius: 99px; }
.win-pct-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); border-radius: inherit; animation: fx-bar-fill 1s .45s cubic-bezier(.16, 1, .3, 1) backwards; }
.streak-pill { display: inline-flex; align-items: center; padding: .15rem .55rem; font-size: .78rem; background: rgba(151, 166, 186, .1); border: 1px solid var(--line); border-radius: 99px; }
.streak-pill.streak-win { background: color-mix(in srgb, var(--green) 13%, transparent); border-color: color-mix(in srgb, var(--green) 35%, transparent); }
.streak-pill.streak-loss { background: color-mix(in srgb, var(--rose) 13%, transparent); border-color: color-mix(in srgb, var(--rose) 35%, transparent); }
.streak-hot.streak-win { animation: streak-glow 2.2s ease-in-out infinite alternate; }
@keyframes streak-glow { to { box-shadow: 0 0 14px color-mix(in srgb, var(--green) 45%, transparent); } }
.standings-table:not(.outlast-table) > tbody > tr:nth-child(-n+3) > td:first-child { font-weight: 800; }
.standings-table:not(.outlast-table) > tbody > tr:nth-child(1) > td:first-child { color: var(--amber); }
@media (max-width: 540px) {
  .podium { gap: .45rem; }
  .podium-spot { padding: .8rem .45rem .75rem; border-radius: 14px; }
  .podium-1 { padding-block: 1.15rem .9rem; }
  .podium-medal { font-size: 1.5rem; } .podium-1 .podium-medal { font-size: 1.9rem; }
  .podium-meta { font-size: .68rem; }
  .win-pct-track { display: none; }
}

/* Scorecard: the week's record as a ring, verdict-colored tiles, highlight cards. */
.hero-stat.scorecard-ring { position: relative; display: grid; place-content: center; align-self: center; width: 156px; min-width: 0; height: 156px; padding: 0; background: none; border: 0; border-radius: 50%; }
.scorecard-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.scorecard-ring circle { fill: none; stroke-width: 9; }
.scorecard-ring-track { stroke: var(--line); }
.scorecard-ring-fill { stroke: var(--hero-accent); stroke-linecap: round; stroke-dasharray: var(--ring) 1; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--hero-accent) 55%, transparent)); animation: ring-fill 1.3s .3s cubic-bezier(.16, 1, .3, 1) backwards; }
@keyframes ring-fill { from { stroke-dasharray: 0 1; } }
.scorecard-ring strong { font-size: 1.85rem; }
.scorecard-stat-beat { border-color: color-mix(in srgb, var(--green) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--green) 12%, var(--surface)), var(--panel)); } .scorecard-stat-beat strong { color: var(--green); }
.scorecard-stat-lost { border-color: color-mix(in srgb, var(--rose) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--rose) 12%, var(--surface)), var(--panel)); } .scorecard-stat-lost strong { color: var(--rose); }
.scorecard-stat-tied strong { color: var(--muted); }
.scorecard-stat-first { border-color: color-mix(in srgb, var(--amber) 50%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 14%, var(--surface)), var(--panel)); } .scorecard-stat-first strong { color: var(--amber); }
.scorecard-stat-beat strong::before { content: "▲ "; font-size: .8em; } .scorecard-stat-lost strong::before { content: "▼ "; font-size: .8em; }
.scorecard-highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: .75rem; }
.scorecard-highlights li { padding: .9rem 1rem; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--edge, var(--line)); border-radius: 14px; box-shadow: var(--shadow); }
.scorecard-highlight-upset { --edge: var(--amber); } .scorecard-highlight-hit { --edge: var(--green); } .scorecard-highlight-miss { --edge: var(--rose); }

/* Team page: the header takes the team's colors (set inline), results edge the schedule. */
.team-hero > .team-logo-xl { filter: drop-shadow(0 10px 26px color-mix(in srgb, var(--hero-accent) 45%, transparent)); animation: team-logo-in .8s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes team-logo-in { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }
.schedule-card-win { box-shadow: inset 4px 0 0 var(--green), var(--shadow); }
.schedule-card-loss { box-shadow: inset 4px 0 0 var(--rose), var(--shadow); }
.schedule-card-tie { box-shadow: inset 4px 0 0 var(--muted), var(--shadow); }
.schedule-card-win .schedule-score strong { color: var(--green); } .schedule-card-loss .schedule-score strong { color: var(--rose); }
.schedule-list .probability-track i { animation: fx-bar-fill 1s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--fx-i, 0) * 55ms + 350ms); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .schedule-card { transition: transform .18s ease-out, border-color .18s; }
  .schedule-card:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--team-primary) 40%, var(--line)); }
}

/* Standings: playoff teams tinted, odds meters colored by chance and filling in. */
.league-table > tbody > tr.standings-in-field { background-color: color-mix(in srgb, var(--cyan) 5%, transparent); }
.league-table > tbody > tr.standings-in-field > th { box-shadow: inset 3px 0 0 var(--cyan); }
.standings-playoff-meter > span { animation: fx-bar-fill 1s .5s cubic-bezier(.16, 1, .3, 1) backwards; }
.standings-playoff-meter.odds-high > span { background: var(--green); }
.standings-playoff-meter.odds-low > span { background: var(--amber); }
.standings-playoff-meter.odds-long > span { background: var(--rose); }

@media (prefers-reduced-motion: reduce) {
  .podium-medal, .win-pct-track i, .streak-hot.streak-win, .scorecard-ring-fill, .team-hero > .team-logo-xl, .schedule-list .probability-track i, .standings-playoff-meter > span { animation: none; }
}

/* Edge: the size of each edge as a glowing pill. */
.matchup-card.bet-card[style*="--away-color"] .bet-card-foot .pick-line strong { padding: .15rem .55rem; color: var(--green); background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); border-radius: 99px; box-shadow: 0 0 12px rgba(52, 211, 153, .22); }

/* Elo: each rating as a bar either side of the league-average 1500; medals on the top three. */
.elo-value { display: inline-block; min-width: 3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.elo-bar { position: relative; display: inline-block; width: 9rem; height: 8px; margin-left: .6rem; vertical-align: middle; background: var(--line); border-radius: 99px; }
.elo-bar::before { content: ""; position: absolute; top: -3px; bottom: -3px; left: 50%; width: 1px; background: var(--muted); opacity: .6; }
.elo-bar i { position: absolute; top: 0; bottom: 0; width: calc(var(--elo) * .5%); border-radius: 99px; animation: elo-grow .9s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--fx-i, 0) * 40ms + 300ms); }
.elo-up { left: 50%; background: var(--green); transform-origin: left; }
.elo-down { right: 50%; background: var(--rose); transform-origin: right; }
@keyframes elo-grow { from { transform: scaleX(0); } }
.elo-top > td:first-child { font-weight: 800; }
.elo-top-1 > td:first-child::before { content: "🥇 "; } .elo-top-2 > td:first-child::before { content: "🥈 "; } .elo-top-3 > td:first-child::before { content: "🥉 "; }
.elo-table > tbody > .elo-top-1 { background-color: color-mix(in srgb, var(--amber) 7%, transparent); }
@media (max-width: 540px) { .elo-bar { width: 4.5rem; margin-left: .35rem; } }

/* Accuracy: right winners per week as bars, with a 50% guide and a tooltip per bar. */
.accuracy-chart { margin: 0 0 1.5rem; padding: 1.4rem 1.1rem .9rem; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.accuracy-chart-plot { position: relative; display: flex; align-items: stretch; gap: clamp(2px, .8vw, 10px); height: 200px; padding-bottom: 2rem; }
.accuracy-chart-guide { position: absolute; left: 0; right: 0; bottom: calc(50% + 1rem); border-top: 1px dashed var(--line); pointer-events: none; }
.accuracy-chart-guide span { position: absolute; right: 0; bottom: 2px; color: var(--muted); font-size: .62rem; font-weight: 700; }
.accuracy-chart-col { position: relative; display: flex; flex: 1 1 0; flex-direction: column; justify-content: flex-end; min-width: 0; max-width: 46px; margin-inline: auto; outline: none; cursor: default; }
.accuracy-chart-bar { display: block; height: calc(var(--pct) * 1%); min-height: 2px; background: var(--cyan); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: filter .15s; animation: acc-bar-grow .8s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--fx-i, 0) * 40ms + 200ms); }
@keyframes acc-bar-grow { from { transform: scaleY(0); } }
.accuracy-chart-label { position: absolute; top: calc(100% + .35rem); left: 50%; color: var(--muted); font-size: .62rem; font-weight: 700; line-height: 1.15; text-align: center; white-space: nowrap; transform: translateX(-50%); }
.accuracy-chart-label b { display: block; font-size: .56rem; letter-spacing: .04em; }
.accuracy-chart-col:hover .accuracy-chart-bar, .accuracy-chart-col:focus-visible .accuracy-chart-bar { filter: brightness(1.3); }
.accuracy-chart-col:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.accuracy-chart-col::after { content: attr(data-tip); position: absolute; z-index: 2; bottom: calc(var(--pct) * 1% + 8px); left: 50%; padding: .35rem .55rem; color: var(--text); font-size: .72rem; font-weight: 700; white-space: nowrap; background: var(--panel-strong); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateX(-50%); transition: opacity .12s; }
.accuracy-chart-col:nth-child(-n+4)::after { left: 0; transform: none; }
.accuracy-chart-col:nth-last-child(-n+3)::after { left: auto; right: 0; transform: none; }
.accuracy-chart-col:hover::after, .accuracy-chart-col:focus-visible::after { opacity: 1; }

/* Team page: header, depth chart positions and starters in the team's colors. */
.team-hero { --hero-accent: var(--team-accent, var(--cyan)); --hero-accent-2: var(--team-accent-2, var(--violet)); }
.depth-table tbody th abbr { display: inline-block; min-width: 2.5rem; padding: .15rem .4rem; color: var(--text); text-align: center; background: color-mix(in srgb, var(--team-accent, var(--cyan)) 16%, transparent); border: 1px solid color-mix(in srgb, var(--team-accent, var(--cyan)) 40%, transparent); border-radius: 8px; }
.depth-table td.depth-starter { background-color: color-mix(in srgb, var(--team-accent, var(--cyan)) 7%, transparent); box-shadow: inset 3px 0 0 var(--team-accent, var(--cyan)); }
.depth-table td:has(.injury-tag.impact-out) { background-color: color-mix(in srgb, var(--rose) 8%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .elo-bar i, .accuracy-chart-bar { animation: none; }
}

/* Primary buttons: a small lift on hover and a press on click. */
:is(.join-form button, .badge-picker button[type="submit"]):not(:disabled) { transition: transform .15s ease-out, box-shadow .15s, filter .15s; }
@media (hover: hover) and (pointer: fine) {
  :is(.join-form button, .badge-picker button[type="submit"]):not(:disabled):not(.danger-button):hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--cyan) 30%, transparent); }
}
:is(.join-form button, .badge-picker button[type="submit"]):not(:disabled):active { transform: scale(.97); box-shadow: none; }
/* Matchups filter (slate_filter.js). Same pill look as .view-tabs links. */
.slate-filter { max-width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; } .slate-filter[hidden] { display: none; } .slate-filter::-webkit-scrollbar { display: none; }
.slate-filter button { flex: none; padding: .45rem 1rem; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.slate-filter button:hover { color: var(--text); }
.slate-filter button[aria-pressed="true"] { background: rgba(34, 211, 238, .14); color: var(--cyan); }
.slate-filter button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.slate-filter-count { margin-left: .2rem; font-size: .78rem; font-weight: 700; opacity: .75; font-variant-numeric: tabular-nums; }
.matchup-card[hidden] { display: none; }
.slate-filter-empty { margin: 1rem 0; text-align: center; }

/* 17-0 daily lineup game */
.s17 { --s17-display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", Inter, system-ui, sans-serif; max-width: 460px; margin: 0 auto; padding-block: 1rem 2.5rem; display: grid; gap: .9rem; }
.s17-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem; }
.s17-title { margin: 0; font-family: var(--s17-display); font-stretch: condensed; font-weight: 800; font-size: 2.9rem; line-height: .9; letter-spacing: -.02em; }
.s17-title span { color: var(--cyan); }
.s17-meta { font-size: .78rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.s17-progress { display: flex; gap: 5px; }
.s17-progress i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.s17-progress i.done { background: var(--cyan); }
.s17-progress i.now { background: var(--violet); }
.s17-empty { padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.s17-empty h2 { margin: 0 0 .4rem; font-family: var(--s17-display); font-weight: 800; font-size: 1.6rem; }
.s17-empty p { margin: 0; color: var(--text-soft); }
.s17-play { display: grid; gap: .55rem; }
.s17-team { position: relative; overflow: hidden; border-radius: 18px; padding: 1.1rem; color: #fff; box-shadow: var(--shadow); background: linear-gradient(130deg, var(--c1), color-mix(in srgb, var(--c1) 60%, #000) 70%); animation: s17-flip .45s cubic-bezier(.16, 1, .3, 1); }
.s17-team::after { content: ""; position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%; background: var(--c2); opacity: .35; }
.s17-eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.s17-team-name { position: relative; z-index: 1; padding-right: 3.5rem; margin-top: .25rem; font-family: var(--s17-display); font-stretch: condensed; font-weight: 800; font-size: 2.4rem; line-height: 1; text-wrap: balance; }
.s17-team-abbr { position: absolute; z-index: 0; right: 1rem; bottom: .5rem; font-family: var(--s17-display); font-weight: 800; font-size: 4rem; opacity: .22; }
@keyframes s17-flip { from { transform: rotateX(70deg); opacity: 0; } to { transform: none; opacity: 1; } }
.s17-label { font-size: .82rem; color: var(--muted); }
.s17-combo { position: relative; }
.s17-combo input { width: 100%; box-sizing: border-box; font: 600 1.05rem Inter, system-ui, sans-serif; padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.s17-combo input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.s17-options { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .3rem; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-strong); box-shadow: var(--shadow); }
.s17-options li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem .65rem; border-radius: 8px; cursor: pointer; }
.s17-options li small { color: var(--muted); font-weight: 600; font-size: .75rem; }
.s17-options li[aria-selected="true"], .s17-options li:hover { background: color-mix(in srgb, var(--cyan) 14%, transparent); }
.s17-options .s17-none { color: var(--muted); cursor: default; }
.s17-msg, .s17-flash { min-height: 1.2em; margin: 0; font-size: .9rem; }
.s17-msg.ok, .s17-flash.ok { color: var(--green); }
.s17-msg.bad, .s17-flash.bad { color: var(--rose); }
.s17-slots { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.s17-slot { display: grid; grid-template-columns: minmax(2.9rem, auto) 1fr; align-items: center; gap: .5rem; min-height: 3.6rem; padding: .6rem; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.s17-slot .pos { font-family: var(--s17-display); font-weight: 800; font-size: 1.2rem; color: var(--muted); }
.s17-slot .who { min-width: 0; font-size: .88rem; line-height: 1.2; overflow-wrap: anywhere; }
.s17-slot .who small { display: block; color: var(--muted); font-size: .75rem; }
.s17-slot.empty .who { color: var(--muted); }
.s17-slot.open { border-color: var(--cyan); background: color-mix(in srgb, var(--cyan) 10%, var(--surface)); }
.s17-slot.open .pos { color: var(--cyan); }
.s17-slot.filled .pos { color: var(--violet); }
.s17-slot.busted { border-color: color-mix(in srgb, var(--rose) 55%, transparent); }
.s17-slot.busted .pos, .s17-slot.busted .who small { color: var(--rose); }
.s17-slot:disabled { cursor: default; }
.s17-slot.empty:disabled { opacity: .55; }
.s17-slot:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.s17-slot.wide { grid-column: 1 / -1; }
.s17-slot:has(.rating) { grid-template-columns: minmax(2.9rem, auto) 1fr auto; }
.s17-slot .rating { font-family: var(--s17-display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; color: var(--text); }
.s17-slot.busted .rating { color: var(--rose); }
.s17-hint { margin: 0; font-size: .82rem; color: var(--muted); }
.s17-perfect { padding: .6rem .8rem; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; }
.s17-perfect summary { cursor: pointer; font-weight: 700; }
.s17-perfect summary span { margin-left: .4rem; font-weight: 400; font-size: .8rem; color: var(--muted); }
.s17-perfect .s17-board { margin-top: .5rem; }
.s17-perfect .s17-board td:first-child { width: 3.4rem; }
.s17-perfect small { color: var(--muted); }
.s17-result { display: grid; gap: .8rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.s17-record { font-family: var(--s17-display); font-stretch: condensed; font-weight: 800; font-size: 5.4rem; line-height: .85; text-align: center; font-variant-numeric: tabular-nums; }
.s17-record.perfect { color: var(--amber); }
.s17-sub { margin: 0; text-align: center; color: var(--muted); font-size: .9rem; }
.s17-weeks { display: grid; grid-template-columns: repeat(17, 1fr); gap: 3px; }
.s17-weeks button { display: grid; place-items: center; min-width: 0; padding: 0; border: 0; aspect-ratio: 1 / 1.6; border-radius: 4px; font: 600 .62rem Inter, system-ui, sans-serif; color: #fff; opacity: 0; cursor: pointer; animation: s17-pop .25s forwards; }
.s17-weeks button[aria-pressed="true"] { outline: 2px solid var(--text); outline-offset: 2px; }
.s17-weeks button:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.s17-weeks .W { background: var(--green); }
.s17-week-pop { margin-top: -.3rem; padding: .6rem .75rem; background: var(--inset-bg); border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; font-variant-numeric: tabular-nums; animation: s17-pop .15s; }
.s17-week-line { display: flex; gap: .55rem; align-items: baseline; }
.s17-week-line .wk { color: var(--muted); white-space: nowrap; }
.s17-week-line .opp { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s17-week-line .fin { white-space: nowrap; }
.s17-week-line .fin.W { color: var(--green); }
.s17-week-line .fin.L { color: var(--rose); }
.s17-week-hint { margin: -.4rem 0 0; color: var(--muted); font-size: .75rem; text-align: center; }
.s17-weeks .L { background: var(--rose); }
@keyframes s17-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.s17-stats { display: flex; justify-content: space-around; text-align: center; font-size: .75rem; color: var(--muted); }
.s17-stats b { display: block; font-size: 1.25rem; color: var(--text); font-variant-numeric: tabular-nums; }
.s17-share { padding: .75rem; border: 0; border-radius: 12px; font: 600 .95rem Inter, system-ui, sans-serif; color: #fff; background: var(--violet); cursor: pointer; }
.s17-share-text { width: 100%; box-sizing: border-box; min-height: 5rem; font: inherit; color: var(--text); background: var(--inset-bg); border: 1px solid var(--line); border-radius: 10px; }
.s17-board-title { margin: .2rem 0 0; font-family: var(--s17-display); font-weight: 800; font-size: 1.5rem; }
.s17-board { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.s17-board td { padding: .45rem .25rem; border-bottom: 1px solid var(--line); }
.s17-board td:first-child { width: 1.8rem; color: var(--muted); }
.s17-board td.r { text-align: right; }
.s17-board tr.me td { color: var(--cyan); font-weight: 600; }
.s17-alltime { display: grid; gap: .5rem; margin-top: .6rem; }
.s17-alltime-board th { padding: .3rem .25rem; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: left; border-bottom: 1px solid var(--line); }
.s17-alltime-board th.r { text-align: right; }
.s17-alltime-board td:first-child { width: auto; white-space: nowrap; }
.s17-alltime-board td:nth-child(2) { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s17-alltime-board small { margin-left: .2rem; font-size: .7rem; color: var(--muted); }
.s17-alltime-board tr.gap td { border-top: 2px dashed var(--line); }
.s17-alltime-note { margin: 0; padding: .55rem .75rem; font-size: .85rem; background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .s17-team, .s17-weeks button, .s17-week-pop { animation: none; opacity: 1; } }
.s17-howto-row { margin-top: -.3rem; }
.s17-howto-trigger { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .95rem; color: var(--cyan); font: 700 .85rem Inter, system-ui, sans-serif; background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .35); border-radius: 999px; cursor: pointer; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.s17-howto-trigger:hover { background: rgba(34, 211, 238, .14); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34, 211, 238, .24); }
.s17-howto { width: min(440px, calc(100vw - 2rem)); max-height: calc(100dvh - 3rem); padding: 1.1rem 1.2rem 1.2rem; color: var(--text); background: var(--panel-strong); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.s17-howto::backdrop { background: rgba(7, 11, 24, .6); backdrop-filter: blur(2px); }
.s17-howto-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.s17-howto h2 { margin: 0; font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", Inter, system-ui, sans-serif; font-weight: 800; font-size: 1.5rem; }
.s17-howto ul { margin: .7rem 0 1rem; padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--text-soft); font-size: .9rem; line-height: 1.5; }
.s17-howto-close { width: 2.5rem; height: 2.5rem; font-size: 1.5rem; line-height: 1; color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.s17-howto-close:hover { background: var(--inset-bg); color: var(--text); }
.s17-howto-done { width: 100%; padding: .7rem; font: 600 .95rem Inter, system-ui, sans-serif; color: #04121a; background: var(--cyan); border: 0; border-radius: 12px; cursor: pointer; }
.s17-howto-close:focus-visible, .s17-howto-done:focus-visible, .s17-howto-trigger:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
/* Paid plans: locked predictions, the free Game of the Week, and the upgrade page. */
.pro-lock { display: inline-flex; align-items: center; gap: .4rem; color: var(--text-soft); font-size: .78rem; font-weight: 700; text-decoration: none; }
.pro-lock b { padding: .12rem .45rem; color: var(--bg); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; background: var(--amber); border-radius: 99px; }
.pro-lock:hover span, .pro-lock:focus-visible span { text-decoration: underline; }
.pro-lock-icon { flex: none; color: var(--amber); }
.pro-lock-score { display: inline-flex; align-items: center; justify-content: center; min-height: 1.2em; color: var(--amber); }
.pro-lock-score .pro-lock-icon { width: 1.4rem; height: 1.4rem; }
.probability-row-locked { opacity: .45; }
.probability-row-locked .probability-track i { background: var(--line); }
.gotw-badge { color: var(--amber); border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .1); }
.pro-locked-panel { display: grid; gap: .6rem; justify-items: start; padding: 1.1rem 1.2rem; background: var(--inset-bg); border: 1px dashed rgba(251, 191, 36, .45); border-radius: 14px; }
.pro-locked-panel p { margin: 0; color: var(--text-soft); }
.upgrade-plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.25rem 0; }
.upgrade-plan { display: grid; gap: .7rem; align-content: start; padding: 1.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.upgrade-plan-featured { border-color: rgba(251, 191, 36, .55); box-shadow: 0 0 0 1px rgba(251, 191, 36, .25) inset; }
.upgrade-plan h2 { margin: 0; font-size: 1.15rem; }
.upgrade-price { margin: 0; font-size: 2rem; font-weight: 800; }
.upgrade-price small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.upgrade-plan ul { margin: 0; padding-left: 1.1rem; color: var(--text-soft); }
.upgrade-plan .join-form { max-width: none; } .upgrade-plan .join-form button { flex: 1 1 100%; }
.gotw-record { display: inline-flex; gap: .5rem; align-items: baseline; padding: .55rem .9rem; background: var(--inset-bg); border: 1px solid var(--line); border-radius: 12px; }
.gotw-record strong { font-size: 1.25rem; }
