#lane-world { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
#stage { z-index: 1; }
.hud, #pause-button, .coach { z-index: 3; }
.overlay { z-index: 5; }
#coach { bottom: max(75px, calc(env(safe-area-inset-bottom) + 75px)); }
.drive-controls { position: fixed; bottom: max(10px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 4; }
.drive-controls button { touch-action: none; min-width: 62px; min-height: 48px; border-radius: 15px; border: 1px solid #d8d7c6; background: #fff7e6; color: #253e46; font: 700 17px Inter, sans-serif; box-shadow: 0 3px 0 #a5b6b1; }
.drive-controls #brake-button { font-size: 12px; min-width: 112px; background: #fbdab9; }
.drive-controls button:active, .drive-controls button[aria-pressed=true] { transform: translateY(2px); box-shadow: 0 1px 0 #a5b6b1; }
.drive-controls button:focus-visible { outline: 3px solid #2d5ddd; outline-offset: 3px; }
@media (max-height: 560px) { #coach { top: 74px; bottom: auto; } }
