:root {
  --bg: #04060a;
  --panel: rgba(9, 13, 19, 0.94);
  --panel2: rgba(14, 20, 29, 0.96);
  --line: rgba(120, 170, 220, 0.16);
  --line2: rgba(120, 170, 220, 0.3);
  --text: #d8e4ef;
  --muted: #7a8b9e;
  --m: #3ec6ff;
  --m2: #0e3b55;
  --a: #ff8a3d;
  --a2: #4e1c08;
  --inf: #c2367a;
  --good: #5cff9d;
  --bad: #ff4d5e;
  --gold: #ffd75e;
  --font: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --disp: 'Oxanium', 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
}
#game {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.13) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  opacity: 0.55;
  z-index: 40;
}
body.ingame #scanlines {
  opacity: 0.18;
}
.hidden {
  display: none !important;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
svg {
  width: 1em;
  height: 1em;
}
input,
select {
  font: inherit;
  color: var(--text);
  background: #070b11;
  border: 1px solid var(--line2);
  border-radius: 6px;
  padding: 7px 10px;
  outline: none;
  font-size: 15px;
}
input:focus,
select:focus {
  border-color: var(--m);
}
.muted {
  color: var(--muted);
}
.grow {
  flex: 1;
}

/* ---------- logo ---------- */
.logo {
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: clamp(26px, 6vh, 46px);
  line-height: 1;
}
.logo.big {
  font-size: clamp(36px, 11vh, 76px);
}
.logo .lm {
  color: var(--m);
  text-shadow: 0 0 22px rgba(62, 198, 255, 0.55);
}
.logo .la {
  color: var(--a);
  text-shadow: 0 0 22px rgba(255, 138, 61, 0.55);
}

/* ---------- generic screens ---------- */
.screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(8px, var(--safe-t)) max(10px, var(--safe-r)) max(8px, var(--safe-b)) max(10px, var(--safe-l));
  z-index: 20;
}
.screen.dim {
  background: rgba(2, 4, 8, 0.66);
  backdrop-filter: blur(3px);
  z-index: 30;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line2);
  clip-path: var(--cut);
  padding: 12px 16px;
  width: min(460px, 100%);
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}
.panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 2px;
  background: var(--m);
  box-shadow: 0 0 12px var(--m);
}
.panel.wide {
  width: min(760px, 100%);
}
.panel.big {
  width: min(960px, 100%);
  height: min(560px, 100%);
}
h2,
h3 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h2 {
  font-size: 18px;
}
.phead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.phead h2 {
  flex: 1;
}
.back,
.close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line2);
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.close {
  font-size: 16px;
}
.back:hover,
.close:hover {
  border-color: var(--m);
  color: var(--m);
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tabs button {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--disp);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tabs button.on {
  color: #04121b;
  background: var(--m);
  border-color: var(--m);
}
.primary {
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 12px 22px;
  font-size: 16px;
  color: #041019;
  background: linear-gradient(90deg, var(--m), #8be6ff);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 20px rgba(62, 198, 255, 0.4);
  transition: filter 0.15s, transform 0.1s;
}
.primary:hover {
  filter: brightness(1.12);
}
.primary:active {
  transform: scale(0.98);
}
.primary:disabled {
  opacity: 0.4;
  filter: grayscale(0.6);
}
.primary.small {
  padding: 8px 18px;
  font-size: 13px;
}
.ghost {
  padding: 7px 13px;
  border: 1px solid var(--line2);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ghost:hover {
  border-color: var(--m);
  color: var(--m);
}
.ghost.danger:hover {
  border-color: var(--bad);
  color: var(--bad);
}
.ghost.icon svg {
  width: 16px;
  height: 16px;
}
.row-btns {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
  flex-wrap: wrap;
}
.hint {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 8px;
}
.pill {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid var(--a);
  color: var(--a);
  letter-spacing: 0.08em;
  margin-left: 6px;
}

/* ---------- boot ---------- */
#boot {
  background: radial-gradient(ellipse at 50% 35%, rgba(62, 198, 255, 0.08), transparent 60%), #030509;
  z-index: 50;
}
.boot-wrap {
  width: min(560px, 92vw);
  text-align: center;
}
.boot-sub {
  margin-top: 6px;
  font-family: var(--disp);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--muted);
}
.boot-box {
  margin-top: clamp(14px, 6vh, 40px);
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.8);
  padding: 12px 14px;
  clip-path: var(--cut);
}
.boot-step {
  font-family: var(--disp);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m);
}
.boot-bar {
  height: 6px;
  background: #0b121b;
  margin: 8px 0 5px;
  overflow: hidden;
}
#bootFill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--m), #a8efff);
  box-shadow: 0 0 10px var(--m);
  transition: width 0.12s linear;
}
.boot-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.boot-log {
  margin-top: 8px;
  height: clamp(42px, 14vh, 90px);
  overflow: hidden;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #4f6b85;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.boot-log .ok {
  color: var(--good);
}
.boot-foot {
  margin-top: 12px;
  font-size: 11px;
  color: #3e5064;
}
.boot-tap {
  margin-top: 14px;
  font-family: var(--disp);
  letter-spacing: 0.3em;
  font-size: 13px;
  color: var(--text);
  animation: blink 1.4s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

/* ---------- main menu ---------- */
#menu {
  justify-content: stretch;
  align-items: stretch;
  flex-direction: column;
  background: linear-gradient(90deg, rgba(3, 5, 9, 0.92) 0%, rgba(3, 5, 9, 0.55) 45%, rgba(3, 5, 9, 0.2) 100%);
}
.menu-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(250px, 340px);
  gap: clamp(10px, 3vw, 40px);
  padding: clamp(8px, 4vh, 36px) clamp(10px, 4vw, 48px) 0;
  min-height: 0;
}
.menu-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.tagline {
  margin: 6px 0 clamp(10px, 4vh, 28px);
  color: var(--muted);
  letter-spacing: 0.22em;
  font-size: 12px;
  text-transform: uppercase;
}
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 1.5vh, 10px);
  max-width: 330px;
}
.mbtn {
  position: relative;
  text-align: left;
  padding: clamp(6px, 1.8vh, 12px) 14px clamp(6px, 1.8vh, 12px) 48px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(14, 22, 32, 0.9), rgba(14, 22, 32, 0.3));
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(16px, 4vh, 22px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s, padding 0.15s, border-color 0.15s;
}
.mbtn small {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
}
.mbtn-k {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--muted);
}
.mbtn:hover {
  border-color: var(--m);
  padding-left: 54px;
  background: linear-gradient(90deg, rgba(62, 198, 255, 0.18), rgba(14, 22, 32, 0.3));
}
.mbtn.primary {
  color: #041019;
  background: linear-gradient(90deg, var(--m), rgba(62, 198, 255, 0.55));
  box-shadow: 0 0 24px rgba(62, 198, 255, 0.25);
}
.mbtn.primary small,
.mbtn.primary .mbtn-k {
  color: #0b3550;
}
.mbtn.ghosty:hover {
  border-color: var(--bad);
  background: linear-gradient(90deg, rgba(255, 77, 94, 0.15), rgba(14, 22, 32, 0.3));
}
.menu-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: var(--cut);
  padding: 10px 12px;
}
.card-h {
  font-family: var(--disp);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 800;
  color: #041019;
  background: linear-gradient(135deg, var(--m), #1b6f99);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.pf-main {
  flex: 1;
  min-width: 0;
}
#pfName {
  width: 100%;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 17px;
  padding: 2px 6px;
  background: transparent;
  border-color: transparent;
}
#pfName:hover,
#pfName:focus {
  border-color: var(--line2);
}
.pf-rank {
  font-size: 12px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 6px;
}
.xpbar {
  height: 4px;
  background: #0b121b;
  margin: 5px 6px 2px;
}
.xpbar div {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #fff1b8);
}
.pf-xp {
  font-size: 11px;
  color: var(--muted);
  padding-left: 6px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats b {
  display: block;
  font-family: var(--disp);
  font-size: 16px;
}
.stats small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  max-height: 26vh;
  overflow: hidden;
}
.news li {
  padding: 4px 0;
  border-top: 1px solid var(--line);
}
.news li b {
  color: var(--m);
  font-weight: 700;
}
.news li span {
  color: var(--muted);
}
.menu-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px clamp(10px, 4vw, 48px) max(8px, var(--safe-b));
  font-size: 12px;
  color: var(--muted);
}
.dot-ok {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
}

