:root{color-scheme:dark;--ink:#f0f2e9;--muted:#acb9ae;--accent:#dae9b4;--surface:#17231fee;--line:#b8cbb52e;--radius:18px;--edge:28px;--top:24px}
*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#10181c;color:var(--ink)}[hidden]{display:none!important}button,input,select{font:inherit}button{color:inherit;border:1px solid var(--line);background:#21302ac9;border-radius:10px;padding:10px 14px;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:#354437}button:disabled{opacity:.48;cursor:default}button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button[aria-expanded=true]{background:#dbe8bc;color:#233025;border-color:#dbe8bc}button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}kbd{font:500 11px/1.4 system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;min-width:21px;padding:2px 5px;border:1px solid #d0dfc63a;border-radius:5px;color:#e8eedb;white-space:nowrap}canvas{width:100%;height:100%;display:block;touch-action:none;outline:none}
.game-header{position:absolute;top:calc(var(--top) + env(safe-area-inset-top));left:calc(var(--edge) + env(safe-area-inset-left));right:calc(var(--edge) + env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none;z-index:10}.place-label{text-shadow:0 1px 9px #000c;min-width:0;line-height:1.4}.wordmark{font-size:10px;font-weight:650;letter-spacing:1.1px;opacity:.76}.place-label>div{display:flex;align-items:center;gap:13px}#biome{font-size:17px;font-weight:550;letter-spacing:-.3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#city-time{font-variant-numeric:tabular-nums;color:#e5e7d8;font-size:13px;opacity:.85}nav{display:flex;gap:8px;pointer-events:auto;flex-shrink:0}nav button{display:flex;align-items:center;gap:8px;backdrop-filter:blur(16px);background:#1b2923b8;font-size:13px;min-height:42px}nav kbd{border:0;opacity:.65;font-size:10px;min-width:12px;padding:0;margin-left:6px}nav button[aria-expanded=true] kbd{color:inherit}.help-button{width:42px;justify-content:center;font-size:19px;font-family:Georgia,serif;padding:6px}
.connection-message{position:absolute;left:50%;top:98px;transform:translateX(-50%);z-index:15;display:flex;align-items:center;gap:10px;padding:10px 15px;border-radius:12px;background:#192822ed;color:var(--ink);box-shadow:0 4px 20px #0003;font-size:12px;max-width:calc(100vw - 30px)}.connection-dot{width:6px;height:6px;background:var(--accent);border-radius:50%;flex-shrink:0}.connection-message[data-state=error] .connection-dot{background:#e7b191}
.game-footer{position:absolute;bottom:calc(26px + env(safe-area-inset-bottom));left:calc(var(--edge) + env(safe-area-inset-left));right:calc(var(--edge) + env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:flex-end;gap:20px;pointer-events:none;text-shadow:0 1px 8px #0009;z-index:9}.context-stack{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}#prompt{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:10px 14px;background:#1b2923b8;border:1px solid #ffffff12;backdrop-filter:blur(16px);border-radius:10px;font-size:12px}.context-action{display:flex;align-items:center;gap:7px}#destination{pointer-events:auto;border:1px solid #e0e8c42e;background:#1b2923b8;font-size:12px;color:#e9edca;backdrop-filter:blur(16px);padding:8px 12px}#speed{color:#f3f5e9;min-width:85px;text-align:right;white-space:nowrap}#speed>span{display:flex;align-items:baseline;gap:7px}#speed strong{font-size:40px;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-1.8px;line-height:1}#speed small{font-size:11px;color:#e4e9d7}#speed-note{display:block;margin-top:7px;min-height:16px}.panel-open #destination,.panel-open #prompt{visibility:hidden}
.game-panel{position:absolute;z-index:20;top:calc(82px + env(safe-area-inset-top));right:calc(var(--edge) + env(safe-area-inset-right));width:368px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 20px 70px #0005;backdrop-filter:blur(22px);scrollbar-width:thin;scrollbar-color:#75846a66 transparent;outline:none}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-3px 0 8px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.1px;text-transform:uppercase;color:var(--muted)}.panel-top button{width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:50%;font:25px/1 system-ui;background:transparent;color:#b9c6b7}.panel-top button:hover{background:#ffffff0a;color:white}h2{font-size:27px;line-height:1.2;font-weight:500;letter-spacing:-.8px;margin:0 0 12px}h3{font-size:20px;line-height:1.3;font-weight:500;letter-spacing:-.4px;margin:0 0 8px}p{margin:12px 0;color:var(--muted);font-size:12px;line-height:1.65}.panel-intro{font-size:13px;margin:0 0 19px;color:#b6c3b3}.game-panel details{border-top:1px solid var(--line);margin-top:16px;padding-top:13px}.game-panel summary{cursor:pointer;color:#d9e0cd;font-size:12px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 0;min-height:30px}.game-panel summary::-webkit-details-marker{display:none}.game-panel summary:after{content:'+';font-size:18px;font-weight:300;color:#adbba6}.game-panel details[open]>summary:after{content:'−'}.game-panel details[open]>summary{margin-bottom:9px}.game-panel dl{display:grid;grid-template-columns:86px 1fr;gap:12px 12px;font-size:12px;margin:15px 0}.game-panel dt{color:#d4e0be;font-size:11px}.game-panel dd{margin:0;color:#bdc9b8}.controls-primary{margin:20px 0!important}.game-panel label{display:block;color:var(--muted);font-size:11px}.game-panel select,.game-panel input{color:var(--ink);border:1px solid var(--line);background:#24322b;border-radius:8px;padding:11px;width:100%;margin-top:7px;font-size:12px;min-height:42px}.game-panel option{background:#24322b;color:var(--ink)}.empty-state{padding:18px 0;font-size:13px;color:var(--muted)}.panel-note{border-top:1px solid var(--line);padding-top:13px;margin:18px 0 0;font-size:10px;line-height:1.6;color:#9bab96}
/* People: present intentions first; personal detail remains one step away. */
.resident-city{margin:0 0 18px}.resident-select{margin:10px 0 22px}.resident-meta{font-size:12px;color:#b2c0aa}.resident-reason{font-size:13px;color:#e0e5cf;margin:17px 0 6px}.resident-target{font-size:11px;color:#b0be9e;margin:0 0 18px}.resident-needs{display:grid;grid-template-columns:1fr 1fr;gap:17px 19px;margin:16px 0 20px}.resident-needs label{font-size:11px;color:#cad3be}.resident-needs label>span{display:flex;justify-content:space-between;align-items:center;gap:5px}.resident-needs small{font-size:9px;color:#9eae95;white-space:nowrap}.resident-needs label[data-level=urgent] small{color:#e3b698}.resident-needs meter{display:block;appearance:none;width:100%;height:5px;margin-top:8px;border:0;border-radius:5px;overflow:hidden;background:#3b493833}.resident-needs meter::-webkit-meter-bar{height:5px;background:#3b4938;border:none;border-radius:5px}.resident-needs meter::-webkit-meter-optimum-value{background:#c4d6a6}.resident-needs meter::-webkit-meter-suboptimum-value{background:#d2bd87}.resident-needs meter::-webkit-meter-even-less-good-value{background:#d29f85}.resident-needs meter::-moz-meter-bar{background:#c4d6a6}.resident-money{font-size:26px;letter-spacing:-.6px;margin:13px 0}.resident-money small{display:block;font-size:11px;letter-spacing:0;color:var(--muted);margin-top:4px}.resident-home,.resident-friends{white-space:pre-line;font-size:12px;color:#bdcbb4}.resident-events{list-style:none;margin:10px 0;padding:0;font-size:11px;color:#bdcbb4}.resident-events li{display:flex;gap:11px;margin:10px 0;line-height:1.6}.resident-events time{color:#8f9e87;font-variant-numeric:tabular-nums;flex-shrink:0}.resident-debug{white-space:pre-line;font:10px/1.7 ui-monospace,monospace;color:#9ba890}
/* A storefront is a destination, then a transaction, then a business. */
.business-wallet{display:flex;align-items:center;gap:8px;color:#dae7bc;font-size:21px;letter-spacing:-.5px;margin:0 0 20px}.business-wallet small{color:#a7b599;letter-spacing:0;font-size:11px}.business-places{margin-bottom:20px}.business-detail{font-size:12px;color:#b7c6ac;white-space:pre-line;line-height:1.75}.business-feedback{font-size:12px;line-height:1.65;color:#d4dabd;margin:14px 0}.business-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.business-actions button{font-size:12px;min-height:42px;flex-grow:1}.business-actions button[data-action=lease],.business-actions button[data-action=buy],.business-actions button[data-action=restock]{background:#dae6b6;color:#273421;border:1px solid #dae6b6;font-weight:550}.business-actions button[data-action=lease]:hover,.business-actions button[data-action=buy]:hover,.business-actions button[data-action=restock]:hover{background:#e5edce}.business-management .business-actions{margin:10px 0}.business-price{margin:10px 0}.business-price input{max-width:120px}.business-price-row{display:flex;align-items:flex-end;gap:10px}.business-price-row .business-price{margin:0;flex:1}.business-price-row button{font-size:11px;min-height:42px}.business-release{margin-top:15px;border:0;background:transparent;color:#bfaa98;font-size:10px;padding:6px 0;text-decoration:underline;text-underline-offset:4px}.business-message{font-size:12px;color:#d4e7b7;margin:15px 0 0;min-height:0}.business-message:empty{display:none}.business-message[data-ok=false]{color:#edbb91}.business-session{font-size:10px;color:#b8b79b;margin:14px 0 0;line-height:1.55}.business-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0 4px}.business-metrics>div{font-size:17px;color:#e2e8ce}.business-metrics small{display:block;font-size:10px;color:#aab99d;margin-bottom:3px}#transit .transit-line{padding:9px 0;border-bottom:1px solid #ffffff0a;font-size:12px}#transit .transit-line small{display:block;margin-top:2px;color:#99ab93;font-size:10px}
#touch{display:none;position:absolute;bottom:120px;left:22px;right:22px;justify-content:space-between;align-items:flex-end;pointer-events:none;z-index:8}#stick{width:110px;height:110px;background:#1b292355;border:1px solid #d8e2c854;border-radius:50%;display:grid;place-items:center;touch-action:none;pointer-events:auto;color:#e1e8cd9e;font-size:28px}.touch-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;pointer-events:auto;touch-action:none}.touch-buttons button{touch-action:none;background:#1b2923bf;font-size:11px;min-height:42px}.panel-open #touch{display:none!important}
#debug-hud{position:absolute;left:28px;bottom:108px;padding:10px 12px;border:1px solid #a8bea744;border-radius:8px;background:#13211ce0;z-index:11;pointer-events:none;font:10px/1.8 ui-monospace,monospace;color:#c7d1bc}#telemetry{display:block;font:inherit}#debug-tools{pointer-events:auto;margin-top:7px}#debug-tools button{font-size:10px;padding:5px 8px}
#performance-hud{position:absolute;left:var(--edge);top:290px;width:190px;padding:10px 12px;border:1px solid #a8bea72e;border-radius:11px;background:#14231ed9;z-index:9;pointer-events:none;color:#dfe8da;backdrop-filter:blur(10px);font-variant-numeric:tabular-nums}.performance-summary{display:flex;align-items:baseline;gap:5px;line-height:1}.performance-summary strong{font:600 22px/1 system-ui,sans-serif;letter-spacing:-.5px}.performance-summary>span:not(.performance-dot){font-size:9px;color:#aebcac}.performance-summary small{margin-left:auto;font-size:9px;color:#b9c9b3}.performance-dot{align-self:center;width:6px;height:6px;border-radius:50%;background:#9ead9a}#performance-hud[data-level=good] .performance-dot{background:#9fd39b;box-shadow:0 0 8px #9fd39b88}#performance-hud[data-level=warning] .performance-dot{background:#e2be72;box-shadow:0 0 8px #e2be7288}#performance-hud[data-level=critical] .performance-dot{background:#e98279;box-shadow:0 0 8px #e9827988}#performance-hud dl{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;margin:9px 0 7px}#performance-hud dl div{min-width:0}#performance-hud dt{font-size:8px;line-height:1.4;color:#93a592}#performance-hud dd{margin:0;font:10px/1.4 ui-monospace,monospace;white-space:nowrap}#performance-backend{display:block;padding-top:6px;border-top:1px solid #ffffff16;font-size:8px;color:#879b88;text-transform:uppercase;letter-spacing:.35px}.inspecting-transport #performance-hud{display:none!important}
#transport-studio{position:absolute;z-index:30;top:16px;left:16px;width:280px;max-height:calc(100% - 32px);overflow:auto;padding:20px;background:#122129ed;border:1px solid #dfe9dc44;border-radius:8px;box-shadow:0 8px 35px #0004}#transport-studio h2{font-size:20px}#transport-studio label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;margin:10px 0}#transport-studio select{width:140px;color:#e8efe8;background:#24383f;border:1px solid #72827a;border-radius:3px;padding:5px}#transport-studio input[type=range]{width:100%;accent-color:#9ccdbb}#transport-studio button{padding:8px;font-size:11px;margin:8px 6px 0 0}#transport-studio pre{font:11px/1.65 ui-monospace,monospace;color:#cfdfd7;white-space:pre-wrap}#transport-studio a{color:#a5d4cc;font-size:12px}.inspecting-transport .game-header,.inspecting-transport .game-footer,.inspecting-transport #touch,.inspecting-transport .game-panel,.inspecting-transport #debug-hud,.inspecting-transport #connection{display:none!important}.inspecting-transport #world{margin-left:310px;width:calc(100% - 310px)}
@media(max-width:700px){:root{--edge:16px;--top:16px}.game-header{gap:12px}.place-label>div{gap:8px;flex-wrap:wrap;row-gap:0}#biome{font-size:15px;max-width:170px}#city-time{font-size:11px}nav{gap:6px}nav button{font-size:12px;padding:9px 11px;gap:6px}nav kbd{display:none}nav button svg{width:17px;height:17px}.help-button{width:38px;min-height:40px}#speed strong{font-size:32px}.game-panel{top:76px;max-height:calc(100dvh - 98px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.connection-message{top:82px}#prompt{font-size:11px;gap:7px 12px;padding:9px 11px}.game-footer{gap:12px}}
@media(max-width:480px){:root{--edge:12px;--top:12px}.wordmark{font-size:9px}#biome{font-size:14px;max-width:125px}.game-header{gap:10px}nav{gap:5px}nav button{padding:9px;font-size:11px;min-height:38px;gap:5px}nav button svg{display:none}.help-button{width:34px;min-width:34px}.game-panel{top:68px;right:12px;left:12px;width:auto;max-width:none;max-height:calc(100dvh - 84px - env(safe-area-inset-bottom));border-radius:16px;padding:20px}.game-footer{bottom:16px}#prompt{max-width:100%;font-size:10px;gap:7px 10px}.context-action{gap:5px}#prompt kbd{font-size:10px}#speed strong{font-size:29px}#speed{min-width:64px}#destination{font-size:11px;max-width:100%;text-align:left}h2{font-size:25px}.connection-message{top:73px;font-size:11px;width:max-content}#debug-hud{left:12px;right:12px;font-size:9px;bottom:120px}}
@media(pointer:coarse){#touch{display:flex}nav button{min-height:44px}.game-footer{bottom:22px}.game-panel .panel-top button{min-width:40px;min-height:40px}.game-panel summary{min-height:40px}#prompt{display:none}#touch{bottom:calc(105px + env(safe-area-inset-bottom))}}
@media(pointer:coarse) and (max-height:520px){#touch{bottom:70px}#stick{width:84px;height:84px}.touch-buttons{grid-template-columns:repeat(3,1fr)}.game-panel{max-height:calc(100dvh - 84px)}.game-footer{bottom:12px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* The player belongs to the city: a quiet wallet and one next step. */
#life-wallet{display:inline-flex;align-items:baseline;gap:8px;padding:1px 0;margin-top:4px;border:0;background:transparent;pointer-events:auto;color:#e7edc5;text-shadow:0 1px 7px #0009;font-size:13px;line-height:1.3;font-variant-numeric:tabular-nums}#life-wallet small{font-size:9px;color:#d6dfc2a6}#life-wallet:hover{color:#fff7cc}#life-hint{display:flex;align-items:center;gap:10px;pointer-events:auto;text-align:left;padding:9px 12px;border-color:#b7c3983d;background:#1b2923c9;font-size:12px;backdrop-filter:blur(16px);max-width:350px;color:#dfe8c8}#life-hint:before{content:'';flex-shrink:0;width:5px;height:5px;border-radius:50%;background:#cddda1}.panel-open #life-hint{visibility:hidden}.game-panel{top:calc(100px + env(safe-area-inset-top));max-height:calc(100dvh - 126px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
.actor-name{font-size:12px;color:#b4c3ab;margin:0 0 18px}.actor-wallet{font-size:31px;letter-spacing:-1px;line-height:1.2;margin:0 0 17px;color:#e9eccf}.actor-wallet small{display:block;font-size:11px;letter-spacing:0;margin-top:4px;color:var(--muted)}.actor-current{padding:14px 15px;background:#b8ca8510;border:1px solid #c6d69626;border-radius:12px;margin:14px 0 19px}.actor-current .eyebrow{font-size:9px}.actor-current h3{font-size:17px;margin:7px 0 5px}.actor-current p{font-size:11px;margin:0}.actor-progress{display:block;width:100%;height:4px;margin-top:12px;border:0;border-radius:4px;background:#75895936;accent-color:#d3e4a4}.actor-progress::-webkit-progress-bar{background:#75895936;border-radius:4px}.actor-progress::-webkit-progress-value{background:#d3e4a4;border-radius:4px}.actor-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.actor-actions button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;min-height:58px;font-size:12px;padding:10px 12px}.actor-actions button small{font-size:10px;line-height:1.4;color:#b4c5a2;font-weight:400}.actor-actions button[data-primary=true]{background:#dce7b8;color:#253322;border-color:#dce7b8}.actor-actions button[data-primary=true] small{color:#62704e}.actor-actions button[data-action=cancel]{grid-column:1/-1;min-height:36px;align-items:center;padding:8px}.actor-home,.actor-job,.actor-inventory{font-size:12px;line-height:1.7;color:#bfccb4;white-space:pre-line}.actor-result{font-size:12px;color:#dbe8b9}.actor-result:empty{display:none}.actor-result[data-ok=false]{color:#e1b292}.actor-empty{padding:20px 0;color:var(--muted);font-size:13px}.business-competition{font-size:11px;color:#aabf9e;margin:12px 0}.business-product{font-size:12px;color:#d6e2bd;margin:10px 0}.business-day{font-size:10px;color:#98ac8c;margin-top:3px}
@media(max-width:700px){.game-panel{top:92px;max-height:calc(100dvh - 110px - env(safe-area-inset-bottom))}nav button{gap:5px;padding:9px 10px}#life-wallet small{display:none}}
@media(max-width:480px){.game-header{align-items:flex-start;gap:8px}.place-label{padding-top:1px}.place-label>div{gap:3px 6px}#biome{max-width:100px;font-size:13px}#city-time{font-size:10px}.wordmark{font-size:8px}nav{gap:4px}nav button{padding:9px 8px;font-size:10px;min-height:38px}.help-button{width:31px;min-width:31px}#life-wallet{font-size:12px;margin-top:3px}.game-panel{top:87px;max-height:calc(100dvh - 101px - env(safe-area-inset-bottom))}#life-hint{max-width:250px;font-size:11px;padding:8px 10px}.connection-message{top:90px}.actor-actions button{font-size:11px}}

#building-hint{position:absolute;top:92px;left:24px;display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-left:3px solid #d5dcb3;border-radius:3px;background:rgba(23,36,39,.86);color:#f3f0dd;pointer-events:none;max-width:calc(100vw - 48px)}
#building-hint[hidden]{display:none}#building-hint strong{font-size:18px;font-weight:600}#building-hint span{font-size:12px;color:#ced4c7}
@media(max-width:600px){#building-hint{top:76px;left:12px;padding:8px 12px}}

#context-use{pointer-events:auto;display:flex;align-items:center;gap:10px;background:#dce7b8;color:#233322;max-width:min(380px,80vw);text-align:left}#context-use kbd{color:inherit;border-color:#66795055}.panel-open #context-use,.panel-open #building-hint{visibility:hidden}
.phone-panel{width:350px}.phone-network{margin-top:14px;color:#dce7b8;font-size:12px}.phone-plan{margin:6px 0 15px}.phone-number{font-size:22px!important;letter-spacing:1px;font-variant-numeric:tabular-nums}.phone-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.phone-keypad button{font-size:20px;padding:6px;min-height:38px;background:#ffffff08}.phone-send{margin-top:12px;width:100%;background:#dce7b8;color:#233322}.phone-note{font-size:10px}.phone-services{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.phone-services button{font-size:11px;flex:1}.phone-history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.phone-history li{padding:10px;background:#ffffff06;border-radius:10px;font-size:12px}.phone-history li[data-outgoing=true]{background:#bdd8a315;margin-left:20px}.phone-history small{display:block;font-size:9px;color:#a4b59a;margin-bottom:5px;overflow-wrap:anywhere}.phone-contacts{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.phone-contacts button{font-size:11px;text-align:left}.phone-result{color:#dce7b8}#phone-toggle svg{display:block!important}
@media(max-width:850px){#phone-toggle span,#phone-toggle kbd{display:none}#phone-toggle{padding:8px;min-width:34px;justify-content:center}}
@media(max-width:480px){.game-header{flex-wrap:wrap}.place-label{max-width:90px}nav{gap:3px}nav button{padding:8px 6px}.game-panel{top:98px;max-height:calc(100dvh - 112px - env(safe-area-inset-bottom))}#building-hint{top:103px;max-width:230px}#context-use{font-size:11px;max-width:260px}}

.housing-general,.housing-actions{display:flex;flex-wrap:wrap;gap:7px}.housing-general button,.housing-actions button{font-size:11px;flex:1 1 130px}.housing-controls label{margin-top:14px}.housing-bill{color:#e1d6b6}.housing-warning{font-size:10px!important}.housing-actions input{max-width:130px}
.garage-controls select{display:block;width:100%;margin:.6rem 0;padding:.65rem;background:#17242b;color:#f5f3e7;border:1px solid #53616a;border-radius:.5rem}.garage-controls button{margin:.25rem .25rem .25rem 0;padding:.65rem .8rem}.garage-help{font-size:.85rem;color:#bbc8c9;line-height:1.5}.police-cases p{border-left:3px solid #7babc3;padding-left:.65rem}

#vitals{position:absolute;left:var(--edge,28px);top:105px;width:190px;padding:12px 14px;border-radius:12px;background:#14231edd;color:#ecf3e7;pointer-events:none;z-index:9;font-size:11px;backdrop-filter:blur(10px)}#vitals label{display:block;margin-bottom:7px}#vitals label span{float:right;font-variant-numeric:tabular-nums}#vitals meter{display:block;width:100%;height:7px;margin-top:4px;border:0;border-radius:4px;overflow:hidden;background:#ffffff20}#vitals meter::-webkit-meter-bar{background:#ffffff20;border:0}#health-meter::-webkit-meter-optimum-value{background:#df827c}#stamina-meter::-webkit-meter-optimum-value{background:#9ac799}#balance-meter::-webkit-meter-optimum-value{background:#d8ba7b}#vitals small{display:block;font-size:10px;line-height:1.5;color:#cedacb}#combat-target{margin-top:8px;border-top:1px solid #ffffff25;padding-top:7px}#combat-impact{position:absolute;inset:0;pointer-events:none;z-index:8;transition:box-shadow .08s}body[data-hit="hit"] #combat-impact,body[data-hit="break"] #combat-impact{box-shadow:inset 0 0 65px #b3343455}body[data-hit="block"] #combat-impact{box-shadow:inset 0 0 45px #d3b16b44}.inspecting-transport #vitals,.panel-open #vitals{display:none}@media(max-width:600px){#vitals{top:75px;width:145px;padding:9px 11px;font-size:10px}#performance-hud{left:12px;top:235px;width:145px;padding:8px 10px}.performance-summary strong{font-size:19px}#performance-hud dl{gap:4px 8px}}

#lift-panel{position:fixed;right:28px;bottom:110px;z-index:22;display:flex;flex-direction:column;gap:10px;width:250px;padding:18px;border:1px solid #a8b4a54d;border-radius:14px;background:#14231eef;color:#ebeada;box-shadow:0 8px 30px #0003;font:14px system-ui}
#lift-panel[hidden]{display:none}#lift-panel>strong{font-size:18px}#lift-panel>span{color:#c4ceb9}.lift-floors{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-height:200px;overflow:auto}.lift-floors button{border:1px solid #b6c2ad55;border-radius:6px;padding:10px 6px;background:#354638;color:#f3edd3;cursor:pointer;font:inherit}.lift-floors button:only-child{grid-column:1/-1}.lift-floors button:disabled{opacity:.45;cursor:default}.lift-floors button:focus-visible{outline:2px solid #e4ce86;outline-offset:2px}
/* Keep the building/floor label clear of the health meters. */
#building-hint{left:auto;right:var(--edge,28px);top:100px;max-width:280px;z-index:10}
@media(max-width:600px){#building-hint{left:auto;right:12px;top:122px;max-width:calc(100vw - 210px);padding:9px 11px}#building-hint strong{font-size:14px}#building-hint span{font-size:11px}#lift-panel{right:12px;bottom:96px;width:220px;max-width:calc(100vw - 24px)}}

/* Four quiet anchors. Detailed mechanics live behind I; local extras live on Q. */
:root{--hud-surface:#162322e8;--hud-border:#dce9d326;--hud-accent:#dae9b4;--hud-radius:14px;--map-width:232px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.game-header{align-items:flex-start;flex-wrap:nowrap}.player-pocket{display:flex;flex-direction:column;gap:9px;pointer-events:auto}
#life-wallet{display:flex;flex-direction:column;align-items:flex-start;gap:1px;margin:0;padding:0;text-shadow:0 2px 8px #000a}
#life-wallet small{display:block;font-size:8px;letter-spacing:1.7px;color:#e0e7d6b3}#life-wallet>span{font-size:25px;line-height:1.2;font-weight:600;letter-spacing:-.7px}
#quick-inventory{display:flex;gap:5px}.inventory-slot{display:flex;position:relative;align-items:center;justify-content:center;width:37px;height:37px;padding:0;border:1px solid var(--hud-border);border-radius:8px;background:var(--hud-surface);color:#a7b7a777;font-size:19px;backdrop-filter:blur(12px)}button.inventory-slot{color:var(--ink)}.inventory-slot small{position:absolute;right:5px;bottom:2px;font-size:9px;color:var(--hud-accent)}
#info-toggle{pointer-events:auto;display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:50%;border-color:var(--hud-border);background:var(--hud-surface);font:italic 600 23px Georgia,serif;backdrop-filter:blur(12px)}
#navigation-hud{position:absolute;left:calc(var(--edge) + env(safe-area-inset-left));bottom:calc(var(--edge) + env(safe-area-inset-bottom));width:var(--map-width);z-index:9;pointer-events:none}
.minimap-frame{position:relative;overflow:hidden;border:1px solid var(--hud-border);border-radius:var(--hud-radius) var(--hud-radius) 5px 5px;box-shadow:0 5px 24px #0003;background:#263333}#minimap{width:100%;height:auto;aspect-ratio:256/176;opacity:.93}.map-north{position:absolute;top:8px;left:12px;font-size:10px;color:#f0f2e9;text-shadow:0 1px 5px #000}.map-scale{position:absolute;bottom:10px;right:12px;width:29px;padding-bottom:2px;border-bottom:2px solid #dfebdbaa;text-align:center;font-size:8px;text-shadow:0 1px 4px #000}
#navigation-hud #vitals{position:static;display:flex;gap:3px;width:100%;padding:5px 1px 0;background:none;border:0;border-radius:0;backdrop-filter:none}#vitals label{display:block;flex:1;margin:0;min-width:0}#vitals meter{appearance:none;display:block;width:100%;height:5px;margin:0;background:#14231ee0;border-radius:2px}#vitals meter::-webkit-meter-bar{height:5px;border-radius:2px;background:#14231ee0}#health-meter::-moz-meter-bar{background:#df827c}#stamina-meter::-moz-meter-bar{background:#9ac799}#balance-meter::-moz-meter-bar{background:#d8ba7b}
.game-footer{position:absolute;left:auto;right:calc(var(--edge) + env(safe-area-inset-right));bottom:calc(var(--edge) + env(safe-area-inset-bottom));width:320px;max-width:calc(100vw - var(--map-width) - var(--edge)*3);display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:16px;border:1px solid var(--hud-border);border-radius:var(--hud-radius);background:var(--hud-surface);box-shadow:0 5px 24px #0002;backdrop-filter:blur(16px);pointer-events:none;z-index:10}
.location-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-footer .place-label{max-width:none;min-width:0;padding:0}.place-label .eyebrow{font-size:8px;letter-spacing:1.7px;color:#bdccbb99}.game-footer .place-label>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}.game-footer #biome{font-size:18px;max-width:230px;letter-spacing:-.4px;line-height:1.4}.game-footer #city-time{font-size:11px;color:#c7d1c2}
.context-stack{align-items:stretch;gap:7px;width:100%;min-width:0}.context-stack:has(>[hidden]):not(:has(>:not([hidden]))){display:none}
#life-hint,#destination{border:0;border-radius:0;padding:0;max-width:100%;font-size:11px;line-height:1.5;background:none;backdrop-filter:none;color:#d2dfc1;text-align:left;box-shadow:none}#life-hint:before{display:none}
#context-use{max-width:100%;width:100%;padding:9px 10px;font-size:12px;border:0;border-radius:8px;background:#dae9b418;color:#e4edcf}#context-use kbd{color:#e4edcf;border-color:#d0dfc63a}
#prompt{padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;font-size:12px;min-height:0;max-width:100%;color:#e4edcf}#prompt .context-action{gap:9px}#combat-status,#combat-target{font-size:11px;color:#e5cda1;line-height:1.5;margin:0;padding:0;border:0}
.context-tools{display:flex;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--hud-border);pointer-events:auto}.context-tools button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:5px 0;min-height:30px;font-size:11px;background:none;border:0;border-radius:6px}.context-tools button:hover{background:#dae9b414}.context-tools kbd{font-size:9px;min-width:18px;padding:1px 4px}.context-tools svg{width:15px;height:15px}.context-tools #phone-toggle span,.context-tools #phone-toggle kbd{display:inline-flex}#phone-toggle[aria-expanded=true]{background:#dae9b414;color:var(--hud-accent)}
.game-footer #speed{min-width:0;text-align:right}#speed strong{font-size:27px}#speed small{font-size:9px}#speed-note:empty{display:none}
#location-detail:empty{display:none}#location-detail #building-hint{position:static;max-width:100%;width:auto;padding:0;background:none;border:0;border-radius:0}#building-hint strong{font-size:13px;font-weight:500}#building-hint span{font-size:10px;color:#aebeac}#location-detail:not(:has(#building-hint:not([hidden]))){display:none}
.game-panel{top:calc(78px + env(safe-area-inset-top));right:var(--edge);max-height:calc(100dvh - 100px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-color:var(--hud-border);border-radius:var(--hud-radius);background:var(--hud-surface)}
.mechanics-menu{display:grid;gap:7px}.mechanics-menu button{justify-content:space-between;width:100%;padding:12px;text-align:left;font-size:13px;background:#dae9b408;backdrop-filter:none}.mechanics-menu button small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.mechanics-menu kbd{display:block;margin:0}.debug-switch{display:flex!important;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding-top:16px;border-top:1px solid var(--hud-border);color:var(--ink)!important;font-size:12px!important}.debug-switch small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.game-panel input[type=checkbox]{width:17px;height:17px;min-height:0;margin:0;accent-color:var(--hud-accent)}#settings-tools [data-thegame-visual-panel]{max-width:none!important}
#performance-hud{top:140px;left:var(--edge);width:190px}#debug-hud{left:var(--edge);bottom:calc(var(--edge) + 195px);max-width:350px;max-height:180px;overflow:auto;pointer-events:auto}.panel-open #debug-hud,.panel-open #performance-hud{visibility:hidden}.panel-open .game-footer .context-stack,.panel-open #location-detail{display:none}.panel-open #navigation-hud{opacity:.65}
#radial-menu{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:470px;height:470px;max-width:none;max-height:none;padding:0;border:0;border-radius:50%;overflow:visible;background:radial-gradient(circle,#13211ff5 0 26%,#13211fcc 27% 66%,#13211f00 67%);box-shadow:none;backdrop-filter:none}
.radial-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:130px;text-align:center}.radial-center .eyebrow{font-size:8px;letter-spacing:1px}.radial-center h2{font-size:20px;margin:6px 0 10px}.radial-center button{padding:6px 8px;font-size:10px;color:#bdcbb9;background:none;border-color:var(--hud-border)}.radial-action{position:absolute;left:50%;top:50%;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y)));width:115px;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px;border-color:var(--hud-border);border-radius:12px;background:#1e302df2;color:#e2ead9;font-size:11px;line-height:1.3;text-align:center}.radial-action kbd{border:0;padding:0;min-width:0;color:#9caf93;font-size:9px}.radial-action:hover,.radial-action:focus-visible{background:#dae9b4;color:#203126;border-color:#dae9b4}.radial-action:hover kbd,.radial-action:focus-visible kbd{color:#506642}.radial-help{position:absolute;top:100%;width:100%;text-align:center;font-size:10px;margin:0;color:#d3ddc9;text-shadow:0 1px 5px #000}
#lift-panel{bottom:270px}.inspecting-transport #navigation-hud{display:none!important}
@media(max-width:700px){:root{--map-width:180px}.game-footer{width:270px;padding:12px}.game-footer #biome{font-size:16px}.game-footer #city-time{font-size:10px}.context-tools{gap:4px}.context-tools button{font-size:10px;gap:4px}.context-tools svg{display:none!important}#debug-hud{bottom:200px}}
@media(max-width:480px){:root{--map-width:136px}.inventory-slot{width:31px;height:31px}.player-pocket{gap:8px}#life-wallet>span{font-size:23px}#info-toggle{width:38px;height:38px}.game-footer{width:calc(100vw - var(--map-width) - var(--edge)*3);padding:10px;gap:8px}.game-footer #biome{font-size:14px;max-width:100%}.context-tools{flex-wrap:wrap;padding-top:6px}.context-tools button{flex-basis:100%;justify-content:flex-start;padding:2px;min-height:23px}.game-footer #speed strong{font-size:22px}.map-north{top:5px;left:7px;font-size:8px}.map-scale{width:17px;right:7px;bottom:6px;font-size:7px}#vitals meter,#vitals meter::-webkit-meter-bar{height:4px}.game-panel{left:12px;right:12px;width:auto;top:70px;max-height:calc(100dvh - 86px);padding:20px}#radial-menu{left:50%;right:auto;top:50%;width:360px;height:360px;padding:0}.radial-action{width:88px;height:67px;font-size:10px;transform:translate(calc(-50% + var(--x)*.78),calc(-50% + var(--y)*.78))}.radial-center{width:105px}.radial-center h2{font-size:17px}.radial-center .eyebrow{font-size:7px}.radial-help{font-size:9px}#debug-hud{max-width:calc(100vw - 24px)}#lift-panel{right:12px;bottom:285px}}
@media(max-height:540px){#radial-menu{transform:translate(-50%,-50%) scale(.8)}.game-footer{gap:6px}#navigation-hud{width:150px}}
@media(pointer:coarse){#touch{bottom:260px}.touch-buttons{grid-template-columns:repeat(2,1fr)}.touch-buttons [data-key=KeyG],.touch-buttons [data-key=KeyF]{display:none}.game-footer{bottom:calc(var(--edge) + env(safe-area-inset-bottom))}#prompt{display:flex}}

/* Location is text in the world, with no card or persistent key hints. */
.game-footer{padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;text-shadow:0 2px 6px #000c,0 1px 2px #000b;align-items:flex-end;text-align:right;gap:6px}
.location-row{justify-content:flex-end;width:100%}.game-footer .place-label>div{justify-content:flex-end}.game-footer .context-stack{align-items:flex-end}#life-hint,#destination{text-align:right;color:#e0eacb}#context-use{width:auto;padding:0;background:none;border:0;border-radius:0;color:#e0eacb;min-height:0;font-size:12px;text-align:right;text-shadow:inherit}#context-use kbd,#prompt kbd{display:none}#prompt{justify-content:flex-end;text-align:right}#phone-status{font-size:10px;color:#c6d4bc}#location-detail #building-hint{align-items:flex-end;text-align:right}.context-tools{display:none}
.mechanics-menu #phone-toggle{justify-content:space-between;padding:12px}.mechanics-menu #phone-toggle span,.mechanics-menu #phone-toggle kbd{display:block}
#info-toggle[aria-expanded=true]{background:var(--hud-accent);color:#203126}

/* Shared, translucent corner for system status and the I menu. */
#system-hud{position:absolute;top:calc(var(--top) + env(safe-area-inset-top));right:calc(var(--edge) + env(safe-area-inset-right));width:216px;padding:10px 11px 9px;border:1px solid #dce9d314;border-radius:var(--hud-radius);background:#16232252;backdrop-filter:blur(3px);color:#e1ead8;text-shadow:0 1px 4px #0009;pointer-events:none;z-index:12;font-variant-numeric:tabular-nums}
#system-hud #info-toggle{position:absolute;top:4px;right:4px;width:30px;height:30px;min-height:0;border:0;border-radius:10px;background:#dce9d30a;backdrop-filter:none;font-size:22px;color:var(--hud-accent);text-shadow:inherit;transition:background .15s}
#system-hud #info-toggle:hover,#system-hud #info-toggle:focus-visible{background:#dce9d324}#system-hud #info-toggle[aria-expanded=true]{background:var(--hud-accent);color:#203126;text-shadow:none}
#diagnostics-hud,#diagnostics-hud #performance-hud,#diagnostics-hud #debug-hud{position:static;inset:auto;width:auto;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;overflow:visible;pointer-events:none}
#diagnostics-hud .performance-summary{height:23px;padding-right:30px;gap:5px}#diagnostics-hud .performance-summary strong{font-size:21px}#diagnostics-hud .performance-summary small{font-size:8px;color:#c5d0bcb3}#diagnostics-hud .performance-dot{width:4px;height:4px;box-shadow:none}
#diagnostics-hud #performance-hud dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:9px 0 5px}#diagnostics-hud #performance-hud dt{font-size:8px;color:#c2d0b9b3}#diagnostics-hud #performance-hud dd{font-size:9px;line-height:1.5;color:#e1ead8}
.performance-graph{display:block;width:100%;height:23px;margin-top:3px;overflow:hidden}.performance-graph path{fill:none;vector-effect:non-scaling-stroke}.graph-guide{stroke:#dce9d325;stroke-width:.6;stroke-dasharray:2 3}.graph-line{stroke:var(--hud-accent);stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}.performance-graph[data-metric=cpu] .graph-line{stroke:#a4c7bf}.performance-graph[data-metric=gpu] .graph-line{stroke:#d8ba7b}
.diagnostics-foot{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid #dce9d30d;padding-top:5px;font:8px/1.4 ui-monospace,monospace;color:#c2d0b9a6}.diagnostics-foot b{font-weight:400;color:#dce9d3}#diagnostics-hud #performance-backend{font-size:7px;line-height:1.4;padding:0;border:0;color:inherit}
#diagnostics-hud #debug-hud{font:8px/1.5 ui-monospace,monospace;color:#c2d0b9a6}#diagnostics-hud #debug-connection{display:block;margin-top:3px}#diagnostics-hud #telemetry{font:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.panel-open #diagnostics-hud{display:none}body:not(.debug-mode) #system-hud,.panel-open #system-hud{width:38px;height:38px;padding:0;background:none;border-color:transparent;backdrop-filter:none}.inspecting-transport #system-hud{display:none!important}
@media(max-width:480px){#system-hud{width:182px;padding:8px 9px}#diagnostics-hud #performance-hud dl{gap:5px}#diagnostics-hud .performance-summary strong{font-size:19px}#diagnostics-hud .performance-summary small{font-size:7px}}

/* Place belongs to the map. Inventory recedes until hovered or focused. */
#navigation-hud .place-label{margin:0 0 7px;text-shadow:0 2px 6px #000d;line-height:1.3}#navigation-hud .place-label>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px}#navigation-hud #biome{font-size:14px;font-weight:550;max-width:calc(100% - 43px)}#navigation-hud #city-time{font-size:10px;color:#d0dbc8}#navigation-hud #location-detail{margin-bottom:7px;text-shadow:0 2px 5px #000c}#navigation-hud #location-detail:empty,#navigation-hud #location-detail:not(:has(#building-hint:not([hidden]))){display:none}#navigation-hud #location-detail #building-hint{align-items:flex-start;text-align:left}
#quick-inventory{gap:5px;opacity:.55;transition:opacity .15s}#quick-inventory:hover,#quick-inventory:focus-within{opacity:1}.inventory-slot{width:28px;height:28px;border-color:#dce9d31a;border-radius:5px;background:#16232230;backdrop-filter:none;font-size:16px;color:#dce9d340}.inventory-slot small{font-size:8px;right:3px;bottom:1px}button.inventory-slot{background:#16232255;color:#dce9d3bf}button.inventory-slot:hover{background:#24362d99}.player-pocket{gap:7px}
/* Transparent instrument cluster with an authoritative RPM arc and discrete gear. */
.game-footer #speed{position:relative;width:220px;min-width:0;height:166px;margin-bottom:4px;text-align:center;pointer-events:none;font-variant-numeric:tabular-nums}#tachometer{width:220px;height:145px;display:block;overflow:visible;filter:drop-shadow(0 2px 3px #0006)}#tachometer path{fill:none;stroke-width:4;stroke-linecap:round}.tach-track{stroke:#e2ebda30}.tach-redline{stroke:#e6908166}#tach-fill{stroke:#dce8bd;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .18s linear}.tach-labels{fill:#dce6d3;font:9px system-ui;text-anchor:middle}.drive-digits{position:absolute;top:65px;left:0;right:0;display:flex;justify-content:center;align-items:baseline;gap:20px}.drive-digits>div{display:flex;flex-direction:column;align-items:center}.game-footer #speed-value{font-size:40px;font-weight:500;letter-spacing:-1.5px;line-height:1}.game-footer #gear-value{font-size:26px;font-weight:500;line-height:1}.game-footer #speed .drive-digits small{font-size:9px;color:#c3cfb9;margin-top:5px}.game-footer #speed #rpm-readout{position:absolute;top:127px;left:0;right:0;font-size:10px;color:#d1dec2}.game-footer #speed-note{display:block;position:absolute;top:148px;width:100%;font-size:10px;color:#e5c98d}#speed[data-redline=true] #tach-fill{stroke:#ee9a87}#speed[data-redline=true] #rpm-readout{color:#ee9a87}#speed[data-powered=false] #tachometer,#speed[data-powered=false] #rpm-readout,#speed[data-powered=false] #gear-display{display:none}.game-footer #speed[data-powered=false]{height:75px}.game-footer #speed[data-powered=false] .drive-digits{top:0}.game-footer #speed[data-powered=false] #speed-note{top:60px}
@media(max-width:480px){#navigation-hud #biome{font-size:12px}#navigation-hud #city-time{font-size:9px}.inventory-slot{width:24px;height:24px}.game-footer #speed{zoom:.78}}
@media(prefers-reduced-motion:reduce){#quick-inventory,#tach-fill{transition:none}}

/* Navigation text lives inside the map, above a light bottom fade. */
#map-guidance{position:absolute;bottom:0;left:0;right:0;padding:13px 10px 8px;background:linear-gradient(transparent,#14221fa6 45%,#14221fd4);pointer-events:auto;text-shadow:0 1px 4px #000b}#map-guidance:not(:has(>button:not([hidden]))){display:none}
#map-guidance #life-hint,#map-guidance #destination{display:flex;align-items:baseline;gap:5px;width:100%;min-height:0;margin:0;padding:0;background:none;border:0;border-radius:0;backdrop-filter:none;box-shadow:none;font-size:11px;line-height:1.4;color:#e0eacb;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:inherit}#map-guidance button:hover{color:#fff}#map-guidance button:focus-visible{outline:1px solid var(--hud-accent);outline-offset:3px}
.minimap-frame .map-scale{top:9px;bottom:auto;right:10px}.panel-open #map-guidance{visibility:hidden}
@media(max-width:480px){#map-guidance{padding:12px 7px 6px}#map-guidance #life-hint,#map-guidance #destination{font-size:9px}.minimap-frame .map-scale{top:6px;right:7px}}

#map-guidance .guide-place{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#map-guidance .guide-distance{flex-shrink:0;margin-left:auto;font-variant-numeric:tabular-nums;color:var(--hud-accent)}

/* The occupied model and drivetrain use the same quiet instrument typography. */
.game-footer #speed{height:198px}.vehicle-identity{height:32px;display:flex;flex-direction:column;align-items:center;gap:4px}.game-footer #speed .vehicle-identity strong{font:550 11px/1.2 system-ui,sans-serif;letter-spacing:1px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.game-footer #speed .vehicle-identity small{font-size:9px;color:#bdcbb4}.game-footer #speed .drive-digits{top:97px}.game-footer #speed #rpm-readout{top:159px}.game-footer #speed #speed-note{top:180px}.game-footer #speed[data-powered=false]{height:107px}.game-footer #speed[data-powered=false] .drive-digits{top:32px}.game-footer #speed[data-powered=false] #speed-note{top:92px}
