/* ===========================================================
   VOID RUNNER — UI / HUD styles
   =========================================================== */

:root {
  --accent:      #00e5ff;
  --accent-dim:  #0097a7;
  --danger:      #ff2d55;
  --danger-dim:  #8c0f2a;
  --warn:        #ffcc33;
  --ok:          #39ff88;
  --bg:          #05070c;
  --panel:       rgba(8, 14, 22, 0.82);
  --stroke:      rgba(0, 229, 255, 0.28);
  --text:        #d8f4ff;
  --text-dim:    #7fa3b5;
  --mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

#app { position: fixed; inset: 0; }

#scene { display: block; width: 100%; height: 100%; }

.hidden { display: none !important; }

/* ===========================================================
   HUD
   =========================================================== */

#hud {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 10;
  animation: hudIn .5s ease both;
}
@keyframes hudIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Crosshair ---------- */
#crosshair {
  position: absolute; top: 50%; left: 50%;
  width: 26px; height: 26px;
  transform: translate(-50%, -50%);
  transition: transform .09s ease;
}
#crosshair span {
  position: absolute;
  background: rgba(0, 229, 255, .9);
  box-shadow: 0 0 4px rgba(0, 229, 255, .8);
}
#crosshair span:nth-child(1) { top: 0; left: 50%; width: 2px; height: 8px; margin-left: -1px; }
#crosshair span:nth-child(2) { bottom: 0; left: 50%; width: 2px; height: 8px; margin-left: -1px; }
#crosshair span:nth-child(3) { left: 0; top: 50%; height: 2px; width: 8px; margin-top: -1px; }
#crosshair span:nth-child(4) { right: 0; top: 50%; height: 2px; width: 8px; margin-top: -1px; }
#crosshair i {
  position: absolute; top: 50%; left: 50%;
  width: 2px; height: 2px; margin: -1px 0 0 -1px;
  background: var(--accent);
  border-radius: 50%;
}
#crosshair.kick { transform: translate(-50%, -50%) scale(1.7); }
#crosshair.enemy  { filter: hue-rotate(-160deg) saturate(3); }

/* ---------- Hitmarker ---------- */
#hitmarker {
  position: absolute; top: 50%; left: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  opacity: 0;
  background:
    linear-gradient(45deg,  transparent 44%, #fff 44%, #fff 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%);
  -webkit-mask: radial-gradient(circle, transparent 22%, #000 24%);
          mask: radial-gradient(circle, transparent 22%, #000 24%);
}
#hitmarker.show { animation: hitPop .22s ease-out; }
#hitmarker.kill { filter: drop-shadow(0 0 3px var(--danger)); }
@keyframes hitPop {
  0%   { opacity: 1; transform: scale(.55); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* ---------- Vignettes ---------- */
#damage-vignette, #lowhealth-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
#damage-vignette {
  background: radial-gradient(ellipse at center, transparent 42%, rgba(255, 45, 85, .85) 100%);
}
#lowhealth-vignette {
  background: radial-gradient(ellipse at center, transparent 48%, rgba(255, 0, 40, .5) 100%);
  animation: pulseLow 1.15s ease-in-out infinite;
}
@keyframes pulseLow { 0%,100% { opacity: .25; } 50% { opacity: .75; } }

#flash {
  position: absolute; inset: 0;
  background: #ff2d55;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  mix-blend-mode: screen;
}
#flash.fire { animation: flash .12s ease-out; }
@keyframes flash { 0% { opacity: .35; } 100% { opacity: 0; } }

/* ---------- Top-left stats ---------- */
#hud-topleft {
  position: absolute; top: 20px; left: 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-line { display: flex; align-items: baseline; gap: 10px; }
.stat-label {
  font-size: 10px; letter-spacing: 2px;
  color: var(--text-dim);
  min-width: 78px;
}
.stat-value {
  font-size: 20px; font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 229, 255, .45);
  font-variant-numeric: tabular-nums;
}
.stat-value.bump { animation: bump .22s ease; }
@keyframes bump { 50% { transform: scale(1.32); color: #fff; } }

/* ---------- Wave banner ---------- */
#wave-banner {
  position: absolute; top: 16%; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bannerIn 3s ease forwards;
}
#wave-banner h2 {
  font-size: 42px; letter-spacing: 8px; font-weight: 800;
  color: #fff;
  text-shadow: 0 0 24px rgba(0, 229, 255, .7);
}
#wave-banner p {
  margin-top: 6px;
  font-size: 12px; letter-spacing: 4px;
  color: var(--accent);
}
@keyframes bannerIn {
  0%   { opacity: 0; transform: translateX(-50%) scale(1.4); }
  12%  { opacity: 1; transform: translateX(-50%) scale(1); }
  78%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-14px); }
}

