@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Michroma";
  src: url("/fonts/michroma.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #0a0b0e;
  --winslow: #2154b9;
  --winslow-hover: #2a63d4;
  --blackhawks: #27292d;
  --safeguard: #3e2885;
  --hero-text: #c9cbd2;
  --nav-height: 56px;
  --nav-tab-size: 12px;
  --hero-height: 100vh;
  --hero-max: 1020px;
  --hero-min: 620px;
  --hero-title: clamp(44px, 7.2vw, 150px);
  --hero-left: max(var(--page-gutter), 4.4vw);
  --band-title: clamp(26px, 3.8vw, 54px);
  --closing-title: clamp(32px, 6vw, 96px);
  --band-gap: clamp(64px, 9vw, 128px);
  --stat-size: clamp(24px, 3.4vw, 46px);
  --reveal-distance: 18px;
  --reveal-time: 520ms;
  --ease-out: cubic-bezier(0.16, 0.84, 0.3, 1);
  --card-label: rgba(10, 11, 14, 0.88);
  --closing-shade: rgba(10, 11, 14, 0.62);
  --card: #14151a;
  --ink: #0b0c0f;
  --active: #383b44;
  --grid: #25272e;
  --text: #f2f2f4;
  --muted: #9698a0;
  --on-team: #ffffff;
  --contested: #ffc440;
  --best: #ffd640;
  --good: #40de8a;
  --target-alpha: 0.55;
  --zeros-alpha: 0.35;

  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-title: "Michroma", var(--font-body);

  --radius: 2px;
  --segment-gap: 2px;
  --panel-gap: 8px;
  --page-width: 1180px;
  --page-gutter: 24px;
  --page-top: 28px;
  --page-bottom: 48px;

  --title-size: clamp(26px, 5vw, 44px);
  --text-size: 15px;
  --small-size: 13px;
  --heading-size: 14px;
  --status-size: 16px;

  --row-name: 18px;
  --row-meta: 14px;
  --row-pad-y: 12px;
  --row-pad-x: 16px;
  --row-gap: 24px;
  --row-info: minmax(200px, 1fr);
  --row-score: minmax(0, 2.4fr);

  --bar-height: 28px;
  --bar-clock: 66px;
  --bar-name: 14px;
  --bar-score: 18px;
  --bar-target: 14px;
  --bar-clock-size: 17px;
  --bar-mark: 18px;
  --bar-score-pad: 9px;
  --chip-height: 18px;
  --chip-width: 46px;
  --chip-active: 92px;
  --chip-padding: 8px;
  --chip-size: 13px;

  --big-bar-height: 48px;
  --big-bar-clock: 104px;
  --big-bar-name: 18px;
  --big-bar-score: 30px;
  --big-bar-target: 16px;
  --big-bar-clock-size: 26px;
  --big-bar-mark: 30px;
  --big-chip-height: 28px;
  --big-chip-width: 68px;
  --big-chip-active: 136px;
  --big-chip-size: 16px;

  --chart-height: 280px;
  --axis-size: 12px;
  --feed-time: 44px;
  --feed-line: 20px;
  --feed-phone-height: 320px;
  --key-width: 14px;
  --key-height: 2px;

  --team-head: 56px;
  --team-row: 30px;
  --team-text: 16px;
  --team-total: 16px;
  --team-name: 17px;
  --team-meta: 14px;
  --team-label: 13px;
  --team-mark: 28px;
  --team-mark-gap: 10px;
  --team-inset: 12px;
  --team-player-inset: 14px;
  --col-kills: 40px;
  --col-deaths: 40px;
  --col-damage: 66px;
  --col-heals: 60px;
  --col-caps: 62px;

  --update-time: 2s;
  --enter-time: 120ms;

  --hud-panel: rgba(10, 11, 14, 0.74);
  --hud-gutter: 12px;
  --hud-score-width: 820px;
  --hud-side-reserve: 350px;
  --hud-score-min: 400px;
  --hud-corner-top: 12px;
  --timeline-height: 46px;
  --timeline-track: 6px;
  --timeline-gap: 10px;
  --tag-size: 12px;

  --field-height: 44px;
  --field-small: 36px;
  --field-pad: 14px;
  --listed: #c4281c;
  --lookup-width: 560px;
  --filter-width: 320px;
  --block-gap: 18px;
  --card-pad: 16px;
  --tab-pad-y: 8px;
  --tab-pad-x: 14px;
  --remove-pad-y: 4px;
  --remove-pad-x: 10px;
  --state-pad-y: 6px;
  --state-pad-x: 14px;
  --verdict-face: 56px;
  --verdict-name: 20px;
  --verdict-gap: 12px;
  --verdict-row-gap: 4px;
  --profile-face: 72px;
  --profile-gap: 14px;
  --registry-width: 1040px;
  --check-size: 18px;
  --reason-min: 240px;
  --reason-max: 420px;
  --add-field-min: 190px;
  --legal-width: 720px;
  --legal-top: 40px;
  --legal-gap: 12px;
  --legal-heading-gap: 24px;
}

