.redux-stats-room{--stats-ink:#e9f1f5;--stats-muted:#9eb5c2;box-sizing:border-box;width:min(1040px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #3e5969;border-radius:16px;background:#081b27;color:var(--stats-ink);font:14px/1.5 Arial,sans-serif;box-shadow:0 24px 100px #000a;overflow:hidden}.redux-stats-room *{box-sizing:border-box}.redux-stats-room::backdrop{background:#020d16d9;backdrop-filter:blur(9px)}.stats-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 28px;background:linear-gradient(110deg,#163747,#0b202e);border-bottom:1px solid #294553}.stats-eyebrow{font:10px/1.4 monospace;letter-spacing:2.5px;color:#b0c7d2;margin:0 0 8px}.stats-head h2{font-size:clamp(23px,4vw,35px);line-height:1.1;letter-spacing:-1px;margin:0}.stats-action{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid #486473;border-radius:7px;background:#153242;color:#e4eef3;min-height:44px;padding:9px 14px;font:700 10px/1.3 Arial;letter-spacing:1px;cursor:pointer;white-space:nowrap}.stats-action svg{display:block;width:18px;height:18px;flex:none}.stats-tabs{display:flex;gap:6px;padding:14px 28px;background:#0b2330;border-bottom:1px solid #294553;overflow:auto}.stats-tabs .stats-action{background:transparent;border-color:transparent;border-radius:6px;flex:1;color:#a8bfcb}.stats-tabs .stats-action[aria-selected=true]{color:#f5fbff;background:#284653;border-color:#4f6c79}.stats-body{max-height:calc(100dvh - 222px);overflow:auto;overscroll-behavior:contain;scrollbar-color:#496371 transparent;padding:24px 28px 32px}.stats-panel[hidden]{display:none}.stats-panel h3{font-size:17px;letter-spacing:1px;margin:0 0 14px}.stats-panel h4{margin:6px 0;font-size:15px}.stats-muted{color:var(--stats-muted);font-size:12px;line-height:1.6}.stats-section-title{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:18px}.stats-section-title h3{margin:0}.stats-live{display:inline-flex;align-items:center;gap:7px;font:700 10px monospace;white-space:nowrap;color:#b5e6d3}.stats-live:before{content:'';width:6px;height:6px;background:#a0d5be;border-radius:50%;box-shadow:0 0 12px #8bd2b377}.stats-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stats-metric{padding:18px;border:1px solid #294553;border-radius:9px;background:linear-gradient(135deg,#173340,#0d2532);position:relative;overflow:hidden}.stats-metric svg{width:24px;height:24px;position:absolute;right:18px;top:18px;color:#86a4b4}.stats-metric p{font:10px/1.4 monospace;letter-spacing:1px;margin:0 32px 12px 0;color:#bed0da}.stats-metric strong{display:block;font:700 clamp(28px,5vw,42px)/1 Arial;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stats-metric small{display:block;color:#9ab2c0;font-size:11px;margin-top:10px}.stats-today{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:16px 0 24px;padding:12px 16px;border-left:2px solid #94b4c4;background:#102b39;font-size:11px}.stats-today span{font:10px monospace;letter-spacing:1px;color:#a5bfcd}.stats-today b{font-weight:400}.stats-chart{border:1px solid #294553;border-radius:10px;padding:20px;background:#0c2330}.stats-chart h3{font-size:12px;margin-bottom:0}.stats-chart>p{margin:8px 0}.stats-bars{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:8px;height:142px;padding-top:14px}.stats-day{display:flex;flex-direction:column;align-items:center;min-width:0;gap:6px}.stats-bar-track{height:100px;width:100%;position:relative;background:#15313e;border-radius:3px;display:flex;justify-content:center;align-items:flex-end;gap:2px;overflow:hidden}.stats-start-bar{background:#b7ccd7;width:54%;border-radius:3px 3px 0 0;min-height:1px}.stats-win-bar{background:#d6bc74;width:25%;border-radius:2px 2px 0 0}.stats-bar-track>span{color:#698694;align-self:center}.stats-day small{color:#96afbc;font:9px monospace}.stats-method{margin:18px 0;color:#a4bdca;font-size:12px;border-top:1px solid #294553;padding-top:14px}.stats-method summary{cursor:pointer;color:#cedde6;font:700 10px/1.5 Arial;letter-spacing:1px;min-height:30px;display:list-item}.stats-method p{line-height:1.7}.stats-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:20px 0 16px}.stats-field{display:flex;flex-direction:column;gap:7px;min-width:0;font:10px/1.4 Arial;letter-spacing:1px;color:#b3c9d5}.stats-field select,.stats-callsign input{width:100%;min-height:44px;border:1px solid #466272;border-radius:6px;padding:10px;background:#102d3d;color:#eff5f8;font:13px Arial}.stats-power-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stats-power-row{border:1px solid #35515f;border-radius:7px;background:#102a38;padding:12px;display:flex;flex-direction:column;gap:9px}.stats-power-row label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;min-height:24px}.stats-power-row input{width:17px;height:17px;accent-color:#a9c7d8;margin:0;flex:none}.stats-ai-toggle{color:#a5bfcd;font-size:11px!important;padding-left:25px}.stats-ai-toggle:has(input:disabled){opacity:.45}.stats-method .stats-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.stats-board-label{font-size:12px;color:#bcd0dc;line-height:1.7;padding:14px 16px;border-left:2px solid #b8cbd5;background:#122c3a;margin:18px 0}.stats-results{border:1px solid #35515f;border-radius:10px;overflow:hidden;padding:4px 16px}.stats-results:has(>h4){padding:30px;text-align:center;background:radial-gradient(ellipse at top,#214251,#0c2330)}.stats-results>svg{width:44px;height:44px;color:#a8c3d1;margin-bottom:8px}.stats-score-columns,.stats-score{display:grid;grid-template-columns:32px minmax(0,1fr) 100px;gap:14px;align-items:center;padding:12px 0}.stats-score-columns{font:9px monospace;color:#8da8b8;letter-spacing:1px}.stats-score-columns span:last-child{text-align:right}.stats-score{border-top:1px solid #294553}.stats-rank{display:grid;place-items:center;width:28px;height:32px;border:1px solid #3b5968;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);font:700 12px monospace;color:#b7ceda}.stats-score[data-podium=true] .stats-rank{color:#ead79e;border-color:#baa36b;background:#4c4731}.stats-score>div{min-width:0}.stats-score>div>b{font-size:13px;overflow-wrap:anywhere}.stats-score small{display:block;font-size:10px;color:#8eacbd;margin-top:4px}.stats-score-time{text-align:right;font:700 20px monospace;font-variant-numeric:tabular-nums;letter-spacing:-1px}.stats-empty{padding:22px 0;color:#a6becd}.stats-callsign{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px;margin:22px 0 18px}.stats-callsign label{grid-column:1/-1;font:10px monospace;letter-spacing:1px;color:#aac3d2}.stats-callsign small{grid-column:1/-1;color:#a1bcca;font-size:11px;line-height:1.6}.stats-personal-summary{display:flex;flex-wrap:wrap;gap:14px;background:#173340;border-radius:6px;padding:12px;margin:18px 0;font:10px Arial;letter-spacing:.5px}.stats-personal-summary span{margin-left:auto;color:#9db8c8}.stats-history{border-top:1px solid #294553;padding:18px 0}.stats-history>div{display:flex;justify-content:space-between;gap:12px;font:700 12px monospace;color:#c8d8e0}.stats-history>div>strong{font-size:19px}.stats-history h4{margin:8px 0}.stats-history p{margin:4px 0}.stats-history small{display:block;color:#9ab4c2;font-size:10px;margin-top:8px}.stats-link{display:inline-flex;padding:14px 18px;background:#254554;color:#ebf6fb;text-decoration:none;border-radius:7px;font:700 11px Arial;letter-spacing:1px}.stats-toast{position:fixed;z-index:100000;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:90vw;min-height:44px;padding:12px 18px;background:#193c4eeb;border:1px solid #86aabd;border-radius:8px;color:#e1eef5;font:700 11px Arial;letter-spacing:1px;cursor:pointer}.redux-stats-room button:focus-visible,.redux-stats-room a:focus-visible,.redux-stats-room input:focus-visible,.redux-stats-room select:focus-visible{outline:2px solid #e4f2fa;outline-offset:3px}.redux-stats-room button:hover{filter:brightness(1.13)}
@media(max-width:600px){.redux-stats-room{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.stats-head{padding:18px 16px}.stats-head h2{font-size:24px}.stats-eyebrow{font-size:8px;letter-spacing:1.5px}.stats-tabs{padding:9px 10px;gap:0}.stats-tabs .stats-action{padding:8px 6px;font-size:8px;letter-spacing:.3px;gap:5px}.stats-tabs .stats-action svg{width:15px;height:15px}.stats-body{padding:18px 16px 24px;max-height:calc(100dvh - 184px)}.stats-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stats-metric{padding:13px}.stats-metric svg{right:11px;top:12px;width:18px;height:18px}.stats-metric p{font-size:8px;letter-spacing:.5px;margin-right:18px;min-height:22px}.stats-metric strong{font-size:31px}.stats-metric small{font-size:9px}.stats-section-title h3{font-size:13px;letter-spacing:.5px}.stats-live{font-size:8px}.stats-today{gap:10px;font-size:10px}.stats-chart{padding:12px}.stats-bars{gap:4px}.stats-filters{grid-template-columns:1fr 1fr}.stats-filters>.stats-field:first-child{grid-column:1/-1}.stats-power-filters{grid-template-columns:1fr}.stats-power-row{flex-direction:row;justify-content:space-between;padding:10px 12px}.stats-ai-toggle{padding-left:0}.stats-method .stats-filters{grid-template-columns:1fr 1fr}.stats-method .stats-filters>.stats-field:first-child{grid-column:auto}.stats-score-columns,.stats-score{grid-template-columns:27px minmax(0,1fr) 77px;gap:9px}.stats-score-time{font-size:18px}.stats-results{padding:4px 10px}.stats-personal-summary{font-size:9px;gap:10px}.stats-personal-summary span{width:100%;margin-left:0}.stats-head>.stats-action{font-size:0;gap:0;padding:10px;min-width:44px}.stats-head>.stats-action svg{width:20px;height:20px}}
@media(max-height:520px) and (min-width:601px){.redux-stats-room{max-height:calc(100dvh - 16px)}.stats-head{padding:13px 22px}.stats-head h2{font-size:25px}.stats-eyebrow{font-size:8px;margin-bottom:4px}.stats-tabs{padding:5px 20px}.stats-body{max-height:calc(100dvh - 156px);padding:18px 22px}.stats-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-metric{padding:12px}.stats-metric strong{font-size:30px}.stats-metric small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.redux-stats-room *{scroll-behavior:auto}}

/* Explicit positioning and weights survive framework preflight resets. */
.redux-stats-room{position:fixed;inset:0;margin:auto}.stats-head h2,.stats-panel h3,.stats-results h4{font-weight:700}