/* ---------- Bottom-left: health ---------- */
#hud-bottomleft { position: absolute; bottom: 26px; left: 26px; width: 260px; }

.bar-shell {
  position: relative;
  height: 20px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid var(--stroke);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, .8);
}
.bar-shell.thin { height: 6px; margin-top: 5px; }

.bar-fill {
  height: 100%;
  width: 100%;
  transition: width .2s ease, background .3s ease;
}
.bar-fill.health {
  background: linear-gradient(90deg, var(--danger-dim), var(--danger) 55%, #ff7a95);
  box-shadow: 0 0 14px rgba(255, 45, 85, .55);
}
.bar-fill.health.low { animation: pulseLow .8s ease-in-out infinite; }
.bar-fill.stamina {
  background: linear-gradient(90deg, var(--accent-dim), var(--warn));
  box-shadow: 0 0 10px rgba(255, 204, 51, .4);
}
.bar-fill.ammo {
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  box-shadow: 0 0 12px rgba(0, 229, 255, .5);
}
.bar-fill.ammo.empty { background: linear-gradient(90deg, #6b2020, var(--danger)); }

.bar-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px;
  font-size: 12px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px #000;
}
.bar-label {
  margin-top: 5px;
  font-size: 9px; letter-spacing: 3px;
  color: var(--text-dim);
}

/* ---------- Weapon slot row ---------- */
/* Shows every slot and which is equipped, so a four-weapon loadout stays
   legible without a separate "current weapon" panel. Mirrors the dimmed look
   used by `.ability.cooling` for inactive cooldown pips. */
#weapon-slots {
  margin-top: 8px;
  display: flex; gap: 5px; justify-content: flex-end;
}
#weapon-slots .slot {
  display: flex; align-items: center; gap: 4px;
  padding: 3px 6px 3px 3px;
  border: 1px solid var(--stroke);
  border-radius: 4px;
  background: rgba(0, 0, 0, .45);
  opacity: .45;
  transition: opacity .12s ease, border-color .12s ease, background .12s ease;
}
#weapon-slots .slot-key {
  font-size: 9px; font-weight: 800;
  color: #04121a;
  background: var(--text-dim);
  border-radius: 3px;
  width: 14px; height: 14px;
  display: flex; align-items: center; justify-content: center;
}
#weapon-slots .slot-name {
  font-size: 8px; letter-spacing: 1px; color: var(--text-dim);
}
#weapon-slots .slot.active {
  opacity: 1;
  border-color: var(--accent);
  background: rgba(0, 229, 255, .12);
  box-shadow: 0 0 10px rgba(0, 229, 255, .35);
}
#weapon-slots .slot.active .slot-key { background: var(--accent); }
#weapon-slots .slot.active .slot-name { color: var(--accent); }

#stamina-shell { margin-top: 8px; }

