#vehicleControls[hidden],#vehicleEnter[hidden]{display:none!important}
#vehicleControls{position:fixed;right:18px;bottom:max(20px,env(safe-area-inset-bottom));z-index:1300;display:grid;gap:8px;color:#edf5ef;font:13px system-ui;max-width:340px}
#vehicleControls button,#vehicleEnter{border:1px solid #d5e4dc38;border-radius:12px;background:#14241bc2;backdrop-filter:blur(12px);color:#edf5ef;padding:9px 13px;font:500 12px system-ui;touch-action:none;user-select:none;cursor:pointer}
#vehicleControls button:active{background:#52715bba}#vehicleControls .vehicle-pedals{display:flex;justify-content:flex-end;gap:8px}#vehicleControls [data-pedal]{min-width:72px;min-height:56px}#vehicleControls [data-pedal=handbrake]{min-width:40px}#vehicleControls .vehicle-options{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}#vehicleControls .vehicle-options button{padding:8px 10px;font-size:11px}.vehicle-speed{text-align:right;font-size:22px;font-weight:300;text-shadow:0 2px 6px #000;font-variant-numeric:tabular-nums}.vehicle-speed small{font-size:12px;opacity:.75;margin-left:8px}
#vehicleEnter{position:fixed;left:50%;transform:translateX(-50%);bottom:115px;z-index:1300}.vehicle-credit{font:9px system-ui;color:#dce4dc9c;text-align:right}
.driving-car #actions,.driving-car #zonePrompt,.driving-car #standUpButton,.driving-car #hint{display:none!important}.driving-car #joystick{opacity:.6!important;pointer-events:auto!important}.driving-car #scene{touch-action:none}.vehicle-debug{position:fixed;top:10px;left:10px;background:#000b;color:#9f9;font:11px monospace;z-index:1500;pointer-events:none}
@media(pointer:fine){#vehicleControls .vehicle-pedals{display:none}.driving-car #joystick{display:none!important}}
@media(max-width:600px){#vehicleControls{right:10px;max-width:250px;bottom:max(12px,env(safe-area-inset-bottom))}#vehicleControls .vehicle-options button{padding:7px 9px}#vehicleEnter{bottom:110px}}

#vehicleReset[hidden]{display:none!important}#vehicleReset{position:fixed;right:14px;top:90px;z-index:1300;border:1px solid #d5e4dc38;border-radius:12px;background:#14241bd9;color:#edf5ef;padding:9px 12px;font:500 12px system-ui;touch-action:manipulation}.vehicle-passenger .vehicle-pedals,.vehicle-passenger [data-gear],.vehicle-passenger [data-lights]{display:none!important}

/* Compact touch controls with consistent outline icons and accessible names. */
#vehicleControls{gap:10px;max-width:280px}
#vehicleControls button,#vehicleReset{display:inline-flex;align-items:center;justify-content:center;padding:0;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#203b32dc,#101f1bdc);box-shadow:0 3px 16px #0002;cursor:pointer}
#vehicleControls svg,#vehicleReset svg{pointer-events:none;width:23px;height:23px}
#vehicleControls .vehicle-options{gap:7px}
#vehicleControls .vehicle-options button{padding:0;font-size:14px;min-width:44px}
#vehicleControls [data-pedal]{min-width:64px;min-height:64px;width:64px;height:64px;border-radius:19px}
#vehicleControls [data-pedal] svg{width:29px;height:29px}
#vehicleControls [data-pedal=handbrake]{min-width:48px;width:48px}
#vehicleControls button[aria-pressed=true]{border-color:#98ceb17a;color:#bef0d6}
#vehicleControls button:focus-visible,#vehicleReset:focus-visible{outline:2px solid #beebd2;outline-offset:3px}
#vehicleReset{top:86px;right:14px}
@media(max-height:500px){#vehicleControls{bottom:max(8px,env(safe-area-inset-bottom));gap:6px}#vehicleControls [data-pedal]{height:56px;min-height:56px}.vehicle-speed{font-size:20px}}
