* {
  box-sizing: border-box;
}
:root {
  color-scheme: dark;
  --bg: #11171c;
  --panel: #1a2229;
  --ink: #f1ecdd;
  --muted: #a7aaa6;
  --gold: #e5ba74;
  --line: #333a3e;
  --display: 'Baskervville', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 48% 0, #202a2e75, transparent 70%), var(--bg);
  color: var(--ink);
  font: 15px/1.45 var(--sans);
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
}
button:focus-visible {
  outline: 3px solid #e9bd70;
  outline-offset: 4px;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
#mast {
  background: #12191ef5;
  border-bottom: 1px solid #393b37;
}
.bar,
#main,
#footer {
  width: min(1200px, calc(100% - clamp(40px, 9vw, 154px)));
  margin-inline: auto;
}
.bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 84px);
}
.brand {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 0;
  font: 700 22px/1 var(--display);
  letter-spacing: -0.8px;
}
.brand > .icon {
  width: 36px;
  height: 40px;
}
.brand small {
  display: block;
  color: var(--gold);
  font: 700 9px/1.25 var(--mono);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 5px;
}
nav,
.utilities {
  display: flex;
  align-items: center;
}
nav {
  align-self: stretch;
  gap: 26px;
}
.nav-link {
  position: relative;
  color: #aeb4b4;
  font-weight: 550;
  padding: 0 3px;
  font-size: 14px;
  align-self: stretch;
}
.nav-link:hover,
.link:hover,
.backlink:hover {
  color: #fff0c9;
}
.nav-link[aria-current] {
  color: #efd2a1;
}
.nav-link[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 2px;
  background: #d9aa61;
  left: 3px;
  right: 3px;
}
.utilities {
  margin-left: auto;
  gap: 12px;
}
.money,
.square {
  height: 36px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid #42423b;
  background: #21262a;
}
.money {
  padding: 0 13px;
  color: #f0d59c;
  font: bold 14px var(--mono);
}
.money .icon {
  width: 18px;
}
.square {
  width: 38px;
  color: #d0c9b7;
}
.square:hover,
.secondary:hover:enabled {
  border-color: #c49b60;
  background: #34332c;
}
#main {
  padding: clamp(22px, 3.2vw, 45px) 0 32px;
  min-height: calc(100svh - 159px);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(342px, 29vw, 410px);
  display: flex;
  align-items: center;
  border: 1px solid #827351;
  border-radius: 7px 7px 0 0;
  background: #303a31 url('art/hero.webp') center 47% / cover;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #0a1419e8 0, #0a161cac 23%, #121a1e28 54%, transparent 70%),
    linear-gradient(0deg, #10171c38, transparent 35%);
}
.corner {
  position: absolute;
  width: 19px;
  height: 19px;
  pointer-events: none;
  border: solid #cfb57e;
  opacity: 0.94;
}
.corner::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: inherit;
}
.tl {
  left: 7px;
  top: 7px;
  border-width: 1px 0 0 1px;
}
.tr {
  right: 7px;
  top: 7px;
  border-width: 1px 1px 0 0;
}
.bl {
  left: 7px;
  bottom: 7px;
  border-width: 0 0 1px 1px;
}
.br {
  right: 7px;
  bottom: 7px;
  border-width: 0 1px 1px 0;
}
.hero-copy {
  padding: 36px clamp(28px, 4vw, 60px);
  max-width: 66%;
}
.eyebrow,
.keep-row small,
.battle-title small {
  font: 650 10px/1.4 var(--mono);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .icon {
  width: 14px;
  height: 14px;
}
.eyebrow i {
  width: 3px;
  height: 3px;
  background: var(--gold);
  transform: rotate(45deg);
}
.hero h1 {
  font: 700 clamp(48px, 5vw, 79px) / 0.99 var(--display);
  letter-spacing: -2.8px;
  margin: 16px 0 12px;
  text-shadow: 0 3px 16px #05111660;
  color: #fff8e7;
}
.hero h1 span {
  display: block;
  color: #efc57c;
  font-style: italic;
  font-weight: 500;
}
.hero p {
  margin: 14px 0 22px;
  color: #dddccc;
  font-size: clamp(13px, 1.1vw, 16px);
}
.primary,
.secondary,
.link,
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.primary {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  background: linear-gradient(#efc782, #dab06a);
  color: #2f271a;
  border: 1px solid #f0d79d;
  box-shadow:
    inset 0 0 0 2px #d1a45f,
    0 3px 8px #0b0a0926;
  font-weight: 750;
}
.primary:hover:enabled {
  background: #f9d696;
  box-shadow:
    inset 0 0 0 2px #d1a45f,
    0 0 14px #e9ba6638;
}
.primary > .icon:last-child:not(:first-child) {
  width: 17px;
  margin-left: 10px;
}
.primary:active:enabled,
.facility:active {
  transform: translateY(1px);
}
.campaign-track {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(20px, 3vw, 40px);
  background: #1a2227;
  border: 1px solid #44463e;
  border-top: 0;
  border-radius: 0 0 6px 6px;
}
.campaign-track > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c9c6b9;
  font-size: 13px;
}
.campaign-track .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.campaign-track b {
  font: 600 12px var(--mono);
  color: #e3cfaa;
  white-space: nowrap;
}
.campaign-track em {
  font: 400 12px var(--sans);
  color: #9da5a5;
}
.track-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  position: relative;
}
.track-line::before {
  content: '';
  background: #49504d;
  height: 1px;
  position: absolute;
  inset-inline: 0;
}
.track-line i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid #606966;
  background: #273132;
}
.track-line .current {
  border-color: #e8bd73;
  background: #d1a95e;
  box-shadow: 0 0 7px #e7be7460;
}
.track-line .clear {
  background: #80b89c;
  border-color: #a4cfad;
}
.stronghold {
  margin-top: clamp(24px, 2.6vw, 38px);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}
