.stats-page .stats-donut>svg>circle{stroke:#313339}
.stats-page .stats-shell{max-width:1440px;height:auto;min-height:100svh;display:block;padding:108px 48px 64px}
.stats-page .stats-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:24px 0 32px}
.stats-kicker{font:700 11px/1.4 var(--body);letter-spacing:1.8px;color:#f0808b;margin:0 0 10px}
.stats-page .stats-heading h1{font:italic 900 clamp(42px,5vw,72px)/1 var(--display);text-transform:uppercase;margin:0 0 14px;letter-spacing:-1px}
.stats-heading h1 em{color:var(--red);font:inherit}.stats-heading p:not(.stats-kicker){color:var(--muted);font-size:14px;margin:0;max-width:550px}.stats-updated{white-space:nowrap;font-size:12px!important}
.stats-records{display:grid;grid-template-columns:1fr 1.15fr;gap:20px;margin-bottom:28px}.stats-peak{padding:32px;background:radial-gradient(ellipse at top right,#571e2b88,transparent 70%),#19191b;border:1px solid #66313b;border-left:3px solid #d74756;border-radius:6px;display:flex;flex-direction:column;justify-content:center}
.stats-peak h2{font:600 20px var(--body);margin:0 0 18px}.stats-peak>strong{font:800 clamp(40px,4.2vw,64px)/1.1 var(--display);font-variant-numeric:tabular-nums}.stats-peak>p{font-size:13px;color:#cecece;margin:18px 0 6px}.stats-peak small{color:var(--muted);font-size:12px;line-height:1.5}
.stats-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stats-metrics article{padding:22px 24px;border:1px solid #37393f;background:#1b1b1d;border-radius:6px;display:flex;flex-direction:column}.stats-metrics article>span{font-size:13px;color:#cdcdcd}.stats-metrics strong{font:800 44px/1.2 var(--display);margin:5px 0}.stats-metrics small{font-size:11px;color:var(--muted)}
.stats-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:start}.stats-panel{padding:28px;background:#18181a;border:1px solid #37393f;border-radius:6px;min-width:0}.stats-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.stats-section-heading h2{font:700 30px/1.1 var(--display);margin:0}.stats-description{color:var(--muted);font-size:13px;line-height:1.6;margin:16px 0 26px}.stats-panel h3{font:600 14px var(--body);margin:28px 0 12px}.stats-filter{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:11px}.stats-filter select{color:var(--white);background:#222224;border:1px solid #45474d;border-radius:4px;padding:9px;font-size:13px;max-width:180px}
.stats-panel ol{padding:0;list-style:none;margin:0}.stats-outcomes li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;margin-bottom:16px;font-size:13px}.stats-outcomes meter{grid-column:1/-1;width:100%;height:7px;appearance:none;border:0;background:#2d2d2f;border-radius:8px}.stats-outcomes meter::-webkit-meter-bar{background:#2d2d2f;border:0}.stats-outcomes meter::-webkit-meter-optimum-value{background:#c74453}.stats-outcomes meter::-moz-meter-bar{background:#c74453}
.stats-results-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.stats-results-heading>span{font-size:12px;color:var(--muted)}.stats-results li{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:15px 0;border-top:1px solid #f7f9ff12;font-size:13px}.stats-results strong{font-weight:600;display:block}.stats-results small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.stats-results time{flex:none;color:var(--muted);font-size:11px}.stats-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px}.stats-pagination .button{padding:9px 12px;font-size:12px}.stats-pagination>span{font-size:12px;color:var(--muted)}
.stats-rankings li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;align-items:baseline;border-top:1px solid #f7f9ff12;padding:16px 0;font-size:14px}.stats-rankings .rank{color:#f0808b;font:700 18px var(--display)}.stats-rankings strong{font-size:12px;white-space:nowrap;color:#c3c3c3}.stats-empty{color:var(--muted);font-size:13px;line-height:1.6;padding:16px 0}.stats-vote-link{width:100%;margin-top:24px;justify-content:space-between;border-color:#803843;background:#a4263720}.stats-footnote{font-size:12px;color:var(--muted);margin:24px 0}.stats-panel [aria-busy=true]{opacity:.6}
@media(max-width:1050px){.stats-page .stats-shell{padding-inline:28px}.stats-columns{grid-template-columns:1.15fr 1fr;gap:16px}.stats-panel{padding:22px}.stats-peak{padding:24px}.stats-metrics article{padding:18px}}
@media(max-width:800px){.stats-page .stats-shell{padding-inline:16px;padding-bottom:36px}.stats-page .stats-heading{display:block;margin:24px 0}.stats-updated{margin-top:16px!important}.stats-records,.stats-columns{grid-template-columns:1fr}.stats-panel{padding:22px 18px}.stats-peak{min-height:230px}.stats-peak>strong{font-size:50px}.stats-section-heading{gap:12px}.stats-section-heading h2{font-size:28px}.stats-filter select{max-width:145px}.stats-metrics strong{font-size:38px}.stats-results li{gap:10px}.stats-results time{max-width:80px;text-align:right}}
.stats-rankings li.stats-empty{display:block}

/* Visual stories: the admin donut, a goal grid, daily bars and vote races. */
.stats-progress-panel{display:grid;grid-template-columns:1fr 1.2fr;gap:36px;align-items:center;padding:28px 32px;margin-bottom:28px;border:1px solid #383a40;border-radius:8px;background:linear-gradient(115deg,#202022,#19191b 70%)}
.stats-progress-panel h2{font:700 32px/1.1 var(--display);margin:0}.stats-progress-panel p:not(.stats-kicker){font-size:13px;color:#b5b5b5;max-width:360px;line-height:1.6}.stats-progress-legend{display:flex;gap:18px;flex-wrap:wrap;color:#b5b5b5;font-size:11px}.stats-progress-legend span::before{content:'';display:inline-block;width:8px;height:8px;border-radius:2px;background:#ed6578;margin-right:6px}.stats-progress-legend span:nth-child(2)::before{background:#808080}.stats-progress-legend span:nth-child(3)::before{background:#333335}
.stats-goal-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.stats-goal-grid>button{aspect-ratio:1.5;border-radius:4px;display:grid;place-items:center;font-size:14px;font-weight:800;background:#333335;color:#fff}.stats-goal-grid .is-complete{background:#bd4259}.stats-goal-grid .is-unlocked{background:#616161}.stats-goal-grid .is-locked{border:1px solid #3f4147;background:#242426}
.stats-columns{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.stats-donut{position:relative;display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,1fr);align-items:center;gap:18px;margin:26px 0 32px}.stats-donut>svg{width:100%;max-width:290px;justify-self:center;overflow:visible}.stats-donut-number{fill:#fff5f5;font:800 36px var(--display)}.stats-donut-caption{fill:#aeaeae;font:700 10px var(--body);letter-spacing:2px}.stats-donut path{transition:stroke-width .15s,filter .15s;cursor:crosshair}.stats-donut path:hover,.stats-donut path.is-highlighted,.stats-donut path:focus-visible{stroke-width:31;filter:brightness(1.15);outline:none}
.stats-panel .stats-donut-legend{max-height:280px;overflow:auto;scrollbar-color:#b84a63 #262626;scrollbar-width:thin;padding-right:8px}.stats-donut-legend li{display:flex;align-items:center;gap:9px;padding:9px 0;font-size:12px;border-bottom:1px solid #f7f9ff08}.stats-donut-legend li>svg{width:10px;height:10px;flex:none}.stats-donut-legend strong{margin-left:auto;text-align:right;font-size:18px;white-space:nowrap}.stats-donut-legend small{display:block;color:#a5a5a5;font-size:10px;font-weight:400;margin-top:3px}.stats-donut-legend .is-highlighted{background:#ffffff08}.stats-donut-legend li:focus-visible{outline:1px solid #ed6578;outline-offset:-1px}
.stats-chart-tooltip{position:absolute;left:0;right:0;bottom:-22px;width:fit-content;max-width:100%;margin:auto;padding:9px 12px;border:1px solid #67696f;background:#242426;box-shadow:0 8px 24px #0008;border-radius:5px;font-size:12px;pointer-events:none;z-index:2}
.stats-activity{border-top:1px solid #f7f9ff12;padding-top:2px}.stats-chart-note{color:var(--muted);font-size:11px;margin:-5px 0 18px}.stats-activity svg{width:100%;overflow:visible}.stats-activity g:focus-visible{outline:1px solid #a4a6ac}.stats-activity g:hover rect:last-of-type{fill:#c6c6c6}.stats-bar-date{fill:#9e9e9e;font:10px var(--body)}.stats-bar-count{fill:#d8d8d8;font:700 11px var(--body)}
.stats-history{border-top:1px solid #f7f9ff12;margin-top:20px;padding-top:18px}.stats-history>summary{font-size:13px;cursor:pointer;font-weight:600;color:#c8c8c8}.stats-history>summary>span{float:right;color:var(--muted);font-size:12px;font-weight:400}.stats-history .stats-results{margin-top:16px}.stats-results{max-height:420px;overflow:auto;padding-right:8px!important;scrollbar-color:#b84a63 #262626}
.stats-vote-bar{grid-column:2/-1;width:100%;height:5px;margin-top:2px}.stats-rankings li{row-gap:10px}.stats-favourites .stats-description{margin-bottom:18px}.stats-favourites h3{margin-top:24px}
@media(max-width:1100px){.stats-donut{grid-template-columns:1fr}.stats-donut>svg{max-width:230px}.stats-donut-legend{width:100%}.stats-progress-panel{gap:20px}}
@media(max-width:800px){.stats-columns,.stats-progress-panel{grid-template-columns:1fr}.stats-progress-panel{padding:24px 20px;gap:18px}.stats-donut{grid-template-columns:minmax(140px,1fr) minmax(130px,1fr);gap:14px}.stats-donut-legend strong{font-size:16px}.stats-donut-legend li{font-size:11px}.stats-history>summary>span{float:none;display:block;margin:6px 0 0}}
@media(max-width:370px){.stats-donut{grid-template-columns:1fr}.stats-donut>svg{max-width:240px}}
@media(prefers-reduced-motion:reduce){.stats-donut path{transition:none}}

/* The marquee uses the real timer geometry; glow never changes the data. */
.timer-marquee{position:relative;isolation:isolate;margin:0 0 28px;padding:30px 32px 22px;border:1px solid #494b51;border-radius:12px;background:radial-gradient(ellipse at 80% 0,#3e3e4040,transparent 58%),linear-gradient(150deg,#1b1b1d,#131315 78%);box-shadow:0 18px 65px #0003;overflow:hidden}
.timer-marquee::before{content:'';position:absolute;inset:0 15% auto;height:1px;background:linear-gradient(90deg,transparent,#b9b9b9,transparent);z-index:-1}.timer-story-top{display:flex;align-items:center;justify-content:space-between;gap:24px}.timer-story-top h2{font:italic 900 clamp(32px,3.5vw,52px)/1.05 var(--display);text-transform:uppercase;letter-spacing:-.6px;margin:0}.timer-story-top h2 em{color:#f49dbb;font:inherit}.timer-view-switch{display:flex;gap:3px;padding:4px;border:1px solid #44464c;border-radius:7px;background:#131315;flex:none}.timer-view-switch button{border:0;background:none;color:#aaaaaa;border-radius:4px;font:600 12px var(--body);padding:10px 14px;min-height:40px}.timer-view-switch button[aria-pressed=true]{background:#373739;color:#eeeeee;box-shadow:0 2px 8px #0003}
.timer-story-summary{display:flex;align-items:center;gap:36px;margin:30px 0 24px}.timer-story-summary>div>span{display:block;color:#9c9c9c;font:700 10px var(--body);letter-spacing:1.5px;margin-bottom:7px}.timer-story-summary strong{font:700 clamp(26px,3vw,39px)/1 var(--display);color:#efefef;font-variant-numeric:tabular-nums}.timer-state{margin-left:auto;align-self:flex-start;border:1px solid #4b4d53;border-radius:20px;padding:7px 12px;color:#b8b8b8;font:500 11px var(--body);white-space:nowrap}.timer-state::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#adadad;margin-right:7px}.timer-state.is-running::before{background:#bababa;box-shadow:0 0 12px #bababa80}
.timer-plot-scroll{overflow-x:auto;scrollbar-color:#505050 #1b1b1b;scrollbar-width:thin}.timer-plot{display:block;width:100%;min-width:700px;overflow:visible;outline-offset:-2px}.timer-gridline{stroke:#a8aab0;stroke-opacity:.10;stroke-dasharray:2 5}.timer-axis-label{fill:#929292;font:11px var(--body)}.timer-session-label{fill:#b1b1b1;font:700 10px var(--body);letter-spacing:1.8px}.timer-pause-edge{stroke:#aeb0b6;stroke-opacity:.35;stroke-dasharray:3 5}.timer-pause-symbol{fill:#9e9e9e;font:700 12px var(--body)}.timer-line{fill:none;stroke:url(#timer-line-color);stroke-width:2.3;stroke-linejoin:round;stroke-linecap:round}.timer-glow{fill:none;stroke:#ef719d;stroke-width:9;opacity:.065;stroke-linejoin:round}.timer-peak-halo{fill:#ffca8e22;stroke:#ffca8e44}.timer-peak-label{fill:#e7bc95;font:700 9px var(--body);letter-spacing:1.6px}.timer-cursor line{stroke:#d3d5db;stroke-width:1;stroke-dasharray:4 4;opacity:.65}.timer-cursor circle{fill:#f7f7f7;stroke:#96989e;stroke-width:3}
.timer-readout{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 24px;min-height:76px;padding:15px 20px;margin:8px 0 16px;border:1px solid #4b4d5355;border-radius:6px;background:#1f1f2188}.timer-readout>span{color:#b1b1b1;font:700 10px var(--body);letter-spacing:1px}.timer-readout>strong{grid-column:2;grid-row:1/3;font:700 25px var(--display);color:#e2e2e2}.timer-readout>small{color:#a3a3a3;font:12px/1.4 var(--body)}.timer-story-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#adadad;font-size:11px}.timer-story-footer p{margin:0}.timer-story-footer>span{color:#848484;flex:none}.timer-story-coverage{color:#848484;font:11px/1.5 var(--body);margin:9px 0 0}.timer-story-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#a5a5a5}.timer-story-empty>span{font-size:64px;color:#909090;margin-bottom:16px}.timer-story-empty>strong{font:700 28px var(--display)}.timer-story-empty>p{font-size:13px}
@media(max-width:900px){.timer-story-top{align-items:flex-start;flex-direction:column;gap:18px}.timer-story-summary{gap:24px;flex-wrap:wrap}.timer-state{margin-left:0}.timer-marquee{padding:26px 22px 20px}}
@media(max-width:600px){.timer-marquee{padding:24px 16px 18px;margin-inline:-4px}.timer-story-top h2{font-size:37px}.timer-view-switch{width:100%}.timer-view-switch button{flex:1}.timer-story-summary{gap:20px 24px;margin:24px 0 18px}.timer-story-summary strong{font-size:28px}.timer-story-summary>div>span{font-size:9px;letter-spacing:.8px}.timer-state{font-size:10px}.timer-readout{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:13px;min-height:104px}.timer-readout>strong{font-size:23px}.timer-story-footer{align-items:flex-start;flex-direction:column;gap:6px}}
@media(max-width:600px){.timer-plot-scroll::after{content:'Swipe ↔';display:block;position:sticky;left:0;padding:8px 0;color:#959595;font-size:10px}}

.stats-page .stats-heading h1{margin-bottom:0}.stats-wheel-panel .stats-donut{margin-top:24px}.timer-story-coverage:empty{display:none}

/* The timeline sits directly on the page; only the data carries saturated color. */
.stats-page{background-color:#090909;background-image:repeating-linear-gradient(112deg,#ffffff02 0 1px,transparent 1px 4px)}
.timer-marquee{border:0;border-radius:0;background:none;box-shadow:none;padding:24px 0;overflow:visible}
.timer-marquee::before{display:none}
.timer-view-switch{border-color:#26282e;background:#0e0e10}.timer-view-switch button{color:#aaa}.timer-view-switch button[aria-pressed=true]{background:#56141c;color:#fff}
.timer-story-summary>div>span,.timer-readout>span{color:#9d9d9d}.timer-story-summary strong,.timer-readout>strong{color:#faf5f5}
.timer-state{border-color:#36383e;color:#acacac}.timer-state::before{background:#f04452}
.timer-gridline{stroke:#f7f9ff;stroke-opacity:.07}.timer-axis-label{fill:#8a8a8a}.timer-glow{stroke:#ff132b;stroke-width:10;opacity:.13}.timer-line{stroke-width:2.8}.timer-peak-halo{fill:#ff273433;stroke:#ff475766}.timer-peak-label{fill:#ff7782}
.timer-cursor line{stroke:#adafb5}.timer-cursor circle{fill:#fff;stroke:#ef233c}
.timer-readout{background:none;border:0;border-top:1px solid #f7f9ff14;border-radius:0;padding:16px 0;min-height:76px}.timer-readout>small,.timer-story-footer,.timer-story-coverage{color:#8d8d8d}
.timer-session-control{display:flex;align-items:center;gap:10px;margin-top:22px;color:#8d8d8d;font-size:12px}.timer-session-control select{background:#0d0d0f;border:1px solid #2c2e34;border-radius:4px;color:#dedede;padding:8px 12px;font:inherit}
.timer-node{cursor:pointer;outline:none}.timer-node line{stroke:#b74b54;stroke-width:1;opacity:.6}.timer-node circle{fill:#0d0d0d;stroke:#bb4a56;stroke-width:1.3}.timer-node text{fill:#f2b2b9;font:700 10px var(--body);pointer-events:none}.timer-node-addition circle{fill:#bc1528;stroke:#ff7381}.timer-node-addition text{fill:white}.timer-node:focus circle,.timer-node:hover circle{stroke:#f7f9ff;stroke-width:2;fill:#9a1625}.timer-node-start circle{fill:#0c0c0c;stroke:#6e7076}.timer-plot-scroll{scrollbar-color:#8e2331 #0c0c0c}
@media(max-width:900px){.timer-marquee{padding:20px 0;margin-inline:0}}

.stats-page .timer-session-control{display:flex;flex-direction:row;align-items:center;width:fit-content}.stats-page .timer-session-control select{width:auto;min-width:200px;max-width:100%;background:#0d0d0f;border-color:#2c2e34;font-size:12px}.timer-readout strong{max-width:650px}.timer-plot-scroll{padding-top:8px}

/* Keep the plot quiet; explicit buttons carry all event navigation. */
.stats-page .timer-story-top{flex-direction:row;align-items:center;gap:20px}
.stats-page .timer-story-top h2{font-size:clamp(30px,3vw,44px)}
.stats-page .timer-story-top .timer-session-control{margin:0;flex:none}
.stats-page .timer-story-top .timer-session-control>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.stats-page .timer-story-summary{gap:24px;margin:18px 0 4px;font-size:12px;color:#8c8c8c}
.stats-page .timer-story-summary>span{display:flex;align-items:baseline;gap:8px}
.stats-page .timer-story-summary strong{font:600 17px var(--body);color:#e1e1e1}
.stats-page .timer-story-summary .timer-status-text{margin-left:auto;font-size:11px}
.timer-plot-frame{position:relative}.timer-plot{cursor:crosshair}.timer-plot-scroll{padding-top:0}.timer-plot-scroll::after{display:none!important}
.timer-tooltip{position:absolute;z-index:3;width:250px;max-width:calc(100% - 8px);padding:14px 16px;border:1px solid #603039;border-radius:6px;background:#0c0c0ef5;box-shadow:0 8px 28px #0008;pointer-events:none;color:#f2f2f2;box-sizing:border-box}
.timer-tooltip[hidden]{display:none}.timer-tooltip.is-pinned{border-color:#dd394b;pointer-events:auto}
.timer-tooltip-content{display:flex;flex-direction:column;gap:6px}.timer-tooltip-content>span{font-size:10px;color:#c43b4b}.timer-tooltip-content>strong{font:600 17px/1.3 var(--body);padding-right:14px}.timer-tooltip-content>small{font-size:11px;line-height:1.5;color:#9a9a9a}
.timer-tooltip-close{position:absolute;right:2px;top:2px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:none;color:#eebcc3;cursor:pointer;font-size:22px}.timer-tooltip-close[hidden]{display:none}
.timer-chart-hint{font-size:10px;color:#7d7d7d;text-align:right;margin:-6px 0 16px}
.timer-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 18px}
.timer-event-button{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 14px;padding:14px 38px 14px 16px;width:100%;min-height:64px;border:1px solid #3a3c42;border-radius:5px;background:#260d1360;text-align:left;color:#dfdfdf;cursor:pointer;font:500 12px var(--body);transition:border-color .15s,background .15s}
.timer-event-button>span:first-child{color:#aaaaaa;font-size:11px}.timer-event-button>strong{font:600 16px var(--body)}.timer-event-button .timer-event-arrow{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#d37685;font-size:15px}
.timer-event-button:hover,.timer-event-button:focus-visible{border-color:#ed6478;background:#5e162760}.timer-event-button[aria-pressed=true]{border-color:#ff3c59;background:#65192a70;box-shadow:inset 3px 0 #ff3c59}
.timer-highlight{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.timer-highlight>strong{font-size:20px}
.timer-event-list{margin:0 0 18px}.timer-event-list>summary,.timer-view-options>summary{cursor:pointer;font-size:12px;color:#a0a0a0;width:fit-content;padding:6px 0}.timer-event-list>summary>span{font-size:10px;color:#707070;margin-left:5px}
.timer-event-rows{display:grid;gap:6px;max-height:280px;overflow:auto;margin-top:10px;padding-right:4px}.timer-event-rows .timer-event-button{min-height:48px;background:#0f0f1180;border-color:#292b31}.timer-event-rows .timer-event-button strong{font-size:12px;text-align:right}.timer-event-rows .timer-event-button[aria-pressed=true]{border-color:#ff3c59;background:#65192a70}
.timer-story-footer{align-items:baseline}.timer-view-options{position:relative}.timer-view-options .timer-view-switch{position:absolute;right:0;bottom:32px;z-index:4;box-shadow:0 8px 24px #0008}.timer-view-options .timer-view-switch button{white-space:nowrap}
@media(max-width:600px){.stats-page .timer-story-top{align-items:flex-start;flex-direction:column;gap:14px}.stats-page .timer-story-summary{gap:8px 20px;flex-wrap:wrap;margin-top:16px}.stats-page .timer-story-summary strong{font-size:14px}.stats-page .timer-story-summary .timer-status-text{margin-left:0}.timer-highlights{grid-template-columns:1fr;gap:7px}.timer-highlight{flex-direction:row;align-items:center;justify-content:space-between;min-height:52px}.timer-highlight>strong{font-size:16px}.timer-story-footer{flex-direction:row;align-items:baseline}.timer-chart-hint{font-size:0}.timer-chart-hint::after{content:'Tap to inspect · Swipe to explore';font-size:10px}.timer-event-rows .timer-event-button{grid-template-columns:1fr}.timer-event-rows .timer-event-button strong{text-align:left}.timer-view-options .timer-view-switch{width:auto}}

/* Overview selects sessions; the focused chart only inspects values. */
.timer-plot,.timer-plot:focus,.timer-plot:focus-visible{outline:none}
.timer-plot.is-overview{cursor:pointer}.timer-plot.is-session{cursor:crosshair}
.timer-session-hit{outline:none}.timer-session-hit rect{fill:transparent;stroke:transparent;stroke-width:1;transition:fill .12s,stroke .12s}
.timer-session-hit.is-hovered rect,.timer-session-hit:focus-visible rect{fill:#ff334a14;stroke:#e0394c66}
.timer-tooltip{pointer-events:none}.timer-tooltip-content>strong{padding-right:0}
@media(max-width:600px){.timer-chart-hint::after{content:'Tap a day to zoom · Swipe to explore'}.timer-story-chart:has(.is-session) .timer-chart-hint::after{content:'Touch to inspect · Swipe to explore'}}

.stats-page .timer-story-summary .timer-all-time-peak{display:inline-flex;align-items:center;gap:12px;padding:10px 16px;border:1px solid #b92c424d;border-left:3px solid #f52e4c;border-radius:4px;background:linear-gradient(100deg,#80172966,#13131522);box-shadow:0 0 28px #c7193220}
.timer-all-time-peak>span{color:#f293a1;font-size:10px;letter-spacing:1px;text-transform:uppercase}.stats-page .timer-all-time-peak strong{font:700 25px var(--display);color:#e2e2e2;text-shadow:0 0 20px #ff345b40}
.timer-peak-halo{fill:#ff193c40;stroke:#ff5277aa;stroke-width:2}.timer-peak-label{fill:#ff839f;font-weight:800}
.timer-multiplier-band{fill:#ff8b5710;stroke:#ff987c44;stroke-dasharray:3 4;pointer-events:none}
.timer-multiplier-badge{cursor:pointer;outline:none}.is-session .timer-multiplier-badge{cursor:crosshair}.timer-multiplier-badge line{stroke:#ffae92;stroke-opacity:.65}.timer-multiplier-badge circle{fill:#ffd3b7;stroke:#a43227;stroke-width:1.5}.timer-multiplier-badge rect{fill:#32140fee;stroke:#e58d73;stroke-width:1}.timer-multiplier-badge text{fill:#ffccad;font:700 11px var(--body);pointer-events:none}.timer-multiplier-badge:hover rect,.timer-multiplier-badge:focus-visible rect{fill:#672b20;stroke:#ffe1d2;stroke-width:2}
.timer-day-divider{stroke:#f7f9ff;stroke-opacity:.045;stroke-width:1;pointer-events:none}.timer-day-label{fill:#a0a0a0;font-size:10px;font-weight:600}

/* Header and annotations share the black/red palette. */
.stats-page .timer-story-top{display:flex;flex-wrap:wrap;align-items:center;gap:18px}
.stats-page .timer-story-top .timer-story-summary{margin:0 auto 0 0;flex:none}
.stats-page .timer-story-top .timer-session-control{margin:0 0 0 auto}
.stats-page .timer-story-summary .timer-all-time-peak{padding:8px 12px;gap:10px}.stats-page .timer-all-time-peak strong{font-size:23px}
.timer-multiplier-badge rect{fill:#090909;stroke:#d63950}.timer-multiplier-badge text{fill:#ffbac5}.timer-multiplier-badge circle{fill:#ff7f98;stroke:#a9213c}.timer-multiplier-badge line{stroke:#d44b62}.timer-multiplier-badge:hover rect,.timer-multiplier-badge:focus-visible rect{fill:#0c0c0c;stroke:#ff8098}.timer-multiplier-band{fill:#ff345b09;stroke:#e2415c40}
.timer-tooltip{width:max-content;max-width:230px;padding:9px 11px;border-color:#73303e;border-radius:4px;background:#080808f5}.timer-tooltip-content{gap:3px}.timer-tooltip-content>strong{font-size:14px}.timer-tooltip-content>span,.timer-tooltip-content>small{font-size:10px}
.timer-chart-hint{min-height:20px;color:#bd8994;font-size:11px;line-height:20px;margin:0;text-align:right}.timer-session-hit.is-hovered rect{fill:#ff334a0b;stroke:#e0394c55}
.timer-line,.timer-glow{vector-effect:non-scaling-stroke}
@media(max-width:600px){.stats-page .timer-story-top{display:grid;grid-template-columns:1fr auto;gap:14px 8px}.stats-page .timer-story-top h2{font-size:28px}.stats-page .timer-story-top .timer-story-summary{margin:0}.stats-page .timer-story-summary .timer-all-time-peak{padding:6px 10px;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.timer-all-time-peak>span{font-size:8px}.stats-page .timer-all-time-peak strong{font-size:21px}.stats-page .timer-story-top .timer-session-control{grid-column:1/-1;margin:0}.timer-chart-hint{font-size:10px}.timer-chart-hint::after{display:none}}

/* Multipliers occupy a separate, quiet annotation row below the curve. */
.timer-multiplier-rail rect{fill:transparent;stroke:none;rx:0}.timer-multiplier-rail text{fill:#b87c88;font-size:10px;font-weight:600}.timer-multiplier-rail line{stroke:#c65067;stroke-width:2;stroke-opacity:.45}.timer-multiplier-rail:hover rect,.timer-multiplier-rail:focus-visible rect{fill:#b9234010;stroke:none}.timer-multiplier-rail:hover text,.timer-multiplier-rail:focus-visible text{fill:#e8e8e8}.timer-multiplier-rail:hover line,.timer-multiplier-rail:focus-visible line{stroke-opacity:1}
.timer-day-hover{fill:#e4a5b2;font:600 12px var(--body);pointer-events:none}.timer-session-hit.is-hovered rect{fill:#ff334a06;stroke:#d9405640}
.timer-back{margin-left:auto;border:1px solid #63303c;border-radius:4px;background:#0c0c0e;color:#e8a4b2;padding:10px 16px;font:600 12px var(--body);cursor:pointer;min-height:42px}.timer-back:hover{border-color:#ed607d;background:#35111b}.timer-back[hidden]{display:none}.timer-back:focus-visible{outline:2px solid #ed607d;outline-offset:3px}
@media(max-width:600px){.timer-back{grid-column:1/-1;justify-self:start;margin:0}}

/* Static day columns and distinct multiplier/record markers. */
.timer-day-hover{fill:#fff;font:600 11px var(--body);letter-spacing:.3px;pointer-events:none}
.timer-session-hit rect{transition:none}.timer-session-hit.is-hovered rect,.timer-session-hit:focus-visible rect{fill:#ffffff03;stroke:#f7f9ff12}
.timer-multiplier-marker{outline:none;cursor:pointer}.is-session .timer-multiplier-marker{cursor:crosshair}.timer-multiplier-hit{fill:transparent;stroke:none}.timer-multiplier-node{fill:#090909;stroke:#f27891;stroke-width:1.7;stroke-linejoin:round}.timer-multiplier-caption{fill:#d49ba7;font:600 11px var(--body);paint-order:stroke;stroke:#090b11;stroke-width:2px;stroke-linejoin:round;pointer-events:none}.timer-multiplier-marker:hover .timer-multiplier-node,.timer-multiplier-marker:focus-visible .timer-multiplier-node{fill:#f27891;stroke:#f7f9ff}.timer-multiplier-marker:hover .timer-multiplier-caption,.timer-multiplier-marker:focus-visible .timer-multiplier-caption{fill:#fff}
.timer-peak-stem{stroke:#f1718b;stroke-width:1;stroke-opacity:.65}

/* Value badges sit directly on the curve; day hover fades without resizing. */
.timer-multiplier-pill-bg{fill:#090909;stroke:#d63550;stroke-width:1.2}.timer-multiplier-pill-text{fill:#ebebeb;font:700 11px var(--body);pointer-events:none}.timer-multiplier-pill:hover .timer-multiplier-pill-bg,.timer-multiplier-pill:focus-visible .timer-multiplier-pill-bg{stroke:#f77891;stroke-width:2;fill:#131313}
.timer-session-hit rect{transition:fill 180ms ease-out,stroke 180ms ease-out;fill:transparent;stroke:transparent}.timer-session-hit.is-hovered rect,.timer-session-hit:focus-visible rect{fill:#dc244526;stroke:#dc3a588c;stroke-width:1.2}
.timer-day-hover{opacity:0;transition:opacity 180ms ease-out;font-size:12px;font-weight:700;fill:#fff}.timer-day-hover.is-visible{opacity:1}
.timer-peak-label{fill:#ad263b}.timer-all-time-peak>span{color:#ad263b}.timer-peak-stem{stroke:#ad263b}
.timer-back-row{height:58px;display:flex;align-items:center;justify-content:flex-start}.timer-back-row .timer-back{margin:0}
@media(prefers-reduced-motion:reduce){.timer-day-hover,.timer-session-hit rect{transition:none}}

/* The peak is the primary annotation; multipliers remain compact and secondary. */
.timer-record-marker{pointer-events:none}
.timer-record-marker rect{fill:#0d0d0d;stroke:#45474d;stroke-width:1;filter:drop-shadow(0 3px 10px #0009)}
.timer-record-marker line{stroke:#cdcfd5;stroke-width:1.5}
.timer-record-label{fill:#ad263b;font:800 9px var(--body);letter-spacing:1px}
.timer-record-value{fill:#f5f5f5;font:800 20px var(--display)}
.timer-record-halo{fill:#ffffff20;stroke:#f7f9ff60;stroke-width:1.5}
.timer-record-dot{fill:#ffffff;stroke:#16181e;stroke-width:2}
.timer-session-hit.is-hovered rect,.timer-session-hit:focus-visible rect{fill:#ffffff09;stroke:#c7c9cf80;stroke-width:1.2}
.timer-multiplier-pill-bg{fill:#111111;stroke:#7c7e84;stroke-width:1}
.timer-multiplier-pill-text{fill:#ed6373;font-weight:700;font-size:10px}
.timer-multiplier-pill:hover .timer-multiplier-pill-bg,.timer-multiplier-pill:focus-visible .timer-multiplier-pill-bg{fill:#282828;stroke:#d7d9df;stroke-width:1}
.timer-multiplier-pill:hover .timer-multiplier-pill-text,.timer-multiplier-pill:focus-visible .timer-multiplier-pill-text{fill:#fff}
.timer-multiplier-band{fill:#ffffff04;stroke:#a5a7ad30}
@media(max-width:600px){.stats-page .timer-story-top{display:flex;align-items:flex-start;flex-direction:column}}

.stats-records{grid-template-columns:1fr}
.stats-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:800px){.stats-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.timer-multiplier-leader{stroke:#8a8c92;stroke-width:1;opacity:.65}
.stats-page .timer-story-top :is(h1,.timer-day-heading){margin:0;font:900 italic clamp(30px,3vw,44px)/1.1 var(--display);text-transform:uppercase}
@media(max-width:600px){.stats-page .timer-story-top :is(h1,.timer-day-heading){font-size:28px}}

/* Day detail: labels belong to the active time interval, not the timer curve. */
.timer-period,.timer-period-label{pointer-events:none}
.timer-period-box{fill:url(#timer-period-hatch);stroke:#b3b5bb40;stroke-width:1}
.timer-period-title{fill:#fff;font:700 12px var(--body)}
.timer-period-time{fill:#a1a1a1;font:400 10px var(--body)}

/* Overview labels sit clear of the curve, connected to their exact activation point. */
.timer-multiplier-dot{fill:#151515;stroke:#eaecf2;stroke-width:1.5;r:3.5}
.timer-multiplier-caption{fill:#f4f4f4;font-size:13px;font-weight:700}
.timer-multiplier-marker:focus-visible .timer-multiplier-dot{stroke-width:2.5}

/* Keep the day navigation beside its heading and remove unused chart headroom. */
#stats-status:empty{display:none}
.stats-page .timer-marquee{padding-top:0}
.stats-page .timer-story-top{flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:16px;margin-bottom:12px}
.stats-page .timer-story-top .timer-back{margin:0;flex:none}
.stats-page .timer-story-summary:empty{display:none}
@media(max-width:600px){.stats-page .timer-story-top{gap:12px}.stats-page .timer-story-top .timer-back{padding:8px 10px;min-height:38px}}

/* Shared chart dimensions keep the records below stationary between views. */
.stats-page .timer-story-top{min-height:44px}
.timer-back{border-color:#47494f;background:#141416;color:#d7d7d7}
.timer-back:hover{border-color:#787a80;background:#262628;color:#fff}
.timer-back:focus-visible{outline-color:#d7d9df}
.timer-day-hover-name{font:900 italic 16px var(--display);letter-spacing:.2px}
.timer-day-hover-date{fill:#ad263b;font:700 11px var(--body)}

.timer-title-separator{color:#ff263b}
.timer-back{border-color:#63303c;background:#131315;color:#d8a2ad}
.timer-back:hover{border-color:#a8495d;background:#32141e;color:#f4cbd4}
.timer-back:focus-visible{outline-color:#cf7184}

.timer-back,.timer-back:hover{color:#fff}
.timer-back{display:inline-flex;align-items:center;gap:8px}
.timer-back svg{width:16px;height:16px;fill:currentColor;flex:none}
.timer-period-factor{fill:#fff;font:800 17px var(--display)}
.timer-period-clock{fill:#c9c9c9;font:500 12px var(--body)}


/* Crisp outlines and translucent fills echo the timer and reward wheel. */
#stats-sub-goals{border-color:#35373d;border-radius:5px;background:#0d0d0f}
#stats-sub-goals h2{font-weight:900;font-style:italic;text-transform:uppercase}
#stats-sub-goals p,#stats-sub-goals .stats-progress-legend{color:#c1c1c1}
#stats-sub-goals .is-complete,#stats-sub-goals .stats-progress-legend span:first-child{--goal-edge:#ff4052;--goal-fill:#ff263b;--goal-halo:#ff263b21}
#stats-sub-goals .is-unlocked,#stats-sub-goals .stats-progress-legend span:nth-child(2){--goal-edge:#8f2332;--goal-fill:#49131c;--goal-halo:transparent}
#stats-sub-goals .is-locked,#stats-sub-goals .stats-progress-legend span:nth-child(3){--goal-edge:#292929;--goal-fill:#101010;--goal-halo:transparent}
#stats-sub-goals .stats-goal-grid>button{border-radius:2px;border:1px solid var(--goal-edge);background:linear-gradient(135deg,var(--goal-fill),#0d0d0f);box-shadow:0 0 0 2px var(--goal-halo);color:#fff}
#stats-sub-goals .stats-progress-legend span::before{box-sizing:border-box;width:10px;height:10px;border-radius:1px;border:1px solid var(--goal-edge);background:var(--goal-fill);box-shadow:0 0 0 2px var(--goal-halo)}

/* Loading and loaded content share responsive slots, including failure states. */
.stats-load-slot{position:relative;min-width:0}
.stats-load-indicator{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#c1c1c1;font:500 12px/1.4 var(--body);text-align:center;padding:12px}
.stats-spinner{display:block;width:24px;height:24px;box-sizing:border-box;border:2px solid #f7f9ff20;border-top-color:#ff263b;border-right-color:#ac1425;border-radius:50%;animation:stats-loading-spin .8s linear infinite}
[data-load-state=loading]>:not(.stats-load-indicator),[data-load-state=error]>:not(.stats-load-indicator){visibility:hidden;opacity:0;pointer-events:none}
/* SVG annotations can explicitly set visibility:visible; keep the entire
   component hidden until ready without changing its measured layout. */
.stats-load-slot:is([data-load-state=loading],[data-load-state=error])>:not(.stats-load-indicator) *{visibility:hidden!important}
[data-load-state=ready]>.stats-load-indicator{display:none}
[data-load-state=error] .stats-spinner{display:none}
@keyframes stats-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.stats-spinner{animation:none;border-top-color:#ff263b}}
.timer-marquee{container-type:inline-size}
/* Reserve the 408/1100 plot and 20px scrollbar gutter before history loads. */
.slot-timer-story-chart,#timer-story-chart{min-height:calc(max(259.636364px,37.090909cqw) + 20px)}
#timer-story-chart .timer-story-empty{min-height:calc(max(259.636364px,37.090909cqw) + 20px);margin:0}
.stats-metrics article{min-height:152px;box-sizing:border-box}
.stats-metrics small{min-height:28px}
#stats-progress-copy{min-height:21px}
.slot-stats-goal-grid{container-type:inline-size}
#stats-goal-grid{min-height:calc(40cqw + 8.4px)}
.slot-stats-outcomes{margin:24px 0 32px}
.stats-page .stats-wheel-panel #stats-outcomes{height:290px;margin:0;grid-template-rows:290px}
#stats-activity-chart{aspect-ratio:560/170}
#stats-activity-chart svg{display:block}
.stats-panel .stats-rankings{height:430px;overflow:auto;scrollbar-width:thin;scrollbar-color:#66303b #171717}
.stats-history .slot-stats-results{margin-top:16px}
.stats-history #stats-results{height:420px;margin-top:0}
@media(min-width:801px) and (max-width:1100px){.stats-page .stats-wheel-panel #stats-outcomes{height:528px;grid-template-rows:230px 280px}}
@media(max-width:800px){.stats-page .stats-wheel-panel #stats-outcomes{height:280px;grid-template-rows:280px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.stats-metrics article{min-height:140px}}
.stats-page button[hidden]{display:none}
#stats-goal-grid{min-height:max(150px,calc(40cqw + 8.4px))}
@media(max-width:800px){.stats-history>summary>span{min-height:18px}}

.stats-goal-grid{position:relative}
.stats-goal-grid>button{appearance:none;min-width:0;padding:0;margin:0;font-family:var(--body);cursor:pointer}
#stats-sub-goals .stats-goal-grid>button:hover,#stats-sub-goals .stats-goal-grid>button.is-highlighted{border-color:#f7f9ff;filter:brightness(1.2)}
.stats-goal-grid>button:focus-visible{outline:2px solid #f7f9ff;outline-offset:2px}
.stats-goal-tooltip{position:absolute;z-index:5;box-sizing:border-box;width:max-content;max-width:min(260px,100%);padding:10px 12px;border:1px solid #74303e;border-radius:4px;background:#121214f5;box-shadow:0 6px 24px #0008;pointer-events:none;display:flex;flex-direction:column;gap:4px;text-align:left}
.stats-goal-tooltip[hidden]{display:none}
.stats-goal-tooltip strong{font:700 14px/1.3 var(--body);color:#fff}
.stats-goal-tooltip>span{font:400 11px/1.4 var(--body);color:#c0c0c0}

.stats-goal-grid>button.is-opening{position:relative;color:transparent!important}
.stats-goal-grid>button.is-opening::after{content:'';position:absolute;width:14px;height:14px;border:2px solid #f7f9ff40;border-top-color:#f7f9ff;border-radius:50%;animation:stats-loading-spin .8s linear infinite}
@media(prefers-reduced-motion:reduce){.stats-goal-grid>button.is-opening::after{animation:none}}

/* Full-width wheel feature, followed by independent goal and record tiles. */
.stats-wheel-panel{margin-bottom:28px;background:radial-gradient(ellipse at 25% 20%,#68101d22,transparent 65%),#111113;border-color:#36383e}
.stats-wheel-panel .stats-section-heading h2{font-weight:900;font-style:italic;text-transform:uppercase}
.stats-wheel-panel .slot-stats-outcomes{container-type:inline-size}
.stats-page .stats-wheel-panel #stats-outcomes{height:clamp(340px,46cqw,540px);grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:28px}
.stats-wheel-panel .stats-donut>svg{width:100%;height:100%;max-width:540px;max-height:540px;filter:drop-shadow(0 0 20px #f5263b12)}
.stats-wheel-panel .stats-donut-legend{height:100%;max-height:none!important;min-height:0;width:100%;box-sizing:border-box;padding-left:18px!important;border-left:1px solid #f7f9ff12;scrollbar-color:#9c293b #181818}
.stats-wheel-panel .stats-donut-caption{fill:#b1b1b1}
.stats-wheel-panel .stats-donut-number{fill:#fff}
.stats-wheel-panel .stats-donut-legend small{color:#a6a6a6}
.stats-wheel-panel .stats-chart-tooltip{border-color:#6d303c;background:#121214;color:#f3f3f3}
.stats-wheel-secondary{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:start}
.stats-wheel-secondary .stats-activity,.stats-wheel-secondary .stats-history{margin:0;padding:18px;border:1px solid #f7f9ff12;border-radius:4px;background:#ffffff02}
.stats-wheel-secondary .stats-activity h3{margin-top:0}
.stats-wheel-secondary .stats-history>summary>span{float:none;display:block;margin-top:6px;min-height:18px}
.stats-wheel-secondary .stats-bar-date{fill:#a7a7a7}
.stats-wheel-secondary .stats-bar-count{fill:#f1f1f1}
.stats-columns{grid-template-columns:minmax(0,1fr)}
.stats-favourites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.stats-favourites>.stats-section-heading,.stats-favourites>.stats-vote-link{grid-column:1/-1}
.stats-vote-group{min-width:0}
@media(max-width:700px){
 .stats-page .stats-wheel-panel #stats-outcomes{--wheel-chart-size:clamp(220px,85cqw,380px);height:calc(var(--wheel-chart-size) + 324px);grid-template-columns:minmax(0,1fr);grid-template-rows:var(--wheel-chart-size) 300px;gap:24px}
 .stats-wheel-panel .stats-donut-legend{border-left:0;border-top:1px solid #f7f9ff12;padding:10px 0 0!important}
 .stats-wheel-secondary,.stats-favourites{grid-template-columns:minmax(0,1fr)}
 .stats-wheel-secondary{gap:16px}
 .stats-wheel-panel .stats-section-heading{align-items:flex-start}
 .stats-wheel-panel .stats-filter select{max-width:135px}
}
@media(max-width:450px){.stats-wheel-panel .stats-section-heading{flex-direction:column;gap:12px}.stats-wheel-panel .stats-filter{width:100%}.stats-wheel-panel .stats-filter select{width:100%;max-width:none}}

/* The Rewards wheel sits directly on the page, like Timer History. */
.stats-page .stats-wheel-panel{padding:0;border:0;border-radius:0;background:none;box-shadow:none;margin-bottom:36px}
.stats-page .stats-wheel-panel .stats-section-heading h2{margin:0;font:900 italic clamp(30px,3vw,44px)/1.1 var(--display);text-transform:uppercase}
.stats-wheel-panel .stats-section-heading{min-height:44px;margin-bottom:12px}
.stats-wheel-panel .stats-donut>svg{filter:none}
.stats-wheel-panel .stats-donut path:hover,.stats-wheel-panel .stats-donut path.is-highlighted,.stats-wheel-panel .stats-donut path:focus-visible{filter:none}
/* Same crisp core + translucent wide stroke as the timer, with no blur filter. */
.wheel-neon-decoration{pointer-events:none;opacity:.13}
.stats-wheel-panel .stats-donut .wheel-neon-decoration path{stroke-width:7;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:none;cursor:default}
.stats-wheel-panel .stats-donut path.wheel-segment{stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:fill-opacity .15s}
.stats-wheel-panel .stats-donut path.wheel-segment:hover,
.stats-wheel-panel .stats-donut path.wheel-segment.is-highlighted,
.stats-wheel-panel .stats-donut path.wheel-segment:focus-visible{stroke-width:2.8;filter:none;fill-opacity:.65}
@media(max-width:600px){.stats-page .stats-wheel-panel .stats-section-heading h2{font-size:28px}}

/* Lift the complete outlined segment, including its crisp halo. */
.stats-wheel-panel .stats-donut path.wheel-segment,
.stats-wheel-panel .stats-donut .wheel-neon-decoration path{transform-origin:100px 100px;transition:transform .16s ease,fill-opacity .16s}
.stats-wheel-panel .stats-donut path.wheel-segment.is-highlighted,
.stats-wheel-panel .stats-donut .wheel-neon-decoration path.is-highlighted{transform:scale(1.045)}
.wheel-legend-panel{height:76%;min-height:0;display:flex;flex-direction:column;box-sizing:border-box;padding:18px 12px 18px 18px;background:#111113;border:1px solid #35373d;border-radius:5px}
.stats-wheel-panel .wheel-legend-panel .stats-donut-legend{flex:1;height:auto;width:100%;margin:0;border:0;padding:0 16px 0 0!important;overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:auto}
.stats-wheel-panel .stats-donut-legend::-webkit-scrollbar{width:9px}
.stats-wheel-panel .stats-donut-legend::-webkit-scrollbar-track{background:#212123;border-radius:4px}
.stats-wheel-panel .stats-donut-legend::-webkit-scrollbar-thumb{background:#ff263b;border:2px solid #212329;border-radius:4px}
@media(max-width:700px){.wheel-legend-panel{height:100%}}
@media(prefers-reduced-motion:reduce){.stats-wheel-panel .stats-donut path.wheel-segment,.stats-wheel-panel .stats-donut .wheel-neon-decoration path{transition:none}}

.stats-wheel-panel .stats-donut path.wheel-segment,.stats-donut-legend li[data-slice]{cursor:pointer}
.stats-wheel-panel .stats-chart-tooltip{position:fixed;right:auto;bottom:auto;margin:0;max-width:min(320px,calc(100vw - 24px));box-sizing:border-box;z-index:100;overflow-wrap:anywhere}

.wheel-legend-columns{display:grid;grid-template-columns:minmax(0,1fr) 62px 62px;gap:8px;padding:0 37px 8px 12px;color:#bcbcbc;font-size:11px;border-bottom:1px solid #f7f9ff15}
.wheel-legend-columns span:not(:first-child){text-align:right}
.stats-wheel-panel .stats-donut-legend li{display:grid;grid-template-columns:10px minmax(0,1fr) 62px 62px;gap:8px;padding:9px 12px}
.stats-wheel-panel .stats-donut-legend strong{font-size:16px;margin:0;align-self:center}
.stats-wheel-panel .stats-donut-legend .wheel-expected{color:#b8b8b8;font-weight:500}
.wheel-reward-label{overflow-wrap:anywhere}
.stats-wheel-panel .stats-chart-tooltip{padding:13px 16px;font-size:14px;line-height:1.45;border-color:#adafb5;max-width:min(360px,calc(100vw - 24px))}

.stats-wheel-panel .stats-section-heading{min-height:0;margin-bottom:0}
.stats-wheel-panel .slot-stats-outcomes{margin-top:4px}

#stats-sub-goals .stats-goal-grid>.is-complete{background:linear-gradient(135deg,#ff263b,#b91327)}
#stats-sub-goals .stats-goal-grid>.is-locked{background:#0b0b0d;box-shadow:none}

/* Open Sub Goals section, with a compact summary and larger tiles. */
#stats-sub-goals{padding:0;border:0;background:none;box-shadow:none;grid-template-columns:minmax(220px,.8fr) minmax(0,2.2fr);gap:32px;max-width:none;margin:0 5.636364% 36px;align-items:stretch}
#stats-sub-goals h2{margin:0 0 16px;font:900 italic 28px/1.1 var(--display)}
.stats-goals-summary{padding:18px;border:1px solid #35373d;border-radius:8px;background:#111113;box-sizing:border-box}
#stats-sub-goals .stats-goals-summary p{margin:0 0 18px;font-size:17px;color:#f3f3f3}
#stats-sub-goals .stats-progress-legend{display:flex;flex-direction:column;gap:14px}
#stats-sub-goals .stats-goal-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;min-height:calc(27.778cqw + 9.445px)}
#stats-sub-goals .stats-goal-grid>button{font-size:14px}
.stats-records{margin:8px 0 36px}
.stats-records .stats-metrics article{min-height:152px;box-sizing:border-box}
@media(max-width:800px){#stats-sub-goals{grid-template-columns:minmax(0,1fr);gap:20px}#stats-sub-goals .stats-progress-legend{flex-direction:row;flex-wrap:wrap}.stats-goals-summary{padding:18px}#stats-sub-goals .stats-goals-summary p{margin-bottom:14px}}
@media(max-width:600px){#stats-sub-goals .stats-goal-grid>button{aspect-ratio:1.8}#stats-sub-goals h2{font-size:28px}#stats-sub-goals .stats-goal-grid{grid-template-columns:repeat(8,minmax(0,1fr));min-height:calc(48.611cqw + 25.973px)}}

.stats-metrics small a{color:#c3c3c3;text-decoration:underline;text-underline-offset:3px}.stats-metrics small a:hover{color:#fff}

/* Shared scoreboard strips, with restrained accents from the timer graph. */
.stats-page .timer-marquee{margin-bottom:0;padding-bottom:0}
.stats-page .stats-records{margin:0;padding:88px 0}
.stats-page .stats-wheel-panel{margin-bottom:0}
.stats-records .stats-metrics{gap:0;border:1px solid #34363c;border-left:2px solid #ff263b;border-right:2px solid #ff263b;border-radius:10px;background:linear-gradient(90deg,#ff263b0d,transparent 30%,transparent 70%,#ff263b0d),#0d0d0f;overflow:hidden;padding:18px 0;box-shadow:inset 2px 0 0 #ff263b18,inset -2px 0 0 #ff263b18}
.stats-records .stats-metrics article{position:relative;min-height:96px;padding:4px 24px;border:0;border-right:1px solid #383a40;border-radius:0;background:none;box-shadow:none;justify-content:center;text-align:center}
.stats-records .stats-metrics article:last-child{border-right:0}
.stats-records .stats-metrics strong{font:900 52px/1 var(--display);color:#fff;margin:0 0 10px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.stats-records .stats-metrics article>span{font:800 17px/1.1 var(--display);text-transform:uppercase;letter-spacing:.5px;color:#ff4052}
.stats-records .stats-metrics small{min-height:0;margin-top:7px;line-height:1.4;color:#a8a8a8}
.wheel-legend-panel{border-radius:8px}
@media(max-width:800px){
 .stats-page .stats-records{margin:0;padding:64px 0}
 .stats-records .stats-metrics{padding:0}
 .stats-records .stats-metrics article{padding:18px;min-height:128px}
 .stats-records .stats-metrics strong{font-size:40px}
 .stats-records .stats-metrics article>span{font-size:16px}
 .stats-records .stats-metrics article:nth-child(2){border-right:0}
 .stats-records .stats-metrics article:nth-child(-n+2){border-bottom:1px solid #383a40}
}

/* Align the heading with the plot origin, just above its top gridline. */
.stats-page .timer-story-top{position:absolute;z-index:2;left:max(39.455px,5.636364cqw);top:calc(max(56px,8cqw) - 62px);min-height:38px;margin:0}
.stats-page .timer-story-top :is(h1,.timer-day-heading){font-size:28px}
@media(max-width:600px){.stats-page .timer-story-top :is(h1,.timer-day-heading){font-size:24px}}

/* Count the chart's internal baseline space toward the same outer gap. */
#stats-content{container-type:inline-size}


.wheel-legend-panel>h2{margin:0 0 16px;font:900 italic 28px/1.1 var(--display);text-transform:uppercase;color:#fff;flex:none}

@media(min-width:801px){
 #stats-sub-goals .stats-goal-grid{height:100%}
 #stats-sub-goals .stats-goal-grid>button{aspect-ratio:auto;min-height:calc((100cqw - 110px)/18)}
}

/* Balance the wheel, legend, and surrounding space on wide screens. */
@media(min-width:901px){
 .stats-page .stats-wheel-panel #stats-outcomes{grid-template-columns:minmax(0,1.174fr) minmax(0,1fr);gap:48px;max-width:1080px;margin-inline:auto;padding-right:32px;box-sizing:border-box}
}

/* Include the chart's internal bottom gutter in the space above the scoreboard. */
.stats-page .timer-marquee+.stats-records{padding-top:max(0px,calc(88px - max(25.455px,3.636364cqw)))}
@media(max-width:800px){.stats-page .timer-marquee+.stats-records{padding-top:max(0px,calc(64px - max(25.455px,3.636364cqw)))}}

.stats-page .timer-story-top{right:max(16px,5.636364cqw);justify-content:space-between;pointer-events:none}
.stats-page .timer-story-top>*{pointer-events:auto}
.stats-page .timer-story-top .timer-back{background:#111113;border:1px solid #35373d;color:#f3f3f3;border-radius:6px;box-shadow:none}
.stats-page .timer-story-top .timer-back:hover{background:#19191b;border-color:#57595f;color:#fff}
.stats-page .timer-story-top .timer-back:focus-visible{outline:2px solid #f7f9ff;outline-offset:3px}
@media(max-width:400px){.stats-page .timer-story-top{gap:8px}.stats-page .timer-story-top .timer-back{font-size:11px;padding:7px 8px}.stats-page .timer-story-top :is(h1,.timer-day-heading){font-size:22px}}

/* Match the scoreboards to the graph's plotted bounds (62–1038 of 1100; equal gutters). */
.stats-page .stats-records{padding-left:5.636364%;padding-right:5.636364%}

.timer-tooltip{border-color:#adafb5}
.stats-wheel-panel .stats-chart-tooltip .wheel-tooltip-separator{display:inline-block;margin:0 9px;color:#ff4052}

/* Tighter spacing on both sides of Reward spins. */
.stats-page .stats-records:has(+.stats-wheel-panel){padding-bottom:40px}
.stats-page .stats-wheel-panel+.stats-records{padding-top:40px}
@media(max-width:800px){
 .stats-page .stats-records:has(+.stats-wheel-panel){padding-bottom:28px}
 .stats-page .stats-wheel-panel+.stats-records{padding-top:28px}
}

#stats-sub-goals .stats-progress-legend>span{display:flex;align-items:center;gap:8px}
#stats-sub-goals .stats-progress-legend>span::before{margin-right:0;flex:none}
#stats-sub-goals .stats-progress-legend strong{margin-left:auto;font:700 16px var(--body);color:#f3f3f3;font-variant-numeric:tabular-nums}
@media(max-width:800px){#stats-sub-goals .stats-progress-legend>span{flex:1;min-width:120px}}

/* Match the reward wheel tooltip surface, sizing, and separators. */
.stats-goal-tooltip{padding:13px 16px;border-color:#adafb5;border-radius:5px;background:#121214;color:#f3f3f3;box-shadow:0 8px 24px #0008;max-width:min(360px,100%);gap:6px}
.stats-goal-tooltip strong{font:600 14px/1.45 var(--body)}
.stats-goal-tooltip>span{font:400 14px/1.45 var(--body)}
.goal-tooltip-separator{display:inline-block;margin:0 9px;color:#ff4052}
#stats-sub-goals[data-style=soft] .stats-goal-grid>button{border-radius:9px;border-width:2px;box-shadow:none;background:#ff263b0d;border-color:#8f2332}
#stats-sub-goals[data-style=soft] .stats-goal-grid>.is-complete{background:rgb(255 38 59 / 75%);border-color:#ff5266;box-shadow:0 0 0 2px #ff263b21}
#stats-sub-goals[data-style=soft] .stats-goals-summary{border-radius:12px;background:#101012}
#stats-sub-goals[data-style] .stats-goal-grid>.is-locked{background:#0b0b0d;border-color:#292b31;box-shadow:none;color:#777}
#stats-sub-goals[data-style] .stats-goal-grid>button:hover{border-color:#f7f9ff}

/* Phone layout: readable chart, clear horizontal scrolling, and tappable goals. */
@media(max-width:600px){
 .stats-page .timer-story-top{position:relative;left:auto;right:auto;top:auto;min-height:44px;gap:12px;margin:0 0 12px;flex-wrap:wrap}
 .stats-page .timer-story-top :is(h1,.timer-day-heading){font-size:24px}
 .stats-page .timer-story-top .timer-back{min-height:44px;padding:10px 12px;font-size:12px}
 .timer-plot{min-width:800px}
 .timer-axis-label{font-size:16px}
 .timer-plot-scroll{scrollbar-width:thin;scrollbar-color:#ff4052 #212121}
 .timer-plot-frame::after{content:'Swipe the graph to explore more days ↔';display:block;padding-top:10px;color:#b1b1b1;font:12px/1.4 var(--body)}
 .timer-plot-frame:has(.is-session)::after{content:'Swipe the graph to explore more hours ↔'}
 .slot-timer-story-chart,#timer-story-chart,#timer-story-chart .timer-story-empty{min-height:calc(max(296.727273px,37.090909cqw) + 20px)}
 .stats-page .stats-records{padding:40px 0}
 .stats-page .timer-marquee+.stats-records{padding-top:32px}
 .stats-records .stats-metrics article{padding:16px 14px;min-height:118px}
 .stats-records .stats-metrics strong{font-size:clamp(32px,10vw,40px)}
 .stats-records .stats-metrics article>span{font-size:15px;line-height:1.2;letter-spacing:.2px}
 .stats-wheel-panel .slot-stats-outcomes{margin-bottom:0}
 .wheel-legend-panel{padding:16px 10px 16px 14px}
 .wheel-legend-panel>h2{font-size:26px}
 .wheel-legend-columns{grid-template-columns:minmax(0,1fr) 54px 54px;gap:6px;padding:0 31px 8px 8px}
 .stats-wheel-panel .stats-donut-legend li{grid-template-columns:8px minmax(0,1fr) 54px 54px;gap:6px;padding:10px 8px;min-height:48px;font-size:12px}
 .stats-wheel-panel .stats-donut-legend strong{font-size:16px}
 .stats-wheel-panel .wheel-legend-panel .stats-donut-legend{padding-right:10px!important}
 #stats-sub-goals{margin:0 0 28px;gap:16px}
 #stats-sub-goals .stats-goals-summary{padding:16px}
 #stats-sub-goals .stats-progress-legend{flex-direction:column;gap:10px;font-size:13px}
 #stats-sub-goals .stats-progress-legend>span{flex:none;min-width:0}
 #stats-sub-goals .stats-goal-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-height:564px}
 #stats-sub-goals .stats-goal-grid>button{aspect-ratio:auto;min-height:44px;font-size:18px}
}
@media(min-width:601px) and (max-width:900px){
 #stats-sub-goals{grid-template-columns:minmax(0,1fr);gap:20px}
 #stats-sub-goals .stats-goal-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;height:auto;min-height:356px}
 #stats-sub-goals .stats-goal-grid>button{aspect-ratio:auto;min-height:44px;font-size:18px}
}
@media(min-width:701px) and (max-width:900px){
 .stats-page .stats-wheel-panel #stats-outcomes{--wheel-chart-size:380px;height:704px;grid-template-columns:minmax(0,1fr);grid-template-rows:380px 300px;gap:24px;max-width:620px;margin-inline:auto}
 .stats-wheel-panel .stats-donut>svg{max-width:380px;justify-self:center}
 .wheel-legend-panel{height:100%}
}
@media(max-width:600px){
 .timer-record-label{font-size:12px;letter-spacing:.6px}
 .timer-record-value{font-size:24px}
 .timer-multiplier-caption{font-size:17px}
 .timer-period-clock{font-size:15px}
 .timer-tooltip-content>span{font-size:12px}
 .timer-tooltip-content>strong{font-size:16px}
}

.stats-donut svg,.stats-donut [data-slice]{-webkit-tap-highlight-color:transparent}
.stats-donut path.wheel-segment:focus{outline:none}

/* Only the plot scrolls; its transparent y-axis is an ordinary grid sibling. */
#timer-story-chart{container-type:inline-size}
.timer-plot-frame{--chart-width:max(100cqw,700px);display:grid;grid-template-columns:calc(var(--chart-width)*62/1100) minmax(0,1fr);align-items:start}
.timer-y-axis{display:block;width:100%;height:auto;aspect-ratio:62/408;overflow:visible}
/* Extend the scroll viewport into the axis gutter so edge nodes are not clipped. */
.timer-plot-scroll{min-width:0;margin-left:-12px;padding-left:12px}
.timer-plot-scroll .timer-plot{width:max(100%,calc(var(--chart-width)*1038/1100));min-width:0}
.timer-plot-frame::after{grid-column:1/-1}
@media(max-width:600px){.timer-plot-frame{--chart-width:max(100cqw,800px)}}

/* Leave room for bottom annotations above native/overlay scrollbars. */
.timer-plot-scroll{padding-bottom:20px}

/* Touch previews should be visible as soon as the finger meets the graph. */
.timer-plot.is-touch-input .timer-day-hover{transition:none}

/* A tapped day is selected, not hovered; release cannot hide its label. */
.timer-plot.has-touch-selection .timer-day-hover{opacity:1;transition:none}

/* Text and outline belong to the same day and use exactly the same selection. */
.timer-session-hit .timer-day-label{visibility:hidden;pointer-events:none;fill:#fff}
.timer-session-hit.is-hovered .timer-day-label,
.timer-session-hit:focus-visible .timer-day-label{visibility:visible}

/* Keep the selected day readable independently of the segment width. */
.stats-page .timer-story-top{position:absolute;left:max(39.455px,5.636364cqw);right:max(16px,5.636364cqw);top:calc(max(56px,8cqw) - 52px);min-height:50px;margin:0;align-items:center;justify-content:space-between;flex-wrap:nowrap}
.timer-selected-day{flex:none;white-space:nowrap}
.timer-selected-day[hidden]{display:none}
.timer-plot.is-overview,.timer-session-hit,.timer-session-hit rect,.timer-multiplier-marker{cursor:pointer}
.timer-plot-frame::after{display:none}
@media(max-width:600px){.stats-page .timer-story-top{left:45.091px;right:16px;top:calc(max(64px,8cqw) - 52px);min-height:50px}}

/* Overview selection: a crisp column, center line, and curve dot. */
.timer-plot.is-overview .timer-session-hit rect{transition:none}
.timer-plot.is-overview .timer-session-hit.is-hovered rect,
.timer-plot.is-overview .timer-session-hit:focus-visible rect{fill:#ffffff1a;stroke:none}
.timer-plot.is-overview .timer-cursor{pointer-events:none}
.timer-plot.is-overview .timer-cursor line{stroke:#e4dadd;stroke-width:1;stroke-dasharray:none;opacity:.65}
.timer-plot.is-overview .timer-cursor circle{fill:#fff;stroke:none;r:4px}

/* A translucent text halo softens the hatch behind multiplier captions. */
.timer-period-factor,.timer-period-clock{paint-order:stroke fill;stroke:#08080866;stroke-width:3px;stroke-linejoin:round;filter:drop-shadow(0 1px 5px #000b)}
