:root {
  --amber: #ffb340;
  --amber-dim: #7a5520;
  --red: #ff3b30;
  --ink: #0a0c0e;
  --hud: #dfe6ec;
  --muted: rgba(223, 230, 236, 0.55);
  --ok: #7ee081;
  --line: rgba(255, 179, 64, 0.22);
  --panel: rgba(10, 14, 18, 0.72);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --focus: rgba(255, 179, 64, 0.85);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #05070a;
  color: var(--hud);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  cursor: default;
  user-select: none;
}

button,
input,
select,
a {
  font: inherit;
}

.mono {
  font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
}

#canvas-wrap,
#game-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#game-canvas {
  display: block;
}

.capture-prompt {
  position: absolute;
  left: 50%;
  bottom: clamp(12%, 18vh, 22%);
  transform: translateX(-50%);
  display: grid;
  gap: 4px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 179, 64, 0.45);
  background: linear-gradient(180deg, rgba(10, 14, 18, 0.82), rgba(6, 9, 12, 0.72));
  backdrop-filter: blur(4px);
  color: var(--hud);
  cursor: pointer;
  pointer-events: auto;
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: pulse 2.1s ease-in-out infinite;
}

.capture-label {
  font-size: 12px;
  font-weight: 700;
}

.capture-hint {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(223, 230, 236, 0.45);
  text-transform: uppercase;
}

.panel {
  background: linear-gradient(180deg, rgba(10, 14, 18, 0.72), rgba(6, 9, 12, 0.6));
  border: 1px solid rgba(223, 230, 236, 0.14);
  backdrop-filter: blur(2px);
}

.lbl {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(223, 230, 236, 0.5);
  font-weight: 600;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 20;
  pointer-events: auto;
}

.screen[hidden],
#hud[hidden],
[hidden] {
  display: none !important;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 3px);
}

.menu-screen {
  align-items: flex-start;
  justify-content: center;
  padding: clamp(14px, 3.5vh, 40px) clamp(16px, 5vw, 110px);
  background:
    linear-gradient(180deg, rgba(3, 5, 7, 0.78) 0%, rgba(3, 5, 7, 0) 26%, rgba(3, 5, 7, 0) 82%, rgba(3, 5, 7, 0.55) 100%),
    linear-gradient(95deg, rgba(4, 6, 9, 0.94) 0%, rgba(4, 6, 9, 0.86) 30%, rgba(4, 6, 9, 0.48) 56%, rgba(4, 6, 9, 0.16) 80%, rgba(4, 6, 9, 0.28) 100%);
  overflow: hidden;
}

.menu-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(600px, 100%);
  max-height: 100%;
  overflow: auto;
  position: relative;
  z-index: 1;
  scrollbar-width: thin;
}

.slug {
  position: absolute;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(223, 230, 236, 0.26);
  z-index: 1;
  pointer-events: none;
}

.slug b {
  color: rgba(255, 179, 64, 0.6);
  font-weight: 700;
}

.slug.tl {
  top: clamp(16px, 3vh, 26px);
  left: clamp(16px, 4vw, 30px);
}

.slug.tr {
  top: clamp(16px, 3vh, 26px);
  right: clamp(16px, 4vw, 30px);
  text-align: right;
}

.slug.br {
  bottom: clamp(14px, 2.8vh, 24px);
  right: clamp(16px, 4vw, 30px);
  text-align: right;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.55em;
  color: var(--amber);
  font-weight: 700;
}

.title {
  margin: 0;
  font-size: clamp(32px, min(7.4vw, 12vh), 86px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-align: left;
  background: linear-gradient(180deg, #fff 20%, #7d8996 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.title small {
  display: block;
  font-size: 0.26em;
  letter-spacing: 0.44em;
  font-weight: 600;
  color: var(--amber);
  -webkit-text-fill-color: var(--amber);
  margin-top: clamp(7px, 1.6vh, 16px);
}

.rule {
  width: min(560px, 100%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 179, 64, 0.75), transparent);
  margin: clamp(10px, 2.6vh, 26px) 0 clamp(10px, 2.4vh, 24px);
}

.keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3px, 0.9vh, 7px) clamp(12px, 3vw, 30px);
  width: 100%;
  margin-bottom: clamp(10px, 2vh, 18px);
}

.key {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 11px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(223, 230, 236, 0.58);
}

.key kbd {
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 0;
  text-align: center;
  background: rgba(223, 230, 236, 0.06);
  border: 1px solid rgba(223, 230, 236, 0.18);
  border-bottom-width: 2px;
  color: #e8eef3;
  white-space: nowrap;
}