@media (max-width: 960px) {
  :root {
    --row-info: minmax(0, 1fr);
    --row-score: minmax(0, 1fr);
    --row-gap: 10px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 16px;
    --page-top: 20px;
    --row-pad-x: 12px;
    --bar-clock: 56px;
    --bar-score: 16px;
    --bar-target: 12px;
    --bar-clock-size: 15px;
    --bar-score-pad: 6px;
    --big-bar-height: 40px;
    --big-bar-clock: 66px;
    --big-bar-score: 20px;
    --big-bar-target: 12px;
    --big-bar-clock-size: 18px;
    --big-bar-mark: 24px;
    --big-chip-height: 24px;
    --big-chip-width: 52px;
    --big-chip-active: 108px;
    --big-chip-size: 14px;
    --chart-height: 220px;
    --team-text: 14px;
    --team-total: 13px;
    --team-row: 28px;
    --team-name: 14px;
    --team-meta: 12px;
    --team-label: 12px;
    --team-mark: 22px;
    --team-mark-gap: 6px;
    --team-inset: 8px;
    --team-player-inset: 8px;
    --col-kills: 26px;
    --col-deaths: 30px;
    --col-damage: 52px;
    --col-heals: 44px;
    --col-caps: 46px;
  }
}

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

html {
  background: var(--bg);
  color: var(--text);
  font: 500 var(--text-size) / 1.35 var(--font-body);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

.page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: var(--page-top) var(--page-gutter) var(--page-bottom);
}

.title {
  font-family: var(--font-title);
  font-size: var(--title-size);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10;
  padding: 6px 12px;
  background: var(--text);
  color: var(--ink);
  font-size: var(--small-size);
  font-weight: 800;
  border-radius: var(--radius);
}

.empty {
  margin-top: 16px;
  padding: 20px var(--row-pad-x);
  background: var(--card);
  color: var(--muted);
  font-weight: 600;
  border-radius: var(--radius);
}

.rows {
  display: grid;
  gap: var(--panel-gap);
  margin-top: 16px;
}

.row {
  display: grid;
  grid-template-columns: var(--row-info) var(--row-score);
  gap: var(--row-gap);
  align-items: center;
  padding: var(--row-pad-y) var(--row-pad-x);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
}

.row:focus-visible {
  background: var(--text);
  color: var(--ink);
  outline: none;
}

.row:focus-visible .row__status {
  color: var(--ink);
}

.row--new {
  animation: enter var(--enter-time) ease-out;
}

.row__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: baseline;
  min-width: 0;
}

.row__name {
  overflow: hidden;
  font-size: var(--row-name);
  font-weight: 800;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row__count {
  font-size: var(--row-meta);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.row__status {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: var(--row-meta);
  overflow-wrap: anywhere;
}

.score {
  --panel: var(--ink);
  min-width: 0;
  color: var(--text);
}

.score--big {
  --panel: var(--card);
  --bar-height: var(--big-bar-height);
  --bar-clock: var(--big-bar-clock);
  --bar-name: var(--big-bar-name);
  --bar-score: var(--big-bar-score);
  --bar-target: var(--big-bar-target);
  --bar-clock-size: var(--big-bar-clock-size);
  --bar-mark: var(--big-bar-mark);
  --chip-height: var(--big-chip-height);
  --chip-width: var(--big-chip-width);
  --chip-active: var(--big-chip-active);
  --chip-size: var(--big-chip-size);
  margin-top: 16px;
}

.score__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--bar-clock) minmax(0, 1fr);
  gap: var(--segment-gap);
}

.score__clock {
  display: grid;
  place-items: center;
  background: var(--panel);
  font-size: var(--bar-clock-size);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border-radius: var(--radius);
}

.side {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  height: var(--bar-height);
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius);
}

.side--right {
  flex-direction: row-reverse;
}

.side__fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--update-time) linear;
}

.side--right .side__fill {
  transform-origin: left center;
}

.side__logo {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: var(--bar-height);
  height: 100%;
}

.side__mark {
  display: block;
  width: var(--bar-mark);
  height: var(--bar-mark);
  object-fit: contain;
}

.side__name {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: var(--bar-name);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side--right .side__name {
  text-align: right;
}

.side__score {
  position: relative;
  flex: none;
  padding: 0 var(--bar-score-pad);
  font-size: var(--bar-score);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: pre;
}

.side__target {
  font-size: var(--bar-target);
  font-weight: 600;
  opacity: var(--target-alpha);
}

.side__zeros {
  opacity: var(--zeros-alpha);
}

.side--winner .side__score {
  color: var(--best);
}

.side--winner .side__target {
  color: var(--on-team);
}

.chips {
  display: flex;
  gap: var(--segment-gap);
  justify-content: center;
  margin-top: 3px;
}

.chip {
  display: grid;
  place-items: center;
  width: var(--chip-width);
  height: var(--chip-height);
  background: var(--panel);
  font-size: var(--chip-size);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: pre;
  border-radius: var(--radius);
}

.chip--active {
  width: var(--chip-active);
  background: var(--active);
}

.chips--named .chip {
  width: auto;
  min-width: var(--chip-width);
  padding-inline: var(--chip-padding);
}

.chip--contested {
  background: var(--contested);
  color: var(--ink);
}

.back {
  display: inline-block;
  padding: 7px 14px;
  background: var(--card);
  color: var(--text);
  font-size: var(--small-size);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.back:focus-visible {
  background: var(--text);
  color: var(--ink);
  outline: none;
}

.server__head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 20px;
}

.server__count {
  font-size: var(--status-size);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.server__status {
  min-height: 22px;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--status-size);
  font-weight: 600;
}

.server__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--panel-gap);
  margin-top: 16px;
}

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px var(--row-pad-x) 14px;
  background: var(--card);
  border-radius: var(--radius);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
  min-height: 26px;
  margin-bottom: 8px;
}

