:root{color-scheme:dark;--bg: #05040a;--accent: #6fe8ff}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);overflow:hidden;overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;font-family:Courier New,ui-monospace,monospace}body{display:grid;place-items:center;height:100dvh;background:radial-gradient(ellipse at center,#0d0b1c 0%,var(--bg) 70%)}#game-frame{position:relative;width:min(100vw,calc(100dvh * 16 / 9),1280px);aspect-ratio:16 / 9;max-width:100vw;max-height:100dvh;background:#000;box-shadow:0 0 0 1px #1c1a2e,0 0 40px #3c287859}#game-canvas{display:block;width:100%;height:100%}#touch-ui[hidden]{display:none}#touch-ui{position:fixed;inset:0;z-index:10;pointer-events:none}#touch-move{position:absolute;inset:0 50% 0 0;pointer-events:auto;display:flex;align-items:flex-end;justify-content:center;padding-bottom:14px}#touch-move .touch-hint{color:#ffffff38;font-size:11px;letter-spacing:.15em;transition:opacity .3s}#touch-move.active .touch-hint{opacity:0}#touch-ui button{position:absolute;pointer-events:auto;font:700 13px Courier New,ui-monospace,monospace;letter-spacing:.1em;color:#dcf5ffd9;background:#2878c82e;border:2px solid rgba(111,232,255,.45);border-radius:50%;touch-action:none}#touch-ui button.active{background:#6fe8ff66}#btn-fire{right:max(24px,env(safe-area-inset-right));bottom:28px;width:84px;height:84px}#btn-pod{right:max(118px,calc(env(safe-area-inset-right) + 94px));bottom:20px;width:60px;height:60px;font-size:12px!important;border-color:#ffb0408c!important;background:#c8782829!important}#btn-pod.active{background:#ffb04066!important}#btn-auto{right:max(24px,env(safe-area-inset-right));bottom:122px;width:auto!important;height:34px;padding:0 12px;border-radius:17px!important;font-size:11px!important}#btn-auto.off{color:#ffffff73;border-color:#ffffff40}#btn-pause{top:10px;right:max(12px,env(safe-area-inset-right));width:38px;height:38px}#rotate-overlay[hidden]{display:none}#rotate-overlay{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:var(--bg);color:var(--accent);font-weight:700;letter-spacing:.12em;text-align:center;padding:16px}.rotate-phone{width:44px;height:76px;border:3px solid var(--accent);border-radius:8px;animation:rotate-hint 2s ease-in-out infinite}@keyframes rotate-hint{0%,30%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}#game-frame.crt:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(to bottom,#0000 0 2px,#00000047 3px,#0000 4px);box-shadow:inset 0 0 120px #0000008c}
