@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/plus-jakarta-sans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: local("JetBrains Mono"),
    url("./fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
:root {
  --canvas: #f3f5f8;
  --ink: #101925;
  --muted: #526274;
  --line: #dce2e8;
  --blue: #0095ff;
  --dark: #0b101b;
  --mono: "JetBrains Mono", Consolas, monospace;
  --sans: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #319bff;
  outline-offset: 3px;
}
button:hover,
a:hover {
  filter: brightness(0.93);
}
button:disabled {
  cursor: default;
}
svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.brand svg,
.hero-reticle {
  stroke: none;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
ol {
  margin: 0;
}
kbd,
.micro,
.event,
.panel-label,
.hud,
.tier,
.score-number,
.place,
.row-details,
.range-captions,
.coords,
.primary,
.result-stats,
.result-label,
.tv-table td,
.target-guide b,
.event-footer > span:last-child {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-shell,
.shell {
  width: min(100%, 1540px);
  margin: auto;
  padding-inline: clamp(18px, 2.7vw, 44px);
}
.nav-shell {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand-group,
.brand,
.nav-actions,
.nav-actions > *,
.mode-switch,
.online,
.offline,
.panel-label,
.range-captions span,
.stage-foot span,
.leader-foot,
.stage-foot,
.event-footer,
.event-footer > span,
.primary,
.return,
.result-label,
.tips {
  display: flex;
  align-items: center;
}
.brand-group {
  gap: 15px;
}
.brand {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1.65px;
  gap: 7px;
}
.brand svg {
  color: var(--blue);
  width: 32px;
  height: 32px;
}
.partner {
  font-size: 10px;
  font-weight: 700;
  color: #2b4355;
  border: 1px solid #dce4ea;
  border-radius: 20px;
  padding: 5px 9px;
  white-space: nowrap;
}
.mode-switch {
  padding: 3px;
  background: #f0f3f6;
  border: 1px solid #e3e8ed;
  border-radius: 7px;
  gap: 2px;
}
.mode-switch button {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
}
.mode-switch button[aria-pressed="true"] {
  background: #192431;
  color: white;
}
.mode-switch button span {
  opacity: 0.78;
}
.nav-actions {
  gap: 7px;
}
.nav-actions > *,
.return {
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-actions svg {
  width: 15px;
  height: 15px;
}
.nav-actions .tv-link {
  background: #edf6ff;
  color: #075da5;
}
.nav-actions #reset {
  border: 1px solid var(--line);
}
kbd {
  padding: 1px 5px;
  border: 1px solid #ced8e1;
  border-radius: 3px;
  color: #516273;
  background: #f6f8fa;
  font-size: 10px;
  line-height: 1.35;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(18px, 2.25vw, 32px) 0 20px;
}
.event,
.micro,
.panel-label,
.result-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.event {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #496176;
}
.event i,
.slashes {
  display: inline-block;
  width: 20px;
  height: 9px;
  transform: skew(-28deg);
  background: repeating-linear-gradient(
    90deg,
    #0786e7 0 4px,
    transparent 4px 7px
  );
}
.event span,
.event-footer b {
  color: #98a8b5;
}
.page-heading h1 {
  font-size: clamp(32px, 3.25vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.068em;
  margin-top: 5px;
}
.period {
  color: #0089ed;
}
.online,
.offline {
  gap: 7px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
}
.online {
  color: #45596a;
  border: 1px solid #d4dfe5;
  background: #fbfcfd;
  border-radius: 20px;
  padding: 6px 11px;
}
.dot {
  background: #0ca87a;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 4px #192e4510;
}
.stage {
  min-width: 0;
  overflow: hidden;
}
.hud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-block: 17px;
}
.hud > div {
  padding-left: clamp(12px, 2vw, 30px);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.hud > div:last-child {
  border: 0;
}
.hud > div > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 1.3px;
  font-weight: 600;
  color: #556575;
}
.hud svg {
  width: 14px;
  height: 14px;
  color: #678096;
}
.hud b {
  display: block;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.08em;
  font-weight: 600;
}
.hud small {
  font-size: 0.56em;
  letter-spacing: -0.02em;
  margin-left: 2px;
}
.hud #combo {
  color: #0077d2;
}
.hud .overdrive {
  color: #b64714;
  animation: alert 1s ease-in-out infinite alternate;
}
@keyframes alert {
  to {
    color: #dc1742;
  }
}
.arena {
  position: relative;
  isolation: isolate;
  background: var(--dark);
  color: white;
  container-type: inline-size;
}
.scenery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
#range {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  touch-action: none;
}
.arena[data-phase="running"] canvas {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25'%3E%3Cpath d='M12.5 2v6m0 9v6M2 12.5h6m9 0h6' stroke='%230b101b' stroke-width='3'/%3E%3Cpath d='M12.5 2v6m0 9v6M2 12.5h6m9 0h6' stroke='white'/%3E%3Ccircle cx='12.5' cy='12.5' r='1.2' fill='%23fff'/%3E%3C/svg%3E")
      12 12,
    crosshair;
}
.range-captions,
.coords {
  position: absolute;
  left: 23px;
  right: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}
.range-captions {
  top: 18px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #b0c8dd;
}
.range-captions span {
  gap: 7px;
}
.range-captions svg {
  width: 16px;
  height: 16px;
  color: #69baff;
}
#phase {
  font-size: 9px;
  letter-spacing: 1px;
  padding: 4px 7px;
  border: 1px solid #3a4c60;
  border-radius: 3px;
  background: #0d1928;
  color: #b9d0e5;
}
#phase i {
  width: 5px;
  height: 5px;
  background: #72adc9;
}
.arena[data-phase="running"] #phase {
  color: #b5f3de;
}
.arena[data-phase="running"] #phase i {
  background: #23d096;
}
.coords {
  bottom: 14px;
  color: #8aadc8;
  font-size: 8px;
  letter-spacing: 1px;
}
.ruler {
  width: 74px;
  height: 6px;
  border-bottom: 1px solid #68849f;
  background: repeating-linear-gradient(
    90deg,
    #68849f 0 1px,
    transparent 1px 8px
  );
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.hero-reticle {
  width: clamp(65px, 12cqw, 136px);
  height: auto;
  color: #26a9ff;
  filter: drop-shadow(0 0 12px #008ffb55);
  margin-bottom: 1px;
}
.ready h2 {
  font-weight: 800;
  font-size: clamp(44px, 7.8cqw, 90px);
  line-height: 1.06;
  letter-spacing: -0.08em;
}
.ready h2 span {
  color: #119fff;
}
.ready > p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  color: #c1cedc;
  font-size: clamp(11px, 1.45cqw, 15px);
  font-weight: 600;
}
.ready > p i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5695bc;
}
.target-guide {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: clamp(14px, 2.2cqw, 25px) 0;
}
.target-guide > span {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #101c2bf0;
  border: 1px solid #334457;
  border-radius: 5px;
  padding: 7px 10px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}
