:root{color-scheme:light;--ink:#272a25;--paper:#faf5e9;--red:#be4937;--green:#42775e;--line:#d8cbb5;--muted:#706451;--gold:#aa761e;--radius:20px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer;touch-action:manipulation}
button:disabled{cursor:wait;opacity:.48}
a{color:var(--green)}
button:focus-visible,a:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #247382;outline-offset:4px}
[hidden]{display:none!important}
.shell{max-width:1160px;margin:auto;padding:24px 28px 32px}
.brand{display:flex;align-items:center;gap:12px;margin-bottom:18px;min-width:0}
.cross{color:#805b37;flex:0 0 32px;line-height:0;transform:rotate(-7deg)}.cross svg{width:32px;height:42px}
.brand-name{min-width:0;flex:1}.brand h1{font-size:clamp(16px,2.3vw,25px);letter-spacing:-.025em;line-height:1.05;margin:0;font-weight:950}.brand em{font-style:normal;color:var(--red)}.brand p{font-size:10px;letter-spacing:.14em;font-weight:700;margin:6px 0 0;color:var(--muted)}
.brand-tools{display:flex;align-items:center;gap:8px}.icon-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;flex-shrink:0;min-width:44px;min-height:44px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fffaf0;color:var(--ink);font-size:20px;line-height:1.1}.icon-button small{font-size:7px;font-weight:850;letter-spacing:.03em}.icon-button:hover{border-color:#8d8068;background:#f0e5cf}.icon-button:disabled{opacity:.4;cursor:default}#pause:disabled{display:none}
.journey-bar{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:5px 16px;width:100%;padding:12px 16px;margin:0 0 18px;background:#efe6d0;color:#66512e;border:1px solid #d3bf91;border-radius:14px;text-align:left;font-size:12px;font-weight:800}.journey-bar:hover{background:#e7dcc2;border-color:#a28a54}.journey-bar small{grid-row:2;grid-column:1/3;font-size:10px;font-weight:650;color:#71603f;overflow-wrap:anywhere}.journey-open{grid-column:3;grid-row:1/3;font-size:10px;letter-spacing:.05em}#journey-titles{white-space:nowrap}
.hud{display:grid;grid-template-columns:1fr .75fr 1fr;gap:12px;margin-bottom:12px;align-items:center}.small-label{display:block;font-size:10px;letter-spacing:.12em;font-weight:850;color:var(--muted)}.hud strong{display:block;font-size:26px;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.045em}.hud small{font-size:11px;font-weight:550;letter-spacing:0;color:var(--muted)}.lives{text-align:center}.lives strong{color:var(--red);font-size:24px;letter-spacing:3px}.score-hud{text-align:right}.score-hud strong>span:first-child{color:var(--gold)}
.progress{position:relative;height:5px;border-radius:20px;background:#e5dac6;overflow:hidden;margin-bottom:14px}.progress>div{height:100%;width:0;background:var(--green);transition:width .1s linear}#pacer-marker{position:absolute;inset-block:0;width:5px;transform:translateX(-50%);background:#b6781d;box-shadow:0 0 0 1px #fff9e8;pointer-events:none}
.stage{position:relative;height:min(65svh,560px);min-height:260px;border:2px solid #453f32;border-radius:var(--radius);overflow:hidden;background:#deebe4;isolation:isolate}canvas{display:block;width:100%;height:100%;touch-action:none;-webkit-tap-highlight-color:transparent;cursor:pointer}#game{position:absolute;inset:0}
.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(250,245,233,.94);overflow:auto}.eyebrow,.section-kicker{font-size:10px;font-weight:850;letter-spacing:.13em;color:var(--muted);margin:0 0 10px}.primary,.secondary{font:inherit;cursor:pointer;display:block;width:100%;text-align:center;text-decoration:none;border-radius:12px;min-height:44px;border:0;font-weight:850}.primary{padding:14px 18px;background:var(--red);color:#fffaf0;box-shadow:0 4px 0 #843626}.primary:hover{background:#a73a2c}.primary small,.secondary small{display:block;font-size:11px;font-weight:600;margin-top:3px}.secondary{padding:12px 14px;background:#efe7d7;color:var(--ink);border:1px solid var(--line)}.secondary:hover{background:#e8ddc7}.text-button{font:inherit;min-height:44px;color:var(--green);border:0;padding:8px 4px;background:none;text-decoration:none;font-weight:800;cursor:pointer}.text-button:hover{text-decoration:underline}.text-button small{display:block;font-size:10px;font-weight:600;margin-top:3px}
/* The entrance is a small marathon poster, with the choices beside the art. */
body:not(.preview)[data-phase=ready] .stage{height:auto;min-height:0}
body:not(.preview)[data-phase=ready] .hud,body:not(.preview)[data-phase=ready] .progress,body:not(.preview)[data-phase=ready] .bottom,body:not(.preview)[data-phase=ready] .controls,body:not(.preview)[data-phase=ready] .feel-controls{display:none}
#intro{position:relative;inset:auto;display:block;padding:0;background:var(--paper);overflow:visible}
.intro-card{display:grid;grid-template-columns:1.06fr 1fr;max-width:none;width:100%;text-align:left}
.intro-poster{position:relative;overflow:hidden;padding:32px;background:#e9e4ce;background-image:radial-gradient(circle at 88% 10%,#fff7e0 0 15%,transparent 15.2%),repeating-linear-gradient(120deg,transparent 0 42px,#d3cba92a 42px 43px)}
.intro-poster:after{content:"";position:absolute;left:0;right:0;bottom:0;height:9px;background:repeating-linear-gradient(90deg,var(--green) 0 24px,transparent 24px 48px)}
.race-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}.race-name{display:block;font-size:clamp(24px,3.3vw,38px);font-weight:950;letter-spacing:-.045em;line-height:1}.race-year{display:block;font-size:clamp(42px,5.8vw,66px);font-weight:950;line-height:.95;color:var(--red);letter-spacing:-.065em;transform:rotate(-5deg)}
.poster-art{position:relative;height:272px;margin-top:22px}.poster-art:before{content:"";position:absolute;width:230px;height:230px;border:1px dashed #8a9574;border-radius:50%;right:-10px;top:14px}.poster-manifesto{position:relative;z-index:1;margin:0;top:16px;font-size:clamp(38px,5.2vw,59px);font-weight:950;letter-spacing:-.065em;line-height:.96;color:#3d5140;pointer-events:none}.poster-manifesto span{color:var(--red)}.poster-manifesto em{font-family:Georgia,serif;font-weight:750;color:#3f6550}
.intro-runner{position:absolute;right:-34px;bottom:-12px;width:290px;height:290px;object-fit:contain;transform:rotate(2deg);filter:drop-shadow(0 10px 0 #434c2e12)}
.distance-stamp{position:absolute;left:5px;bottom:12px;display:grid;place-content:center;width:98px;height:98px;border:2px solid #5a7051;border-radius:50%;color:#465b40;transform:rotate(-12deg);text-align:center;background:#e9e4ce}.distance-stamp b{font-size:23px;letter-spacing:-.06em}.distance-stamp small{font-size:7px;font-weight:850;letter-spacing:.06em}
.poster-caption{position:relative;margin:18px 0 4px;font:italic 19px Georgia,serif;color:#4d5d42}.poster-caption span{display:block;font:600 11px system-ui;margin-top:5px}
.intro-actions{padding:36px;display:flex;flex-direction:column;justify-content:center;min-width:0}.intro-actions .section-kicker{color:var(--red)}.intro-actions h3{font-size:clamp(30px,4vw,45px);letter-spacing:-.055em;line-height:1;margin:0 0 24px;font-weight:950}.intro-actions h3 small{display:block;font-size:12px;line-height:1.5;letter-spacing:0;font-weight:600;margin-top:10px;color:var(--muted)}
.intro-audio{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:-8px 0 18px}.intro-audio button{min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#f4eddd;color:#62553f;font-size:10px;font-weight:850;letter-spacing:.04em}.intro-audio button[aria-pressed=true]{background:#e0e9d7;border-color:#84a180;color:#356147}.intro-audio small{font-size:10px;color:var(--muted)}
.howto{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.howto>span{display:grid;grid-template-columns:30px 1fr;column-gap:7px;align-items:center}.howto i{grid-row:1/3;font-size:30px;font-style:normal;color:var(--green);line-height:1}.howto b{font-size:12px}.howto small{font-size:9px;font-weight:650;color:var(--muted);white-space:nowrap}
.run-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:66px}.run-choice b{display:block;font-size:15px;letter-spacing:.025em}.run-choice small{font-size:11px}.choice-duration{display:flex;align-items:center;gap:14px;white-space:nowrap;font-size:10px}.choice-duration>span{font-size:24px}.finish-note{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.05em;color:#705624;margin:10px 4px 18px}.finish-note b{font-size:15px;letter-spacing:0}#start-quick{background:#fffaf0}.intro-explore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--line);margin-top:24px;padding-top:12px}.intro-explore .text-button{font-size:9px;text-align:left;color:var(--muted)}.intro-explore small{font-size:9px}.intro-tagline{font-size:8px;letter-spacing:.06em;color:var(--muted);margin:15px 0 0}.intro-tagline small{display:block;letter-spacing:0;font-size:9px;margin-top:4px}#loading{font-size:11px;text-align:center;color:var(--green);margin:12px 0 0}
.pause-card{text-align:center;max-width:390px;width:100%;padding:24px}.pause-card h2{font-size:48px;letter-spacing:-.05em;margin:0}.pause-card>p:not(.eyebrow){font-size:12px;margin:12px 0 24px;color:var(--muted)}
.pause-card #pause-retire{width:100%;margin-top:12px;min-height:50px;color:#954733;background:#fff8ed;border-color:#c9b59d}
.pause-retire-note{display:block;font-size:10px;color:var(--muted);line-height:1.65;margin-top:10px}.pause-retire-note span{display:block}
.manual-retire-ui{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;padding:22px 12px 15px;pointer-events:none}
.manual-retire-ui .eyebrow{margin:0 0 4px;font-size:9px;color:#785f4e}.manual-retire-ui h2{font-size:clamp(28px,6vw,44px);letter-spacing:-.055em;line-height:1;margin:0;color:#9c493d}
.manual-retire-footer p{margin:0 0 8px;font-size:13px;font-weight:850;color:#5c4338}.manual-retire-footer p span{display:block;margin-top:2px;font-size:11px;font-weight:600}
.manual-retire-footer button{pointer-events:auto;min-height:44px;padding:8px 20px;background:#fffaf0;font-size:11px}.manual-retire-footer button small{font-size:10px}.manual-retire-footer>small{display:block;margin-top:6px;font-size:9px;color:#796655}
@media(max-height:480px) and (min-width:650px){.pause-card #pause-retire{min-height:44px;margin-top:8px;padding:6px 12px}.pause-retire-note{font-size:8px;margin-top:6px}.manual-retire-ui{padding:10px}.manual-retire-ui h2{font-size:27px}.manual-retire-footer p{margin-bottom:5px;font-size:10px}.manual-retire-footer p span{display:inline;margin-left:7px;font-size:9px}.manual-retire-footer button{padding:5px 18px;min-height:36px}.manual-retire-footer>small{display:none}}
/* A result is a full page, so score and support never sit in a tiny scroll box. */
body:has(#result:not([hidden])) .stage{height:auto;min-height:0}
#result{position:relative;inset:auto;display:block;padding:28px;background:var(--paper);overflow:visible}
.result-card{width:100%;max-width:none;text-align:center}.result-heading{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.result-heading h2{font-size:clamp(46px,7vw,78px);font-weight:950;letter-spacing:-.06em;line-height:1;margin:0;color:var(--green)}#result-distance{font-size:11px;color:var(--muted);margin:8px 0 0}#result-sample{font-size:10px;font-weight:800;color:var(--red)}
.result-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:30px}.result-summary{min-width:0}.result-next{min-width:0;text-align:left;padding:24px;background:#e9e8d8;border:1px solid #d0d4bc;border-radius:16px;align-self:start}.result-next h3{font-size:clamp(32px,4vw,46px);font-weight:950;line-height:.95;letter-spacing:-.05em;margin:0 0 18px}.result-next h3 em{font-family:Georgia,serif;color:var(--green)}.support-intro{font-size:13px;margin:0 0 18px;color:#535d49}.support-intro span{display:block;font-size:11px;margin-top:4px}
#result-audience{height:86px;margin:0 0 12px;cursor:default;touch-action:auto}#result-score{display:block;font-size:clamp(53px,8vw,87px);line-height:1.05;font-weight:950;letter-spacing:-.065em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.finish-award{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f1e1b3;border:1px solid #d9b86d;border-radius:10px;padding:12px;margin:16px 0 10px;color:#74511c;font-size:11px;font-weight:800}.finish-award b{font-size:25px;letter-spacing:-.025em;white-space:nowrap}
.score-breakdown{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;font-size:11px;color:var(--muted);margin:10px 0 16px}.score-breakdown b{font-size:12px}.result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.result-stats span{display:block}.result-stats small{display:block;font-size:8px;font-weight:800;color:var(--muted);letter-spacing:.07em}.result-stats b{display:block;font-size:23px;font-variant-numeric:tabular-nums;letter-spacing:-.03em;margin-top:3px}#result-bonus{font-size:10px;color:var(--green);margin:12px 0}
.earned-titles{margin:20px 0 12px}.earned-titles .section-kicker{font-size:9px}#title-main{width:100%;padding:12px;background:#f3e6c6;border:1px solid #cfad68;border-radius:12px;color:#6e4b23}#title-main strong{display:block;font-size:18px;line-height:1.2}#title-main small{font-size:11px}#title-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:8px}.title-badge{min-height:36px;font-size:10px;font-weight:800;border:1px solid #9bb091;background:#e5eddd;color:#3c6447;border-radius:8px;padding:8px}.title-total{font-size:10px;color:var(--muted);margin:10px 0}.title-total b{color:#74511c;font-size:15px;margin-left:6px}.collection-link{width:100%;font-size:11px}.collection-link small{display:inline;margin-left:6px}
.support-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.support-links .support{display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:14px;min-height:72px;padding:12px 7px}.support-links .support small{font-size:9px;letter-spacing:.03em;margin:0}.support-en{background:var(--green);box-shadow:0 4px 0 #2b543e}.support-en:hover{background:#34634c}.support-instagram{grid-column:1/-1;background:#f7f3e7;color:#62506c;border:1px solid #b6a7ba;box-shadow:none}.support-instagram:hover{background:#ebe0e9}.support-links .support-instagram{flex-direction:row;align-items:center;gap:12px;min-height:48px;font-size:12px}
.screenshot-hint{margin:22px 0 9px;font-size:9px;font-weight:850;letter-spacing:.05em;color:var(--muted)}.screenshot-hint span{display:block;font-size:10px;font-weight:550;letter-spacing:0;margin-top:4px}.result-share{display:grid;grid-template-columns:1fr 1fr;gap:8px}.result-share .secondary{font-size:10px;padding:10px 5px;background:#f8f4e9}.run-again{margin-top:18px;background:var(--ink);border-color:var(--ink);color:var(--paper);font-size:13px}.run-again:hover{background:#41473a}.save-note{font-size:10px;line-height:1.6;color:var(--muted);text-align:center;margin:12px 0}#share-status:empty{display:none}
.result-journey{padding:12px;margin:14px 0 0;background:#eee4cc;border:1px solid #d3bc8c;border-radius:10px;display:grid;grid-template-columns:1fr auto;text-align:left;gap:5px;font-size:10px}.result-journey strong{font-size:12px}.result-journey>span{text-align:right;font-variant-numeric:tabular-nums}.result-journey>small,.result-journey>b,.result-journey>button{grid-column:1/-1}.result-journey>b{color:var(--green)}.result-journey>small{font-size:9px}.result-journey>button{font-size:10px;text-align:left}
.bottom{display:flex;align-items:center;gap:20px;margin:14px 0 10px}.energy{flex:1;min-width:0}.energy-label{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:850;color:var(--muted);margin-bottom:6px}.energy-track{height:10px;border:1px solid #b8a889;background:#eee2cc;border-radius:9px;overflow:hidden}.energy-track>div{height:100%;width:100%;background:var(--green);transition:width .08s linear}.inventory{display:flex;gap:18px;align-items:center;font-size:21px}.inventory b{font-size:15px;min-width:14px;display:inline-block}.inventory .carrying{color:#b57725}
.move-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.move-guide>div{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:#f1e8d7;min-height:50px;transition:background .15s,border-color .15s}.move-guide>div>span{grid-row:1/3;font-size:10px;font-weight:850;color:#716148}.move-guide span small{display:block;font-size:8px;font-weight:650}.move-guide strong{font-size:12px;line-height:1.25;color:#514b3d}.move-guide>div>small{font-size:9px;color:#716148}.move-guide .opportunity{background:#e1ecda;border-color:#87a778}.move-guide .opportunity strong{color:#2e6046}.move-guide.busy{opacity:.6}body:not(.in-run) .move-guide,.preview .move-guide{display:none}
.controls{font-size:9px;text-align:center;letter-spacing:.02em;color:var(--muted);margin:8px 0}.controls span{margin:0 12px}.feel-controls{display:flex;justify-content:center;gap:10px;margin:12px 0}.feel-controls button{min-height:36px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:#f4eddd;color:#62553f;font-size:10px;font-weight:850;letter-spacing:.04em}.feel-controls button[aria-pressed=true]{background:#e0e9d7;border-color:#84a180;color:#356147}
/* A compact play layout gives the field the remaining viewport height. */
body.in-run:not(.preview) .shell{height:100svh;min-height:460px;display:grid;grid-template-rows:auto auto auto minmax(160px,1fr) auto auto auto;gap:9px;padding:14px 24px}
body.in-run:not(.preview) .brand,body.in-run:not(.preview) .hud,body.in-run:not(.preview) .progress,body.in-run:not(.preview) .bottom,body.in-run:not(.preview) .move-guide,body.in-run:not(.preview) .feel-controls{margin:0}
body.in-run:not(.preview) .stage{height:auto;min-height:0}body.in-run .journey-bar,body.in-run .controls,body.in-run .site-footer{display:none}
body:has(#result:not([hidden])) .hud,body:has(#result:not([hidden])) .progress,body:has(#result:not([hidden])) .bottom,body:has(#result:not([hidden])) .controls,body:has(#result:not([hidden])) .feel-controls{display:none}
.site-footer{max-width:720px;margin:34px auto 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.7;padding:22px 20px 0;border-top:1px solid var(--line)}.site-footer>p:first-child{font-size:clamp(21px,4vw,30px);font-weight:950;letter-spacing:-.04em;color:var(--ink);margin:0 0 12px}.site-footer nav{display:flex;justify-content:center;gap:12px 24px;flex-wrap:wrap;margin:14px 0}.site-footer a{font-size:12px;font-weight:800;min-height:44px;display:inline-flex;align-items:center;text-underline-offset:4px}.footer-note{font-size:10px}.preview .site-footer{display:none}
/* Help and collectible title cards. Native dialogs retain focus and Escape. */
dialog{color:var(--ink);background:var(--paper);border:2px solid #5c5746;border-radius:20px;padding:24px;max-height:calc(100svh - 32px);overflow:auto;width:min(820px,calc(100vw - 32px));overscroll-behavior:contain}dialog::backdrop{background:#20281bd1;backdrop-filter:blur(4px)}dialog>header{display:flex;align-items:center;gap:12px;position:sticky;top:-24px;z-index:3;background:var(--paper);margin:-24px -24px 22px;padding:18px 24px;border-bottom:1px solid var(--line)}dialog>header h2{font-size:20px;letter-spacing:-.03em;margin:0;flex:1}dialog>header>.icon-button{margin-left:auto}dialog>header .eyebrow{font-size:8px;margin-bottom:4px}dialog h2 small{font-size:11px;font-weight:600;color:var(--muted);display:inline-block;margin-left:8px}.title-guide-note{font-size:11px;line-height:1.65;color:var(--muted)}#collection-back{font-size:10px;white-space:nowrap;padding:7px}
#howto-dialog{width:min(680px,calc(100vw - 32px))}.help-lead{font:italic 26px Georgia,serif;color:var(--green);margin:0 0 22px}.help-lead span{display:block;font:550 12px system-ui;color:var(--muted);margin-top:7px}.help-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.help-controls article{padding:18px;background:#e5ebd8;border:1px solid #aaba96;border-radius:12px}.help-controls article>b{display:block;font-size:37px;line-height:1;color:var(--green)}.help-controls h3{font-size:18px;letter-spacing:.02em;margin:10px 0}.help-controls h3 small{font-size:10px;font-weight:600}.help-controls p,.help-rules p{font-size:12px;margin:5px 0;color:#565e4b}.help-controls p span,.help-rules p span{display:block;font-size:11px;margin-top:5px}.help-rules{list-style:none;margin:0;padding:0}.help-rules li{display:flex;align-items:flex-start;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}.help-rules li>span{font-size:26px;line-height:1.25;flex:0 0 32px}.help-rules strong{font-size:12px;letter-spacing:.03em}.help-keyboard{font-size:10px;color:var(--muted);text-align:center;margin:20px 0}#help-done{max-width:340px;margin:0 auto}
.profile-card{padding:24px;background:#eee1c0;border:1px solid #ccb279;border-radius:14px;text-align:center}.profile-card h3{margin:5px 0;font-size:clamp(25px,4vw,36px);letter-spacing:-.045em;line-height:1.15}.profile-card>p:not(.eyebrow){margin:7px 0;font-size:12px;color:#705b37}.profile-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.profile-numbers b{display:block;font-size:clamp(26px,5vw,42px);font-variant-numeric:tabular-nums;letter-spacing:-.05em;line-height:1.2;overflow-wrap:anywhere}.profile-numbers small{display:block;font-size:10px;margin-top:5px;color:#705b37}.collection-track{display:block;overflow:hidden;height:7px;background:#ded1b8;border-radius:10px}.collection-track>span{display:block;height:100%;background:var(--title-color,#937438);border-radius:inherit;transition:width .4s}.profile-counts{font-size:11px}#rank-next{line-height:1.6}#collection-target{margin:16px 0}.goal-card{width:100%;min-height:52px;font:750 12px system-ui;background:#e1ebd7;border:1px solid #9aaf8a;border-radius:10px;color:#356147;padding:14px;cursor:pointer}
.personal-bests{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.personal-bests>div{display:flex;flex-direction:column;gap:10px;background:#fffaf0;border:1px solid var(--line);border-radius:12px;padding:16px}.personal-bests strong{font-size:11px;color:#6b5940}.personal-bests span{font-size:10px;display:flex;justify-content:space-between;gap:8px}.personal-bests b{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:30px}.collection-heading h3{font-size:14px;margin:0}.collection-heading>div{display:flex;gap:6px}.collection-heading button{font-size:10px;padding:10px;border-radius:8px}.collection-heading button[aria-pressed=true]{background:#e0e9d7;color:#356147}
#title-catalog,#secret-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-title{font:inherit;text-align:left;display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px;border:1px solid #cdbd9f;border-radius:12px;background:#eee6d6}.catalog-title:hover{border-color:var(--title-color);background:#f7ecda;transform:translateY(-2px)}.catalog-body{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.catalog-title .collection-seal{font-size:28px;line-height:1.3;flex:0 0 30px}.catalog-title strong{font-size:14px;color:var(--title-color);overflow-wrap:anywhere}.catalog-title span{font-size:11px;font-weight:650}.catalog-title small{font-size:10px;line-height:1.55;color:var(--muted)}.catalog-title .catalog-status{font-size:8px;letter-spacing:.05em}.catalog-title .collection-track{margin-top:5px;width:100%;height:4px}.title-reward{font-size:13px;color:#705a2f}.catalog-title.earned{background:#e5eddc;border-color:#9db58b}.catalog-title.locked{background:#eee8dc}.catalog-title.locked .collection-seal{opacity:.6}.complete-banner{background:#efd27f;border:1px solid #c79b35;border-radius:10px;padding:14px;text-align:center;font-weight:800;font-size:12px}.sample-note{font-size:10px;background:#f3ddb5;color:#74551b;border-radius:7px;padding:8px;text-align:center}
.history-panel{margin-top:22px;font-size:11px}.history-panel summary{font-weight:800;padding:14px 7px;min-height:44px;cursor:pointer}#run-history{list-style:none;padding:0;margin:4px 0}#run-history li{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 7px;border-bottom:1px solid var(--line)}#run-history small{font-size:10px;color:var(--muted)}
.title-screen{text-align:center;max-width:620px;margin:auto}.title-screen>.eyebrow{color:var(--title-color);margin:7px 0 14px}.title-screen h3{margin:18px 0 4px;color:var(--title-color);font-size:clamp(27px,5vw,42px);font-weight:950;line-height:1.05;letter-spacing:-.045em;overflow-wrap:anywhere}.title-name-ja{font-size:15px;font-weight:750;margin:8px 0 18px}.title-screen .title-story{font:italic 22px Georgia,serif;margin:13px 0;color:var(--title-color)}.title-story-ja{font-size:12px;color:var(--muted);margin:5px 0 18px}#title-art{width:100%;height:auto;aspect-ratio:600/320;border:1px solid #cbb99e;border-radius:15px;cursor:default;touch-action:auto;background:var(--title-wash)}.title-screen.locked #title-art{filter:saturate(.3)}.title-proof{display:flex;flex-direction:column;gap:9px;background:var(--title-wash);border:1px solid var(--line);border-radius:10px;padding:16px;margin:16px 0}.title-proof p{margin:0;font-size:12px;line-height:1.6}.title-proof b{font-size:12px;color:var(--title-color)}.title-proof small{font-size:10px;color:var(--muted)}.title-screen .primary{max-width:400px;margin:14px auto;background:var(--title-color);box-shadow:0 3px 0 #786046;font-size:12px}.title-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:8px}.title-pagination .secondary{width:100px;font-size:11px}.title-pagination span{font-size:11px;color:var(--muted)}.title-pagination button:disabled{opacity:.35;cursor:default}.title-screen>.secondary{font-size:12px;margin-top:14px}
.preview-panel{text-align:center;margin-bottom:18px;padding:18px;background:#efe7d7;border:1px solid var(--line);border-radius:14px}.preview-panel nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.preview-panel button{font:750 10px system-ui;min-height:38px;padding:8px 11px;border:1px solid #c9b99b;border-radius:8px;background:#faf5e9;color:#66553b}.preview-panel button[aria-pressed=true]{background:var(--red);color:#fffaf0;border-color:var(--red)}.preview-panel p:not(.eyebrow){font-size:12px;margin:14px 0;line-height:1.7}.preview-panel>a{font-size:11px;min-height:44px;display:inline-flex;align-items:center}.preview-panel .preview-freeze{margin-right:12px;background:#fffaf0}.preview-panel .preview-freeze[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}.preview .hud,.preview .progress,.preview .bottom,.preview .controls,.preview #pause,.preview .journey-bar,.preview #help-button{display:none}.preview .stage{height:min(57svh,480px);min-height:240px}
@media(max-width:760px){.shell{padding:16px}.intro-card{grid-template-columns:1fr}.intro-poster{padding:24px}.race-title{justify-content:flex-start;gap:24px}.race-name{font-size:26px}.race-year{font-size:52px}.poster-art{height:194px;margin-top:12px}.poster-art:before{width:180px;height:180px;right:8%;top:0}.poster-manifesto{font-size:48px;top:10px}.intro-runner{width:226px;height:226px;right:5%;bottom:-15px}.distance-stamp{left:auto;right:-6px;bottom:0;width:78px;height:78px;z-index:2}.distance-stamp b{font-size:19px}.distance-stamp small{font-size:6px}.poster-caption{margin:12px 0 2px;font-size:17px}.intro-actions{padding:24px}.intro-actions h3{font-size:34px;margin-bottom:18px}.intro-actions .section-kicker{font-size:9px;margin-bottom:8px}.howto{margin-bottom:20px}.result-layout{grid-template-columns:1fr;gap:22px}.result-summary{max-width:520px;width:100%;margin:auto}.result-next{max-width:520px;width:100%;margin:auto;padding:22px}.result-next h3{font-size:40px}.result-next h3 br{display:none}.result-next h3 em:before{content:" "}#result{padding:24px}.result-heading{padding-bottom:16px}.site-footer{margin-top:26px}.journey-open{font-size:9px}}
@media(max-width:480px){.shell{padding:12px}.brand{gap:9px;margin-bottom:14px}.brand h1{font-size:16px;max-width:190px}.brand p{font-size:8px;letter-spacing:.07em;margin-top:5px}.cross{flex-basis:26px}.cross svg{width:26px;height:35px}.brand-tools{gap:5px}.brand-tools .icon-button{width:44px}.brand-tools .icon-button small{display:none}.journey-bar{grid-template-columns:1fr auto;gap:5px 8px;padding:11px 12px;font-size:11px;margin-bottom:14px}.journey-bar small{grid-column:1/-1;font-size:9px}.journey-open{display:none}.stage{border-radius:16px}.intro-poster{padding:20px}.race-name{font-size:23px}.race-year{font-size:45px}.race-title{justify-content:space-between;gap:8px}.poster-art{height:165px;margin-top:10px}.poster-art:before{width:160px;height:160px;right:4px}.poster-manifesto{font-size:40px}.intro-runner{width:198px;height:198px;right:-20px;bottom:-17px}.distance-stamp{right:0;bottom:-2px;width:67px;height:67px}.distance-stamp b{font-size:17px}.distance-stamp small{font-size:5px}.poster-caption{font-size:15px}.poster-caption span{font-size:10px}.intro-actions{padding:22px 20px}.intro-actions h3{font-size:30px}.intro-actions h3 small{font-size:11px;margin-top:7px}.howto{gap:8px}.howto small{font-size:8px}.howto>span{column-gap:5px;grid-template-columns:26px 1fr}.howto i{font-size:26px}.run-choice{min-height:62px;padding:12px}.run-choice b{font-size:13px}.run-choice small{font-size:10px}.choice-duration{gap:8px;font-size:9px}.intro-explore{gap:6px;margin-top:22px}.intro-explore .text-button{font-size:8px}.intro-explore small{font-size:8px}.hud{gap:8px}.hud strong{font-size:23px}.hud small{font-size:9px}.small-label{font-size:8px}.lives strong{font-size:20px;letter-spacing:1px}.bottom{gap:12px}.inventory{font-size:19px;gap:12px}.energy-label{font-size:8px}.move-guide{gap:8px}.move-guide>div{column-gap:7px;padding:7px 8px}.move-guide strong{font-size:10px}.move-guide>div>small{font-size:8px}.move-guide>div>span{font-size:9px}.feel-controls button{font-size:9px;min-height:32px}.result-heading h2{font-size:52px}#result{padding:18px 14px}#result-score{font-size:63px}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}.result-stats b{font-size:21px}.finish-award{font-size:9px;padding:10px}.finish-award b{font-size:23px}.result-next{padding:20px 16px}.result-next h3{font-size:33px}.support-links .support{font-size:13px}.support-links .support small{font-size:8px}.collection-link small{display:block;margin-left:0}.result-journey{grid-template-columns:1fr;gap:4px}.result-journey>span{text-align:left}.site-footer{padding:20px 4px 0;font-size:11px}.site-footer nav{gap:5px 16px}.site-footer a{font-size:11px}body.in-run:not(.preview) .shell{padding:10px 12px;gap:8px}dialog{padding:18px;width:calc(100vw - 24px);max-height:calc(100svh - 24px);border-radius:16px}dialog>header{top:-18px;margin:-18px -18px 18px;padding:14px 18px;gap:8px}dialog>header h2{font-size:16px}dialog h2 small{font-size:9px;margin-left:3px}#howto-dialog{width:calc(100vw - 24px)}.help-lead{font-size:22px}.help-controls{gap:10px}.help-controls article{padding:14px 12px}.help-controls p{font-size:11px}.help-controls p span{font-size:10px}.help-rules li{gap:12px}.help-rules strong{font-size:10px}.help-rules p{font-size:11px}.profile-card{padding:18px 14px}.profile-numbers{margin:16px 0}.profile-numbers small{font-size:8px}.personal-bests{gap:10px}.personal-bests>div{padding:12px 10px}.personal-bests span{font-size:8px}.personal-bests b{font-size:14px}.personal-bests strong{font-size:9px}.collection-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-top:24px}.collection-heading h3{font-size:12px}#title-catalog,#secret-catalog{grid-template-columns:1fr}.catalog-title{padding:15px}.title-screen h3{font-size:30px}.title-screen .title-story{font-size:20px}.title-proof{padding:13px}.title-pagination{gap:12px}.preview-panel{padding:14px 10px}.preview-panel button{min-height:36px;font-size:9px;padding:7px 9px}}
@media(max-width:350px){.brand h1{font-size:14px}.cross{flex-basis:22px}.cross svg{width:22px;height:32px}.brand p{font-size:7px}.brand-tools{gap:4px}.hud strong{font-size:21px}.hud small{font-size:8px}.poster-manifesto{font-size:36px}.intro-runner{width:180px;height:180px;right:-27px}.distance-stamp{width:61px;height:61px}.howto{grid-template-columns:1fr 1fr}.howto small{font-size:7px}.choice-duration{font-size:8px}.run-choice b{font-size:12px}.result-stats small{font-size:7px}.result-share .secondary{font-size:9px}.move-guide>div{column-gap:5px;padding:7px 5px}.move-guide strong{font-size:9px}}
@media(max-height:480px) and (min-width:650px){.shell{padding:12px 18px}.brand{margin-bottom:12px}.brand h1{font-size:20px}.brand p{font-size:8px}.intro-card{grid-template-columns:1fr 1fr}.intro-poster{padding:22px}.race-title{gap:16px}.race-name{font-size:24px}.race-year{font-size:44px}.poster-art{height:195px}.poster-manifesto{font-size:45px}.intro-runner{width:220px;height:220px;right:-30px;bottom:-16px}.distance-stamp{width:73px;height:73px;right:auto;left:0}.poster-caption{font-size:15px}.intro-actions{padding:22px}.intro-actions h3{font-size:31px;margin-bottom:18px}.howto{margin-bottom:18px}.run-choice{min-height:60px}.intro-explore{margin-top:18px}.intro-tagline{margin-top:10px}body.in-run:not(.preview) .shell{height:100svh;min-height:300px;padding:8px 14px;gap:7px;grid-template-columns:minmax(0,1fr) 164px;grid-template-rows:auto 5px minmax(60px,1fr) auto auto}body.in-run:not(.preview) .brand{grid-row:1;grid-column:1;min-height:42px;gap:8px}body.in-run:not(.preview) .brand h1{font-size:17px}body.in-run:not(.preview) .brand p{display:none}body.in-run:not(.preview) .cross svg{height:30px;width:24px}body.in-run:not(.preview) .brand-tools .icon-button{min-width:36px;min-height:36px;padding:4px;font-size:17px}body.in-run:not(.preview) .brand-tools small{display:none}body.in-run:not(.preview) .hud{grid-row:1;grid-column:2;gap:4px;grid-template-columns:1fr .75fr 1fr}body.in-run:not(.preview) .hud strong{font-size:14px}body.in-run:not(.preview) .hud small{display:none}body.in-run:not(.preview) .small-label{font-size:6px;letter-spacing:.03em}body.in-run:not(.preview) .lives strong{font-size:13px;letter-spacing:0}body.in-run:not(.preview) .progress{grid-row:2;grid-column:1/-1}body.in-run:not(.preview) .stage{grid-column:1;grid-row:3/6;min-height:0;border-radius:14px}body.in-run:not(.preview) .bottom{grid-column:2;grid-row:3;align-self:start;display:flex;flex-direction:column;gap:14px;padding:10px 8px;background:#eee5d2;border-radius:10px}body.in-run:not(.preview) .energy{width:100%}body.in-run:not(.preview) .energy-label{font-size:7px}body.in-run:not(.preview) .inventory{font-size:18px;gap:18px}body.in-run:not(.preview) .move-guide{grid-column:2;grid-row:4;grid-template-columns:1fr;gap:6px}body.in-run:not(.preview) .move-guide>div{min-height:40px;padding:5px 8px}body.in-run:not(.preview) .move-guide strong{font-size:10px}body.in-run:not(.preview) .move-guide>div>small{font-size:8px}body.in-run:not(.preview) .feel-controls{grid-column:2;grid-row:5;gap:5px}body.in-run:not(.preview) .feel-controls button{font-size:8px;min-height:32px;padding:5px 7px;letter-spacing:0}.pause-card{padding:15px}.pause-card h2{font-size:35px}.pause-card>p:not(.eyebrow){margin:7px 0 14px;font-size:10px}.result-layout{grid-template-columns:1.1fr 1fr;gap:24px}.result-next h3{font-size:31px}.result-next h3 br{display:block}.result-next h3 em:before{content:none}#result{padding:24px}.result-heading h2{font-size:55px}.preview .stage{height:60svh;min-height:210px}.preview-panel{padding:12px}.preview-panel button{min-height:34px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.catalog-title:hover{transform:none}}
body[data-effects=low] .catalog-title:hover{transform:none}
.intro-poster .intro-runner{right:-3px}
body.preview:has(#result:not([hidden])) .stage{height:auto;min-height:0}
@media(max-width:480px){.poster-art{height:145px}.intro-poster .intro-runner{right:-8px;width:185px;height:185px}.poster-manifesto{font-size:37px}.poster-manifesto em{font-size:29px}.intro-actions h3{font-size:26px}}
@media(max-width:350px){.poster-manifesto em{font-size:26px}}
@media(max-width:480px){.distance-stamp{left:0;right:auto;bottom:-5px;display:flex;align-items:baseline;gap:5px;width:auto;height:auto;border:0;border-radius:0;transform:none;background:transparent}.distance-stamp b{font-size:12px}.distance-stamp small{font-size:6px;letter-spacing:.03em}}
.catalog-title,.title-screen{--title-ink:color-mix(in srgb,var(--title-color,#937438) 65%,#222822)}
.catalog-title strong,.title-screen h3,.title-screen .title-story,.title-proof b,.title-screen>.eyebrow{color:var(--title-ink)}
.title-screen .primary{background:var(--title-ink)}
.result-share .secondary span{white-space:nowrap}.result-share .secondary small{font-size:9px;margin-top:4px}
/* Native selection protection is deliberately explicit on HUD descendants. */
#game,.hud,.hud *,.progress,.progress *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
html.game-active,html.game-active body,html.game-active .shell,html.game-active .shell *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
#game{-webkit-user-drag:none;touch-action:none}

.finale-award{margin:12px 0;padding:12px 16px;border:1px solid #c7a254;border-radius:12px;background:#f1e4bd;color:#82572d;font-weight:900;letter-spacing:.025em}.finale-award small{display:block;margin-top:5px;font-size:10px;font-weight:800;letter-spacing:.03em}
.loading-track{height:4px;margin-top:7px;overflow:hidden;border-radius:8px;background:var(--line)}.loading-track>div{height:100%;width:0;background:var(--green);transition:width .15s linear}#loading-count{margin-left:8px;font-variant-numeric:tabular-nums}#loading>.secondary{margin-top:10px;font-size:11px}
#share-status a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:3px 4px;padding:6px 10px;font-weight:800;font-size:11px}
/* Small optional goals stay beside the stamina bar, away from the road. */
.run-insights{display:none;grid-template-columns:1fr auto;gap:3px 12px;margin-top:6px;font-size:9px;font-weight:750;line-height:1.35;color:var(--muted);font-variant-numeric:tabular-nums}
.run-insights #perfect-live{grid-column:1/-1;color:var(--green)}.run-insights #perfect-live[data-complete=true]{color:#9d671c}
body.in-run .run-insights{display:grid}.run-insights #daily-live{grid-column:1/-1;font-size:8px;font-weight:600;overflow-wrap:anywhere}.run-insights #clean-boost[data-level="1"],.run-insights #clean-boost[data-level="2"],.run-insights #clean-boost[data-level="3"]{color:var(--green)}#pace-status[data-ahead=true]{color:var(--green)}#pace-status[data-ahead=false]{color:var(--muted)}
.daily-card{margin-top:18px;background:#eaf0e1;border:1px solid #b4c3a5;border-radius:11px;color:#355a43;text-align:left}.daily-card summary{cursor:pointer;padding:12px 14px;min-height:44px;list-style:none}.daily-card summary::-webkit-details-marker{display:none}.daily-kicker{display:block;font-size:8px;font-weight:850;letter-spacing:.08em}.daily-card strong{display:block;font-size:12px;margin:4px 0}.daily-card summary small{font-size:9px;display:block}.daily-card summary:after{content:'DETAILS / 条件 ＋';display:block;margin-top:6px;font-size:8px;font-weight:800;color:#55705b}.daily-card[open] summary:after{content:'CLOSE / 閉じる −'}.daily-card>p{margin:0;padding:0 14px 12px;font-size:11px;line-height:1.65}.daily-card .daily-footnote{font-size:8px;line-height:1.6;color:#53654e;border-top:1px solid #c8d2ba;padding-top:10px}.daily-card .daily-footnote span{font-size:9px}
.daily-collection{margin-top:18px;border:1px solid #b4c3a5;border-radius:12px;background:#eaf0e1;padding:16px;color:#355a43}.daily-collection .section-kicker{font-size:9px;color:#53654e}.daily-collection>strong{font-size:25px;font-weight:900;letter-spacing:-.04em}.daily-collection>p{font-size:11px;line-height:1.65;margin:8px 0}.daily-collection>small{font-size:9px;color:#53654e}#daily-stamp-dates{max-height:90px;overflow:auto;font-variant-numeric:tabular-nums}
.daily-result{margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#eee8d9;text-align:left}.daily-result.stamped{background:#e5edd9;border-color:#9bb78b;color:#355a43}.daily-result>strong{font-size:11px}.daily-result>p{font-size:10px;line-height:1.65;margin:7px 0}.daily-result>small{display:block;font-size:9px;color:var(--muted)}
@media(max-width:480px){.run-insights{font-size:8px;gap:3px 6px}.run-insights #daily-live{font-size:8px}.daily-card summary{padding:11px}.daily-card strong{font-size:11px}.feel-controls{gap:5px}.feel-controls button{padding-inline:7px}}
@media(max-height:480px) and (min-width:650px){.run-insights{grid-template-columns:1fr;font-size:8px;gap:5px}.run-insights #daily-live{font-size:7px}.feel-controls{flex-wrap:wrap}body.in-run:not(.preview) .feel-controls button{font-size:7px;padding-inline:4px;min-width:44px;min-height:30px}}

@media(max-height:360px) and (min-width:650px){body.in-run:not(.preview) .bottom{gap:7px;padding:7px 8px}body.in-run:not(.preview) .run-insights #daily-live{display:none}body.in-run:not(.preview) .run-insights{font-size:7px;gap:3px}body.in-run:not(.preview) .move-guide>div{min-height:32px;padding:4px 7px}body.in-run:not(.preview) .move-guide>div>small{display:none}body.in-run:not(.preview) .move-guide>div>span{grid-row:1;font-size:8px}body.in-run:not(.preview) .move-guide strong{font-size:9px}}
@media(max-height:480px) and (min-width:650px){body.in-run:not(.preview) .feel-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}body.in-run:not(.preview) .feel-controls button{min-width:0;min-height:32px;padding:3px 2px;font-size:7px;line-height:1.25}}

.move-guide>div.boss-warning{border-color:#c64b39;background:#f8e4d7;color:#a33f31}.move-guide>div.boss-warning small{color:#963e31}

/* Expert discoveries stay distinct from the standard collection. */
.hard-choice{margin-top:14px;padding-top:14px;border-top:1px solid #d9cdb7}.hard-choice .run-choice{border-color:#78628d;background:#ede5ef;color:#493653}.hard-choice .run-choice:disabled{opacity:.62}.hard-choice .save-note{margin:7px 0 0;font-size:11px;line-height:1.55}.difficulty-banner{display:inline-block;vertical-align:baseline;margin-left:4px;padding:1px 4px;border:1px solid #78628d;border-radius:4px;background:#ede5ef;color:#493653;font-size:8px;font-weight:850;line-height:1;letter-spacing:.02em}.runner-high-status{margin:8px 0;padding:10px 12px;border:2px solid #a15e43;border-radius:10px;background:#f3e2bc;color:#763d2d;font-size:12px;font-weight:800;line-height:1.6}.runner-high-status strong{display:block;color:#755190}.runner-high-status.burnout{background:#eadfe9;border-color:#78628d}.secret-collection{margin:28px 0 20px;padding:20px;border:1px solid #bba5bd;border-radius:16px;background:#eee6ee}.secret-collection .collection-heading{gap:12px;flex-wrap:wrap}.secret-collection h3{color:#664e76}.secret-collection .catalog-title{background:#fbf7f0}.secret-collection .catalog-title.locked{border-style:dashed}.secret-result{border-color:#bba5bd!important;background:#eee6ee!important}.secret-result .section-kicker{color:#664e76}.hard-records{margin-top:12px}.hard-records>div{background:#eee6ee;border-color:#bba5bd}.hard-records small{line-height:1.6;color:#664e76}.secret-result #secret-badges{display:flex;gap:6px;flex-wrap:wrap}.secret-result .title-badge{color:#664e76;border-color:#bba5bd}
@media(max-width:600px){.secret-collection{padding:14px}.secret-collection h3{font-size:15px}.runner-high-status{font-size:11px}.hard-choice .run-choice{min-height:58px}}
@media(max-height:480px) and (min-width:650px){.runner-high-status{margin:6px 0;padding:6px;border-width:1px;font-size:9px;line-height:1.35}body.in-run:not(.preview) .bottom:has(#runner-high-status:not([hidden])){gap:6px}body.in-run:not(.preview) .bottom:has(#runner-high-status:not([hidden])) .run-insights{display:none}}
@media(max-height:360px) and (min-width:650px){body.in-run:not(.preview):has(#runner-high-status:not([hidden])) .move-guide{display:none}}

.hard-night-label{margin:0 0 8px;font-size:10px;font-weight:850;letter-spacing:.12em;color:#564477}.hard-collection{margin:24px 0 20px;padding:20px;border:1px solid #62588a;border-radius:16px;background:linear-gradient(135deg,#171c3b,#2c2849);color:#f2e9d9}.hard-collection .collection-heading{margin-top:0;gap:12px;flex-wrap:wrap}.hard-collection h3{color:#e4d4ff}.hard-collection .collection-heading>b{font-size:11px;color:#e8d4a4}.hard-collection>.title-guide-note{color:#d5d0e0}.hard-collection .catalog-title{width:100%;background:#252b4b;border-color:#686088;color:#fff4df}.hard-collection .catalog-title.locked{border-style:dashed}.hard-collection .catalog-title:hover{background:#30365a;border-color:#d6b7f8}.hard-collection .catalog-title strong{color:#e0c2ff}.hard-collection .catalog-title small{color:#ddd7e9}.hard-collection .title-reward{color:#f0cd7e}.hard-title-screen{--title-ink:#5e487d}.hard-title-screen .title-proof{color:#f7eddf;border-color:#62588a}.hard-title-screen .title-proof b{color:#e6ccff}.hard-title-screen .title-proof small{color:#d5cbe5}.hard-title-screen.locked #title-art{filter:saturate(.7)}.hard-result{padding:13px;border:1px solid #62588a;border-radius:12px;background:#252b4b;color:#f6ead7}.hard-result .section-kicker,.hard-result .title-total{color:#e1d2ef}.hard-result .title-total b{color:#f3d183}#hard-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.hard-result .title-badge{color:#f3e6ff;border-color:#9a80c0;background:#40375f}.hard-help{padding:16px;margin:20px 0;background:#eee6f0;border:1px solid #bba5bd;border-radius:12px}.hard-help strong{font-size:12px;color:#564477}.hard-help p{font-size:12px;line-height:1.7}.hard-help p span{display:block;margin-top:6px;font-size:11px;color:#64516b}@media(max-width:600px){.hard-collection{padding:14px}.hard-collection h3{font-size:14px}.hard-help{padding:13px}}

/* Keep the animation on screen while its growing move library scrolls. */
.preview-panel nav{max-height:clamp(144px,26svh,216px);overflow-y:auto;overscroll-behavior-y:contain;align-content:flex-start;padding:4px;scroll-padding-block:4px;scrollbar-color:#baa887 #efe7d7;scrollbar-width:thin}
.preview-panel .preview-tip{display:block;font-size:9px;font-weight:600;letter-spacing:.025em;margin-top:5px;color:var(--muted)}
@media(max-width:600px){.preview-panel button{min-height:44px}.preview-panel nav{max-height:160px}.preview-panel{padding:12px}.preview-panel p:not(.eyebrow){font-size:11px;margin:10px 0}}

/* A clear route from first run to the next discovery. */
.intro-actions{justify-content:flex-start}
.intro-explore{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 16px;padding-top:18px}
.intro-explore .text-button{display:grid;place-content:center;min-height:58px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fffaf0;text-align:center;font-size:11px;line-height:1.3}
.intro-explore .text-button small{font-size:10px;color:var(--muted);margin-top:5px}
.night-options{margin-top:4px;border:1px solid #c8bad0;border-radius:12px;background:#f0e9f1}
.night-options>summary{display:flex;align-items:center;gap:10px;min-height:60px;padding:12px 14px;list-style:none;cursor:pointer;color:#554364;font-size:11px;font-weight:850}
.night-options>summary::-webkit-details-marker{display:none}
.night-options>summary>span:first-child{flex:1;min-width:0}
.night-options summary small{display:block;font-size:10px;font-weight:600;margin-top:4px}
.night-options summary b{font-size:10px;white-space:nowrap}
.disclosure-mark{font-size:18px;line-height:1}
.night-options[open] .disclosure-mark{font-size:0}
.night-options[open] .disclosure-mark:after{content:'−';font-size:18px}
.night-options .hard-choice{margin:0;padding:0 14px 14px;border:0}
.night-options .hard-night-label{display:none}
#start-hard:disabled{cursor:default}
.night-options .save-note{font-size:11px;text-align:left;line-height:1.7}
.howto small{white-space:normal;line-height:1.5}
.site-footer .updates-link{border:1px solid var(--line);border-radius:999px;padding:7px 14px;gap:5px;text-decoration:none;background:#fffaf0}
.primary,.secondary,.intro-explore .text-button{transition:background .15s,border-color .15s,box-shadow .15s}
.primary:active:not(:disabled){box-shadow:0 1px 0 #843626}
.secondary:active:not(:disabled){background:#dfd4be}
input[type=search]:focus-visible,.collection-nav button:focus-visible{outline:3px solid #247382;outline-offset:3px}
input[type=search]{font:inherit;color:var(--ink);accent-color:var(--green)}

/* Scannable results, with the real-world support action beside the score. */
.result-summary>.small-label{font-size:11px;margin-top:6px}
.result-stats{gap:10px;padding:16px 0}
.result-stats small{font-size:9px;letter-spacing:.025em;line-height:1.5}
.score-breakdown{gap:8px;font-size:12px}
.score-breakdown>span{padding:6px 9px;background:#efe8d9;border-radius:7px}
.earned-titles{padding:15px 0;border-bottom:1px solid var(--line)}
.title-badge{min-height:36px;line-height:1.5}
.result-next{background:linear-gradient(145deg,#e7ecdb,#f2ead6);border-color:#b9c4a6}
.support-intro{font-size:14px;line-height:1.6}
.support-intro span{font-size:12px}
.result-share .secondary{min-height:56px;font-size:11px}
.result-share .secondary small{font-size:10px}
.result-journey{font-size:12px;padding:16px;gap:7px}
.result-journey>small{font-size:11px;line-height:1.6}
.result-journey>button{font-size:12px}

/* The collection has a small index; cards keep the room to tell their story. */
dialog{max-width:calc(100% - 24px)}
dialog>header{min-height:76px}
dialog>header h2{min-width:0;overflow-wrap:anywhere;line-height:1.3}
.collection-nav{position:sticky;top:52px;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:-4px 0 20px;padding:6px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 12px #453f320c}
.collection-nav button{min-width:0;min-height:48px;padding:6px 3px;border:0;border-radius:7px;background:#eee7d8;color:var(--green);font-size:10px;font-weight:850;line-height:1.3}
.collection-nav small{display:block;font-size:10px;font-weight:600;margin-top:4px;color:var(--muted)}
.collection-nav button:hover,.collection-nav button:focus-visible{background:#e0e8d6}
.collection-heading h3{line-height:1.5}
.collection-heading [data-collection-filter]{border:1px solid var(--line);border-radius:8px;padding:8px 12px;min-height:44px;font-size:11px;text-decoration:none}
.collection-heading [data-collection-filter][aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fffaf0}
.catalog-title{box-shadow:0 2px 0 #453f3208}
.catalog-body>small{font-size:11px;line-height:1.65}
.catalog-body>span{line-height:1.6}
.catalog-status{letter-spacing:.045em}
.title-guide-note,.save-note{line-height:1.75}
.title-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center}
.title-pagination button{min-height:48px}
.title-screen .title-proof{font-size:13px;line-height:1.75}
.title-screen .title-proof small{font-size:11px}

/* Basics first; detailed basketball rules remain a deliberate next step. */
.help-basics{display:grid;gap:8px;margin:20px 0}
.help-basics p{margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:#f0eadb}
.help-basics b{display:block;font-size:12px}
.help-basics span{display:block;margin-top:5px;font-size:12px;line-height:1.65;color:var(--muted)}
.help-details{border:1px solid var(--line);border-radius:12px;padding:0 16px;margin:20px 0}
.help-details>summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-height:56px;padding:12px 0;cursor:pointer;font-size:12px;font-weight:850;color:var(--green);list-style:none}
.help-details>summary::-webkit-details-marker{display:none}
.help-details>summary>span[lang]{font-size:11px;font-weight:600}
.help-details>summary>span:last-child{margin-left:auto}
.help-details .help-rules{margin:4px 0 16px}

/* Find one animation without wading through a wall of buttons. */
.move-search{display:grid;grid-template-columns:auto minmax(160px,1fr) auto;align-items:center;gap:12px;margin:16px 0;text-align:left}
.move-search label{font-size:10px;font-weight:850;letter-spacing:.025em}
.move-search label span{display:block;font-size:10px;font-weight:600;color:var(--muted);margin-top:3px}
.move-search input{width:100%;min-height:44px;padding:9px 12px;border:1px solid #bcae95;border-radius:9px;background:#fffaf0;font-size:16px}
#move-search-count{font-size:10px;color:var(--muted);line-height:1.5}
.preview-panel nav button{min-height:44px}
.preview-panel #preview-description{min-height:36px;line-height:1.7;font-size:12px}

@media(min-width:761px){.result-next{position:sticky;top:20px}}
@media(max-width:760px){
  .intro-poster{padding:20px 24px}
  .race-name{font-size:24px}.race-year{font-size:46px}
  .poster-art{height:130px;margin-top:8px}
  .intro-poster .intro-runner{width:170px;height:170px;right:2%;bottom:-14px}
  .poster-manifesto{top:8px;font-size:40px}.poster-manifesto em{font-size:31px}
  .poster-caption{margin:10px 0 0;font-size:15px}.poster-caption span{font-size:10px}
  .intro-actions{padding:24px}.intro-actions h3{font-size:30px;margin-bottom:18px}
  .intro-explore{margin-top:18px}
  .howto{margin-bottom:18px}.howto small{font-size:10px}
  .move-search{grid-template-columns:1fr auto;gap:8px}
  .move-search label{grid-column:1/-1;display:flex;gap:10px;align-items:baseline}.move-search label span{margin:0}
}
@media(max-width:480px){
  .intro-poster{padding:17px 20px}.race-name{font-size:22px}.race-year{font-size:42px}
  .poster-art{height:118px}.intro-poster .intro-runner{width:161px;height:161px;right:-4px;bottom:-13px}
  .poster-manifesto{font-size:34px}.poster-manifesto em{font-size:27px}
  .poster-caption{font-size:14px;margin-top:13px}.poster-caption span{font-size:10px}
  .intro-actions{padding:22px 20px}.intro-actions h3{font-size:28px}
  .intro-explore .text-button{font-size:10px;min-height:58px}.intro-explore small{font-size:10px}
  .run-choice b{font-size:14px}.run-choice small{font-size:11px}.choice-duration{font-size:10px}
  .howto b{font-size:12px}.howto small{font-size:10px}
  .hud .small-label{font-size:9px}.energy-label{font-size:9px}
  .move-guide strong{font-size:11px}.move-guide>div>small{font-size:10px}
  .feel-controls button{min-height:44px;font-size:10px;padding:7px 9px}
  .result-stats small{font-size:10px;letter-spacing:0}
  .result-journey{grid-template-columns:1fr}.result-journey>span{text-align:left}
  dialog>header{min-height:72px}.collection-nav{top:54px;gap:4px;padding:5px}
  .collection-nav button{font-size:9px}.collection-nav small{font-size:9px}
  .catalog-body>small{font-size:11px}.title-guide-note{font-size:12px}
  .profile-numbers small{font-size:10px}.personal-bests strong{font-size:11px}.personal-bests span{font-size:10px}
  .collection-heading [data-collection-filter]{font-size:11px}
  .move-search{grid-template-columns:1fr}.move-search label{grid-column:1}
  #move-search-count{font-size:11px}
}
@media(max-width:350px){
  .race-name{font-size:20px}.race-year{font-size:38px}
  .intro-actions{padding:20px 16px}.run-choice b{font-size:12px}
  .howto>span{grid-template-columns:20px 1fr}.howto i{font-size:23px}.howto small{font-size:9px}
  .intro-explore .text-button{font-size:9px}
  .night-options>summary{padding:12px 10px;font-size:10px}.night-options summary small{font-size:9px}
}
@media(max-height:480px) and (min-width:650px){
  .intro-poster{padding:22px}.poster-art{height:195px}.intro-poster .intro-runner{width:220px;height:220px}
  body.in-run:not(.preview) .move-guide strong{font-size:10px}
  body.in-run:not(.preview) .move-guide>div>small{font-size:8px}
  body.in-run:not(.preview) .feel-controls button{min-height:32px;font-size:7px}
  .result-next{position:static}
}

/* A small editorial journal, served as plain HTML. */
.updates-brand{justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.updates-home{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:var(--ink)}
.brand-wordmark{display:block;font-size:clamp(16px,2.3vw,25px);font-weight:950;line-height:1.1;letter-spacing:-.025em}
.brand-caption{display:block;font-size:9px;letter-spacing:.14em;font-weight:700;margin-top:6px;color:var(--muted)}
.updates-brand>nav{display:flex;align-items:center;gap:20px}
.updates-brand nav a{font-size:11px;min-height:48px;text-align:center;white-space:nowrap}
.updates-play{display:grid;place-content:center;min-width:100px;padding:8px 16px;border-radius:10px;background:var(--green);color:#fffaf0;font-weight:850;text-decoration:none}
.updates-play small{display:block;font-size:10px;font-weight:600;margin-top:3px}
.updates-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:54px 44px;margin:28px 0 16px;background:radial-gradient(circle at 95% 0,#fff9e5 0 28%,transparent 28.2%),#e9e5d1;border:1px solid #d0c7ad;border-radius:20px;overflow:hidden}
.updates-hero .section-kicker{color:var(--green)}
.updates-hero h1{font-size:clamp(38px,6.7vw,78px);font-weight:950;letter-spacing:-.065em;line-height:1;margin:0}
.updates-hero h1 em{font-family:Georgia,serif;color:var(--green)}
.updates-hero h1>span{display:block;font-size:16px;font-weight:650;letter-spacing:.12em;margin-top:16px}
.updates-lead{font-size:18px;margin:24px 0 0;line-height:1.6}
.updates-lead>span{display:block;font-size:14px;color:var(--muted);margin-top:5px}
.updates-face{width:144px;height:144px;flex-shrink:0;transform:rotate(5deg);border-radius:28px;box-shadow:8px 10px 0 #3f655016}
.updates-note{display:flex;flex-wrap:wrap;gap:4px 16px;margin:18px 0 38px;font-size:12px;color:var(--muted);line-height:1.7}
.updates-note>span{font-size:12px}
.update-entry{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;position:relative;padding-bottom:36px}
.update-date{padding:20px 0;position:relative}
.update-date time{display:block;font-size:13px;font-weight:750;letter-spacing:.05em;color:var(--muted);font-variant-numeric:tabular-nums}
.update-date time>span{display:block;font-size:35px;line-height:1.15;letter-spacing:-.045em;font-weight:950;color:var(--ink);margin-top:3px}
.update-latest{display:inline-block;margin-top:14px;padding:5px 8px;border:1px solid #b5c8aa;border-radius:999px;background:#e6eddc;color:#365f44;font-size:9px;font-weight:850}
.update-content{padding:28px 32px;border:1px solid var(--line);border-radius:16px;background:#fffaf0;position:relative}
.latest .update-content{border-top:4px solid var(--green)}
.update-content h2{font-size:clamp(20px,2.5vw,27px);line-height:1.4;letter-spacing:-.035em;margin:0 0 24px}
.update-content h2>small{display:block;margin-top:6px;font-size:13px;font-weight:550;letter-spacing:0;color:var(--muted)}
.update-content ul{list-style:none;padding:0;margin:0}
.update-content li+li{margin-top:20px;padding-top:20px;border-top:1px solid #e9dfcd}
.update-content li>strong{font-size:14px;line-height:1.6}
.update-content li>p{font-size:13px;line-height:1.85;margin:7px 0 0;color:#554e40}
.update-content li>p>span{display:block;margin-top:7px;font-size:12px;line-height:1.75;color:var(--muted)}
.updates-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 28px;padding:28px 32px;border-radius:16px;background:#e9e7d5;border:1px solid #d0c7ad}
.updates-cta h2{margin:0;font-size:24px;letter-spacing:-.035em}
.updates-cta h2 small{display:block;font-size:13px;font-weight:550;letter-spacing:0;margin-top:6px;color:var(--muted)}
.updates-cta .primary{width:auto;min-width:210px;background:var(--green);box-shadow:0 4px 0 #2d5140}
.updates-cta .primary:active{box-shadow:0 1px 0 #2d5140}
@media(max-width:760px){
  .updates-brand{gap:10px}.updates-brand>nav{gap:12px}.brand-wordmark{font-size:18px}
  .updates-hero{padding:32px 26px;gap:20px}.updates-face{width:112px;height:112px;border-radius:22px}
  .updates-hero h1{font-size:48px}.updates-lead{font-size:16px}
  .update-entry{grid-template-columns:110px minmax(0,1fr);gap:18px}.update-content{padding:24px}
  .updates-cta{padding:24px;flex-wrap:wrap}.updates-cta .primary{width:100%}
}
@media(max-width:480px){
  .updates-brand{align-items:flex-start;flex-wrap:wrap;padding-bottom:16px}
  .updates-home{gap:8px;flex:1}.brand-wordmark{font-size:16px;max-width:185px}.brand-caption{font-size:8px;letter-spacing:.08em}
  .updates-brand>nav{gap:10px}.updates-brand nav .text-button{display:none}.updates-play{min-width:66px;padding:8px 10px;font-size:10px}
  .updates-hero{padding:26px 20px;margin-top:20px;gap:12px;align-items:flex-start}
  .updates-hero h1{font-size:37px}.updates-hero h1 em{display:block}.updates-hero h1>span{font-size:13px;margin-top:12px}
  .updates-face{width:80px;height:80px;border-radius:17px;margin-top:20px;box-shadow:5px 7px 0 #3f655016}
  .updates-hero .section-kicker{font-size:8px}.updates-lead{font-size:15px;margin-top:20px}.updates-lead>span{font-size:12px;line-height:1.65}
  .updates-note{margin-bottom:24px;font-size:11px}.updates-note>span{font-size:11px}
  .update-entry{grid-template-columns:1fr;gap:10px;padding-bottom:28px}
  .update-date{display:flex;align-items:center;justify-content:space-between;padding:0 2px}
  .update-date time{display:flex;align-items:baseline;gap:8px;font-size:12px}.update-date time>span{font-size:26px;margin:0}
  .update-latest{margin:0}.update-content{padding:22px 18px}.update-content h2{font-size:22px}
  .update-content h2>small{font-size:12px}.update-content li>p{font-size:13px}.update-content li>strong{font-size:14px}
  .updates-cta{padding:24px 18px}.updates-cta h2{font-size:23px}
}
@media(max-width:350px){.brand-wordmark{font-size:14px}.updates-play{min-width:58px}.updates-hero{padding:22px 16px}.updates-hero h1{font-size:33px}.updates-face{width:64px;height:64px}.updates-hero .section-kicker{font-size:7px}}
