html,body{overflow-x:hidden}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{color:#cfe3ff;box-sizing:border-box;min-width:0;min-height:100vh;--native-page-padding:0px;min-height:100svh;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:#101010;flex-direction:column;align-items:center;gap:0;margin:0;font:14px/1.4 sans-serif;display:flex}#panel{flex-wrap:wrap;align-items:center;gap:8px;display:flex}input{color:#cfe3ff;background:#101826;border:1px solid #2a3a52;width:140px;padding:6px 8px}input.wide{width:300px}button{color:#fff;cursor:pointer;background:#1d4ed8;border:0;padding:7px 14px}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #ffd166}#stage{aspect-ratio:4/3;--native-scale:1;box-sizing:content-box;width:800px;max-width:100%;margin-bottom:var(--native-keyboard-space,0px);overflow-anchor:none;-webkit-tap-highlight-color:transparent;border:0;flex:none;padding:0;position:relative}#native-login{top:0;left:0;width:800px;height:600px;transform:scale(var(--native-scale));border:0;padding:0;position:absolute;inset:0 auto auto 0;overflow:hidden;transform-origin:0 0!important}#native-login-backdrop{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}#native-login-backdrop[hidden]{display:none}#login-status{text-align:center;color:#ffb49e;text-shadow:0 1px 3px #000;pointer-events:none;z-index:5;font-weight:600;position:absolute;bottom:5%;left:0;right:0}#login-status[hidden]{display:none}#signup-overlay{z-index:7;color:#cfe3ff;background:#0d1b2e;border:1px solid #4387bb;border-radius:10px;flex-direction:column;gap:8px;width:280px;padding:16px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 32px #000000b3}#signup-overlay[hidden]{display:none}#signup-overlay input{box-sizing:border-box;width:100%}#signup-overlay .row{gap:8px;display:flex}#signup-result{color:#ffb49e;min-height:18px;font-size:13px}#boot-status{z-index:9;color:#b9d9f4;text-align:center;pointer-events:none;width:800px;max-width:96vw;margin:0;position:fixed;bottom:8px;left:50%;transform:translate(-50%)}#boot-status[data-error=true]{color:#ffb49e}#game{box-sizing:border-box;width:100%;height:auto}#menubar{flex-wrap:wrap;gap:6px;width:800px;max-width:96vw;display:none}#menubar button[aria-pressed=true]{outline:2px solid #ffd166}#feature-root{color:#173350;box-sizing:border-box;background:#e4f2fb;border:2px solid #4387bb;border-radius:12px;min-height:600px;display:none}#feature-header{color:#fff;background:linear-gradient(#6bb9ed,#3a8aca);border-radius:9px 9px 0 0;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}#feature-content{max-height:540px;padding:12px;overflow:auto}#feature-root input{color:#173350;background:#fff;border-color:#7aa6c6;max-width:100%}#feature-root button{border-radius:5px}#feature-root canvas,#feature-root img{max-width:100%}#session-status{color:#b9d9f4;font-size:12px}#menubar{grid-template-columns:repeat(5,minmax(0,1fr));width:800px;max-width:96vw}#menubar button{min-height:44px}#connectionbar{color:#cfe3ff;justify-content:space-between;align-items:center;gap:12px;width:800px;max-width:96vw;font-size:13px;display:none}#touch-controls{touch-action:none;align-items:center;gap:16px;display:none}#touch-stick{touch-action:none;background:#0a193259;border:2px solid #8cbeff73;border-radius:50%;place-items:center;width:112px;height:112px;display:grid;position:relative}#touch-stick-knob{pointer-events:none;background:#8cbeff80;border:2px solid #c8e1ffa6;border-radius:50%;width:48px;height:48px;transition:transform 80ms ease-out}#touch-bomb{touch-action:none;min-width:52px;min-height:48px}@media (pointer:coarse){#touch-controls.playing{display:flex}}@media (max-height:500px){#touch-controls.playing{left:50%;bottom:max(6px,env(safe-area-inset-bottom,0px));z-index:8;margin:0;position:fixed;transform:translate(-50%)}}@media (pointer:coarse) and (orientation:landscape) and (max-height:500px){#touch-controls.playing{position:static;transform:none}}@media (pointer:coarse) and (orientation:landscape) and (min-aspect-ratio:43/20) and (max-height:500px){#touch-controls.playing{left:max(8px,env(safe-area-inset-left,0px));right:max(8px,env(safe-area-inset-right,0px));pointer-events:none;justify-content:space-between;position:fixed;transform:none}#touch-controls.playing>*{pointer-events:auto}}@media (max-width:600px){body{--native-page-padding:0px;gap:0}#panel,#roombar{flex-wrap:wrap;max-width:96vw}input.wide{width:240px;max-width:82vw}#feature-root{min-height:420px}#feature-content{max-height:70vh;padding:8px}#menubar{grid-template-columns:repeat(2,minmax(0,1fr))}#menubar button{padding:9px}}#log{white-space:pre-wrap;background:#05080d;border:1px solid #2a3a52;width:800px;max-width:96vw;height:150px;padding:8px;font:12px/1.5 ui-monospace,monospace;overflow:auto}#log .err{color:#ff8080}#game{image-rendering:pixelated;border:0;display:none}#dev-tools{width:800px;max-width:96vw;margin:8px;font:12px/1.5 monospace;display:none}html[data-dev-tools=true] #dev-tools{display:block}#dev-tools>summary{cursor:pointer;color:#a0a0a0;padding:8px 0}html[data-dev-tools=true] #dev-tools[open]{flex-direction:column;gap:10px;display:flex}#dev-tools #menubar,#dev-tools #connectionbar,#dev-tools #log{max-width:100%}#dev-tools #log{width:auto}#dev-tools .native-dev-content{width:100%;color:inherit;background:0 0;position:static}#stage>#feature-back[data-native-fallback=true]{position:absolute;top:calc(100% + 6px);right:0}#stage:has(>#feature-back[data-native-fallback=true]){margin-bottom:calc(40px + var(--native-keyboard-space,0px))}#stage:has(#feature-root[data-native-screen=true]){aspect-ratio:4/3}#feature-root[data-native-screen=true]{top:0;left:0;width:800px;height:600px;min-height:0;transform:scale(var(--native-scale));background:0 0;border:0;border-radius:0;margin:0;padding:0;position:absolute;inset:0 auto auto 0;overflow:visible;transform-origin:0 0!important}#feature-root[data-native-screen=true]>[data-native-screen=true]{border:0;border-radius:0;width:800px;height:600px;margin:0;padding:0;position:absolute;inset:0;overflow:hidden}#feature-root[data-native-screen=true] #feature-content,#feature-root[data-native-screen=true] #feature-header{display:none}#feature-root[data-native-screen=true] #feature-header[data-native-fallback=true]{z-index:2;background:0 0;border:0;border-radius:0;padding:0;display:flex;position:absolute;top:606px;right:0}#feature-root[data-native-screen=true] canvas{max-width:none;image-rendering:pixelated}#feature-root[data-native-screen=true] button{font:inherit}#stage>[data-phaser-host]{z-index:0;pointer-events:none;position:absolute;inset:0}#stage>#game{z-index:1;border:0;width:100%;height:100%;margin:0;padding:0;position:relative}#stage>#native-login,#stage>#feature-root{z-index:2}[data-phaser-host] canvas{image-rendering:pixelated}#touch-controls{-webkit-user-select:none;user-select:none}@media (pointer:coarse){#touch-controls{padding:0}#touch-controls button{-webkit-touch-callout:none}#native-login input{-webkit-tap-highlight-color:#ffd16640}}@media (orientation:landscape) and (pointer:coarse){#touch-pad{grid-template-columns:repeat(3,44px)}#touch-pad button,#touch-bomb{box-sizing:border-box;min-width:44px;min-height:44px;padding:0}}.ui-motion-pressable{-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:transform 80ms ease-out,filter 80ms ease-out}.ui-motion-pressable.ui-motion-pressed{filter:brightness(1.15);transform:scale(.93)}@media (prefers-reduced-motion:reduce){.ui-motion-pressable{transition:none}.ui-motion-pressable.ui-motion-pressed{filter:none;transform:none}}