/* ---------- server browser ---------- */
.sb-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
  flex-shrink: 0;
}
#sbSearch {
  flex: 1;
  min-width: 140px;
  padding: 6px 10px;
}
.chk {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.chk input {
  accent-color: var(--m);
}
#sbRegion {
  padding: 5px 8px;
  font-size: 13px;
}
.sb-head,
.sb-row {
  display: grid;
  grid-template-columns: 22px 1fr minmax(90px, 0.45fr) 72px 56px;
  gap: 8px;
  align-items: center;
  padding: 0 8px;
}
.sb-head {
  font-family: var(--disp);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.sb-head span[data-sort] {
  cursor: pointer;
}
.sb-head span.sorted {
  color: var(--m);
}
.sb-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  touch-action: pan-y;
}
.sb-row {
  height: 38px;
  border-bottom: 1px solid rgba(120, 170, 220, 0.06);
  font-size: 14px;
  cursor: pointer;
}
.sb-row:hover {
  background: rgba(62, 198, 255, 0.06);
}
.sb-row.sel {
  background: rgba(62, 198, 255, 0.14);
  box-shadow: inset 3px 0 0 var(--m);
}
.sb-row .nm {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}
.sb-row .nm small {
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}
.sb-row .lk {
  color: var(--gold);
}
.sb-row .mp {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sb-row .pl {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.sb-row .pl.full {
  color: var(--bad);
}
.sb-row .pg {
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.sb-row .pg svg {
  width: 12px;
  height: 12px;
}
.pg.good {
  color: var(--good);
}
.pg.mid {
  color: var(--gold);
}
.pg.bad {
  color: var(--bad);
}
.sb-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 8px;
  flex-shrink: 0;
}
#sbCount {
  font-size: 12px;
  color: var(--muted);
}
.sb-empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

/* ---------- lobby ---------- */
.lb-title {
  flex: 1;
  min-width: 0;
}
.lb-title h2 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lb-title small {
  color: var(--muted);
  font-size: 12px;
}
.lb-timer {
  text-align: right;
}
.lb-timer small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lb-timer b {
  font-family: var(--disp);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.lb-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  min-height: 0;
}
.lb-teams {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 6px;
  min-height: 0;
}
.lb-col {
  border: 1px solid var(--line);
  background: rgba(6, 9, 14, 0.6);
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.lb-colh {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 4px 8px;
}
.lb-colh small {
  font-family: var(--font);
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}
.lb-col.m .lb-colh {
  color: var(--m);
  border-bottom: 1px solid rgba(62, 198, 255, 0.3);
}
.lb-col.a .lb-colh {
  color: var(--a);
  border-bottom: 1px solid rgba(255, 138, 61, 0.3);
}
.lb-col.u .lb-colh {
  color: var(--muted);
}
.lb-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  padding: 4px 8px;
  overflow-y: auto;
  align-content: start;
}
.lb-col.u .lb-list {
  grid-template-columns: repeat(3, 1fr);
}
.lb-p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  height: 22px;
}
.lb-p .lv {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0 4px;
  border-radius: 3px;
  min-width: 22px;
  text-align: center;
}
.lb-p .rd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #263342;
  flex-shrink: 0;
}
.lb-p .rd.on {
  background: var(--good);
  box-shadow: 0 0 6px var(--good);
}
.lb-p.me {
  color: var(--gold);
}
.lb-p.slot {
  color: #2c3a4a;
  font-weight: 500;
}
.lb-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.lb-pick {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 6px;
}
.team {
  padding: 8px 4px;
  border: 1px solid var(--line);
  background: #070b11;
  font-family: var(--disp);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.team.m {
  color: var(--m);
}
.team.a {
  color: var(--a);
}
.team.auto {
  color: var(--muted);
}
.team.sel {
  border-color: currentColor;
  box-shadow: 0 0 16px -4px currentColor inset;
}
.lb-chat {
  flex: 1;
  border: 1px solid var(--line);
  background: rgba(6, 9, 14, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chatlog {
  flex: 1;
  overflow-y: auto;
  padding: 6px 8px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  touch-action: pan-y;
  user-select: text;
}
.chatlog .sys {
  color: var(--muted);
  font-style: italic;
}
.chatlog .who {
  font-weight: 700;
}
.chatlog .who.m {
  color: var(--m);
}
.chatlog .who.a {
  color: var(--a);
}
.chatlog .tm {
  color: var(--gold);
  font-size: 11px;
}
#lbChatForm,
#chatForm {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-top: 1px solid var(--line);
}
#lbChatForm input {
  flex: 1;
  padding: 5px 8px;
  font-size: 14px;
}
#lbChatForm button {
  padding: 0 10px;
  border: 1px solid var(--line2);
  border-radius: 5px;
  font-size: 13px;
}
#lbReady.on {
  background: linear-gradient(90deg, var(--good), #b5ffd2);
  box-shadow: 0 0 20px rgba(92, 255, 157, 0.35);
}

