/* One final responsive layer, after the older driving styles. */
#mobile-look-toggle{display:none}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 body[data-learning-layout] #drive-stage.stage.stage.stage,body[data-learning-layout] #drive-stage.stage.stage.stage.is-expanded,body[data-learning-layout] #drive-stage.stage.stage.stage:not(.is-expanded){inset:0!important;width:100%!important;height:100dvh!important;margin:0!important;border-radius:0!important}
 body[data-learning-layout] #drive-stage.stage.stage .compact-actions,body[data-learning-layout] #drive-stage.stage.stage.is-expanded .compact-actions{left:auto!important;right:max(10px,env(safe-area-inset-right))!important;top:max(10px,env(safe-area-inset-top))!important;width:auto!important;max-width:none!important;gap:6px!important}
 body[data-learning-layout] #drive-stage.stage.stage #drive-fullscreen-compact,body[data-learning-layout] #drive-stage.stage.stage #drive-close-view,body[data-learning-layout] #drive-stage.stage.stage #drive-home{display:none!important}
 body[data-learning-layout] #drive-stage.stage.stage #drive-camera-compact,body[data-learning-layout] #drive-stage.stage.stage #drive-tools-toggle{min-height:44px!important;min-width:58px!important;padding:8px!important;font-size:12px!important}
 body[data-learning-layout] #drive-stage.stage.stage #minimap-toggle{top:calc(max(10px,env(safe-area-inset-top)) + 52px)!important;right:max(10px,env(safe-area-inset-right))!important;min-height:44px!important;min-width:58px!important;background:#fffffff0!important;border-radius:12px!important}
 body[data-learning-layout] #drive-stage.stage.stage .hud{top:max(10px,env(safe-area-inset-top))!important;left:max(10px,env(safe-area-inset-left))!important}
 body[data-learning-layout] #drive-stage.stage.stage .touch-controls{left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;bottom:calc(env(safe-area-inset-bottom,0px) + 74px)!important}
 body[data-learning-layout] #drive-stage.stage.stage .steering-controls{bottom:0!important;gap:8px!important;align-items:center!important;flex-direction:column!important}
 body[data-learning-layout] #drive-stage.stage.stage #drive-steer{width:100px!important;height:100px!important;touch-action:none}
 body[data-learning-layout] #drive-stage.stage.stage .wheel-indicators{gap:4px!important}body[data-learning-layout] #drive-stage.stage.stage .wheel-indicators button,body[data-learning-layout] #drive-stage.stage.stage .wheel-indicators #drive-signal-hazard{min-height:44px!important;min-width:44px!important;width:44px!important;padding:3px!important;font-size:10px!important}
 body[data-learning-layout] #drive-stage.stage.stage .pedal-controls{bottom:0!important;gap:8px!important;align-items:flex-end!important}
 body[data-learning-layout] #drive-stage.stage.stage .gas-pedal{width:62px!important;height:120px!important;min-height:44px!important}
 body[data-learning-layout] #drive-stage.stage.stage .brake-pedal{width:68px!important;height:78px!important;min-height:44px!important}
 body[data-learning-layout] #drive-stage.stage.stage .quick-drive-actions,body[data-learning-layout] #drive-stage.stage.stage.is-expanded .quick-drive-actions{bottom:calc(env(safe-area-inset-bottom,0px) + 10px)!important;left:10px!important;right:10px!important;gap:6px!important;justify-content:center!important}
 body[data-learning-layout] #drive-stage.stage.stage .gear-picker{gap:2px!important}body[data-learning-layout] #drive-stage.stage.stage .gear-picker button{min-width:44px!important;min-height:44px!important;padding:5px!important;font-size:14px!important}
 body[data-learning-layout] #drive-stage.stage.stage #drive-parking{min-width:0!important;flex:0 1 140px!important;min-height:44px!important;padding:5px 7px!important;font-size:11px!important}
 body[data-learning-layout] #drive-stage.stage.stage #mobile-look-toggle:not([hidden]){display:block;position:absolute;z-index:9;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 120px);min-height:44px;min-width:90px;padding:8px;background:#183c35ec;color:white;border:1px solid #b8d1c7;border-radius:14px;font-size:12px}
 body[data-learning-layout] #drive-stage.stage.stage .driver-look{display:none!important}
 body[data-learning-layout] #drive-stage.stage.stage.mobile-look-open #driver-look:not([hidden]){display:flex!important;bottom:calc(env(safe-area-inset-bottom,0px) + 230px)!important;left:10px!important;right:10px!important;transform:none!important;flex-direction:row!important;flex-wrap:nowrap!important;max-width:none!important;gap:4px!important;padding:5px!important}
 body[data-learning-layout] #drive-stage.stage.stage #driver-look button{flex:1!important;min-width:0!important;min-height:44px!important;font-size:11px!important;padding:5px!important}
 body[data-learning-layout] #drive-stage.stage.stage .mobile-driving-hint,body[data-learning-layout] #drive-stage.stage.stage .motion-help{bottom:calc(env(safe-area-inset-bottom,0px) + 230px)!important}
 body[data-learning-layout] #drive-stage.stage.stage.mobile-look-open .mobile-driving-hint{display:none!important}
 body[data-learning-layout] #drive-stage.stage.stage.is-on-foot #mobile-look-toggle{display:none!important}
 .drive-menu #mobile-menu-actions button{min-height:48px;text-align:center;font-size:13px}
 body[data-learning-layout] #drive-stage.stage.stage .door-actions:empty{display:none}
}
@media(max-width:359px){body[data-learning-layout] #drive-stage.stage.stage #drive-steer{width:88px!important;height:88px!important}body[data-learning-layout] #drive-stage.stage.stage .gas-pedal{width:56px!important}body[data-learning-layout] #drive-stage.stage.stage .brake-pedal{width:58px!important}body[data-learning-layout] #drive-stage.stage.stage .gear-picker button{min-width:44px!important}}
@media(max-width:1000px) and (max-height:500px){
 body[data-learning-layout] #drive-stage.stage.stage .quick-drive-actions,body[data-learning-layout] #drive-stage.stage.stage.is-expanded .quick-drive-actions{left:160px!important;right:160px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 10px)!important}
 body[data-learning-layout] #drive-stage.stage.stage #mobile-look-toggle:not([hidden]){bottom:calc(env(safe-area-inset-bottom,0px) + 64px)}
 body[data-learning-layout] #drive-stage.stage.stage.mobile-look-open #driver-look:not([hidden]){bottom:calc(env(safe-area-inset-bottom,0px) + 118px)!important;left:160px!important;right:160px!important}
 body[data-learning-layout] #drive-stage.stage.stage #drive-steer{width:78px!important;height:78px!important}
 body[data-learning-layout] #drive-stage.stage.stage .gas-pedal{height:100px!important}
 body[data-learning-layout] #drive-stage.stage.stage .mobile-driving-hint,body[data-learning-layout] #drive-stage.stage.stage .motion-help{left:160px!important;right:160px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 118px)!important}
}

@media(max-width:700px),(max-width:1000px) and (max-height:500px){body[data-learning-layout] #drive-stage.stage.stage #drive-camera-compact.short-label,body[data-learning-layout] #drive-stage.stage.stage #drive-tools-toggle.short-label{font-size:0!important}body[data-learning-layout] #drive-stage.stage.stage #drive-camera-compact.short-label::after{content:"Kamera";font-size:12px!important}body[data-learning-layout] #drive-stage.stage.stage #drive-tools-toggle.short-label::after{content:"Menü";font-size:12px!important}}

@media(max-width:359px){body[data-learning-layout] #drive-stage.stage.stage #mobile-look-toggle:not([hidden]){bottom:calc(env(safe-area-inset-bottom,0px) + 238px)}body[data-learning-layout] #drive-stage.stage.stage #drive-parking{flex-basis:110px!important}body[data-learning-layout] #drive-stage.stage.stage .gear-picker{gap:0!important}body[data-learning-layout] #drive-stage.stage.stage .quick-drive-actions{gap:4px!important}}
@media(max-width:1000px) and (max-height:500px){body[data-learning-layout] #drive-stage.stage.stage .touch-controls{bottom:calc(env(safe-area-inset-bottom,0px) + 10px)!important}}

#mobile-drive-welcome{display:none}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){body[data-learning-layout] #drive-stage.stage.stage #mobile-drive-welcome:not([hidden]){display:flex;position:absolute;inset:0;z-index:50;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center;background:linear-gradient(155deg,#e7f0e9,#faf8ef);color:#183c35;gap:16px}#mobile-drive-welcome strong{font-size:28px;line-height:1.15}#mobile-drive-welcome p{font-size:16px;max-width:260px;margin:0}#mobile-drive-welcome #entry-free{display:block!important;min-height:54px;min-width:220px;background:#183c35;color:#fff;border:0;border-radius:16px;font-size:18px;padding:12px 20px}}
