*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#050b11;color:#eef9fb;font:15px system-ui,"Microsoft YaHei",sans-serif}body{display:grid;place-items:center}#frame{position:relative;width:min(100vw,177.7778dvh);aspect-ratio:16/9;overflow:hidden;background:#111e29;container-type:inline-size;isolation:isolate;touch-action:none}canvas,#hud,#overlay{position:absolute;inset:0;width:100%;height:100%}canvas{pointer-events:none}#hud{pointer-events:none;font-size:clamp(9px,1.23cqw,18px);text-shadow:0 2px 6px #01080c}#hud button,#overlay button{pointer-events:auto}button{cursor:pointer;color:inherit;background:#081722c9;border:1px solid #a0dae57d;border-radius:5px;font:inherit;touch-action:none}button:hover,button:focus-visible{border-color:#67f5e9;background:#133943}button:focus-visible{outline:2px solid #ecffff;outline-offset:3px}.shield,.objective,.tools{position:absolute;top:4.1%}.shield{left:4%;width:19%;display:grid;grid-template-columns:1fr auto;font-weight:700;letter-spacing:.1em}.shield div{grid-column:1/-1;background:#0b2433;border:1px solid #6af0e95e;height:.8cqw;margin-top:.5cqw;transform:skewX(-15deg);overflow:hidden}.shield i,.route i{display:block;height:100%;background:#5cffe3;box-shadow:0 0 12px #6ffdec;transition:width .16s}.objective{left:40%;width:20%;text-align:center;letter-spacing:.06em;font-weight:650}.objective small{font-size:1em}.objective span{display:block;margin-top:.55cqw;font-size:.76em;color:#c1e0e7}.route{height:2px;position:relative;background:#a2c2cb65;margin-top:.8cqw}.route b{position:absolute;border:1px solid #bde7e9;border-radius:50%;width:.58cqw;height:.58cqw;top:50%;transform:translate(-50%,-50%);background:#11232e}.route b:nth-of-type(1){left:33%}.route b:nth-of-type(2){left:66%}.route b:nth-of-type(3){left:100%}.tools{right:3.2%;display:flex;gap:.6cqw}.tools button{width:3.15cqw;height:3.0cqw;min-width:24px;min-height:22px;font-size:1.35em}.ammo{position:absolute;bottom:5%;right:4%;text-align:right;font-variant-numeric:tabular-nums}.ammo strong{font-size:2.6em;font-weight:770;line-height:1}.ammo small{font-size:1.1em;color:#a7c2ca}.ammo span,.ammo div{display:block;margin-top:.38cqw;letter-spacing:.10em;color:#c5d9e3}.ammo div{font-size:.8em;color:#69efdc}#notice{position:absolute;top:21%;width:100%;text-align:center;font-size:2em;font-weight:800;letter-spacing:.12em;color:#e3fffb;opacity:0;transform:translateY(-6px);transition:opacity .23s,transform .23s}#notice.show{opacity:1;transform:none}
#overlay{display:flex;align-items:center;padding-left:8%;background:linear-gradient(90deg,#030c15f2,#091824b9 38%,#03121e26 78%)}[hidden]{display:none!important}.panel{width:57%;position:relative}.eyebrow{font-size:clamp(8px,1.24cqw,18px);letter-spacing:.35em;color:#7cf9ec;display:flex;align-items:center;gap:1cqw;font-weight:680}.eyebrow i{width:2.4cqw;height:2px;background:#6ef9ed;box-shadow:0 0 14px #5ffcee}h1{margin:1.15cqw 0 1.2cqw;font-size:8.1cqw;line-height:1.1;font-weight:900;letter-spacing:.04em;text-shadow:0 4px 30px #82dbf045}p{font-size:clamp(9px,1.45cqw,21px);color:#cfdee4;margin:0 0 2.65cqw;line-height:1.65}.primary{background:#64f3dc;color:#062321;font-size:clamp(10px,1.58cqw,22px);font-weight:800;letter-spacing:.11em;padding:.94cqw 1.55cqw;min-height:27px;border-color:#9bfff4;box-shadow:0 0 25px #20fbe535}.primary:hover,.primary:focus-visible{background:#a2fff1}.primary span{margin-left:1.5cqw}#instructions{display:flex;gap:.75cqw 1.45cqw;flex-wrap:wrap;margin-top:2.5cqw;font-size:clamp(8px,1.0cqw,15px);color:#cadde5}kbd{font:inherit;display:inline-block;padding:.15em .36em;border:1px solid #8db8cb66;border-radius:3px;background:#0d2634;color:#ecfbff}
#touch{display:none;position:absolute;left:3%;right:3%;bottom:3%;justify-content:space-between}#touch div{display:flex;gap:1.1cqw}#touch button{height:7.3cqw;min-height:28px;min-width:29px;width:8.3cqw;background:#072633bd;font-size:1.35em;font-weight:700}#touch button:active,#touch .pressed{background:#226163}#touch .fire{background:#844522d9;border-color:#ffbc87}@media(pointer:coarse){#touch{display:flex}.ammo{bottom:19%}.panel{width:74%}.tools button{min-height:28px;min-width:28px}}
