*{box-sizing:border-box}
html,body{margin:0;height:100%;background:#05030d;overflow:hidden;font-family:'Courier New',monospace;color:#e6f7ff;user-select:none}
#game{position:fixed;left:0;top:0;display:block;cursor:crosshair}
#hud{position:fixed;left:16px;top:14px;width:280px;pointer-events:none;text-shadow:0 0 8px #00f0ff}
.row{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.lbl{width:26px;font-size:12px;color:#7fdcff;letter-spacing:1px}
.bar{position:relative;flex:1;height:10px;border:1px solid #00f0ff;background:rgba(0,240,255,.08);box-shadow:0 0 10px rgba(0,240,255,.4)}
.bar i{position:absolute;left:0;top:0;bottom:0;width:100%;background:linear-gradient(90deg,#00f0ff,#ff2bd6);transition:width .1s linear}
#xp{background:#b6ff3b !important}
.lvl{font-size:12px;color:#b6ff3b;min-width:44px}
.stats{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:#7fdcff}
.stats b{color:#fff;font-size:15px}
.hidden{display:none !important}
.panel{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(580px,92vw);max-height:92vh;overflow:auto;padding:26px 30px;background:rgba(8,4,20,.93);border:2px solid #ff2bd6;box-shadow:0 0 30px rgba(255,43,214,.45),inset 0 0 30px rgba(255,43,214,.12);text-align:center;border-radius:4px}
h1{font-size:56px;margin:0;letter-spacing:10px;color:#00f0ff;text-shadow:0 0 18px #00f0ff,0 0 40px #00f0ff}
h2{color:#ff2bd6;letter-spacing:4px;text-shadow:0 0 14px #ff2bd6;margin:0 0 8px}
h3{color:#7fdcff;letter-spacing:3px;margin:18px 0 6px}
.sub{color:#ff2bd6;letter-spacing:3px;font-size:13px}
.keys{display:grid;gap:10px;margin:20px 0;text-align:left;font-size:15px}
kbd{display:inline-block;min-width:26px;padding:3px 7px;margin-right:6px;border:1px solid #00f0ff;color:#00f0ff;box-shadow:0 0 8px rgba(0,240,255,.5);border-radius:3px;text-align:center}
button{font-family:inherit;background:transparent;color:#b6ff3b;border:2px solid #b6ff3b;padding:10px 18px;margin:8px 4px 0;cursor:pointer;letter-spacing:2px;font-size:14px;box-shadow:0 0 12px rgba(182,255,59,.35)}
button:hover:not(:disabled){background:#b6ff3b;color:#05030d}
button:disabled{opacity:.4;cursor:default}
.opt{display:block;width:100%;text-align:left;color:#fff;border-color:#00f0ff;box-shadow:0 0 12px rgba(0,240,255,.3);margin:10px 0 0}
.opt b{color:#00f0ff;margin-left:6px}
.opt span{display:block;color:#bcd;font-size:13px;margin-top:4px;margin-left:34px}
.opt:hover:not(:disabled){background:rgba(0,240,255,.15);color:#fff}
#scoreform{display:flex;gap:8px;justify-content:center;margin-top:12px;flex-wrap:wrap}
#pname{flex:1;min-width:180px;max-width:280px;background:#0b0618;border:2px solid #00f0ff;color:#fff;font-family:inherit;font-size:16px;padding:9px;text-transform:uppercase;outline:none}
#board{list-style:none;padding:0;margin:0 auto;max-width:440px;text-align:left}
#board li{display:flex;justify-content:space-between;padding:4px 8px;border-bottom:1px dashed rgba(255,43,214,.3);font-size:14px}
#board li span:last-child{color:#ffe600}
#scorestatus{color:#b6ff3b;min-height:20px}
@media (max-width:600px){h1{font-size:40px}}

#weapons{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:10px;pointer-events:none;z-index:5}
.wslot{width:136px;padding:7px 8px;border:1px solid #00f0ff;background:rgba(5,3,13,.75);box-shadow:0 0 10px rgba(0,240,255,.25);font-size:11px;letter-spacing:1px;color:#7fdcff;transition:transform .12s,border-color .12s}
.wslot kbd{min-width:18px;padding:1px 5px;margin-right:6px;font-size:11px}
.wslot span{color:#fff}
.wslot .wbar{height:6px;margin-top:6px;border:1px solid rgba(0,240,255,.6);background:rgba(0,240,255,.08);position:relative}
.wslot .wbar i{position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(90deg,#00f0ff,#ff2bd6)}
.wslot.active{transform:translateY(-6px);border-color:#ffe600;box-shadow:0 0 16px rgba(255,230,0,.6)}
.wslot.active span{color:#ffe600}
.wslot.locked{opacity:.35}
#w-shotgun .wbar i{background:linear-gradient(90deg,#ff2bd6,#ff8c1e)}
#w-railgun .wbar i{background:linear-gradient(90deg,#fff,#00f0ff)}
#w-flame .wbar i{background:linear-gradient(90deg,#ff8c1e,#ffe600)}

#bossbar{position:fixed;top:12px;left:50%;transform:translateX(-50%);width:min(640px,72vw);text-align:center;pointer-events:none;z-index:6}
#bname{color:#ff2bd6;letter-spacing:5px;font-size:18px;text-shadow:0 0 12px #ff2bd6,0 0 26px #ff2bd6;margin-bottom:6px}
.btrack{position:relative;height:14px;border:2px solid #ff2bd6;background:rgba(255,43,214,.12);box-shadow:0 0 14px rgba(255,43,214,.5)}
#bhp{position:absolute;left:0;top:0;bottom:0;width:100%;background:linear-gradient(90deg,#ff2bd6,#ffd700);transition:width .15s linear}
#odrow{margin-top:8px}
#odfill{background:linear-gradient(90deg,#ffd700,#b44dff)!important}
#odlbl{font-size:12px;letter-spacing:1px;color:#ffd700;min-height:16px;margin:2px 0 8px 34px;text-shadow:0 0 8px #ffd700}
#hud.odready{animation:odglow .6s infinite alternate}
#hud.odready #odlbl{color:#fff;text-shadow:0 0 10px #b44dff,0 0 18px #ffd700}
@keyframes odglow{from{filter:drop-shadow(0 0 4px #ffd700)}to{filter:drop-shadow(0 0 14px #b44dff)}}
#combo{font-size:16px;color:#b6ff3b;text-shadow:0 0 10px #b6ff3b;margin-bottom:6px;letter-spacing:2px}
#cmult{color:#ffe600;font-size:20px;font-weight:bold}
#ccount{font-size:12px;color:#7fdcff}
