:root {
  color-scheme: dark;
  --ink: #070b0e;
  --panel: rgba(9, 15, 19, 0.86);
  --panel-solid: #0b1115;
  --line: rgba(157, 184, 192, 0.18);
  --line-hot: rgba(118, 238, 229, 0.48);
  --text: #e6eef0;
  --muted: #809097;
  --cyan: #76eee5;
  --cyan-dim: #2b9b99;
  --orange: #ff7a38;
  --danger: #ff4d45;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  font-family: "Avenir Next Condensed", "DIN Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--text);
  overscroll-behavior: none;
}

button,
input {
  font: inherit;
}

button,
summary,
input[type="range"] {
  -webkit-tap-highlight-color: transparent;
}

.game-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  isolation: isolate;
  background: #080d10;
  user-select: none;
}

.game-shell::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 4px 4px,
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.48) 120%);
  mix-blend-mode: soft-light;
}

#arena {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.hud-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
}

.topbar {
  position: absolute;
  z-index: 5;
  top: calc(18px + var(--safe-top));
  right: 20px;
  left: 20px;
  height: 66px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.brand-lockup {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 18px;
}

.brand-mark {
  width: 22px;
  height: 30px;
  display: block;
  border: 2px solid var(--cyan);
  border-top-color: transparent;
  transform: skew(-9deg);
  box-shadow: inset 6px 0 0 rgba(118, 238, 229, 0.12);
}

.brand-lockup strong {
  display: block;
  font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif;
  font-size: 18px;
  font-stretch: condensed;
  letter-spacing: 0.11em;
}

.brand-lockup strong span {
  color: var(--cyan);
  padding: 0 2px;
}

.brand-lockup small,
.network-strip small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.match-strip {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.match-strip b {
  margin-left: 6px;
  color: var(--text);
  font-size: 12px;
}

.match-strip i,
.join-footer i {
  width: 3px;
  height: 3px;
  background: var(--orange);
  transform: rotate(45deg);
}

.network-strip {
  justify-self: end;
  min-width: 178px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 18px;
}

.network-strip strong {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.network-strip[data-state="online"] strong,
.network-strip[data-state="online"] .signal-bars i {
  color: var(--cyan);
  background: var(--cyan);
}

.network-strip[data-state="warning"] strong,
.network-strip[data-state="warning"] .signal-bars i {
  color: var(--orange);
  background: var(--orange);
}

.signal-bars {
  width: 24px;
  height: 22px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.signal-bars i {
  width: 4px;
  height: 7px;
  background: var(--muted);
}

.signal-bars i:nth-child(2) { height: 13px; }
.signal-bars i:nth-child(3) { height: 20px; }

.mission-brief {
  position: absolute;
  z-index: 5;
  top: calc(102px + var(--safe-top));
  left: 20px;
  width: 210px;
  padding: 13px 15px 12px;
  border-left: 2px solid var(--cyan-dim);
}

.eyebrow {
  color: var(--cyan);
  font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.mission-brief p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

kbd {
  min-width: 28px;
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid rgba(230, 238, 240, 0.28);
  border-bottom-color: rgba(230, 238, 240, 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 9px;
  text-align: center;
}

.scoreboard {
  position: absolute;
  z-index: 5;
  top: calc(102px + var(--safe-top));
  right: 20px;
  width: 224px;
  max-height: 278px;
  overflow: hidden;
}

.panel-heading {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.panel-heading small {
  color: var(--muted);
  font-size: 9px;
}

#scoreList {
  max-height: 238px;
  margin: 0;
  padding: 5px 0;
  overflow: hidden auto;
  list-style: none;
  counter-reset: rank;
}

#scoreList li {
  height: 34px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 10px;
  counter-increment: rank;
}

#scoreList li::before {
  content: counter(rank, decimal-leading-zero);
  color: #4e5d62;
  font-family: monospace;
  font-size: 8px;
}

#scoreList li.me {
  background: linear-gradient(90deg, rgba(118, 238, 229, 0.1), transparent);
  color: var(--cyan);
}

#scoreList .score-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#scoreList .score-value {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, monospace;
}

#scoreList li.empty-score {
  display: flex;
  justify-content: center;
  color: #526167;
  counter-increment: none;
}

#scoreList li.empty-score::before { content: none; }

.local-readout {
  position: absolute;
  z-index: 5;
  bottom: calc(20px + var(--safe-bottom));
  left: 50%;
  width: min(470px, calc(100% - 40px));
  height: 62px;
  display: grid;
  grid-template-columns: 52px 1fr 1.4fr;
  align-items: center;
  transform: translateX(-50%);
  clip-path: polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
}

.operator-badge {
  height: 100%;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-hot);
  background: rgba(118, 238, 229, 0.1);
  color: var(--cyan);
  font-family: monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.operator-copy {
  min-width: 0;
  padding: 0 14px;
}

.operator-copy small,
.health-readout span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.operator-copy strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.health-readout {
  padding-right: 21px;
}

.health-readout > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.health-readout b {
  color: var(--text);
  font-family: monospace;
  font-size: 9px;
}

.health-track {
  position: relative;
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.health-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  box-shadow: 0 0 12px rgba(118, 238, 229, 0.42);
  transition: width 180ms ease, background 180ms ease;
}

.kill-feed {
  position: absolute;
  z-index: 6;
  top: calc(101px + var(--safe-top));
  left: 50%;
  width: min(420px, 46vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  transform: translateX(-50%);
}

.kill-line {
  padding: 6px 12px;
  border-right: 1px solid rgba(255, 122, 56, 0.44);
  border-left: 1px solid rgba(255, 122, 56, 0.44);
  background: rgba(7, 11, 14, 0.76);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  animation: feed-in 220ms ease-out both;
}

.kill-line b { color: var(--orange); }

@keyframes feed-in {
  from { opacity: 0; transform: translateY(-7px); }
}

.network-lab {
  position: absolute;
  z-index: 7;
  bottom: calc(20px + var(--safe-bottom));
  left: 20px;
  width: 220px;
}

.network-lab summary {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.network-lab summary::-webkit-details-marker { display: none; }

.network-lab summary::before {
  width: 5px;
  height: 5px;
  content: "";
  border-right: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.network-lab[open] summary::before { transform: rotate(45deg); }

.network-lab summary span { margin-right: auto; margin-left: 9px; }
.network-lab summary small { color: var(--muted); font-size: 8px; }

.lab-content {
  padding: 12px;
  border-top: 1px solid var(--line);
}

.lab-content label {
  display: block;
  margin-bottom: 12px;
}

.lab-content label span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
}

.lab-content label b { color: var(--cyan); font-family: monospace; }

input[type="range"] {
  width: 100%;
  height: 3px;
  margin: 0;
  appearance: none;
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

input[type="range"]::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  appearance: none;
  border: 2px solid var(--panel-solid);
  border-radius: 0;
  background: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan-dim);
  transform: rotate(45deg);
}

.lab-content p {
  margin: 0;
  color: #536269;
  font-size: 8px;
  line-height: 1.55;
}

.mobile-controls { display: none; }

.respawn-overlay {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  width: 260px;
  padding: 20px;
  border-top: 2px solid var(--danger);
  border-bottom: 1px solid rgba(255, 77, 69, 0.35);
  background: rgba(8, 11, 13, 0.88);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.respawn-overlay[hidden] { display: none; }
.respawn-overlay span { display: block; color: var(--danger); font-size: 10px; letter-spacing: 0.18em; }
.respawn-overlay strong { display: block; margin: 9px 0 5px; font-family: monospace; font-size: 42px; line-height: 1; }
.respawn-overlay small { color: var(--muted); font-size: 8px; letter-spacing: 0.15em; }

.join-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: calc(30px + var(--safe-top)) 24px calc(50px + var(--safe-bottom));
  background:
    linear-gradient(rgba(5, 9, 11, 0.74), rgba(5, 9, 11, 0.92)),
    repeating-linear-gradient(115deg, transparent 0 72px, rgba(118, 238, 229, 0.035) 72px 73px),
    radial-gradient(circle at 23% 46%, rgba(26, 112, 111, 0.36), transparent 29%),
    #070b0e;
  transition: opacity 380ms ease, visibility 380ms ease;
}

.join-overlay::before,
.join-overlay::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.join-overlay::before {
  inset: 30px;
  border: 1px solid rgba(118, 238, 229, 0.1);
  clip-path: polygon(0 0, 28% 0, 28% 1px, 72% 1px, 72% 0, 100% 0, 100% 100%, 0 100%);
}

.join-overlay::after {
  top: 0;
  bottom: 0;
  left: 36%;
  width: 1px;
  background: linear-gradient(transparent, rgba(118, 238, 229, 0.17) 25%, rgba(118, 238, 229, 0.05) 75%, transparent);
  transform: skew(-14deg);
}

.join-overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.join-card {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 74px;
  align-items: end;
  padding: 54px;
  border: 1px solid rgba(143, 178, 185, 0.18);
  background: rgba(8, 13, 16, 0.82);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.42);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  animation: deploy-in 700ms cubic-bezier(.2,.75,.2,1) both;
}

@keyframes deploy-in {
  from { opacity: 0; transform: translateY(18px); }
}

.join-decoration {
  position: absolute;
  top: 18px;
  right: 54px;
  left: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #425157;
  font-family: monospace;
  font-size: 7px;
  letter-spacing: 0.14em;
}

.join-decoration i { flex: 1; height: 1px; background: rgba(143, 178, 185, 0.13); }

.join-copy h1 {
  margin: 18px 0 16px;
  color: var(--text);
  font-family: "STKaiti", "KaiTi", "Avenir Next Condensed", sans-serif;
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.join-copy h1 em {
  color: var(--cyan);
  font-style: normal;
}

.join-copy > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

#joinForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#joinForm label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
}

#joinForm input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: border-color 140ms ease, background 140ms ease;
}

