.launch-screen{position:fixed;inset:0;z-index:6;isolation:isolate;display:flex;align-items:center;padding:max(32px,env(safe-area-inset-top)) 7vw max(44px,env(safe-area-inset-bottom));overflow:auto;background:#101a25 url(/assets/branding/savile-launch.webp) 60% center / cover no-repeat;-webkit-user-select:none;user-select:none}.launch-screen:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0c141ff2,#0c141fd9 24%,#0c141f61 49%,#0c141f00 75%),linear-gradient(0deg,#0c141fbd,transparent 35%);pointer-events:none}.launch-copy{width:min(580px,100%)}.launch-location{margin:0 0 26px;color:#ffcf53;font:700 12px/1.4 Helvetica Neue,sans-serif;letter-spacing:.2em;text-transform:uppercase}.launch-title{position:relative;width:fit-content;margin:0 0 30px -5px;color:#fff7de;font:900 clamp(120px,16vw,240px)/.79 Impact,"Arial Narrow","Helvetica Neue",sans-serif;letter-spacing:-.045em;transform:rotate(-3deg);text-shadow:4px 5px 0 #101722,6px 7px 0 #ffffff33}.launch-title span{color:#ffcf53}.launch-title b{color:#fff7de}.launch-tagline{margin:0 0 9px;font-size:clamp(17px,1.6vw,22px);font-weight:800}.launch-description{margin:0;color:#e0e1df;font-size:14px;line-height:1.6}.launch-start{display:flex;align-items:center;gap:32px;width:330px;max-width:100%;min-height:64px;margin-top:32px;padding:16px 22px;border:2px solid #ffcf53;border-radius:0;background:#ffcf53;color:#111a26;font-size:18px;font-weight:800;box-shadow:5px 5px #0c141f;transition:background .15s,transform .15s;touch-action:manipulation}.launch-start:hover{background:#ffe89c;transform:translateY(-2px)}.launch-start:active{transform:translate(2px,2px)}.launch-start>span{font-size:27px;margin-left:auto}.launch-start kbd{font:10px/1 monospace;padding:5px;border:1px solid #111a2660;background:transparent;color:inherit}.launch-hint{margin:17px 0 0;color:#bfc5cb;font-size:11px}.launch-edition{position:absolute;right:30px;bottom:max(24px,env(safe-area-inset-bottom));font:700 10px monospace;letter-spacing:.14em;color:#fff7de}#loading #load-status{color:#e0e1df;font-size:14px}#loading .load-line{background:#ffcf53;max-width:300px}@media(max-width:700px){.launch-screen{align-items:flex-end;padding:28px 26px max(54px,calc(env(safe-area-inset-bottom) + 30px));background-position:65% center}.launch-screen:before{background:linear-gradient(0deg,#0c141ff5,#0c141fe6 27%,#0c141f55 62%,#0c141f11)}.launch-copy{max-width:390px}.launch-location{margin-bottom:20px;font-size:10px}.launch-title{font-size:clamp(110px,34vw,160px);margin-bottom:25px}.launch-tagline{font-size:17px}.launch-description{font-size:12px}.launch-start{margin-top:24px;min-height:60px;width:100%}.launch-start kbd{display:none}.launch-edition{bottom:16px;right:26px;font-size:8px}}@media(max-height:500px)and (min-width:600px){.launch-screen{align-items:center;padding:24px 6vw}.launch-location{font-size:9px;margin-bottom:14px}.launch-title{font-size:70px;margin-bottom:19px}.launch-tagline{font-size:16px}.launch-description{font-size:12px}.launch-start{margin-top:14px;min-height:48px;padding:9px 16px}.launch-hint{margin-top:10px}}@media(prefers-reduced-motion:reduce){.launch-start{transition:none}}.wordmark{font-family:Impact,Arial Narrow,sans-serif;text-transform:uppercase;font-weight:900;letter-spacing:-.03em}.wordmark span{text-transform:none}body[data-riding=bus] #touch .stick-zone,body[data-riding=bus] #touch .pedals{visibility:hidden}body[data-riding=bus] .controls>span{display:none}:root{font-family:Helvetica Neue,Helvetica,sans-serif;color:#f1f0e6;background:#9ca9ac;font-synthesis:none;--ink: #202c2c;--gold: #e3be73}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,select{font:inherit}button{cursor:pointer;border:1px solid #ffffff40;border-radius:4px;color:inherit;background:#202c2ce8;padding:10px 15px;min-height:44px}button:hover{background:#354343}button:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}[hidden]{display:none!important}#game{position:fixed;inset:0;width:100%;height:100%;touch-action:none}header{position:absolute;top:0;left:0;width:100%;padding:28px 36px;display:flex;align-items:center;gap:28px;background:linear-gradient(#172527a8,transparent);pointer-events:none}header button{margin-left:auto;pointer-events:auto}.wordmark{font-family:Georgia,serif;font-size:36px;letter-spacing:-1.5px}.wordmark span{display:inline-block;max-width:min(35vw,22rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:12px monospace;letter-spacing:0;color:#d1d7cd;margin-left:10px}.region-selection{max-width:27rem;margin:0 0 18px}.region-selection label{margin-bottom:6px;font-size:12px;color:#e7c87a}.region-selection select{padding:10px 12px;border:1px solid #e7c87a70;border-radius:6px;color:#fff7df;background:#21302e;color-scheme:dark}.location{font-size:13px;border-left:1px solid #ffffff50;padding-left:25px}.location span{display:block;font-size:11px;color:#d2dad2;margin-top:5px}.center-panel{position:absolute;top:50%;left:8%;transform:translateY(-45%);width:540px;max-width:85%;padding:36px;background:#202c2ce8;border-left:3px solid var(--gold)}.eyebrow{font-size:13px;color:var(--gold);margin:0 0 25px}h1{font:normal clamp(34px,4.3vw,64px)/1.04 Georgia,serif;letter-spacing:-1.5px;margin:0 0 25px}.center-panel>p:not(.eyebrow){font-size:14px;color:#c9d1c9;line-height:1.6}.primary{background:var(--gold);color:var(--ink);border:0;margin-top:14px;min-width:280px;text-align:left;padding:16px 20px}.primary:hover{background:#f0cd86}.primary span{float:right;font:12px monospace;padding-left:25px}.small{font-size:11px!important}.load-line{height:2px;background:var(--gold);width:80px;margin-top:25px;animation:load 1.5s ease-in-out infinite alternate}@keyframes load{to{width:95%}}#options{position:absolute;right:36px;top:90px;width:300px;padding:24px;background:#202c2cf5;border:1px solid #ffffff25;border-radius:4px}#options h2{font:26px Georgia,serif;margin:0 0 20px}label{display:block;font-size:12px;margin:15px 0}select{display:block;width:100%;padding:10px;margin-top:8px;background:#354343;color:#fff;border:1px solid #ffffff40;border-radius:4px}#options button{margin:5px 0;width:100%}#options p{font-size:12px;line-height:1.5;color:#bdc8c0}.map-panel{position:absolute;bottom:100px;left:36px;width:224px;background:#202c2cf0;border:1px solid #ffffff30;border-radius:4px;overflow:hidden}#minimap{width:224px;height:174px;object-fit:cover}#open-world-map{display:block;position:relative;width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;line-height:0}#open-world-map #minimap{display:block}.expand-map-label{position:absolute;top:7px;left:8px;padding:4px 5px;background:#202c2cda;color:#e3e6db;font:10px/1.2 monospace}.settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}#options .settings-heading #close-settings{width:44px;flex:0 0 44px;height:44px;margin:-10px -10px 0 0;padding:0;font-size:25px;background:transparent;border-color:transparent}#world-map{width:min(1080px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;overflow:hidden;border:1px solid #e4e8dc45;border-radius:5px;color:#f1f0e6;background:#202c2c}#world-map::backdrop{background:#0b1519bd}.world-map-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:20px 24px 16px;border-bottom:1px solid #d5dfd326}.world-map-kicker{font:10px monospace;text-transform:uppercase;letter-spacing:1px;color:#b4c3b9}.world-map-heading h2{margin:5px 0;font: 30px Georgia,serif}.world-map-heading p{margin:0;font-size:12px;color:#c1cec4}#close-world-map{min-width:44px;padding:0;font-size:28px;background:transparent;border-color:transparent}#expanded-map{display:block;width:100%;height:min(64dvh,640px);min-height:200px;background:#202c2c}.world-map-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 24px;border-top:1px solid #d5dfd326;font-size:11px;color:#b7c7bd}.world-map-footer p{margin:0}.map-player-key{color:#ddbd72;margin-right:5px}.map-car-key{color:#bc633e;margin:0 5px 0 15px}@media(max-width:600px),(max-height:500px){#world-map{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.world-map-heading{padding:12px 15px}.world-map-heading h2{font-size:24px}#expanded-map{height:calc(100dvh - 176px);min-height:120px}.world-map-footer{padding:11px 15px;font-size:10px}}.street-info{padding:13px 15px}.street-info span{display:block;font-size:10px;color:#b8c6bc;margin-bottom:5px}.street-info strong{font-size:14px;font-weight:500}.speed{position:absolute;right:44px;bottom:112px;text-align:right;text-shadow:0 2px 4px #17252788}.speed #speed{display:block;font-size:80px;font-weight:300;font-variant-numeric:tabular-nums;line-height:1}.speed #unit{font:12px monospace;color:#e0e8dc}.controls{position:absolute;bottom:42px;width:100%;display:flex;align-items:center;justify-content:center;gap:22px;font-size:11px;background:#202c2ccc;padding:12px}.controls kbd{font:11px monospace;background:#ffffff15;padding:5px;margin-right:4px;border-radius:3px}.controls button{font-size:11px;min-height:30px;padding:5px 12px}#performance{position:absolute;top:103px;right:36px;font:10px monospace;background:#202c2cba;padding:7px 10px;border-radius:3px}#toast{position:absolute;bottom:350px;text-align:center;width:100%;font-size:13px;color:var(--gold);pointer-events:none}footer{position:absolute;bottom:0;left:0;width:100%;display:flex;justify-content:space-between;gap:10px;padding:10px 36px;background:#202c2ce8;font-size:9px}footer a{color:#d3dbd2;text-decoration:none}footer a:hover{text-decoration:underline}html,body{height:100%;overscroll-behavior:none}button,#game,#hud,#touch,header,.center-panel{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#touch,#touch *,#game{touch-action:none}#touch svg,#touch span{pointer-events:none}#touch{display:none;position:fixed;inset:auto 0 0;z-index:3;justify-content:space-between;align-items:flex-end;padding:0 max(20px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));pointer-events:none}#touch button{pointer-events:auto;margin:0;padding:0;font-size:13px;font-weight:600;border-radius:16px;border:1px solid #f1f0e65c;background:#1d2a2bdc;color:#f1f0e6}#touch button[data-pressed=true]{background:#d9bd7c;color:#1c2a2a;border-color:#ffe4a3}#touch svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.stick-zone{width:140px;text-align:center}#touch #move-pad{position:relative;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,#ffffff08 0 36%,transparent 37% 61%,#ffffff12 62% 63%,transparent 64%),#1d2a2b94;border:1px solid #f1f0e650;overflow:visible}#touch #move-pad[data-pressed=true]{border-color:#e3be73;background-color:#1d2a2bbd}.stick-axis{position:absolute;top:50%;left:12px;right:12px;height:1px;background:#f1f0e62b}body[data-mode=walk] .stick-axis:after,body[data-mode=drive][data-drive-controls=joystick] .stick-axis:after{content:"";position:absolute;top:-57px;left:50%;width:1px;height:114px;background:#f1f0e62b}.stick-thumb{position:absolute;left:50%;top:50%;width:66px;height:66px;display:grid;place-items:center;border-radius:50%;border:1px solid #f1f0e665;background:#384a48ed;transform:translate(calc(-50% + var(--stick-x, 0px)),calc(-50% + var(--stick-y, 0px)))}#move-pad[data-pressed=true] .stick-thumb{background:#d9bd7c;color:#1c2a2a;border-color:#ffdfa0}.touch-label{display:block;margin-top:10px;font-size:11px;font-weight:500;color:#f1f0e6;text-shadow:0 1px 2px #172527}.pedal-zone{width:184px}.stick-hint{display:block;margin-top:4px;font-size:10px;line-height:1.3;color:#edf0e6;text-shadow:0 1px 3px #172527;white-space:nowrap}body[data-mode=drive][data-drive-controls=pedals] .stick-vertical,body[data-mode=drive][data-drive-controls=axis] .stick-vertical,body[data-mode=drive][data-drive-controls=joystick] #touch-go,body[data-mode=drive][data-drive-controls=joystick] #touch-reverse{display:none}body[data-mode=drive][data-drive-controls=joystick] .pedal-zone{width:128px}body[data-mode=drive][data-drive-controls=joystick] .pedals{grid-template-columns:84px;grid-template-rows:84px;justify-content:end}body[data-mode=drive][data-drive-controls=joystick] #touch-brake{grid-column:1;grid-row:1}#drive-axis,#drive-axis-hint,body[data-mode=drive][data-drive-controls=axis] #touch-go,body[data-mode=drive][data-drive-controls=axis] #touch-reverse{display:none}body[data-mode=drive][data-drive-controls=axis] .pedal-zone{width:190px}body[data-mode=drive][data-drive-controls=axis] .pedals{grid-template-columns:80px 98px;grid-template-rows:174px;align-items:end}body[data-mode=drive][data-drive-controls=axis] #touch-brake{grid-column:1;grid-row:1;height:84px;width:80px}body[data-mode=drive][data-drive-controls=axis] #drive-axis{display:block;position:relative;grid-column:2;grid-row:1;width:98px;height:174px;pointer-events:auto;touch-action:none;border:1px solid #f1f0e680;border-radius:16px;background:#1d2a2be8;color:#f1f0e6}#drive-axis[hidden]{display:none!important}#drive-axis:focus-visible{outline:3px solid #ffe1a3;outline-offset:4px}.pedal-axis-up,.pedal-axis-down{position:absolute;left:0;right:0;text-align:center;font-size:11px;font-weight:600}.pedal-axis-up{top:8px}.pedal-axis-down{bottom:8px}.pedal-axis-track{position:absolute;top:32px;bottom:32px;left:50%;width:1px;background:#f1f0e640}.pedal-axis-thumb{position:absolute;left:50%;top:50%;width:64px;height:42px;border:1px solid #ffe1a3;border-radius:10px;background:#d9bd7c;transform:translate(-50%,calc(-50% + var(--pedal-y, 0px)))}.pedal-axis-thumb:after{content:"";position:absolute;left:20px;right:20px;top:19px;border-top:2px solid #384a48}body[data-mode=drive][data-drive-controls=axis] #drive-axis-hint{display:block;margin-top:8px;font-size:10px;line-height:1.35;text-align:right;text-shadow:0 1px 2px #172527}#touch .touch-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;width:128px;margin:0 0 12px auto;border-radius:10px;font-size:12px}#touch .touch-action svg{width:22px;height:22px}.pedals{display:grid;grid-template-columns:82px 90px;grid-template-rows:48px 76px;gap:12px}#touch .pedals button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}#touch #touch-reverse{grid-column:1;grid-row:1;font-size:10px;border-radius:10px;gap:0}#touch #touch-reverse svg{width:22px;height:20px}#touch-brake{grid-column:1;grid-row:2}#touch #touch-go{grid-column:2;grid-row:1 / 3;background:#dfbf7d;color:#1d2b2b;border-color:#f4d492;font-size:15px}#touch #touch-go[data-pressed=true]{background:#ffe1a3;transform:translateY(2px)}body[data-mode=walk] #touch-reverse{display:none!important}body[data-mode=walk] #touch-brake{grid-row:1 / 3}body.menu #touch,body.options-open #touch,.mobile-help,.mobile-credits{display:none}@media(max-width:700px){header{padding:16px;gap:12px}.location{display:none}.wordmark{font-size:30px}.center-panel{left:6%;padding:25px}.map-panel{left:18px;width:150px}#minimap{width:150px;height:130px}.speed{right:20px}.speed #speed{font-size:60px}.controls{gap:8px;flex-wrap:wrap;bottom:48px}.controls>span:nth-child(3){display:none}footer{padding:8px 16px;flex-wrap:wrap;font-size:8px;gap:4px}#performance{top:85px;right:18px}#options{right:18px;top:80px;max-height:70dvh;overflow:auto}}@media(pointer:coarse){#touch{display:flex}.controls{display:none}header{padding:max(12px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 12px max(18px,env(safe-area-inset-left));gap:14px}.wordmark{font-size:28px}.wordmark span{font-size:10px}.location{display:none}#settings{min-width:48px;min-height:48px;padding:10px 14px;font-size:12px;border-radius:12px}.map-panel{left:max(18px,env(safe-area-inset-left));top:calc(max(12px,env(safe-area-inset-top)) + 62px);bottom:auto;width:110px;background:#202c2ca6}#minimap{display:block;width:110px;height:76px}.street-info{padding:7px 8px}.street-info span{display:none}.street-info strong{display:-webkit-box;font-size:10px;line-height:1.3;white-space:normal;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.speed{right:max(20px,env(safe-area-inset-right));top:calc(max(12px,env(safe-area-inset-top)) + 62px);bottom:auto}.speed #speed{font-size:40px}.speed #unit{font-size:10px}#performance{display:none}#toast{bottom:auto;top:32%;padding:0 18px;font-size:12px}body:not(.menu)>footer{display:none}.mobile-help{display:block;font-size:12px;line-height:1.5;color:#d2dacd;margin-top:16px}.mobile-credits{display:block;font-size:10px;line-height:1.6;margin-top:18px}.mobile-credits a{color:#c7d0c8}#options{z-index:5;top:calc(max(12px,env(safe-area-inset-top)) + 62px);right:max(18px,env(safe-area-inset-right));max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)) - 80px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.center-panel{max-height:calc(100dvh - 130px);overflow:auto}}@media(pointer:coarse)and (max-width:500px){#touch{padding-left:16px;padding-right:16px}.stick-zone{width:124px}#touch #move-pad{width:124px;height:124px}.stick-thumb{width:60px;height:60px}.pedal-zone{width:174px}.pedals{grid-template-columns:76px 86px}body[data-mode=drive][data-drive-controls=axis] .pedal-zone{width:174px}body[data-mode=drive][data-drive-controls=axis] .pedals{grid-template-columns:72px 90px}body[data-mode=drive][data-drive-controls=axis] #touch-brake{width:72px}body[data-mode=drive][data-drive-controls=axis] #drive-axis{width:90px}body[data-mode=walk] .stick-axis:after,body[data-mode=drive][data-drive-controls=joystick] .stick-axis:after{top:-49px;height:98px}}@media(pointer:coarse)and (max-height:450px){header{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:4px}.map-panel,.speed{top:calc(max(8px,env(safe-area-inset-top)) + 54px)}.map-panel{width:96px}#minimap{width:96px;height:62px}#touch{padding-bottom:max(16px,env(safe-area-inset-bottom))}#options{top:66px;max-height:calc(100dvh - 84px)}.center-panel{transform:translateY(-47%);max-height:calc(100dvh - 90px);padding:20px 26px}.center-panel .eyebrow{margin-bottom:10px;font-size:11px}h1{font-size:34px;margin-bottom:12px}.center-panel>p:not(.eyebrow){margin:8px 0}.primary{margin-top:5px;min-height:48px;padding:12px 16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}#construction{position:absolute;top:105px;left:50%;transform:translate(-50%);width:min(380px,calc(100vw - 32px));padding:12px 16px;border-left:4px solid #e3ad4c;background:#202c2cf2;color:#f1f0e6;pointer-events:none;z-index:4;font-size:12px}#construction strong,#construction [data-status]{display:block}#construction strong{font-size:14px;margin-bottom:5px}#construction progress{width:100%;height:5px;accent-color:#e3ad4c;margin-top:9px}#construction button{pointer-events:auto;margin-top:10px}.options-open #construction{display:none}@media(max-width:700px){#construction{top:max(78px,calc(env(safe-area-inset-top) + 58px));padding:9px 12px}#construction strong{font-size:12px}#construction [data-status]{font-size:11px}}#options{z-index:6;max-height:calc(100dvh - 100px);overflow-y:auto}body.options-open .map-panel,body.options-open .speed,body.options-open .controls,body.options-open #performance{visibility:hidden}#coverage-status{display:block;color:#e3be73;font-size:10px;line-height:1.4;margin-top:6px;max-width:190px}#coverage-status[data-stage=reviewed]{color:#b9d5bd}#launch-progress{display:block;width:min(400px,100%);height:6px;margin-top:24px;accent-color:#e3be73}#load-percent{display:block;font-size:11px;letter-spacing:.08em;color:#e3be73;margin-top:8px}#asset-loading{position:absolute;top:112px;right:28px;z-index:3;background:#202c2ce6;color:#d9dfd6;padding:8px 12px;font-size:11px;pointer-events:none}#asset-loading span,#asset-loading progress{display:block}#asset-loading progress{width:150px;height:3px;margin-top:5px;accent-color:#e3be73}#asset-loading[hidden]{display:none}@media(pointer:coarse){#asset-loading{top:98px;right:16px;font-size:10px}}#crossing-prompt{position:absolute;left:50%;bottom:90px;transform:translate(-50%);max-width:min(90vw,420px);padding:10px 14px;background:#202c2cf0;color:#f1f0e7;font-size:13px;pointer-events:auto;text-align:center}#crossing-prompt button{display:block;margin:8px auto 0;min-height:44px;touch-action:none;-webkit-user-select:none;user-select:none}#crossing-prompt button[hidden]{display:none}@media(pointer:coarse){#crossing-prompt{bottom:160px;font-size:12px}}body{touch-action:manipulation;overscroll-behavior:none}#options{touch-action:pan-y}#expanded-map{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}#expanded-map:active{cursor:grabbing}.world-map-body{position:relative}.world-map-tools{position:absolute;right:12px;top:12px;display:flex;gap:6px}.world-map-tools button{min-width:44px;min-height:44px;margin:0;padding:0 12px;background:#20302ff2;touch-action:none;-webkit-user-select:none;user-select:none}#map-zoom-in,#map-zoom-out{font-size:24px}.world-map-footer>span{text-align:right;line-height:1.5}@media(max-width:600px),(max-height:500px){.map-keyboard-hint{display:none}}.analytics-choice{margin-top:18px;padding-top:12px;border-top:1px solid #ffffff35;font-size:12px;line-height:1.45;max-width:430px}.analytics-choice p{margin:6px 0 10px;color:#d0d8d4}.analytics-choice small{display:block;margin-top:6px;color:#bcc7c3}.analytics-buttons{display:flex;gap:8px;flex-wrap:wrap}.analytics-buttons button{flex:1 1 130px;min-height:44px;padding:9px 12px;border:1px solid #cbd6ce;color:#eef4ef;background:#293735;font-size:12px}#options .analytics-buttons button{width:auto}.world-map-travel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px 16px;padding:14px 24px;border-top:1px solid #d5dfd326}.world-map-travel label{color:#c1cec4;font-size:12px}.world-map-travel select{display:block;width:100%;margin-top:6px;min-height:44px}.world-map-travel button{min-height:44px;margin:0;touch-action:manipulation}#map-use-location{background:#283d3a;color:#f4edda}#map-travel{color:#172321;background:#ddbd72;min-width:150px}#map-travel:disabled{opacity:.45;cursor:default}#map-travel-status{margin:0;align-self:center;line-height:1.5;font-size:12px;color:#d6dfd3}#map-travel-status[data-state=error]{color:#ffd2b8}#expanded-map:focus-visible{outline:3px solid #ddbd72;outline-offset:-3px}@media(max-width:600px){#expanded-map{height:min(43dvh,440px);min-height:160px}.world-map-travel{padding:12px;gap:10px;grid-template-columns:minmax(0,1fr) minmax(120px,.65fr)}.world-map-travel button{padding:10px;font-size:12px}#map-travel{min-width:0}.world-map-tools{top:8px;right:8px;gap:4px}.world-map-tools button{padding:0 9px;font-size:12px}}#world-map[open]{display:flex;flex-direction:column}.world-map-heading,.world-map-footer,.world-map-travel{flex:0 0 auto}.world-map-body{height:min(52dvh,640px);min-height:120px;flex:1 1 auto}#expanded-map{height:100%;min-height:0}@media(max-height:500px){.world-map-footer{display:none}.world-map-travel{padding:8px 12px;gap:6px 12px}.world-map-travel label{font-size:10px}.world-map-travel select{margin-top:2px}}.map-search-shell{position:relative;z-index:4;flex:0 0 auto;padding:10px 24px;background:#243330;border-bottom:1px solid #d5dfd326}.map-search-field label{display:block;font-size:11px;color:#c8d6cc;margin-bottom:5px}.map-search-input-row{display:flex;gap:6px}#map-search{width:100%;min-width:0;min-height:44px;margin:0;padding:9px 12px;border:1px solid #acc2b67d;border-radius:4px;color:#f7f7ec;background:#172724;font:inherit;font-size:16px;user-select:text;-webkit-user-select:text;touch-action:manipulation}#map-search::placeholder{color:#adbfb4;opacity:1}#map-search-clear{min-width:44px;min-height:44px;padding:0;margin:0;font-size:25px}#map-nearby{min-width:72px;min-height:44px;padding:9px 10px;margin:0;font-size:13px;border:1px solid #acc2b67d;white-space:nowrap}#map-nearby[aria-expanded=true]{color:#172724;background:#edc776}.map-results-panel{position:absolute;top:calc(100% - 1px);left:24px;right:24px;background:#172724;border:1px solid #acc2b67d;border-radius:0 0 5px 5px;box-shadow:0 12px 24px #07140f66}.map-results-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border-bottom:1px solid #acc2b64d;font-size:12px}#map-dismiss-results{min-height:44px;margin:0;padding:6px;border:0;background:transparent;font-size:12px}.map-search-results{max-height:min(210px,26dvh);overflow-y:auto;overscroll-behavior:contain}.map-search-results button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-height:52px;margin:0;padding:9px 12px;border:0;border-bottom:1px solid #c6d4c822;border-radius:0;background:transparent;color:#f3f1e4;text-align:left;touch-action:manipulation}.map-search-results button:hover,.map-search-results button:focus-visible{background:#35534b;outline:2px solid #ddbd72;outline-offset:-2px}.map-search-results button strong{font-weight:600;font-size:14px}.map-search-results button span,.map-search-results p{color:#c2d2c5;font-size:12px}.map-search-results p{padding:10px 12px}.map-search-summary{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.map-player-key{color:#51a4ff;text-shadow:0 0 1px white}@media(max-width:600px),(max-height:500px){.map-search-shell{padding:6px 12px}.map-search-results{left:12px;right:12px}}@media(max-height:500px){.map-search-field label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.world-map-heading{padding:6px 12px}.world-map-heading h2{margin:0;font-size:21px}.world-map-kicker{display:none}.world-map-body{min-height:80px}.world-map-travel label{font-size:0}.world-map-travel select{font-size:12px}}.map-selection-info{flex:0 0 auto;margin:0;padding:9px 15px;border-top:1px solid #d5dfd326;background:#31443a;color:#f6dfa6;font-size:12px;overflow-wrap:anywhere}.world-map-details{display:contents}.world-map-heading>div{min-width:0}#world-map-location{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:36px;margin:0;padding:5px 9px;border:1px solid #6bace06b;border-radius:4px;background:#203c4a;color:#e6f3ff;font-size:13px;text-align:left}#world-map-location:before{content:"● ";color:#64b5ff}#world-map-location:after{content:" · Recenter";color:#b4d8ee;font-size:11px}.map-categories{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding-top:7px;scrollbar-width:thin}.map-categories button{flex:0 0 auto;min-height:44px;margin:0;padding:6px 10px;border:1px solid #acc2b64d;background:#2d423c;font-size:12px;white-space:nowrap}.map-categories button[aria-pressed=true]{background:#edc776;color:#172724}@media(max-height:500px){.world-map-heading{padding:6px 12px;align-items:center}.world-map-heading h2,.world-map-kicker,.map-search-field>label{display:none}.map-search-shell{padding-top:5px;padding-bottom:5px}.map-categories{padding-top:4px}}#world-map-location{min-height:44px}#world-map-location[data-offscreen=true]{border-color:#edc776}.map-green-key{color:#a8cfad}.map-water-key{color:#99c6dc}.map-categories [data-category=shops]:before{content:"■ ";color:#edc776}.map-categories [data-category=landmarks]:before{content:"◆ ";color:#edc776}.map-categories [data-category=parks]:before{content:"● ";color:#8bd7a2}.map-categories button[aria-pressed=true]:before{color:#172724}#map-results-scroll-hint{margin:0;padding:6px 12px;font-size:11px;color:#c2d2c5;border-top:1px solid #acc2b64d}#map-place-pages:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 8px;border-top:1px solid #acc2b64d}#map-place-pages button{min-height:44px;margin:0;padding:6px;font-size:12px;background:transparent;border:0}#map-place-page{font-size:11px;color:#c2d2c5;white-space:nowrap}#options{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));padding:0 18px 20px;border-radius:20px;background:#1b2a29;overscroll-behavior:contain;scrollbar-width:thin;scroll-padding-top:100px}#options .settings-heading{position:sticky;top:0;z-index:2;align-items:center;margin:0 -18px;padding:18px;background:#1b2a29;border-bottom:1px solid #ffffff18}.settings-kicker{color:#bdc8c0;font-size:12px}#options h2{margin:4px 0 0;font:600 28px/1.1 Helvetica Neue,Helvetica,sans-serif;letter-spacing:-.7px}#options .settings-heading #close-settings{margin:0;border-radius:50%;background:#354343}.settings-shortcuts{display:flex;gap:8px;margin:16px 0}.settings-shortcuts a{display:flex;flex:1;align-items:center;justify-content:center;min-height:44px;border:1px solid #ffffff30;border-radius:10px;color:#f1f0e6;text-decoration:none;font-size:13px}.settings-shortcuts a:hover{background:#354343}#options .settings-group{margin:14px 0;padding:16px;max-width:none;border:0;border-radius:12px;background:#283936}#options h3{margin:0 0 12px;font-size:15px;font-weight:600}#options label{margin:14px 0;font-size:13px;font-weight:500}#options select{min-height:44px;min-width:0;padding:10px 8px;border-radius:8px;font-size:16px;background:#1b2a29}#options .settings-group>label:first-of-type{margin-top:0}#options .settings-hint{margin-bottom:0}#options button{border-radius:8px}#options .settings-about{padding:4px 6px}.settings-about summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:14px}#options .mobile-help,#options .mobile-credits{display:block}#options .mobile-credits a{color:#d3dfd4}.settings-shortcuts a:focus-visible,.settings-about summary:focus-visible{outline:3px solid var(--gold);outline-offset:2px}@media(max-width:480px){#options{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));width:calc(100vw - max(8px,env(safe-area-inset-left)) - max(8px,env(safe-area-inset-right)));max-height:calc(100dvh - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)))}}#world-map{width:min(1440px,calc(100vw - 32px));height:min(960px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);border-radius:14px}#world-map[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto}.world-map-heading{grid-area:1 / 1;padding:12px 16px;gap:12px}.world-map-heading h2{font-size:24px;margin:0 0 6px}.world-map-kicker{display:none}.map-search-shell{grid-area:2 / 1;min-width:0;padding:10px 12px}.world-map-body{grid-area:3 / 1;height:auto;min-height:0;min-width:0;overflow:hidden}#expanded-map{width:100%;height:100%;min-height:0}.world-map-details{grid-area:4 / 1;display:block;min-height:0;max-height:38dvh;overflow-y:auto;overscroll-behavior:contain}.world-map-footer{grid-area:5 / 1;padding:8px 16px}.world-map-travel{padding:10px 12px;gap:8px}.world-map-travel label{font-size:12px}.world-map-travel select{margin-top:4px;font-size:16px}.world-map-tools{max-width:calc(100% - 16px);flex-wrap:wrap;justify-content:flex-end}.map-results-panel{left:12px;right:12px}.map-search-results{max-height:min(240px,28dvh)}#world-map-location{max-width:100%}@media(min-width:760px),(min-aspect-ratio:4/3)and (max-height:500px){#world-map[open]{grid-template-columns:clamp(230px,38vw,320px) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto}.world-map-heading{grid-area:1 / 1 / 2 / -1;padding:10px 16px;align-items:center}.world-map-heading>div{display:flex;align-items:center;gap:18px}.world-map-heading h2{display:block;margin:0;white-space:nowrap}#world-map-location{max-width:min(50vw,540px)}.map-search-shell{grid-area:2 / 1;padding:12px;border-right:1px solid #d5dfd326}.map-categories{flex-wrap:nowrap;gap:4px}.map-categories button{flex:1 0 auto;padding:6px}.world-map-body{grid-area:2 / 2 / 4 / 3;height:auto;min-height:0}.world-map-details{grid-area:3 / 1;max-height:none;border:0;border-right:1px solid #d5dfd326}.world-map-details .world-map-travel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:8px 12px;gap:6px}.world-map-details .world-map-travel label{font-size:12px}.world-map-details .world-map-travel button{font-size:13px}.world-map-footer{grid-area:4 / 1 / 5 / -1}.map-results-panel{width:min(420px,calc(100vw - 60px));right:auto}.map-search-results{max-height:min(260px,max(80px,calc(100dvh - 340px)))}}@media(max-height:740px){.world-map-footer{display:none}.world-map-heading{padding:8px 12px}.world-map-heading h2{font-size:20px}.map-search-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}@media(max-width:759px){#world-map{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.world-map-heading>div{min-width:0}.world-map-travel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.world-map-travel label,#map-travel-status{grid-column:1 / -1}#map-use-location{grid-column:1}#map-travel{grid-column:2;min-width:0}.world-map-tools button{padding:0 8px;font-size:12px}.map-selection-info{padding:6px 12px}}.world-map-travel label{grid-area:1 / 1 / 2 / -1}#map-travel-status{grid-area:2 / 1 / 3 / -1}#map-use-location{grid-area:3 / 1}#map-travel{grid-area:3 / 2}@media(max-width:759px)and (min-height:501px){.world-map-heading h2{display:none}.world-map-heading{align-items:center}.world-map-travel{padding:8px 12px;gap:6px}}.world-map-travel label{margin:0}#map-travel{min-width:0}.world-map-body .map-selection-info{position:absolute;bottom:40px;left:12px;right:12px;max-height:35%;overflow-y:auto;border:1px solid #d5dfd345;border-radius:6px;background:#25382ff2}.world-map-body .map-selection-info{pointer-events:none}.world-map-tools{z-index:1}@media(max-width:600px)and (max-height:550px){.world-map-body .map-selection-info{bottom:4px;padding:4px 8px;font-size:11px}}#driving-records{pointer-events:auto;z-index:4}#records-toggle{display:flex;flex-direction:column;align-items:flex-end;min-width:86px;min-height:44px;padding:4px 6px;border:0;border-radius:14px;color:#f1f0e6;background:transparent;text-align:right;text-shadow:0 2px 4px #17252788}#records-toggle:hover,#records-toggle[aria-expanded=true]{background:#1b2a295c}.speedometer-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:18px}.records-trophy{flex:0 0 16px;width:16px;height:16px;color:#d2c6a4}#records-toggle[data-record=true] #speed,#records-toggle[data-record=true] .records-trophy{color:var(--gold)}#records-toggle[data-record=true] .speedometer-meta:after{content:"NEW";font:600 9px/1 Helvetica,sans-serif;letter-spacing:.04em;color:var(--gold)}#records-panel{margin:auto;padding:10px 12px;width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border:1px solid #bcd5c440;border-radius:16px;background:#172725;color:#f1f0e6;text-align:left;text-shadow:none;overflow:auto}#records-panel::backdrop{background:#071410b8}.records-overlay-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.records-overlay-heading h2{margin:0;font-size:15px}#records-close{min-width:44px;padding:0;font-size:25px;border:0;background:transparent}#records-overlay-view{display:block;width:auto;height:auto;max-width:calc(100vw - 50px);max-height:calc(100dvh - 160px);margin:4px auto;border-radius:6px}.records-actions{display:flex;gap:8px}.records-actions button{flex:1;min-height:44px}#records-status{margin:6px 0 0;max-width:50ch;color:#c1cfc5;font-size:11px}.records-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body.options-open #driving-records,body.map-open #driving-records{visibility:hidden}@media(pointer:coarse)and (max-height:500px){#records-toggle{min-width:72px;padding:0 3px}#driving-records #speed{font-size:30px;line-height:1}.speedometer-meta{min-height:14px;gap:4px}.records-trophy{width:14px;height:14px;flex-basis:14px}}#records-toggle{border:1px solid #d4e6dc35;background:#1b2a299c}.speedometer-open{font:18px/1 Helvetica,sans-serif;margin-left:2px}#records-toggle[data-record=true] #speed,#records-toggle[data-record=true] .records-trophy,#records-toggle[data-record=true] .speedometer-meta:after{color:#77f3a6}.record-flash{animation:record-best-flash .7s ease-in-out 3}@keyframes record-best-flash{0%,to{background-color:#1b2a299c;border-color:#77f3a670}50%{background-color:#167e48dc;border-color:#77f3a6;box-shadow:0 0 0 4px #4ee38a38}}body.records-open #hud>:not(#driving-records),body.records-open #touch,body.records-open>header,body.records-open #records-toggle{visibility:hidden}@media(prefers-reduced-motion:reduce){.record-flash{animation:none}#records-toggle[data-record=true]{border-color:#77f3a6;background:#1c4f35}}
