/* Keep the complete driving seat inside the viewport on every screen size. */
html:has(body.driving-world),body.driving-world{height:100%;overflow:hidden!important;margin:0!important}
body.driving-world .benny-cockpit{position:fixed!important;inset:var(--bna-site-header-height,0px) 0 0!important;width:100vw!important;max-width:none!important;height:calc(100dvh - var(--bna-site-header-height,0px))!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;z-index:30}
@media(min-width:1101px){body.driving-world .benny-cockpit .cockpit-windshield{flex:1 1 0!important;min-height:0!important;height:auto!important}body.driving-world .benny-cockpit .cockpit-dashboard{flex:0 0 230px!important;height:230px!important;min-height:230px!important;box-sizing:border-box!important}body.driving-world #sound{position:fixed!important;left:8px;top:calc(8px + var(--bna-site-header-height,0px));z-index:45;font-size:12px;min-height:36px;padding:5px 10px}body.driving-world .school-plan{position:fixed!important;left:120px!important;top:calc(8px + var(--bna-site-header-height,0px))!important;width:min(400px,32vw)!important;z-index:45;margin:0!important;padding:0!important}body.driving-world .school-open{min-height:36px!important;padding:5px!important;font-size:12px!important}body.driving-world:has(.cockpit-map-dialog:not([hidden])) :is(.school-plan,#sound){visibility:hidden!important}}
body.driving-world .adventure-stage{top:var(--bna-site-header-height,0px)!important;height:calc(100dvh - var(--bna-site-header-height,0px))!important;overflow:hidden!important}body.driving-world:has(.adventure-stage:not([hidden])) :is(.school-plan,#sound){visibility:hidden!important}

html[data-compact=true] body.driving-world .benny-cockpit .dashboard-status{font-size:10px!important;line-height:11px!important;align-self:start!important;max-height:30px;overflow:hidden}
@media(max-height:450px){html[data-compact=true] body.driving-world .cockpit-windshield>.valley-overview{width:90px!important;padding:3px!important}html[data-compact=true] body.driving-world .cockpit-windshield>.valley-overview .valley-location{padding:2px;font-size:8px;line-height:10px}html[data-compact=true] body.driving-world .cockpit-windshield>.valley-overview svg{height:55px!important;min-height:0!important;max-height:55px!important}html[data-compact=true] body.driving-world .valley-expand{min-height:20px!important;font-size:9px!important;padding:0!important}}