/* ---------- HUD ---------- */
#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  font-family: var(--font);
}
#hud button,
#hud form,
#hud canvas#minimap {
  pointer-events: auto;
}
#topbar {
  position: absolute;
  top: calc(6px + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.85), rgba(5, 8, 12, 0.6));
  border: 1px solid var(--line);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  padding: 2px 18px 3px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
}
#topbar .side {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 28px;
}
#topbar .dot {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
}
#topbar .m {
  color: var(--m);
}
#topbar .a {
  color: var(--a);
}
#topbar .m .dot {
  background: var(--m);
  box-shadow: 0 0 8px var(--m);
}
#topbar .a .dot {
  background: var(--a);
  box-shadow: 0 0 8px var(--a);
}
#clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  min-width: 56px;
  text-align: center;
}
#clock.sd {
  color: var(--bad);
  animation: blink 1s infinite;
}
#locbar {
  position: absolute;
  top: calc(32px + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--disp);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fb3c6;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  text-shadow: 0 1px 3px #000;
}
#locbar .pw svg {
  width: 11px;
  height: 11px;
  color: #3a4a5a;
}
#locbar .pw.on svg {
  color: var(--gold);
  filter: drop-shadow(0 0 4px var(--gold));
}
#teamres {
  position: absolute;
  top: calc(48px + var(--safe-t));
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 5px;
  align-items: baseline;
  white-space: nowrap;
}
#teamres #tres {
  color: var(--text);
  font-weight: 700;
}
#teamres small {
  font-size: 9px;
  letter-spacing: 0.1em;
}
#research {
  color: #8fd3ff;
  margin-left: 6px;
}
#minimap {
  position: absolute;
  top: calc(8px + var(--safe-t));
  left: calc(8px + var(--safe-l));
  width: 124px;
  height: 124px;
  border: 1px solid var(--line2);
  background: rgba(0, 0, 0, 0.55);
  clip-path: var(--cut);
  cursor: pointer;
}
#objectives {
  position: absolute;
  top: calc(138px + var(--safe-t));
  left: calc(8px + var(--safe-l));
  width: 190px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.obj {
  position: relative;
  background: linear-gradient(90deg, rgba(5, 8, 12, 0.82), rgba(5, 8, 12, 0.3));
  border-left: 2px solid var(--m);
  padding: 2px 6px 3px;
  font-size: 12px;
  line-height: 1.15;
  overflow: hidden;
}
.obj b {
  display: block;
  font-family: var(--disp);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m);
}
.obj.a {
  border-left-color: var(--a);
}
.obj.a b {
  color: var(--a);
}
.obj.alert {
  border-left-color: var(--bad);
}
.obj.alert b {
  color: var(--bad);
}
.obj .pbar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
}
#killfeed {
  position: absolute;
  top: calc(8px + var(--safe-t));
  right: calc(96px + var(--safe-r));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12px;
  max-width: 36vw;
}
#killfeed div {
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: fadeout 6s forwards;
  font-weight: 600;
}
#killfeed .m {
  color: var(--m);
}
#killfeed .a {
  color: var(--a);
}
#killfeed .w {
  color: var(--muted);
  font-size: 11px;
}
#killfeed .me {
  outline: 1px solid var(--gold);
}
@keyframes fadeout {
  0%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#toasts {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
#toasts div {
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid var(--line);
  padding: 3px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  animation: fadeout 3.2s forwards;
  white-space: nowrap;
}
#toasts .bad {
  color: var(--bad);
  border-color: rgba(255, 77, 94, 0.4);
}
#toasts .good {
  color: var(--good);
}
#toasts .big {
  font-family: var(--disp);
  font-size: 18px;
  letter-spacing: 0.12em;
}
#gamechat {
  position: absolute;
  left: calc(8px + var(--safe-l));
  bottom: calc(118px + var(--safe-b));
  width: min(300px, 36vw);
  max-height: 96px;
  overflow: hidden;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
}
#gamechat div {
  background: rgba(0, 0, 0, 0.45);
  padding: 0 5px;
  font-size: 12px;
  animation: fadeout 10s forwards;
  align-self: flex-start;
}
#chatForm {
  position: absolute;
  left: calc(8px + var(--safe-l));
  bottom: calc(90px + var(--safe-b));
  width: min(340px, 50vw);
  background: rgba(5, 8, 12, 0.9);
  border: 1px solid var(--line2);
}
#chatForm input {
  flex: 1;
  padding: 4px 8px;
}
#chatForm select {
  padding: 2px 4px;
  font-size: 12px;
}

