#mobile-menu{display:contents}#mobile-more,#mobile-fps{display:none}
.touch #mobile-fps{display:block;color:#939a9f;font:10px system-ui;white-space:nowrap}
.touch .toolbar #full{display:block!important;white-space:nowrap}
.touch .toolbar{gap:5px}.touch .toolbar .status{white-space:nowrap}
.touch:not(.landscape-ui) .toolbar b{display:none}
.touch:not(.landscape-ui) .toolbar{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}
.touch:not(.landscape-ui) .toolbar button{padding:7px 8px;white-space:nowrap}
.touch:not(.landscape-ui) #mobile-more{display:block}
.touch:not(.landscape-ui) #mobile-menu{display:none;position:absolute;right:6px;top:48px;background:#25282c;border:1px solid #5a6268;border-radius:8px;padding:8px;z-index:25;gap:6px}
.touch:not(.landscape-ui).mobile-menu-open #mobile-menu{display:flex}
.touch.landscape-ui .toolbar{padding-top:max(4px,env(safe-area-inset-top));height:40px}
.touch.landscape-ui #game-stage #framebox{left:env(safe-area-inset-left);right:env(safe-area-inset-right)}
.touch.landscape-ui #game-stage #touch-controls{left:max(5px,env(safe-area-inset-left));right:max(5px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom))}
.touch.landscape-ui #game-stage .steer{background:#30363be6;border-color:#687177}
.touch.landscape-ui body[data-phase="arena"] #game-stage iframe{width:min(calc(var(--stage-width) - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)),calc((var(--stage-height) - 40px - env(safe-area-inset-bottom))*16/9));height:min(calc((var(--stage-width) - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))*9/16),calc(var(--stage-height) - 40px - env(safe-area-inset-bottom)))}
.touch #game-stage #touch-controls{pointer-events:none}.touch #game-stage #touch-controls button{pointer-events:auto}
.touch.landscape-ui #game-stage #touch-controls{z-index:5}
#fullscreen-help{z-index:50}
