:root{font-family:system-ui,sans-serif;color:#e7f5f7;background:#081c29;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#184355,#081c29 70%);min-height:100vh}main{max-width:900px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:20px}h1{font-size:clamp(28px,5vw,42px);line-height:1.1;margin:5px 0 24px;letter-spacing:-1.5px}h1 span{display:block;font-size:14px;color:#8fb2bf;letter-spacing:2px;text-transform:uppercase;margin-top:10px;font-weight:500}.eyebrow{font-size:12px;letter-spacing:2px;color:#79d8d0;font-weight:750;margin:0 0 10px}.hud{display:flex;align-items:center;gap:32px;background:#102f40;padding:17px 24px;border:1px solid #315266;border-bottom:0;border-radius:14px 14px 0 0}small{display:block;font-size:11px;letter-spacing:1.6px;color:#afc8d4}strong{font-size:27px;font-variant-numeric:tabular-nums}.progress{flex:1}.progress small{display:flex;justify-content:space-between;gap:15px;margin-bottom:10px}progress{width:100%;height:12px;border:0;border-radius:10px;overflow:hidden;accent-color:#5de1bd}progress::-webkit-progress-bar{background:#081c29}progress::-webkit-progress-value{background:#5de1bd}.stage{position:relative;overflow:hidden;background:#397ea6;border:1px solid #315266}canvas{display:block;width:100%;height:auto;touch-action:none}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:#061723a8;padding:24px}#overlay[hidden]{display:none}.card{max-width:380px;text-align:center;background:#102c3bef;border:1px solid #507083;border-radius:18px;padding:28px;box-shadow:0 15px 60px #0006}h2{font-size:36px;margin:5px 0 12px}.card p:not(.eyebrow){line-height:1.6;color:#c1d8e0}.card button{background:#f3cb62;color:#182c34;width:100%;margin-top:12px}.controls{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px;align-items:center}.movement{display:flex;gap:8px}button{font:600 15px system-ui;border:1px solid #3c6071;border-radius:9px;background:#173c4e;color:#e7f5f7;min-height:45px;padding:10px 16px;cursor:pointer;touch-action:manipulation;user-select:none}button:hover{filter:brightness(1.18)}button:focus-visible,canvas:focus-visible,a:focus-visible{outline:3px solid #f3cb62;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}.primary{background:#f3cb62;color:#182c34;flex:1;border-color:#f3cb62}kbd{font:12px system-ui;background:#ffffff18;border:1px solid #ffffff30;border-radius:4px;padding:2px 5px;margin-left:3px}.help{color:#a4bfcb;font-size:13px;text-align:center;line-height:1.9}.status{min-height:24px;text-align:center;color:#79d8d0;font-size:14px}footer{font-size:12px;color:#8ba8b5;text-align:center;line-height:1.8}a{color:#a3d6e7}@media(max-width:560px){main{padding:12px}header{gap:8px}h1{margin-bottom:16px}.hud{gap:15px;padding:12px}strong{font-size:22px}button{padding:10px 12px}.card{padding:16px}h2{font-size:28px}.card p:not(.eyebrow){font-size:14px;line-height:1.4}.help{display:none}}