#joinForm input:focus {
  border-color: var(--cyan-dim);
  background: rgba(118, 238, 229, 0.035);
}

#joinForm button {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 16px;
  border: 1px solid var(--cyan);
  border-radius: 0;
  background: var(--cyan);
  color: #061011;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  transition: filter 140ms ease, transform 140ms ease;
}

#joinForm button:hover { filter: brightness(1.12); }
#joinForm button:active { transform: translateY(1px); }
#joinForm button:disabled { cursor: wait; filter: grayscale(0.6) brightness(0.6); }
#joinForm button i { font-size: 21px; font-style: normal; font-weight: 400; }

.form-status {
  min-height: 14px;
  margin: -3px 0 0;
  color: #536269;
  font-size: 8px;
  line-height: 1.5;
}

.form-status.error { color: var(--orange); }

.join-footer {
  position: absolute;
  z-index: 2;
  bottom: calc(17px + var(--safe-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4e5d62;
  font-size: 8px;
  letter-spacing: 0.15em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.toast-stack {
  position: absolute;
  z-index: 30;
  right: 20px;
  bottom: calc(96px + var(--safe-bottom));
  width: min(290px, calc(100% - 40px));
  pointer-events: none;
}

.toast {
  margin-top: 7px;
  padding: 10px 12px;
  border-left: 2px solid var(--orange);
  background: rgba(8, 13, 16, 0.92);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  animation: toast-in 180ms ease-out both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(8px); }
}

@media (max-width: 820px), (pointer: coarse) {
  .game-shell { min-height: 400px; }
  .topbar {
    top: calc(8px + var(--safe-top));
    right: 8px;
    left: 8px;
    height: 52px;
    grid-template-columns: 1fr auto;
  }
  .brand-lockup { gap: 8px; padding-left: 10px; }
  .brand-mark { width: 16px; height: 23px; }
  .brand-lockup strong { font-size: 13px; }
  .brand-lockup small { display: none; }
  .match-strip { display: none; }
  .network-strip { min-width: 136px; padding-right: 9px; gap: 7px; }
  .network-strip strong { font-size: 9px; }
  .network-strip small { font-size: 7px; }
  .signal-bars { transform: scale(0.7); }
  .mission-brief { display: none; }
  .scoreboard {
    top: calc(68px + var(--safe-top));
    right: 8px;
    width: 164px;
    max-height: 145px;
    background: rgba(9, 15, 19, 0.7);
  }
  .panel-heading { height: 30px; padding: 0 9px; font-size: 9px; }
  #scoreList { max-height: 112px; padding: 3px 0; }
  #scoreList li { height: 27px; grid-template-columns: 18px minmax(0, 1fr) auto; padding: 0 9px; font-size: 8px; }
  .kill-feed { top: calc(68px + var(--safe-top)); width: 48vw; transform: translateX(-60%); }
  .kill-line { padding: 5px 7px; font-size: 7px; }
  .network-lab { top: calc(68px + var(--safe-top)); bottom: auto; left: 8px; width: 154px; }
  .network-lab summary { height: 31px; padding: 0 9px; font-size: 8px; }
  .lab-content { padding: 9px; }
  .local-readout {
    bottom: calc(7px + var(--safe-bottom));
    width: min(340px, calc(100% - 176px));
    height: 49px;
    grid-template-columns: 40px 0.8fr 1.2fr;
  }
  .operator-copy { padding: 0 9px; }
  .operator-copy strong { font-size: 9px; }
  .health-readout { padding-right: 13px; }
  .health-readout span { display: none; }
  .health-track { margin-top: 6px; }
  .mobile-controls {
    position: absolute;
    inset: auto 0 calc(22px + var(--safe-bottom));
    z-index: 9;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
  }
  .joystick {
    position: relative;
    width: 122px;
    height: 122px;
    border: 1px solid rgba(118, 238, 229, 0.24);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 238, 229, 0.1), rgba(4, 9, 12, 0.44) 64%, transparent 66%);
    pointer-events: auto;
    touch-action: none;
  }
  .joystick-grid,
  .joystick-grid::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 1px;
    content: "";
    background: rgba(118, 238, 229, 0.13);
    transform: translate(-50%, -50%);
  }
  .joystick-grid::after { width: 1px; height: 70px; }
  .joystick > i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(118, 238, 229, 0.64);
    border-radius: 50%;
    background: rgba(10, 25, 27, 0.8);
    box-shadow: 0 0 25px rgba(118, 238, 229, 0.12), inset 0 0 0 7px rgba(118, 238, 229, 0.05);
    transform: translate(-50%, -50%);
    transition: box-shadow 120ms ease;
  }
  .joystick.active > i { box-shadow: 0 0 30px rgba(118, 238, 229, 0.36), inset 0 0 0 7px rgba(118, 238, 229, 0.12); }
  .joystick small {
    position: absolute;
    bottom: -15px;
    left: 50%;
    color: rgba(128, 144, 151, 0.66);
    font-size: 7px;
    letter-spacing: 0.15em;
    transform: translateX(-50%);
  }
  .skill-button {
    position: relative;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 56, 0.68);
    border-radius: 50%;
    outline: 0;
    background: radial-gradient(circle, rgba(255, 122, 56, 0.22), rgba(14, 10, 9, 0.8) 64%);
    color: var(--orange);
    pointer-events: auto;
    touch-action: manipulation;
  }
  .skill-button::before,
  .skill-button::after {
    position: absolute;
    inset: 8px;
    content: "";
    border: 1px dashed rgba(255, 122, 56, 0.28);
    border-radius: 50%;
  }
  .skill-button::after { inset: 22px; border-style: solid; }
  .skill-button b,
  .skill-button small { position: relative; z-index: 2; display: block; }
  .skill-button b { font-size: 13px; letter-spacing: 0.12em; }
  .skill-button small { margin-top: 2px; color: rgba(255, 122, 56, 0.6); font-size: 6px; }
  .skill-button.cooling { color: #745143; border-color: #745143; }
  .skill-sweep {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: conic-gradient(rgba(4, 8, 10, 0.76) var(--cooldown, 0deg), transparent 0);
    transform: rotate(180deg);
  }
  .join-overlay { padding: calc(18px + var(--safe-top)) 14px calc(40px + var(--safe-bottom)); }
  .join-overlay::before { inset: 12px; }
  .join-overlay::after { display: none; }
  .join-card {
    width: min(480px, 100%);
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 26px 28px;
  }
  .join-copy h1 { margin: 14px 0 10px; font-size: clamp(42px, 15vw, 61px); }
  .join-copy > p { font-size: 10px; line-height: 1.65; }
  .join-decoration { right: 26px; left: 26px; }
  #joinForm { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
  #joinForm button, .form-status { grid-column: 1 / -1; }
  .toast-stack { right: 8px; bottom: calc(144px + var(--safe-bottom)); }
}

@media (max-width: 560px) {
  .local-readout { right: 8px; left: auto; width: 166px; grid-template-columns: 36px 1fr; transform: none; }
  .health-readout { position: absolute; right: 10px; bottom: 7px; left: 45px; padding: 0; }
  .operator-copy small { display: none; }
  .operator-copy strong { margin-top: -9px; }
  .health-readout > div:first-child { justify-content: flex-end; }
  .health-readout b { font-size: 7px; }
  .joystick { width: 112px; height: 112px; }
  .skill-button { width: 82px; height: 82px; }
  .mobile-controls { padding: 0 18px; }
  .scoreboard { width: 144px; }
  .kill-feed { display: none; }
  #joinForm { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
