@font-face{font-family:Revenger;src:local('Avenir Next');font-weight:100 900;font-display:swap}
:root{--paper:#f6f5ef;--cream:#fffaf0;--ink:#24483e;--muted:#526955;--coral:#dc6743;--coral-light:#f5dfcf;--line:#dce2d8;--sage:#e8eee4;--shadow:0 20px 60px #24483e14}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Revenger,'Avenir Next',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default}button,a,canvas{outline-offset:5px}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--coral)}button{border:0}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app{max-width:1328px;margin:auto;padding:0 48px}.topbar{height:107px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:13px;font-size:12px;font-weight:800;line-height:1.4;letter-spacing:2.8px}.brand strong{font-size:19px;letter-spacing:-.4px;line-height:1;font-weight:900}.brand-dot{color:var(--coral)}.brand-icon{display:grid;place-items:center;width:50px;height:50px;background:var(--coral);color:var(--cream);border-radius:15px;transform:rotate(-7deg)}.brand-icon svg{width:34px;height:34px;stroke-width:1.4;transform:rotate(7deg)}.top-tag{font-size:12px;letter-spacing:1.65px;font-weight:700;display:flex;align-items:center;gap:9px;color:#667c6c}.top-tag>span{width:6px;height:6px;background:var(--coral);border-radius:100%}.top-actions{display:flex;align-items:center;gap:10px}.icon-button{background:transparent;display:grid;place-items:center;border-radius:50%;width:44px;height:44px;transition:background .15s,transform .15s}.icon-button:hover{background:#e8ede3}.garage-button{height:44px;border:1px solid #cbd5c9;border-radius:24px;background:transparent;display:flex;align-items:center;gap:10px;padding:0 15px;font-size:12px;font-weight:700;margin-left:8px}.garage-button:hover{background:var(--sage)}.garage-button svg{width:17px;height:17px}.scrap-counter{color:#607668;border-left:1px solid #cdd6c8;padding-left:10px;font-size:12px;min-width:17px}.intro{display:flex;align-items:flex-end;justify-content:space-between;margin:34px 0 25px}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:750;display:flex;align-items:center;gap:9px;color:#526955}.little-line{display:block;width:22px;height:1.5px;background:var(--coral)}h1{font-size:46px;letter-spacing:-2px;font-weight:600;margin:8px 0 0;line-height:1.15}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--coral);padding-right:6px}.intro>p{color:#526955;font-size:12px;line-height:1.8;margin:0 0 3px;text-align:right}
.game-shell{position:relative;width:100%;aspect-ratio:2.12;background:#dce8de;border:1px solid #ccd9ca;border-radius:24px;overflow:hidden;box-shadow:0 8px 24px #254a3d07;isolation:isolate}.game-shell canvas{width:100%;height:100%;display:block;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}.hud{position:absolute;top:27px;left:30px;right:28px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none;z-index:2}.hud-label{display:block;font-size:12px;font-weight:800;letter-spacing:1.6px;color:#3a5e4f}.score-block>span:nth-child(2){display:block;font-size:34px;font-weight:800;letter-spacing:-1.6px;line-height:1.2;font-variant-numeric:tabular-nums}.score-trailing{opacity:.27}.personal-best{font-size:12px;letter-spacing:1px;color:#456451}.personal-best b{margin-left:4px;font-weight:600}.route-hud{position:absolute;left:50%;transform:translateX(-50%);text-align:center}.delivery-dots{display:flex;gap:6px;margin:10px 0 6px;justify-content:center}.delivery-dots span{width:10px;height:10px;border-radius:50%;background:#254d4320;border:1px solid #254d431c}.delivery-dots span.delivered{background:var(--coral);border-color:var(--coral)}.route-hud>span:last-child{font-size:12px;font-weight:600;color:#3f5e4d}.life-hud{display:flex;gap:15px;align-items:center}.hearts{display:flex;gap:6px;padding-top:5px}.hearts svg{width:18px;height:18px;fill:var(--coral);stroke:var(--coral);stroke-width:1.6}.hearts svg.lost{fill:transparent;stroke:#55725b;opacity:.4}.hud-pause{pointer-events:auto;background:#fffaf07a;border:1px solid #fffaf0a0;width:36px;height:36px;margin-top:-7px}.hud-pause svg{width:16px;height:16px}.start-panel{position:absolute;top:27%;left:3.7%;background:#fffaf0f0;backdrop-filter:blur(12px);padding:25px 29px 20px;border:1px solid #fffaf0e8;border-radius:16px;box-shadow:0 10px 35px #34524010;z-index:3;width:333px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:6px 9px;background:#e6eddf;color:#4b6856;font-size:12px;font-weight:750;letter-spacing:1px}.pill svg{width:11px;height:11px;stroke-width:1.9}.start-panel h2{font-size:31px;line-height:1.1;letter-spacing:-1.25px;font-weight:800;margin:17px 0 12px}.start-panel p{font-size:12px;color:#526955;line-height:1.8;margin:0 0 18px}.primary-button,.secondary-button{min-height:46px;display:flex;justify-content:center;align-items:center;gap:15px;border-radius:9px;padding:12px 18px;font-size:12px;font-weight:750;transition:transform .15s,background .15s,box-shadow .15s}.primary-button{background:#b8492d;color:var(--cream);box-shadow:0 3px 0 #a4462d15}.primary-button:hover{background:#a33d24;transform:translateY(-1px);box-shadow:0 4px 12px #a4462d20}.primary-button:active{transform:translateY(1px)}.primary-button svg,.secondary-button svg{width:17px;height:17px}.start-panel .primary-button{width:100%;justify-content:space-between}.start-key{display:flex;justify-content:space-between;margin-top:12px;font-size:12px;letter-spacing:1px;color:#526955;font-weight:600}.start-key>span{letter-spacing:0;font-size:12px}kbd{display:inline-block;border:1px solid #b6c6b7;padding:1px 4px;border-radius:3px;font-size:12px;font-family:inherit;letter-spacing:.5px}.world-caption{position:absolute;bottom:18px;right:24px;display:flex;align-items:center;gap:7px;font-size:12px;letter-spacing:1.8px;font-weight:700;color:#526955;pointer-events:none}.caption-dot{width:5px;height:5px;background:var(--coral);border-radius:50%}.play-coach{position:absolute;bottom:21px;left:50%;transform:translateX(-50%);background:#fffaf0e8;box-shadow:0 4px 20px #264a3a09;backdrop-filter:blur(5px);border:1px solid #fffaf0;min-width:220px;padding:12px 19px 10px;border-radius:12px;text-align:center;pointer-events:none;z-index:2}.play-coach>span:first-child{font-size:12px;letter-spacing:1.1px;font-weight:800}.play-coach>span:last-child{display:block;font-size:12px;color:#526955;margin-top:6px}.charge-track{height:3px;background:#25483e1a;border-radius:3px;margin-top:7px;overflow:hidden}.charge-track span{display:block;height:100%;width:100%;background:var(--coral);border-radius:3px;transform:scaleX(0);transform-origin:left center;transition:transform .05s linear}.play-coach.landing{background:#25483e;color:var(--cream);border-color:#25483e}.play-coach.landing>span:last-child{color:#d7e3c9}.play-coach.landing .charge-track{background:#fffaf035}.play-coach.landing .charge-track span{background:#f6d8a8}.feedback{position:absolute;top:25%;left:50%;transform:translateX(-50%);pointer-events:none;text-align:center;z-index:3;white-space:nowrap}.feedback .feedback-title{display:block;font-size:26px;font-weight:900;letter-spacing:-1px;color:var(--cream);text-shadow:0 2px 0 #25483e,0 0 14px #25483e90;animation:feedback-pop .22s ease-out}.feedback .feedback-sub{display:inline-block;margin-top:5px;background:var(--cream);color:var(--coral);border-radius:14px;padding:4px 10px;font-size:12px;font-weight:800;letter-spacing:.5px}.feedback .wipe-title{color:#fff2df;text-shadow:0 2px 0 #ba583f,0 0 15px #ba583f60}.combo-badge{position:absolute;left:30px;top:114px;display:flex;align-items:center;gap:5px;background:#b8492d;color:var(--cream);padding:6px 9px;border-radius:7px;font-size:12px;letter-spacing:.6px;pointer-events:none}.combo-badge svg{width:12px;height:12px}.ghost-hud{position:absolute;left:30px;bottom:25px;display:flex;align-items:center;gap:6px;background:#fffaf0d9;padding:8px 11px;border-radius:20px;font-size:12px;letter-spacing:.8px;pointer-events:none}.ghost-hud b{font-size:12px;margin-left:3px}.ghost-dot{width:6px;height:6px;background:#6b99a3;border-radius:50%}.loading{position:absolute;inset:0;z-index:7;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:#e2ebe0;font-size:12px;color:#69826f}.loader-wheel{width:35px;height:35px;border-radius:50%;border:2px solid #bbcaba;border-top-color:var(--coral);animation:spin 1s linear infinite}.game-shell:is(.paused,.finished):after{content:'';position:absolute;inset:0;background:#24483e24;backdrop-filter:blur(4px);z-index:3;pointer-events:none}.pause-panel,.result-panel{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffaf0f8;border:1px solid var(--cream);border-radius:18px;box-shadow:var(--shadow)}.pause-panel{text-align:center;padding:34px;width:360px}.pause-panel .eyebrow{justify-content:center}.pause-panel h2{font-size:25px;letter-spacing:-1px;margin:15px 0 9px}.pause-panel p{font-size:12px;color:#526955;margin:0 0 24px}.pause-panel .primary-button{width:100%}.text-button{background:none;min-height:36px;padding:7px 0;color:#526955;font-size:12px;display:inline-flex;gap:6px;align-items:center;justify-content:center}.text-button:hover{color:var(--coral)}.text-button svg{width:14px;height:14px}.pause-panel .text-button{margin-top:8px}.result-panel{width:465px;padding:25px 29px 17px;text-align:center}.result-header{display:flex;align-items:center;justify-content:center;gap:9px}.new-best{font-size:12px;letter-spacing:.8px;color:var(--coral);font-weight:800}.result-panel h2{font-size:28px;font-weight:800;letter-spacing:-1px;margin:14px 0 7px}.result-panel>p{font-size:12px;color:#526955;margin:0 0 8px}.result-score{font-size:62px;font-weight:800;letter-spacing:-3px;line-height:1.15;font-variant-numeric:tabular-nums}.result-score-label{font-size:12px;letter-spacing:2px;font-weight:700;color:#6b8270}.result-stats{display:flex;margin:20px 0;justify-content:space-around;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.result-stats>div{flex:1;border-left:1px solid var(--line);padding:0 6px;display:flex;flex-direction:column;gap:4px}.result-stats>div:first-child{border:0}.result-stats b{font-size:19px;font-weight:750;letter-spacing:-.5px}.result-stats span{font-size:12px;color:#738471}.result-actions{display:flex;gap:9px}.result-actions>button{flex:1;gap:8px;font-size:12px;white-space:nowrap}.secondary-button{background:#e7eddf;border:1px solid #d3decd;color:var(--ink)}.secondary-button:hover{background:#dce6d3;transform:translateY(-1px)}.result-secondary{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.share-status{font-size:12px;color:#617c66;line-height:1.5;min-height:0}.share-status:not(:empty){margin-top:6px}.route-picker{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--line);padding:18px 0}.route-picker-label{font-size:12px;font-weight:750;letter-spacing:1.6px;color:#718772;white-space:nowrap}.route-options{display:flex;align-items:center;gap:7px}.route-option{display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:8px;background:transparent;color:#7e8c7e;font-size:12px;min-height:38px;white-space:nowrap}.route-option.selected{background:#e5ecdf;color:#335342}.route-option svg{width:12px;height:12px;margin-left:4px;stroke-width:2}.route-circle{font-size:12px;letter-spacing:.5px;border:1px solid #c5d0bf;border-radius:50%;width:20px;height:20px;display:grid;place-items:center}.route-option.selected .route-circle{background:#315744;color:var(--cream);border-color:#315744}.route-option:hover{background:#e9ede4}.route-hint{margin-left:auto;color:#849181;font-size:12px}.how-it-works{display:grid;grid-template-columns:1fr 1fr 1fr;padding:27px 0 31px;gap:28px}.how-step{display:flex;align-items:center;gap:16px}.step-art{display:grid;place-items:center;background:#edece1;width:55px;height:55px;flex:none;border-radius:15px;transform:rotate(-5deg);color:#a36b46}.step-art svg{width:35px;height:35px;stroke-width:1.7;transform:rotate(5deg)}.how-step:nth-child(2) .step-art{color:#55775f;background:#e5ebe0;transform:rotate(5deg)}.how-step:nth-child(2) svg{transform:rotate(-5deg)}.how-step:nth-child(3) .step-art{color:var(--coral);background:#f0e3d6}.step-number{font-size:12px;letter-spacing:1.2px;color:#8b9685;font-weight:700}.how-step h3{font-size:14px;letter-spacing:-.2px;font-weight:750;margin:5px 0}.how-step p{font-size:12px;color:#526955;margin:0;line-height:1.6}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;padding:20px 0 25px;font-size:12px;color:#8b9785}footer>span:last-child{display:flex;gap:13px}footer a:hover{color:var(--coral)}dialog{position:fixed;border:0;border-radius:21px;background:var(--cream);padding:35px;color:var(--ink);width:590px;max-width:calc(100% - 30px);max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 25px 100px #183d3c30}dialog::backdrop{background:#25483e65;backdrop-filter:blur(5px)}dialog .dialog-close{position:absolute;right:14px;top:14px}dialog h2{font-size:29px;letter-spacing:-1px;line-height:1.15;margin:17px 0 15px;padding-right:15px}dialog>p{font-size:12px;line-height:1.9;color:#526955}dialog .eyebrow{padding-right:40px;font-size:12px}dialog .primary-button{width:100%;margin-top:23px}dialog kbd{font-size:12px}.help-steps{padding-left:22px;font-size:12px;line-height:1.8;color:#6a806d}.help-steps li{padding:6px 0 6px 5px}.help-steps b{color:var(--ink)}.help-note{padding:12px 15px;background:#e9eee1;border-radius:10px;font-size:12px!important}.garage-top{display:flex;align-items:center;justify-content:space-between;padding:7px 0 17px;gap:15px}.bike-preview{position:relative;width:270px;height:180px;background:#e7eddf;border-radius:12px;overflow:hidden;flex:none}.bike-preview img{position:absolute;width:540px;height:360px;left:-27px;top:-1px;object-fit:contain}.scrap-bank{display:flex;align-items:center;flex-wrap:wrap;max-width:178px;gap:9px}.scrap-bank>svg{color:var(--coral);width:25px;height:25px}.scrap-bank b{font-size:35px;letter-spacing:-1.5px}.scrap-bank>span{width:100%;font-size:12px;letter-spacing:1.6px;color:#718a73;font-weight:700}.scrap-bank p{font-size:12px;color:#526955;line-height:1.8;margin:3px 0}.upgrades{border-top:1px solid var(--line)}.upgrade{display:flex;align-items:center;gap:12px;padding:19px 0;border-bottom:1px solid var(--line)}.upgrade-icon{width:34px;height:34px;border-radius:9px;background:#e9eee1;display:grid;place-items:center;font-size:25px;color:#526955;flex:none}.upgrade>div{flex:1}.upgrade h3{margin:0;font-size:12px;font-weight:700;display:flex;gap:8px;align-items:center}.upgrade h3 span{font-size:12px;color:#899880;font-weight:500}.upgrade p{margin:5px 0 0;font-size:12px;color:#526955}.upgrade-buy{background:#e6eddf;border:1px solid #d5dfcb;border-radius:8px;padding:9px 12px;min-width:88px;min-height:40px;font-size:12px;font-weight:700}.upgrade-buy:disabled{opacity:.5}.upgrade-buy:hover:not(:disabled){background:#b8492d;color:var(--cream)}.outfit-heading{display:flex;align-items:center;justify-content:space-between;margin:21px 0 12px}.outfit-heading h3{font-size:12px;font-weight:700;margin:0}.outfit-heading>span{font-size:12px;color:#94a089;letter-spacing:1px}.outfits{display:flex;gap:9px}.outfits>button{flex:1;display:flex;align-items:center;flex-direction:column;gap:7px;padding:12px 6px;background:#f3f3e9;border:1px solid #dce4d4;border-radius:10px;min-height:105px}.outfits>button.selected{border-color:var(--coral);background:#f9e9da}.outfit-emoji{font-size:26px;color:var(--coral);line-height:1}.outfits b{font-size:12px;font-weight:700}.outfit-cost{font-size:12px;color:#8b9781}.garage-status{font-size:12px;color:#788e72;margin-top:15px;min-height:13px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);background:#25483e;color:var(--cream);border:1px solid #42674f;box-shadow:var(--shadow);padding:13px 21px;border-radius:11px;font-size:12px;z-index:20;max-width:90vw;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes feedback-pop{from{transform:scale(.8);opacity:.3}to{transform:scale(1);opacity:1}}
@media(min-width:1450px){.app{max-width:1370px}.game-shell{aspect-ratio:2.16}.intro{margin-top:40px;margin-bottom:28px}.start-panel{top:26%;padding:28px 30px 24px;width:346px}.start-panel h2{font-size:33px}.how-it-works{padding-top:32px;padding-bottom:36px}}
@media(max-width:1050px){.app{padding:0 30px}.top-tag{display:none}.intro{margin-top:27px}.game-shell{aspect-ratio:1.9}.start-panel{top:25%;padding:22px;width:290px}.start-panel h2{font-size:28px}.route-picker{gap:11px}.route-options{gap:0}.route-hint{font-size:12px;max-width:150px;text-align:right;line-height:1.7}.route-option{padding:7px}.how-it-works{gap:15px}.how-step{gap:11px}.step-art{width:44px;height:44px;border-radius:12px}.step-art svg{width:30px;height:30px}.how-step h3{font-size:12px}.how-step p{font-size:12px}.step-number{font-size:12px;letter-spacing:.9px}}
@media(max-width:720px){.app{padding:0 20px}.topbar{height:82px;gap:10px}.brand{gap:10px;font-size:12px;letter-spacing:2px}.brand strong{font-size:16px}.brand-icon{width:41px;height:41px;border-radius:12px}.brand-icon svg{width:28px;height:28px}.top-actions{gap:2px}.garage-button{padding:0 10px;gap:7px;margin-left:3px}.garage-button>span:not(.scrap-counter){display:none}.intro{margin:23px 0 20px;align-items:center}.eyebrow{font-size:12px;letter-spacing:1.2px}.little-line{width:15px}h1{font-size:34px;letter-spacing:-1.4px}.intro>p{font-size:12px;max-width:170px}.game-shell{aspect-ratio:1.42;border-radius:19px}.start-panel{top:26%;left:4%;width:258px;padding:19px}.start-panel h2{font-size:25px;margin:13px 0 9px}.start-panel p{font-size:12px;margin-bottom:14px}.start-panel .primary-button{font-size:12px;min-height:42px;padding:10px 12px}.start-key{font-size:12px}.hud{top:20px;left:20px;right:18px}.score-block>span:nth-child(2){font-size:28px}.hud-label{font-size:12px}.personal-best{font-size:12px}.hearts{gap:4px}.hearts svg{width:15px;height:15px}.life-hud{gap:8px}.delivery-dots{gap:5px}.delivery-dots span{width:8px;height:8px}.world-caption{font-size:12px;right:17px;letter-spacing:1.2px}.route-picker{display:block;padding:15px 0}.route-picker-label{display:none}.route-options{justify-content:space-between}.route-option{font-size:12px;padding:6px 8px;gap:6px}.route-option svg{margin-left:0}.route-hint{display:block;max-width:none;text-align:left;margin-top:9px;font-size:12px}.how-it-works{padding:24px 0;gap:12px}.how-step{flex-direction:column;align-items:flex-start;gap:12px}.how-step h3{font-size:12px;line-height:1.45;min-height:16px}.how-step p{font-size:12px;line-height:1.7}.step-number{font-size:12px;letter-spacing:.6px;white-space:nowrap}.step-art{width:40px;height:40px}.step-art svg{width:27px;height:27px}footer{font-size:12px;padding:15px 0 20px;line-height:1.8}footer>span:first-child{max-width:165px}footer>span:last-child{flex-wrap:wrap;justify-content:flex-end;max-width:155px;gap:4px 10px}.combo-badge{left:20px;top:100px;font-size:12px}.ghost-hud{left:17px;bottom:17px;font-size:12px;padding:7px 9px}.feedback .feedback-title{font-size:22px}.result-panel{width:410px;max-width:92%;padding:20px 24px 14px}.result-panel h2{font-size:24px;margin:11px 0 5px}.result-score{font-size:48px}.result-stats{margin:16px 0;padding:11px 0}.result-stats b{font-size:17px}.result-actions>button{font-size:12px;padding:11px 12px;min-height:43px}.result-secondary{margin-top:5px}.new-best{font-size:12px}.pause-panel{width:330px;max-width:90%;padding:27px}}
@media(max-width:480px){.app{padding:0 15px}.topbar{height:76px}.brand{gap:8px;font-size:12px}.brand strong{font-size:14px}.brand-icon{width:35px;height:35px;border-radius:10px}.brand-icon svg{width:25px;height:25px}.top-actions>.icon-button{width:36px;height:40px}.top-actions>.icon-button svg{width:19px;height:19px}.garage-button{height:36px;padding:0 8px;gap:6px}.garage-button svg{width:15px;height:15px}.scrap-counter{padding-left:7px;font-size:12px}.intro{margin:19px 0 17px;display:block}.intro>p{display:none}h1{font-size:34px;margin-top:7px}.game-shell{aspect-ratio:.90;max-height:445px}.start-panel{top:25%;left:6%;width:88%;padding:20px 22px 17px;background:#fffaf0ed}.start-panel h2{font-size:28px}.start-panel p{font-size:12px;line-height:1.65;margin-bottom:15px}.start-panel .primary-button{min-height:44px;font-size:12px}.start-key{margin-top:10px}.start-key>span{font-size:12px}.hud{top:19px;left:18px;right:16px}.route-hud{left:54%;min-width:104px}.route-hud .hud-label{font-size:12px;letter-spacing:1.3px}.route-hud>span:last-child{font-size:12px}.score-block>span:nth-child(2){font-size:25px}.life-hud{align-items:flex-end;flex-direction:column;gap:10px}.hearts svg{width:12px;height:12px}.hearts{gap:3px}.hud-pause{width:32px;height:32px;margin-top:0}.delivery-dots{gap:4px}.delivery-dots span{width:7px;height:7px}.world-caption{font-size:12px;bottom:17px;right:18px;left:18px;justify-content:center}.route-options{gap:2px}.route-option{font-size:12px;gap:5px;padding:6px 4px;min-height:34px}.route-circle{width:18px;height:18px;font-size:12px}.route-option svg{width:10px;height:10px}.route-hint{font-size:12px;margin-top:7px}.how-it-works{gap:13px;padding:23px 2px}.step-number{font-size:12px;letter-spacing:.25px}.how-step h3{font-size:12px;letter-spacing:-.2px}.how-step p{font-size:12px}.how-step{gap:10px}.step-art{width:35px;height:35px}.step-art svg{width:24px;height:24px}.play-coach{bottom:19px;padding:10px 14px 9px;min-width:205px}.play-coach>span:first-child{font-size:12px}.play-coach>span:last-child{font-size:12px}.ghost-hud{bottom:86px;font-size:12px;left:16px;padding:6px 8px}.ghost-hud b{font-size:12px}.combo-badge{top:89px;left:18px}.feedback{top:26%;left:50%}.feedback .feedback-title{font-size:21px}.feedback .feedback-sub{font-size:12px}.result-panel{padding:23px 18px 16px}.result-panel h2{font-size:24px}.result-panel>p{font-size:12px;line-height:1.65;margin-top:9px}.result-header{flex-direction:column;gap:7px}.result-score{font-size:50px;margin-top:9px}.result-stats{margin:16px 0}.result-actions{flex-direction:column;gap:7px}.result-actions>button{min-height:42px;width:100%;font-size:12px}.result-secondary{margin-top:6px}.result-secondary .text-button{font-size:12px}.pause-panel h2{font-size:23px}.game-shell.finished{max-height:none;min-height:454px}.garage-top{gap:12px;align-items:flex-start}.bike-preview{width:177px;height:135px}.bike-preview img{width:380px;height:253px;left:-33px;top:2px}.scrap-bank{max-width:105px;gap:6px;padding-top:9px}.scrap-bank>svg{width:20px;height:20px}.scrap-bank b{font-size:28px}.scrap-bank>span{font-size:12px;letter-spacing:1px}.scrap-bank p{font-size:12px;line-height:1.8}dialog{padding:26px 22px;max-height:calc(100dvh - 30px);max-width:calc(100% - 24px)}dialog h2{font-size:26px;margin-top:17px}dialog .eyebrow{font-size:12px;letter-spacing:1px}dialog .dialog-close{right:8px;top:8px}.upgrade{gap:8px;padding:16px 0}.upgrade-icon{width:27px;height:27px;font-size:23px}.upgrade h3{font-size:12px;gap:5px}.upgrade h3 span{font-size:12px}.upgrade p{font-size:12px}.upgrade-buy{min-width:75px;padding:7px 9px;font-size:12px}.outfit-heading>span{font-size:12px;letter-spacing:.6px}.outfit-heading h3{font-size:12px}.outfits{gap:6px}.outfits b{font-size:12px}.outfit-cost{font-size:12px}.outfits>button{min-height:98px}.help-steps{font-size:12px;line-height:1.8}.help-note{font-size:12px!important}footer>span:first-child{max-width:140px}.share-status{font-size:12px}}
@media(max-height:480px) and (min-width:600px){.app{padding:0 25px}.topbar{height:63px}.intro{display:none}.game-shell{margin-top:12px;aspect-ratio:2.6;min-height:260px}.start-panel{top:31%;left:5%;width:280px;padding:16px 20px}.start-panel .pill,.start-panel p,.start-key{display:none}.start-panel h2{font-size:24px;margin:0 0 13px}.start-panel .primary-button{min-height:40px}.hud{top:17px}.result-panel{padding:15px 23px;width:440px}.result-panel h2{font-size:22px;margin-top:8px}.result-panel>p{font-size:12px;margin-bottom:0}.result-score{font-size:35px}.result-stats{margin:9px 0;padding:7px 0}.result-stats b{font-size:15px}.result-stats span{font-size:12px}.result-actions>button{min-height:36px;padding:7px 12px}.result-score-label{font-size:12px}.result-secondary .text-button{font-size:12px;min-height:28px}.result-header .pill{font-size:12px;padding:4px 8px}.new-best{font-size:12px}.route-picker{padding:10px 0}.how-it-works{display:none}footer{padding:12px 0}.play-coach{bottom:13px;padding:8px 13px 7px;min-width:200px}.play-coach>span:first-child{font-size:12px}.play-coach>span:last-child{font-size:12px;margin-top:4px}.ghost-hud{bottom:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.loader-wheel{border-top-color:var(--coral)}}
/* Keep the rider visible beside the invitation on a narrow phone. */
@media(max-width:480px){.start-panel{width:60%;left:6%;top:27%;padding:17px 16px 14px}.start-panel h2{font-size:21px;letter-spacing:-.8px;line-height:1.13;margin:12px 0 9px}.start-panel p{font-size:12px;line-height:1.7;margin-bottom:13px}.start-panel .primary-button{font-size:12px;gap:7px;padding:10px 11px;min-height:44px}.start-panel .primary-button svg{width:14px;height:14px}.start-panel .pill{font-size:12px;padding:5px 6px;letter-spacing:.6px;white-space:nowrap}.start-key{font-size:12px;letter-spacing:.5px;display:block;line-height:1.5}.start-key>span{display:none}.top-actions>.icon-button{width:42px;height:44px}.garage-button{height:44px}.hud-pause{width:44px;height:44px}.route-option{min-height:44px}}
@media(prefers-reduced-motion:reduce){.loader-wheel{animation:none}}
/* Campaign and crew share the same quiet paper-and-ink language as the ride. */
.crew-button{display:flex;align-items:center;gap:6px;background:transparent;height:44px;padding:0 9px;border-radius:20px;font-size:12px;font-weight:750}.crew-button svg{width:18px;height:18px}.crew-button:hover{background:var(--sage)}.top-actions{gap:4px}.garage-button{margin-left:0}.mission-strip{display:flex;align-items:center;gap:22px;margin:0 0 14px}.mission-strip>div{display:flex;align-items:center;gap:9px;flex:none}.mission-strip>div>span:first-child{font-size:12px;font-weight:800;letter-spacing:.7px}.mission-strip>div>span:last-child{font-size:12px;letter-spacing:.7px;color:#795334;background:#eee5d4;padding:5px 7px;border-radius:5px;white-space:nowrap}.mission-strip p{margin:0;color:#738370;font-size:12px;line-height:1.7;max-width:660px}.route-hud{min-width:180px}.route-hud #delivery-label{font-size:12px;display:block}.street-clock{display:block;font-size:12px!important;font-weight:800;letter-spacing:1px;margin-top:6px;font-variant-numeric:tabular-nums}.campaign-bar{display:flex;justify-content:space-between;align-items:center;padding:24px 0 10px;gap:20px}.campaign-bar>div{display:flex;align-items:center;gap:15px}.campaign-bar .eyebrow{font-size:12px}.campaign-bar strong{font-size:19px;font-weight:700;letter-spacing:-.5px}.campaign-bar>div>span:last-child{font-size:12px;color:#7d8d78}.campaign-bar .secondary-button{min-height:44px;padding:8px 13px;font-size:12px;gap:8px}.campaign-bar .secondary-button>span{border-left:1px solid #c3d1bd;padding-left:9px;font-size:12px}.route-picker{gap:12px;padding:9px 0 18px;align-items:flex-start}.route-options{gap:5px;flex:1;flex-wrap:wrap}.route-option{min-height:44px;font-size:12px;padding:8px 10px}.route-hint{max-width:205px;line-height:1.8;padding-top:7px}.result-actions{flex-wrap:wrap}.result-actions #next-button{flex-basis:100%}.result-actions #next-button:not([hidden])~.primary-button{background:#e7eddf;color:var(--ink);box-shadow:none;border:1px solid #d3decd}.wide-dialog{width:750px}.dialog-intro{max-width:590px}.crew-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.crew-card{text-align:left;background:#f1f1e5;border:1px solid #dce4d3;border-radius:14px;padding:14px;display:flex;flex-direction:column;transition:background .2s}.crew-card.selected{border-color:var(--coral);background:#faeadd}.crew-portrait{width:100%;height:160px;position:relative;display:flex;align-items:center;justify-content:center}.crew-portrait:before{content:'';position:absolute;width:112px;height:112px;background:var(--rider-color);opacity:.15;border-radius:50%}.crew-portrait img{position:relative;width:100%;height:170px;object-fit:contain}.crew-card-name{font-size:17px;font-weight:900;letter-spacing:.8px;display:flex;justify-content:space-between;align-items:center}.crew-card-name>span{font-size:12px;color:#a07552;letter-spacing:.6px}.crew-bike{font-size:12px;color:#7f8c74;margin:4px 0 12px}.crew-ability{font-size:12px;color:#bb613e}.crew-description{display:block;font-size:12px;line-height:1.8;color:#72826c;margin-top:5px}.map-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0;background:repeating-linear-gradient(0deg,transparent,transparent 41px,#cec3a32b 42px,transparent 43px);padding:7px}.map-node{display:flex;align-items:center;position:relative;gap:10px;background:#f0ecdc;border:1px dashed #c2c9b4;border-radius:12px;min-height:83px;text-align:left;padding:12px}.map-number{font-size:12px;color:#8b967d;position:absolute;left:12px;top:8px}.map-node>svg:not(.map-status){width:40px;height:38px;margin-top:9px;color:#829274}.map-name{font-size:12px;font-weight:750;flex:1}.map-name small{display:block;font-size:12px;letter-spacing:.8px;color:#859176;margin-top:5px;font-weight:650}.map-status{width:15px;height:15px;color:#8b967d}.map-node.open{border:1px solid #cf9775;background:#f9e7d2}.map-node.liberated{border:1px solid #93ac87;background:#e1ebd9}.map-node.liberated .map-status{color:#568755}.map-node.locked{opacity:.55}.map-node:not(:disabled):hover{background:#e7eada;transform:translateY(-1px)}.bike-preview img{position:static;width:100%;height:100%;object-fit:contain;padding:8px}.ending-dialog{width:900px;padding:0;overflow:hidden;background:#203d3e;border-color:#203d3e}.ending-dialog .dialog-close{color:#fff0d8;z-index:5;background:#25483e70}.cinematic-sky{height:250px;position:relative;overflow:hidden;background:linear-gradient(#264853,#d4916f 70%,#efbf87);animation:sky-reveal 6s ease-out}.cinematic-sun{position:absolute;left:65%;top:60px;width:135px;height:135px;border-radius:50%;background:#f4d2a0;box-shadow:0 0 70px #f4cc9245}.cinematic-cloud{position:absolute;left:10%;top:60px;width:240px;height:1px;background:#f4d4ac80;box-shadow:30px 25px 0 #f4d4ac40,450px -8px 0 #f4d4ac50;animation:cloud-drift 10s linear both}.cinematic-city{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:650px;display:flex;align-items:flex-end;gap:8px}.cinematic-city i{width:47px;height:100px;background:#234348;position:relative}.cinematic-city i:after{content:'';position:absolute;inset:12px 8px;background:repeating-linear-gradient(0deg,transparent,transparent 13px,#ecb67b60 14px,#ecb67b60 16px);opacity:.6}.cinematic-city i:nth-child(2n){height:160px;background:#274b4d}.cinematic-city i:nth-child(3n){height:125px}.cinematic-city i:nth-child(6){height:210px;width:63px}.cinematic-city i:nth-child(6):before{content:'';height:40px;width:3px;background:#284b4d;position:absolute;top:-40px;left:30px}.cinematic-crew{position:absolute;bottom:-17px;left:20px;right:0;display:flex;gap:10px;height:140px;align-items:flex-end;animation:crew-arrive 6s cubic-bezier(.2,.65,.3,1) both}.cinematic-crew img{width:110px;height:140px;object-fit:contain;filter:brightness(.24) sepia(.7);transform:rotate(-4deg)}.cinematic-copy{text-align:center;padding:27px 30px 30px;color:#fff4db}.cinematic-copy .eyebrow{justify-content:center;color:#b5c9b3;padding:0;font-size:12px}.cinematic-copy h2{font-size:43px;letter-spacing:-1.7px;margin:14px 0 7px;padding:0;color:#fff4db;animation:copy-arrive 4s both}.cinematic-copy h2 em{color:#e79763;font-family:Georgia,serif;font-weight:400}.cinematic-copy p{font-size:13px;letter-spacing:2px;color:#c4d1bb;animation:copy-arrive 5s both}.cinematic-copy .primary-button{width:auto;margin:22px auto 0;animation:copy-arrive 6s both}
@keyframes sky-reveal{from{filter:brightness(.3);transform:scale(1.03)}to{filter:brightness(1);transform:scale(1)}}@keyframes cloud-drift{to{transform:translateX(75px)}}@keyframes crew-arrive{from{transform:translateX(-340px)}to{transform:translateX(0)}}@keyframes copy-arrive{0%,45%{opacity:0;transform:translateY(12px)}100%{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){.mission-strip{display:block}.mission-strip p{margin-top:6px}.campaign-bar>div{gap:10px}.campaign-bar .eyebrow{display:none}.route-picker{display:block}.route-hint{display:block;max-width:none;text-align:left;margin-top:3px}.route-options{justify-content:space-between}.route-option{font-size:12px}}
@media(max-width:480px){.crew-button{padding:0 5px;font-size:12px}.crew-button svg{display:none}.top-actions{gap:0}.garage-button{padding:0 6px}.brand{gap:6px}.brand strong{font-size:13px}.top-actions>.icon-button{width:35px}.mission-strip{margin-bottom:11px}.mission-strip>div>span:first-child{font-size:12px}.mission-strip p{font-size:12px;line-height:1.65}.route-hud{min-width:125px;max-width:135px;left:54%}.route-hud .hud-label{letter-spacing:.6px}.route-hud #delivery-label{font-size:12px}.street-clock{font-size:12px!important;margin-top:5px}.delivery-dots{gap:3px}.delivery-dots span{width:6px;height:6px}.campaign-bar{padding-top:20px;gap:10px}.campaign-bar>div{flex-direction:column;align-items:flex-start;gap:3px}.campaign-bar strong{font-size:17px}.campaign-bar>div>span:last-child{font-size:12px}.campaign-bar .secondary-button{font-size:12px;padding:8px 10px;gap:5px}.campaign-bar .secondary-button>span{display:none}.route-options{display:grid;grid-template-columns:1fr 1fr;gap:4px}.route-option{font-size:12px;justify-content:flex-start;padding:7px}.route-option>span:nth-child(2){flex:1}.route-hint{font-size:12px}.crew-cards{gap:8px;margin-top:14px}.crew-card{padding:9px}.crew-portrait{height:118px}.crew-portrait img{height:133px}.crew-card-name{font-size:14px;letter-spacing:.5px}.crew-card-name>span{font-size:12px}.crew-bike{font-size:12px;line-height:1.5;min-height:24px;margin-bottom:7px}.crew-ability{font-size:12px}.crew-description{font-size:12px;line-height:1.7}.map-grid{gap:7px;padding:0;margin-top:18px}.map-node{gap:5px;min-height:82px;padding:10px 7px}.map-node>svg:not(.map-status){width:30px;height:30px}.map-name{font-size:12px}.map-name small{font-size:12px;letter-spacing:.4px}.map-status{width:12px;height:12px}.map-number{left:8px;top:6px}.cinematic-sky{height:220px}.cinematic-city{transform:translateX(-50%) scale(.72);transform-origin:bottom center}.cinematic-sun{left:58%;width:110px;height:110px;top:53px}.cinematic-crew{gap:2px;left:4px;height:120px}.cinematic-crew img{width:80px;height:125px}.cinematic-copy{padding:24px 20px}.cinematic-copy h2{font-size:33px}.cinematic-copy .eyebrow{font-size:12px;letter-spacing:1px}.cinematic-copy p{font-size:12px}.text-button{min-height:44px}.garage-top .bike-preview{width:165px;height:138px}}
@media(max-height:480px) and (min-width:600px){.mission-strip{margin:8px 0}.mission-strip p{display:none}.mission-strip>div{justify-content:space-between}.game-shell{margin-top:0;min-height:275px}.campaign-bar{padding-top:12px}.ending-dialog{max-width:700px}.cinematic-sky{height:135px}.cinematic-copy{padding:14px 20px}.cinematic-copy h2{font-size:28px;margin:8px 0}.cinematic-copy p{font-size:12px;margin:6px}.cinematic-copy .primary-button{margin-top:12px}.cinematic-city{transform:translateX(-50%) scale(.65);transform-origin:bottom center}.cinematic-crew img{width:85px;height:115px}}
.crew-button{min-width:44px}.upgrade-buy,.text-button{min-height:44px}
@media(max-width:480px){.top-actions>.icon-button{width:44px;height:44px}.crew-button{min-width:44px}.result-stats span{font-size:12px;line-height:1.5}}
@media(max-width:360px){.brand-icon{display:none}.brand{gap:0}.brand strong{font-size:12px}.garage-button{padding:0 5px}}
@media(max-width:480px){.play-coach{bottom:10px;padding:9px 12px 7px}.play-coach>span:first-child{line-height:1.3}.play-coach>span:last-child{line-height:1.4;margin-top:4px}.play-coach .charge-track{margin-top:5px}}
@media(max-width:360px){.garage-button{width:44px;min-width:44px;justify-content:center;padding:0}.garage-button .scrap-counter{display:none}}
@media(max-height:480px) and (min-width:600px){.play-coach{bottom:8px;padding:7px 12px 6px}.play-coach>span:first-child{line-height:1.2}.play-coach>span:last-child{line-height:1.3;margin-top:3px}.play-coach .charge-track{margin-top:4px}}
@media(max-width:480px){.start-panel .primary-button{font-size:12px}}
@media(max-height:480px) and (min-width:600px){.result-panel{width:650px;max-width:94%;padding:17px 23px;display:grid;grid-template-columns:1fr 1.1fr;grid-template-areas:'header stats' 'title stats' 'description actions' 'score actions' 'scorelabel secondary' 'status status';column-gap:18px}.result-header{grid-area:header;min-height:20px}.result-panel h2{grid-area:title}.result-panel>p{grid-area:description;line-height:1.6}.result-score{grid-area:score;align-self:end}.result-score-label{grid-area:scorelabel}.result-stats{grid-area:stats;align-self:center;margin:0}.result-actions{grid-area:actions;align-self:center}.result-secondary{grid-area:secondary;margin-top:4px}.share-status{grid-area:status}.result-actions>button,.result-secondary .text-button,.start-panel .primary-button{min-height:44px}.hud-pause{width:44px;height:44px}}

/* Readable text keeps the original coral for timing marks and illustrated accents. */
.feedback .feedback-sub,.new-best,.crew-ability,.text-button:hover{color:#a74228}
footer{color:#526955}footer>span.footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px}footer a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* Instructions use a larger reading size; compact game meters retain a clear 12px minimum. */
.intro>p,.mission-strip p,.help-steps,.dialog-intro,dialog>p,.how-step p,.start-panel p,.pause-panel p,.result-panel>p,.upgrade p,.help-note,.share-status,.crew-description{font-size:14px}
@media(max-width:480px){.start-panel p{font-size:12px}.crew-description,.crew-bike,.route-hint,.play-coach>span:last-child{font-size:12px}.map-name small{letter-spacing:0}.start-panel .pill{letter-spacing:.2px}.brand{letter-spacing:1.6px}}

.route-picker-label,.route-hint,.step-number,.crew-card-name>span,.crew-bike,.crew-description,.map-number,.map-name small,.campaign-bar>div>span:last-child{color:#526955}
@media(max-width:480px){.how-it-works{grid-template-columns:minmax(0,1fr);gap:18px}.how-step>div{min-width:0}.how-step h3{font-size:14px}.step-number{letter-spacing:0}.hud .score-block .hud-label{max-width:80px;letter-spacing:.5px;line-height:1.35}.route-hud{left:57%;width:110px;min-width:0;max-width:110px}.route-hud .hud-label{letter-spacing:.3px;line-height:1.35;white-space:normal}}

/* A ride occupies the available screen, including browsers without native fullscreen. */
body.riding{overflow:hidden;overscroll-behavior:none}
body.riding .game-shell{position:fixed;inset:0;z-index:30;width:100vw;height:100vh;height:100dvh;aspect-ratio:auto;max-height:none;min-height:0!important;margin:0;border:0;border-radius:0;box-shadow:none}
body.riding .hud{top:max(22px,env(safe-area-inset-top));left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right))}
body.riding .hud-pause{width:48px;height:48px;margin:0;background:#fffaf0e8;border:1px solid #e0e8d7}
body.riding .play-coach{bottom:max(22px,env(safe-area-inset-bottom));min-width:258px;padding:13px 20px 12px}
body.riding .play-coach>span:first-child{font-size:14px;letter-spacing:.6px}
body.riding .play-coach>span:last-child{font-size:13px;line-height:1.5}
body.riding .charge-track{height:5px}
.play-coach>span:first-child:before{content:'';display:inline-block;vertical-align:middle;width:8px;height:8px;border:2px solid currentColor;border-radius:50%;margin:0 8px 2px 0}
.holding .play-coach>span:first-child:before{background:currentColor}
body.riding .ghost-hud{left:max(22px,env(safe-area-inset-left));bottom:max(25px,env(safe-area-inset-bottom))}
body.riding .combo-badge{left:max(22px,env(safe-area-inset-left))}
body.riding .pause-panel,body.riding .result-panel{max-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
.pause-panel .text-button{display:flex;width:100%}
body.riding .feedback{max-width:calc(100% - 24px);white-space:normal}
body.riding .result-actions>button,body.riding .result-secondary .text-button{min-height:44px}
.watch-demo{width:100%;margin-top:8px;color:var(--ink);font-weight:700;gap:7px}
.start-panel .start-key{margin-top:4px}
.tutorial-dialog{width:760px;padding:28px;max-height:calc(100dvh - 28px);scrollbar-gutter:stable}
.tutorial-dialog h2{font-size:30px;margin:5px 44px 8px 0;padding:0;line-height:1.2}
.tutorial-intro{font-size:15px!important;margin:0 0 17px;line-height:1.6!important}
.tutorial-dialog video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#dce8de;border:1px solid #cbd8c6;border-radius:12px}
.tutorial-dialog .demo-status{font-size:12px;line-height:1.6;margin:9px 0 12px;color:#526955;min-height:20px}
.demo-chapters{display:flex;gap:8px;flex-wrap:wrap}
.demo-chapters .secondary-button{font-size:12px;min-height:44px;padding:9px 13px;gap:6px}
.tutorial-steps{list-style:none;counter-reset:lesson;display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;margin:23px 0;padding:0}
.tutorial-steps li{position:relative;counter-increment:lesson;padding-left:34px;min-width:0}
.tutorial-steps li:before{content:counter(lesson);position:absolute;left:0;top:0;border:1px solid #b9c9b4;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:12px;font-weight:750}
.tutorial-steps b{font-size:15px;line-height:1.6;display:block}
.tutorial-steps span{display:block;font-size:14px;line-height:1.65;color:#526955;margin-top:4px}
.tutorial-dialog .stunt-note{font-size:14px;line-height:1.7;margin:0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stunt-note b{display:block;color:var(--ink);font-size:15px;margin-bottom:4px}
.tutorial-actions{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-top:20px}
.tutorial-actions>span{font-size:12px;line-height:1.8;color:#526955;max-width:300px}
.tutorial-dialog .tutorial-actions .primary-button{margin:0;width:auto;min-width:180px;font-size:14px;min-height:48px}
@media(max-width:600px){
  .tutorial-dialog{padding:23px 18px;max-width:calc(100% - 20px)}
  .tutorial-dialog h2{font-size:25px;margin-right:32px;letter-spacing:-.7px}
  .tutorial-intro{font-size:14px!important;margin-bottom:13px}
  .demo-chapters{gap:6px}
  .demo-chapters .secondary-button{font-size:12px;padding:8px 9px;flex:1;white-space:nowrap}
  .tutorial-steps{grid-template-columns:1fr;gap:18px;margin:21px 0}
  .tutorial-actions{flex-direction:column;align-items:stretch;gap:14px}
  .tutorial-dialog .tutorial-actions .primary-button{width:100%}
  .watch-demo{font-size:12px;margin-top:6px}
  body.riding .hud{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));top:max(18px,env(safe-area-inset-top))}
  body.riding .ghost-hud{bottom:calc(112px + env(safe-area-inset-bottom));left:16px}
  body.riding .play-coach{max-width:calc(100% - 24px);min-width:0;width:288px}
  body.riding .feedback{top:24%}
}
@media(max-height:480px) and (min-width:600px){
  body.riding .hud{top:max(14px,env(safe-area-inset-top))}
  body.riding .play-coach{bottom:max(12px,env(safe-area-inset-bottom));padding:9px 16px 8px}
  body.riding .play-coach>span:last-child{font-size:12px}
  body.riding .pause-panel{padding:20px 26px}
  body.riding .pause-panel h2{margin:0 0 8px}
  body.riding .pause-panel p{margin-bottom:16px}
  body.riding .pause-panel .text-button{margin-top:3px}
  .tutorial-dialog{max-width:760px}
}
/* Keep both ride and demo actions visible on the invitation at phone widths. */
@media(max-width:480px){.game-shell:has(.start-panel:not([hidden])){height:480px;max-height:none;aspect-ratio:auto}.start-panel{top:23%}}
@media(max-width:360px){.game-shell:has(.start-panel:not([hidden])){height:430px}.start-panel{width:74%;top:22%;padding:15px 14px 13px}.start-panel h2{font-size:19px}.start-panel .pill{font-size:12px;letter-spacing:0}}
