.analytics-hub{font-family:'Segoe UI',system-ui,sans-serif}
.analytics-tabs{display:flex;flex-wrap:wrap;gap:8px}
.analytics-tabs a{padding:11px 20px;border:1px solid #c5cedb;border-radius:999px;color:#163b60;font-size:13px;font-weight:650;text-decoration:none}
.analytics-tabs a:hover,.analytics-tabs a[aria-current=page]{color:#fff;background:#c81927;border-color:#c81927}
.analytics-context{margin:0;color:#50627b;font-size:13px;line-height:1.7}
.analytics-panel{background:#182136;color:#f3f6fc;border:1px solid #d9182555;border-radius:28px;padding:26px;min-width:0;box-shadow:0 5px 18px #082b4c10}
.analytics-panel h2{margin:0 0 10px;font:400 21px/1.35 'Russo One',sans-serif}
.analytics-panel p{font-size:14px;line-height:1.7}
.analytics-note{color:#50627b;font-size:13px;line-height:1.7;margin:8px 0 0}
.analytics-panel .analytics-note{color:#b8c8df}
.analytics-panel a,.team-result-analytics a{color:#ff8d96;text-underline-offset:4px}
.analytics-panel a:hover,.team-result-analytics a:hover{color:#fff}
.analytics-panel summary{cursor:pointer;font-weight:700;font-size:15px;line-height:1.5}
.analytics-panel[open]>summary{margin-bottom:24px}
.analytics-panel .nba-filters{margin:18px 0}
.analytics-panel .nba-filters label span{color:#c5d2e5}
.analytics-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#34425a;border:1px solid #34425a;border-radius:28px;overflow:hidden}
.analytics-stats>div{background:#182136;padding:24px;color:#f3f6fc;display:grid;gap:12px}
.analytics-stats strong{font:400 clamp(24px,3vw,36px)/1.15 'Russo One',sans-serif;font-variant-numeric:tabular-nums}
.analytics-stats span{font-size:12px;line-height:1.6;color:#bdcce2}
.analytics-panel .analytics-stats{border:0;border-radius:0;background:transparent;gap:24px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:24px}
.analytics-panel .analytics-stats>div{background:transparent;padding:0}
.analytics-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px}
.analytics-bars{display:grid;gap:20px;margin-top:20px}
.analytics-bar>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:7px;font-size:13px}
.analytics-bar strong{font-variant-numeric:tabular-nums;white-space:nowrap;color:#fff}
.analytics-bar small{display:block;color:#aebfd7;font-size:11px;margin-top:5px}
.analytics-bar-track{height:8px;border-radius:999px;background:#344159;overflow:hidden}
.analytics-bar-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b81f2d,#ff5b68)}
.analytics-scatter{width:100%;height:auto;margin-top:24px;overflow:visible}
.analytics-scatter text{fill:#b8c8df;font:10px 'Segoe UI',sans-serif}
.analytics-scatter a:focus-visible circle{stroke:#fff;stroke-width:3}
.analytics-table-section{display:grid;gap:20px;min-width:0}
.analytics-hub .current-table{min-width:850px}
.analytics-panel .current-table-wrap{background:transparent;border-color:#41516a;margin-top:20px}
.analytics-panel .current-table td{background:transparent;color:#e4edf9;border-color:#41516a}
.analytics-panel .current-table tbody tr:nth-child(even)>td{background:#ffffff05}
.analytics-panel .current-table tbody tr:hover>td{background:#ffffff0b}
.analytics-panel .current-table td strong,.analytics-panel .current-table td small{color:#e4edf9}
.analytics-panel .archive-pagination{color:#bdcce2}
.analytics-methods p{color:#bdcce2}
.team-result-analytics{border-top:1px solid #62718a55;padding-top:16px;margin-top:16px}
.team-result-analytics p{font:400 13px/1.6 'Segoe UI',sans-serif}
.nba-card-details .team-result-analytics a{color:#a31523}
.scoreboard-disclaimer{color:#bdcce2;padding:0 24px 20px;text-align:center}
.analytics-hub .scoreboard-name{font-size:clamp(17px,2.1vw,27px)}
.analytics-hub .nba-filters input{font-family:inherit}
.analytics-hub :focus-visible{outline:2px solid #e33140;outline-offset:4px}
@media(max-width:850px){.analytics-grid{grid-template-columns:1fr}.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-panel{padding:22px}.analytics-hub .nba-hero{align-items:start;flex-direction:column}}
@media(max-width:550px){.analytics-tabs{gap:6px}.analytics-tabs a{padding:9px 13px;font-size:12px}.analytics-stats>div{padding:18px}.analytics-panel .analytics-stats{grid-template-columns:1fr;gap:18px}.analytics-panel .analytics-stats>div{grid-template-columns:auto 1fr;align-items:center}.analytics-panel .analytics-stats strong{font-size:24px}.analytics-panel .analytics-stats span{text-align:right}.analytics-panel h2{font-size:18px}.analytics-hub .scoreboard-name{font-size:15px}.analytics-hub .nba-filters label{min-width:100%}}

.team-result-analytics{color:#153858}.team-result-analytics a{color:#b71928}.dark-surface .team-result-analytics{color:#f2f3f5}.dark-surface .team-result-analytics a{color:#ff8d96}
.insight-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.insight-paths a{border:1px solid #d9182544;border-radius:24px;background:#182136;color:#f3f6fc;padding:20px 24px;font-weight:650;text-decoration:none;line-height:1.5}
.insight-paths a:hover{border-color:#d91825;color:#ff9ba4}
.analytics-panel .insight-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
.insight-controls label{min-width:0!important;width:100%}
.insight-controls input[type=number]{box-sizing:border-box;width:100%;min-height:50px;border:1px solid #697b97;border-radius:999px;background:#11192b;color:#fff;padding:12px 20px;font:600 16px 'Segoe UI',sans-serif;color-scheme:dark}
.insight-controls select{width:100%;min-width:0}
.insight-cohort{border-top:1px solid #40516b;padding-top:20px;color:#d2dff1}
.insight-probability{height:16px;overflow:hidden;border-radius:999px;background:#64738b;margin:18px 0}
.insight-probability span{height:100%;display:block;background:#ef4050;border-radius:inherit}
.insight-verdict{font-weight:700;color:#fff}
.insight-link{color:#ad1825;font-weight:700;text-underline-offset:4px}
.analytics-hub .insight-text-button{background:transparent!important;border:0!important;border-radius:0!important;color:#173e65!important;font:700 14px/1.5 'Segoe UI',sans-serif!important;padding:0!important;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.player-history{display:grid;gap:24px;scroll-margin-top:24px;min-width:0}
.team-likelihood-link{display:block;margin-top:10px}
.analytics-panel .current-table td a,.archive-rankings .current-table td a{color:#ff9ca5}
.analytics-panel .current-table td a:hover,.archive-rankings .current-table td a:hover{color:#fff}
.imported-archive .current-table td a{display:inline-block}

/* Lead with an answer; keep the full evidence one click away. */
.analytics-hub .analytics-panel h2{font-size:clamp(20px,2vw,25px);line-height:1.4}
.analytics-hub .analytics-note{font-size:14px;line-height:1.65}
.analytics-hub .analytics-bar>div:first-child{font-size:15px;line-height:1.45}
.analytics-hub .analytics-bar strong{font-size:18px}
.analytics-hub .analytics-bar small{font-size:13px;line-height:1.5}
.analytics-hub .analytics-bar-track{height:13px}
.analytics-hub .analytics-bar-track span{background:#ed4051}
.fan-details>summary,.fan-coverage>summary{cursor:pointer;font-weight:650;line-height:1.5}
.fan-details[open]>summary{margin-bottom:22px}
.analytics-panel>.fan-details{border-top:1px solid #566780;padding-top:16px;margin:8px 0 20px}
.fan-coverage{color:#486078;font-size:14px;padding:2px 0}
.fan-coverage p{margin:12px 0}
.fan-kicker{font-size:12px;letter-spacing:.12em;font-weight:750;color:#adc8ee}
.fan-odds{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:36px;padding:20px 0;align-items:center}
.fan-answer>strong{display:block;font:400 clamp(30px,3.9vw,51px)/1.15 'Russo One',sans-serif;color:#fff;margin:14px 0}
.fan-answer>p{font-size:19px;margin:0;color:#d5e4f8}
.fan-ten{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;margin:12px 0 20px}
.fan-ten>span{height:70px;border-radius:14px;background:#a9283a;position:relative;overflow:hidden;border:1px solid #d8828d}
.fan-ten i{position:absolute;bottom:0;left:0;right:0;background:#adcefa}
.fan-legend{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:14px;line-height:1.6}
.fan-legend>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.fan-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex-shrink:0}
.fan-made{background:#adcefa}.fan-missed{background:#cf5364}
.analytics-panel .fan-caution{border-left:3px solid #f7c96e;padding-left:14px;color:#f5dba8;font-size:14px}
.analytics-panel .fan-headline{font:400 clamp(23px,2.6vw,34px)/1.4 'Russo One',sans-serif;color:#fff;margin:16px 0 24px}
.analytics-panel .fan-takeaway{color:#edf4ff;font-weight:650;font-size:16px;margin-top:22px}
.fan-versus{display:grid;grid-template-columns:1fr auto 1fr;gap:26px;align-items:center;margin:26px 0}
.fan-versus>div{display:grid;gap:12px}
.fan-versus>div:last-child{text-align:right}
.fan-versus strong{font:400 clamp(30px,4vw,52px)/1.1 'Russo One',sans-serif;color:#fff}
.fan-versus span{font-size:15px;color:#c5d6ed}.fan-versus .fan-vs{font-weight:750;font-size:14px;color:#f8919c}
.fan-versus small{color:#b8cbe4;font-size:12px;line-height:1.6}
.game-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
.game-select{grid-template-columns:minmax(0,1fr)}
.game-scoreboard{max-width:none;margin-bottom:24px}
.game-scoreboard .scoreboard-home{--team-color:#e43d50}
.game-scoreboard .scoreboard-away{--team-color:#78b6f6}
.game-scoreboard .scoreboard-score{font-size:clamp(42px,5vw,78px);color:#fff}
.game-scoreboard .scoreboard-name{font-size:clamp(19px,2vw,29px)}
.game-score-note{padding:16px 28px;margin:0;color:#c9d6ed;font:400 13px/1.6 'Segoe UI',sans-serif}
.game-score-note a{color:#ff9ca5}
.game-rosters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}
.game-rosters>.analytics-panel{min-width:0;margin:0}
.game-rosters .current-table{min-width:550px}
.game-rosters .analytics-table-section{margin-bottom:0}
.game-player-position{display:block;font-size:12px;margin-top:4px}
.decision-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.decision-inputs label{min-width:0}
.decision-inputs input{box-sizing:border-box;width:100%;padding:13px 18px;border-radius:999px;border:1px solid #516079;background:#131a2c;color:#fff;font:500 16px 'Segoe UI',sans-serif}
.decision-readout{font:600 18px/1.7 'Segoe UI',sans-serif;color:#e5edf9!important}
.decision-framework{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.decision-framework>div{border-top:2px solid #bf3145;padding-top:15px}
.decision-framework h3{font-size:18px;color:#fff}.decision-framework p{font:400 15px/1.7 'Segoe UI',sans-serif;color:#ccdaef}
.analytics-panel:has(.decision-inputs) .analytics-table-section{display:block}
.analytics-panel:has(.decision-inputs) .current-table-wrap{min-width:0;max-width:100%}
@media(max-width:650px){.decision-inputs,.decision-framework{grid-template-columns:1fr}}
.game-analysis-basis{display:inline-block;color:#a6dcec;font:650 11px/1.5 'Segoe UI',sans-serif;text-transform:uppercase;letter-spacing:.1em;margin-top:6px}
.game-analysis-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}
.game-analysis-teams p{margin:0;border-top:2px solid #bd3147;padding-top:14px;font:400 15px/1.8 'Segoe UI',sans-serif;color:#d2def1}
.game-analysis-teams strong{display:block;color:#fff;font-weight:700;margin-bottom:8px}
.game-analysis-teams span{display:block}
.game-result-context .game-analysis-read{font:500 16px/1.8 'Segoe UI',sans-serif;color:#e2ebf7}
@media(max-width:700px){.game-analysis-teams{grid-template-columns:1fr;gap:20px}}
.game-evidence-panel{border-color:#3981ac66!important;background:radial-gradient(ellipse at 90% 0%,#123f563d,transparent 55%),linear-gradient(135deg,#111b30,#101528)!important}
.evidence-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:24px}
.evidence-teams>section{min-width:0;border-top:2px solid #bc3145;padding-top:14px}
.evidence-teams h3{font:400 19px/1.4 'Russo One',sans-serif;color:#fff;margin:0 0 18px}
.evidence-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.evidence-metrics>div{display:flex;flex-direction:column;gap:10px;border-right:1px solid #50678766;padding-right:10px}
.evidence-metrics>div:last-child{border:0}
.evidence-metrics strong{font:400 38px/1 'Russo One',sans-serif;color:#fff;font-variant-numeric:tabular-nums}
.evidence-metrics span{font:600 12px/1.5 'Segoe UI',sans-serif;color:#b8d9f0}
.game-evidence-panel .evidence-correction{color:#a6e8ef;font:500 14px/1.7 'Segoe UI',sans-serif;border-left:3px solid #65d2e0;padding:2px 0 2px 14px;margin:20px 0}
.evidence-teams .current-table{min-width:520px}
.evidence-teams .analytics-table-section{display:block;margin:16px 0 0}
.evidence-teams .current-table-wrap,.game-rosters .current-table-wrap{min-width:0;max-width:100%}
.evidence-teams .analytics-note{font-size:13px;line-height:1.6;margin-top:20px}
@media(max-width:950px){.evidence-teams{grid-template-columns:1fr}}
@media(max-width:500px){.evidence-metrics{gap:8px}.evidence-metrics strong{font-size:30px}.evidence-metrics span{font-size:11px}}
.game-injury-total{display:flex;gap:14px;align-items:center;color:#d5e5fb}
.game-injury-total strong{font:400 42px/1 'Russo One',sans-serif;color:#fff}
.game-injury-total span{font-size:14px;line-height:1.5}
.analytics-panel .game-unavailable{color:#f6c7aa;line-height:1.6}
.game-uncertain{margin-top:20px;color:#e6d1b9;font-size:13px;line-height:1.7}
.game-uncertain summary{cursor:pointer}
@media(max-width:1000px){.game-rosters{grid-template-columns:1fr}}
@media(max-width:650px){.game-filters{grid-template-columns:1fr}.game-score-note{padding:16px}.game-scoreboard .scoreboard-score{width:90px;font-size:44px;min-height:96px}.game-scoreboard .scoreboard-center span{font-size:8px}.game-scoreboard .scoreboard-name{font-size:16px}}
.fan-leaders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.analytics-hub .fan-player{display:flex;flex-direction:column;align-items:start;gap:12px;text-align:left;padding:24px;border-radius:28px!important;border:1px solid #bc33465c!important;background:#182136!important;color:#f5f8ff!important;font-family:'Segoe UI',sans-serif;cursor:pointer;box-shadow:0 4px 16px #11264814}
.analytics-hub .fan-player:hover{border-color:#e43244!important;background:#222e47!important}
.fan-rank{background:#bc2032;color:#fff;padding:7px 14px;border-radius:999px;font-weight:750;font-size:14px}
.fan-player-name{font-size:21px;line-height:1.4;min-height:2.8em}
.fan-player-number{font:400 44px/1.15 'Russo One',sans-serif}
.fan-player small{color:#bfd0e8;font-size:13px;line-height:1.5}
.fan-player-link{color:#ff9ca6;font-weight:650;font-size:14px;margin-top:auto;padding-top:10px}
.fan-glossary dl{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px 24px;line-height:1.6;font-size:15px}
.fan-glossary dt{font-weight:700;color:#fff}.fan-glossary dd{margin:0;color:#c6d7ee}
.analytics-table-section.fan-details:not([open]){display:block}
.fan-trend svg{display:block;width:100%;height:auto;margin-top:20px}
.fan-trend svg text{fill:#c5d6ed;font:12px 'Segoe UI',sans-serif}
.fan-trend svg [role=button]{cursor:pointer}
.fan-trend svg [role=button]:focus-visible{outline:none}
.fan-trend svg [role=button]:focus-visible circle:last-of-type{stroke:#fff;stroke-width:3}
.fan-trend-readout{display:grid;gap:8px;padding-top:14px}
.fan-trend-readout strong{font:400 clamp(24px,3vw,36px)/1.3 'Russo One',sans-serif;color:#fff}
.fan-trend-readout span{color:#c5d6ed;font-size:14px}
.analytics-panel.fan-trend-panel{position:relative;isolation:isolate;background:radial-gradient(ellipse at 90% 0%,#123f563d,transparent 55%),linear-gradient(135deg,#111b30,#0b1223 75%);border:1px solid #3981ac66;box-shadow:inset 0 1px 0 #a5ddff20,0 12px 35px #0a203a1a;overflow:hidden}
.fan-trend-panel:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent,transparent 5px,#77baff02 6px);opacity:.8}
.fan-trend-panel:after{content:'';position:absolute;top:0;left:5%;width:40%;height:1px;background:linear-gradient(90deg,transparent,#6cdbff,transparent);pointer-events:none}
.trend-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #67b5dd25;padding-top:20px;margin-top:22px;color:#9fb9d4;font:650 11px/1.5 'Segoe UI',sans-serif;letter-spacing:.14em}
.trend-topline>span:first-child{display:flex;align-items:center;gap:9px;color:#83d9f4}
.trend-topline i{width:6px;height:6px;border-radius:50%;background:#73dfff;box-shadow:0 0 12px #42c9ff99}
.trend-console{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:16px}
.fan-trend-panel .fan-trend-readout{padding-top:0;gap:9px}
.fan-trend-panel .fan-trend-readout .trend-season{justify-self:start;color:#ffa7b4;font-size:12px;letter-spacing:.09em;font-weight:700}
.fan-trend-panel .fan-trend-readout strong{display:flex;align-items:baseline;gap:12px;font-size:clamp(38px,5vw,62px);font-variant-numeric:tabular-nums;line-height:1.1;text-shadow:0 0 24px #77cfff25}
.fan-trend-readout strong small{font:500 17px/1.3 'Segoe UI',sans-serif;color:#a9c0dc}
.trend-navigation{display:flex;gap:8px}
.analytics-hub .trend-navigation button{width:42px;height:42px;min-width:42px;padding:0!important;border:1px solid #fd718a66!important;border-radius:50%!important;background:#a81e35!important;color:#fff!important;font:500 22px/1 'Segoe UI',sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff20}
.analytics-hub .trend-navigation button:hover:not(:disabled){background:#d52c48!important;box-shadow:0 0 15px #ef3f5a40}
.analytics-hub .trend-navigation button:disabled{background:#661b2e!important;color:#cb8b9a!important;opacity:.65;cursor:default}
.fan-trend-panel .fan-trend svg{margin-top:10px}
.fan-trend-panel .fan-trend svg text{fill:#9ebad5;font:12px 'Segoe UI',sans-serif;font-variant-numeric:tabular-nums}
.trend-grid{stroke:#65a1c428;stroke-width:.7;stroke-dasharray:2 5}
.trend-grid-base{stroke:#6290b466;stroke-width:.8}
.trend-grid-vertical{stroke:#67a6d017;stroke-width:.6}
.trend-guide{stroke:#ff69877a;stroke-width:.8;stroke-dasharray:2 4}
.trend-line{stroke-linecap:round;stroke-linejoin:round}
.trend-glow{stroke-linecap:round;stroke-linejoin:round;opacity:.22;filter:blur(4px)}
.trend-beacon{fill:#ff496217;stroke:#ff83934d;stroke-width:1}
.trend-node{transition:r .15s ease,fill .15s ease}
.trend-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:14px;border-top:1px solid #67b5dd25}
.trend-footer>span{display:flex;align-items:center;gap:8px;color:#c8def2;font-size:12px;white-space:nowrap}
.trend-footer i{width:18px;height:3px;border-radius:999px;background:#69d5ff;box-shadow:0 0 10px #38bfff77}
.fan-trend-panel .trend-footer p{margin:0;font-size:12px;color:#a6bbd4}
@media(max-width:550px){.trend-topline{font-size:10px;letter-spacing:.08em}.trend-console{gap:10px}.trend-navigation{gap:6px}.analytics-hub .trend-navigation button{width:36px;height:36px;min-width:36px}.fan-trend-panel .fan-trend-readout strong{font-size:40px;gap:8px}.fan-trend-readout strong small{font-size:14px}.fan-trend-panel .fan-trend-readout>span:last-child{font-size:12px}.trend-footer{align-items:start;flex-direction:column;gap:10px}.fan-trend-panel .fan-trend svg text{font-size:20px}}
@media(prefers-reduced-motion:reduce){.trend-node{transition:none}}
@media(max-width:850px){.fan-odds{grid-template-columns:1fr;gap:18px}.fan-ten{max-width:550px}.fan-player-name{font-size:18px}}
@media(max-width:550px){.fan-leaders{grid-template-columns:1fr}.fan-player-name{min-height:0}.analytics-hub .fan-player{padding:22px}.fan-ten{gap:5px}.fan-ten>span{height:54px;border-radius:9px}.fan-legend{display:grid;gap:8px}.fan-glossary dl{grid-template-columns:1fr;gap:8px}.fan-glossary dd{margin-bottom:14px}.fan-versus{gap:12px}.fan-versus span{font-size:13px}.analytics-hub .analytics-bar>div:first-child{font-size:14px}.analytics-hub .analytics-bar strong{font-size:16px}}
@media(max-width:850px){.analytics-panel .insight-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.insight-paths,.analytics-panel .insight-controls{grid-template-columns:1fr}.insight-paths a{padding:16px 20px}.insight-controls input[type=number]{font-size:16px}}

/* Players view: filter scope notice with reset */
.player-scope{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.player-scope p{margin:0;flex:1 1 280px}
.player-scope .pill-action{flex:0 0 auto}
