/* Fullscreen third-person 3D drive: blue sedan, pure white void, no road or grid. */
html:has(body.drive-page),body.drive-page{margin:0!important;width:100%;height:100%;min-height:100%;overflow:hidden!important;background:#fff!important;color:#111}
body.drive-page{position:relative}
body.drive-page .topbar,body.drive-page footer,body.drive-page .music-dock{display:none!important}
body.drive-page main{display:block!important;margin:0!important;padding:0!important;width:100%;height:100%;min-height:100%;background:#fff}
.drive-experience{position:fixed;inset:0;z-index:0;width:100vw;height:100vh;height:100dvh;min-height:100%;margin:0;padding:0;overflow:hidden;background:#fff}
.drive-scene{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#fff;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}
#drive-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;outline:none;touch-action:none}
.drive-edge-hint{position:fixed;z-index:5;top:50%;transform:translateY(-50%);color:#111;opacity:.12;font-family:Arial,sans-serif;font-size:54px;font-weight:200;line-height:1;pointer-events:none;transition:opacity .2s}
.drive-left-hint{left:clamp(14px,4vw,55px)}
.drive-right-hint{right:clamp(14px,4vw,55px)}
.drive-scene.is-drifting-left .drive-left-hint,.drive-scene.is-drifting-right .drive-right-hint{opacity:.4}
.drive-hint{position:fixed;z-index:5;left:0;right:0;bottom:clamp(18px,4vh,36px);padding:8px 12px;color:#b4b4b4;text-align:center;font-family:Arial,sans-serif;font-size:9px;font-weight:800;letter-spacing:2.8px;pointer-events:none;transition:opacity .6s;opacity:.62}
.drive-scene.is-drifting .drive-hint{opacity:.22}
@media(max-width:680px){
 .drive-edge-hint{font-size:38px}
 .drive-hint{font-size:8px;letter-spacing:2px;bottom:22px}
}
@media(prefers-reduced-motion:reduce){.drive-hint{transition:none}}


/* The supplied standalone game runs unchanged inside this full-screen frame. */
.drive-game-frame{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;background:#2b3648}