#vitals {
  position: absolute;
  left: 50%;
  bottom: calc(8px + var(--safe-b));
  transform: translateX(-50%);
  width: min(300px, 40vw);
}
.vit-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vit-row.small {
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
  justify-content: space-between;
  text-shadow: 0 1px 2px #000;
}
#hpbar {
  position: relative;
  flex: 1;
  height: 16px;
  background: rgba(0, 0, 0, 0.66);
  border: 1px solid var(--line2);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  overflow: hidden;
}
#hpfill,
#hpghost {
  position: absolute;
  inset: 0;
  width: 100%;
}
#hpghost {
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.6s 0.2s;
}
#hpfill {
  background: linear-gradient(90deg, #2bd47a, var(--good));
  transition: width 0.1s;
  z-index: 1;
}
#hptext {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 15px;
  text-shadow: 0 1px 2px #000;
  font-family: var(--disp);
}
#pres {
  color: var(--gold);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  gap: 3px;
  align-items: center;
  text-shadow: 0 0 8px rgba(255, 215, 94, 0.4);
}
#pres i {
  font-style: normal;
  font-size: 12px;
}
#clsName {
  color: var(--muted);
  font-family: var(--disp);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#ammo {
  font-family: var(--disp);
  font-variant-numeric: tabular-nums;
}
#ammo.low {
  color: var(--bad);
}
#stamina {
  flex: 1;
  height: 5px;
  background: rgba(0, 0, 0, 0.6);
  margin: 0 6px;
}
#stamfill {
  height: 100%;
  background: linear-gradient(90deg, #9b7bff, #d7c8ff);
}
#stamina.starve #stamfill {
  background: var(--bad);
}
#clones {
  color: var(--a);
  letter-spacing: 2px;
}

