html,body{overscroll-behavior:none}#touch-panel{inset:0;display:block;pointer-events:none;user-select:none;-webkit-user-select:none}#touch-panel .thumb-pad{position:absolute;bottom:18px;width:112px;height:112px;border:2px solid #e3eede88;border-radius:50%;background:#0b242e88;pointer-events:auto;touch-action:none;box-shadow:0 3px 12px #0004}.move-pad{left:max(16px,env(safe-area-inset-left))}.look-pad{left:calc(max(16px,env(safe-area-inset-left)) + 136px)}.thumb-pad i{position:absolute;left:calc(50% - 22px);top:calc(50% - 22px);width:44px;height:44px;border-radius:50%;background:#daf58ebb;pointer-events:none;border:1px solid #efffcc}.thumb-pad span{position:absolute;top:-25px;width:100%;text-align:center;font-size:12px;text-shadow:0 1px 4px #000;color:#fff;pointer-events:none}#touch-panel .primary-actions{position:absolute;bottom:12px;right:max(12px,env(safe-area-inset-right));display:grid;grid-template-columns:repeat(2,88px);gap:6px;pointer-events:auto}#touch-panel button{min-height:46px;padding:7px;font-size:13px;touch-action:none;background:#0d2c3cce;border-color:#e9f4dc99}#touch-panel button.held{background:#b2dd64;color:#172623}#more-actions{grid-column:span 2}#touch-panel .extra-actions{position:absolute;inset:8px;background:#071e2bf2;padding:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));align-content:start;gap:8px;overflow:auto;pointer-events:auto;overscroll-behavior:contain}#close-actions{grid-column:1/-1}#touch-panel .extra-actions button{touch-action:pan-y}.mobile-game #flight-shell{min-height:280px;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.mobile-game #flight-bar{min-height:44px;flex-wrap:nowrap;padding:2px 6px;gap:5px}.mobile-game #flight-bar strong,.mobile-game #save-status{display:none}.mobile-game #flight-bar button,.mobile-game #flight-bar a{min-height:40px;font-size:12px;padding:8px;display:flex;align-items:center}.mobile-game #help{margin-left:auto}.mobile-game #flight-bottom{padding:0 6px;min-height:28px;gap:6px;flex-wrap:nowrap}.mobile-game #flight-state{display:none}.mobile-game #flight-bottom button{padding:3px 8px;font-size:11px;min-height:28px}.mobile-game #flight-shell>details{position:absolute;top:46px;right:4px;z-index:4;background:#12303bea;max-width:90vw}.mobile-game #flight-shell>details:not([open]){display:none}.mobile-game #load-panel{padding:12px;justify-content:flex-start}.mobile-game #load-panel h1{font-size:23px}.mobile-game #load-panel p{margin:6px 0;font-size:12px}.mobile-game #launch{font-size:17px;margin:8px;padding:12px 22px}.mobile-game #load-panel a{margin:4px}.mobile-game #load-panel .small{max-width:380px}.mobile-game #flight-bottom #download-local{margin-left:auto}
@media(max-width:580px){#touch-panel .thumb-pad{width:94px;height:94px;bottom:16px}.look-pad{left:auto;right:16px;bottom:146px!important}#touch-panel .primary-actions{grid-template-columns:repeat(2,74px);right:10px;gap:5px}#touch-panel button{font-size:11px;min-height:42px}.mobile-game #flight-shell{min-height:400px}.mobile-game #view{min-height:0}}
#mobile-save-message{position:absolute;z-index:10;top:48px;left:15%;right:15%;padding:9px 12px;border:1px solid #b7d788;border-radius:8px;background:#142b21f5;color:#f1ffd9;text-align:center;font-size:13px;pointer-events:none}
@media(max-height:450px) and (orientation:landscape){#touch-panel .thumb-pad{width:90px;height:90px;bottom:12px}.look-pad{left:128px}#touch-panel .primary-actions{grid-template-columns:repeat(3,82px);bottom:8px}#more-actions{grid-column:auto}.mobile-game #flight-bottom{position:absolute;top:44px;left:4px;z-index:3;background:#071826a8;max-width:100%;opacity:.9}.mobile-game #flight-bottom #download-local{display:none}.mobile-game #flight-bar{min-height:40px}.mobile-game #load-panel .eyebrow,.mobile-game #load-panel .small{display:none}}

@media(max-height:450px) and (orientation:landscape){.mobile-game #flight-bottom{background:transparent;pointer-events:none}.mobile-game #flight-bottom button{pointer-events:auto}}
