:root {
  --bg: #06080c;
  --accent: #57e7c8;
  --warm: #f0b24a;
  --text: #dbe4ee;
  --muted: #8b98a8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; cursor: none;
}
#stage { position: fixed; inset: 0; }
#game { display: block; width: 100%; height: 100%; }

/* ---------- HUD ---------- */
#hud { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hud-left { position: absolute; left: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.hud-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }

.bar { width: 240px; height: 11px; border-radius: 2px; clip-path: polygon(6px 0,100% 0,100% 100%,0 100%,0 6px);
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); overflow: hidden; }
.bar.stamina { width: 240px; height: 6px; clip-path: none; border-radius: 3px; }
.bar span { display: block; height: 100%; width: 100%; transform-origin: left center; transition: transform 0.06s linear; }
.health span { background: linear-gradient(90deg, #d0463c, #f0736a); box-shadow: 0 0 12px rgba(216,70,60,0.55); }
.stamina span { background: linear-gradient(90deg, #3fd3b4, #57e7c8); box-shadow: 0 0 10px rgba(87,231,200,0.5); }

#ammo { font-family: 'Rajdhani','Chakra Petch',sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--text); text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
#kills { position: absolute; left: 24px; top: 20px; font-family: 'Chakra Petch',sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 3px; color: var(--muted); }

.dodge-pip { position: relative; width: 66px; height: 20px; border-radius: 2px; clip-path: polygon(5px 0,100% 0,100% 100%,0 100%,0 5px);
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.dodge-pip span { position: absolute; inset: 0; transform-origin: left center; background: linear-gradient(90deg, rgba(240,178,74,0.2), rgba(240,178,74,0.4)); }
.dodge-pip label { position: relative; font-family: 'Chakra Petch',sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--muted); }
.dodge-pip.ready label { color: var(--warm); text-shadow: 0 0 8px rgba(240,178,74,0.6); }

#seed { position: absolute; right: 20px; bottom: 18px; font-family: 'Chakra Petch',sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--muted); opacity: 0.8; }
