:root{color-scheme:dark;--ink:#14252c;--paper:#e5e4ce;--yellow:#ffc747;--muted:#9eada6;--line:#4b6161}
*{box-sizing:border-box}body{margin:0;background:#20363c;color:var(--paper);font-family:"Helvetica Neue","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;background-image:repeating-linear-gradient(135deg,transparent 0,transparent 7px,#ffffff02 7px,#ffffff02 8px)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}button:hover{filter:brightness(1.13)}main{max-width:1240px;margin:auto;padding:0 40px}header{height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{color:var(--paper);text-decoration:none;font-size:16px;font-weight:900;letter-spacing:1px}.brand b{font-weight:400;color:#95a7a4}.brand-icon{background:var(--yellow);color:var(--ink);padding:2px 7px;margin-right:10px;font-size:22px}.edition{font-size:10px;letter-spacing:1.3px;color:#a6b4af}#sound{background:transparent;border:1px solid #72837d;color:var(--paper);padding:8px 11px;font-size:11px;min-width:85px}.cabinet{box-shadow:0 22px 60px #07182077;border:1px solid #596b67;background:var(--ink)}.topline{display:flex;justify-content:space-between;padding:12px 18px;background:#c7c8ad;color:#253c3e;font-size:10px;letter-spacing:1.5px;font-weight:800}.topline i{display:inline-block;width:6px;height:6px;background:#416557;border-radius:50%;margin-right:6px}.screen{aspect-ratio:16/9;position:relative;overflow:hidden;background:#55736c}.screen canvas{width:100%;height:100%;display:block;image-rendering:pixelated;outline:none}.screen::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#00000008 0,#00000008 1px,transparent 1px,transparent 4px);z-index:4}.overlay{position:absolute;inset:0;z-index:3}.intro{background:linear-gradient(90deg,#12292fea 0%,#17313c99 37%,#172c3510 70%);display:flex;align-items:center}.intro-copy{margin:0 6%;width:60%}.mission-tag{font-size:12px;letter-spacing:2px;color:var(--yellow);font-weight:800}.mission-tag span{margin-left:14px;padding-left:14px;border-left:1px solid #c4cbb580;font-size:10px;letter-spacing:1px;color:var(--paper)}h1{font-family:Impact,"Arial Narrow",sans-serif;font-stretch:condensed;font-size:clamp(50px,9vw,115px);line-height:.84;letter-spacing:1px;margin:22px 0 18px;transform:skew(-7deg);text-shadow:4px 4px 0 #17323b,6px 6px 0 #96aaa250}h1 span{color:var(--yellow)}h1 em{display:block;font-family:inherit;transform:skew(7deg);font-size:12px;font-style:normal;letter-spacing:4px;line-height:1;margin:16px 0 0 7px}.intro p{font-size:12px;line-height:1.9;color:#c7d2c7;margin:0 0 22px}.primary{background:var(--yellow);border:0;color:#1d3339;padding:14px 24px;font-weight:900;font-size:14px;min-width:195px;box-shadow:4px 4px 0 #0005;display:flex;justify-content:space-between;gap:26px;align-items:center}.primary:hover{transform:translateY(-1px)}.start-hint{font-size:8px;color:#a9b9af;letter-spacing:1px;margin-top:15px}.mission-stamp{position:absolute;right:5%;top:9%;border-left:2px solid #f9d06b;padding-left:13px;font-size:10px;text-shadow:1px 2px #18333b;color:#f5e5b4}.mission-stamp span{display:block;font-size:22px;font-weight:900;margin:4px 0 10px}.mission-stamp b{font-size:9px;line-height:1.6;font-weight:400;letter-spacing:2px}.console-footer{padding:16px 20px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.4px;color:#a9b7b0}.console-footer b{font-size:10px;color:var(--yellow);margin-right:12px}#best{font-family:monospace;color:#cbd1ba;font-size:12px}.instructions{display:flex;justify-content:space-between;align-items:center;padding:27px 0 25px;border-bottom:1px solid #4b5f60;gap:15px}.instructions>div{display:flex;align-items:center;gap:5px;font-size:11px}.instructions .instruction-title{display:block;font-size:13px;font-weight:bold;margin-right:15px}.instruction-title span{display:block;font-size:8px;letter-spacing:1.5px;color:#9caeaa;margin-top:6px}.instructions span{margin-left:7px}.instructions small{display:block;font-size:9px;margin-top:5px;color:#94aaa5}kbd{font-family:monospace;background:#30464b;border:1px solid #768880;border-bottom:3px solid #718078;padding:7px;min-width:29px;text-align:center;font-size:12px;color:#e0e2cc}.page-footer{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#9bada8;margin:21px 0 30px}.page-footer b{font-size:9px;font-weight:normal;letter-spacing:0;margin-left:15px}.hud{position:absolute;top:22px;left:25px;right:25px;display:flex;gap:45px;z-index:2;pointer-events:none;text-shadow:2px 2px #102129}.hud small{font-size:10px;letter-spacing:2px;color:#e8e9cb;display:block;font-weight:800}.hud strong{font:900 25px monospace;color:var(--yellow)}.score{margin-left:auto}.ammo{margin-right:50px}.health{display:flex;gap:5px;margin-top:8px}.health i{display:block;width:21px;height:12px;background:var(--yellow);box-shadow:2px 2px #173239}.health i.empty{background:#193841;outline:1px solid #67847c}.screen-button,.fullscreen{position:absolute;z-index:5;background:#19343dcc;border:1px solid #96ada780;color:#f5edbd;font-size:20px;width:35px;height:35px;right:20px;top:20px}.fullscreen{top:auto;bottom:17px;font-size:27px;line-height:27px}.announcement{position:absolute;top:31%;width:100%;text-align:center;font-family:Impact,"Arial Narrow",sans-serif;color:#ffe291;font-size:clamp(24px,5vw,58px);font-style:italic;text-shadow:3px 4px #183238;pointer-events:none;z-index:2;letter-spacing:2px}.result,.paused{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#142c36e8;text-align:center}.result small{color:var(--yellow);font-size:11px;letter-spacing:4px}.result h2,.paused h2{font:italic 70px/.95 Impact,"Arial Narrow",sans-serif;margin:20px 0;color:var(--yellow)}.result p,.paused p{font-size:13px;line-height:1.9;margin:0 20px 20px}.result>strong{font:900 28px monospace;margin-bottom:25px}.touch-controls{display:none;justify-content:space-between;padding:12px;background:#182f38;gap:20px}.touch-controls>div{display:flex;gap:9px}.touch-controls button{touch-action:none;user-select:none;-webkit-user-select:none;border:1px solid #79928a;border-bottom:4px solid #79928a;background:#304e55;color:#f1edd2;border-radius:8px;width:53px;height:49px;font-weight:900;font-size:15px}.touch-controls .fire-key{background:var(--yellow);color:var(--ink);border-color:#af8937;width:64px}.touch-controls .grenade-key{font-size:12px}[hidden]{display:none!important}.screen:fullscreen{height:100%;width:100%;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;background:#10232b}.screen:fullscreen canvas{object-fit:contain}.screen:fullscreen .intro-copy{margin-left:8%}@media(pointer:coarse){.touch-controls{display:flex}}
@media(max-width:800px){main{padding:0 16px}header{height:70px}.edition{display:none}.topline{padding:10px;font-size:8px}.topline>span:last-child{display:none}.instructions{flex-wrap:wrap;justify-content:flex-start;gap:20px}.instructions .instruction-title{width:100%;margin:0}.instruction-title span{display:inline;margin-left:12px}.page-footer>span:last-child{display:none}h1{font-size:80px}.intro-copy{margin-left:5%}.intro p{font-size:10px;margin-bottom:13px}.mission-tag{font-size:10px}.start-hint{font-size:7px}.mission-stamp span{font-size:16px}.hud{top:14px;left:16px;right:16px;gap:15px}.hud small{font-size:8px}.hud strong{font-size:20px}.health i{width:15px;height:9px}.ammo{margin-right:35px}.screen-button{right:12px;top:12px;width:30px;height:30px}}
@media(max-width:560px){main{padding:0 9px}.brand{font-size:12px}.brand-icon{font-size:18px}.screen{aspect-ratio:4/3}.screen canvas{object-fit:cover;object-position:center}.intro-copy{width:80%;margin-left:7%}h1{font-size:66px;margin:16px 0}h1 em{font-size:8px;letter-spacing:3px;margin-top:11px}.intro p{font-size:10px}.primary{padding:11px 17px;font-size:12px;min-width:170px}.mission-stamp{right:4%;top:7%;font-size:8px}.mission-stamp span{font-size:12px}.mission-stamp b{font-size:7px}.mission-tag{font-size:8px}.mission-tag span{font-size:8px}.start-hint{margin-top:11px;font-size:6px}.console-footer{padding:12px 10px;font-size:9px}.console-footer b{margin-right:5px}#best{font-size:9px}.touch-controls{display:flex}.instructions{gap:18px;padding:22px 5px}.instructions>div{font-size:10px}kbd{padding:5px;font-size:10px;min-width:25px}.result h2,.paused h2{font-size:48px}.result p{font-size:11px}.hud{gap:10px}.hud strong{font-size:17px}.health{gap:3px}.health i{width:12px}.hud .ammo{margin-right:28px}.fullscreen{right:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){button:hover{transform:none}.screen::after{display:none}}
.cabinet:fullscreen{display:flex;flex-direction:column;justify-content:center;width:100vw;height:100dvh;background:#10232b;border:0;overflow:auto}.cabinet:fullscreen .screen{flex:1;min-height:0;aspect-ratio:auto}.cabinet:fullscreen .topline,.cabinet:fullscreen .console-footer{display:none}.cabinet:fullscreen .touch-controls{flex-shrink:0}
@media(max-width:560px){.intro h1{font-size:clamp(42px,14vw,52px);margin:12px 0}.intro h1 em{font-size:7px;margin-top:8px}.intro p{font-size:9px;line-height:1.65;margin-bottom:12px}.intro .primary{padding:10px 17px}.intro .start-hint{margin-top:9px}.intro .mission-stamp{top:8%}}