.hudbtn {
  position: absolute;
  background: rgba(8, 12, 18, 0.78);
  border: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: var(--cut);
}
.hudbtn svg {
  width: 20px;
  height: 20px;
}
.hudbtn.sq {
  width: 38px;
  height: 34px;
}
#btnMenu {
  top: calc(8px + var(--safe-t));
  right: calc(8px + var(--safe-r));
}
#btnChat {
  top: calc(8px + var(--safe-t));
  right: calc(50px + var(--safe-r));
}
#btnShop {
  right: calc(10px + var(--safe-r));
  bottom: calc(176px + var(--safe-b));
  width: 58px;
  height: 50px;
  color: var(--gold);
}
#btnShop .lbl {
  color: var(--text);
  margin-top: 2px;
}
#btnShop.ready {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(255, 215, 94, 0.55) inset;
  animation: pulseGold 1.6s infinite;
}
@keyframes pulseGold {
  50% {
    box-shadow: 0 0 4px rgba(255, 215, 94, 0.2) inset;
  }
}
.abtn {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(30, 44, 60, 0.9), rgba(6, 9, 14, 0.85));
  border: 2px solid rgba(160, 200, 240, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text);
}
.abtn svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}
.abtn .ab-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.abtn .ab-key {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: 9px;
  color: var(--muted);
  z-index: 1;
}
.abtn .ab-cd {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(rgba(0, 0, 0, 0.78) var(--p, 0%), transparent 0);
}
.abtn.ready {
  border-color: var(--m);
  box-shadow: 0 0 16px rgba(62, 198, 255, 0.35);
}
body.team-a .abtn.ready {
  border-color: var(--a);
  box-shadow: 0 0 16px rgba(255, 138, 61, 0.35);
}
.abtn.held {
  transform: scale(0.94);
  filter: brightness(1.3);
}
#btnAb1 {
  right: calc(16px + var(--safe-r));
  bottom: calc(18px + var(--safe-b));
  width: 84px;
  height: 84px;
}
#btnAb2 {
  right: calc(108px + var(--safe-r));
  bottom: calc(14px + var(--safe-b));
  width: 64px;
  height: 64px;
}
#btnAb2 svg {
  width: 22px;
  height: 22px;
}
#btnAb2.none,
#btnAb1.none {
  display: none;
}
#turnHint,
#moveHint {
  position: absolute;
  bottom: 34%;
  font-family: var(--disp);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(200, 220, 240, 0.35);
  animation: blink 2s infinite;
}
#turnHint {
  right: 22%;
}
#moveHint {
  left: 14%;
}
#respawn {
  position: absolute;
  top: 19%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 2px 6px #000;
}
#respawn .big {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rs-ring {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 8px auto 4px;
}
.rs-ring svg {
  width: 70px;
  height: 70px;
  transform: rotate(-90deg);
}
.rs-ring circle {
  fill: none;
  stroke-width: 6;
}
.rs-ring .bg {
  stroke: rgba(255, 255, 255, 0.1);
}
.rs-ring .fg {
  stroke: var(--m);
  stroke-dasharray: 276.5;
  stroke-linecap: round;
}
body.team-a .rs-ring .fg {
  stroke: var(--a);
}
.rs-ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--disp);
  font-size: 22px;
}
#respawnHint {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- shop ---------- */
.presv {
  color: var(--gold);
  font-family: var(--disp);
  font-weight: 800;
}
#shopItems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  overflow-y: auto;
  touch-action: pan-y;
}
.item {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 30, 42, 0.9), rgba(8, 12, 18, 0.9));
  clip-path: var(--cut);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 82px;
}
.item:hover {
  border-color: var(--m);
}
body.team-a .item:hover {
  border-color: var(--a);
}
.item b {
  font-family: var(--disp);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.item .cost {
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}
.item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.item.owned {
  border-color: var(--good);
}
.item.locked,
.item.poor {
  opacity: 0.45;
}
.item .lock {
  color: var(--bad);
  font-size: 11px;
  font-weight: 700;
}

/* ---------- scores / end ---------- */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 4px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 3px 4px;
  white-space: nowrap;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
tr.me td {
  background: rgba(255, 215, 94, 0.09);
  color: var(--gold);
}
tr.dead td {
  opacity: 0.5;
}
.tm-h {
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 13px;
  margin-bottom: 2px;
}
.tm-h.m {
  color: var(--m);
}
.tm-h.a {
  color: var(--a);
}
.bot-tag {
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0 3px;
  margin-left: 4px;
}
.end-banner {
  text-align: center;
  margin: -4px -16px 8px;
  padding: 10px;
  background: linear-gradient(90deg, transparent, rgba(92, 255, 157, 0.12), transparent);
}
.end-banner.lose {
  background: linear-gradient(90deg, transparent, rgba(255, 77, 94, 0.14), transparent);
}
#endTitle {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(26px, 7vh, 40px);
  letter-spacing: 0.3em;
}
#endReason {
  color: var(--muted);
  font-size: 14px;
}
.mvp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.mvp {
  border: 1px solid var(--line);
  padding: 6px 8px;
  clip-path: var(--cut);
  background: rgba(14, 20, 29, 0.8);
}
.mvp small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.mvp b {
  font-family: var(--disp);
  font-size: 15px;
}
.mvp span {
  font-size: 12px;
  color: var(--muted);
}
.end-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
#endNext {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- tactical map ---------- */
.tac-wrap {
  position: relative;
  height: min(96vh, 96vw);
  aspect-ratio: 1;
  border: 1px solid var(--line2);
  background: rgba(3, 6, 10, 0.92);
  clip-path: var(--cut);
}
#tacCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.tac-wrap .close {
  position: absolute;
  top: 8px;
  right: 8px;
}
.tac-legend {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ---------- rules ---------- */
.rules-body {
  flex: 1;
  overflow-y: auto;
  margin-top: 8px;
  padding-right: 4px;
  touch-action: pan-y;
  font-size: 15px;
  line-height: 1.4;
}
.rules-body h3 {
  font-size: 15px;
  color: var(--m);
  margin: 4px 0 6px;
}
.rules-body .rgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.rcard {
  border: 1px solid var(--line);
  background: rgba(14, 20, 29, 0.7);
  padding: 8px 10px;
  clip-path: var(--cut);
}
.rcard b {
  font-family: var(--disp);
  letter-spacing: 0.04em;
}
.rcard p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #a9b8c7;
}
.rcard.a b {
  color: var(--a);
}
.rcard.m b {
  color: var(--m);
}
.rules-body p.lead {
  color: #b9c7d4;
  margin: 0 0 10px;
}
.rules-body kbd {
  font-family: var(--disp);
  font-size: 12px;
  border: 1px solid var(--line2);
  border-bottom-width: 2px;
  padding: 0 5px;
  border-radius: 3px;
}
.rules-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- settings ---------- */
.set-body {
  flex: 1;
  overflow-y: auto;
  margin-top: 8px;
  touch-action: pan-y;
}
.set-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(120, 170, 220, 0.07);
}
.set-row label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}
.set-row label small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}
.set-row input[type='range'] {
  width: min(220px, 34vw);
  accent-color: var(--m);
  padding: 0;
  border: none;
  background: none;
}
.set-row .val {
  width: 42px;
  text-align: right;
  font-family: var(--disp);
  font-variant-numeric: tabular-nums;
  color: var(--m);
}
.toggle {
  width: 46px;
  height: 24px;
  border-radius: 12px;
  background: #1a2533;
  position: relative;
  border: 1px solid var(--line2);
  flex-shrink: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6b7d90;
  transition: left 0.15s, background 0.15s;
}
.toggle.on {
  background: rgba(62, 198, 255, 0.3);
  border-color: var(--m);
}
.toggle.on::after {
  left: 25px;
  background: var(--m);
}
.toggle.locked {
  opacity: 0.6;
  cursor: not-allowed;
}
.seg {
  display: flex;
  border: 1px solid var(--line2);
  border-radius: 5px;
  overflow: hidden;
}
.seg button {
  padding: 5px 10px;
  font-size: 13px;
  color: var(--muted);
}
.seg button.on {
  background: var(--m);
  color: #041019;
  font-weight: 700;
}
.keymap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 4px 14px;
  font-size: 14px;
  padding: 4px;
}
.keymap div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(120, 170, 220, 0.07);
}