.menu-form {
  width: 100%;
  display: grid;
  gap: clamp(10px, 2vh, 16px);
}

.field {
  display: grid;
  gap: 6px;
  width: 100%;
}

.field input,
.field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(223, 230, 236, 0.18);
  border-radius: 0;
  color: var(--hud);
  background: rgba(223, 230, 236, 0.06);
  letter-spacing: 0.08em;
}

.field input::placeholder {
  color: rgba(223, 230, 236, 0.35);
}

.field.checkbox {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  appearance: none;
  border: 1px solid rgba(223, 230, 236, 0.18);
  padding: clamp(10px, 1.5vh, 14px) clamp(18px, 3vw, 28px);
  color: #fff;
  background: rgba(223, 230, 236, 0.06);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  border-color: rgba(255, 179, 64, 0.55);
  background: rgba(255, 179, 64, 0.14);
  box-shadow: 0 0 24px rgba(255, 179, 64, 0.18);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.capture-prompt:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.btn.cta {
  border-color: rgba(255, 179, 64, 0.5);
  background: rgba(255, 179, 64, 0.08);
  animation: pulse 2.1s ease-in-out infinite;
}

.btn.secondary {
  letter-spacing: 0.2em;
}

.btn.ghost {
  background: transparent;
  letter-spacing: 0.18em;
  color: rgba(223, 230, 236, 0.72);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 179, 64, 0);
    background: rgba(255, 179, 64, 0.06);
  }
  50% {
    box-shadow: 0 0 34px rgba(255, 179, 64, 0.22);
    background: rgba(255, 179, 64, 0.14);
  }
}

.status-block {
  width: 100%;
  margin-top: clamp(8px, 1.8vh, 14px);
}

.status-line {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(223, 230, 236, 0.55);
}

#connection-status[data-state="in_match"] {
  color: var(--ok);
}

#connection-status[data-state="connecting"],
#connection-status[data-state="handshaking"],
#connection-status[data-state="reconnecting"] {
  color: var(--amber);
}

#connection-status[data-state="error"],
#connection-status[data-state="disconnected"] {
  color: var(--red);
}

.status-error {
  margin: 0.35rem 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.status-seam {
  margin: 0.35rem 0 0;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(223, 230, 236, 0.35);
}

.briefing-hint {
  margin: clamp(7px, 1.5vh, 15px) 0 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(223, 230, 236, 0.34);
  text-transform: uppercase;
}

.hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hud.on {
  opacity: 1;
}

.lowhp-vignette {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(140, 0, 0, 0.62) 100%);
  transition: opacity 0.25s ease;
}

.lowhp-vignette.on {
  opacity: 1;
}

.edge-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  box-shadow: inset 0 0 140px rgba(255, 179, 64, 0.4);
  transition: opacity 0.35s;
}

.edge-glow.on {
  opacity: 1;
}

.crosshair-canvas {
  position: absolute;
  pointer-events: none;
}

.crosshair-canvas.hidden {
  opacity: 0;
}

.hitmark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  opacity: 0;
}

.hitmark i {
  position: absolute;
  width: 2px;
  height: 11px;
  background: #fff;
  left: -1px;
  top: -5.5px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 50%;
}

.hitmark i:nth-child(1) {
  transform: rotate(45deg) translate(0, -7px);
}

.hitmark i:nth-child(2) {
  transform: rotate(-45deg) translate(0, -7px);
}

.hitmark i:nth-child(3) {
  transform: rotate(135deg) translate(0, -7px);
}

.hitmark i:nth-child(4) {
  transform: rotate(-135deg) translate(0, -7px);
}

.hitmark.show {
  animation: hm 0.22s ease-out;
}

.hitmark.kill i {
  background: var(--red);
}

@keyframes hm {
  0% {
    opacity: 1;
    transform: scale(0.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.dmg-dirs {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

.scope-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scope-overlay .shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 0, 0, 0) 0 36vmin,
    rgba(0, 0, 0, 0.55) 36vmin 36.7vmin,
    rgba(0, 0, 0, 0.99) 37.4vmin
  );
}

.scope-overlay .lens {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72vmin;
  height: 72vmin;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow:
    inset 0 0 9vmin 2vmin rgba(0, 0, 0, 0.72),
    inset 0 0 1.6vmin 0.4vmin rgba(150, 180, 200, 0.14),
    0 0 0 0.35vmin rgba(0, 0, 0, 0.9);
  background: radial-gradient(circle at 38% 30%, rgba(190, 215, 235, 0.07), rgba(0, 0, 0, 0) 55%);
}

.scope-overlay .retWrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  filter: drop-shadow(0 0 1px rgba(215, 230, 240, 0.55));
}