/* ---------- Bottom-right: ammo ---------- */
#hud-bottomright {
  position: absolute; bottom: 26px; right: 26px;
  text-align: right;
  width: 260px;
}
.ammo-count {
  font-size: 38px; font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(0, 229, 255, .4);
}
.ammo-count em {
  font-size: 16px; font-style: normal;
  color: var(--text-dim);
  margin-left: 2px;
}
.ammo-count.dry { color: var(--danger); animation: shake .3s ease; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

#reload-hint {
  margin-top: 6px;
  font-size: 11px; letter-spacing: 3px;
  color: var(--warn);
  animation: blink .55s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Charge bar (railgun) ---------- */
#charge-bar { margin-top: 5px; }
.bar-fill.charge {
  width: 0%;
  background: linear-gradient(90deg, #7a5cff, #c9a6ff 60%, #ffffff);
  box-shadow: 0 0 16px rgba(160, 110, 255, .8);
}
.bar-fill.charge.full {
  background: linear-gradient(90deg, #ffffff, #d7b4ff);
  animation: chargeReady .35s ease-in-out infinite alternate;
}
@keyframes chargeReady {
  from { filter: brightness(1); }
  to   { filter: brightness(1.7); }
}
.charge-label { color: #b79cff; }

/* ---------- Ability cooldowns ---------- */
#abilities {
  position: absolute;
  bottom: 130px; right: 26px;
  display: flex; gap: 14px;
}
.ability {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 46px;
  opacity: .92;
}
.ab-key {
  font-size: 11px; font-weight: 800;
  color: #04121a;
  background: var(--accent);
  border-radius: 4px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(0, 229, 255, .5);
}
.ab-ring {
  position: relative;
  width: 40px; height: 5px;
  background: rgba(0, 0, 0, .6);
  border: 1px solid var(--stroke);
  border-radius: 3px;
  overflow: hidden;
}
.ab-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  box-shadow: 0 0 8px rgba(0, 229, 255, .5);
  transition: width .08s linear;
}
.ab-name {
  font-size: 8px; letter-spacing: 1.5px;
  color: var(--text-dim);
}
.ability.cooling .ab-key { background: #3a4a55; color: #7fa3b5; box-shadow: none; }
.ability.cooling .ab-fill { background: #2a3742; box-shadow: none; }

/* ---------- Overdrive indicator ---------- */
#overdrive {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -190px);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.od-label {
  font-size: 11px; font-weight: 800; letter-spacing: 5px;
  color: var(--warn);
  text-shadow: 0 0 14px rgba(255, 204, 51, .8);
  animation: odPulse .7s ease-in-out infinite alternate;
}
@keyframes odPulse { from { opacity: .65; } to { opacity: 1; } }
.od-bar {
  width: 190px; height: 4px;
  background: rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 204, 51, .4);
  border-radius: 2px; overflow: hidden;
}
.od-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, #b8860b, var(--warn));
  box-shadow: 0 0 12px rgba(255, 204, 51, .7);
  transition: width .1s linear;
}

/* ---------- Minimap ---------- */
#minimap-wrap {
  position: absolute; top: 20px; right: 22px;
  width: 150px; height: 150px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, .6);
  box-shadow: 0 0 20px rgba(0, 0, 0, .7), inset 0 0 24px rgba(0, 229, 255, .1);
}
#minimap { display: block; width: 100%; height: 100%; }

/* ---------- Buff / ability indicators ---------- */
/* Sits under the minimap, left-aligned so it never collides with the
   killfeed. Countdowns are driven from the game state each frame. */
#buffs {
  position: absolute; top: 182px; right: 22px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  pointer-events: none;
}
.buff {
  display: flex; align-items: center; gap: 8px;
  padding: 3px 9px;
  font-size: 10px; letter-spacing: 1.5px;
  background: rgba(8, 14, 22, .72);
  border-right: 2px solid var(--accent);
  color: var(--text);
  animation: buffIn .18s ease;
}
.buff.hidden { display: none; }
.buff-name { font-weight: 700; }
.buff-timer {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  min-width: 26px; text-align: right;
}
/* Overdrive is the "you are powered up" state — warm, pulsing. */
#buff-overdrive {
  border-right-color: var(--warn);
  color: var(--warn);
  animation: buffIn .18s ease, odPulse 1.1s ease-in-out infinite;
}
#buff-overdrive .buff-timer { color: var(--warn); }
/* Dash cooldown is informational — cool, steady, fades as it recharges. */
#buff-dash { border-right-color: #5a7a94; color: #7f9db3; }
#buff-dash .buff-timer { color: #7f9db3; }
@keyframes buffIn { from { opacity: 0; transform: translateX(10px); } }
@keyframes odPulse {
  50% { box-shadow: 0 0 14px rgba(255, 163, 42, .45); }
}