/* ---------- exit / modal / misc ---------- */
#exitscreen {
  background: #020306;
  z-index: 60;
}
.exit-wrap {
  text-align: center;
}
.exit-wrap p {
  color: var(--muted);
  margin: 16px 0;
}
.modal {
  width: min(380px, 100%);
}
.modal p {
  color: #a9b8c7;
  font-size: 14px;
  margin: 8px 0;
}
.modal input {
  width: 100%;
}
.err {
  color: var(--bad);
  font-size: 13px;
  min-height: 16px;
  margin-top: 4px;
}
#rotate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 3, 6, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--disp);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
}
.rot-icon {
  width: 44px;
  height: 72px;
  border: 3px solid var(--m);
  border-radius: 8px;
  animation: rot 2s ease-in-out infinite;
}
@keyframes rot {
  0%,
  30% {
    transform: rotate(0);
  }
  60%,
  100% {
    transform: rotate(-90deg);
  }
}
#fps {
  position: fixed;
  right: calc(8px + var(--safe-r));
  bottom: calc(100px + var(--safe-b));
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: var(--good);
  z-index: 15;
  pointer-events: none;
}

/* ---------- phone landscape ---------- */
@media (max-height: 460px) {
  .panel.big {
    height: 100%;
  }
  #minimap {
    width: 96px;
    height: 96px;
  }
  #objectives {
    top: calc(108px + var(--safe-t));
    width: 160px;
  }
  .obj {
    font-size: 11px;
  }
  #btnAb1 {
    width: 74px;
    height: 74px;
  }
  #btnAb2 {
    right: calc(96px + var(--safe-r));
    width: 56px;
    height: 56px;
  }
  #btnShop {
    bottom: calc(100px + var(--safe-b));
    width: 52px;
    height: 44px;
  }
  #gamechat {
    bottom: calc(70px + var(--safe-b));
    max-height: 64px;
  }
  .sb-row {
    height: 34px;
  }
  .lb-p {
    font-size: 13px;
    height: 20px;
  }
  #shopItems {
    grid-template-columns: repeat(3, 1fr);
  }
  .item {
    min-height: 70px;
    padding: 6px 8px;
  }
}
@media (max-width: 700px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-right {
    display: none;
  }
  .lb-grid {
    grid-template-columns: 1fr;
  }
  #shopItems {
    grid-template-columns: repeat(2, 1fr);
  }
  .sb-head,
  .sb-row {
    grid-template-columns: 18px 1fr 64px 46px;
  }
  .sb-head .c-map,
  .sb-row .mp {
    display: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .abtn .ab-key {
    display: block;
  }
}
@media (hover: none) {
  .abtn .ab-key {
    display: none;
  }
}