.panel__title {
  font-size: var(--heading-size);
  font-weight: 800;
  text-transform: uppercase;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  color: var(--muted);
  font-size: var(--small-size);
  font-weight: 600;
}

.legend__item {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.legend__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legend__key,
.tip__key {
  flex: none;
  width: var(--key-width);
  height: var(--key-height);
  border-radius: 1px;
}

.text-button {
  padding: 3px 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: var(--small-size);
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
}

.text-button:focus-visible {
  background: var(--text);
  color: var(--ink);
  outline: none;
}

.text-button[aria-pressed="true"] {
  background: var(--text);
  color: var(--ink);
}

.plot {
  position: relative;
  height: var(--chart-height);
  overflow: hidden;
  touch-action: pan-y;
}

.plot:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.plot__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plot__grid {
  stroke: var(--grid);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.plot__tick {
  fill: var(--muted);
  font-size: var(--axis-size);
  font-variant-numeric: tabular-nums;
}

.plot__line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plot__dot {
  stroke: var(--card);
  stroke-width: 2;
}

.plot__value {
  fill: var(--text);
  font-size: var(--small-size);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.plot__leader {
  stroke: var(--muted);
  stroke-width: 1;
}

.plot__hair {
  stroke: var(--muted);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.plot__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

.tip {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 240px;
  padding: 8px 10px;
  background: var(--ink);
  font-size: var(--small-size);
  pointer-events: none;
  border-radius: var(--radius);
}

.tip__time {
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tip__row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tip__value {
  min-width: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.tip__label {
  overflow: hidden;
  color: var(--muted);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart__table {
  height: var(--chart-height);
  overflow-y: auto;
  scrollbar-color: var(--active) transparent;
  scrollbar-width: thin;
}

.series {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--small-size);
  font-variant-numeric: tabular-nums;
}

.series th {
  position: sticky;
  top: 0;
  max-width: 180px;
  padding: 0 0 6px 12px;
  overflow: hidden;
  background: var(--card);
  color: var(--muted);
  font-weight: 600;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series td {
  padding: 2px 0;
  font-weight: 700;
  text-align: right;
}

.series th:first-child,
.series td:first-child {
  padding-left: 0;
  text-align: left;
}

.feed__list {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: var(--active) transparent;
  scrollbar-width: thin;
}

.feed__empty {
  color: var(--muted);
  font-weight: 600;
}

.event {
  display: grid;
  flex: none;
  grid-template-columns: var(--feed-time) minmax(0, 1fr);
  gap: 8px;
  font-size: var(--small-size);
  line-height: var(--feed-line);
}

.event--new {
  animation: enter var(--enter-time) ease-out;
}

.event__time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.event__body {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 6px;
  align-items: center;
  min-width: 0;
  font-weight: 600;
}

.event__weapon {
  color: var(--muted);
}

.event__headshot {
  font-weight: 800;
}

.tag {
  max-width: 100%;
  padding: 0 6px;
  overflow: hidden;
  background: var(--active);
  color: var(--on-team);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: var(--radius);
}

.tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--panel-gap);
  align-items: start;
  margin-top: var(--panel-gap);
}

.team {
  width: 100%;
  background: var(--card);
  border-collapse: separate;
  border-radius: var(--radius);
  border-spacing: 0;
  table-layout: fixed;
}

.team__col--kills { width: var(--col-kills); }
.team__col--deaths { width: var(--col-deaths); }
.team__col--damage { width: var(--col-damage); }
.team__col--heals { width: var(--col-heals); }
.team__col--caps { width: var(--col-caps); }

.team__head th {
  height: var(--team-head);
  padding: 0;
  color: var(--on-team);
  font-weight: 500;
  text-align: right;
  vertical-align: middle;
}

.team__head th:first-child {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.team__head th:last-child {
  padding-right: 10px;
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.team__identity {
  display: flex;
  gap: var(--team-mark-gap);
  align-items: center;
  min-width: 0;
  padding-left: var(--team-inset);
  text-align: left;
}

.team__mark {
  display: block;
  flex: none;
  width: var(--team-mark);
  height: var(--team-mark);
  object-fit: contain;
}

.team__text {
  min-width: 0;
}

.team__name,
.team__players {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team__name {
  font-size: var(--team-name);
  font-weight: 700;
  line-height: 22px;
}

.team__players {
  font-size: var(--team-meta);
  line-height: 18px;
}

.team__label,
.team__total {
  display: block;
  font-variant-numeric: tabular-nums;
}

.team__label {
  font-size: var(--team-label);
  line-height: 16px;
}

.team__total {
  font-size: var(--team-total);
  font-weight: 800;
  line-height: 20px;
}

.team tbody tr:first-child td {
  height: calc(var(--team-row) + 3px);
  padding-top: 3px;
}

.team td {
  height: var(--team-row);
  padding: 0;
  font-size: var(--team-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.team td:last-child {
  padding-right: 10px;
}

.team td.team__player {
  padding-left: var(--team-player-inset);
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team__none {
  color: var(--muted);
  font-weight: 500;
}

.is-away td {
  color: var(--muted);
}

.is-best,
.is-away td.is-best {
  color: var(--best);
}

.spectators {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--small-size);
  font-weight: 600;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
}

.server__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--panel-gap);
}

.back--watch {
  background: var(--text);
  color: var(--ink);
}

.is-replay {
  overflow: hidden;
}

.is-replay .page {
  max-width: none;
  padding: 0;
}

.replay {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
  user-select: none;
  -webkit-user-select: none;
}

.replay__gl,
.replay__labels {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.replay__labels {
  pointer-events: none;
}

.replay__hud {
  position: absolute;
  inset: 0;
  touch-action: none;
  cursor: grab;
}

.replay__hud:active {
  cursor: grabbing;
}

.replay__corner {
  position: absolute;
  top: var(--hud-corner-top);
  z-index: 3;
  display: flex;
  gap: var(--segment-gap);
  align-items: center;
  cursor: default;
}

.replay__corner--left {
  left: var(--hud-gutter);
  gap: 10px;
}

.replay__corner--right {
  right: var(--hud-gutter);
  gap: 6px;
}

.replay__name {
  padding: 5px 10px;
  background: var(--hud-panel);
  font-size: var(--small-size);
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.back--hud {
  background: var(--hud-panel);
}

.score--hud {
  --panel: var(--hud-panel);
  position: absolute;
  top: var(--hud-corner-top);
  left: 50%;
  z-index: 2;
  width: max(var(--hud-score-min), min(var(--hud-score-width), calc(100% - var(--hud-side-reserve) * 2)));
  transform: translateX(-50%);
  cursor: default;
}

.score--hud .side__fill {
  transition: none;
}

.replay__layouts {
  display: flex;
  gap: var(--segment-gap);
}

.hud-button {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  background: var(--hud-panel);
  color: var(--text);
  font: inherit;
  font-size: var(--small-size);
  font-weight: 800;
  border-radius: var(--radius);
  cursor: pointer;
}

.hud-button--wide {
  padding: 0 14px;
  text-transform: uppercase;
}

.hud-button--on {
  background: var(--text);
  color: var(--ink);
}

.hud-button:focus-visible {
  background: var(--text);
  color: var(--ink);
  outline: none;
}

.roster {
  position: absolute;
  top: calc(var(--hud-corner-top) + 40px);
  left: var(--hud-gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 190px;
  max-height: calc(100% - var(--hud-corner-top) - 40px - var(--timeline-height) - 16px);
  overflow-y: auto;
  cursor: default;
  scrollbar-color: var(--active) transparent;
  scrollbar-width: thin;
}

.roster__row {
  position: relative;
  display: flex;
  flex: none;
  gap: 7px;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border: 0;
  background: var(--hud-panel);
  color: var(--text);
  font: inherit;
  font-size: var(--tag-size);
  font-weight: 700;
  text-align: left;
  border-radius: var(--radius);
  cursor: pointer;
}

.roster__row--away {
  color: var(--muted);
}

.roster__row--on,
.roster__row:focus-visible {
  background: var(--text);
  color: var(--ink);
  outline: none;
}

.roster__tile {
  flex: none;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: var(--radius);
}

.roster__face {
  display: block;
  width: 100%;
  height: 100%;
}

.roster__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster__bar {
  flex: none;
  width: 26px;
  height: 3px;
  background: var(--active);
}

.roster__fill {
  display: block;
  height: 100%;
  background: var(--good);
  transform-origin: left center;
}

.killfeed {
  position: absolute;
  top: calc(var(--hud-corner-top) + 40px);
  right: var(--hud-gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--segment-gap);
  align-items: flex-end;
  max-width: min(420px, 40vw);
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.killfeed__row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 6px;
  align-items: center;
  justify-content: flex-end;
  padding: 3px 6px;
  background: var(--hud-panel);
  font-size: var(--tag-size);
  font-weight: 600;
  border-radius: var(--radius);
}

.replay__tags {
  position: absolute;
  inset: 0 0 var(--timeline-height) 0;
  z-index: 1;
  display: grid;
  grid-auto-rows: 1fr;
  pointer-events: none;
}

.replay__tags:has(.view-tag:nth-child(2)) {
  grid-template-columns: 1fr 1fr;
}

.view-tag {
  display: flex;
  gap: 6px;
  align-items: center;
  align-self: end;
  justify-self: end;
  margin: 8px;
  padding: 3px 4px 3px 8px;
  background: var(--hud-panel);
  font-size: var(--tag-size);
  font-weight: 700;
  pointer-events: auto;
  border-radius: var(--radius);
  cursor: default;
}

.view-tag--focused {
  background: var(--text);
  color: var(--ink);
}

.view-tag__index {
  font-weight: 800;
  opacity: 0.6;
}

.view-tag__button {
  padding: 2px 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  opacity: 0.7;
  border-radius: var(--radius);
  cursor: pointer;
}

.view-tag__button:focus-visible {
  outline: 1px solid currentColor;
}

.replay__board {
  position: absolute;
  top: calc(var(--hud-corner-top) + 60px);
  left: 50%;
  z-index: 4;
  width: min(1120px, calc(100% - var(--hud-gutter) * 2));
  max-height: calc(100% - var(--hud-corner-top) - 60px - var(--timeline-height) - 16px);
  overflow-y: auto;
  transform: translateX(-50%);
  cursor: default;
  scrollbar-width: thin;
}

.tables--board {
  margin-top: 0;
}

.tables--watch .team td.team__player {
  cursor: pointer;
}

.tables--board .team td.team__player {
  cursor: pointer;
}

.replay__hint {
  position: absolute;
  bottom: calc(var(--timeline-height) + 8px);
  left: var(--hud-gutter);
  z-index: 1;
  max-width: 60%;
  padding: 4px 10px;
  background: var(--hud-panel);
  color: var(--muted);
  font-size: var(--tag-size);
  font-weight: 600;
  pointer-events: none;
  border-radius: var(--radius);
}

.replay__status {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  padding: 8px 14px;
  background: var(--hud-panel);
  font-size: var(--small-size);
  font-weight: 800;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: var(--radius);
}

.timeline {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  gap: var(--timeline-gap);
  align-items: center;
  height: var(--timeline-height);
  padding: 0 var(--hud-gutter);
  background: var(--hud-panel);
  cursor: default;
}

.timeline__play {
  display: grid;
  flex: none;
  place-items: center;
  background: var(--text);
  color: var(--ink);
}

.timeline__time {
  flex: none;
  font-size: var(--small-size);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.timeline__track {
  position: relative;
  flex: 1 1 auto;
  min-width: 40px;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
}

.timeline__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.timeline__inner::before {
  position: absolute;
  top: 14px;
  right: 0;
  left: 0;
  height: var(--timeline-track);
  background: var(--active);
  content: "";
  border-radius: var(--radius);
}

.timeline__fill {
  position: absolute;
  top: 14px;
  right: 0;
  left: 0;
  height: var(--timeline-track);
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: var(--radius);
}

.timeline__head {
  position: absolute;
  top: 10px;
  width: 4px;
  height: 14px;
  margin-left: -2px;
  background: var(--text);
  border-radius: var(--radius);
}

.timeline__heat {
  position: absolute;
  top: 4px;
  right: 0;
  left: 0;
  height: 9px;
  pointer-events: none;
}

.timeline__heat-bar {
  position: absolute;
  bottom: 0;
  height: 100%;
  background: var(--muted);
  opacity: 0.55;
  transform-origin: center bottom;
}

.timeline__marks {
  position: absolute;
  top: 12px;
  right: 0;
  left: 0;
  height: 10px;
  pointer-events: none;
}

.timeline__mark {
  position: absolute;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: var(--muted);
}

.timeline__clip {
  position: absolute;
  top: 12px;
  height: 10px;
  background: var(--best);
  opacity: 0.45;
  pointer-events: none;
}

.timeline__ticks {
  position: absolute;
  top: 25px;
  right: 0;
  left: 0;
  height: 14px;
  overflow: hidden;
  pointer-events: none;
}

.timeline__tick {
  position: absolute;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

.timeline__speed,
.timeline__clip-button,
.timeline__live {
  flex: none;
}

.note-form {
  position: absolute;
  bottom: calc(var(--timeline-height) + 8px);
  left: 50%;
  z-index: 5;
  display: flex;
  gap: var(--segment-gap);
  transform: translateX(-50%);
  cursor: default;
}

.note-form__input {
  width: min(320px, 60vw);
  height: 30px;
  padding: 0 10px;
  border: 0;
  background: var(--ink);
  color: var(--text);
  font: inherit;
  font-size: var(--small-size);
  border-radius: var(--radius);
}

.note-form__input:focus {
  outline: 2px solid var(--text);
}

.timeline__live.hud-button--on {
  background: var(--text);
  color: var(--ink);
}

@keyframes enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (hover: hover) {
  .row:hover,
  .back:hover,
  .text-button:hover,
  .hud-button:hover,
  .roster__row:hover,
  .tables--watch .team td.team__player:hover,
  .tables--board .team td.team__player:hover {
    background: var(--text);
    color: var(--ink);
  }

  .row:hover .row__status {
    color: var(--ink);
  }
}

@media (max-width: 1060px) {
  .score--hud {
    top: calc(var(--hud-corner-top) + 36px);
    width: calc(100% - var(--hud-gutter) * 2);
  }

  .killfeed {
    top: calc(var(--hud-corner-top) + 90px);
  }

  .replay__board {
    top: calc(var(--hud-corner-top) + 90px);
    max-height: calc(100% - var(--hud-corner-top) - 90px - var(--timeline-height) - 8px);
  }
}

@media (max-width: 960px) {
  .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .server__grid,
  .tables {
    grid-template-columns: minmax(0, 1fr);
  }

  .feed__list {
    flex: none;
    max-height: var(--feed-phone-height);
  }
}

@media (max-width: 640px) {
  .side__name {
    display: none;
  }

  .side {
    gap: 0;
    justify-content: space-between;
  }

  .text-button {
    margin-left: auto;
  }

  .legend {
    flex-basis: 100%;
    order: 3;
    margin-left: 0;
  }

  .replay__tags {
    display: none;
  }

  .killfeed {
    top: calc(var(--hud-corner-top) + 90px);
    max-width: calc(100% - var(--hud-gutter) * 2);
  }

  .replay__board {
    top: calc(var(--hud-corner-top) + 90px);
    max-height: calc(100% - var(--hud-corner-top) - 90px - var(--timeline-height) - 8px);
  }

  .replay__name,
  .timeline__clip-button,
  .replay__hint {
    display: none;
  }

  .timeline {
    gap: 6px;
  }

  .hud-button--wide {
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  min-height: var(--nav-height);
  padding: 8px var(--page-gutter);
  background: var(--bg);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: var(--nav-tab-size);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__tabs {
  display: flex;
  gap: var(--segment-gap);
  order: 3;
  width: 100%;
  overflow-x: auto;
}

.nav__tab {
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: var(--nav-tab-size);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 120ms, color 120ms;
}

.nav__tab--on {
  background: var(--text);
  color: var(--ink);
}

.nav__actions {
  display: flex;
  gap: var(--panel-gap);
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  background: var(--active);
  color: var(--text);
  font-size: var(--small-size);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 120ms;
}

.button--small {
  min-height: 34px;
  padding: 0 14px;
  font-size: var(--nav-tab-size);
}

.button--enlist {
  background: var(--winslow);
  color: var(--on-team);
}

.button--dark {
  background: var(--card-label);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--panel-gap);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: var(--nav-tab-size);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.is-home .page {
  max-width: none;
  padding: 0;
}

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--ink);
}

.hero__art,
.hero__front {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  animation: hero-settle 1600ms var(--ease-out) both;
}

.hero__front {
  display: none;
}

.hero__eyebrow {
  margin: 20px var(--page-gutter) 6px;
}

.hero__title {
  display: grid;
  margin: 0 var(--page-gutter) 14px;
  font-family: var(--font-title);
  font-size: var(--hero-title);
  font-weight: 400;
  line-height: 1.04;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__word {
  display: block;
  animation: hero-rise 900ms var(--ease-out) both;
}

.hero__line + .hero__line .hero__word {
  animation-delay: 110ms;
}

.hero__copy {
  padding: 0 var(--page-gutter);
  animation: hero-fade 800ms 380ms ease-out both;
}

.hero__text {
  max-width: 440px;
  margin-bottom: 20px;
  color: var(--hero-text);
  font-size: var(--text-size);
  line-height: 1.5;
}

.band {
  max-width: var(--page-width);
  margin: var(--band-gap) auto 0;
  padding: 0 var(--page-gutter);
}

.band[hidden] {
  display: none;
}

.band--stats {
  margin-top: 28px;
}

.band__title {
  margin-bottom: 24px;
  font-family: var(--font-title);
  font-size: var(--band-title);
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
}

.band .back {
  display: inline-flex;
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-time) ease-out, transform var(--reveal-time) var(--ease-out);
}

.reveal--in {
  opacity: 1;
  transform: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--segment-gap);
}

.stat {
  display: grid;
  gap: 8px;
  padding: 22px var(--page-gutter);
  background: var(--card);
}

.stat[hidden] {
  display: none;
}

.stat__value {
  font-family: var(--font-title);
  font-size: var(--stat-size);
  line-height: 1.05;
}

.stat__label {
  color: var(--muted);
  font-size: var(--nav-tab-size);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-page .stats {
  margin-top: 4px;
}

.map-page .stat {
  padding: 16px var(--row-pad-x);
}

.about {
  display: grid;
  margin-top: var(--band-gap);
}

.about__copy {
  padding: 0 var(--page-gutter) 28px;
}

.about__text {
  max-width: 560px;
  margin-bottom: 14px;
  color: var(--hero-text);
  font-size: var(--text-size);
  line-height: 1.65;
}

.about__era {
  margin: 20px 0 0;
}

.about__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--segment-gap);
}

.maps .map-grid {
  margin-top: 20px;
}

.map-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  background: var(--ink);
  text-decoration: none;
}

.map-card__art {
  position: absolute;
  inset: 0;
}

.map-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.map-card__body {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  gap: 3px;
  max-width: 100%;
  padding: 10px 16px 12px;
  background: var(--card-label);
}

.map-card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--winslow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}

.map-card__body > * {
  position: relative;
  z-index: 1;
}

.map-card__kind {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 200ms;
}

.map-card__name {
  font-family: var(--font-title);
  font-size: 17px;
  text-transform: uppercase;
}

.map-card__meta,
.map-card__top {
  color: var(--hero-text);
  font-size: var(--small-size);
  font-weight: 600;
}

.map-card__top {
  color: var(--best);
}

.map-card__top[hidden] {
  display: none;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--segment-gap);
}

.command {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 12px 16px 12px 12px;
  background: var(--card);
  text-decoration: none;
}

.command::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--winslow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}

.command > * {
  position: relative;
}

.command__face {
  width: 64px;
  height: 64px;
  background: var(--active);
}

.command__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.command__name {
  overflow: hidden;
  font-size: var(--text-size);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command__role {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 200ms;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--segment-gap);
}

.division {
  display: grid;
  align-content: end;
  gap: 6px;
  min-height: 170px;
  padding: 20px;
  background: var(--card);
  text-decoration: none;
  transition: filter 200ms;
}

.division--blackhawks {
  background: var(--blackhawks);
}

.division--safeguard {
  background: var(--safeguard);
}

.division__name {
  font-family: var(--font-title);
  font-size: clamp(16px, 1.8vw, 22px);
  text-transform: uppercase;
}

.division__count {
  color: var(--hero-text);
  font-size: var(--small-size);
  font-weight: 600;
}

.closing {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 56vh;
  margin-top: var(--band-gap);
  background: var(--ink);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--closing-shade);
}

.closing__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing__copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 48px var(--page-gutter);
  text-align: center;
}

.closing__title {
  font-family: var(--font-title);
  font-size: var(--closing-title);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

@keyframes hero-settle {
  from {
    transform: scale(1.05);
  }
  to {
    transform: none;
  }
}

@keyframes hero-rise {
  from {
    transform: translateY(110%);
  }
  to {
    transform: none;
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.map-page__banner {
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 21 / 9;
  background: var(--ink);
}

.map-page__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-page__head {
  margin-bottom: 16px;
}

.section-title {
  margin: 28px 0 10px;
  font-size: var(--heading-size);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title[hidden] {
  display: none;
}

.board {
  overflow-x: auto;
  background: var(--card);
}

.board[hidden] {
  display: none;
}

.board__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--small-size);
  font-weight: 700;
}

.board__table th,
.board__table td {
  padding: 8px 10px;
  text-align: right;
  white-space: nowrap;
}

.board__table thead th {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.board__table tbody tr:nth-child(odd) {
  background: var(--ink);
}

.board__table .board__rank {
  width: 36px;
  color: var(--muted);
  text-align: center;
}

.board__table .board__player {
  text-align: left;
}

.board__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.board__face {
  width: 28px;
  height: 28px;
  background: var(--active);
}

.board__sort {
  padding: 2px 4px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.board__sort--on {
  background: var(--text);
  color: var(--ink);
}

.board__stat--best {
  color: var(--best);
}

.matches {
  display: grid;
  gap: var(--segment-gap);
}

.match {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 2px 16px;
  padding: 10px var(--row-pad-x);
  background: var(--card);
  font-size: var(--small-size);
  font-weight: 700;
  text-decoration: none;
}

.match__meta,
.match__watch {
  color: var(--muted);
  font-weight: 600;
}

.match__score {
  font-family: var(--font-title);
  text-align: right;
}

.match__watch {
  text-align: right;
}

.footer {
  margin-top: var(--band-gap);
  padding: 44px var(--page-gutter);
  background: var(--card);
}

.is-replay .nav,
.is-replay .footer {
  display: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
  max-width: var(--page-width);
  margin: 0 auto;
}

.footer__brand,
.footer__column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
}

.footer__name {
  font-family: var(--font-title);
  font-size: var(--nav-tab-size);
  text-transform: uppercase;
}

.footer__motto {
  color: var(--muted);
  font-size: var(--small-size);
  font-weight: 600;
}

.footer__heading {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__link {
  font-size: var(--small-size);
  font-weight: 600;
  text-decoration: none;
}

@media (hover: hover) {
  .nav__tab:hover:not(.nav__tab--on) {
    color: var(--text);
  }

  .button:hover {
    background: var(--grid);
  }

  .button--enlist:hover {
    background: var(--winslow-hover);
  }

  .map-card:hover .map-card__image {
    transform: scale(1.05);
  }

  .map-card:hover .map-card__body::before,
  .command:hover::before {
    transform: scaleX(1);
  }

  .map-card:hover .map-card__kind,
  .map-card:hover .map-card__top,
  .map-card:hover .map-card__meta,
  .command:hover .command__role {
    color: var(--on-team);
  }

  .division:hover {
    filter: brightness(1.25);
  }

  .footer__link:hover,
  .board__link:hover {
    text-decoration: underline;
  }
}

@media (min-width: 720px) {
  .nav__tabs {
    order: 0;
    width: auto;
  }
}

@media (min-width: 860px) {
  .is-home .nav {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    transition: background-color 200ms;
  }

  .is-home.is-scrolled .nav {
    background: var(--bg);
  }

  .hero {
    display: block;
    height: var(--hero-height);
    min-height: var(--hero-min);
    max-height: var(--hero-max);
  }

  .hero__art,
  .hero__front {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    object-position: 70% center;
  }

  .hero__front {
    display: block;
    z-index: 2;
  }

  .hero__eyebrow {
    position: absolute;
    left: var(--hero-left);
    top: 15%;
    z-index: 3;
    margin: 0;
  }

  .hero__title {
    position: absolute;
    left: var(--hero-left);
    top: calc(15% + 26px);
    z-index: 1;
    margin: 0;
  }

  .hero__copy {
    position: absolute;
    left: var(--hero-left);
    bottom: 12%;
    z-index: 3;
    width: min(440px, 40%);
    padding: 0;
  }

  .band--stats {
    margin-top: 0;
  }

  .about {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .about__copy {
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: calc(var(--page-width) / 2);
    padding: 40px 48px 40px var(--page-gutter);
  }

  .about__image {
    aspect-ratio: auto;
    min-height: 460px;
  }

  .map-grid--feature {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
  }

  .map-grid--feature .map-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .map-grid--feature .map-card:first-child .map-card__name {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__art,
  .hero__front,
  .hero__word,
  .hero__copy {
    animation: none;
  }

  .map-card__image,
  .map-card__body::before,
  .command::before {
    transition: none;
  }
}

.field {
  height: var(--field-height);
  min-width: 0;
  padding: 0 var(--field-pad);
  border: 0;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: var(--small-size);
}

.field:focus {
  outline: 2px solid var(--text);
}

.lookup {
  display: flex;
  flex-wrap: wrap;
  gap: var(--panel-gap);
  max-width: var(--lookup-width);
  margin: var(--block-gap) 0;
}

.lookup__input {
  flex: 1 1 var(--add-field-min);
}

.verdict {
  display: grid;
  gap: var(--verdict-gap);
  margin-bottom: var(--block-gap);
  padding: var(--card-pad);
  background: var(--card);
  border-radius: var(--radius);
}

.verdict .back {
  justify-self: start;
  background: var(--active);
}

.verdict__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--verdict-gap);
  align-items: center;
  justify-content: space-between;
}

.verdict__who {
  font-weight: 800;
}

.verdict__face {
  width: var(--verdict-face);
  height: var(--verdict-face);
  background: var(--active);
}

.verdict__name {
  font-size: var(--verdict-name);
  overflow-wrap: anywhere;
}

.verdict__state {
  padding: var(--state-pad-y) var(--state-pad-x);
  border-radius: var(--radius);
  font-size: var(--small-size);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verdict__state--clear {
  background: var(--good);
  color: var(--ink);
}

.verdict__state--hit {
  background: var(--listed);
  color: var(--on-team);
}

.verdict__row {
  display: grid;
  gap: var(--verdict-row-gap);
  padding: var(--verdict-gap);
  background: var(--ink);
  border-radius: var(--radius);
}

.verdict__kind {
  font-size: var(--small-size);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verdict__reason {
  overflow-wrap: anywhere;
}

.verdict__meta,
.verdict__note,
.profile__text {
  color: var(--muted);
  font-size: var(--small-size);
}

.verdict__link {
  justify-self: start;
  font-size: var(--small-size);
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: var(--segment-gap);
  margin-bottom: var(--block-gap);
  overflow-x: auto;
}

.tabs__tab {
  padding: var(--tab-pad-y) var(--tab-pad-x);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  font-size: var(--nav-tab-size);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.tabs__tab--on {
  background: var(--text);
  color: var(--ink);
}

.registry {
  display: grid;
  gap: var(--verdict-gap);
}

.registry .empty {
  margin-top: 0;
}

.registry__filter {
  width: 100%;
  max-width: var(--filter-width);
  height: var(--field-small);
}

.registry__table {
  min-width: var(--registry-width);
}

.registry__table th,
.registry__table td {
  text-align: left;
  vertical-align: top;
}

.registry__table .registry__reason {
  min-width: var(--reason-min);
  max-width: var(--reason-max);
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
}

.registry__muted {
  color: var(--muted);
}

.registry__remove {
  padding: var(--remove-pad-y) var(--remove-pad-x);
  border: 0;
  border-radius: var(--radius);
  background: var(--active);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.registry__remove--armed {
  background: var(--listed);
  color: var(--on-team);
}

.justice-add {
  display: grid;
  gap: var(--verdict-gap);
  padding: var(--card-pad);
  background: var(--card);
  border-radius: var(--radius);
}

.justice-add__title {
  margin: 0;
}

.justice-add__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--add-field-min), 1fr));
  gap: var(--panel-gap);
}

.justice-add .field {
  background: var(--ink);
}

.justice-add__reason {
  grid-column: 1 / -1;
}

.justice-add__message {
  margin: var(--panel-gap) 0;
  color: var(--text);
  font-size: var(--small-size);
  font-weight: 700;
}

.band--justice .lookup {
  margin-top: 0;
}

.profile__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--profile-gap);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--block-gap);
}

.profile__who {
  display: flex;
  gap: var(--profile-gap);
  align-items: center;
  min-width: 0;
}

.profile__face {
  flex: none;
  width: var(--profile-face);
  height: var(--profile-face);
  background: var(--active);
}

.profile__text {
  margin: var(--block-gap) 0 var(--panel-gap);
}

.profile__login {
  margin-bottom: var(--panel-gap);
}

.legal {
  max-width: var(--legal-width);
  margin: 0 auto;
  padding: var(--legal-top) var(--page-gutter);
  line-height: 1.6;
}

.legal h1,
.legal h2 {
  margin: var(--legal-heading-gap) 0 var(--panel-gap);
}

.legal p {
  margin: 0 0 var(--legal-gap);
}

button.button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.nav__tab {
  white-space: nowrap;
}

.nav__tabs,
.tabs {
  scrollbar-width: none;
}

.justice-add__field {
  display: grid;
  gap: var(--verdict-row-gap);
}

.justice-add__label {
  color: var(--muted);
  font-size: var(--nav-tab-size);
  font-weight: 700;
}

.justice-add__field .field {
  width: 100%;
}

.justice-add__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--verdict-gap);
  align-items: center;
  grid-column: 1 / -1;
}

.justice-add__check {
  display: inline-flex;
  gap: var(--panel-gap);
  align-items: center;
  font-size: var(--small-size);
  font-weight: 700;
  cursor: pointer;
}

.justice-add__check input {
  width: var(--check-size);
  height: var(--check-size);
  margin: 0;
  accent-color: var(--winslow);
}

.registry__listed {
  display: block;
  margin-top: var(--verdict-row-gap);
  color: var(--muted);
  font-weight: 500;
}
