:root{color:#284d47;font-synthesis:none;--ink:#284d47;--cream:#fbf7e9;--yellow:#ffd072;--line:#284d4720;background:#bce0df;font-family:Trebuchet MS,Arial,sans-serif}*{box-sizing:border-box}html,body,#app{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer;color:inherit;transition:background .15s,transform .15s,box-shadow .15s}button:active:not(:disabled){transform:translateY(0)}button:disabled{cursor:default;opacity:.55}button:focus-visible,select:focus-visible,input:focus-visible{outline-offset:4px;outline:3px solid #dc8555}button svg{flex-shrink:0;width:22px;height:22px}#world{touch-action:none;width:100%;height:100%;display:block}.wallet{background:var(--cream);border:1px solid #fff7dc77;border-radius:30px;align-items:center;gap:9px;padding:9px 16px 9px 10px;font-size:18px;font-weight:700;display:flex;box-shadow:0 6px 18px #315a4812}.coin{color:#986a32;background:#ffd071;border:2px solid #e5b853;border-radius:50%;place-items:center;width:25px;height:25px;font-size:14px;font-weight:900;display:inline-grid;box-shadow:inset 0 0 0 2px #ffe49a}.eyebrow{letter-spacing:2.1px;color:#526951;font-size:9px;font-weight:900;line-height:1.6;display:block}dialog{background:var(--cream);color:var(--ink);border:1px solid #fff9e5;border-radius:30px;width:min(640px,100vw - 30px);max-height:calc(100dvh - 40px);padding:0;box-shadow:0 30px 100px #123c3b55}dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#173d3869}#panel-content{max-height:calc(100dvh - 42px);padding:38px;position:relative;overflow:auto}dialog h2{letter-spacing:-1.4px;margin:9px 25px 13px 0;font-size:34px;line-height:1.08}dialog p{color:#4f6653;margin:0 0 20px;font-size:13px;line-height:1.7}dialog button:not(.close):not(.paint):not(.strategy):not(.route){background:#eef0df;border:1px solid #d9deca;border-radius:13px;min-height:46px;padding:14px 17px;font-size:12px;font-weight:900}dialog button.primary{color:#4a593e;box-shadow:0 3px #ddba7333;background:var(--yellow)!important;border-color:#eec46e!important}dialog .close{background:#e9edda;border:0;border-radius:50%;width:32px;height:32px;font-size:22px;line-height:1;position:absolute;top:17px;right:19px}.full{width:100%}.button-row{gap:10px;margin-top:10px;display:flex}.button-row>*{flex:1}.fine{text-align:center;color:#4f6653!important;margin:20px 0 0!important;font-size:11px!important}.settings{border-top:1px solid var(--line);margin-top:24px}.settings label{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:56px;font-size:12px;display:flex}select{color:var(--ink);background:#eef0df;border:1px solid #d9deca;border-radius:8px;padding:8px;font-size:11px}input[type=checkbox]{accent-color:#618f70;width:20px;height:20px}.help-step{gap:18px;margin:23px 0;display:flex}.help-step>b{color:#9fb191;letter-spacing:-1px;font-size:25px}.help-step h3{margin:0 0 5px;font-size:16px}.help-step p{margin:0;font-size:12px}.note{background:#eef0df;border-radius:13px;padding:15px;font-size:11px!important}.routes{flex-direction:column;gap:8px;display:flex}.route{text-align:left;background:#f5f3e4;border:1px solid #dce2cd;border-radius:13px;align-items:center;gap:12px;min-height:65px;padding:13px 12px;display:flex}.route.current{background:#e7ebd6;border-color:#8dab86}.route-number{letter-spacing:-1px;color:#93a687;font-size:21px;font-weight:900}.route strong{font-size:12px;display:block}.route small{color:#8c9a82;margin-top:5px;font-size:10px;display:block}.route-medal{letter-spacing:1px;color:#a28d55;margin-left:auto;font-size:8px;font-weight:900}.garage-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:15px;padding-top:32px;display:flex}.garage-heading h2{font-size:30px}.garage-heading .wallet{flex-shrink:0;padding:6px 12px 6px 6px;font-size:14px}.section-heading{text-transform:uppercase;letter-spacing:1.6px;color:#4f6653;margin:26px 0 14px;font-size:9px}.paints{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.paint{text-align:center;background:#f1f0df;border:1px solid #dfe3ce;border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:9px 5px 12px;display:flex}.paint.selected,.strategy.selected{background:#e7ebd6;border-color:#8aa77e;box-shadow:inset 0 0 0 1px #8aa77e}.swatch{background:var(--paint);color:#fff5da;border-radius:12px;place-items:center;width:50px;height:45px;display:grid}.swatch svg{width:32px;height:32px}.paint strong{font-size:9px;line-height:1.3}.paint small{letter-spacing:.5px;color:#4f6653;font-size:7px}.strategies{grid-template-columns:1fr 1fr;gap:10px;display:grid}.strategy{text-align:left;background:#f1f0df;border:1px solid #dfe3ce;border-radius:15px;padding:17px}.strategy-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.strategy-top strong{font-size:14px}.strategy-top small{color:#4f6653;font-size:8px}.strategy p{margin:10px 0 15px;font-size:11px;line-height:1.6}.price{letter-spacing:1px;color:#4f6653;font-size:9px;font-weight:900}.medallion{color:#a38145;background:#f6d58c;border:6px double #e1bc70;border-radius:50%;place-items:center;width:76px;height:76px;margin:0 auto 23px;font-size:34px;font-weight:900;display:grid;transform:rotate(-8deg)}.medal-2{color:#81947e;background:#d8dfd4;border-color:#adbdaa}.medal-1{color:#9b704e;background:#e2bc9d;border-color:#c59974}.medallion~.eyebrow,.medallion~h2,.medallion~p{text-align:center}.medallion~h2{margin-right:0}.result-reward{justify-content:center;align-items:center;gap:9px;margin:21px 0 28px;font-size:26px;font-weight:900;display:flex}.result-reward small{color:#87977b;margin-left:3px;font-size:10px;font-weight:400}.reward-button{background:0 0!important;margin-top:12px!important;font-size:10px!important}.sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}#busy{color:var(--cream);z-index:99;letter-spacing:-.5px;background:#214b40e6;place-items:center;font-size:20px;display:grid;position:fixed;inset:0}#busy[hidden]{display:none}.fallback{max-width:600px;margin:15vh auto;padding:30px}.fallback h1{font-size:38px}.fallback p{line-height:1.7}.fallback button{background:var(--yellow);border:0;border-radius:15px;padding:15px 25px}@media (pointer:coarse),(width<=700px){.wallet{gap:6px;padding:7px 11px 7px 7px;font-size:15px}.coin{width:22px;height:22px;font-size:12px}.eyebrow{letter-spacing:1.5px;font-size:8px}#panel-content{padding:30px 24px}dialog h2{font-size:29px}.paints{gap:5px}.swatch{width:40px;height:40px}.paint strong{font-size:8px}.paint small{font-size:6px}.strategy{padding:12px}.strategy-top strong{font-size:12px}.garage-heading{gap:5px}.garage-heading h2{font-size:27px}.result-reward{font-size:23px}.result-reward small{font-size:9px}}@media (width<=410px){.wallet{padding-right:9px;font-size:13px}.paints{grid-template-columns:repeat(3,1fr)}.swatch{width:50px}.paint strong{font-size:9px}.paint small{font-size:8px}.strategies{grid-template-columns:1fr}.garage-heading .wallet{font-size:12px}}@media (pointer:coarse),(width<=700px){.wallet{gap:6px;padding:7px 10px;font-size:14px}}@media (width<=350px){.wallet{font-size:13px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.settings input[type=range]{accent-color:#618f70;cursor:pointer;touch-action:pan-y;width:46%;max-width:190px;min-height:44px;margin:0}.settings output{color:#4f6653;margin-left:5px;font-size:11px;font-weight:900;display:inline-block}.settings .audio-status{margin:14px 0 0;font-size:11px;line-height:1.6}.settings label:has(input[type=range])>span{max-width:50%}:root{--hud-gap:8px;--hud-edge:12px;--hud-top:max(12px,env(safe-area-inset-top));--hud-bottom:max(22px,calc(env(safe-area-inset-bottom) + 10px))}[hidden]{display:none!important}.vignette{display:none}.topbar{top:var(--hud-top);left:max(var(--hud-edge),env(safe-area-inset-left));right:max(var(--hud-edge),env(safe-area-inset-right));pointer-events:none;justify-content:space-between;align-items:center;gap:8px;height:44px;display:flex;position:fixed}.brand{letter-spacing:-.5px;align-items:center;gap:9px;font-size:18px;font-weight:900;line-height:1.1;display:flex}.brand>div>span{letter-spacing:1.5px;margin-top:4px;font-size:7px;display:block}.brand-icon{background:var(--yellow);border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.brand-icon svg{width:32px;height:32px}.toolbar{pointer-events:auto;align-items:center;gap:6px;display:flex}.topbar .wallet{gap:5px;max-width:130px;height:44px;padding:7px 10px;font-size:14px;overflow:hidden}.cash-icon{width:28px;height:23px;color:var(--ink);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.cash-icon svg{width:100%;height:100%}.icon-button,.hud-icon,.mission-summary{border:1px solid var(--line);background:var(--cream);color:var(--ink);touch-action:manipulation;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-width:44px;height:44px;min-height:44px;padding:8px;font-size:20px;display:flex;box-shadow:0 3px 10px #284d4710}button:hover:not(:disabled){transform:none}.icon-button.muted{opacity:.7}.mission-card{left:max(var(--hud-edge),env(safe-area-inset-left));top:calc(var(--hud-top) + 52px);pointer-events:auto;width:192px;position:fixed}.mission-summary{font-variant-numeric:tabular-nums;justify-content:space-between;width:100%;font-size:13px;font-weight:900}.mission-summary svg{width:20px;height:20px}.timer-icon{font-size:18px}.urgent{color:#a63821}.hud-details{overscroll-behavior:contain;background:var(--cream);width:280px;max-width:calc(100vw - 24px);max-height:max(100px,100dvh - 300px);color:var(--ink);border:1px solid var(--line);z-index:5;text-align:left;border-radius:16px;padding:16px;font-size:12px;line-height:1.6;position:absolute;top:52px;left:0;overflow:auto;box-shadow:0 8px 24px #284d4729}.hud-details h1{letter-spacing:-.5px;margin:7px 0;font-size:20px;line-height:1.3}.hud-details p{color:var(--ink);margin:8px 0;font-size:12px;line-height:1.6}.hud-details p:empty{display:none}.progress-track,.health-track{background:#dfe4cd;border-radius:8px;height:5px;overflow:hidden}.progress-track{margin-top:10px}.progress-track i,.health-track i{background:#7ea481;border-radius:8px;height:100%;transition:width .25s;display:block}.map-card{right:max(var(--hud-edge),env(safe-area-inset-right));top:calc(var(--hud-top) + 52px);width:44px;position:fixed}.map-card .hud-details{width:180px;left:auto;right:0}.map-card svg{width:100%;display:block}.map-card button svg{width:22px;height:22px}.map-card p{font-size:10px}.objective-toggle{top:calc(var(--hud-top) + 52px);right:calc(max(var(--hud-edge),env(safe-area-inset-right)) + 52px);position:fixed}.objective{top:calc(var(--hud-top) + 104px);left:auto;right:max(var(--hud-edge),env(safe-area-inset-right));position:fixed;transform:none}.latest-notice{border-top:1px solid var(--line);padding-top:8px}.condition{left:max(var(--hud-edge),env(safe-area-inset-left));top:calc(var(--hud-top) + 105px);background:var(--cream);border:1px solid var(--line);pointer-events:none;width:108px;height:35px;color:var(--ink);border-radius:12px;grid-template-columns:20px 1fr 31px;align-items:center;gap:5px;padding:6px 8px;display:grid;position:fixed}.condition-title{font-size:9px;font-weight:900}#health-label{font-size:10px;font-weight:900}.camera-controls{right:max(var(--hud-edge),env(safe-area-inset-right));top:calc(var(--hud-top) + 104px);gap:4px;display:flex;position:fixed}.camera-controls .hud-icon{width:44px;font-size:11px;font-weight:900}.camera-controls button:first-child{border-radius:14px 8px 8px 14px}.camera-controls button:last-child{border-radius:8px 14px 14px 8px}.camera-controls svg{width:20px;height:20px}.bottom-nav{left:max(var(--hud-edge),env(safe-area-inset-left));bottom:var(--hud-bottom);gap:6px;display:flex;position:fixed}.bottom-nav button{border:1px solid var(--line);background:var(--cream);border-radius:14px;justify-content:center;align-items:center;gap:7px;min-width:44px;height:44px;padding:8px 12px;font-size:11px;font-weight:900;display:flex}.bottom-nav b{border:1.5px solid;border-radius:50%;place-items:center;width:22px;height:22px;font-size:13px;display:grid}.sim-controls{right:max(var(--hud-edge),env(safe-area-inset-right));bottom:var(--hud-bottom);align-items:center;gap:8px;display:flex;position:fixed}.speedometer{border:1px solid var(--line);background:var(--cream);border-radius:14px;align-items:baseline;gap:4px;width:78px;height:50px;padding:12px 8px;display:flex;position:relative}.speedometer strong{font-size:22px;line-height:1}.speedometer span{font-size:8px}.speedometer b{font-size:9px;position:absolute;top:4px;right:7px}.sim-controls button{background:var(--cream);touch-action:manipulation;border:2px solid #55766a;border-radius:14px;justify-content:center;align-items:center;gap:7px;min-width:64px;height:50px;padding:8px 12px;font-size:11px;font-weight:900;display:flex}.sim-controls button.ready{background:var(--yellow);border-color:var(--ink)}.sim-controls button[aria-disabled=true]{border-style:dashed}.sim-controls svg{width:25px;height:25px}.keyboard-hint{color:var(--ink);background:var(--cream);white-space:nowrap;border-radius:10px;padding:6px 10px;font-size:9px;line-height:1.5;position:fixed;bottom:34px;left:50%;transform:translate(-50%)}.keyboard-hint span{font-weight:900}#joystick{display:none!important}.steering-buttons,.pedals{bottom:var(--hud-bottom);touch-action:none;gap:7px;display:none;position:fixed}.steering-buttons{left:max(var(--hud-edge),env(safe-area-inset-left))}.pedals{right:max(var(--hud-edge),env(safe-area-inset-right));gap:5px}.steering-buttons button,.pedals button{touch-action:none;-webkit-user-select:none;user-select:none;background:var(--cream);border:2px solid #55766a;border-radius:16px;place-items:center;width:52px;min-width:44px;height:62px;min-height:44px;display:grid}.pedals button{width:48px}.pedals button[data-pedal=gas]{background:var(--yellow)}.steering-buttons svg,.pedals svg{width:26px;height:26px}.steering-buttons .pressed,.pedals .pressed{background:#a5c2ac}#toast{top:calc(var(--hud-top) + 156px);border:1px solid var(--line);background:var(--cream);width:max-content;max-width:min(280px,100vw - 24px);height:44px;color:var(--ink);text-align:left;white-space:nowrap;text-overflow:ellipsis;visibility:hidden;pointer-events:none;border-radius:14px;padding:10px 14px;font-size:12px;line-height:1.5;position:fixed;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 4px 16px #284d471a}#toast.visible{visibility:visible;pointer-events:auto}#toast:hover{transform:translate(-50%)}.time-bonus{font-size:14px;line-height:1.8}.time-bonus small{color:#55766a;font-size:11px}@media (width<=1100px){.keyboard-hint{display:none}}@media (pointer:coarse),(width<=700px){.brand>div{display:none}.brand-icon{width:44px;height:44px}.topbar .wallet{max-width:142px}.mission-card{width:176px}.hud-details{max-height:max(100px,100dvh - 300px)}.bottom-nav{bottom:calc(var(--hud-bottom) + 78px);gap:5px}.bottom-nav button{width:44px;padding:8px}.bottom-nav button span{display:none}.sim-controls{bottom:calc(var(--hud-bottom) + 78px);gap:6px}.sim-controls button{width:62px;min-width:62px;padding:8px}.control-caption{display:none}.speedometer{width:68px}.steering-buttons,.pedals{display:flex}.keyboard-hint{display:none}}@media (width<=350px){.steering-buttons button{width:48px}.steering-buttons{gap:5px}.pedals button{width:45px}.pedals{gap:4px}.topbar .wallet{max-width:142px;font-size:12px}.cash-icon{width:24px}.toolbar{gap:4px}}@media (height<=550px) and (width>=600px){.mission-card{width:192px}.condition{top:calc(var(--hud-top) + 104px)}.objective{right:172px;top:calc(var(--hud-top) + 52px);max-height:calc(100dvh - 180px)}.hud-details{max-height:calc(100dvh - 210px)}#toast{top:var(--hud-top);max-width:270px}.bottom-nav{left:145px;bottom:var(--hud-bottom)}}#opening{color:#fbf7e9;width:100vw;max-width:none;height:100dvh;max-height:none;box-shadow:none;background:#173d38;border:0;border-radius:0;margin:0;padding:0;inset:0;overflow:hidden}#opening::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#173d38}#opening[hidden],#opening [hidden]{display:none!important}#opening .poster-screen{grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);align-items:center;gap:48px;max-width:1280px;height:100%;margin:auto;padding:24px 48px;display:grid}.opening-poster{object-fit:contain;width:100%;height:calc(100dvh - 48px);display:block}.poster-action{max-width:370px}.intro-kicker{letter-spacing:2px;font-size:11px;font-weight:900;line-height:1.6}#opening button{color:#fbf7e9;touch-action:manipulation;background:#173d38;border:1px solid #fbf7e944;border-radius:12px;min-height:48px;padding:12px 18px;font-size:14px;font-weight:900}#opening button:focus-visible{outline-offset:4px;outline:3px solid #ffd072}#opening button:disabled{opacity:.6}#opening .intro-play{color:#173d38;letter-spacing:-1px;background:#ffd072;border-color:#ffd072;border-radius:18px;justify-content:space-between;align-items:center;gap:60px;width:100%;min-height:74px;margin:20px 0;font-size:30px;display:flex;box-shadow:0 5px #b98c36}#opening .poster-action p{color:#fbf7e9;margin:24px 0 0;font-size:13px;line-height:1.7}#opening[data-phase=video],#opening[data-phase=video]::backdrop{background:#000}#opening:focus{outline:none}.studio-screen{background:#000;position:absolute;inset:0}.opening-video{object-fit:contain;pointer-events:none;background:#000;width:100%;height:100%;display:block}.studio-recovery{padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));text-align:center;background:#000d;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:absolute;inset:0}#opening .studio-recovery p{color:#fbf7e9;max-width:420px;margin:0;font-size:14px;line-height:1.6}#opening .studio-recovery button{color:#173d38;background:#ffd072;border-color:#ffd072;min-width:160px}#opening:has(.tour-screen:not([hidden])){background:0 0}#opening:has(.tour-screen:not([hidden]))::backdrop{background:0 0}#app:has(#opening[open])>:not(canvas):not(#opening){visibility:hidden}.intro-top{top:max(20px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));background:#173d38;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:12px 16px;display:flex;position:absolute}.intro-caption{left:max(24px,env(safe-area-inset-left));bottom:max(24px,env(safe-area-inset-bottom));color:#284d47;background:#fbf7e9;border-radius:6px 24px 24px;width:min(560px,100% - 48px);padding:25px 28px;position:absolute;box-shadow:0 12px 45px #173d3833}.intro-chapter{letter-spacing:1.6px;color:#4f6653;font-size:10px;font-weight:900}#opening .intro-caption h2{letter-spacing:-1px;margin:10px 0 14px;font-size:32px;line-height:1.1}#opening .intro-caption p{color:#4f6653;margin:0 0 21px;font-size:14px;line-height:1.65}.intro-nav{align-items:center;gap:8px;display:flex}#opening .intro-nav button{padding:10px 14px;font-size:12px}#opening .intro-nav .intro-next{color:#173d38;background:#ffd072;border-color:#b98c36;margin-left:auto}@media (width<=700px){#opening .poster-screen{padding:max(12px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));flex-direction:column;justify-content:center;gap:12px;display:flex}.opening-poster{width:100%;height:calc(100dvh - 170px);min-height:0}.poster-action{width:min(100%,400px);max-width:none}.poster-action .intro-kicker{display:none}#opening .intro-play{gap:20px;min-height:56px;margin:0;font-size:24px}#opening .poster-action p{text-align:center;margin:12px 0 0;font-size:11px}.intro-top{top:max(10px,env(safe-area-inset-top));gap:8px;padding:8px 10px;left:12px;right:12px}.intro-top .intro-kicker{letter-spacing:1px;font-size:8px}.intro-top button{white-space:nowrap;padding:8px 12px!important;font-size:12px!important}.intro-caption{left:12px;bottom:max(14px,env(safe-area-inset-bottom));width:calc(100% - 24px);padding:19px 20px}#opening .intro-caption h2{font-size:25px}#opening .intro-caption p{font-size:13px}.intro-nav{gap:5px}#opening .intro-nav button{padding:9px 10px;font-size:11px}}@media (height<=550px) and (width>=600px){#opening .poster-screen{grid-template-columns:minmax(0,1fr) minmax(240px,.9fr);gap:24px;padding:12px 32px}.opening-poster{height:calc(100dvh - 24px)}#opening .intro-play{min-height:60px;font-size:25px}.intro-top{padding:6px 12px;top:10px;left:12px;right:12px}.intro-top .intro-kicker{font-size:9px}.intro-caption{width:45%;padding:16px 19px;bottom:12px;left:auto;right:12px}#opening .intro-caption h2{margin:8px 0;font-size:23px}#opening .intro-caption p{margin-bottom:12px;font-size:12px}.intro-chapter{font-size:8px}.intro-nav{gap:5px}#opening .intro-nav button{padding:8px;font-size:10px}}
