#sandboxDock{position:fixed;left:50%;bottom:132px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;z-index:35;max-width:94vw;padding:6px;border-radius:15px;background:#252c40e8;border:1px solid #b7a8c955;box-shadow:0 5px 18px #151b2933}#sandboxDock[hidden],#sandboxDock [hidden]{display:none!important}#sandboxDock button{padding:8px 12px;font-size:12px;white-space:nowrap}#carSpeed{font-size:13px;color:#d5e9ca;padding:0 8px}#driveButtons{display:flex;gap:5px}#driveButtons button{touch-action:none;user-select:none}#garagePanel{position:fixed;z-index:100;right:20px;top:80px;bottom:65px;width:370px;max-width:94vw;background:#f0e9df;color:#343b4c;border:1px solid #cec2d7;border-radius:24px;padding:22px;overflow:auto;box-shadow:0 18px 70px #11182a66}#garagePanel[hidden]{display:none}#garagePanel header{display:flex;align-items:center;justify-content:space-between;gap:10px}#garagePanel header small{font-size:10px;letter-spacing:1.6px;color:#83738d}#garagePanel h2{font-size:23px;margin:5px 0}#garagePanel h3{font-size:14px;margin:18px 0 8px}#garagePanel p,#garagePanel footer small{font-size:12px;line-height:1.8;color:#696575}#garagePanel button{background:#e2dbd8;color:#414256;border:1px solid #c8bfd0;border-radius:12px;padding:10px;cursor:pointer}#garagePanel button[aria-pressed=true]{outline:3px solid #a68dbb;outline-offset:1px}#garagePanel .primary{background:#77688e;color:white}.garage-models{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.garage-models svg{width:100%;height:55px}.garage-models b{font-size:12px}.garage-swatches{display:flex;gap:9px;flex-wrap:wrap}.garage-swatches button{width:30px;height:30px;padding:0!important;border-radius:50%!important}.garage-options{display:flex;gap:8px}.garage-options button{flex:1;font-size:12px}#garagePanel footer{display:grid;gap:9px;margin-top:22px}#garagePanel footer small{display:block}.driving-mode #soulDock,.driving-mode .weapon-bar,.driving-mode .touch-actions{display:none!important}.driving-mode #sandboxDock{bottom:28px}.driving-mode #driveButtons{display:flex}#garagePanel button:focus-visible,#sandboxDock button:focus-visible{outline:3px solid #ab8bc8;outline-offset:3px}@media(max-width:700px){#sandboxDock{bottom:166px;gap:4px;padding:5px;max-width:95vw;width:max-content}#sandboxDock button{font-size:11px;padding:8px}#sandboxDock kbd{display:none}.driving-mode #sandboxDock{left:auto;right:12px;bottom:26px;transform:none;max-width:60vw}#garagePanel{top:auto;right:3vw;bottom:14px;max-height:72vh;width:94vw;padding:18px}.garage-models svg{height:45px}}

.sandbox-shortcuts{display:flex;gap:6px;margin:10px 0}.sandbox-shortcuts button{font-size:11px;padding:7px 10px;border:1px solid #bfa7d066;border-radius:10px;background:#8e77983d;color:#f2e7d7}.driving-mode .world-footer>span{visibility:hidden}

#autoDrive,#garageAutoDrive{background:#74658f!important;color:#fff!important;border-color:#b6a0c5!important}.driving-mode #autoDrive{font-weight:700}#autoDrive:disabled{opacity:.5}

.sandbox-shortcuts{flex-wrap:wrap}#garageCoastView{background:#668a80!important;color:#fff!important}

/* Personal menus stay tucked into the header; only driving actions remain below. */
#sandboxMenu{position:relative;align-self:center}#sandboxMenu summary{list-style:none;cursor:pointer;padding:8px 10px;min-height:40px;display:flex;align-items:center;border:1px solid #ffffff24;border-radius:9px;background:#273345;color:#e8e4ec;font-size:11px;white-space:nowrap}#sandboxMenu summary::-webkit-details-marker{display:none}#sandboxMenu summary:focus-visible{outline:2px solid #c5e3b2;outline-offset:3px}.sandbox-menu-items{position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:7px;width:230px;max-width:85vw;padding:12px;background:#253045f5;border:1px solid #bdaccb55;border-radius:15px;box-shadow:0 10px 32px #10172755;z-index:80}#sandboxMenu:not([open]) .sandbox-menu-items{display:none}.sandbox-menu-items button{width:100%;text-align:left;min-height:42px!important;font-size:12px!important;padding:10px!important}#sandboxDock{padding:5px}#sandboxDock:empty{display:none}@media(max-width:700px){#sandboxMenu summary{font-size:9px;padding:5px 8px;min-height:40px}.sandbox-menu-items{position:fixed;top:56px;right:max(10px,env(safe-area-inset-right));width:230px}.driving-mode #sandboxDock{max-width:60vw}}

.world-header{z-index:60}
