:root{color-scheme:dark;background:#060919;color:#e6efff;font-family:Consolas,'Courier New',monospace}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:radial-gradient(ellipse at center,#17214a,#060919 75%)}button{font:700 10px monospace;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #80efff;outline-offset:3px}button:disabled{opacity:.4}.galaxy-stage{width:100vw;height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 24px;gap:12px}header{display:flex;align-items:center;justify-content:space-between;gap:14px;width:min(100%,980px)}h1{font:900 29px/.9 Impact,'Arial Black',sans-serif;letter-spacing:2px;margin:0;color:#eafaff;text-shadow:3px 3px #384ea0;text-align:center}h1 span{color:#ffbc68}h1 small{display:block;font:7px monospace;letter-spacing:2px;color:#8799bc;margin-top:8px;text-shadow:none}.back{font-size:10px;color:#9eb4d9;text-decoration:none}.tools{display:flex;gap:7px}.tools button{padding:8px;background:#152041;border:1px solid #3d547c;border-radius:6px;color:#b9d9ff}.hud{display:flex;justify-content:space-between;gap:15px;width:min(100%,860px);font-size:9px;letter-spacing:1px;color:#8398bd}.hud b{color:#84efff;font-size:14px;margin-left:8px;white-space:nowrap}.hud span:last-child b{color:#ffbd79}.play-area{display:flex;align-items:center;justify-content:center;gap:18px;min-height:0;max-width:100%;flex:0 1 auto}.board-wrap{position:relative;width:min(860px,calc((100dvh - 156px)*1.5),calc(100vw - 48px));flex-shrink:0;border:3px solid #354f83;border-radius:8px;box-shadow:0 0 0 1px #7bd9ff25,0 20px 80px #0008;overflow:hidden;background:#060b20}canvas{display:block;width:100%;height:auto;aspect-ratio:3/2;image-rendering:pixelated}#cover{position:absolute;inset:0;background:linear-gradient(#08112fe8,#060b20ed);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px;gap:13px}#cover[hidden]{display:none}.overline{font:8px monospace!important;letter-spacing:3px;color:#87acdb!important}.hero-ship{color:#9aedff;font-size:74px;line-height:1;text-shadow:0 9px #ff9660,0 18px 30px #528fff66;transform:scaleX(1.3)}h2{font:900 clamp(22px,3vw,36px) Impact,'Arial Black',sans-serif;letter-spacing:1px;color:#b9faff;margin:5px 0}#cover p{font-size:12px;line-height:1.7;color:#a9bedb;margin:0}#start{border:1px solid #d5fcff;background:linear-gradient(120deg,#a9faff,#69b9ff);padding:15px 26px;border-radius:5px;box-shadow:0 4px #3763a9;color:#0a2140;font-size:13px}#start:hover{filter:brightness(1.1)}#cover small{font-size:8px;color:#8ba3c2}.audio-hint{color:#f3be81;font:7px monospace;letter-spacing:1px}.touch-controls,.phone-hint{display:none}#notice{position:absolute;bottom:12px;left:5px;right:5px;margin:0;text-align:center;font:700 12px monospace;letter-spacing:1px;color:#ffd08c;text-shadow:2px 2px #000;pointer-events:none}footer{width:min(100%,860px);display:flex;justify-content:space-between;gap:10px;color:#788fb3;font:8px/1.6 monospace}html[data-phone="true"] .galaxy-stage{padding:7px 12px;gap:7px}html[data-phone="true"] h1{font-size:22px;letter-spacing:1px}html[data-phone="true"] h1 small{font-size:6px;letter-spacing:1px;margin-top:4px}html[data-phone="true"] .back{font-size:8px}html[data-phone="true"] .tools button{font-size:8px;padding:6px}html[data-phone="true"] .hud{font-size:7px;gap:12px}html[data-phone="true"] .hud b{font-size:10px;margin-left:4px}html[data-phone="true"] .board-wrap{width:min(760px,calc((100dvh - 102px)*1.5),calc(100vw - 170px))}html[data-phone="true"] .touch-controls{display:flex;flex-direction:column;align-items:center;gap:16px;width:124px;flex-shrink:0}.direction{display:flex;gap:7px}.direction button{width:52px;height:44px;font-size:26px;color:#b1edff;background:#18294a;border:1px solid #638cc1;border-radius:8px;touch-action:none;user-select:none}#fire{background:linear-gradient(#ffd29d,#ff9356);border:1px solid #ffe5b7;box-shadow:0 5px #a05237;width:108px;height:63px;border-radius:14px;color:#532e1d;font-size:23px;touch-action:none;user-select:none}#fire small{font-size:7px;display:block;letter-spacing:1px;margin-top:3px}html[data-phone="true"] .desktop-hint{display:none}html[data-phone="true"] .phone-hint{display:inline}html[data-phone="true"] footer{font-size:6px}html[data-phone="true"] #cover{gap:7px;padding:8px}html[data-phone="true"] .overline{font-size:6px!important;letter-spacing:1px}html[data-phone="true"] .hero-ship{font-size:33px}html[data-phone="true"] h2{font-size:22px;margin:0}html[data-phone="true"] #cover p{font-size:9px;line-height:1.5}html[data-phone="true"] #start{padding:9px 15px;font-size:10px}html[data-phone="true"] #cover small,html[data-phone="true"] .audio-hint{font-size:6px}html[data-phone="true"] #notice{font-size:8px;bottom:6px}@media(orientation:portrait){html[data-phone="true"] .galaxy-stage{position:fixed;top:50%;left:50%;width:100dvh;height:100vw;transform:translate(-50%,-50%) rotate(90deg)}html[data-phone="true"] .board-wrap{width:min(760px,calc((100vw - 102px)*1.5),calc(100dvh - 170px))}}@media(max-height:310px){html[data-phone="true"] .overline,html[data-phone="true"] .audio-hint{display:none}html[data-phone="true"] .hero-ship{font-size:23px}html[data-phone="true"] #cover{gap:5px}html[data-phone="true"] h2{font-size:19px}}