.scope-overlay .ret {
  position: absolute;
  background: rgba(8, 10, 12, 0.92);
}

.scope-overlay .ret.h {
  height: 1px;
  width: 28vmin;
  top: -0.5px;
}

.scope-overlay .ret.hL {
  left: -36vmin;
}

.scope-overlay .ret.hR {
  left: 8vmin;
}

.scope-overlay .ret.v {
  width: 1px;
  height: 28vmin;
  left: -0.5px;
}

.scope-overlay .ret.vT {
  top: -36vmin;
}

.scope-overlay .ret.vB {
  top: 8vmin;
}

.scope-overlay .ret.thin {
  background: rgba(8, 10, 12, 0.8);
}

.scope-overlay .ret.hIn {
  height: 1px;
  width: 6.2vmin;
  top: -0.5px;
  left: -8vmin;
}

.scope-overlay .ret.hInR {
  left: 1.8vmin;
}

.scope-overlay .ret.vIn {
  width: 1px;
  height: 6.2vmin;
  left: -0.5px;
  top: -8vmin;
}

.scope-overlay .ret.vInB {
  top: 1.8vmin;
}

.scope-overlay .center {
  position: absolute;
  width: 2px;
  height: 2px;
  left: -1px;
  top: -1px;
  background: rgba(255, 70, 50, 0.9);
  border-radius: 50%;
}

.scope-overlay .breath {
  position: absolute;
  left: 50%;
  bottom: 8vmin;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(223, 230, 236, 0.5);
  opacity: 0;
}

.scope-overlay .breath.on {
  opacity: 1;
}

.minimap-wrap {
  position: absolute;
  left: clamp(14px, 2.6vw, 26px);
  top: clamp(14px, 2.6vw, 26px);
  padding: 6px;
}

.minimap-head {
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

#minimap {
  display: block;
  image-rendering: auto;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(223, 230, 236, 0.12);
}

.hud-top-center {
  position: absolute;
  left: 50%;
  top: clamp(14px, 2.6vw, 20px);
  transform: translateX(-50%);
  text-align: center;
}

.timer {
  font-size: clamp(22px, 3.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 2px 8px #000;
}

.timer.warn {
  color: var(--red);
  animation: blink 1s steps(1, end) infinite;
}

.objective-line {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(223, 230, 236, 0.55);
  margin-top: 5px;
  font-weight: 600;
  text-transform: uppercase;
}

.objective-line b {
  color: var(--amber);
  font-size: 12px;
}

.score-line,
.match-banner,
.link-status {
  display: none;
}

.kill-feed {
  position: absolute;
  right: clamp(14px, 2.6vw, 26px);
  top: clamp(14px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  max-width: min(360px, 46vw);
}

.kf,
.feed-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  background: rgba(6, 9, 12, 0.66);
  border-right: 2px solid var(--amber);
  animation: kfin 0.22s ease-out;
}

.kf .me {
  color: var(--amber);
}

.kf .vic {
  color: #ff7a70;
}

@keyframes kfin {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kf.out,
.feed-item.out {
  opacity: 0;
  transform: translateX(24px);
  transition: all 0.3s ease-in;
}

.vitals-panel {
  position: absolute;
  left: clamp(14px, 2.6vw, 26px);
  bottom: clamp(14px, 2.6vw, 26px);
  width: min(250px, 42vw);
}

.vitals-panel .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.vitals-num {
  font-size: 30px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px #000;
}

.armor-num {
  font-size: 13px;
  font-weight: 600;
  color: #9fc9f2;
}

.vitals-panel .sub {
  margin-top: 9px;
}

.bar {
  position: relative;
  height: 13px;
  margin-top: 4px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(223, 230, 236, 0.2);
  overflow: hidden;
}

.bar > span {
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: left center;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(0, 0, 0, 0.55) 9px 11px);
}

.armor-bar {
  height: 8px;
}

#hpFill,
[data-hud="health-bar"] {
  background: linear-gradient(180deg, #8ef29a, #39b556);
}

#hpFill.low,
[data-hud="health-bar"].low {
  background: linear-gradient(180deg, #ff8d7a, #e0231a);
}

#apFill,
[data-hud="armor-bar"] {
  background: linear-gradient(180deg, #8ecbff, #2f7fd4);
}

.weapon-slots {
  position: absolute;
  right: clamp(14px, 2.6vw, 26px);
  bottom: clamp(138px, 20vh, 168px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.slot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(223, 230, 236, 0.38);
  border-right: 2px solid rgba(223, 230, 236, 0.15);
  background: rgba(6, 9, 12, 0.42);
  transition: all 0.16s;
}

.slot b {
  font-size: 9px;
  opacity: 0.6;
}

.slot.act {
  color: #fff;
  border-right-color: var(--amber);
  background: rgba(255, 179, 64, 0.1);
}

.ammo-panel {
  position: absolute;
  right: clamp(14px, 2.6vw, 26px);
  bottom: clamp(14px, 2.6vw, 26px);
  text-align: right;
  min-width: min(250px, 42vw);
}

#wname,
[data-hud="weapon-name"] {
  font-size: 12px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 179, 64, 0.35);
}

#wmode,
[data-hud="weapon-mode"] {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(223, 230, 236, 0.45);
  margin-top: 2px;
}

.ammo-row,
#ammoRow {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.mag-num,
#magNum {
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 10px #000;
}

.mag-num.empty,
#magNum.empty {
  color: var(--red);
}

.res-num,
#resNum {
  font-size: 16px;
  font-weight: 600;
  color: rgba(223, 230, 236, 0.55);
  padding-bottom: 4px;
}

.weapon-icon,
#wicon {
  margin-top: 6px;
  height: 26px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.85;
}

