@font-face {
  font-family: Barlow;
  src: url('/fonts/barlow/files/barlow-latin-400-normal.woff2');
}
@font-face {
  font-family: Barlow;
  src: url('/fonts/barlow/files/barlow-latin-600-normal.woff2');
  font-weight: 600;
}
@font-face {
  font-family: Barlow;
  src: url('/fonts/barlow/files/barlow-latin-700-normal.woff2');
  font-weight: 700;
}
@font-face {
  font-family: Condensed;
  src: url('/fonts/barlow-condensed/files/barlow-condensed-latin-700-normal.woff2');
  font-weight: 700;
}
@font-face {
  font-family: Condensed;
  src: url('/fonts/barlow-condensed/files/barlow-condensed-latin-900-normal.woff2');
  font-weight: 900;
}
@font-face {
  font-family: Mono;
  src: url('/fonts/ibm-plex-mono/files/ibm-plex-mono-latin-500-normal.woff2');
  font-weight: 500;
}
@font-face {
  font-family: Explora;
  src: url('/fonts/explora/files/explora-latin-400-normal.woff2');
}
:root {
  --gold: #ecb65e;
  --cream: #f4efe2;
  --muted: #bebbb0;
  --ink: #191b17;
  --line: rgba(233, 227, 204, 0.21);
  --pad: clamp(26px, 5vw, 92px);
  color-scheme: dark;
  font:
    16px Barlow,
    Arial,
    sans-serif;
  color: var(--cream);
  background: var(--ink);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
button,
a,
input,
select {
  font: inherit;
}
button,
a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
button {
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
button:active {
  transform: translateY(1px);
}
a {
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.ico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
small,
.eyebrow,
.server-status,
.hud-brand,
.scene-tag,
.panel-overline,
.cine-title small,
.radar-wrap > div {
  font-family: Mono, monospace;
  font-weight: 500;
}
#game,
#menu,
#hud,
#cinema-hud,
#touch,
#wasted {
  position: fixed;
  inset: 0;
}
#game {
  background: #abab95;
}
#game canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
}
#menu {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: #363226;
}
.cover,
.cover-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cover {
  background: url('/assets/santa-anita-cover.webp') 62% 52% / cover no-repeat;
}
.cover-shade {
  background: linear-gradient(
      90deg,
      rgba(10, 15, 13, 0.73) 0%,
      rgba(13, 15, 12, 0.49) 28%,
      rgba(11, 13, 11, 0.08) 55%,
      transparent 73%
    ),
    linear-gradient(
      0deg,
      rgba(12, 14, 11, 0.84) 0%,
      rgba(16, 17, 12, 0.19) 25%,
      transparent 55%,
      rgba(20, 20, 16, 0.12) 82%,
      rgba(12, 14, 12, 0.5) 100%
    );
}
.topbar {
  height: 85px;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  gap: clamp(36px, 6vw, 108px);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 20, 16, 0.48);
  backdrop-filter: blur(6px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand .brand-mark {
  width: 39px;
  height: 38px;
  color: var(--gold);
  stroke: none;
}
.brand span {
  font:
    900 29px/0.9 Condensed,
    sans-serif;
  letter-spacing: 0.15px;
}
.topbar nav {
  display: flex;
  gap: 31px;
  height: 100%;
}
.nav-item {
  position: relative;
  color: #d3d2c9;
  font-size: 15px;
  font-weight: 600;
  padding: 0 2px;
}
.nav-item.selected,
.nav-item:hover {
  color: var(--cream);
}
.nav-item.selected:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--gold);
}
.header-end {
  margin-left: auto;
  display: flex;
  gap: 19px;
  align-items: center;
}
.server-status {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.server-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a09077;
}
.server-status.connected i {
  background: #a8cb86;
  box-shadow: 0 0 10px #9fc98055;
}
.header-rule {
  height: 18px;
  width: 1px;
  background: var(--line);
}
.icon-button,
.small-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 3px;
}
.icon-button:hover,
.small-icon:hover {
  background: #eeeece17;
  color: var(--gold);
}
.icon-button .ico {
  width: 20px;
  height: 20px;
}
.hero {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 1vh var(--pad) 2.7vh;
}
.hero-content {
  max-width: 610px;
}
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 3.7px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(16px, 2.8vh, 32px);
}
.eyebrow i {
  width: 35px;
  height: 2px;
  background: var(--gold);
}
.title-wrap {
  position: relative;
  width: max-content;
  isolation: isolate;
}
.title-wrap h1 {
  margin: 0;
  font:
    900 clamp(95px, min(12.15vw, 16.8vh), 190px) / 0.785 Condensed,
    Impact,
    sans-serif;
  letter-spacing: -0.029em;
  background: var(--cream) url('/assets/ink.png') repeat;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  padding: 0 5px 0.055em 0;
}
.script-title {
  position: absolute;
  bottom: -0.29em;
  right: -0.5em;
  color: var(--gold);
  font:
    400 clamp(64px, min(7.9vw, 10.8vh), 124px) / 1 Explora,
    cursive;
  transform: rotate(-11deg);
  text-shadow: 0 2px 5px #1717115c;
  pointer-events: none;
}
.hero-content p {
  margin: clamp(23px, 3.9vh, 42px) 0 clamp(22px, 3.4vh, 38px);
  font-size: clamp(16px, 1.32vw, 21px);
  line-height: 1.5;
  color: #e2e0d6;
}
.hero-actions {
  display: flex;
}
.primary,
.flat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 51px;
  padding: 0 25px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
}
.primary {
  background: var(--gold);
  color: #221e14;
  border: 1px solid #efbd70;
}
.primary:hover {
  background: #f6c87e;
}
.primary .ico {
  width: 15px;
  height: 15px;
}
.flat {
  background: #ffffff0b;
  border: 1px solid var(--line);
}
.scene-tag {
  position: absolute;
  right: var(--pad);
  bottom: 115px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e7dfc8b5;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.crosshair {
  display: block;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(#e7dfc899, #e7dfc899) center/1px 100% no-repeat,
    linear-gradient(#e7dfc899, #e7dfc899) center/100% 1px no-repeat;
}
.world-strip {
  position: relative;
  min-height: 88px;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  background: rgba(19, 23, 19, 0.93);
  border-top: 1px solid var(--line);
  gap: 0;
}
.foot-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(20px, 3.3vw, 72px);
  border-right: 1px solid var(--line);
  text-align: left;
  min-height: 37px;
}
.foot-item:first-child {
  padding-left: 0;
}
.foot-item > .ico {
  color: var(--gold);
  width: 24px;
  height: 24px;
}
.foot-item small {
  display: block;
  letter-spacing: 1.65px;
  font-size: 9px;
  color: #b4b4a6;
  white-space: nowrap;
  margin-bottom: 4px;
}
.foot-item strong {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.foot-item strong b {
  font-weight: 400;
  margin: 0 3px;
  color: #b1a68c;
}
.foot-item.invite {
  border: 0;
}
.invite:hover strong {
  color: var(--gold);
}
.foot-item .tiny {
  width: 13px;
  height: 13px;
  color: #a8aa9c;
}
.strip-right {
  display: flex;
  gap: 5px;
  margin-left: auto;
}
.small-icon {
  color: #c7c9bb;
}
.small-icon .ico {
  width: 18px;
  height: 18px;
}
#panel {
  position: fixed;
  z-index: 8;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0a0d0bc9;
  backdrop-filter: blur(7px);
  padding: 20px;
}
.panel-card {
  width: min(600px, 100%);
  max-height: min(85vh, 840px);
  overflow: auto;
  background: #20241e;
  color: var(--cream);
  border: 1px solid #666955;
  box-shadow: 0 24px 80px #0005;
  border-radius: 5px;
}
.panel-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 28px 17px;
  border-bottom: 1px solid var(--line);
}
.panel-overline {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--gold);
}
.panel-card h2,
.cine-title h2,
.hud-location h2 {
  font:
    700 42px/0.98 Condensed,
    sans-serif;
  margin: 5px 0;
}
.panel-card > header .icon-button {
  border: 1px solid var(--line);
}
#panel-body {
  padding: 18px 28px 25px;
}
.panel-card p {
  line-height: 1.5;
  color: #d8d7c9;
  margin: 0 0 15px;
}
.key-row,
.setting-row,
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #ffffff15;
}
.key-row:last-child,
.setting-row:last-child {
  border-bottom: 0;
}
.key-group {
  display: flex;
  gap: 4px;
}
kbd {
  font:
    500 12px Mono,
    monospace;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  min-height: 24px;
  padding: 1px 6px;
  background: #373d32;
  border: 1px solid #727763;
  border-bottom-width: 2px;
  border-radius: 3px;
  color: #edeada;
}
.setting-row select,
.setting-row input {
  accent-color: var(--gold);
}
select {
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 2px;
}
.panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.panel-actions button {
  min-height: 42px;
  padding: 0 15px;
}
.link-box {
  display: block;
  width: 100%;
  margin-top: 18px;
  background: #171b17;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
  font:
    13px Mono,
    monospace;
}
.map-panel .panel-card {
  width: min(1100px, 100%);
}
.identity-panel .panel-card {
  width: min(100%, 420px);
}
#identity-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
#player-name {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  color: var(--cream);
  background: #171b16;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
}
#player-name[aria-invalid='true'] {
  border-color: #efaa8a;
}
#identity-form #name-help,
#identity-form #name-error {
  margin: 8px 0 0;
  font-size: 14px;
}
#identity-form #name-error {
  color: #efaa8a;
}
#name-error:empty {
  display: none;
}
#enter-world {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
}
#atlas {
  width: 100%;
  height: clamp(220px, 61vh, 650px);
  display: block;
  cursor: crosshair;
  border: 1px solid #656a52;
  border-radius: 2px;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 13px 0;
  color: #dedccc;
  font-size: 14px;
}
.legend-dot {
  display: inline-block;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  background: var(--gold);
}
.legend-dot.white {
  background: #ebefdf;
}
.map-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.map-tools button {
  padding: 6px 0;
  color: var(--gold);
  text-decoration: underline;
}
.map-tools small {
  color: #bdc0ad;
  font: 13px Barlow;
}
.map-tools p {
  font-size: 14px;
  margin: 0;
}
.menu-stack {
  display: grid;
  gap: 9px;
}
.menu-stack button {
  justify-content: flex-start;
}
.menu-stack .ico {
  width: 18px;
}
#loading {
  position: fixed;
  z-index: 9;
  inset: 0;
  background: rgba(19, 22, 17, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.loader-mark {
  color: var(--gold);
}
.loader-mark .ico {
  width: 61px;
  height: 61px;
  stroke: none;
}
#loading h2 {
  font: 700 38px Condensed;
  margin: 12px 0 4px;
}
#loading span {
  color: var(--muted);
}
.loading-track {
  height: 2px;
  background: #555747;
  width: 155px;
  margin-top: 23px;
  overflow: hidden;
}
.loading-track i {
  height: 100%;
  width: 45%;
  display: block;
  background: var(--gold);
  animation: slide 1.3s ease infinite;
}
@keyframes slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(230%);
  }
}
#hud,
#cinema-hud,
#touch {
  pointer-events: none;
}
#hud button,
#cinema-hud button,
#touch button {
  pointer-events: auto;
}
#hud {
  text-shadow: 0 1px 7px #0009;
}
.hud-brand {
  position: absolute;
  top: 25px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1.5px;
  font: 900 21px Condensed;
}
.hud-brand .ico {
  color: var(--gold);
  width: 26px;
  height: 26px;
  stroke: none;
}
.hud-vitals {
  position: absolute;
  right: 28px;
  top: 22px;
  display: flex;
  gap: 7px;
  align-items: center;
  background: #151b16b3;
  padding: 8px 12px;
  border-radius: 3px;
  font: 700 16px Condensed;
}
.hud-vitals .ico {
  color: #dca278;
  width: 15px;
  height: 15px;
}
.health-bar {
  width: 60px;
  height: 4px;
  background: #88876d;
}
.health-bar > i {
  display: block;
  background: #bfcf91;
  height: 100%;
  width: 100%;
}
#stars {
  color: var(--gold);
  letter-spacing: 1px;
}
.hud-location {
  position: absolute;
  bottom: 39px;
  right: 30px;
  text-align: right;
}
.hud-location small,
.cine-title small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #f0ce8a;
}
.hud-location h2 {
  font-size: 35px;
}
.radar-wrap {
  position: absolute;
  bottom: 25px;
  left: 30px;
  width: 164px;
}
.radar-wrap button {
  display: block;
  width: 100%;
  height: 124px;
  position: relative;
  padding: 0;
  border: 2px solid #d2c9aaf0;
  box-shadow: 0 1px 10px #0006;
  overflow: hidden;
  border-radius: 3px;
}
.radar-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.radar-wrap button span {
  position: absolute;
  bottom: 3px;
  right: 3px;
  font: 10px Mono;
  background: #101510b3;
  padding: 2px 4px;
}
.radar-wrap > div {
  display: flex;
  justify-content: space-between;
  background: #151a15c7;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 6px;
}
.hud-help {
  position: absolute;
  bottom: 12px;
  right: 28px;
  display: flex;
  gap: 12px;
}
.hud-help button,
.cine-skip {
  color: var(--cream);
  font-size: 13px;
  background: #12170fad;
  border-radius: 2px;
  padding: 3px 6px;
}
.hud-help kbd,
.cine-skip kbd {
  font-size: 10px;
  min-height: 16px;
  min-width: 16px;
  padding: 0 3px;
  margin-right: 4px;
}
.hud-help button:hover {
  background: #252a20;
}
#hud-prompt {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  background: #151a15db;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
#hud-prompt:empty {
  display: none;
}
#ignition {
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  padding: .8rem 1.1rem .72rem;
  color: #f5e5c5;
  background: #172420ed;
  border: 1px solid #c7b38688;
  border-radius: 7px;
  text-align: center;
  box-shadow: 0 9px 26px #0005;
}
#ignition-keys { display: flex; gap: .35rem; margin: .56rem 0; }
#ignition-keys button {
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 1px solid #9e9a80;
  border-radius: 4px;
  color: #f5e5c5;
  background: #2e3d35;
  font-size: 1.35rem;
  pointer-events: auto;
}
#ignition-keys button[aria-current="step"] { background: #e6b768; color: #202b24; }
#ignition-keys button.done { opacity: .45; }
#ignition-time { width: 100%; height: .32rem; accent-color: #e6b768; }
#speedo {
  position: absolute;
  right: 30px;
  bottom: 125px;
  font: 12px Mono;
  text-align: right;
}
#speedo strong {
  font: 700 52px Condensed;
}
#speedo small {
  display: block;
  letter-spacing: 1px;
}
.letter {
  background: #10120f;
  position: absolute;
  left: 0;
  right: 0;
  height: 9%;
}
.letter.top {
  top: 0;
}
.letter.bottom {
  bottom: 0;
}
.cine-title {
  position: absolute;
  left: 7%;
  bottom: 17%;
  text-shadow: 0 3px 10px #0007;
}
.cine-title h2 {
  font-size: clamp(50px, 7vw, 110px);
}
.cine-skip {
  position: absolute;
  bottom: 3%;
  right: 5%;
}
#wasted {
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  backdrop-filter: grayscale(1);
  background: #10080173;
}
#wasted strong {
  font: 900 clamp(70px, 14vw, 220px) Condensed;
  color: #b7443b;
  text-shadow: 0 5px 9px #0007;
}
#wasted span {
  font-size: 20px;
}
#toast {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: 24%;
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: 0.25s;
  background: #161b16f0;
  border: 1px solid #bab1886b;
  color: var(--cream);
  border-radius: 3px;
  padding: 10px 18px;
  text-align: center;
  pointer-events: none;
  font-size: 15px;
  max-width: min(90vw, 510px);
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.dpad,
.touch-actions {
  display: flex;
  gap: 5px;
  position: absolute;
  bottom: 12px;
}
.dpad {
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 37px);
}
.dpad button:first-child {
  grid-column: 2;
}
.dpad button:nth-child(2) {
  grid-column: 1;
}
.touch-actions {
  right: 12px;
}
.dpad button,
.touch-actions button {
  background: #20291bc7;
  border: 1px solid var(--line);
  min-height: 36px;
  border-radius: 4px;
  touch-action: none;
}
@media (min-width: 1550px) {
  .topbar {
    height: 96px;
  }
  .world-strip {
    min-height: 100px;
  }
  .scene-tag {
    bottom: 133px;
  }
}
@media (max-height: 660px) and (min-width: 700px) {
  .topbar {
    height: 60px;
  }
  .nav-item.selected:after {
    bottom: 8px;
  }
  .world-strip {
    min-height: 64px;
  }
  .hero-content p {
    margin: 15px 0;
  }
  .eyebrow {
    margin-bottom: 14px;
  }
  .primary {
    min-height: 44px;
  }
  .scene-tag {
    bottom: 83px;
  }
}
@media (max-width: 850px) {
  .topbar {
    gap: 28px;
  }
  .topbar nav {
    gap: 18px;
  }
  .foot-item {
    padding: 0 21px;
  }
  .foot-item strong {
    font-size: 15px;
  }
  .header-end {
    gap: 8px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .foot-item .tiny {
    display: none;
  }
}
@media (max-width: 650px) {
  :root {
    --pad: 22px;
  }
  .topbar {
    height: 64px;
    gap: 18px;
  }
  .brand {
    gap: 7px;
  }
  .brand .brand-mark {
    width: 26px;
    height: 30px;
  }
  .brand span {
    font-size: 22px;
  }
  .topbar nav {
    gap: 15px;
  }
  .nav-item {
    font-size: 13px;
  }
  .nav-item.selected:after {
    bottom: 11px;
  }
  .header-rule {
    display: none;
  }
  .header-end {
    gap: 3px;
  }
  .header-end .icon-button {
    width: 27px;
  }
  .server-status {
    padding: 3px;
  }
  .server-status span {
    display: none;
  }
  .cover {
    background-position: 65% center;
  }
  .cover-shade {
    background: linear-gradient(90deg, #0e140fc9, #0e140f55 52%, #0e140f08),
      linear-gradient(0deg, #10140fdb, transparent 65%);
  }
  .hero {
    align-items: flex-end;
    padding-bottom: clamp(40px, 9vh, 87px);
  }
  .hero-content p {
    line-height: 1.4;
    font-size: 15px;
    margin: 26px 0 22px;
  }
  .title-wrap h1 {
    font-size: clamp(96px, min(23vw, 17vh), 132px);
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 2.6px;
  }
  .script-title {
    font-size: 68px;
  }
  .primary {
    min-height: 46px;
    font-size: 14px;
    padding: 0 16px;
    gap: 8px;
  }
  .world-strip {
    min-height: 72px;
  }
  .foot-item {
    gap: 8px;
    padding: 0 10px;
  }
  .foot-item small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .foot-item strong {
    font-size: 13px;
  }
  .foot-item > .ico {
    width: 18px;
  }
  .foot-item.climate {
    display: none;
  }
  .strip-right {
    gap: 0;
  }
  .small-icon {
    width: 28px;
  }
  .scene-tag {
    display: none;
  }
  .panel-card > header {
    padding: 15px 17px;
  }
  #panel-body {
    padding: 14px 17px 18px;
  }
  .panel-card h2 {
    font-size: 34px;
  }
  #panel {
    padding: 10px;
  }
  .radar-wrap {
    bottom: 95px;
    left: 12px;
    width: 116px;
  }
  .radar-wrap button {
    height: 87px;
  }
  .hud-location {
    bottom: 97px;
    right: 12px;
  }
  .hud-location h2 {
    font-size: 27px;
  }
  .hud-help {
    bottom: 65px;
    right: 12px;
  }
  #hud-prompt {
    bottom: 31%;
  }
  .hud-brand {
    left: 12px;
    top: 14px;
  }
  .hud-vitals {
    right: 12px;
    top: 13px;
  }
}
@media (max-width: 370px) {
  .topbar {
    gap: 9px;
  }
  .topbar nav {
    gap: 9px;
  }
  .brand span {
    font-size: 20px;
  }
  .foot-item.invite .ico {
    display: none;
  }
}
@media (max-width: 520px) {
  .topbar {
    padding-inline: 16px;
    gap: 13px;
  }
  .topbar nav {
    gap: 10px;
  }
  .brand {
    gap: 5px;
  }
  .brand span {
    font-size: 20px;
  }
  .brand .brand-mark {
    width: 24px;
  }
  .header-end {
    gap: 0;
  }
  .server-status {
    padding: 2px;
  }
  .header-end .icon-button {
    width: 24px;
  }
  .nav-item {
    padding-inline: 0;
  }
  .header-end .ico {
    width: 17px;
  }
}
@media (max-width: 355px) {
  .topbar {
    padding-inline: 10px;
    gap: 8px;
  }
  .topbar nav {
    gap: 7px;
  }
  .brand span {
    font-size: 18px;
  }
  .nav-item {
    font-size: 12px;
  }
  .header-end .server-status {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
#drive-detail {
  font-size: 11px;
  color: #ffdb99;
  margin-top: 4px;
}
.map-tools button.night-tour {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border: 1px solid #a79b785e;
  background: #35392cff;
  border-radius: 3px;
  padding: 7px 10px;
  margin-left: auto;
  color: #f1d8aa;
}
.night-tour .ico {
  width: 16px;
  height: 16px;
}
.atlas-wrap {
  position: relative;
}
#atlas {
  touch-action: none;
}
.atlas-controls {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  gap: 4px;
}
.atlas-controls button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #1c271ff0;
  border: 1px solid #8f9777;
  border-radius: 2px;
  color: #f0e7ce;
  font-size: 21px;
}
.atlas-controls .ico {
  width: 18px;
  height: 18px;
}
.atlas-controls button:hover {
  background: #46553c;
}
.atlas-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 11px 0;
}
.atlas-bar .map-legend {
  margin: 0 auto 0 0;
}
.atlas-bar select {
  font-size: 13px;
  padding: 5px 8px;
  max-width: 65%;
}
#whole-map {
  font-size: 13px;
  color: var(--gold);
  padding: 6px 0;
}
.atlas-bar + .map-tools {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
