@font-face {
  font-family: Barlow;
  src: url('./assets/fonts/barlow-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/fonts/barlow-condensed-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/fonts/barlow-condensed-black-italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('./assets/fonts/plex-mono.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #14201c;
  --deep: #101a17;
  --cream: #f6edcf;
  --muted: #aab4a0;
  --line: #3b4840;
  --orange: #ff7738;
  --amber: #ffcc67;
  --mint: #87e5bf;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: 'Plex Mono', monospace;
  --body: Barlow, Arial, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  font: 16px var(--body);
  color: var(--cream);
  background: var(--deep);
  user-select: none;
  -webkit-user-select: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
button.pad-focus {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
  flex: none;
}
button span[data-icon],
span[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button,
input {
  font-synthesis: none;
}
[hidden] {
  display: none !important;
}
#app {
  height: 100%;
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--deep);
}
.topbar {
  height: clamp(48px, 6.8vh, 76px);
  padding: 0 clamp(20px, 3vw, 58px);
  background: #14201c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #4d5b4b;
  z-index: 4;
  flex: none;
  gap: 18px;
}
.brand,
.nav-actions,
.navlog,
.launch-buttons,
.control,
.keyset,
.controls-strip,
.best-block,
.rig-chip,
.hud,
.hud-objective,
.hull-block,
.play-footer > div,
.dash-status,
.abilities,
.panel-actions,
.tiny-line,
.settings-row,
.card-top,
.log-row,
.result-metrics {
  display: flex;
  align-items: center;
}
.brand {
  gap: 11px;
}
.brand-mark {
  color: var(--orange);
}
.brand-mark svg {
  width: 29px;
  height: 29px;
}
.brand b {
  font: 900 italic clamp(23px, 2.3vw, 34px)/1 var(--cond);
  letter-spacing: -0.035em;
}
.brand-slash {
  height: 18px;
  background: #5c6c5b;
  width: 1px;
  transform: rotate(16deg);
  margin: 0 3px 0 7px;
}
.brand-type,
.navlog,
.micro,
.eyebrow,
.control,
.best-block small,
.rig-chip small,
.play-footer,
.card-tag,
.card-level,
.stat small,
.table-head,
.log-row,
.mode-date,
.label,
.settings-row > span,
.shortcuts,
.equipment-info,
.result-stamp,
.daily-mod small {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.brand-type {
  font-size: 11px;
  color: #a6b29f;
  letter-spacing: 0.17em;
}
.nav-actions {
  gap: 9px;
}
.navlog {
  font-size: 11px;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  margin-right: 6px;
  color: #e7e7d3;
}
.navlog svg {
  width: 16px;
  height: 16px;
}
.navlog:hover {
  color: var(--amber);
}
.icon-button {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #4a584d;
  border-radius: 4px;
  color: #d9dfcd;
}
.icon-button:hover {
  background: #314034;
  border-color: #8d9a85;
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
#stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #18251f;
}
#field {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.playing #field {
  display: block;
  cursor: none;
}
#home {
  position: absolute;
  inset: 0;
  background: #14312b url('./assets/cover.webp') center 22% / cover no-repeat;
  overflow: hidden;
}
.menu-shade,
.air {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.menu-shade {
  background:
    linear-gradient(90deg, rgba(5, 23, 21, 0.35), rgba(4, 25, 21, 0.14) 29%, transparent 56%),
    linear-gradient(0deg, rgba(8, 20, 15, 0.26), transparent 28%);
}
.title-copy {
  position: absolute;
  left: 6.2%;
  top: 49.2%;
  transform: translateY(-50%);
  max-width: 47%;
  z-index: 1;
}
.eyebrow {
  font-size: clamp(10px, 0.87vw, 14px);
  line-height: 1.4;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--amber);
}
.eyebrow i {
  display: inline-block;
  background: var(--orange);
  width: 29px;
  height: 3px;
}
.hero-kicker {
  color: #ffb66c;
}
h1 {
  font: 900 italic clamp(84px, min(15.4vw, 22vh), 246px)/0.744 var(--cond);
  letter-spacing: -0.042em;
  margin: clamp(19px, 2.8vh, 35px) 0 clamp(20px, 3.2vh, 42px) -0.047em;
  color: #fff0cb;
  text-shadow: 2px 3px 0 rgba(23, 39, 28, 0.22);
  transform-origin: left center;
  transform: scaleX(1.11);
}
h1 > span {
  display: block;
}
h1 > span + span {
  margin-top: 0.025em;
}
.iron {
  display: flex;
  align-items: center;
}
.speed-stripes {
  display: inline-block;
  vertical-align: 0.07em;
  width: 0.48em;
  height: 0.42em;
  margin-left: 0.075em;
  transform: skewX(-16deg);
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0,
    var(--orange) 21%,
    transparent 21%,
    transparent 35%
  );
  opacity: 0.96;
}
.title-copy p {
  font-size: clamp(14px, 1.32vw, 22px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin: 0;
  color: #fcf1d5;
  text-shadow:
    0 1px 5px #18291d,
    0 2px 14px #16251e;
}
.launch-buttons {
  gap: 12px;
  margin-top: clamp(17px, 3.2vh, 39px);
}
.primary,
.secondary,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 3px;
  font: 700 clamp(17px, 1.5vw, 24px)/1 var(--cond);
  letter-spacing: 0.062em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background 0.13s ease,
    transform 0.13s ease,
    border-color 0.13s ease;
}
.primary {
  background: var(--orange);
  color: #17231b;
  box-shadow:
    inset 0 1px 0 #ffa776,
    0 3px 0 #864221;
}
.primary:hover {
  background: #ff9155;
  transform: translateY(-1px);
}
.primary:active {
  transform: translateY(2px);
  box-shadow: none;
}
.primary svg {
  width: 22px;
  height: 22px;
}
.secondary,
.small-btn {
  background: #14221eec;
  border: 1px solid #9a9e83;
  color: #f6ecd1;
}
.secondary:hover,
.small-btn:hover {
  background: #334335;
  border-color: #e2dcb8;
}
.secondary svg {
  width: 17px;
  height: 17px;
}
.launch-buttons > button {
  min-height: clamp(44px, 6.1vh, 66px);
}
.launch-buttons .primary {
  min-width: clamp(153px, 14.6vw, 250px);
  justify-content: space-between;
}
.launch-buttons .secondary {
  padding: 0 clamp(15px, 1.7vw, 32px);
  gap: 9px;
}
.rig-chip {
  position: absolute;
  right: clamp(19px, 2.8vw, 55px);
  bottom: clamp(16px, 2.7vh, 38px);
  border: 1px solid #9a9c656e;
  border-radius: 3px;
  background: #15201be8;
  min-height: 52px;
  padding: 8px 13px;
  gap: 13px;
  text-align: left;
  box-shadow: 0 2px 12px #111b152d;
}
.rig-chip:hover {
  background: #283a2af5;
  border-color: var(--amber);
}
.rig-chip .rig-symbol {
  color: #ddbd79;
  border-right: 1px solid #59614b;
  padding-right: 12px;
}
.rig-symbol svg {
  width: 30px;
  height: 30px;
}
.rig-chip small,
.best-block small {
  display: block;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: #b7bea7;
}
.rig-chip b {
  display: block;
  font: 700 18px/1.18 var(--cond);
  letter-spacing: 0.01em;
}
.rig-chip > span:last-child {
  color: #c5c8b0;
}
.rig-chip > span:last-child svg {
  width: 14px;
}
.menu-footer {
  height: clamp(57px, 8.5vh, 92px);
  padding: 0 clamp(20px, 3vw, 58px);
  flex: none;
  background: #14201c;
  border-top: 1px solid #54604e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.controls-strip {
  gap: clamp(12px, 2.1vw, 40px);
}
.control {
  gap: 8px;
  font-size: clamp(9px, 0.73vw, 13px);
  letter-spacing: 0.075em;
  color: #c4ccba;
  white-space: nowrap;
}
.control svg {
  height: 22px;
  width: 22px;
  color: #e3e6d6;
}
.keyset {
  gap: 3px;
}
kbd {
  height: 21px;
  min-width: 21px;
  padding: 0 4px;
  border: 1px solid #77816e;
  border-bottom-width: 2px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 500 10px/1 var(--mono);
  color: #e4e7d6;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  background: #263229;
}
.best-block {
  gap: 12px;
  border-left: 1px solid #495447;
  padding-left: clamp(14px, 2vw, 40px);
  text-align: left;
}
.best-block > span:first-child {
  color: #dbbd78;
}
.best-block svg {
  width: 22px;
}
.best-block b {
  font: 700 23px/1 var(--cond);
  letter-spacing: 0.085em;
  color: #f5eaca;
}
.air i {
  display: block;
  position: absolute;
  width: 5px;
  height: 2px;
  background: #ffcb80;
  border-radius: 90% 0;
  opacity: 0;
  animation: drift 11s infinite linear;
  pointer-events: none;
}
@keyframes drift {
  0% {
    opacity: 0;
    transform: translate(0, 3vh) rotate(0);
  }
  20%,
  75% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: translate(15vw, -12vh) rotate(200deg);
  }
}
.play-only {
  display: none !important;
}
.playing .menu-only,
.playing #home {
  display: none !important;
}
.playing .play-only {
  display: flex !important;
}
.playing .topbar {
  height: clamp(48px, 6.6vh, 71px);
  gap: clamp(16px, 2.4vw, 42px);
}
.hud {
  flex: 1;
  min-width: 0;
  justify-content: space-between;
  gap: 15px;
}
.hull-block,
.hud-objective {
  gap: 10px;
}
.hud-symbol {
  color: var(--mint);
}
.hud-symbol svg,
.pollen-icon svg {
  width: 23px;
  height: 23px;
}
.micro {
  display: block;
  font-size: clamp(8px, 0.69vw, 11px);
  line-height: 1.3;
  letter-spacing: 0.13em;
  color: #b5bfac;
}
.hull-block .micro,
.charge-box .micro {
  margin-bottom: 5px;
}
#hull {
  display: flex;
  gap: 3px;
}
#hull i {
  display: block;
  background: #83d8ae;
  transform: skewX(-15deg);
  width: clamp(10px, 1.23vw, 22px);
  height: 9px;
}
#hull i.empty {
  background: #3b4940;
}
.pollen-icon {
  color: var(--amber);
}
.hud-objective strong,
.hud-score strong {
  font: 700 clamp(20px, 1.9vw, 30px)/0.98 var(--cond);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.hud-objective strong {
  color: #eedbb2;
  font-size: clamp(17px, 1.6vw, 24px);
}
.charge-track {
  width: clamp(76px, 11vw, 170px);
  height: 5px;
  background: #39463b;
}
.charge-track i,
.dash-status i em {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: var(--amber);
  transition: transform 0.13s;
}
.hud-score {
  text-align: right;
  min-width: 74px;
}
.hud-score .micro {
  margin-bottom: 3px;
}
.playing .nav-actions {
  gap: 6px;
}
.playing .icon-button {
  align-items: center;
  justify-content: center;
}
.play-footer {
  height: clamp(34px, 4.9vh, 53px);
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 clamp(16px, 2.4vw, 45px);
  border-top: 1px solid #59634f;
  font-size: clamp(9px, 0.75vw, 13px);
  flex: none;
}
.play-footer > div {
  gap: 12px;
}
.sector-number {
  color: var(--amber);
  letter-spacing: 0.04em;
}
.play-footer b {
  font: 700 clamp(15px, 1.2vw, 21px) var(--cond);
  letter-spacing: 0.065em;
}
.play-footer .abilities {
  gap: clamp(16px, 2vw, 35px);
}
#autoState {
  color: #99aa96;
  font-size: 0.93em;
}
.dash-status {
  color: var(--mint);
  gap: 6px;
}
.dash-status svg {
  width: 16px;
  height: 16px;
}
.dash-status i {
  width: 42px;
  height: 4px;
  background: #3c4b41;
}
.dash-status i em {
  background: var(--mint);
  transition: none;
}
.chain-block {
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.095em;
}
.chain-block:empty {
  display: none;
}
.announce {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translate(-50%, -8px);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  color: var(--cream);
  text-shadow:
    0 2px 4px #050d0ad4,
    0 2px 20px #0e1b12;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.24s,
    transform 0.24s;
  z-index: 1;
  white-space: nowrap;
}
.announce.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.announce > span {
  display: block;
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  background: #16241ee8;
  border: 1px solid #a8aa755f;
  padding: 4px 9px;
}
.announce b {
  font: 900 italic clamp(38px, 4.6vw, 74px)/1 var(--cond);
  text-transform: uppercase;
  letter-spacing: -0.025em;
  -webkit-text-stroke: 0.5px #273321;
}
.announce small {
  font-size: clamp(13px, 1.05vw, 18px);
  background: #13241dd9;
  padding: 2px 8px;
}
.hint {
  position: absolute;
  bottom: 4.4%;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 12px;
  font: 500 clamp(11px, 0.86vw, 15px)/1.4 var(--body);
  color: #f1ead1;
  background: #11231eea;
  border: 1px solid #aab68a72;
  border-radius: 3px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
}
.hint.visible {
  opacity: 1;
}
.hint kbd {
  height: 16px;
  min-width: 16px;
  font-size: 9px;
  margin: 0 2px;
}
#overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 4%;
  background: rgba(7, 17, 14, 0.73);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  text-align: left;
  background: #1a2821;
  color: var(--cream);
  border: 1px solid #7c886e;
  box-shadow: 0 15px 65px #07100b78;
  border-radius: 5px;
  padding: clamp(20px, 3.2vh, 39px) clamp(23px, 3.2vw, 46px);
  scrollbar-width: thin;
  scrollbar-color: #69725d #19261f;
  animation: panel-in 0.16s ease-out;
}
.panel.wide {
  width: min(860px, 100%);
}
.panel.narrow {
  width: min(495px, 100%);
}
@keyframes panel-in {
  from {
    opacity: 0.6;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.panel .eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.panel .eyebrow i {
  width: 20px;
  height: 2px;
}
.panel h2 {
  font: 900 italic clamp(39px, 5.9vh, 74px)/0.98 var(--cond);
  letter-spacing: -0.025em;
  margin: 10px 0 8px;
  text-transform: uppercase;
}
.panel .intro {
  color: #c5ceb8;
  font-size: clamp(14px, 1.05vw, 18px);
  margin: 0;
  line-height: 1.4;
}
.close-panel {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #55624f;
  border-radius: 3px;
}
.close-panel svg {
  width: 15px;
}
.close-panel:hover {
  background: #3b4b3c;
}
.panel-actions {
  gap: 12px;
  margin-top: clamp(18px, 2.9vh, 31px);
  flex-wrap: wrap;
}
.panel-actions .primary,
.panel-actions .secondary {
  min-height: 39px;
  font-size: 17px;
  padding: 0 21px;
}
.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(17px, 2.8vh, 31px);
}
.pick-card {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #78846c;
  border-radius: 3px;
  padding: 15px 16px;
  background: #26372c;
  min-height: 155px;
  transition:
    transform 0.12s,
    background 0.12s,
    border-color 0.12s;
}
.pick-card:hover:not(:disabled),
.pick-card.pad-focus {
  transform: translateY(-3px);
  border-color: var(--amber);
  background: #354735;
}
.pick-card.selected {
  border-color: var(--amber);
}
.pick-card.locked {
  opacity: 0.59;
}
.card-top {
  justify-content: space-between;
  align-self: stretch;
}
.card-tag,
.card-level,
.mode-date,
.label,
.equipment-info,
.daily-mod small {
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.09em;
  color: #c8cbb0;
}
.card-tag {
  color: var(--amber);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 11px 0 9px;
  color: var(--amber);
  background: #e7ba5812;
  border: 1px solid #d4b45648;
  border-radius: 50%;
}
.card-icon.mint {
  color: var(--mint);
  background: #57d9b017;
  border-color: #87dabc4a;
}
.card-icon.orange {
  color: #ff9c64;
  background: #f5844420;
  border-color: #ed9c634a;
}
.card-icon svg {
  width: 29px;
  height: 29px;
}
.pick-card b {
  font: 700 26px/1 var(--cond);
  margin-bottom: 6px;
}
.pick-card p {
  color: #d4dbc7;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}
.card-level {
  margin-top: auto;
  padding-top: 13px;
  color: #bdd6bb;
}
.panel-note {
  margin: 15px 0 0;
  color: #c3cbb2;
  font-size: 13px;
}
.daily-mod {
  margin: 20px 0 0;
  padding: 15px 17px;
  border-left: 3px solid var(--amber);
  background: #2a3829;
}
.daily-mod b {
  display: block;
  font: 700 25px var(--cond);
  color: var(--amber);
  margin: 3px 0;
}
.daily-mod p {
  margin: 0;
  font-size: 15px;
  color: #e0e3cc;
}
.mode-date {
  margin-top: 15px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
  gap: 10px;
}
.stat {
  padding: 12px;
  background: #24342a;
  border: 1px solid #4b5b48;
  border-radius: 2px;
}
.stat small {
  display: block;
  font-size: 9px;
  color: #bcc9b3;
}
.stat b {
  font: 700 32px/1.15 var(--cond);
  color: var(--amber);
  letter-spacing: 0.035em;
}
.table-head,
.log-row {
  display: grid;
  grid-template-columns: 1.25fr 1.2fr 1.1fr 0.8fr;
  gap: 7px;
  font-size: 10px;
}
.table-head {
  color: #a2b39e;
  letter-spacing: 0.12em;
  margin: 14px 0 5px;
}
.log-row {
  padding: 7px 0;
  border-top: 1px solid #41503f;
  color: #e0e7d1;
  letter-spacing: 0.04em;
}
.log-row > span:last-child,
.table-head > span:last-child {
  text-align: right;
}
.empty-log {
  border-top: 1px solid #465440;
  margin: 0;
  padding: 14px 0 2px;
  color: #c3cbb6;
  font-size: 14px;
}
.settings-row {
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #44513f;
  gap: 10px;
}
.settings-row > span {
  font-size: 11px;
  color: #e1e6cf;
}
.setting-toggle {
  border: 1px solid #6a775f;
  border-radius: 2px;
  font: 500 10px var(--mono);
  padding: 5px 9px;
  min-width: 53px;
  text-transform: uppercase;
  color: var(--mint);
}
.shortcuts {
  color: #adbda7;
  font-size: 9px;
  line-height: 1.85;
  margin: 13px 0;
}
.shortcuts kbd {
  margin: 1px 2px;
  height: 17px;
  font-size: 9px;
}
.result-stamp {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin: 15px 0 3px;
}
.result-score {
  display: block;
  font: 900 italic clamp(51px, 8vh, 88px)/0.95 var(--cond);
  color: #ffcf77;
  letter-spacing: -0.02em;
}
.result-metrics {
  gap: 23px;
  margin: 16px 0 0;
  border-top: 1px solid #4f5b46;
  padding-top: 13px;
}
.result-metrics .stat {
  background: transparent;
  border: 0;
  padding: 0;
}
.result-metrics .stat b {
  font-size: 24px;
  color: #f4e9c9;
}
.graft-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.graft-list span {
  font: 500 9px var(--mono);
  border: 1px solid #566851;
  border-radius: 2px;
  padding: 4px 6px;
  color: #b8cbb3;
}
.status-toast {
  position: absolute;
  right: 3%;
  top: 12px;
  z-index: 5;
  color: var(--cream);
  background: #1d3027;
  border: 1px solid #7d8e72;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 3px;
  pointer-events: none;
}
@media (max-height: 630px) {
  .topbar {
    padding-left: 22px;
    padding-right: 22px;
  }
  .rig-chip {
    min-height: 43px;
    padding: 5px 10px;
  }
  .rig-chip small {
    font-size: 8px;
  }
  .rig-chip b {
    font-size: 16px;
  }
  .panel {
    padding: 18px 26px;
  }
  .grid-three {
    margin-top: 15px;
  }
  .pick-card {
    padding: 11px 13px;
    min-height: 142px;
  }
  .card-icon {
    width: 35px;
    height: 35px;
    margin: 8px 0;
  }
  .card-icon svg {
    width: 23px;
  }
  .pick-card b {
    font-size: 23px;
  }
  .pick-card p {
    font-size: 13px;
  }
  .panel .intro {
    font-size: 14px;
  }
  .stats-grid {
    margin: 12px 0;
  }
  .stat {
    padding: 8px 11px;
  }
  .panel h2 {
    font-size: 37px;
  }
  .panel-actions {
    margin-top: 15px;
  }
  .daily-mod {
    margin-top: 14px;
  }
  .result-metrics {
    margin-top: 11px;
    padding-top: 9px;
  }
  .settings-row {
    padding: 5px 0;
  }
}
@media (max-width: 830px) {
  .brand-type,
  .brand-slash {
    display: none;
  }
  .controls-strip {
    gap: 12px;
  }
  .control {
    gap: 4px;
  }
  .best-block {
    gap: 7px;
  }
  .menu-footer {
    padding: 0 13px;
  }
  .title-copy {
    left: 5.5%;
    max-width: 52%;
  }
  .play-footer > div {
    gap: 7px;
  }
  .hud-symbol {
    display: none !important;
  }
  .rig-chip {
    right: 14px;
  }
  .chain-block {
    font-size: 9px;
  }
  .topbar {
    padding: 0 16px;
  }
}
@media (max-width: 630px) {
  .menu-footer .control:nth-child(4),
  .brand-type,
  #autoState,
  .charge-track {
    display: none;
  }
  .menu-footer {
    height: 44px;
  }
  .controls-strip {
    gap: 9px;
  }
  .keyset {
    gap: 1px;
  }
  kbd {
    min-width: 15px;
    height: 18px;
  }
  .title-copy {
    max-width: 80%;
  }
  .title-copy h1 {
    font-size: clamp(65px, 15vw, 103px);
  }
  .title-copy p {
    font-size: 13px;
  }
  .menu-shade {
    background: linear-gradient(90deg, #0c251fe6, transparent 93%);
  }
  .rig-chip {
    bottom: 8px;
    right: 9px;
    min-height: 28px;
  }
  .rig-symbol {
    display: none !important;
  }
  .grid-three {
    gap: 6px;
  }
  .pick-card {
    padding: 10px 8px;
  }
  .panel {
    padding: 16px;
  }
  .card-tag {
    font-size: 8px;
  }
  .hud {
    gap: 7px;
  }
  .play-footer {
    padding: 0 8px;
  }
  .dash-status i {
    display: none;
  }
  .hud-objective {
    gap: 4px;
  }
  .nav-actions {
    gap: 4px;
  }
  .navlog {
    padding: 0 4px;
  }
  .title-copy {
    top: 45%;
  }
  .hull-block .micro {
    margin-bottom: 3px;
  }
  .play-footer b {
    font-size: 13px;
  }
  .panel-actions {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
.gun-art {
  width: 100%;
  height: clamp(47px, 7.4vh, 80px);
  margin: 5px 0 6px;
  filter: drop-shadow(1px 2px 0 #111d1680);
}
.daily-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: #d5dcca;
  font-size: 13px;
}
.daily-details span,
.pause-links button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.daily-details svg {
  color: var(--amber);
}
.settings {
  margin-top: 14px;
}
.pause-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
}
.pause-links button {
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b9c7ad;
  min-height: 23px;
}
.pause-links button:hover {
  color: var(--amber);
}
.control-table {
  margin-top: 16px;
}
.control-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 13px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #45543f;
  font-size: 14px;
  color: #d6deca;
}
.control-row.head {
  font: 500 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #adbb9e;
  padding: 3px 0 8px;
}
.control-row b {
  font: 700 17px var(--cond);
  color: var(--cream);
}
#homeControls:hover .control {
  color: #fff2c4;
}
@media (max-height: 630px) {
  .control-row {
    padding: 5px 0;
  }
  .daily-details {
    margin-top: 11px;
  }
  .settings {
    margin-top: 9px;
  }
  .pause-links {
    margin-top: 6px;
  }
}
.stamp-goal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: #d7deca;
}
.stamp-goal svg {
  color: var(--amber);
}
.stamp-goal b {
  display: block;
  font: 500 9px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8d4b9;
}
.stats-grid.log-stats {
  grid-template-columns: repeat(4, 1fr);
}
.result-panel {
  background-size: cover;
  background-position: center;
  color: #fff0d3;
}
.result-panel.success {
  background-image:
    linear-gradient(90deg, #0d221de8 0%, #0b251fe6 40%, #10271ebd 55%, #0c201721 80%),
    url('./assets/aftermath.webp');
}
.result-panel.loss {
  background-image:
    linear-gradient(90deg, #14231ef5 0%, #14231ef1 42%, #14231ebd 58%, #14231e42 80%),
    url('./assets/cover.webp');
}
.result-panel .intro {
  max-width: 52%;
  color: #e7ead4;
  text-shadow: 0 1px 4px #213125;
}
.result-panel .result-metrics {
  max-width: 48%;
  border-color: #9da68c7a;
}
.result-panel .graft-list {
  max-width: 53%;
}
.result-panel .graft-list span {
  background: #193128c9;
  color: #dcdec6;
}
.micro {
  font-size: clamp(9px, 0.72vw, 12px);
}
.control {
  font-size: clamp(10px, 0.78vw, 13px);
}
#autoState:hover {
  color: var(--cream);
}
.control-row b,
.best-block b,
.result-metrics b {
  font-variant-numeric: tabular-nums;
}
@media (max-height: 630px) {
  .stamp-goal {
    margin-top: 9px;
    font-size: 13px;
  }
  .result-panel .result-metrics {
    gap: 21px;
  }
  .result-panel .graft-list {
    max-width: 65%;
  }
  .result-panel .intro {
    max-width: 60%;
  }
}
