@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,800;1,900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#193d43;--muted:#53757a;--lime:#d5f777;--line:rgba(25,61,67,.18);--display:'Barlow Condensed','Arial Narrow',Impact,sans-serif;--body:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#dfedf0;color:var(--ink);font-family:var(--body);overscroll-behavior:none}body{touch-action:none}button,a{-webkit-tap-highlight-color:transparent}button{font-family:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #e65b39;outline-offset:5px}button{border:0}button:hover{filter:brightness(.96)}button:active{transform:translateY(1px)}[hidden]{display:none!important}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}.grain{position:fixed;inset:0;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E")}header,main,footer{position:relative}.topbar{height:108px;display:flex;align-items:center;justify-content:space-between;padding:0 5.2%;z-index:3}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:bold 25px var(--display);letter-spacing:.8px}.brand svg{width:37px;height:30px;fill:var(--ink)}.brand .snow{fill:none;stroke:#e6f1ef;stroke-width:2}.brand-dot{font:10px var(--body);vertical-align:top;margin-left:3px}.edition{font-size:10px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:16px}.edition i{width:3px;height:3px;border-radius:50%;background:var(--ink)}.header-actions{display:flex;gap:9px}.icon-button{background:rgba(240,248,248,.55);border:1px solid var(--line);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:19px}.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}#pauseButton{display:none}.home{position:absolute;top:clamp(35px,9vh,110px);left:8%;z-index:2;animation:enter .8s ease both}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;display:flex;align-items:center;gap:10px}.live-dot{width:7px;height:7px;background:#508373;border-radius:50%}.version{font-size:9px;padding:4px 6px;border:1px solid var(--line);border-radius:3px;margin-left:3px}h1{font-family:var(--display);font-style:italic;font-weight:900;font-size:clamp(75px,8.5vw,133px);line-height:.83;letter-spacing:-2px;margin:29px 0 27px}h1 span{color:#347578}.intro{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:27px}.start-row{display:flex;align-items:center;gap:26px}.primary{background:var(--lime);height:58px;padding:0 25px;min-width:210px;display:flex;align-items:center;justify-content:space-between;gap:30px;font-weight:800;font-size:12px;letter-spacing:1px;border-radius:6px;box-shadow:0 4px 0 rgba(25,61,67,.08);transition:background .2s,transform .2s}.primary:hover{background:#c6ef59}.primary span{font-size:27px;font-weight:400}.personal-best{padding-left:23px;border-left:1px solid var(--line)}.personal-best>span{display:block;font-size:8px;font-weight:700;letter-spacing:1.4px;margin-bottom:3px}.personal-best strong{font:600 30px var(--display)}.personal-best small{font:11px var(--body)}.home-hint{margin-top:22px;display:flex;gap:6px;align-items:center;font-size:10px;color:var(--muted)}.key{border:1px solid #94b2b7;border-radius:3px;width:21px;height:20px;display:grid;place-items:center;font-size:13px}.hint-divider{width:1px;height:11px;background:var(--line);margin:0 7px}.touch-only{display:none}.trail-badge{position:fixed;bottom:110px;right:7%;display:flex;align-items:center;gap:17px;background:rgba(241,247,247,.65);padding:17px 22px;border:1px solid rgba(255,255,255,.8);border-radius:7px;backdrop-filter:blur(10px);max-width:365px}.trail-number{font:600 46px var(--display);opacity:.45}.trail-badge div{border-left:1px solid var(--line);padding-left:17px}.trail-badge div>span{font-size:8px;letter-spacing:1.2px;font-weight:700;display:block}.trail-badge strong{font:600 23px var(--display);display:block;margin:3px 0}.trail-badge small{font-size:9px;color:var(--muted)}.trail-badge svg{width:34px;height:34px;fill:none;stroke:var(--muted);stroke-width:.9;margin-left:10px}footer{position:fixed;bottom:0;left:5.2%;right:5.2%;height:70px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.1px;font-weight:600}footer>div{display:flex;align-items:center;gap:9px}.footer-dot{width:5px;height:5px;border-radius:50%;background:#739276}.footer-sep{opacity:.3;margin:0 7px}footer button{padding:10px 0;background:none;font-size:10px}footer button span{margin-left:15px}.hud{position:fixed;top:111px;left:50%;transform:translateX(-50%);width:min(550px,86%);display:flex;justify-content:space-between;background:rgba(241,248,248,.8);border:1px solid #ffffffb0;border-radius:12px;padding:19px 26px;backdrop-filter:blur(10px);box-shadow:0 10px 30px #234c5010}.stat>span{font-size:8px;font-weight:700;letter-spacing:1.5px;display:block;margin-bottom:3px}.stat strong{font:600 40px var(--display);font-variant-numeric:tabular-nums;line-height:1}.stat small{font:11px var(--body);color:var(--muted)}.center-stat{text-align:center}.speed-stat{text-align:right}.boost-hud{position:fixed;bottom:40px;left:50%;transform:translateX(-50%);width:min(430px,82%)}.boost-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;font-weight:700;margin-bottom:10px}.boost-track{height:9px;background:#21484d25;border:1px solid #21484d20;border-radius:6px;overflow:hidden;position:relative}.boost-track>div{height:100%;width:0;background:#4c9692;border-radius:6px;transition:width .12s}.boost-track i{position:absolute;top:0;bottom:0;width:2px;background:#eaf3f090;left:33.3%}.boost-track i:last-child{left:66.6%}.boosting .boost-track>div{background:#a8d443}.boosting .boost-label{color:#326031}.toast{position:fixed;left:50%;top:32%;transform:translate(-50%,10px);opacity:0;transition:opacity .2s,transform .2s;text-align:center;font-family:var(--display);font-size:38px;font-weight:800;font-style:italic;color:var(--ink);pointer-events:none;text-shadow:0 2px 14px #fff;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}.toast small{display:block;font:700 9px var(--body);letter-spacing:2px;margin-top:3px}.combo{position:fixed;right:8%;top:43%;text-align:center;transform:rotate(-7deg)}.combo strong{display:block;font:italic 800 68px var(--display);color:#e9714c}.combo span{font-size:8px;font-weight:700;letter-spacing:1px}.play-hint{position:fixed;bottom:93px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:1.5px;font-weight:600;white-space:nowrap;background:#f1f7f6bd;padding:10px 15px;border-radius:30px}.play-hint span{margin:0 10px;opacity:.3}.overlay{position:fixed;inset:0;z-index:5;background:#183b4340;backdrop-filter:blur(9px);display:grid;place-items:center;padding:20px;overflow:auto;touch-action:pan-y}.dialog{background:#eff5f2;border:1px solid #fff;box-shadow:0 30px 90px #11373a30;border-radius:17px;text-align:center;padding:34px;width:min(420px,100%);animation:enter .3s ease}.dialog .eyebrow{justify-content:center;font-size:8px;letter-spacing:1.1px}.dialog h2{font:italic 800 48px/.95 var(--display);letter-spacing:-.8px;margin:19px 0}.dialog p{font-size:12px;line-height:1.7;color:var(--muted)}.dialog .primary{width:100%;margin-top:23px}.text-button{font-size:11px;background:none;padding:17px 0 0;color:var(--muted)}.new-best{font-size:9px;font-weight:bold;letter-spacing:1.5px;color:#457453;background:#d5f7778c;padding:7px 12px;border-radius:20px;display:inline-block}.result-distance{margin:12px 0 19px}.result-distance>span{font:800 85px/.95 var(--display)}.result-distance small{display:block;font-size:9px;letter-spacing:2px;margin-top:7px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 0;border-block:1px solid var(--line)}.result-grid>div+div{border-left:1px solid var(--line)}.result-grid strong{font:600 28px var(--display);display:block}.result-grid span{font-size:8px;letter-spacing:1px}.help-dialog{width:min(460px,100%);text-align:left}.help-dialog h2{text-align:center;font-size:44px}.help-step{display:flex;gap:17px;margin-top:22px}.help-step>b{font:600 25px var(--display);color:#6c9690}.help-step strong{font-size:13px}.help-step p{margin:6px 0 0;font-size:11px}.help-foot{display:block;text-align:center;margin-top:17px;font-size:10px;color:var(--muted)}body[data-mode='playing'] #pauseButton,body[data-mode='paused'] #pauseButton{display:grid}body[data-mode='playing'] .help-button{display:none}body[data-mode='playing'] .edition{opacity:.6}body[data-mode='playing'] .topbar{height:85px}.small-dialog{padding-block:45px}@keyframes enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.home{top:12vh;left:10%}h1{font-size:145px}}@media(max-height:760px) and (min-width:701px){.home{top:20px}h1{font-size:92px;margin:22px 0}.intro{margin-bottom:20px}.trail-badge{bottom:95px}.topbar{height:90px}}
@media(max-width:700px){.topbar{height:80px;padding:0 6%}.brand{font-size:22px;gap:7px}.brand svg{width:31px}.edition{display:none}.icon-button{width:35px;height:35px}.header-actions{gap:7px}.home{left:8%;top:27px}h1{font-size:clamp(76px,20vw,115px);margin:22px 0 19px;letter-spacing:-1px}.eyebrow{font-size:8px;letter-spacing:1.2px;gap:7px}.version{font-size:7px}.intro{font-size:11px;line-height:1.7;margin-bottom:21px}.primary{height:52px;min-width:174px;font-size:10px;padding:0 19px}.start-row{gap:20px}.personal-best{padding-left:17px}.personal-best>span{font-size:7px;letter-spacing:.6px}.personal-best strong{font-size:26px}.home-hint{font-size:9px;margin-top:18px}.desktop-only{display:none}.touch-only{display:inline}.trail-badge{right:7%;bottom:80px;padding:11px 15px;gap:11px}.trail-badge strong{font-size:19px}.trail-badge small{display:none}.trail-badge svg{width:27px}.trail-number{font-size:32px}.trail-badge div{padding-left:11px}.trail-badge div>span{font-size:7px}footer{height:54px;left:7%;right:7%;font-size:7px;letter-spacing:.7px}footer>span{display:none}footer button{font-size:9px}.hud{top:89px;padding:15px 20px}.stat strong{font-size:33px}.stat small{font-size:9px}.stat>span{font-size:7px}.boost-hud{bottom:max(27px,env(safe-area-inset-bottom))}.combo{right:6%;top:37%}.combo strong{font-size:50px}.combo span{font-size:6px}.toast{top:28%;font-size:30px}.dialog{padding:27px}.dialog h2{font-size:43px}.result-distance>span{font-size:73px}.help-step{margin-top:17px}.help-dialog h2{font-size:37px}.play-hint{font-size:8px;bottom:78px}}
@media(max-height:660px) and (max-width:700px){.topbar{height:62px}.home{top:12px}h1{font-size:72px;margin:15px 0}.intro{margin:10px 0 16px}.home-hint{margin-top:12px}.trail-badge{bottom:62px}.dialog{padding:20px}.result-distance>span{font-size:55px}.dialog h2{margin:12px 0}.dialog .primary{margin-top:14px}.help-step{margin-top:12px}.help-step p{font-size:10px}.hud{top:70px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Expedition edition */
body{background:#d5e3e9}.grain{display:none}.home-veil{position:fixed;inset:0;background:linear-gradient(90deg,rgba(227,237,239,.96),rgba(227,237,239,.83) 25%,rgba(227,237,239,.35) 45%,transparent 65%);pointer-events:none}.vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 150px #19333a18}.loading{position:fixed;inset:0;background:#e7efef;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.loading svg{width:60px;fill:var(--ink)}.loading strong{font:800 35px var(--display);letter-spacing:2px}.loading>span{font-size:11px;letter-spacing:1px;color:var(--muted)}.loading-line{width:100px;height:3px;background:linear-gradient(90deg,#193d4340,var(--ink),#193d4340);animation:pulse 1s infinite alternate;border-radius:3px}@keyframes pulse{to{opacity:.3}}.quality-button{font-size:9px;letter-spacing:.7px;font-weight:700;border:1px solid var(--line);background:#edf3f0c9;padding:0 12px;border-radius:20px}.brand{font-size:24px}.home{top:clamp(15px,6vh,80px)}h1{font-size:clamp(80px,8.0vw,124px);margin:25px 0 22px}.intro{margin-bottom:24px}.expedition-card{display:flex;align-items:center;justify-content:space-between;width:360px;max-width:100%;border-top:1px solid #51717730;border-bottom:1px solid #51717730;padding:15px 0;margin-bottom:20px}.expedition-card span{font-size:8px;font-weight:700;letter-spacing:1.6px;display:block}.expedition-card strong{font:600 26px var(--display);display:block;margin:4px 0}.expedition-card small{font-size:9px;color:var(--muted);letter-spacing:1px}.expedition-card button{background:#ffffff90;border:1px solid var(--line);border-radius:50%;height:38px;width:38px;font-size:25px}.start-row{gap:20px}.primary{min-width:200px}.rider-button{background:none;display:flex;align-items:center;text-align:left;gap:9px;padding:8px 0}.rider-dot{width:27px;height:27px;background:#e16b3f;border:5px solid #f7f4ec;border-radius:50%;box-shadow:0 0 0 1px #193d431a}.rider-button small{display:block;font-size:7px;letter-spacing:1px;font-weight:700}.rider-button strong{font:600 23px var(--display);display:block;line-height:1.2}.rider-button b{font-size:16px;font-weight:400;margin-left:5px}.home-hint{margin-top:18px}.trail-badge{background:#f0f4f0ab;bottom:110px;right:6%}.topbar{height:96px}.hud{top:91px;display:block;width:min(480px,86%);padding:17px 24px;background:#f5f8f1de;border-radius:9px;box-shadow:0 7px 35px #173c4120}.hud-top{display:flex;justify-content:space-between}.hud-top>div>span{font-size:8px;font-weight:700;letter-spacing:1.3px;display:block}.hud-top strong{font:600 33px var(--display);display:block;margin-top:3px;line-height:1.1}.hud-top strong small{font:10px var(--body);color:var(--muted)}.hud-score{text-align:right}.hud-bottom{display:flex;justify-content:space-between;font-size:8px;font-weight:700;letter-spacing:1px;color:var(--muted);margin-top:8px}.route-track{height:4px;background:#173c4120;border-radius:5px;margin-top:13px;position:relative}.route-track>div{height:100%;width:0;background:#3f7d78;border-radius:5px}.route-track>span{position:absolute;right:-1px;top:-8px;font-size:17px}.boost-hud{background:#edf4eecc;padding:13px 16px 14px;border:1px solid #fff9;border-radius:8px;backdrop-filter:blur(7px);bottom:27px}.boost-label{font-size:8px}.play-hint{bottom:113px;text-align:center}.play-hint small{display:block;font-size:8px;letter-spacing:.4px;margin-top:5px;color:var(--muted)}.toast{top:33%;color:#193d43;background:#edf4eddd;padding:10px 20px;border-radius:9px;font-size:31px;text-shadow:none}.combo{background:#eff4efb0;backdrop-filter:blur(5px);border-radius:10px;padding:10px}.combo strong{font-size:55px}.picker{position:absolute;left:8%;top:25px;z-index:4;max-height:calc(100dvh - 165px);overflow:auto;touch-action:pan-y;scrollbar-width:thin;padding-right:10px;padding-bottom:20px}.back-button{background:none;padding:0 0 30px;font-size:10px;color:var(--muted);letter-spacing:.5px}.picker h2{font:italic 800 53px/.97 var(--display);margin:18px 0 12px;letter-spacing:-.7px}.picker-intro{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 20px}.level-cards{display:flex;flex-direction:column;gap:10px;width:390px}.level-card{width:100%;border:1px solid #9eb5b77a;background:#f5f7f0de;border-radius:8px;padding:17px;text-align:left;display:flex;align-items:center;gap:18px;transition:background .2s}.level-card.selected{border-color:#4c7e72;box-shadow:0 0 0 1px #4c7e72}.level-card:disabled{cursor:default;opacity:.62}.level-card .level-num{font:600 39px var(--display);color:#6c8b90}.level-card .level-detail{flex:1}.level-card strong{display:block;font:600 25px var(--display)}.level-card small{display:block;font-size:8px;line-height:1.7;letter-spacing:.6px;color:var(--muted);margin-top:3px}.level-card .level-mark{font-size:15px;color:#7e8c63}.picker-foot{font-size:9px;line-height:1.8;color:var(--muted);max-width:360px;margin-top:15px}.rider-cards{display:flex;flex-direction:column;gap:10px;width:340px;margin:22px 0}.rider-card{display:flex;align-items:center;text-align:left;padding:13px 16px;gap:17px;background:#f1f5f0df;border:1px solid #9eb5b779;border-radius:8px}.rider-card.selected{border-color:#4c7e72;box-shadow:0 0 0 1px #4c7e72}.rider-card .rider-color{width:44px;height:50px;border-radius:22px 22px 12px 12px;position:relative;border:5px solid #e5e7e080}.rider-color:before{content:'';position:absolute;left:9px;top:3px;width:16px;height:15px;border-radius:10px;background:#243c49;box-shadow:0 8px 0 -5px #faf3d9}.rider-card strong{font:600 25px var(--display);display:block}.rider-card small{display:block;font-size:7px;letter-spacing:1px;color:var(--muted);margin-top:2px}.rider-card b{margin-left:auto;font-size:17px;font-weight:400}.rider-picker .primary{width:340px}.medals{font-size:30px;letter-spacing:8px;color:#ad8a38;margin:15px 0}.medals .empty{opacity:.2}.result-distance>span{font-size:70px}.result-distance{margin:13px 0 20px}.dialog .primary+.primary{margin-top:10px;background:#e0e8df;box-shadow:none;min-height:44px;height:44px;font-size:10px}.secondary{display:block;width:100%;background:#e2e9e2;padding:14px;border-radius:5px;margin-top:12px;font-size:11px}.text-button{min-height:38px}.dialog p{margin-bottom:0}.result-grid strong{font-size:26px}.dialog .eyebrow{line-height:1.6}.help-dialog{max-height:calc(100dvh - 40px);overflow:auto}.trail-badge small{max-width:200px}.header-actions .icon-button{background:#edf4f0be}body[data-mode='loading'] .topbar{visibility:hidden}body[data-mode='playing'] .home-veil,body[data-mode='paused'] .home-veil{display:none}body[data-mode='playing'] #helpButton{display:none}body[data-mode='playing'] .brand,body[data-mode='paused'] .brand{filter:drop-shadow(0 1px 4px #fff9)}body[data-mode='playing'] .edition{display:none}body[data-mode='playing'] .topbar{height:80px}
@media(max-height:820px) and (min-width:701px){.home{top:8px}h1{font-size:95px;margin:19px 0}.intro{font-size:12px;margin-bottom:17px}.expedition-card{padding:11px 0;margin-bottom:16px}.topbar{height:83px}.picker{top:10px}.picker h2{font-size:46px}.back-button{padding-bottom:24px}.level-card{padding:12px}.rider-cards{margin:17px 0}.trail-badge{bottom:95px}.home-hint{margin-top:14px}}
@media(max-width:700px){.topbar{height:73px;padding:0 5%}.brand{font-size:20px;gap:6px}.brand svg{width:27px}.header-actions{gap:5px}.icon-button{width:33px;height:33px}.quality-button{padding:0 8px;font-size:7px}.home{left:7%;top:16px}.home-veil{background:linear-gradient(100deg,rgba(227,237,239,.95),rgba(227,237,239,.70) 38%,rgba(227,237,239,.15) 82%)}h1{font-size:clamp(74px,19vw,103px);margin:20px 0 17px}.intro{font-size:10px;margin-bottom:17px}.eyebrow{font-size:7px}.expedition-card{width:295px;padding:12px 0;margin-bottom:17px}.expedition-card strong{font-size:23px}.expedition-card span{font-size:7px}.expedition-card small{font-size:8px}.primary{min-width:174px;height:51px;font-size:9px;padding:0 17px}.start-row{gap:15px}.rider-button{gap:7px}.rider-dot{width:23px;height:23px;border-width:4px}.rider-button strong{font-size:21px}.rider-button small{font-size:6px}.home-hint{font-size:8px;margin-top:16px}.trail-badge{bottom:78px;right:7%;max-width:270px}.trail-badge small{display:none}.trail-badge strong{font-size:18px}.trail-badge .trail-number{font-size:29px}.hud{top:80px;padding:14px 19px}.hud-top strong{font-size:30px}.hud-top>div>span{font-size:7px}.hud-top strong small{font-size:9px}.boost-hud{width:86%;bottom:max(22px,env(safe-area-inset-bottom));padding:11px 13px}.boost-label{font-size:7px}.play-hint{bottom:106px}.combo{right:5%;top:40%;padding:7px}.combo strong{font-size:42px}.toast{top:31%;font-size:25px}.picker{left:7%;right:7%;top:15px;max-height:calc(100dvh - 140px);padding-right:0}.picker h2{font-size:43px}.picker-intro{font-size:10px}.level-cards,.rider-cards,.rider-picker .primary{width:100%;max-width:360px}.level-card{padding:13px;gap:15px}.level-card strong{font-size:23px}.level-card .level-num{font-size:33px}.level-card small{font-size:7px}.rider-cards{max-width:305px}.rider-picker .primary{max-width:305px}.rider-card{padding:11px 14px}.rider-card strong{font-size:24px}.rider-card .rider-color{height:43px}.back-button{padding-bottom:24px}.dialog{padding:24px}.result-distance>span{font-size:62px}.dialog h2{font-size:43px}.dialog .eyebrow{font-size:7px}.result-grid strong{font-size:24px}.result-grid span{font-size:7px}.medals{font-size:25px;margin:10px 0}body[data-mode='playing'] .topbar{height:65px}}
@media(max-height:710px) and (max-width:700px){.topbar{height:60px}.home{top:9px}h1{font-size:67px;margin:16px 0 13px}.intro{margin-bottom:11px;font-size:9px}.expedition-card{padding:9px 0;margin-bottom:13px}.expedition-card strong{font-size:21px}.primary{height:46px}.home-hint{margin-top:12px}.trail-badge{bottom:64px;padding:8px 12px}.trail-badge strong{font-size:16px}.picker{top:5px}.picker h2{font-size:37px}.back-button{padding-bottom:18px}.rider-card{padding:8px 12px}.level-card{padding:10px}.result-distance>span{font-size:50px}.dialog{padding:20px}.dialog .primary{margin-top:16px}.result-distance{margin:10px 0 15px}.hud{top:72px}.hud-top strong{font-size:25px}.hud{padding:11px 17px}}
@media(max-height:480px) and (min-width:701px){.home{top:5px}h1{font-size:65px}.intro,.home-hint,.trail-badge{display:none}.expedition-card{padding:6px 0}.primary{height:44px}.topbar{height:62px}footer{height:40px}.picker{max-height:calc(100dvh - 110px)}.dialog{padding:18px;max-height:calc(100dvh - 20px);overflow:auto}.result-distance>span{font-size:42px}.hud{top:65px;width:350px;padding:10px 17px}.hud-top strong{font-size:23px}.boost-hud{bottom:15px;width:320px}.toast{top:44%}}
/* Adventure update */
.wallet{display:flex;gap:11px;align-items:center;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.wallet>span{border:1px solid #ffffff99;background:#f3f6efdd;box-shadow:0 3px 15px #153e4210;padding:9px 13px;border-radius:25px;display:flex;gap:8px;align-items:center}.coin-wallet{color:#b58b2e}.gem-wallet{color:#488da8}.wallet b{color:var(--ink)}.level-picker{max-width:450px}.level-cards{width:415px}.level-card .level-mark{font-size:12px;letter-spacing:0;white-space:nowrap}.level-card small{max-width:265px}.rider-cards{display:grid;grid-template-columns:1fr 1fr;width:370px;gap:8px;margin:20px 0 15px}.rider-card{gap:10px;padding:11px;min-height:89px;position:relative}.rider-card strong{font-size:22px}.rider-card small{font-size:6px;letter-spacing:.6px;line-height:1.7}.rider-card .rider-color{flex-shrink:0;width:34px;height:40px;border-width:3px}.rider-color:before{left:6px;top:2px;width:15px;height:14px}.rider-card b{position:absolute;right:8px;top:7px;font-size:11px}.rider-card .price{font-size:8px;letter-spacing:0;display:block;margin-top:5px;color:#597379}.rider-card.locked{background:#e6eceddf}.rider-card.previewing{border-color:#497e79;box-shadow:0 0 0 1px #497e79}.shop-detail{width:370px;background:#f2f5efc9;padding:13px 16px;border-radius:7px;border:1px solid #ffffff80;margin:0 0 12px}.shop-detail>strong{font:600 24px var(--display)}.shop-detail p{font-size:10px;line-height:1.65;color:var(--muted);margin:5px 0}.shop-detail>span{font-size:9px;font-weight:700;color:#376b5e}.shop-message{font-size:10px;color:#98643c;line-height:1.5;margin:8px 0 0;max-width:370px;min-height:1px}.rider-picker .primary{width:370px}.primary:disabled{opacity:.6;cursor:default;filter:none;transform:none}.rider-picker h2{font-size:45px}.rider-picker .picker-intro{margin-bottom:12px}.power-hud{position:fixed;left:50%;transform:translateX(-50%);bottom:101px;display:flex;gap:7px;justify-content:center;flex-wrap:wrap;width:90%;pointer-events:none}.power-chip{padding:7px 10px;border-radius:20px;border:1px solid #fff8;background:#e9f3e9d9;color:#214f54;font-size:8px;font-weight:700;letter-spacing:.4px;backdrop-filter:blur(5px)}.power-chip.air{background:#cdebf1dd}.spin-button{position:fixed;right:7%;bottom:155px;width:65px;height:65px;border-radius:50%;background:#d2f3a4e8;border:2px solid #fff9;box-shadow:0 6px 20px #17414c30;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:28px;line-height:.8}.spin-button>span{font:700 9px var(--body);margin-top:6px}.spin-button small{display:block;font-size:5px;letter-spacing:.4px;margin-top:4px}.run-rewards{display:flex;gap:10px;justify-content:center;margin:17px 0 0}.run-rewards span{font-size:11px;padding:8px 12px;background:#e3eadb;border-radius:6px;font-weight:700;color:#827039}.run-rewards span+span{background:#ddebf0;color:#477b94}.play-hint{bottom:145px}.picker .back-button{padding-bottom:20px}body[data-mode='playing'] .wallet{position:absolute;left:50%;transform:translateX(-50%);gap:7px}body[data-mode='playing'] .wallet>span{padding:7px 10px;font-size:9px}body[data-mode='playing'] .brand{font-size:20px}body[data-mode='playing'] .brand svg{width:27px}.section-chip{position:fixed;top:210px;left:50%;transform:translateX(-50%)}
@media(min-width:1000px){.rider-picker{top:5px}.rider-picker h2{margin:14px 0 10px}.rider-cards{margin-top:15px}.rider-card{min-height:77px}.rider-picker .picker-foot{font-size:8px;line-height:1.6}.rider-picker .back-button{padding-bottom:18px}.rider-picker .primary{height:50px}}
@media(max-width:700px){.topbar{flex-wrap:wrap;height:94px;align-content:center;row-gap:9px}.topbar .brand{order:1}.topbar .header-actions{order:2}.topbar .wallet{order:3;width:100%;justify-content:flex-start;gap:7px}.wallet>span{padding:5px 10px;font-size:9px}.home{top:18px}.home h1{font-size:clamp(65px,18vw,94px)}.home .eyebrow{font-size:6px}.home .intro{font-size:9px}.rider-cards{width:100%;max-width:355px;grid-template-columns:1fr 1fr;gap:7px;margin:15px 0}.rider-card{padding:10px;min-height:78px;gap:8px}.rider-card .rider-color{width:29px;height:37px}.rider-color:before{left:4px;top:2px}.rider-card strong{font-size:21px}.rider-card small{font-size:6px;letter-spacing:.3px}.rider-card .price{font-size:7px}.rider-picker h2{font-size:34px;line-height:1.05}.rider-picker h2 br{display:none}.shop-detail,.rider-picker .primary{width:100%;max-width:355px}.shop-detail{padding:10px 12px}.shop-detail>strong{font-size:22px}.shop-detail p{font-size:9px}.level-cards{width:100%;max-width:400px}.level-card .level-num{font-size:29px}.level-card strong{font-size:21px}.level-card .level-mark{font-size:10px}.picker{max-height:calc(100dvh - 160px)}.picker-foot{font-size:8px;max-width:350px}.power-hud{bottom:93px;gap:5px}.power-chip{font-size:7px;padding:6px 8px}.spin-button{right:6%;bottom:155px;width:57px;height:57px}.play-hint{bottom:139px}.toast{font-size:23px}.run-rewards{margin-top:12px}.run-rewards span{font-size:9px;padding:7px 10px}body[data-mode='playing'] .topbar{height:66px;flex-wrap:nowrap;row-gap:0}body[data-mode='playing'] .topbar .wallet{width:auto;top:207px}body[data-mode='playing'] .topbar .wallet>span{font-size:9px;padding:6px 10px}body[data-mode='playing'] .brand{font-size:19px}.hud{top:79px}body[data-mode='paused'] .wallet{display:none}}
@media(max-height:730px) and (max-width:700px){.home{top:8px}.home h1{font-size:61px;margin:15px 0 12px}.home .intro{margin:7px 0 11px}.home-hint{font-size:7px}.trail-badge{display:none}.topbar{height:84px}.expedition-card{margin-bottom:11px;padding:8px 0}.picker{top:8px;max-height:calc(100dvh - 145px)}.dialog h2{font-size:36px}.result-distance>span{font-size:45px}.result-grid{padding:12px 0}.run-rewards{margin-top:10px}body[data-mode='playing'] .topbar .wallet{top:193px}}
/* Mobile launch edition — touch targets and safe-area layout. */
:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}
html,body{height:100%;height:100dvh;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-text-size-adjust:100%}
button{touch-action:manipulation;min-height:44px}.icon-button{width:44px;height:44px;flex-shrink:0}.topbar{padding-top:var(--safe-top);height:calc(96px + var(--safe-top));pointer-events:none}.topbar a,.topbar button{pointer-events:auto}.hud,.boost-hud,.ride-dial,.combo,.power-hud,.play-hint{pointer-events:none}
.launch-hud{position:fixed;inset:0;pointer-events:none;z-index:2}.launch-heading{position:absolute;top:calc(112px + var(--safe-top));left:16px;right:16px;text-align:center}.launch-heading .eyebrow{justify-content:center;font-size:9px;letter-spacing:2px}.launch-heading h2{font:italic 800 clamp(29px,3.5vw,45px)/1 var(--display);margin:11px 0 8px;letter-spacing:-.5px;text-shadow:0 2px 15px #f4fafacc}.launch-heading p{margin:0;font-size:11px;letter-spacing:.5px}.launch-controls{position:absolute;bottom:calc(24px + var(--safe-bottom));left:50%;transform:translateX(-50%);width:min(410px,calc(100% - 40px));background:#edf5efed;border:1px solid #fff9;border-radius:16px;padding:17px 20px 9px;box-shadow:0 8px 40px #193d4318}.launch-meter-label{display:flex;justify-content:space-between;align-items:baseline;font-size:9px;font-weight:800;letter-spacing:1.2px}.launch-meter-label strong{font:700 28px var(--display);letter-spacing:0;font-variant-numeric:tabular-nums}.launch-meter{height:10px;border-radius:12px;background:#193d4321;overflow:hidden;position:relative;margin-top:6px}.launch-meter>div{width:0;height:100%;border-radius:12px;background:linear-gradient(90deg,#4f9894,#b2da62);transition:width 40ms linear}.launch-meter i{position:absolute;width:2px;top:0;bottom:0;left:25%;background:#eef5ef80}.launch-meter i:nth-of-type(2){left:50%}.launch-meter i:nth-of-type(3){left:75%}.launch-controls p{text-align:center;font-size:11px;color:var(--muted);margin:10px 0 3px}.launch-actions{display:flex;justify-content:space-between;gap:8px}.launch-actions button{pointer-events:auto;background:transparent;font-size:10px;font-weight:600;padding:0 6px}.launch-actions #quickLaunch{color:#2e7166}.pull-guide{position:absolute;left:50%;top:45%;height:62px;width:30px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;opacity:.8;animation:pull-hint 1.9s ease-in-out infinite;filter:drop-shadow(0 1px 3px #fff)}.pull-guide span{width:18px;height:18px;border:3px solid #356b70;border-radius:50%}.pull-guide b{font-size:28px;line-height:1}.launch-hud[data-pulled='yes'] .pull-guide{opacity:0;animation:none}.launch-hud[data-pulled='yes'] .launch-heading h2{color:#277966}
@keyframes pull-hint{0%,100%{transform:translate(-50%,-8px);opacity:.4}60%{transform:translate(-50%,13px);opacity:.9}}
.thumb-pad{position:fixed;width:86px;height:86px;margin:-43px 0 0 -43px;border:2px solid #f5ffff5e;background:#f1ffff0a;border-radius:50%;pointer-events:none;z-index:3;box-shadow:0 0 0 1px #477b8722}.thumb-pad>div{width:24px;height:24px;border:1px solid #eaffffc9;background:#cbecef75;border-radius:50%;position:absolute;top:29px;left:29px}
.ride-dial{position:fixed;width:88px;height:88px;left:max(28px,var(--safe-left));bottom:calc(35px + var(--safe-bottom));display:grid;align-content:center;justify-items:center;color:#173e48;filter:drop-shadow(0 2px 5px #e9f3f299)}.ride-dial svg{position:absolute;inset:0;transform:rotate(135deg);width:100%;height:100%;fill:#edf4efb8}.ride-dial circle{stroke:#386b7826;stroke-width:5}.ride-dial #speedArc{fill:none;stroke:#438d89;stroke-linecap:round;stroke-width:5;transition:stroke-dashoffset 100ms linear}.ride-dial strong{font:700 28px/1 var(--display);z-index:1;font-variant-numeric:tabular-nums}.ride-dial small{font-size:7px;font-weight:700;letter-spacing:1px;z-index:1;margin-top:4px}.spin-button{width:72px;height:72px;bottom:calc(37px + var(--safe-bottom));right:max(28px,var(--safe-right));font-size:29px}.spin-button>span{font-size:10px}.spin-button small{font-size:6px}.back-button,.text-button{min-height:44px}.pause-settings{display:flex;gap:10px;margin-top:12px}.pause-settings button{flex:1;background:#e1eae4;border:1px solid #c7d7ce;border-radius:7px;font-size:10px;font-weight:600}.dialog{max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 32px);overflow-y:auto;touch-action:pan-y}.overlay{padding:calc(16px + var(--safe-top)) max(16px,var(--safe-right)) calc(16px + var(--safe-bottom)) max(16px,var(--safe-left))}
body[data-mode='aiming'] #pauseButton{display:grid}body[data-mode='aiming'] #helpButton{display:none}body[data-mode='aiming'] .topbar{height:calc(80px + var(--safe-top))}
@media (pointer:coarse){.desktop-only{display:none}.touch-only{display:inline}.icon-button{width:46px;height:46px}.quality-button{min-height:46px}.level-card{min-height:80px}}
@media(max-width:700px){
 .topbar{height:calc(105px + var(--safe-top));padding:calc(10px + var(--safe-top)) max(16px,var(--safe-right)) 8px max(16px,var(--safe-left));gap:5px;align-content:flex-start;align-items:center}.topbar .brand{font-size:21px;gap:5px}.topbar .brand svg{width:26px}.header-actions{gap:5px}.quality-button{padding:0 9px;font-size:8px}.icon-button{width:44px;height:44px}.wallet>span{padding:6px 11px;font-size:10px;min-height:28px}.topbar .wallet{gap:7px}
 .home{position:fixed;top:calc(115px + var(--safe-top));left:24px;right:24px;bottom:calc(58px + var(--safe-bottom));overflow-y:auto;touch-action:pan-y;padding-bottom:15px}.home h1{font-size:clamp(65px,19vw,89px);margin:20px 0 18px}.home .eyebrow{font-size:7px;letter-spacing:1px}.home .intro{font-size:11px;line-height:1.65;margin:0 0 20px}.expedition-card{width:100%;max-width:355px;padding:13px 0;margin-bottom:17px}.expedition-card button{width:46px;height:46px}.expedition-card strong{font-size:25px}.expedition-card span{font-size:8px}.expedition-card small{font-size:9px}.start-row{gap:15px;max-width:355px}.start-row .primary{flex:1;min-width:0;min-height:55px;font-size:10px;padding:0 15px;gap:10px}.rider-button{min-height:55px}.rider-button small{font-size:7px}.rider-button strong{font-size:23px}.home-hint{font-size:9px;flex-wrap:wrap}.home-hint .hint-divider{display:none}.trail-badge{display:none}
 footer{bottom:var(--safe-bottom);height:49px;left:24px;right:24px;font-size:8px}footer button{font-size:10px;min-height:44px}
 .picker{position:fixed;top:calc(115px + var(--safe-top));left:20px;right:20px;bottom:calc(57px + var(--safe-bottom));max-height:none;touch-action:pan-y;padding-bottom:16px}.picker .back-button{padding:0 8px 0 0;margin-bottom:13px;font-size:11px}.picker h2{font-size:39px}.picker-intro{font-size:11px}.level-cards,.rider-cards,.rider-picker .primary,.shop-detail{max-width:100%}.level-card{padding:14px 12px;gap:12px}.level-card small{font-size:8px;letter-spacing:.1px}.level-card .level-num{font-size:30px}.rider-card{min-height:84px}.rider-card small{font-size:7px}.rider-card .price{font-size:8px}.shop-detail p{font-size:11px}.picker-foot{font-size:10px}.rider-picker .primary{height:54px;font-size:11px}
 body:is([data-mode='playing'],[data-mode='aiming'],[data-mode='paused'],[data-mode='finishing'],[data-mode='crashed']) .topbar{height:calc(64px + var(--safe-top));flex-wrap:nowrap;align-content:center;align-items:center}
 body:is([data-mode='playing'],[data-mode='aiming'],[data-mode='paused'],[data-mode='finishing'],[data-mode='crashed']) .brand{display:none}
 body:is([data-mode='playing'],[data-mode='aiming'],[data-mode='paused'],[data-mode='finishing'],[data-mode='crashed']) .topbar .wallet{display:flex;order:1;position:static;transform:none;top:auto;left:auto;width:auto;gap:6px}
 body:is([data-mode='playing'],[data-mode='aiming'],[data-mode='paused'],[data-mode='finishing'],[data-mode='crashed']) .topbar .wallet>span{padding:8px 12px;font-size:11px;background:#f1f6efea}
 body:is([data-mode='playing'],[data-mode='aiming']) #quality,body:is([data-mode='playing'],[data-mode='aiming']) #sound{display:none}
 .hud{top:calc(72px + var(--safe-top));left:16px;right:16px;transform:none;width:auto;padding:11px 14px 9px;background:#f2f7f0d9;backdrop-filter:none;border-radius:11px}.hud-top strong{font-size:28px;margin-top:3px}.hud-top>div>span{font-size:7px;letter-spacing:.75px}.hud-top strong small{font-size:9px}.hud-score strong{font-size:25px}.route-track{margin-top:10px;height:3px}.hud-bottom{font-size:7px;letter-spacing:.8px;margin-top:7px}#speed{display:none}.hud-bottom #time{margin-left:auto}
 .launch-heading{top:calc(98px + var(--safe-top))}.launch-heading h2{font-size:32px}.launch-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.launch-heading p{font-size:11px}.launch-controls{bottom:calc(14px + var(--safe-bottom));width:calc(100% - 32px);padding:12px 16px 5px;border-radius:14px}.launch-controls p{font-size:11px;margin-top:8px}.launch-actions button{font-size:11px;min-height:44px}.pull-guide{top:43%}
 .boost-hud{bottom:calc(12px + var(--safe-bottom));width:calc(100% - 32px);left:16px;transform:none;padding:10px 12px;background:#edf4eef2;backdrop-filter:none;border-radius:10px}.boost-label{font-size:7px;letter-spacing:.4px;margin-bottom:6px}.boost-track{height:6px}.ride-dial{bottom:calc(76px + var(--safe-bottom));left:max(17px,var(--safe-left));width:74px;height:74px}.ride-dial strong{font-size:26px}.spin-button{right:max(18px,var(--safe-right));bottom:calc(78px + var(--safe-bottom));width:68px;height:68px}.spin-button small{display:none}
 .power-hud{bottom:calc(74px + var(--safe-bottom));width:calc(100% - 180px);gap:5px}.power-chip{font-size:8px;padding:7px 8px;backdrop-filter:none}.play-hint{bottom:calc(174px + var(--safe-bottom));font-size:9px;padding:11px 17px}.play-hint small{font-size:9px}.toast{top:calc(188px + var(--safe-top));font-size:24px;max-width:calc(100% - 32px);padding:10px 15px;white-space:normal;width:max-content}.toast small{font-size:8px;letter-spacing:1px}.combo{top:calc(265px + var(--safe-top));right:16px;padding:5px 8px}.combo strong{font-size:32px}.combo span{font-size:6px}
 .dialog{padding:25px 22px}.dialog p{font-size:12px}.dialog .primary{height:54px;font-size:11px}.dialog .primary+.primary{height:48px}.help-step p{font-size:12px}.help-step strong{font-size:14px}.text-button{font-size:12px;padding:12px 6px}.result-grid span{font-size:8px}.run-rewards span{font-size:10px}
}
@media(max-width:370px){.topbar{padding-inline:12px}.brand{font-size:18px!important}.brand svg{width:23px!important}.header-actions{gap:3px}.quality-button{padding:0 7px}.home{left:20px;right:20px}.home h1{font-size:64px}.start-row{gap:12px}.rider-button{gap:5px}.rider-button b{margin:0}.rider-dot{display:none}.home-hint{font-size:8px}.launch-heading h2{font-size:29px}.launch-actions button{font-size:10px}.level-card .level-num{font-size:25px}.level-card{gap:9px}.level-card strong{font-size:20px}.rider-card{padding:8px;gap:6px}}
@media(max-height:720px) and (max-width:700px){.home{top:calc(109px + var(--safe-top))}.home h1{font-size:60px;margin:13px 0}.home .intro{font-size:10px;margin-bottom:12px}.expedition-card{padding:9px 0;margin-bottom:12px}.home-hint{margin-top:13px}.launch-heading{top:calc(84px + var(--safe-top))}.launch-heading h2{font-size:28px;margin:8px 0}.launch-controls{padding-top:8px}.launch-meter-label strong{font-size:24px}.launch-controls p{margin:6px 0 0}.pull-guide{top:40%}.dialog{padding:18px 20px}.dialog h2{font-size:35px}.dialog .primary{margin-top:14px}.help-step{margin-top:14px}}
@media(max-height:500px) and (min-width:701px){.topbar{height:calc(65px + var(--safe-top));padding-inline:max(18px,var(--safe-left))}.home{top:5px;bottom:55px;overflow:auto;touch-action:pan-y}.launch-heading{top:calc(75px + var(--safe-top));left:22px;right:auto;text-align:left}.launch-heading .eyebrow{justify-content:flex-start;font-size:7px}.launch-heading h2{font-size:27px}.launch-heading p{font-size:9px}.launch-controls{width:295px;left:20px;transform:none;bottom:calc(16px + var(--safe-bottom));padding:9px 13px 4px}.launch-meter-label strong{font-size:22px}.launch-controls p{font-size:9px}.launch-actions button{font-size:9px}.pull-guide{left:66%;top:43%}.ride-dial{width:65px;height:65px;bottom:18px}.spin-button{bottom:18px;width:62px;height:62px}.boost-hud{width:300px;padding:8px 12px;bottom:14px}.power-hud{bottom:78px;width:50%}.play-hint{bottom:113px}.toast{top:43%;font-size:22px}.hud{top:65px;width:340px}.combo{top:48%;right:8%}.picker{top:8px;max-height:calc(100dvh - 110px - var(--safe-top))}}
@media(prefers-reduced-motion:reduce){.pull-guide{animation:none}.launch-meter>div,#speedArc{transition:none}}