/* ---------- Killfeed ---------- */
#killfeed {
  position: absolute; top: 20px; right: 190px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  max-width: 260px;
}
.kf-item {
  font-size: 11px; letter-spacing: 1px;
  color: var(--text);
  background: rgba(8, 14, 22, .7);
  border-left: 2px solid var(--accent);
  padding: 3px 8px;
  animation: kfIn 3.4s ease forwards;
  white-space: nowrap;
}
.kf-item.crit { border-left-color: var(--warn); color: var(--warn); }
@keyframes kfIn {
  0%   { opacity: 0; transform: translateX(20px); }
  6%   { opacity: 1; transform: translateX(0); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(20px); }
}

/* ---------- Damage popups (3D → screen projected) ---------- */
#popups { position: absolute; inset: 0; overflow: hidden; }
.popup {
  position: absolute;
  font-size: 15px; font-weight: 800;
  color: var(--warn);
  text-shadow: 0 2px 5px #000;
  transform: translate(-50%, -50%);
  animation: popRise .85s ease-out forwards;
  font-variant-numeric: tabular-nums;
}
.popup.crit { color: #fff; font-size: 22px; }
.popup.incoming { color: var(--danger); }
@keyframes popRise {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  15%  { opacity: 1; transform: translate(-50%, -60%) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -160%) scale(.9); }
}

/* ===========================================================
   MENUS
   =========================================================== */

#menu, #pause, #gameover, #victory {
  position: absolute; inset: 0;
  z-index: 40;
  display: flex; align-items: center; justify-content: center;
}

#menu {
  background: radial-gradient(ellipse at 50% 40%, #0a1622 0%, #04060a 70%);
}
.menu-bg {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,229,255,.045) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 20% 30%, rgba(0,229,255,.09), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,45,85,.07), transparent 45%);
  pointer-events: none;
  animation: scan 8s linear infinite;
}
@keyframes scan { to { background-position: 0 60px, 0 0, 0 0; } }

#pause, #gameover, #victory {
  background: rgba(3, 6, 11, .88);
  backdrop-filter: blur(7px);
}

.menu-content {
  position: relative;
  text-align: center;
  padding: 44px 52px;
  max-width: 640px;
  animation: menuIn .4s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }

