:root {
  --bg: #0e1114;
  --card: #171c21;
  --line: #2a323a;
  --text: #e8edf2;
  --muted: #8b98a5;
  --accent: #d4a017;
  --err: #d45c4a;
  --ok: #6fb56f;
  --allies: #c9a227;
  --axis: #8b9094;
  --field: #12171c;
  --hover: #22282f;
  --side: #12171c;
  --btn-text: #1a1404;
  font-family: "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #eef1f4;
  --card: #ffffff;
  --line: #cfd6dd;
  --text: #1c242c;
  --muted: #5c6770;
  --accent: #b8860b;
  --err: #c44536;
  --ok: #3d8a3d;
  --allies: #9a7b12;
  --axis: #5c6166;
  --field: #f4f6f8;
  --hover: #e4e9ee;
  --side: #f4f6f8;
  --btn-text: #1a1404;
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
body.has-sidebar { padding-left: 250px; }
body.has-sidebar header { grid-template-columns: 1fr auto; }
header:not(:has(.nav)) { grid-template-columns: 1fr auto; }
#subtitle:empty { display: none; }
body.has-sidebar header .nav { display: none; }
body.has-sidebar .settings-nav { display: none; }
body.has-sidebar .settings-shell { grid-template-columns: 1fr; }
.menu-toggle { display: none; }
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  overflow: auto;
  background: var(--side);
  border-right: 1px solid var(--line);
  padding: 0.85rem 0.75rem 1.5rem;
  z-index: 40;
}
.side-menu[hidden] { display: none !important; }
.side-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.7rem;
  padding: 0 0.35rem;
}
.side-brand strong { letter-spacing: 0.08em; font-size: 0.92rem; }
.side-brand .muted { margin: 0; font-size: 0.72rem; }
#side-search {
  width: 100%;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}