.target-guide b {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: #9fb3c7;
  margin-top: 2px;
}
.target-guide svg {
  width: 20px;
  height: 20px;
}
.core {
  color: #049fff;
}
.apex {
  color: #ffb229;
}
.decoy {
  color: #ff527b;
}
.primary {
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  border-radius: 6px;
  background: #008ff5;
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: 0.3px;
  font-weight: 700;
  box-shadow: 0 3px 15px #0088ff26;
}
.start > svg:first-child {
  width: 14px;
  height: 14px;
}
.start > svg:last-child {
  margin-left: 12px;
  width: 16px;
}
.primary:hover {
  background: #0079da;
  filter: none;
}
.stage-foot {
  padding: 13px 18px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.stage-foot span {
  gap: 7px;
}
.stage-foot svg {
  width: 15px;
  height: 15px;
  color: #476580;
}
.stage-foot b {
  font-size: 10px;
  color: #617184;
  font-weight: 600;
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.stage-foot kbd:nth-child(2) {
  margin-left: 6px;
}
.leader {
  padding: 21px 18px 0;
}
.leader-head {
  position: relative;
  margin-bottom: 16px;
}
.panel-label {
  color: #4f6579;
  gap: 7px;
  font-size: 9px;
}
.panel-label svg {
  width: 14px;
  height: 14px;
}
.leader h2 {
  font-size: 26px;
  letter-spacing: -1.5px;
  line-height: 1.4;
}
.offline {
  position: absolute;
  top: 0;
  right: 0;
  color: #177454;
  background: #eaf8f2;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 9px;
}
.leader ol {
  padding: 0;
  list-style: none;
}
.leader li {
  position: relative;
}
.champion {
  background: #0676ec;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  border-radius: 8px;
  padding: 15px 16px;
  margin-bottom: 8px;
}
.champion:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(
    ellipse at 109% 120%,
    transparent 0 10px,
    #a2e7ff42 10.5px 11.3px,
    transparent 12px 16px
  );
  mask-image: linear-gradient(100deg, transparent 36%, #000 90%);
}
.champion .champ-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e6f7ff;
  font: 600 9px var(--mono);
  letter-spacing: 1.1px;
}
.champ-tag svg {
  width: 14px;
  height: 14px;
}
.champion .player {
  margin-top: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.7px;
}
.champion .score-number {
  font-size: clamp(33px, 2.8vw, 43px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.09em;
}
.score-number small {
  font-size: 9px;
  letter-spacing: 1px;
  margin-left: 6px;
  opacity: 0.8;
}
.champion .row-details {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: #fff;
}
.tier {
  display: inline-block;
  padding: 3px 5px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  font-size: 8px;
  font-weight: 700;
  border-radius: 3px;
  color: #3f658a;
  background: #edf4fb;
}
.champion .tier {
  background: #004da4;
  color: #fff;
}
.row-details {
  font-size: 10px;
  color: var(--muted);
}
.rank-row {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 13px 1px;
  border-bottom: 1px solid #e7ecf0;
}
.rank-row:last-child {
  border: 0;
}
.place {
  font-size: 11px;
  color: #718194;
}
.player {
  overflow-wrap: anywhere;
}
.rank-row .player {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.3;
}
.rank-row .score-number {
  font-size: 18px;
  letter-spacing: -1.2px;
  font-weight: 700;
  text-align: right;
}
.rank-row .tier {
  display: block;
  width: fit-content;
  margin: 4px 0 0 auto;
}
.rank-row.latest {
  background: #eaf6ff;
  box-shadow: inset 3px 0 var(--blue);
  padding-left: 7px;
}
.champion.latest {
  outline: 2px solid #003e77;
  outline-offset: 2px;
}
.leader-foot {
  margin: 4px -18px 0;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 8px;
}
.micro {
  font-size: 8px;
  color: #697b8b;
  letter-spacing: 0.9px;
}
.leader-foot button,
.confirm button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #586a7d;
}
.leader-foot svg {
  width: 12px;
  height: 12px;
}
.confirm {
  border-top: 1px solid var(--line);
  font-size: 12px;
  padding: 12px 0;
}
.confirm p {
  margin-bottom: 8px;
}
.confirm button {
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 6px;
}
.tips {
  align-items: flex-start;
  gap: 12px;
  padding: 17px 16px;
  background: #eaf0f6;
  border: 1px solid #dce5ed;
  border-radius: 10px;
  margin-top: 12px;
}
.tip-icon {
  display: grid;
  place-items: center;
  background: #f8fbff;
  border: 1px solid #d5e0eb;
  border-radius: 7px;
  width: 30px;
  height: 30px;
  flex: none;
  color: #385d7d;
}
.tip-icon svg {
  width: 16px;
  height: 16px;
}
.tips h3 {
  font-size: 13px;
  letter-spacing: -0.3px;
}
.tips p {
  color: #516476;
  font-size: 11px;
  line-height: 1.75;
  margin-top: 3px;
}
.tips kbd {
  font-size: 9px;
}
.event-footer {
  border-top: 1px solid var(--line);
  margin-top: 21px;
  padding: 15px 0 19px;
  justify-content: space-between;
  color: #586b7e;
}
.event-footer > span {
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
}
.event-footer em {
  font-style: normal;
  font-weight: 600;
  color: #8694a4;
}
.event-footer > span:last-child {
  font-size: 9px;
  letter-spacing: 1px;
}
.slashes {
  height: 10px;
  width: 16px;
}
.result {
  z-index: 2;
  background: #081423bd;
  padding: 12px;
}
.result-card {
  background: #101d2d;
  border: 1px solid #364a61;
  border-radius: 12px;
  padding: clamp(12px, 2cqw, 25px);
  width: min(100%, 470px);
  box-shadow: 0 12px 42px #0005;
}
.result-label {
  justify-content: center;
  color: #a8bdd0;
  gap: 6px;
  font-size: 9px;
}
.result-label svg {
  width: 13px;
  height: 13px;
}
.result-card > .tier {
  margin-top: 9px;
}
.result-card h2 {
  font: 700 clamp(32px, 5cqw, 54px) / 1.1 var(--mono);
  letter-spacing: -0.07em;
  margin: 4px 0 12px;
}
.result-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.result-stats span {
  background: #1a2b3e;
  border-radius: 4px;
  padding: 7px 2px;
  font-size: 9px;
  color: #bdcfe0;
}
.result-stats b {
  display: block;
  font-size: 15px;
  color: #fff;
}
form {
  text-align: left;
  margin-top: 12px;
}
form label {
  font-size: 11px;
  color: #bbccda;
  font-weight: 600;
}
form > div {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}
input {
  min-width: 0;
  flex: 1;
  border: 1px solid #465b72;
  border-radius: 4px;
  background: #0b1421;
  padding: 9px;
  color: #fff;
  font-size: 11px;
}
input::placeholder {
  color: #adbdcb;
}
.save {
  border-radius: 4px;
  background: #e7f1fb;
  color: #0c263c;
  font-size: 11px;
  font-weight: 700;
  padding: 8px;
}
.saved {
  color: #80e7be;
  font-size: 12px;
  font-weight: 700;
}
.saved:not(:empty) {
  margin-top: 12px;
}
.result-card .primary {
  width: 100%;
  margin-top: 12px;
  font-size: 12px;
}
.primary kbd {
  background: #036fc7;
  color: white;
  border-color: #53baff;
}
.board-mode {
  background: #0b101b;
  color: #eef5ff;
  min-height: 100vh;
}
.board-mode .topbar {
  background: #101c2a;
  border-color: #293748;
}
.board-mode .partner {
  color: #c6d9e9;
  border-color: #364756;
}
.return {
  border: 1px solid #33485c;
  color: #c6e7ff;
}
.board-mode .event {
  color: #91abc1;
}
.board-mode .online {
  background: #102a26;
  border-color: #295245;
  color: #9be6cc;
}
.board-mode .online.flash {
  animation: sync-flash 0.8s ease-out;
}
@keyframes sync-flash {
  from {
    box-shadow: 0 0 18px #27da9e88;
  }
}
.tv-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-variant-numeric: tabular-nums;
}
.tv-table caption {
  text-align: left;
  padding: 10px 0;
  color: #a8bed2;
  text-transform: uppercase;
}
.tv-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #9bb1c5;
}
.tv-table :is(td, th) {
  padding: clamp(7px, 1.2vh, 17px) 10px;
  border-bottom: 1px solid #29394c;
}
.tv-table td {
  font-size: clamp(14px, 1.5vw, 32px);
}
.tv-table .tier {
  font-size: clamp(9px, 0.9vw, 16px);
  background: #233a50;
  color: #dbedff;
}
.tv-table tbody tr:first-child {
  background: #075fbf;
}
.tv-table td:last-child,
.tv-table th:last-child {
  text-align: right;
}
.tv-table td:last-child {
  font-weight: 700;
}
.tv-table .latest {
  box-shadow: inset 3px 0 #45c4ff;
}
@media (min-width: 1600px) {
  .board-mode .shell {
    max-width: 95vw;
  }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .page-heading {
    padding-block: 13px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .hud {
    padding-block: 12px;
  }
  .stage-foot {
    padding-block: 10px;
  }
}
@media (max-width: 1130px) {
  .partner {
    display: none;
  }
  .layout {
    gap: 15px;
  }
  .hud > div {
    padding-left: 14px;
  }
}
@media (max-width: 1023px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .layout aside {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  .tips {
    margin: 0;
  }
  .nav-actions > * {
    padding: 6px;
  }
  .ready h2 {
    font-size: clamp(48px, 7.8cqw, 78px);
  }
}
@media (max-width: 760px) {
  .nav-actions span,
  .nav-actions kbd {
    display: none;
  }
  .brand {
    font-size: 20px;
  }
  .brand svg {
    width: 26px;
  }
  .nav-shell {
    gap: 6px;
  }
  .mode-switch button {
    font-size: 10px;
    padding: 6px;
  }
  .nav-actions {
    gap: 3px;
  }
  .layout aside {
    grid-template-columns: 1fr;
  }
  .event-footer > span:last-child {
    font-size: 8px;
  }
  .tv-table {
    display: block;
  }
  .tv-table caption {
    display: block;
  }
  .tv-table thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .tv-table tbody {
    display: block;
  }
  .tv-table tr {
    display: grid;
    grid-template-columns: 2.6em minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px 10px;
    padding: 12px;
    border-bottom: 1px solid #27394b;
  }
  .tv-table td {
    border: 0;
    padding: 0;
    font-size: 12px;
  }
  .tv-table td:nth-child(2) {
    overflow-wrap: anywhere;
    font-weight: 700;
  }
  .tv-table td:nth-child(7) {
    grid-row: 1;
    grid-column: 4;
    font-size: 17px;
  }
  .tv-table td:nth-child(4) {
    grid-column: 2;
  }
  .tv-table td[data-label] {
    font-size: 10px;
    color: #c7dbed;
  }
  .tv-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    color: #adc3d6;
  }
  .board-mode .page-heading {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 540px) {
  .shell,
  .nav-shell {
    padding-inline: 12px;
  }
  .nav-shell {
    gap: 4px;
  }
  .brand {
    font-size: 19px;
    gap: 4px;
  }
  .brand svg {
    width: 24px;
  }
  .nav-actions {
    gap: 2px;
  }
  .nav-actions > * {
    height: 32px;
    width: 29px;
    justify-content: center;
  }
  .mode-switch {
    padding: 2px;
    gap: 1px;
  }
  .mode-switch button {
    font-size: 9px;
    line-height: 1.4;
    padding: 3px 5px;
  }
  .mode-switch button span {
    display: block;
    font: 500 8px var(--mono);
  }
  .page-heading {
    padding: 20px 0 15px;
  }
  .event {
    font-size: 8px;
  }
  .online {
    font-size: 9px;
    padding: 5px 8px;
  }
  .hud {
    padding-block: 10px;
  }
  .hud > div {
    padding-left: 8px;
  }
  .hud > div > span {
    font-size: 7px;
    letter-spacing: 0.4px;
    gap: 3px;
  }
  .hud svg {
    width: 10px;
    height: 10px;
  }
  .hud b {
    font-size: 19px;
  }
  .range-captions {
    left: 10px;
    right: 10px;
    top: 7px;
    font-size: 7px;
  }
  .range-captions svg {
    width: 12px;
    height: 12px;
  }
  #phase {
    font-size: 7px;
    padding: 2px 4px;
  }
  .coords {
    left: 10px;
    right: 10px;
    bottom: 5px;
    font-size: 6px;
  }
  .ruler {
    height: 3px;
    width: 36px;
  }
  .ready .hero-reticle {
    width: 46px;
  }
  .ready h2 {
    font-size: 35px;
  }
  .ready > p {
    font-size: 9px;
    margin-top: 3px;
  }
  .target-guide {
    margin: 8px 0;
    gap: 4px;
  }
  .target-guide > span {
    padding: 4px 5px;
    font-size: 8px;
    gap: 4px;
  }
  .target-guide b {
    font-size: 7px;
    margin-top: 0;
  }
  .target-guide svg {
    width: 13px;
    height: 13px;
  }
  .start {
    min-height: 32px;
    font-size: 10px;
    padding: 7px 12px;
  }
  .stage-foot {
    font-size: 9px;
    padding: 10px;
    gap: 5px;
  }
  .stage-foot span {
    gap: 4px;
  }
  .stage-foot b {
    font-size: 8px;
    padding-left: 4px;
  }
  .stage-foot kbd {
    font-size: 8px;
  }
  .leader h2 {
    font-size: 25px;
  }
  .event-footer > span {
    font-size: 10px;
  }
  .event-footer > span:last-child {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .arena[data-phase="finished"] #range {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .arena[data-phase="finished"] .result {
    position: relative;
  }
  .result-card {
    padding: 14px;
  }
  .board-mode .page-heading {
    padding-top: 20px;
  }
  .return {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}
