*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;overflow:hidden;overscroll-behavior:none;background:#d9dbde;font-family:-apple-system,Segoe UI,Roboto,sans-serif;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}#canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none;outline:none}#ui{position:fixed;inset:0;pointer-events:none}.hidden{display:none!important}#hud-top{position:fixed;top:0;left:0;right:0;padding:calc(10px + env(safe-area-inset-top)) 10px 8px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:start;column-gap:10px;row-gap:4px;text-align:center;color:#2b2d31}#hud-controls{display:flex;align-items:center;gap:5px;pointer-events:none}#hud-centre{min-width:0;display:flex;flex-direction:column;align-items:center}#hud-centre>div:not(:empty){background:#ffffffd1;border-radius:8px;padding:1px 8px;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);box-shadow:0 1px 3px #0000001f}#hud-corner{position:relative;width:68px;pointer-events:none}#hud-title{font-size:15px;font-weight:600;letter-spacing:.02em}#hud-hint{font-size:13px;opacity:.95;margin-top:3px}#hud-title,#hud-hint,#mission-distance{max-width:100%}#joystick-zone{position:fixed;left:0;right:0;bottom:calc(18px + env(safe-area-inset-bottom));height:152px;display:flex;align-items:center;justify-content:center;pointer-events:none}#joystick-zone.floating{height:230px;pointer-events:auto;touch-action:none}#joystick-zone.disabled{pointer-events:none}#joystick-zone.floating .joystick-base{position:absolute;transition:left .12s ease,top .12s ease}#joystick-zone.floating .joystick-base.active{transition:none}.joystick-base{position:relative;width:128px;height:128px;border-radius:50%;background:#3c3f4624;border:2px solid rgba(60,63,70,.35);pointer-events:auto;touch-action:none}.joystick-base.active{background:#3c3f4633}.joystick-thumb{position:absolute;left:50%;top:50%;width:56px;height:56px;border-radius:50%;background:#2b2d31bf;transform:translate(-50%,-50%);pointer-events:none}#end-panel{position:fixed;left:50%;top:max(56px,8%);transform:translate(-50%);width:min(86vw,340px);max-height:calc(100vh - 200px - max(56px,8%));display:flex;flex-direction:column;background:#fffffff5;border-radius:14px;padding:18px 18px 14px;text-align:center;box-shadow:0 8px 30px #0000002e;pointer-events:auto;color:#2b2d31}#end-text{flex:0 0 auto;font-size:17px;font-weight:600;color:#2b2d31;margin-bottom:14px}#end-buttons{flex:0 0 auto;display:flex;flex-direction:column;gap:8px}#end-buttons button{min-height:44px;border:none;border-radius:10px;font-size:15px;font-weight:600;background:#3c3f461f;color:#2b2d31;cursor:pointer}#end-buttons button:active{opacity:.8}#end-buttons-row{display:flex;gap:8px}#end-buttons-row button{flex:1 1 0;min-width:0}#end-buttons #btn-next-map,#end-buttons #btn-next{background:#2b2d31;color:#fff}#end-buttons #btn-download{font-size:13px;font-weight:500;min-height:36px;background:transparent;color:#6b6f76}#rotate-overlay{position:fixed;inset:0;background:#2b2d31;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;text-align:center;padding:24px;pointer-events:auto;z-index:50}#debug-overlay{position:fixed;top:calc(64px + env(safe-area-inset-top));left:8px;background:#14161ac7;color:#d7e3ee;border-radius:8px;padding:8px 10px;font-size:11px;z-index:40;pointer-events:auto;max-width:80vw}#debug-overlay pre{margin:0 0 6px;font-family:ui-monospace,Consolas,monospace;white-space:pre-wrap}#debug-overlay button{font-size:11px;padding:4px 8px;border-radius:6px;border:none;background:#4a5568;color:#fff}#mission-distance{font-size:12px;margin-top:3px;opacity:.9;color:#2b2d31;font-variant-numeric:tabular-nums}#minimap{width:68px;height:68px;border-radius:10px;background:#ffffffb8;box-shadow:0 2px 8px #00000024;pointer-events:none}#minimap.hidden{display:none}#app-version{position:absolute;top:72px;right:0;max-width:104px;white-space:normal;padding:2px 6px;border-radius:6px;background:#14161a8c;text-align:right;font-size:10px;line-height:1.3;letter-spacing:.02em;color:#f2f4f7;font-variant-numeric:tabular-nums;pointer-events:none}#guidance{grid-row:2;grid-column:1 / -1;justify-self:center;max-width:100%;display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;white-space:nowrap;pointer-events:none;background:#2b2d31d1;color:#fff;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}#guidance.hidden{display:none}#guidance[data-kind=turn_around]{background:#b03a2ee6}#guidance[data-kind=arrive]{background:#2e7d50e6}#guidance-icon{font-size:15px}#floating-feedback{position:fixed;left:50%;top:30%;transform:translate(-50%,-50%);font-size:22px;font-weight:700;pointer-events:none;z-index:30;animation:feedback-fade 1.4s ease-out forwards}.feedback-smooth{color:#2e8b57}.feedback-awkward{color:#b3593a}@keyframes feedback-fade{0%{opacity:0;transform:translate(-50%,-40%) scale(.9)}15%{opacity:1;transform:translate(-50%,-50%) scale(1)}75%{opacity:1}to{opacity:0;transform:translate(-50%,-70%) scale(1)}}#collision-warning{position:fixed;left:50%;top:22%;transform:translate(-50%,-50%);padding:10px 18px;border-radius:10px;background:#b22222f0;color:#fff;font-size:18px;font-weight:800;letter-spacing:.02em;text-align:center;max-width:80vw;pointer-events:none;z-index:40;box-shadow:0 6px 24px #0000004d;animation:warn-flash 1.8s ease-out forwards}#collision-warning.hidden{display:none}@keyframes warn-flash{0%{opacity:0;transform:translate(-50%,-50%) scale(.86)}8%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}16%{transform:translate(-50%,-50%) scale(1)}80%{opacity:1}to{opacity:0}}#end-report{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-bottom:12px;text-align:left}#end-report .report-section{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6b6f76;margin:10px 0 4px}#end-report .report-section:first-child{margin-top:0}#end-report table{width:100%;font-size:12.5px;color:#2b2d31;border-collapse:collapse}#end-report td{padding:2px 6px 2px 0;vertical-align:top}#end-report .report-metrics td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding-right:0}#end-report .report-events{list-style:none;margin:0;padding:0}#end-report .report-events li{padding:5px 0;border-bottom:1px solid rgba(0,0,0,.07)}#end-report .report-events li:last-child{border-bottom:none}#end-report .report-line{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}#end-report .report-kind{flex:none;font-size:9.5px;font-weight:800;letter-spacing:.06em;padding:1px 5px;border-radius:4px;color:#fff}#end-report .report-collision{background:#b22222}#end-report .report-kerb_climb{background:#c07a24}#end-report .report-what{font-size:13px;font-weight:600}#end-report .report-x{font-size:11px;font-weight:700;color:#b22222}#end-report .report-where{font-size:11px;color:#8a8f96;font-variant-numeric:tabular-nums;margin-top:1px}#end-report .report-clean{color:#2e8b57;font-weight:600;font-size:13px;border-bottom:none}#end-report .report-note{display:block;font-size:10.5px;color:#8a8f96}#end-report .report-caveat{margin-top:10px;font-size:10.5px;line-height:1.4;color:#8a8f96}#tweak-panel,#map-panel,#start-panel{position:fixed;left:50%;top:max(56px,10%);transform:translate(-50%);width:min(86vw,340px);max-height:calc(100vh - 200px - max(56px,10%));overflow-y:auto;overscroll-behavior:contain;background:#fffffff7;border-radius:14px;padding:16px 18px 14px;box-shadow:0 8px 30px #0000002e;pointer-events:auto;z-index:45;color:#2b2d31}#tweak-panel .tweak-title,#map-panel .tweak-title{font-size:16px;font-weight:700;margin-bottom:10px}#tweak-panel .tweak-row{display:grid;grid-template-columns:1fr auto;grid-template-areas:"label value" "slider slider";align-items:center;gap:4px 10px;margin-bottom:10px;font-size:14px}#tweak-panel .tweak-row span{grid-area:label}#tweak-panel .tweak-row output{grid-area:value;font-variant-numeric:tabular-nums;opacity:.7;font-size:13px}#tweak-panel .tweak-row input[type=range]{grid-area:slider;width:100%;height:32px;accent-color:#2f3540;touch-action:pan-x}#tweak-panel .tweak-steer-row{grid-template-areas:"label label" "seg seg";margin-bottom:4px}#tweak-steer{grid-area:seg;display:grid;grid-template-columns:1fr 1fr;gap:6px}#tweak-steer button{min-height:40px;border:1px solid #c3c8d0;border-radius:8px;background:#fff;color:#2f3540;font:inherit;font-size:14px;cursor:pointer}#tweak-steer button.on{background:#2f3540;border-color:#2f3540;color:#fff}#tweak-panel .tweak-steer-note{margin-bottom:10px}.tweak-note{font-size:12px;opacity:.65;margin:12px 0 10px}#tweak-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}#btn-tweak-save{grid-column:1 / -1}#tweak-buttons button{font-family:inherit;min-height:42px;border:none;border-radius:10px;font-size:14px;font-weight:600;background:#2f3540;color:#fff;cursor:pointer}#btn-tweak-reset{background:#4a5568!important}#btn-tweak-close{background:#8a8f99!important}#map-error{position:fixed;inset:12% 8% auto;z-index:40;padding:16px 18px;border-radius:12px;background:#16181cf0;color:#f4f6f8;font-size:14px;line-height:1.45;white-space:pre-wrap;box-shadow:0 12px 40px #00000059}#map-error button{display:block;margin-top:14px;min-height:40px;padding:0 16px;border:0;border-radius:8px;background:#f4f6f8;color:#22242c;font:inherit;font-weight:600;cursor:pointer}.icon{display:block;flex:0 0 auto}#start-buttons button,#end-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.hud-btn,#btn-tweak,#btn-editor,#btn-maps{width:44px;height:44px;border-radius:50%;border:none;background:#ffffffb8;box-shadow:0 2px 8px #00000024;color:#2b2d31;display:grid;place-items:center;padding:0;pointer-events:auto;cursor:pointer}#btn-tweak:active,#btn-editor:active{background:#fffffff2}#hud-controls #btn-maps{width:52px;height:52px;background:#2b2d31db;color:#fff}#hud-controls #btn-maps:active{background:#2b2d31}#btn-tweak:focus-visible,#btn-editor:focus-visible,#btn-maps:focus-visible,#map-list .map-item:focus-visible,#end-buttons button:focus-visible,#map-buttons button:focus-visible{outline:2px solid #2e6fd8;outline-offset:2px}#start-panel{text-align:center}#start-eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#8a8f96}#start-map{font-size:21px;font-weight:800;line-height:1.2;margin:4px 0 6px}#start-desc{font-size:13px;line-height:1.4;color:#5c6169;margin-bottom:14px}#start-buttons{display:flex;flex-direction:column;gap:8px}#start-buttons button{min-height:48px;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;background:#3c3f461f;color:#2b2d31}#start-buttons #btn-start{background:#2b2d31;color:#fff}#end-note{flex:0 0 auto;margin-top:10px;font-size:10.5px;line-height:1.4;color:#8a8f96}#end-note[data-state=failed]{color:#b3593a}#start-note{margin-top:12px;font-size:11px;line-height:1.4;color:#8a8f96}#map-list{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}#map-list .map-item{display:block;width:100%;text-align:left;border:1px solid rgba(0,0,0,.1);border-radius:10px;background:#ffffffe6;padding:8px 10px;cursor:pointer;font:inherit;color:inherit}#map-list .map-item[aria-current=true]{border-color:#2e8b57;background:#2e8b5714}#map-list .map-item-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px;font-weight:700}#map-list .map-item-desc{font-size:11.5px;line-height:1.35;color:#5c6169;margin-top:2px}#map-list .map-item-meta{font-size:10.5px;color:#8a8f96;margin-top:3px}#map-list .map-badge{font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:1px 5px;border-radius:4px;color:#fff}#map-panel #map-count{font-weight:600;opacity:.5;font-variant-numeric:tabular-nums}#map-list .map-badge-now{background:#2e8b57}#map-list .map-badge-research{background:#3a5fb0}#map-list .map-badge-explore{background:#8a8f96}#map-list .map-badge-photographic{background:#0b6e7f}#map-list .map-empty{font-size:12.5px;color:#8a8f96}#map-buttons{position:sticky;bottom:-14px;margin:0 -18px -14px;padding:14px 18px;background:linear-gradient(to bottom,#fff0 0,#fffffff7 10px,#fff 18px);border-top:1px solid rgba(0,0,0,.07)}#map-buttons button{width:100%;min-height:40px;border:none;border-radius:10px;font-size:14px;font-weight:600;background:#3c3f461f;color:#2b2d31;cursor:pointer}#perf-overlay{position:fixed;left:8px;bottom:calc(260px + env(safe-area-inset-bottom));padding:6px 8px;border-radius:8px;background:#14161ac7;color:#d8f5c8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;line-height:1.45;white-space:pre;pointer-events:none;z-index:60}#btn-view{position:fixed;right:12px;bottom:calc(268px + env(safe-area-inset-bottom));width:48px;height:48px;border-radius:50%;border:none;display:grid;place-items:center;background:#ffffffc7;box-shadow:0 2px 8px #00000029;color:#2b2d31;padding:0;pointer-events:auto;cursor:pointer;z-index:25}#btn-view:active{background:#fffffff5}#btn-mute{position:fixed;right:12px;bottom:calc(212px + env(safe-area-inset-bottom));z-index:25;width:48px;height:48px;border-radius:50%;border:none;display:grid;place-items:center;background:#ffffffc7;box-shadow:0 2px 8px #00000029;color:#2b2d31;padding:0;pointer-events:auto;cursor:pointer}#btn-mute:active{background:#fffffff5}#btn-mute.off{color:#00000061}#btn-view:focus-visible{outline:2px solid #2e6fd8;outline-offset:2px}#btn-view.hidden{display:none}#btn-record{position:fixed;right:12px;bottom:calc(324px + env(safe-area-inset-bottom));width:48px;height:48px;border-radius:50%;border:none;display:grid;place-items:center;background:#ffffffc7;box-shadow:0 2px 8px #00000029;color:#2b2d31;padding:0;pointer-events:auto;cursor:pointer;z-index:25}#btn-record:active{background:#fffffff5}#btn-record:focus-visible{outline:2px solid #2e6fd8;outline-offset:2px}#btn-record.hidden{display:none}#btn-record.recording{background:#d33a2c;color:#fff;animation:record-pulse 1.6s ease-in-out infinite}@keyframes record-pulse{0%,to{box-shadow:0 2px 8px #00000029}50%{box-shadow:0 2px 8px #00000029,0 0 0 6px #d33a2c47}}@media(prefers-reduced-motion:reduce){#btn-record.recording{animation:none}}#record-panel{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(360px,calc(100vw - 32px));background:#fffffff7;border-radius:14px;box-shadow:0 10px 40px #00000047;padding:16px;z-index:40;pointer-events:auto}#record-panel.hidden{display:none}.record-row{align-items:center}#record-name{flex:1;min-width:0;font:inherit;font-size:15px;padding:8px 10px;border:1px solid rgba(0,0,0,.22);border-radius:8px;background:#fff;color:#1d1f22}#record-name:focus-visible{outline:2px solid #2e6fd8;outline-offset:1px}#record-buttons{display:flex;gap:8px;margin-top:14px}#record-buttons button{flex:1;font:inherit;font-size:15px;padding:11px 12px;border-radius:9px;border:1px solid rgba(0,0,0,.18);background:#f3f4f6;color:#1d1f22;cursor:pointer}#btn-record-arm{background:#d33a2c;border-color:#b93225;color:#fff;font-weight:600}.quick-row{display:flex;align-items:center;gap:6px;margin-top:10px}.quick-label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#0000008c;width:62px;flex:none;text-align:left;white-space:nowrap}.quick-row button{flex:1;font:inherit;font-size:13.5px;padding:8px 6px;border-radius:8px;border:1px solid rgba(0,0,0,.18);background:#f3f4f6;color:#1d1f22;cursor:pointer;white-space:nowrap}.quick-row button.on{background:#2e6fd8;border-color:#2a63c2;color:#fff;font-weight:600}.quick-row button:focus-visible{outline:2px solid #2e6fd8;outline-offset:1px}#drive-readout{position:fixed;left:12px;bottom:calc(322px + env(safe-area-inset-bottom));width:132px;padding:8px 10px 9px;border-radius:10px;background:#14161a9e;color:#fff;z-index:24;pointer-events:none;font-variant-numeric:tabular-nums}#drive-readout.hidden{display:none}.ro-top{display:flex;align-items:baseline;gap:4px}#ro-speed{font-size:21px;font-weight:700;line-height:1.05;letter-spacing:-.02em}.ro-unit{font-size:10px;opacity:.72}#ro-kmh{margin-left:auto;font-size:10px;opacity:.6}.ro-bar{position:relative;height:4px;margin-top:5px;border-radius:2px;background:#ffffff29;overflow:hidden}#ro-speed-fill{height:100%;width:0;border-radius:2px;background:#63d2a4;transition:width 80ms linear,background-color .16s ease}#ro-speed-fill[data-over="1"]{background:#f0b45a}.ro-steer{display:flex;align-items:center;gap:7px;margin-top:7px}.ro-track{position:relative;flex:1;height:12px;border-radius:3px;background:#ffffff21}.ro-centre{position:absolute;left:50%;top:2px;bottom:2px;width:1px;margin-left:-.5px;background:#ffffff6b}#ro-steer-marker{position:absolute;top:1px;bottom:1px;width:4px;margin-left:-2px;left:50%;border-radius:2px;background:#eaeef5;transition:left 80ms linear,background-color .16s ease}#ro-steer-marker[data-hard="1"]{background:#f0b45a}#ro-yaw{font-size:10px;opacity:.72;min-width:34px;text-align:right}@media(max-height:700px){#ro-kmh{display:none}}#lane-gauge{position:fixed;left:12px;bottom:calc(268px + env(safe-area-inset-bottom));width:132px;padding:8px 10px;border-radius:10px;background:#14161a9e;color:#fff;z-index:24;pointer-events:none}#lane-gauge.hidden{display:none}#lane-label{font-size:12px;font-weight:600;letter-spacing:.04em;margin-bottom:6px}#lane-bar{position:relative;height:6px;border-radius:3px;background:#ffffff40}#lane-zone{position:absolute;right:0;top:0;bottom:0;width:37.5%;border-radius:3px;background:#5ec8788c}#lane-marker{position:absolute;top:-3px;width:4px;height:12px;border-radius:2px;background:#fff;transform:translate(-50%);transition:left .15s linear}#lane-gauge[data-state=good] #lane-label{color:#7ee2a0}#lane-gauge[data-state=adrift] #lane-label{color:#ffd479}#lane-gauge[data-state=wrong] #lane-label{color:#ff8f7d}#lane-gauge[data-state=wrong] #lane-bar{background:#ff5a3c80}#star-pop{position:fixed;left:50%;top:57%;transform:translate(-50%);font-size:23px;font-weight:800;letter-spacing:.02em;color:#d97706;text-shadow:0 1px 3px rgba(255,255,255,.85);pointer-events:none;z-index:24;opacity:0}#star-pop.star-gold{color:#b45309;font-size:27px}#star-pop.star-run{animation:star-rise .85s ease-out forwards}@keyframes star-rise{0%{opacity:0;transform:translate(-50%,12px) scale(.7)}16%{opacity:1;transform:translate(-50%,-2px) scale(1.22)}30%{transform:translate(-50%,-6px) scale(1)}to{opacity:0;transform:translate(-50%,-36px) scale(1)}}:root{--theme-surface: rgba(250, 250, 248, .96);--theme-background: #d9dbde;--theme-text: #2b2d31;--theme-accent: #e08a1e;--theme-border: rgba(43, 45, 49, .18);--theme-radius: 10px}html,body{background:var(--theme-background);color:var(--theme-text)}#tweak-panel,#map-panel,#start-panel,#record-panel,#end-panel{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border);border-radius:var(--theme-radius)}.quick-row button,#tweak-panel button,#map-panel button,#start-panel button{border-color:var(--theme-border);color:var(--theme-text)}.quick-row button[aria-checked=true],#tweak-panel button[aria-checked=true],#map-panel button[aria-checked=true]{background:var(--theme-accent)}html[data-theme=neighborhood]{--adventure-panel: color-mix(in srgb, var(--theme-surface) 88%, transparent);--adventure-panel-strong: color-mix(in srgb, var(--theme-surface) 96%, transparent);--adventure-control: color-mix(in srgb, var(--theme-text) 10%, transparent);--adventure-control-hover: color-mix(in srgb, var(--theme-text) 18%, transparent);--adventure-muted: color-mix(in srgb, var(--theme-text) 70%, transparent);--adventure-shadow: color-mix(in srgb, var(--theme-background) 68%, transparent);--adventure-gold: #f2c66d}html[data-theme=neighborhood] #hud-centre>div:not(:empty),html[data-theme=neighborhood] #app-version,html[data-theme=neighborhood] #drive-readout,html[data-theme=neighborhood] #lane-gauge{background:var(--adventure-panel);color:var(--theme-text);border:1px solid var(--theme-border);box-shadow:0 5px 18px var(--adventure-shadow);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}html[data-theme=neighborhood] #hud-centre>div:not(:empty){border-radius:var(--theme-radius);padding:3px 9px}html[data-theme=neighborhood] #mission-distance,html[data-theme=neighborhood] #end-text{color:var(--theme-text)}html[data-theme=neighborhood] #minimap{background:var(--adventure-panel);border:1px solid var(--theme-border);border-radius:var(--theme-radius);box-shadow:0 5px 18px var(--adventure-shadow)}html[data-theme=neighborhood] #guidance{background:var(--adventure-panel-strong);color:var(--adventure-gold);border:1px solid var(--theme-border);box-shadow:0 5px 18px var(--adventure-shadow)}html[data-theme=neighborhood] .hud-btn,html[data-theme=neighborhood] #btn-tweak,html[data-theme=neighborhood] #btn-editor,html[data-theme=neighborhood] #btn-maps,html[data-theme=neighborhood] #btn-view,html[data-theme=neighborhood] #btn-mute,html[data-theme=neighborhood] #btn-record{background:var(--adventure-panel);color:var(--theme-text);border:1px solid var(--theme-border);box-shadow:0 5px 18px var(--adventure-shadow);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}html[data-theme=neighborhood] #hud-controls #btn-maps,html[data-theme=neighborhood] #start-buttons #btn-start,html[data-theme=neighborhood] #end-buttons #btn-next-map,html[data-theme=neighborhood] #end-buttons #btn-next,html[data-theme=neighborhood] #btn-tweak-save{background:var(--theme-accent);color:var(--theme-background)}html[data-theme=neighborhood] #tweak-panel,html[data-theme=neighborhood] #map-panel,html[data-theme=neighborhood] #start-panel,html[data-theme=neighborhood] #record-panel,html[data-theme=neighborhood] #end-panel{background:var(--adventure-panel-strong);color:var(--theme-text);border:1px solid var(--theme-border);box-shadow:0 14px 44px var(--adventure-shadow);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}html[data-theme=neighborhood] #start-eyebrow,html[data-theme=neighborhood] #start-desc,html[data-theme=neighborhood] #start-note,html[data-theme=neighborhood] #end-note,html[data-theme=neighborhood] #end-report .report-note,html[data-theme=neighborhood] #end-report .report-caveat,html[data-theme=neighborhood] .tweak-note,html[data-theme=neighborhood] .quick-label,html[data-theme=neighborhood] #map-list .map-item-desc,html[data-theme=neighborhood] #map-list .map-item-meta,html[data-theme=neighborhood] #map-list .map-item-id,html[data-theme=neighborhood] #map-list .map-empty{color:var(--adventure-muted)}html[data-theme=neighborhood] .quick-row button,html[data-theme=neighborhood] #tweak-steer button,html[data-theme=neighborhood] #start-buttons button,html[data-theme=neighborhood] #end-buttons button,html[data-theme=neighborhood] #map-buttons button,html[data-theme=neighborhood] #record-buttons button,html[data-theme=neighborhood] #map-list .map-item{background:var(--adventure-control);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:var(--theme-radius)}html[data-theme=neighborhood] #start-panel .quick-row button[aria-checked=true],html[data-theme=neighborhood] #map-panel .quick-row button[aria-checked=true],html[data-theme=neighborhood] #tweak-panel .quick-row button[aria-checked=true],html[data-theme=neighborhood] #tweak-steer button[aria-checked=true]{background:var(--theme-accent);border-color:var(--theme-accent);color:var(--theme-background)}html[data-theme=neighborhood] #map-list .map-item[aria-current=true]{border-color:var(--theme-accent);background:var(--adventure-control-hover)}html[data-theme=neighborhood] #map-buttons{background:linear-gradient(to bottom,transparent 0,var(--adventure-panel-strong) 18px);border-color:var(--theme-border)}html[data-theme=neighborhood] #record-name{background:var(--adventure-control);color:var(--theme-text);border-color:var(--theme-border)}html[data-theme=neighborhood] #record-name::placeholder{color:var(--adventure-muted)}html[data-theme=neighborhood] #tweak-panel input[type=range]{accent-color:var(--theme-accent)}html[data-theme=neighborhood] .joystick-base{background:color-mix(in srgb,var(--theme-surface) 56%,transparent);border-color:color-mix(in srgb,var(--theme-accent) 72%,transparent);box-shadow:inset 0 0 0 6px var(--adventure-control),0 8px 24px var(--adventure-shadow);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}html[data-theme=neighborhood] .joystick-base.active{background:color-mix(in srgb,var(--theme-surface) 72%,transparent)}html[data-theme=neighborhood] .joystick-thumb{background:var(--theme-accent);box-shadow:0 3px 14px var(--adventure-shadow)}html[data-theme=neighborhood] #ro-speed-fill,html[data-theme=neighborhood] #lane-zone{background:var(--theme-accent)}html[data-theme=neighborhood] #star-pop,html[data-theme=neighborhood] #star-pop.star-gold,html[data-theme=neighborhood] .feedback-smooth{color:var(--adventure-gold)}html[data-theme=neighborhood] .theme-picker{gap:4px}html[data-theme=neighborhood] .theme-picker .quick-label{width:52px}html[data-theme=neighborhood] .theme-picker button{min-width:0;padding-inline:3px;font-size:11.5px}@media(max-height:700px){html[data-theme=neighborhood] #hud-top{row-gap:2px}#hud-title{line-height:1.1}#hud-hint{margin-top:0}html[data-theme=neighborhood] #hud-centre>div:not(:empty){padding:1px 8px}}html[data-adventure-benchmark] #app-version,html[data-adventure-benchmark] #drive-readout,html[data-adventure-benchmark] #lane-gauge{display:none}html[data-adventure-benchmark] #hud-centre>div:not(:empty),html[data-adventure-benchmark] #minimap,html[data-adventure-benchmark] #guidance,html[data-adventure-benchmark] #hud-controls .hud-btn,html[data-adventure-benchmark] #btn-tweak,html[data-adventure-benchmark] #btn-editor,html[data-adventure-benchmark] #hud-controls #btn-maps,html[data-adventure-benchmark] #btn-view,html[data-adventure-benchmark] #btn-mute,html[data-adventure-benchmark] #btn-record:not(.recording){background:#07090bb3;color:#f4f4f2;border:1px solid rgba(237,240,242,.32);border-radius:8px;box-shadow:0 3px 12px #0000002e;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}html[data-adventure-benchmark] #hud-centre>#hud-title{font-size:13px;line-height:1.2;letter-spacing:.01em;padding:3px 8px}html[data-adventure-benchmark] #hud-centre>#hud-hint{font-size:10px;line-height:1.25;margin-top:2px;padding:2px 7px;color:#d8dcdf;opacity:1}html[data-adventure-benchmark] #hud-centre>#mission-distance{font-size:11px;line-height:1.25;margin-top:2px;padding:2px 7px;opacity:1}html[data-adventure-benchmark] #btn-record.recording{background:#d33a2c;color:#fff;border-radius:8px}html[data-adventure-benchmark] #joystick-zone{height:150px;bottom:calc(6px + env(safe-area-inset-bottom))}html[data-adventure-benchmark] .joystick-base{width:108px;height:108px;background:radial-gradient(circle,#1fb7a242,#17584c1a);box-shadow:inset 0 0 18px #26cfb426,0 0 16px #0d584c21;border:1px solid rgba(61,219,192,.6);backdrop-filter:none}html[data-adventure-benchmark] .joystick-thumb{width:40px;height:40px;background:#d1eee7}.map-real-toggle{margin-top:10px;display:flex;justify-content:center}.map-real-toggle-button{background:transparent;border:1px solid currentColor;border-radius:999px;color:inherit;cursor:pointer;font:inherit;font-size:.82rem;opacity:.72;padding:6px 14px}.map-real-toggle-button:hover,.map-real-toggle-button:focus-visible{opacity:1}