.reload-hint,
#reloadHint {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--red);
  min-height: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.reload-hint.blink,
#reloadHint.blink {
  animation: blink 0.7s steps(1, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.15;
  }
}

.interaction-panel {
  position: absolute;
  left: 50%;
  bottom: clamp(96px, 14vh, 128px);
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid rgba(223, 230, 236, 0.18);
  background: rgba(6, 9, 12, 0.72);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pause-screen {
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 7, 0.72);
  z-index: 15;
}

.pause-core {
  text-align: center;
}

.pause-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.pause-sub {
  margin: 12px 0 0;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(223, 230, 236, 0.5);
  text-transform: uppercase;
}

.pause-actions {
  justify-content: center;
  margin-top: 28px;
}

.settings-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  padding: 22px;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.settings-panel h3 {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}

.fatal-screen {
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 45%, rgba(18, 24, 30, 0.86), rgba(3, 5, 7, 0.97));
}

.fatal-core {
  width: min(480px, calc(100vw - 32px));
  padding: 28px;
  text-align: center;
}

.fatal-core h2 {
  margin: 0.4rem 0 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fatal-message {
  margin: 0 0 1.2rem;
  color: rgba(223, 230, 236, 0.72);
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  .menu-screen {
    padding: clamp(12px, 2.5vh, 24px) clamp(12px, 4vw, 20px);
  }

  .keys {
    grid-template-columns: 1fr;
  }

  .key {
    grid-template-columns: 88px 1fr;
  }

  .menu-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .slug.tr {
    max-width: 42vw;
    font-size: 8px;
  }

  .weapon-slots {
    bottom: clamp(108px, 22vh, 132px);
    gap: 3px;
  }

  .slot {
    font-size: 9px;
    padding: 3px 7px;
  }

  .vitals-panel,
  .ammo-panel {
    width: min(220px, 46vw);
  }

  .vitals-num {
    font-size: 24px;
  }

  .minimap-wrap {
    transform: scale(0.88);
    transform-origin: top left;
  }

  .kill-feed {
    top: auto;
    bottom: clamp(150px, 24vh, 180px);
    right: clamp(10px, 3vw, 16px);
    max-width: 58vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn.cta,
  .capture-prompt {
    animation: none;
  }

  .timer.warn,
  .reload-hint.blink,
  #reloadHint.blink {
    animation: none;
  }

  .hud,
  .bar > span,
  .edge-glow,
  .lowhp-vignette {
    transition: none;
  }
}

body.reduced-motion .btn.cta,
body.reduced-motion .capture-prompt {
  animation: none;
}

body.reduced-motion .timer.warn,
body.reduced-motion .reload-hint.blink,
body.reduced-motion #reloadHint.blink {
  animation: none;
}

body.reduced-motion .hud,
body.reduced-motion .bar > span,
body.reduced-motion .edge-glow,
body.reduced-motion .lowhp-vignette {
  transition: none;
}