/* ---------- backdrop + scrollbars ---------- */
#browser,
#lobby,
#settings,
#rules {
  background: radial-gradient(ellipse at 50% 50%, rgba(3, 5, 9, 0.45), rgba(3, 5, 9, 0.82));
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 170, 220, 0.35) transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(120, 170, 220, 0.3);
  border-radius: 4px;
}

/* ---------- accounts, rewards, connection state ---------- */
.pf-user {
  font-size: 11px;
  color: var(--muted);
  padding-left: 6px;
  margin-bottom: 2px;
  font-family: ui-monospace, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: copy;
}
.sb-row .lk {
  cursor: pointer;
  color: var(--muted);
  opacity: 0.45;
}
.sb-row .lk.on,
.sb-row .lk:hover {
  color: var(--gold);
  opacity: 1;
}
.sb-row .lk svg {
  width: 14px;
  height: 14px;
}
#bootRetry {
  margin-top: 14px;
}
.rewards {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  margin: 6px 0;
  background: rgba(255, 213, 74, 0.07);
  border: 1px solid rgba(255, 213, 74, 0.25);
  font-size: 13px;
}
.rewards b {
  font-family: var(--disp);
  font-size: 18px;
  color: var(--gold);
}
.rewards .parts {
  color: var(--muted);
  font-size: 12px;
  flex: 1;
}
.rewards .up {
  color: var(--good);
  font-family: var(--disp);
  letter-spacing: 0.08em;
}
.net-banner {
  position: fixed;
  top: max(8px, var(--safe-t, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 6px 14px;
  font-size: 13px;
  background: rgba(10, 16, 24, 0.94);
  border: 1px solid var(--bad);
  color: var(--text);
  pointer-events: none;
}
.set-row .acct {
  display: flex;
  gap: 8px;
  align-items: center;
}
.set-row code {
  font-size: 12px;
  color: var(--muted);
}
.boot-log .err {
  color: var(--bad);
}