.title {
  font-size: 66px; font-weight: 900; letter-spacing: 12px;
  line-height: .95;
  background: linear-gradient(180deg, #fff 20%, var(--accent) 75%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(0, 229, 255, .4));
}
.title span { display: block; color: transparent; }
.title.small { font-size: 44px; letter-spacing: 9px; }
.title.danger {
  background: linear-gradient(180deg, #ffb3c1, var(--danger) 70%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 26px rgba(255, 45, 85, .45));
}
.title.victory {
  background: linear-gradient(180deg, #d6ffe8, var(--ok) 70%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 26px rgba(57, 255, 136, .4));
}

.tagline {
  margin-top: 12px;
  font-size: 12px; letter-spacing: 3px;
  color: var(--text-dim);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 22px;
  margin: 32px auto 28px;
  max-width: 470px;
  text-align: left;
}
.controls-grid > div {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-dim);
  letter-spacing: 1px;
}
.controls-grid span { margin-left: auto; color: var(--text); }

kbd {
  display: inline-block;
  min-width: 24px;
  padding: 3px 7px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  color: var(--accent);
  background: rgba(0, 229, 255, .07);
  border: 1px solid var(--stroke);
  border-bottom-width: 2px;
  border-radius: 4px;
  text-align: center;
}

.cta, .ghost {
  display: block;
  width: 300px;
  margin: 12px auto 0;
  padding: 15px 20px;
  font-family: var(--mono);
  font-size: 14px; font-weight: 800; letter-spacing: 4px;
  color: #04121a;
  background: linear-gradient(180deg, #6ff6ff, var(--accent) 60%, var(--accent-dim));
  border: none; border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(0, 229, 255, .4), 0 5px 0 #026b76;
  transition: transform .1s ease, box-shadow .2s ease, filter .2s ease;
}
.cta:hover { filter: brightness(1.12); box-shadow: 0 0 40px rgba(0, 229, 255, .65), 0 5px 0 #026b76; }
.cta:active { transform: translateY(4px); box-shadow: 0 0 26px rgba(0, 229, 255, .4), 0 1px 0 #026b76; }

.ghost {
  width: 300px;
  margin-top: 10px;
  padding: 10px;
  font-size: 11px; letter-spacing: 3px;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--stroke);
  box-shadow: none;
}
.ghost:hover { color: var(--accent); border-color: var(--accent); filter: none; }
.ghost:active { transform: none; box-shadow: none; }

/* Two buttons side by side under the CTA */
.btn-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.btn-row .ghost {
  width: auto;
  flex: 1;
  margin-top: 0;
  padding: 10px 6px;
  font-size: 10px;
  letter-spacing: 2px;
}

.hint {
  margin-top: 20px;
  font-size: 10px; letter-spacing: 1px;
  color: rgba(127, 163, 181, .65);
}

/* ---------- Results ---------- */
.results {
  display: flex; justify-content: center; gap: 34px;
  margin: 28px 0 24px;
}
.results > div { display: flex; flex-direction: column; gap: 6px; }
.results span { font-size: 9px; letter-spacing: 2px; color: var(--text-dim); }
.results b {
  font-size: 28px; font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(0, 229, 255, .35);
}

/* Secondary stat row: smaller and dimmer than the headline numbers */
.results.sub {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 229, 255, .12);
  gap: 26px;
}
.results.sub span { font-size: 8px; letter-spacing: 1.5px; }
.results.sub b {
  font-size: 17px;
  color: var(--text);
  text-shadow: none;
}

/* ===========================================================
   LOADING
   =========================================================== */

#loading {
  position: absolute; inset: 0;
  z-index: 60;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  background: var(--bg);
  transition: opacity .5s ease;
}
#loading.done { opacity: 0; pointer-events: none; }
#loading p { font-size: 11px; letter-spacing: 5px; color: var(--text-dim); }
.loader {
  width: 46px; height: 46px;
  border: 2px solid rgba(0, 229, 255, .15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================================================
   FATAL ERROR
   Injected by js/boot.js, never present in index.html — it only
   exists once something has already gone wrong.
   =========================================================== */

#fatal {
  position: fixed; inset: 0;
  z-index: 200;                 /* above #loading (60) and the menus */
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 12, .94);
  backdrop-filter: blur(3px);
}
.fatal-box {
  width: min(680px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: 28px 30px;
  background: var(--panel);
  border: 1px solid var(--danger-dim);
  border-left: 3px solid var(--danger);
  box-shadow: 0 0 60px rgba(255, 45, 85, .18);
}
.fatal-title {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--danger);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fatal-message {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.fatal-detail {
  /* user-select is off globally so the HUD cannot be selected mid-fight;
     a stack trace is the one thing here worth selecting. */
  user-select: text;
  -webkit-user-select: text;
  max-height: 260px;
  overflow: auto;
  margin-bottom: 20px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-dim);
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(127, 163, 181, .18);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  cursor: text;
}
.fatal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===========================================================
   Responsive
   =========================================================== */

@media (max-width: 760px) {
  .title { font-size: 44px; letter-spacing: 7px; }
  .title.small { font-size: 30px; }
  .controls-grid { grid-template-columns: 1fr; }
  #hud-topleft { transform: scale(.85); transform-origin: top left; }
  #hud-bottomright, #hud-bottomleft { transform: scale(.85); }
  #minimap-wrap { width: 100px; height: 100px; }
  #killfeed { display: none; }
}
