@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;font-family:Barlow,Arial,sans-serif;background:#142821;color:#fff8e9}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #f7c754;outline-offset:5px}[hidden]{display:none!important}#game{position:relative;width:100%;height:100svh;min-height:300px;overflow:hidden;isolation:isolate;background:#a5bec1}#scene{width:100%;height:100%;display:block;touch-action:none;outline:none}.topbar{position:absolute;inset:max(24px,env(safe-area-inset-top)) 32px auto;display:flex;align-items:center;gap:18px;z-index:4}.wordmark{color:#fff8e9;text-decoration:none;font-size:20px;font-weight:800;letter-spacing:-.8px;text-shadow:0 1px 12px #152f29}.wordmark span{display:block;font-size:9px;font-weight:600;letter-spacing:2.2px;margin-top:5px}.prototype{font-size:9px;letter-spacing:1.8px;border:1px solid #fff6;padding:6px 9px;margin-left:auto}.icon{border:1px solid #fff8;background:#132d29a6;width:44px;height:44px;border-radius:50%;font-size:20px}.panel{position:absolute;z-index:3}.intro{left:8%;top:20%;width:380px;text-shadow:0 2px 20px #18332880}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:700;color:#ffdc80;margin:0 0 16px}h1,h2{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-weight:900;line-height:.83;letter-spacing:-2px;margin:0}h1{font-size:clamp(72px,9.8vw,144px);font-style:italic}h1 em{font-style:italic;color:#f5c457}h2{font-size:66px;line-height:.95}.lede{font-size:17px;line-height:1.55;margin:26px 0 22px;color:#f5f2df}.primary{background:#f3c359;border:0;color:#182a24;padding:17px 22px;min-height:56px;display:flex;align-items:center;justify-content:space-between;width:100%;font-weight:800;letter-spacing:1px;font-size:14px;box-shadow:5px 5px 0 #172e27}.primary:hover{background:#ffdb83}.primary span{font-size:24px}.instructions{display:flex;gap:22px;margin-top:25px;align-items:center}.instructions span{font-size:22px;color:#f4c65e;display:flex;align-items:center;gap:6px}.instructions b{font-size:9px;color:#fff5dd;letter-spacing:1px}.device-hint{font-size:11px;color:#e4e8d1;line-height:1.5;margin:9px 0}.best-label{font-size:9px;letter-spacing:1.6px;margin:22px 0 14px;color:#e1e6d6}.best-label strong{color:#f5c457;margin-left:10px;font-size:13px}.credit{max-width:340px;font-size:9px;line-height:1.5;opacity:.68;margin-top:18px}.course-label{position:absolute;bottom:30px;left:32px;display:flex;gap:9px;align-items:center;font-size:10px;font-weight:700;letter-spacing:1.5px;z-index:2;text-shadow:0 1px 8px #000}.course-label i{width:6px;height:6px;background:#f8cf65;border-radius:50%}.course-label span{font-size:8px;opacity:.7;margin-left:9px}.hud{position:absolute;left:32px;right:32px;top:102px;display:flex;justify-content:space-between;pointer-events:none;z-index:2;text-shadow:0 1px 12px #143328}.hud>div{min-width:90px}.hud span{font-size:9px;letter-spacing:1.7px;font-weight:700}.hud strong{display:block;font-size:36px;font-family:'Barlow Condensed',Impact,sans-serif}.hud strong span{font-size:13px;margin-left:4px}.hud-center{text-align:center}.hud-center strong{color:#fbd773}.score{text-align:right}.boost-track{width:85px;height:3px;background:#ffffff40;margin:6px auto}.boost-track i{display:block;background:#f6cd5f;height:100%;width:0}.compact{top:50%;left:50%;transform:translate(-50%,-50%);padding:36px;max-width:440px;width:calc(100% - 36px);background:#132a26ed;box-shadow:0 24px 100px #05181377;border:1px solid #d0d8b733;text-align:center}.compact .eyebrow{margin-bottom:15px}.compact>p:not(.eyebrow){font-size:14px;color:#d6dfc7;line-height:1.5}.compact .primary{margin-top:24px}.secondary{background:none;border:0;text-decoration:underline;text-underline-offset:5px;color:#dbe2cf;font-size:12px;padding:20px 12px 0}.result{margin:24px 0 12px}.result strong{display:block;font:800 76px/.9 'Barlow Condensed',Impact,sans-serif;color:#f3c359}.result span{font-size:10px;letter-spacing:2px}.controls{position:absolute;bottom:max(32px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:3}.controls button{height:54px;width:56px;border:1px solid #fff7;background:#142d2baa;border-radius:12px;font-size:25px;backdrop-filter:blur(8px);touch-action:manipulation;user-select:none}.controls button:active{background:#f3c359;color:#172c26}.controls .jump{width:84px;background:#f3c359;color:#172c26;border-color:#f3c359}.jump span{font-size:11px;font-weight:800}.run-hint{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:2px;color:#f5f2df99;pointer-events:none}#callout{position:absolute;z-index:2;top:26%;left:0;right:0;text-align:center;font:800 28px 'Barlow Condensed',Impact,sans-serif;color:#ffdc7d;text-shadow:0 2px 10px #113127;letter-spacing:1px;pointer-events:none}body[data-phase="intro"] .topbar{color:#fff}body:not([data-phase="intro"]) .course-label{bottom:42px}
@media(max-width:700px){.topbar{inset:max(20px,env(safe-area-inset-top)) 20px auto}.wordmark{font-size:17px}.wordmark span{font-size:7px}.prototype{font-size:7px;letter-spacing:1px;padding:5px 6px}.intro{left:25px;top:17%;width:min(340px,calc(100% - 50px))}h1{font-size:91px}.lede{font-size:14px;margin:18px 0}.instructions{gap:17px;margin-top:18px}.instructions b{font-size:8px}.best-label{margin:15px 0 10px}.credit{font-size:8px;max-width:280px}.course-label{bottom:20px;left:20px;font-size:8px}.course-label span{font-size:7px}.hud{top:90px;left:20px;right:20px}.hud strong{font-size:31px}.hud>div{min-width:70px}.hud span{font-size:8px}body:not([data-phase="intro"]) .course-label{display:none}.controls{bottom:max(28px,env(safe-area-inset-bottom))}.controls button{height:55px}.run-hint{font-size:7px;letter-spacing:1px;bottom:5px}#callout{font-size:24px;top:23%}}
@media(max-height:650px) and (max-width:700px){.intro{top:16%}h1{font-size:69px}.lede{margin:12px 0;font-size:12px}.primary{min-height:47px;padding:10px 18px}.instructions{margin-top:15px}.best-label{margin:12px 0 8px}.credit{margin-top:10px;font-size:7px}.device-hint{font-size:9px}.course-label{display:none}.compact{padding:23px}h2{font-size:50px}.result strong{font-size:55px}}
@media(max-height:480px) and (min-width:701px){.intro{top:24%;left:6%;width:340px}h1{font-size:68px}.lede{margin:13px 0;font-size:12px}.eyebrow{margin-bottom:10px}.instructions,.device-hint,.best-label,.credit{display:none}.primary{min-height:44px;padding:8px 18px}.topbar{top:15px}.hud{top:70px}.controls{bottom:18px}.controls button{height:44px}.run-hint{display:none}.compact{padding:22px}h2{font-size:48px}.result{margin:12px}.result strong{font-size:48px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
/* Keep boost notices and coin progression clear of the HUD on small phones. */
@media(max-width:380px){#callout{font-size:18px;top:max(180px,23%);padding:0 12px}#coins{display:block;font-size:10px;letter-spacing:.3px;margin-top:4px}}
button:disabled{cursor:wait;opacity:.65}.board-link{background:none;border:0;border-bottom:1px solid #f1c66a80;font-size:9px;font-weight:700;letter-spacing:1.2px;color:#f5cf76;padding:7px 0;margin-top:3px}.compact{max-height:calc(100svh - 36px);overflow:auto;overscroll-behavior:contain}.huckster-rankings{text-align:left;font-size:12px;border-top:1px solid #ffffff25;margin-top:19px;padding-top:14px}.huckster-rankings:empty{display:none}.huckster-rankings h3{margin:0;font-size:15px;color:#f3cf79}.huckster-rankings p{line-height:1.5;color:#dbe4d0}.huckster-rankings ol{padding-left:24px;line-height:2}.huckster-rankings form{display:grid;gap:12px}.huckster-rankings label{font-size:11px;line-height:1.5}.huckster-rankings input[type=text]{display:block;width:100%;margin-top:6px;padding:12px;background:#f4f0db;color:#132a26;border:1px solid #dbcb9c;font-size:16px;border-radius:4px}.huckster-rankings input[type=checkbox]{width:18px;height:18px;vertical-align:middle;accent-color:#f3c359}.huckster-rankings button{min-height:40px;padding:10px;border:1px solid #ead09966;background:#263f33;font-size:12px}.huckster-rankings button[type=submit]{background:#f3c359;color:#172d25;font-weight:700}
@media(max-height:650px) and (max-width:700px){.intro{top:15%}.board-link{font-size:8px;padding:4px 0}.best-label{margin-top:8px}.credit{margin-top:6px}.instructions{margin-top:11px}}
@media(max-height:480px){.intro{top:80px;max-height:calc(100svh - 94px);overflow:auto;overscroll-behavior:contain;padding:0 8px 15px 0}.intro h1{font-size:65px}.intro .lede{font-size:12px;margin:12px 0}.intro .eyebrow{font-size:8px;margin-bottom:12px}.intro .primary{min-height:44px;padding:8px 15px}.intro .instructions,.intro .device-hint,.intro .credit{display:none}.intro .best-label{margin:10px 0}.course-label{display:none}}

#pace{display:block;font-size:9px;letter-spacing:1px;color:#f5d683;margin-top:3px}.course-label b{font:inherit}
