:root{color:#eef6ff;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#06080d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{overflow-x:hidden}.app{color:#eef6ff;background-color:#06080d;background-image:linear-gradient(#ffffff09 1px,#0000 1px),linear-gradient(90deg,#ffffff09 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:42px 42px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;min-height:100svh}.menu-screen{place-items:center;padding:28px;display:grid}.menu-hero{width:min(920px,100%)}.eyebrow{color:#8df0cc;letter-spacing:0;text-transform:uppercase;margin:0 0 10px;font-size:13px;font-weight:800}h1{color:#fff;letter-spacing:0;margin:0;font-size:78px;line-height:.95}.subtitle{color:#b8c6d4;max-width:620px;margin:22px 0 42px;font-size:24px}.level-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}button{color:#071016;font:inherit;cursor:pointer;background:#8df0cc;border:1px solid #355063;border-radius:8px;padding:12px 16px;font-weight:800}button:hover{filter:brightness(1.08)}button:focus-visible{outline-offset:3px;outline:3px solid #f5e663}.level-buttons button{color:#edf7ff;text-align:left;background:#111b24;min-height:128px}.level-buttons span,.level-buttons small{display:block}.level-buttons span{margin-bottom:12px;font-size:20px}.level-buttons small{color:#aab8c7;font-size:14px;line-height:1.45}.game-screen{grid-template-columns:minmax(0,1fr) 330px;gap:18px;padding:18px;display:grid}.stage{background:#081018;border:1px solid #233140;border-radius:8px;place-items:center;min-height:calc(100svh - 36px);display:grid;position:relative;overflow:hidden}.game-canvas{aspect-ratio:3/2;touch-action:none;width:min(100%,150svh - 120px);max-width:1180px}.hud{background:#0d141c;border:1px solid #263747;border-radius:8px;flex-direction:column;gap:18px;min-height:calc(100svh - 36px);padding:22px;display:flex}.hud h2,.hud h3{color:#fff;letter-spacing:0;margin:0 0 10px}.hud h2{font-size:25px;line-height:1.2}.hud h3{font-size:16px}.hud p,.hud dd{color:#b7c4d1;margin:0}.hud dl{gap:12px;margin:0;display:grid}.hud dt{color:#f5e663;margin-bottom:4px;font-size:13px;font-weight:800}.controls{gap:8px;padding-top:4px;display:grid}.damage-panel{background:#101922;border:1px solid #243545;border-radius:8px;gap:8px;padding:12px;display:grid}.damage-panel h3{margin-bottom:2px}.damage-row{color:#b7c4d1;justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.damage-row strong{color:#dfeaf3}.damage-row.warning strong{color:#f5e663}.damage-row.broken strong{color:#ffb09d}.controls p{font-size:14px;line-height:1.45}.actions{flex-wrap:wrap;gap:10px;margin-top:auto;display:flex}.actions button{flex:130px}button.secondary{color:#d9e7f3;background:#182433}.overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#04070bb8;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.overlay.gameover{animation:1s cubic-bezier(.2,.8,.2,1) both gameover-backdrop}.overlay-panel{text-align:center;background:#10151a;border:2px solid #6f5a47;border-radius:8px;width:min(520px,100%);padding:32px;box-shadow:0 24px 80px #0000006b}.overlay.gameover .overlay-panel{animation:1s cubic-bezier(.16,.84,.23,1) both gameover-panel}.overlay-panel h2{color:#e9e2d6;letter-spacing:0;text-shadow:0 4px #17100d,0 0 24px #cf6c4d61;margin:0 0 12px;font-size:64px;line-height:.95}.overlay-panel p{color:#f1f6fb;margin:0 0 26px;font-size:20px}@keyframes gameover-backdrop{0%,20%{-webkit-backdrop-filter:blur();backdrop-filter:blur();background:#04070b00}to{-webkit-backdrop-filter:blur(6px)saturate(.78);backdrop-filter:blur(6px)saturate(.78);background:#050608c7}}@keyframes gameover-panel{0%,20%{opacity:0;filter:blur(2px);transform:scale(1.18)}to{opacity:1;filter:blur();transform:scale(1)}}@media (width<=920px){h1{font-size:48px}.subtitle{font-size:18px}.level-buttons,.game-screen{grid-template-columns:1fr}.game-screen{padding:12px}.stage,.hud{min-height:auto}.game-canvas{width:100%}.overlay-panel h2{font-size:44px}}
