/* Visible steering surface in every camera, including chase. */
body[data-camera=chase][data-edition] #wheel-control,body[data-camera=high][data-edition] #wheel-control{left:16px;bottom:16px;width:180px;height:180px;z-index:6;pointer-events:auto}
body[data-camera=chase][data-edition] #steering-pad,body[data-camera=high][data-edition] #steering-pad{background:#102b3cdd;border:2px solid #7ab5c9;border-radius:50%;display:flex;justify-content:center;gap:6px;touch-action:none}
body[data-camera=chase][data-edition] .wheel-rim,body[data-camera=high][data-edition] .wheel-rim{display:block;width:112px;height:112px;flex-shrink:0;pointer-events:none}
body[data-camera=chase][data-edition] #steering-pad small,body[data-camera=high][data-edition] #steering-pad small{position:absolute;bottom:4px;font-size:9px}
.flight-controls{position:absolute;bottom:116px;right:20px;display:flex;gap:6px;z-index:7;flex-wrap:wrap;max-width:220px;justify-content:flex-end;pointer-events:auto}.flight-controls button{min-height:46px;background:#194253e8;border:1px solid #64d4db;font-size:12px;font-weight:800;touch-action:manipulation}.flight-controls small{font-size:9px;display:block}.flight-controls button:disabled{opacity:.65}.flight-controls [hidden]{display:none}.flight-controls #tilt-steering[aria-pressed=true]{background:#267654}
#stage:has(.overlay:not([hidden])) .flight-controls{display:none}
body[data-edition=touch] #stage{height:calc(100svh - 150px);min-height:440px;max-height:850px}
body[data-edition=touch] .flight-controls{bottom:245px;right:8px;max-width:160px}
@media(max-width:600px){body[data-camera=chase][data-edition] #wheel-control,body[data-camera=high][data-edition] #wheel-control{width:135px;height:135px;left:8px;bottom:14px}body[data-camera=chase][data-edition] .wheel-rim,body[data-camera=high][data-edition] .wheel-rim{width:85px;height:85px}.flight-controls button{font-size:10px;padding:6px}}
@media(max-height:550px) and (orientation:landscape){body[data-edition=touch] #stage{height:calc(100svh - 70px);min-height:280px}body[data-edition=touch] .flight-controls{bottom:100px;right:8px;max-width:210px}body[data-camera=chase][data-edition] #wheel-control,body[data-camera=high][data-edition] #wheel-control{width:125px;height:125px}.hud #nav-info,.hud #status{display:none}#minimap{width:100px;height:77px}.drive-console{max-width:180px}}

body[data-edition=keyboard] .flight-controls{bottom:210px}
body[data-edition=touch] .hud>div{align-self:flex-start;min-width:0;max-width:145px;padding:7px}body[data-edition=touch] .hud #status{display:none}body[data-edition=touch] .hud strong{font-size:27px}body[data-edition=touch] #message{bottom:42%;max-width:70%;padding:5px;font-size:10px}
@media(max-height:550px) and (orientation:landscape){body[data-edition=touch] .flight-controls{left:38%;right:auto;bottom:12px;max-width:200px}body[data-edition=touch] .drive-shifter{right:28%;bottom:12px;height:156px}body[data-edition=touch] .radio-mini>small,body[data-edition=touch] .radio-mini>strong{display:none}body[data-edition=touch] .drive-console{width:180px!important;max-width:180px!important}body[data-edition=touch] #message{bottom:45%}}
body[data-edition=keyboard] .drive-shifter{right:calc(31% + 15px)}
body[data-edition=touch] .drive-shifter{right:calc(25% + 12px)}
@media(max-height:550px) and (orientation:landscape){body[data-edition=touch] .drive-shifter{right:28%}}