.side-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.side-link {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 0.32rem 0.55rem;
  border-radius: 6px;
  font-size: 0.86rem;
}
.side-link.current, .side-link:hover { color: var(--text); background: var(--hover); }
.side-group { border-radius: 6px; }
.side-group summary {
  cursor: pointer;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.45rem 0.25rem;
  list-style: none;
}
.side-group summary::-webkit-details-marker { display: none; }
.side-group .side-link { padding-left: 0.85rem; }
.team-list { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.7rem; }
.team-player {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  align-items: baseline;
  padding: 0.4rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.tool-group {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}
.live-table { font-size: 0.82rem; min-width: 1100px; }
.live-table th, .live-table td { padding: 0.28rem 0.3rem; white-space: nowrap; }
.live-table .sort-btn { white-space: nowrap; }
.live-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.role-icon { width: 16px; height: 16px; display: block; object-fit: contain; }
#map-board { max-width: 880px; margin: 0 auto; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 1rem; align-items: start; }
.map-filters { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; margin: 0.6rem 0; font-size: 0.78rem; letter-spacing: 0.04em; }
.rot-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.85rem; margin: 0 0 0.45rem; }
.rot-filter > span { min-width: 5.2rem; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.map-filters label { display: inline-flex; gap: 0.3rem; align-items: center; text-transform: uppercase; color: var(--muted); }
.map-list { border: 1px solid var(--line); border-radius: 8px; overflow: auto; max-height: calc(100vh - 280px); }
.seed-game { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.seed-game:first-of-type { margin-top: 0.6rem; }
.seed-doing { margin: 0.4rem 0 0.8rem; font-weight: 600; }
.seed-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 0.75rem; align-items: center; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.seed-row .seed-name { font-weight: 600; }
.seed-pri { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 0.45rem; }
.seed-game .toggle { margin-right: 1rem; }
.seed-count { color: var(--muted); }
.seed-active { color: var(--ok); font-size: 0.85rem; }
.seed-add { display: flex; gap: 0.6rem; align-items: end; margin-top: 0.8rem; flex-wrap: wrap; }
.seed-add select { min-width: 16rem; }
.map-row, .map-side-card { display: grid; grid-template-columns: 1fr auto auto auto; gap: 0.6rem; align-items: center; padding: 0.45rem 0.7rem; border-bottom: 1px solid var(--line); }
.map-row:last-child { border-bottom: 0; }
.map-name { font-weight: 600; display: flex; align-items: center; gap: 0.55rem; }
.map-thumb { width: 4.8rem; height: 1.8rem; object-fit: cover; border-radius: 3px; flex: none; background: #1a1d22; }
.hud-map-img { display: block; width: min(100%, 16rem); height: 4.4rem; object-fit: cover; margin: 0.35rem auto 0; border-radius: 4px; }
.map-meta { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }
.map-play { width: 2rem; height: 2rem; border-radius: 6px; border: 0; background: #2f6fed; color: white; cursor: pointer; font-size: 0.9rem; }
.map-side h3 { margin: 0.8rem 0 0.35rem; font-size: 0.85rem; }
.map-side-card { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 8px; }
#map-search, #vote-search { width: 100%; }
#section-tabs, .vote-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--line); margin: 0 0 0.8rem; }
#section-tabs a, .vote-tabs a { padding: 0.55rem 0.8rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
#section-tabs a.active, .vote-tabs a.active { color: var(--text); border-bottom-color: #2f6fed; }
.vote-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); gap: 0.8rem; align-items: start; }
.vote-panel { border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.vote-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); }
.vote-actions { display: flex; gap: 0.35rem; }
.vote-actions button { height: 2rem; width: auto; padding: 0 0.65rem; border-radius: 6px; border: 1px solid #4a5868; background: #2c3644; color: #f4f7fb; cursor: pointer; font-weight: 650; }
.vote-actions button.warn { background: #3a3120; border-color: #e0a15a; color: #ffe4bc; }
.vote-actions button.danger { background: #7a3030; border-color: #7a3030; color: #fff; }
.vote-actions button.save { background: #e6b325; border-color: #e6b325; color: #1a1404; }
.map-add { border: 0; background: #2f6fed; color: white; border-radius: 6px; padding: 0.35rem 0.7rem; cursor: pointer; font-weight: 700; }
.map-remove { border: 0; background: transparent; color: #e06a6a; cursor: pointer; font-size: 1.1rem; }
.vote-status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 40%); }
.vote-status aside { border-left: 1px solid var(--line); padding: 0.8rem; }
.vote-form { display: grid; gap: 0.55rem; }
.vote-form label, .vote-settings label { display: grid; gap: 0.25rem; font-size: 0.85rem; justify-items: start; text-align: left; }
.vote-settings label.toggle {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 0.45rem;
  text-align: left;
}
.vote-settings label.toggle input { margin-top: 0.15rem; }
.vote-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vote-table { width: 100%; border-collapse: collapse; }
.vote-table th, .vote-table td { text-align: left; padding: 0.35rem 0.45rem; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
@media (max-width: 900px) {
  .vote-split, .vote-status, .vote-settings { grid-template-columns: 1fr; }
  .vote-status aside { border-left: 0; border-top: 1px solid var(--line); }
}
.live-sq.allies { color: var(--allies); border-color: #5a4a12; }
.live-sq.axis { color: var(--axis); border-color: #4a4e52; }
.live-sq.lonestar { color: #3b82f6; border-color: #1d4ed8; }
.live-sq.valkyra { color: #ef4444; border-color: #991b1b; }
.live-sq.manticore { color: #d6e04a; border-color: #4d7c0f; }
.lvl-novice { color: #f44336; }
.lvl-apprentice { color: #ffeb3b; }
.lvl-expert { color: #4caf50; }
.lvl-master { color: #2196f3; }
.lvl-legend { color: #9c27b0; }
.kpm, .playtime, .clan { font-variant-numeric: tabular-nums; }
.clan { color: var(--muted); font-size: 0.78rem; }
header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav { display: flex; gap: 0.3rem; }
.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
.nav-link.current, .nav-link:hover { color: var(--text); background: var(--hover); }
.header-right { display: flex; gap: 0.6rem; align-items: center; justify-self: end; flex-wrap: wrap; }
.theme-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.view-switch { display: flex; justify-content: flex-end; gap: 0; margin-bottom: 0.8rem; }
.view-switch button { width: auto; border-radius: 0; background: transparent; color: var(--text); border: 1px solid var(--line); padding: 0.35rem 0.9rem; }
.view-switch button:first-child { border-radius: 6px 0 0 6px; }
.view-switch button:last-child { border-radius: 0 6px 6px 0; }
.view-switch button.active { background: #e6b325; color: #1a1404; border-color: #e6b325; }
.script-group { border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.8rem 0.8rem; margin: 0.7rem 0; }
.script-group h3 { margin: 0 0 0.4rem; font-size: 0.95rem; }
.script-layout textarea, #script-layout textarea {
  flex: none;
  width: 100%;
  min-height: 12rem;
  white-space: pre-wrap;
}
.script-item { border-top: 1px solid var(--line); margin-top: 0.7rem; padding-top: 0.7rem; }
.script-item:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.script-add { margin-top: 0.7rem; }
#field-script { font-family: ui-monospace, monospace; }
.theme-switch button {
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}
.theme-switch button.active {
  background: var(--accent);
  color: var(--btn-text);
}
.server-pick { margin: 0; }
.server-pick select {
  background: var(--hover);
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-weight: 600;
  max-width: 18rem;
}
.who {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
#login form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}
#no-servers {
  margin: 1.25rem 1.5rem;
  max-width: 28rem;
}
h1 { margin: 0; font-size: 1.25rem; letter-spacing: 0.08em; }
h2 { margin: 0 0 0.75rem; font-size: 1rem; }
h3 { margin: 0; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.muted { color: var(--muted); margin: 0.2rem 0 0.55rem; }
.err { color: var(--err); }
main {
  padding: 1.25rem 1.5rem 2.5rem;
  width: 100%;
  max-width: none;
}
#login {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(28rem, calc(100vw - 2rem));
  margin: 0;
  z-index: 5;
}
#login[hidden] { display: none !important; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.split > .card { margin-bottom: 0; min-width: 0; overflow: hidden; }
.player-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.selected-label { color: var(--accent); margin: 0; font-weight: 600; }
.action-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.action-row button { font-size: 0.8rem; padding: 0.4rem 0.55rem; }
.player-toolbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.55rem;
}
.player-toolbar #player-search { width: auto; flex: 1; margin-bottom: 0; }
#player-search { width: 100%; margin-bottom: 0.55rem; }
.check-col {
  width: 2.6rem;
  text-align: center;
  vertical-align: middle;
}
.check-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  font-size: 0.68rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.player-check,
#select-all-players {
  cursor: pointer;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}
.player-row td.check-col,
.player-check {
  cursor: pointer;
}
.player-row,
.player-row td,
.name-btn {
  cursor: context-menu;
  user-select: none;
}
.player-row.selected { background: #2a2414; }
.player-row:hover { background: #1e252c; }
button.name-btn {
  background: none;
  color: var(--text);
  padding: 0;
  font: inherit;
  font-weight: 600;
  border-radius: 0;
  cursor: context-menu;
}
button.name-btn:hover { color: var(--accent); background: none; }
.player-name { white-space: nowrap; }
button.player-id {
  display: inline;
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  cursor: pointer;
  user-select: text;
}
button.player-id:hover { color: var(--accent); background: none; }
button.player-id.copied { color: var(--ok); }
.copy-toast {
  position: fixed;
  z-index: 90;
  background: #1d3a22;
  color: var(--ok);
  border: 1px solid #2d5a36;
  border-radius: 6px;
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.icon-col {
  width: 2.6rem;
  text-align: center;
  white-space: nowrap;
}
.picon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  opacity: 0.28;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.picon:hover { opacity: 0.7; background: var(--hover); }
.picon.on { opacity: 1; }
.picon-vip.on { color: var(--accent); }
.picon-location.on { color: #c9a227; }
.picon-watch.on { color: var(--axis); }
.picon-flag.on { opacity: 1; }
.mark-picker {
  position: fixed;
  z-index: 82;
  min-width: 13.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.flag-grid { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.4rem; }
.flag-choice {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 5px;
  padding: 0.4rem 0.55rem;
  font-weight: 600;
}
.flag-choice:hover, .flag-choice.selected { background: var(--hover); }
.flag-swatch { color: var(--flag, var(--muted)); }
.loc-custom { margin: 0.35rem 0 0.45rem; }
.context-menu {
  position: fixed;
  z-index: 80;
  min-width: 12.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.context-menu .menu-title {
  padding: 0.35rem 0.65rem 0.45rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}
.context-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 5px;
  padding: 0.45rem 0.65rem;
  font-weight: 600;
}
.context-menu button:hover { background: var(--hover); }
.context-menu button.danger {
  background: transparent;
  color: var(--err);
}
.vip-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  background: #3a3214;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  vertical-align: middle;
}
.custom-fields { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; }
.custom-fields[hidden] { display: none; }
.custom-fields input[hidden] { display: none; }
.custom-fields select {
  flex: 1;
  background: var(--field);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}
.modal:not([hidden]) { display: flex; }
.modal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  width: min(28rem, calc(100vw - 2rem));
}
.modal-card h2 { margin-bottom: 0.7rem; }
#reason-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.6rem;
  resize: vertical;
}
#reason-modal.is-message .modal-card { width: min(42rem, calc(100vw - 2rem)); }
#reason-modal.is-message #reason-input { min-height: 9rem; }
.stats-card { width: min(36rem, calc(100vw - 2rem)); }
.stats-card h3 { margin: 0.9rem 0 0.4rem; font-size: 1rem; }
.stats-card p { margin: 0.15rem 0; }
.stats-done { color: #3dd68c; font-weight: 700; }
.modal-card .row { margin-top: 0.7rem; justify-content: flex-end; }
.faction-row-allies td.player-name { box-shadow: inset 3px 0 0 var(--allies); padding-left: 0.55rem; }
.faction-row-axis td.player-name { box-shadow: inset 3px 0 0 var(--axis); padding-left: 0.55rem; }
.players-wrap { overflow: auto; max-height: calc(100vh - 280px); }
.players-wrap thead th {
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}
.feed-wrap {
  overflow: auto;
  max-height: calc(100vh - 280px);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.feed-table { width: max-content; min-width: 100%; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.8rem; }
.feed-table th, .feed-table td { white-space: nowrap; }
.feed-table th { position: sticky; top: 0; background: var(--card); z-index: 1; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.feed-player {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}
.feed-player:hover { text-decoration: underline; }
#log-search { width: 11rem; margin: 0; font-size: 0.8rem; }
.feed-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.6rem;
}
.feed-header h2 { margin: 0; }
.feed-filters { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.feed-filters .chip.active { background: var(--accent); color: var(--btn-text); border-color: var(--accent); }
.feed-time { color: var(--muted); white-space: nowrap; width: 4.6rem; }
.feed-action { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em; white-space: nowrap; }
.feed-action.chat { color: #7eb8e8; }
.feed-action.kill { color: #d45c4a; }
.feed-action.admin { color: var(--accent); }
.feed-action.match { color: var(--ok); }
.feed-action.connect { color: #6fb56f; }
.feed-action.disconnect { color: #8b98a5; }
.feed-action.broadcast { color: #c9a227; }
.feed-action.team { color: #b08fd4; }
.feed-msg { white-space: nowrap; }
.faction-allies { color: var(--allies); }
.faction-axis { color: var(--axis); }
.settings-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.settings-nav { padding: 1rem 0.8rem; }
.settings-nav h2 { margin-bottom: 0.6rem; }
.settings-nav a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}
.settings-nav a.current, .settings-nav a:hover { color: var(--text); background: var(--hover); }
.hud {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(11rem, 1fr) minmax(0, max-content);
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding: 0.7rem 1rem;
  background: #101820;
  border: 1px solid #243140;
  border-radius: 8px;
}
.hud-side {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.7rem;
  row-gap: 0.28rem;
  min-width: 0;
  max-width: 100%;
}
.hud-side.axis { justify-content: flex-end; }
.hud-balance {
  align-self: stretch;
  flex: 1 1 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.hud-bal-row { display: flex; flex-wrap: wrap; gap: 0.12rem 0.7rem; }
.hud-bal { white-space: nowrap; }
.hud-bal-k {
  margin-right: 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}
.hud-side.axis .hud-balance { text-align: right; }
.hud-side.axis .hud-bal-row { justify-content: flex-end; }
.hud-score { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.hud-side.allies,
.hud-side.allies .hud-score,
.hud-side.allies .hud-count,
.hud-side.allies .hud-label { color: #3b82f6; }
.hud-side.axis,
.hud-side.axis .hud-score,
.hud-side.axis .hud-count,
.hud-side.axis .hud-label { color: #ef4444; }
.hud.wardogs {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "mid mid mid"
    "lonestar valkyra manticore";
  gap: 0.85rem 1.4rem;
  align-items: stretch;
}
.hud.wardogs .hud-mid { grid-area: mid; padding-bottom: 0.15rem; }
.hud.wardogs .hud-side.allies { grid-area: lonestar; }
.hud.wardogs .hud-side.axis { grid-area: valkyra; justify-content: center; }
.hud.wardogs .hud-side.manticore { grid-area: manticore; }
.hud.wardogs .hud-side {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.55rem 0.6rem 0.45rem;
  border-top: 3px solid currentColor;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}
.hud.wardogs .hud-side .hud-count { order: 1; font-size: 1.05rem; opacity: 0.9; }
.hud.wardogs .hud-side .hud-score { order: 2; font-size: 2.1rem; }
.hud.wardogs .hud-side .hud-label { order: 3; }
.hud.wardogs .hud-side .hud-balance {
  order: 4;
  flex: 0 0 auto;
  align-items: center;
  text-align: center;
}
.hud.wardogs .hud-side .hud-bal-row { justify-content: center; }
.hud-side.manticore[hidden] { display: none !important; }
.hud-side.manticore,
.hud-side.manticore .hud-score,
.hud-side.manticore .hud-count,
.hud-side.manticore .hud-label { color: #d6e04a; }
.hud-count { font-size: 1.7rem; font-weight: 700; line-height: 1; opacity: 1; }
.hud-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.hud-mid { text-align: center; min-width: 0; }
.hud-players {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.25rem;
}
.hud-time { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.hud-map { font-weight: 700; letter-spacing: 0.04em; }
.hud-next, .hud-note { color: var(--muted); font-size: 0.8rem; }
.hud-note { margin: -0.3rem 0 0.7rem; }
.faction-row-allies .name-btn, .feed-player.faction-allies { color: #5eb0e8; }
.faction-row-axis .name-btn, .feed-player.faction-axis { color: #e06a62; }
.faction-row-lonestar .name-btn, .feed-player.faction-lonestar { color: #5eb0e8; }
.faction-row-valkyra .name-btn, .feed-player.faction-valkyra { color: #e06a62; }
.faction-row-manticore .name-btn, .feed-player.faction-manticore { color: #d6e04a; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.big { font-size: 2rem; margin: 0.3rem 0 0; font-variant-numeric: tabular-nums; }
.score.allies { border-top: 3px solid var(--allies); }
.score.axis { border-top: 3px solid var(--axis); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.45rem 0.35rem; border-bottom: 1px solid var(--line); }
.sort-th {
  padding: 0;
  white-space: nowrap;
  user-select: none;
}
.lvl, .kills, .cash { font-variant-numeric: tabular-nums; text-align: right; width: 3.2rem; }
.cash { width: 4.2rem; }
.live-table .cash-col { display: none; }
body.game-wardogs .live-table .cash-col { display: table-cell; }
body.game-wardogs .live-table .lvl-col { display: none; }
.row { display: flex; gap: 0.5rem; }
#ban-remove { display: flex; gap: 0.5rem; align-items: center; margin: 0.6rem 0; }
#ban-remove[hidden] { display: none !important; }
input, select, textarea {
  flex: 1;
  background: var(--field);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  font: inherit;
  color-scheme: inherit;
}
textarea {
  width: 100%;
  min-height: 6.5rem;
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  flex: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  align-self: flex-start;
}
button {
  background: var(--accent);
  color: var(--btn-text);
  border: 0;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
button.danger { background: var(--err); color: #fff; }
button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
button.sort-btn {
  display: block;
  width: 100%;
  margin: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  text-align: inherit;
  padding: 0.45rem 0.35rem;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}
.icon-col button.sort-btn { text-align: center; }
button.sort-btn:hover {
  color: var(--accent);
  background: var(--hover);
}
.sort-th.sorted button.sort-btn { color: var(--text); }
.sort-th.sorted button.sort-btn::after { content: " ▲"; font-size: 0.65em; color: var(--accent); }
.sort-th.sorted.desc button.sort-btn::after { content: " ▼"; font-size: 0.65em; color: var(--accent); }
.pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pill.on { background: #1d3a22; color: var(--ok); }
.pill.off { background: #3a1d1d; color: var(--err); }
.faction { text-transform: capitalize; }
.raw {
  background: var(--field);
  padding: 0.7rem;
  min-height: 3rem;
  white-space: pre-wrap;
  font-size: 0.82rem;
  color: #c5d0da;
}
.audit { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; color: var(--muted); }
.audit li { padding: 0.25rem 0; border-bottom: 1px solid var(--line); }
.stream-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 0.7rem 0 0.5rem;
}
.toggle { color: var(--muted); font-size: 0.9rem; display: flex; gap: 0.4rem; align-items: center; justify-content: flex-start; }
.toggle input { width: auto; flex: none; }
.banner {
  display: block;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  color: var(--accent);
  min-height: 2.2rem;
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
}
.stream-row { display: flex; gap: 0.5rem; margin-bottom: 0.45rem; }
.stream-row .stream-time { flex: 0 0 5rem; }
.stream-actions { justify-content: flex-end; margin-top: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.7rem; }
.chip { font-size: 0.8rem; padding: 0.35rem 0.65rem; }
.stack-label { display: flex; flex-direction: column; gap: 0.3rem; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.7rem; }
.chips .chip.active { background: var(--accent); color: var(--btn-text); border-color: var(--accent); }
.stack label { display: flex; flex-direction: column; gap: 0.3rem; color: var(--muted); font-size: 0.85rem; }
.stack label.toggle {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
}
.radio-set { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.28rem; margin: 0.15rem 0 0.7rem; }
.radio-set .choice, label.choice {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  max-width: 100%;
  gap: 0.45rem;
  margin: 0;
  text-align: left;
}
.tool-preview { margin-top: 0.8rem; border-top: 1px solid var(--line); padding-top: 0.7rem; }
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.set-card { border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem 0.85rem; min-width: 0; }
.set-card h3 { margin: 0; font-size: 0.95rem; }
.set-card header { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.set-card .sub { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0.6rem; }
.set-card input[type="range"] { width: 100%; padding: 0; }
.avk-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: end; }
.avk-row label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8rem; color: var(--muted); }
.avk-row input, .avk-row select { min-width: 8rem; }
.set-note { margin: 0.4rem 0 0.8rem; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 0.85rem; }
.service-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.svc-line { display: flex; align-items: center; gap: 0.8rem; padding: 0.42rem 0.15rem; border-bottom: 1px solid var(--line); }
.svc-state { flex: 0 0 6.2rem; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; border-radius: 999px; padding: 0.18rem 0.35rem; }
.svc-state.run { background: #1d6b34; color: #e7ffe9; }
.svc-state.stop { background: #3c4658; color: #e4e8f0; }
.svc-name { flex: 1; font-weight: 700; letter-spacing: 0.04em; }
.svc-line button { min-width: 4.6rem; }
@media (max-width: 900px) { .set-grid { grid-template-columns: 1fr; } }
.tool-preview li { margin: 0.2rem 0; }
.stack .row { align-items: end; }
.grow { flex: 1; }
.challenge-list { display: flex; flex-direction: column; gap: 0.7rem; }
.challenge-item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.challenge-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; justify-content: flex-end; max-width: 28rem; }
.challenge-actions .award-id { width: 11rem; flex: 1; }
.promo-preview { margin-top: 0.25rem; font-size: 0.8rem; }
.challenge-live { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.7rem; }
.challenge-live-item {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}
.challenge-live-item .vip-badge { margin-left: 0.35rem; }
.challenge-live-actions { margin-top: 0.55rem; }
.admin-table-wrap { max-height: 22rem; overflow: auto; margin: 0.6rem 0 0.2rem; }
.user-table-wrap { max-height: 70vh; }
.server-access-list { display: flex; flex-direction: column; gap: 0.75rem; max-height: 70vh; overflow: auto; margin-top: 0.2rem; }
.server-access-block { border: 1px solid var(--line); border-radius: 8px; background: var(--field); }
.server-access-block.needs-owner {
  background: color-mix(in srgb, var(--err) 28%, var(--field));
  border-color: color-mix(in srgb, var(--err) 70%, var(--line));
}
.needs-owner-note {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--err);
}
.server-access-block h3 { margin: 0; font-size: 1rem; }
.server-access-block.open h3 { border-bottom: 1px solid var(--line); }
.server-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.server-toggle:hover { color: var(--accent); }
.server-toggle .chev { width: 0.8rem; color: var(--muted); }
.server-people { display: none; }
.server-access-block.open .server-people { display: block; }
.server-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.2rem auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.38rem 0.7rem 0.38rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.server-access-block .server-person:last-child { border-bottom: 0; }
.server-person.role-owner { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.server-person .role-label { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.server-person.role-owner .role-label { color: var(--accent); font-weight: 700; }
.server-empty { margin: 0; padding: 0.45rem 0.8rem 0.55rem 1.5rem; }
.user-tools { align-items: end; margin: 0.2rem 0 0.6rem; }
.user-tools .stack-label { margin-bottom: 0; }
.admin-table button.sort-btn {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
  cursor: pointer;
}
.admin-table button.sort-btn.active { color: var(--text); }
.user-server-picks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  max-height: 22rem;
  overflow: auto;
  margin-top: 0.35rem;
}
.user-server-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.5rem;
  gap: 0.75rem;
  align-items: center;
}
.user-server-row select { width: 100%; max-width: none; }
#user-form { margin-top: 0.9rem; }
#user-form h3 { margin: 0 0 0.4rem; }
.admin-table th { text-align: left; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-table th, .admin-table td { padding: 0.45rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-actions { display: flex; gap: 0.35rem; justify-content: flex-end; white-space: nowrap; }
#server-form .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: end;
}
#server-form .row.ports { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
#server-form > .row:last-child {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#server-form label { min-width: 0; align-items: stretch; }
#server-form input,
#server-form select {
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: none;
}
.grant-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.85rem 0.85rem;
  margin: 0.4rem 0 0.6rem;
  min-width: 0;
}
.grant-box legend { color: var(--text); padding: 0 0.3rem; }
.grant-list { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.35rem; }
.grant-list label.toggle { margin: 0; }
@media (max-width: 1100px) {
  .split, .settings-shell, header, .record-split { grid-template-columns: 1fr; }
  .header-right { justify-self: start; }
  .players-wrap, .feed-wrap { max-height: 28rem; }
  .challenge-item { flex-direction: column; }
  body.has-sidebar { padding-left: 0; }
  body.has-sidebar .menu-toggle { display: inline-flex; }
  .side-menu {
    transform: translateX(-100%);
    transition: transform 0.16s ease;
  }
  body.side-open .side-menu { transform: none; }
}
.admins-page { display: flex; flex-direction: column; gap: 0.65rem; }
.admins-bar, .admins-add, .admins-tools { display: flex; gap: 0.45rem; align-items: center; }
.admins-bar { justify-content: flex-end; }
.admins-add > input, .admins-add > select, .admins-tools > input { flex: 1; min-width: 0; }
.file-btn, #admins-download { background: #9b4dca; color: #fff; border-radius: 6px; padding: 0.5rem 0.9rem; font-weight: 600; cursor: pointer; }
.admins-list { list-style: none; margin: 0; padding: 0; max-height: 32rem; overflow: auto; border-top: 1px solid var(--line); }
.admins-head,
.admin-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1.15fr) minmax(12rem, 1.7fr) 10rem auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.45rem 0.15rem;
  border-bottom: 1px solid var(--line);
}
.admins-head {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admins-list li.admins-empty { display: block; padding: 0.6rem 0.15rem; }
.admin-name { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.admin-id { font-size: 0.82rem; word-break: break-all; }
.admin-row select { width: 100%; }
.admin-row select:disabled { opacity: 0.65; }
#admins-apply:disabled { opacity: 0.45; cursor: default; }
.admin-select { flex-direction: row; align-items: center; gap: 0.35rem; color: var(--text); }

@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  #server-form .row,
  #server-form .row.ports { grid-template-columns: minmax(0, 1fr); }
  .stream-row { flex-direction: column; }
  .stream-row .stream-time { flex: 1; }
}

.player-record { margin: 0.6rem 0 0.2rem; }
.player-record h3 { margin: 0 0 0.7rem; }
.record-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr); gap: 1.2rem 1.6rem; align-items: start; }
.record-combat h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.record-combat h3 + table { margin-bottom: 0.9rem; }
.record-combat table { width: 100%; font-size: 0.85rem; }
.record-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.7rem 1.2rem; }
.record-grid span { display: block; color: var(--muted); font-size: 0.78rem; }
.record-bans { margin-top: 0.9rem; }
.record-links { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.8rem; }
td.record-links { margin: 0; white-space: nowrap; }
.record-link { display: inline-block; padding: 0.15rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.record-name { color: inherit; font-weight: 600; text-decoration: none; }
.record-name:hover { text-decoration: underline; }
.record-row, #player-record .player-record { cursor: context-menu; }
.record-row .record-link, #player-record .record-link, #player-record .record-back a { cursor: pointer; }

.server-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.server-hero h2 { margin: 0.15rem 0; overflow-wrap: anywhere; }
.sheet { display: grid; gap: 0; margin: 0.2rem 0 0; }
.sheet div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.sheet div[hidden] { display: none; }
.sheet dt { color: var(--muted); }
.sheet dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.perf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 0.3rem; }
.perf-row div { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.perf-row .big { font-size: 1.55rem; }
.meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 0.35rem; }
.meter span { display: block; height: 100%; width: 0; background: #2f6fed; }
.meter.time span { background: #3d8a3d; }
.match-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.match-sides article { padding-top: 0.2rem; }
@media (max-width: 800px) {
  .perf-row, .match-sides, .result-row { grid-template-columns: 1fr; }
}
.stat-table { overflow-x: auto; }
.stat-table table { font-size: 0.88rem; }
.stat-table td.num, .stat-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.weapon-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3.2rem; gap: 0.45rem; align-items: center; margin: 0.35rem 0; }
.weapon-row .bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.weapon-row .bar span { display: block; height: 100%; background: #d4a017; }
.weapon-row .share { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.result-row { display: grid; grid-template-columns: auto auto 1fr; gap: 1.2rem; align-items: center; margin-top: 0.6rem; }
.donut { width: 8.5rem; height: 8.5rem; border-radius: 50%; display: grid; place-items: center; }
.donut-hole { width: 5.4rem; height: 5.4rem; border-radius: 50%; background: var(--card); display: grid; place-items: center; text-align: center; line-height: 1.15; }
.donut-hole span { color: var(--muted); font-size: 0.75rem; }
.result-legend { display: flex; flex-direction: column; gap: 0.35rem; }
.swatch { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; margin-right: 0.35rem; }
.swatch.allies { background: #3b82f6; }
.swatch.axis { background: #ef4444; }
.heat-wrap { overflow-x: auto; }
.heat { display: grid; grid-template-columns: 2.4rem repeat(24, minmax(0.7rem, 1fr)); gap: 2px; min-width: 36rem; align-items: center; }
.heat .day, .heat .hour { color: var(--muted); font-size: 0.68rem; }
.heat .hour { text-align: center; }
.heat i { display: block; height: 0.85rem; border-radius: 2px; background: #1c2430; }
.sheet-row { align-items: start; }
.grid-2 > * { min-width: 0; }
.server-stats { margin-top: 0.2rem; }
.track-add { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: end; margin: 0.8rem 0; }
.track-add label { margin: 0; }
.track-row { border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem 0.8rem; margin: 0.55rem 0; }
.track-head { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; align-items: end; }
.track-head label { margin: 0; flex: 1 1 12rem; }
.track-options { display: flex; flex-direction: column; align-items: flex-start; gap: 0.28rem; margin: 0.7rem 0 1rem; }
.name-list { list-style: none; margin: 0.2rem 0 0.8rem; padding: 0; }
.name-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; border-bottom: 1px solid var(--line); padding: 0.35rem 0; }
.track-results button { background: transparent; color: var(--text); border: 1px solid var(--line); }