.diamond {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: #c7a469;
  outline: 1px solid #927348;
  outline-offset: 3px;
  margin-inline: 4px;
}
.section-title h2,
.codex-head h2 {
  font: 600 clamp(25px, 2.1vw, 34px) / 1.2 var(--display);
  margin: 0;
  letter-spacing: -0.7px;
}
.section-title i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #565345, #313638);
}
.facilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.facility {
  text-align: left;
  padding: 0;
  background: #1c252b;
  border: 1px solid #484b45;
  border-radius: 6px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.facility:hover {
  border-color: var(--gold);
  background: #242d31;
}
.facility-image {
  display: block;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #605745;
}
.facility-image img {
  width: 100%;
  height: clamp(108px, 9.7vw, 155px);
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
  transition: transform 0.4s;
}
.facility:hover img {
  transform: scale(1.035);
}
.facility.codex img {
  object-position: 50% 60%;
}
.facility.armory img {
  object-position: 50% 53%;
}
.facility-text {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 16px;
}
.facility-text strong,
.record strong,
.keep-row strong {
  display: block;
  font: 600 24px/1.1 var(--display);
  letter-spacing: -0.5px;
}
.facility-text small {
  display: block;
  color: #aeb4b1;
  font-size: 12px;
  margin-top: 5px;
}
.facility-text > .icon:last-child,
.record > .icon {
  margin-left: auto;
  color: #b69a6a;
  width: 16px;
}
.facility-symbol {
  color: #dfb373;
  border: 1px solid #705e40;
  background: #443923;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  flex: none;
}
.codex .facility-symbol {
  color: #93cbb4;
  background: #243d36;
  border-color: #3c6657;
}
.armory .facility-symbol {
  color: #c2a3dc;
  background: #3b3045;
  border-color: #60516b;
}
#footer {
  border-top: 1px solid var(--line);
  color: #8f9899;
  padding: 16px 0 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footmark {
  display: flex;
  gap: 9px;
  align-items: center;
}
.footmark > .icon {
  width: 16px;
  height: 18px;
}
.footmark span {
  color: #555e60;
}
.link {
  color: #c0c3bc;
  padding: 5px;
  font-size: 12px;
}
.link .icon {
  width: 15px;
}
.page-heading,
.codex-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.page-heading h1 {
  margin: 5px 0 0;
  font: 600 clamp(35px, 4vw, 52px) / 1.1 var(--display);
  letter-spacing: -1.5px;
}
.backlink {
  color: #adb3ac;
  font-size: 12px;
  padding: 4px 0;
}
.panel,
.entry,
.record,
.feature-banner {
  border: 1px solid #41473f;
  border-radius: 6px;
  background: #1b242b;
  overflow: hidden;
}
.map {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.map-art {
  background: url('art/hero.webp') 54% center/auto 100%;
}
.keep-list {
  padding: 8px 20px;
}
.keep-row {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  width: 100%;
  min-height: 66px;
  border-bottom: 1px solid #39413f;
}
.keep-row:last-child {
  border-bottom: 0;
}
.keep-row:disabled {
  color: #a4aaab;
}
.keep-row:disabled .eyebrow,
.keep-row:disabled small {
  color: #9b9d94;
}
.keep-row:enabled:hover {
  background: #2a312d;
}
.keep-row small,
.battle-title small {
  font-size: 9px;
  margin-bottom: 4px;
}
.keep-row strong {
  font-size: 20px;
}
.node,
.prize {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--gold);
}
.prize {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
}
.prize .icon {
  width: 16px;
}
.keep-row:disabled .node {
  color: #8b9496;
}
.camp-scene {
  position: relative;
  height: clamp(225px, 29vh, 320px);
  margin-bottom: 20px;
}
.camp-scene canvas,
.arena canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.camp-stats {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 9px 14px;
  background: #172025e8;
  border: 1px solid #8e876c;
  border-radius: 4px;
  color: #c6c8bf;
  font-size: 12px;
}
.camp-stats b {
  color: #f1e5bc;
  margin-left: 3px;
}
.entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.entry {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px 18px;
  align-items: center;
  padding: 20px;
}
.entry .item-art {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  background: #151d26;
  grid-row: span 2;
}
.entry h3 {
  margin: 4px 0;
  font: 600 24px var(--display);
}
.entry p,
.feature-banner p,
dialog p,
.manual {
  color: #b9c1be;
  font-size: 14px;
  margin: 0;
}
.entry .secondary {
  justify-self: start;
  min-height: 35px;
  font-size: 13px;
}
.secondary,
.tab {
  border: 1px solid #59564a;
  background: #2b302e;
  color: #e6cea8;
  border-radius: 4px;
  padding: 8px 13px;
  font-weight: 600;
}
.secondary .icon {
  width: 16px;
}
.secondary:disabled,
.primary:disabled {
  opacity: 0.55;
}
.compact {
  min-height: 40px;
  padding: 6px 15px;
  font-size: 14px;
}
.feature-banner {
  background:
    linear-gradient(90deg, #181c29ef, #1f202eaf, transparent),
    url('art/armory.webp') right 44% / cover;
  min-height: 160px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-bottom: 20px;
}
.feature-banner h2 {
  font: 600 35px var(--display);
  margin: 0 0 5px;
}
.feature-banner p {
  color: #e3e1d4;
}
.tabs {
  display: flex;
  gap: 6px;
}
.tab {
  font-size: 12px;
  color: #aeb6b4;
  border-color: #38413f;
  background: #1c2529;
}
.tab[aria-pressed='true'] {
  border-color: #c39c60;
  color: #f0cd8e;
  background: #373328;
}
.codex-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.record {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 15px;
}
.record img {
  width: 32%;
  max-width: 95px;
  border-radius: 5px;
}
.record strong {
  font-size: 21px;
  margin-top: 6px;
}
.record:hover {
  border-color: #b39668;
}
#status {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  background: #182322f5;
  color: #f2e6c9;
  border: 1px solid #998359;
  border-radius: 5px;
  padding: 10px 18px;
  box-shadow: 0 5px 18px #0007;
  text-align: center;
  min-width: 170px;
  font-size: 14px;
}
#status:empty {
  display: none;
}
dialog {
  width: min(430px, calc(100vw - 32px));
  max-height: 85svh;
  overflow-y: auto;
  border: 1px solid #a18a61;
  border-radius: 8px;
  padding: 32px;
  color: var(--ink);
  background: linear-gradient(145deg, #253038, #172026);
  box-shadow: 0 25px 90px #0008;
}
dialog::backdrop {
  background: #080e13cb;
}
dialog .x {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
}
dialog h2 {
  font: 600 34px/1.15 var(--display);
  margin: 10px 0;
}
dialog p {
  margin: 10px 0 18px;
}
dialog .detail-art {
  width: 112px;
  display: block;
  margin-bottom: 18px;
  border-radius: 4px;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.manual {
  padding-left: 19px;
}
.manual li {
  margin: 11px 0;
}
.manual b {
  color: #f1d9af;
}
body.in-battle {
  overflow: hidden;
}
body.in-battle #mast,
body.in-battle #footer {
  display: none;
}
body.in-battle #main {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100svh;
  min-height: 0;
}
.arena {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #7a978f;
}
.arena canvas {
  touch-action: none;
  cursor: crosshair;
}
.battle-top,
.battle-bottom {
  position: absolute;
  left: max(15px, env(safe-area-inset-left));
  right: max(15px, env(safe-area-inset-right));
  pointer-events: none;
}
.arena button {
  pointer-events: auto;
}
.battle-top {
  top: max(14px, env(safe-area-inset-top));
  display: flex;
  gap: 12px;
  align-items: center;
}
.battle-top .square {
  background: #19242dee;
}
.battle-title,
.battle-bottom,
#score {
  background: #15232ded;
  border: 1px solid #9c8e68;
  border-radius: 6px;
  box-shadow: 0 4px 16px #17202230;
}
.battle-title {
  padding: 7px 15px;
}
.battle-title small {
  margin: 0;
}
.battle-title strong {
  font: 600 18px var(--display);
}
#score {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  font-weight: 700;
}
.blue {
  color: #90d4e7;
}
.red {
  color: #f2a598;
}
#score .blue,
#score .red {
  position: relative;
  min-width: 5ch;
  padding-bottom: 5px;
  font-variant-numeric: tabular-nums;
}
#score .blue::before,
#score .red::before,
#score .blue::after,
#score .red::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}
#score .blue::before,
#score .red::before {
  opacity: 0.22;
}
#score .blue::after,
#score .red::after {
  transform: scaleX(var(--standing, 1));
  transform-origin: left;
  transition: transform 240ms ease-out;
}
#score .blue::after {
  transform-origin: right;
}
@media (prefers-reduced-motion: reduce) {
  #score .blue::after,
  #score .red::after {
    transition: none;
  }
}
.versus {
  font: 10px var(--mono);
  color: #c8c7ba;
}
.battle-bottom {
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 640px;
  margin: auto;
  text-align: center;
  padding: 9px 18px;
}
.combat-controls,
#belt,
.belt-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.combat-controls {
  justify-content: space-between;
  border-top: 1px solid #424a45;
  padding-top: 7px;
}
.belt-item {
  position: relative;
  background: #19212a;
  border: 1px solid #56605c;
  border-radius: 4px;
  padding: 0;
}
.belt-item img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 3px;
}
.belt-item b {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #111b24d9;
  border-radius: 3px;
  padding: 0 3px;
  font: 600 10px var(--mono);
}
.belt-item[aria-pressed='true'] {
  border: 2px solid #ebbd64;
}
.belt-item:disabled {
  opacity: 0.5;
}
.instruction {
  color: #bfc8bd;
  font-size: 11px;
}
#turn {
  font: 600 17px var(--display);
  color: #f2d7a0;
  margin-bottom: 6px;
}
.award {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--gold);
  font: 600 20px var(--display);
}
@media (min-width: 1550px) {
  .bar,
  #main,
  #footer {
    width: min(1360px, 88%);
  }
  .hero {
    min-height: 440px;
  }
  .facility-image img {
    height: 170px;
  }
}
@media (max-width: 850px) {
  .bar,
  #main,
  #footer {
    width: calc(100% - 40px);
  }
  .bar {
    gap: 26px;
    min-height: 68px;
  }
  nav {
    gap: 13px;
  }
  .facilities {
    gap: 10px;
  }
  .facility-text {
    gap: 10px;
    padding: 13px 10px;
  }
  .facility-text strong {
    font-size: 20px;
  }
  .facility-symbol {
    width: 30px;
    height: 32px;
  }
  .facility-text > .icon:last-child {
    display: none;
  }
  .codex-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-copy {
    max-width: 78%;
  }
  .entry {
    padding: 14px;
    grid-template-columns: 58px 1fr;
  }
  .entry .item-art {
    width: 58px;
    height: 58px;
  }
}
@media (max-width: 620px) {
  .bar,
  #main,
  #footer {
    width: calc(100% - 28px);
  }
  .bar {
    flex-wrap: wrap;
    gap: 0;
    align-content: center;
    padding-top: 11px;
  }
  .brand {
    font-size: 18px;
  }
  .brand > .icon {
    width: 28px;
    height: 31px;
  }
  .brand small {
    font-size: 8px;
  }
  .utilities {
    gap: 6px;
  }
  nav {
    order: 3;
    width: 100%;
    height: 38px;
    gap: 22px;
  }
  .nav-link {
    font-size: 12px;
  }
  .money {
    padding: 0 9px;
  }
  .money,
  .square {
    height: 32px;
  }
  .hero {
    min-height: 335px;
    background-position: 79% center;
  }
  .hero-copy {
    padding: 24px;
    max-width: 94%;
    align-self: end;
  }
  .hero::before {
    background:
      linear-gradient(90deg, #0e191eaf, #11202644 58%, transparent),
      linear-gradient(0deg, #10171be6, transparent 85%);
  }
  .hero h1 {
    font-size: 48px;
    max-width: 300px;
  }
  .hero p {
    max-width: 245px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .campaign-track {
    padding: 12px;
    gap: 13px;
  }
  .campaign-track > span {
    font-size: 11px;
    gap: 5px;
  }
  .campaign-track em {
    display: none;
  }
  .campaign-track b {
    font-size: 10px;
  }
  .track-line i {
    width: 5px;
    height: 5px;
  }
  .facilities,
  .entries,
  .codex-grid {
    grid-template-columns: 1fr;
  }
  .facility {
    display: flex;
    align-items: stretch;
  }
  .facility-image {
    width: 30%;
    border: 0;
    flex: none;
  }
  .facility-image img {
    height: 95px;
  }
  .facility-text {
    width: 70%;
    padding: 14px;
    gap: 10px;
  }
  .facility-text > .icon:last-child {
    display: block;
  }
  .facility-text small {
    font-size: 11px;
  }
  .facility-symbol {
    display: none;
  }
  .section-title {
    margin-bottom: 12px;
  }
  .stronghold {
    margin-top: 24px;
  }
  #main {
    min-height: 0;
    padding: 16px 0 24px;
  }
  .map {
    grid-template-columns: 1fr;
  }
  .map-art {
    height: 130px;
    background-size: cover;
  }
  .camp-stats {
    left: 8px;
    bottom: 6px;
    gap: 9px;
    padding: 5px 7px;
    font-size: 10px;
  }
  .camp-scene {
    height: 220px;
  }
  .entry {
    grid-template-columns: 70px 1fr;
  }
  .entry .item-art {
    width: 70px;
    height: 70px;
  }
  .page-heading {
    gap: 8px;
  }
  .page-heading > .eyebrow {
    font-size: 9px;
    max-width: 100px;
  }
  .codex-head {
    flex-wrap: wrap;
  }
  .record img {
    width: 60px;
  }
  .record .eyebrow {
    font-size: 9px;
  }
  .footmark {
    font-size: 10px;
    gap: 4px;
  }
  .battle-bottom {
    padding: 8px;
  }
  .battle-top {
    gap: 8px;
  }
  .battle-title {
    padding: 6px 10px;
  }
  .combat-controls,
  #belt {
    gap: 5px;
  }
  .combat-controls .primary {
    padding: 6px 10px;
  }
  .belt-item img {
    width: 33px;
    height: 33px;
  }
}
@media (max-height: 480px) and (orientation: landscape) {
  .battle-bottom {
    left: auto;
    right: 8px;
    min-width: 325px;
    padding: 6px 10px;
  }
  .instruction {
    display: none;
  }
  .battle-title {
    padding: 4px 10px;
  }
  .battle-top {
    top: 6px;
  }
  .battle-bottom {
    bottom: 6px;
  }
  .belt-item img {
    width: 29px;
    height: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.sector-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  color: var(--gold);
  text-align: center;
}
.sector-nav .square:disabled {
  opacity: 0.35;
}
.armory-banner .compact {
  margin-top: 5px;
}
.sponsor-art {
  width: 100%;
  max-height: 28vh;
  object-fit: contain;
  background: #161c23;
  border-radius: 5px;
}
.ad-progress {
  margin: 12px 0;
  display: grid;
  gap: 6px;
  color: var(--gold);
}
.ad-progress progress {
  width: 100%;
  accent-color: #d2a457;
}
