@font-face {
  font-family: Asterra;
  src: url(asterra-pixel.ttf) format("truetype");
  font-display: swap;
}
:root {
  --pine: #193c34;
  --deep: #122c28;
  --ink: #233d33;
  --sage: #9dab80;
  --gold: #edc477;
  --paper: #f1ead3;
  --pixel: Asterra, ui-monospace, monospace;
  --mono: "Courier Prime", ui-monospace, Menlo, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font:
    16px/1.5 "Instrument Sans",
    system-ui,
    sans-serif;
}
img {
  image-rendering: pixelated;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
summary,
button {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #bf6b25;
  outline-offset: 3px;
  z-index: 3;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  z-index: 9;
  left: 12px;
  top: -90px;
  background: #fff7dc;
  padding: 10px;
}
.skip:focus {
  top: 12px;
}
/* The panorama leaves its left side open for the title and controls. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(555px, 54vw, 875px);
  background: #102f47;
  border-bottom: 4px double #b7a06b;
}
.panorama,
.panorama img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.panorama img {
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, #091d2b64 0%, #0c253e1c 51%, transparent 66%),
    linear-gradient(0deg, #091e24ba, transparent 24%);
  pointer-events: none;
}
.title-block {
  position: absolute;
  z-index: 1;
  top: clamp(100px, 13vw, 215px);
  left: max(calc((100% - 1260px) / 2), 7%);
  width: min(48%, 620px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #f7e9bb;
}
.crest {
  width: 110px;
  height: 25px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.crest::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 12px;
  height: 2px;
  background: #d4bd86;
}
.crest i {
  position: relative;
  width: 23px;
  height: 23px;
  background: #fff1ab;
  clip-path: polygon(
    50% 0,
    65% 34%,
    100% 50%,
    69% 65%,
    50% 100%,
    34% 65%,
    0 50%,
    34% 34%
  );
  filter: drop-shadow(0 0 2px #ffe09d);
}
h1 {
  margin: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
h1 img {
  width: min(100%, 550px);
  height: auto;
  filter: drop-shadow(0 5px #0b1c2cbd);
}
.ribbon {
  color: #f6d799;
  margin: 9px 0 0;
  font: clamp(14px, 1.48vw, 23px) / 1.3 var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.hero-intro {
  max-width: 28ch;
  margin: 20px 0 0;
  color: #fff3d1;
  font:
    clamp(17px, 2vw, 24px) / 1.35 Georgia,
    serif;
  text-shadow: 0 1px 3px #071720;
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px 25px;
}
.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  text-underline-offset: 5px;
  font: 700 14px var(--mono);
}
.explore-link span {
  color: #e2c078;
}
.hero-platform {
  font: 600 12px/1.3 var(--mono);
  color: #e4ead0;
  text-shadow: 0 1px 3px #071720;
  margin: 14px 0 0;
}
.play {
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #1d4436;
  color: #fff3c8;
  padding: 15px 27px;
  font: clamp(15px, 1.55vw, 21px) / 1.05 var(--pixel);
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 3px #c3a869,
    inset 0 0 0 5px #45664a,
    0 0 0 3px #1d382f,
    0 5px 0 3px #142d28;
  transition: background 0.12s;
}
.play:before,
.play:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 0;
  background: #ffe5a3;
  box-shadow: 0 0 0 1px #b09255;
}
.play:before {
  left: 0;
}
.play:after {
  right: 0;
}
.play b {
  font: 16px/1 monospace;
  color: #edcc7e;
}
.play:hover {
  background: #345a40;
  color: #fff;
}
.motes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.motes i {
  position: absolute;
  background: #fff0a6;
  box-shadow:
    -2px 0 #ffe6a294,
    2px 0 #ffe6a294,
    0 -2px #ffe6a294,
    0 2px #ffe6a294;
  width: 3px;
  height: 3px;
  top: 73%;
  left: 26%;
  animation: drift 4.3s ease-in-out infinite alternate;
}
.motes i:nth-child(2) {
  left: 31%;
  top: 85%;
  animation-delay: -2s;
}
.motes i:nth-child(3) {
  left: 69%;
  top: 78%;
  animation-delay: -3.4s;
}
.motes i:nth-child(4) {
  left: 79%;
  top: 88%;
  animation-delay: -1s;
}
.motes i:nth-child(5) {
  left: 15%;
  top: 69%;
  animation-delay: -1.4s;
}
.motes i:nth-child(6) {
  left: 85%;
  top: 75%;
  animation-delay: -0.5s;
}
@keyframes drift {
  from {
    opacity: 0.12;
    transform: translate(0, 3px);
  }
  to {
    opacity: 0.95;
    transform: translate(4px, -6px);
  }
}
#journal {
  background-color: #19382e;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 8px,
    #8da47d08 8px 10px
  );
  padding-bottom: 42px;
}
.tabs {
  position: relative;
  z-index: 2;
  background: #112f29;
  border-top: 2px solid #bba374;
  border-bottom: 3px solid #bfa575;
  box-shadow: 0 4px #102820;
}
.tabstrip {
  max-width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tabstrip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 14px 4px;
  color: #c8d4b5;
  text-decoration: none;
  border-inline-start: 1px solid #4e6552;
  font: 15px/1.3 var(--pixel);
  text-transform: uppercase;
  position: relative;
}
.tabstrip a:last-child {
  border-inline-end: 1px solid #4e6552;
}
.tabstrip a img {
  width: 29px;
  height: 29px;
}
.tabstrip a:hover {
  background: #294c3d;
}
.tabstrip .active {
  color: #fff0bb;
  background: #345442;
  box-shadow: inset 0 -4px #daba78;
}
.tabstrip .active:after {
  position: absolute;
  content: "";
  width: 12px;
  height: 6px;
  background: #daba78;
  bottom: 0;
  left: calc(50% - 6px);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.pages {
  width: min(1100px, calc(100% - 56px));
  margin: 26px auto 0;
}
.page {
  position: relative;
  background: var(--paper);
  border: 4px solid #5e654c;
  padding: clamp(18px, 2.8vw, 40px);
  box-shadow:
    0 0 0 2px #172e25,
    inset 0 0 0 2px #fdf4da,
    inset 0 0 0 3px #c1b695,
    4px 5px 0 #0e2a22;
}
.page + .page {
  margin-top: 24px;
}
.page:before,
.page:after {
  content: "";
  height: 7px;
  width: 7px;
  position: absolute;
  top: 6px;
  background: #c5ac70;
  box-shadow: inset -2px -2px #938856;
}
.page:before {
  left: 6px;
}
.page:after {
  right: 6px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.folio {
  margin: 0 0 8px;
  font: bold 11px/1.4 var(--mono);
  text-transform: uppercase;
  color: #596a52;
  letter-spacing: 0.11em;
}
.folio span {
  color: #a29265;
  margin: 0 3px;
}
h2,
h3 {
  font-family: var(--pixel);
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.15;
  margin: 0;
}
.stamp {
  white-space: nowrap;
  color: #52654b;
  font: 600 11px var(--mono);
  border-block: 1px solid #b3b59c;
  padding: 5px 3px;
}
.dialogue {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #e6e3c9;
  box-shadow:
    inset 0 0 0 2px #acb394,
    inset 0 0 0 4px #f4f0d9;
  position: relative;
  padding: 10px 22px 10px 11px;
  margin: 0 0 23px;
}
.dialogue img {
  width: 62px;
  height: 65px;
  object-fit: contain;
  border: 2px solid #546f55;
  background: #acbc98;
}
.dialogue strong,
.stages strong {
  font: 13px/1.25 var(--pixel);
  text-transform: uppercase;
}
.dialogue p {
  margin: 5px 0 0;
  font: 16px/1.5 var(--mono);
  letter-spacing: -0.04em;
}
.dialogue:after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-top: 6px solid #798967;
  border-inline: 5px solid transparent;
}
.fieldbook {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 13px;
}
.picker {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.picker button {
  font: 700 14px var(--mono);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 2px solid #acae90;
  background: #e6e4ce;
  text-align: left;
  min-height: 53px;
}
.picker button img {
  width: 44px;
  height: 40px;
  object-fit: contain;
}
.picker small {
  display: block;
  color: #58674e;
  font: 10px var(--mono);
  margin-bottom: 2px;
}
.picker [aria-pressed="true"] {
  border-color: #3a5944;
  background: #385a44;
  color: #fff2c9;
  box-shadow: inset 0 0 0 1px #7e9271;
}
.picker [aria-pressed="true"] small {
  color: #d7deba;
}
.picker button:hover {
  border-color: #48644a;
}
.records {
  min-width: 0;
  grid-column-end: -1;
}
.fieldbook:has(.picker[hidden]) {
  display: block;
}
.partner {
  --wash: #d0dfac;
  --tone: #547939;
  display: grid;
  grid-template-columns: minmax(145px, 0.85fr) minmax(0, 1.2fr);
  border: 2px solid #9eac8c;
  background: #f8f4e0;
  min-height: 231px;
}
.partner.flame {
  --wash: #e8c8a4;
  --tone: #965636;
}
.partner.tide {
  --wash: #c0dcd4;
  --tone: #427578;
}
.partner + .partner {
  margin-top: 10px;
}
.partner[hidden] + .partner {
  margin: 0;
}
.plate {
  min-height: 214px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  background-color: var(--wash);
  background-image:
    linear-gradient(#fff4 1px, transparent 1px),
    linear-gradient(90deg, #fff4 1px, transparent 1px);
  background-size: 15px 15px;
  overflow: hidden;
  border-right: 2px solid #aeb69a;
}
.plate:before,
.plate:after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  width: min(72%, 160px);
  border: 1px dashed #ffffe9b8;
  border-radius: 50%;
}
.plate:after {
  width: min(54%, 120px);
  border-style: solid;
}
.index {
  position: absolute;
  top: 10px;
  left: 10px;
  font: bold 11px var(--mono);
  color: #3e5740;
}
.sprite {
  width: 100%;
  height: 100%;
  max-height: 218px;
  position: absolute;
  inset: 0;
  margin: auto;
  object-fit: contain;
}
.partner-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.element {
  display: inline-block;
  color: #fff8db;
  background: var(--tone);
  padding: 3px 7px;
  font: bold 10px/1 var(--mono);
  text-transform: uppercase;
}
.partner h3,
.leader h3 {
  margin: 8px 0 7px;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.18;
}
.partner-body p,
.lead,
.leader p:not(.folio),
.field-notes p,
.manual p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.stages {
  border-top: 1px dashed #a5ac8c;
  padding-top: 9px;
  margin-top: 12px;
}
.stages strong {
  font-size: 11px;
  color: #526549;
}
.lineage {
  display: flex;
  gap: 4px;
  margin-top: 5px;
}
.lineage button {
  padding: 0 2px 3px;
  border: 1px solid transparent;
  background: transparent;
  flex: 1;
  min-width: 0;
  font: 10px/1.15 var(--mono);
}
.lineage button img {
  display: block;
  width: 100%;
  height: 43px;
  object-fit: contain;
}
.lineage button[aria-pressed="true"] {
  border-color: #94a57d;
  background: #e5e7ce;
}
.lineage button:hover {
  background: #ece9d0;
}
.footnote {
  margin: 17px 0 0;
  font: 12px/1.55 var(--mono);
  color: #4d624c;
}
.case {
  background: #223b35;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  padding: 12px;
  border: 4px double #bdab78;
  margin: 18px 0;
}
.case a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ecdfb7;
  text-decoration: none;
  font: 12px var(--mono);
  padding: 8px 3px;
  border: 1px solid #607461;
  background: #2d4940;
}
.case img {
  width: 44px;
  height: 44px;
}
.case .chosen,
.case a:hover {
  border-color: #e1c47c;
  background: #465b46;
}
.leader {
  display: flex;
  gap: 21px;
  align-items: center;
  background: #e3e3ca;
  border: 2px solid #a8b295;
  padding: 14px;
}
.leader img {
  width: 94px;
  height: auto;
  border: 2px solid #576e57;
}
.leader p:not(.folio) {
  margin-bottom: 10px;
}
.leader-files {
  display: grid;
  gap: 8px;
}
.lead {
  max-width: 74ch;
}
.manual-layout {
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  gap: 28px;
}
.field-notes figure {
  margin: 0 0 14px;
  border: 3px solid #48644f;
  background: #284839;
}
.field-notes img {
  width: 100%;
  height: auto;
  display: block;
}
.field-notes figcaption {
  color: #ece4c3;
  font: 11px/1.5 var(--mono);
  padding: 5px 8px;
}
.manual details {
  border-block-start: 1px solid #9eaa8c;
}
.manual details:last-child {
  border-block-end: 1px solid #9eaa8c;
}
.manual summary {
  cursor: pointer;
  padding: 11px 2px;
  font: 700 14px/1.4 var(--mono);
}
.manual p {
  margin-bottom: 12px;
}
.manual kbd {
  font: 700 12px var(--mono);
  background: #dce0c6;
  border-bottom: 1px solid #9aa68c;
  padding: 1px 3px;
}
footer {
  color: #beccb3;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, calc(100% - 56px));
  margin: auto;
  padding: 17px 0;
  font: 12px/1.5 var(--mono);
}
footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer img {
  width: 20px;
  height: 20px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
@media (max-width: 870px) {
  .fieldbook {
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .pages {
    width: calc(100% - 32px);
  }
  .partner {
    grid-template-columns: 0.72fr 1fr;
  }
  .partner-body {
    padding: 13px;
  }
  .case {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 700px) {
  .crest {
    transform: scale(0.77);
    height: 28px;
    margin-bottom: 5px;
  }
  .ribbon {
    margin-top: 5px;
    padding: 4px 13px;
    font-size: clamp(12px, 3.1vw, 16px);
  }
  .play {
    font-size: 16px;
    padding: 13px 18px;
  }
  .hero-platform {
    font-size: 10px;
    margin-top: 11px;
  }
  .tabs a {
    min-height: 47px;
    gap: 6px;
    font-size: clamp(9px, 2.45vw, 13px);
    padding: 11px 2px;
  }
  .tabstrip a img {
    width: 20px;
    height: 20px;
  }
  .pages {
    width: calc(100% - 20px);
    margin-top: 16px;
  }
  .page {
    padding: 18px 12px;
  }
  .section-head {
    margin-bottom: 13px;
  }
  .stamp {
    display: none;
  }
  .folio {
    font-size: 9px;
  }
  .dialogue {
    padding: 8px;
    gap: 10px;
    margin-bottom: 16px;
  }
  .dialogue img {
    width: 47px;
    height: 51px;
  }
  .dialogue p {
    font-size: 13px;
    line-height: 1.4;
  }
  .dialogue strong {
    font-size: 11px;
  }
  .fieldbook {
    display: block;
  }
  .picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 8px;
    gap: 3px;
  }
  .picker button {
    display: flex;
    justify-content: center;
    gap: 1px;
    padding: 4px 0;
    font-size: 11px;
    min-height: 43px;
  }
  .picker button img {
    width: 28px;
    height: 30px;
  }
  .picker small {
    font-size: 9px;
  }
  .partner {
    grid-template-columns: minmax(90px, 0.75fr) minmax(0, 1.25fr);
  }
  .partner-body {
    padding: 10px;
  }
  .partner h3 {
    font-size: 17px;
  }
  .partner-body p {
    font-size: 13px;
  }
  .lineage button {
    font-size: 8px;
  }
  .lineage button img {
    height: 30px;
  }
  .plate {
    min-height: 156px;
  }
  .footnote {
    font-size: 10px;
  }
  .manual-layout {
    grid-template-columns: 1fr;
  }
  .case {
    padding: 6px;
    gap: 4px;
  }
  .case a {
    font-size: 10px;
  }
  .case img {
    width: 34px;
    height: 34px;
  }
  .leader {
    align-items: start;
    padding: 9px;
    gap: 10px;
  }
  .leader img {
    width: 57px;
  }
  .leader p:not(.folio),
  .lead {
    font-size: 14px;
  }
  footer {
    width: calc(100% - 24px);
    font-size: 10px;
  }
  #journal {
    padding-bottom: 20px;
  }
}
@media (max-width: 415px) {
  .partner {
    grid-template-columns: 1fr;
  }
  .plate {
    min-height: 155px;
    border-right: 0;
    border-bottom: 1px solid #aeb69a;
  }
  .partner-body {
    display: block;
  }
  .lineage button {
    font-size: 10px;
  }
  .lineage button img {
    height: 40px;
  }
  .dialogue p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .motes i {
    animation: none;
  }
}

/* The field guide reads from coast to championship in one continuous spread. */
#journal {
  padding-bottom: 0;
}
.tabs {
  position: sticky;
  top: 0;
  z-index: 5;
}
.tabstrip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1192px;
}
.tabstrip a {
  min-height: 54px;
  font-size: clamp(11px, 1.1vw, 15px);
  border: 0;
}
.tabstrip a:last-child {
  border: 0;
}
.pages {
  width: 100%;
  margin: 0;
}
.feature,
.launch {
  padding: clamp(44px, 6vw, 84px) max(calc((100% - 1120px) / 2), 5vw);
}
.pages > section,
.launch {
  scroll-margin-top: 66px;
}
.pages > .page {
  width: min(1120px, 90%);
  margin: clamp(36px, 5vw, 64px) auto;
}
.pages > .page + .page {
  margin-top: 0;
}
.feature h2,
.launch h2 {
  font-size: clamp(27px, 3.2vw, 46px);
  max-width: 29ch;
  line-height: 1.16;
}
.feature h3,
.manual-layout h3,
.control-grid h3 {
  font: normal clamp(15px, 1.3vw, 19px) / 1.34 var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0;
}
.world {
  background: linear-gradient(#112b36, #132d34 54%, #172f33);
  color: #f6ebd0;
  border-bottom: 4px double #a4946a;
}
.world .folio {
  color: #d6bf8e;
}
.world-spread {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(26px, 4.8vw, 70px);
}
.dek {
  font:
    clamp(17px, 1.48vw, 21px) / 1.53 Georgia,
    serif;
  margin: 15px 0;
  color: inherit;
}
.world-spread > div > p:not(.dek):not(.folio),
.craft p,
.study p,
.tactics p,
.launch-copy > p:last-child {
  font-size: 15px;
  line-height: 1.65;
  margin: 12px 0 0;
}
.numbers {
  display: flex;
  justify-content: flex-start;
  gap: clamp(18px, 3vw, 48px);
  padding-top: 16px;
  border-top: 1px solid #54716a;
  margin: 22px 0 0;
}
.numbers div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.numbers dd {
  margin: 0;
  color: #f0cd88;
  font: 26px/1 var(--pixel);
}
.numbers dt,
.footage figcaption,
.battle-screen figcaption {
  font: 12px/1.45 var(--mono);
}
.footage,
.battle-screen {
  margin: 0;
  border: 3px solid #304d3e;
  outline: 1px solid #b7ae88;
  box-shadow: 5px 5px #31543c26;
  background: #203f34;
  overflow: hidden;
}
.footage video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  image-rendering: pixelated;
}
.footage figcaption,
.battle-screen figcaption {
  background: #244333;
  color: #f2e7bf;
  padding: 10px 12px;
}
.footage figcaption {
  display: flex;
  justify-content: space-between;
  gap: 4px 14px;
  flex-wrap: wrap;
}
.footage figcaption span {
  color: #d3d9bf;
}
.postcards,
.study-plates,
.tactics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.postcards {
  margin-top: clamp(28px, 4vw, 54px);
}
.postcards figure,
.study-art figure {
  margin: 0;
  min-width: 0;
}
.postcards img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #647c62;
}
.postcards figcaption {
  padding-top: 10px;
}
.postcards b {
  display: block;
  font: 15px/1.35 var(--pixel);
  text-transform: uppercase;
}
.postcards span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 5px;
  color: #c9d6c8;
}
.field-cast {
  margin-top: clamp(26px, 4.5vw, 54px);
}
.field-cast h3 {
  margin: 0 0 18px;
  color: #efcd8e;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cast-row figure {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  margin: 0;
  background: #1a3940;
  border: 1px solid #667567;
}
.cast-row img {
  display: block;
  width: 68px;
  height: auto;
}
.cast-row b {
  color: #fff0c8;
}
.cast-row span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: #cbd9cb;
}
.design {
  color: var(--ink);
  background: #e9e6cf;
  border-block: 4px double #a9ad8f;
}
.design .dek {
  max-width: 64ch;
}
.study-plates {
  margin-top: 26px;
}
.study-art {
  display: flex;
  align-items: flex-end;
  background: #dadfb6;
  background-image:
    linear-gradient(#fff3 1px, transparent 1px),
    linear-gradient(90deg, #fff3 1px, transparent 1px);
  background-size: 14px 14px;
  border: 1px solid #a3ae8e;
  padding: 20px 5px 14px;
}
.marsh .study-art {
  background-color: #c7dfca;
}
.stone .study-art {
  background-color: #e6d4b5;
}
.study-art figure {
  flex: 1;
  text-align: center;
}
.study-art img {
  display: block;
  width: 100%;
  height: auto;
}
.study-art figcaption {
  font: bold clamp(9px, 1vw, 12px) var(--mono);
  padding: 5px 0 0;
}
.study h3 {
  margin: 16px 0 0;
}
.study p,
.tactics p,
.craft p {
  margin-top: 7px;
}
.craft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 21px;
  margin-top: 28px;
  border-top: 1px dashed #a0a98b;
}
.craft h3 {
  margin: 0;
}
.view-plates,
.arena-plates {
  display: grid;
  gap: 12px;
}
.view-plates {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin-top: 18px;
}
.view-plates figure {
  border: 1px solid #a3ae8e;
  background: #eeecd8;
}
.view-plates .views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #d0d9b9;
}
.view-plates img {
  display: block;
  width: 100%;
  height: auto;
}
.view-plates img + img {
  border-left: 1px dashed #93a281;
  background: #c4d2b3;
}
.view-plates figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px;
  padding: 8px;
  font: 700 13px var(--mono);
}
.view-plates small {
  color: #4d6249;
  font-size: 10px;
}
.battles {
  color: #f4eed7;
  background: #142b34;
  border-bottom: 1px solid #627661;
}
.battles .folio,
.launch .folio {
  color: #dac590;
}
.battle-screen {
  margin: 25px 0;
  border-color: #acaa7b;
}
.battle-screen img {
  width: 100%;
  height: auto;
  display: block;
}
.battle-screen figcaption {
  background: #122a24;
}
.arena-plates {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-bottom: 24px;
}
.arena-plates figure {
  border: 1px solid #68735a;
  background: #12302e;
}
.arena-plates img {
  display: block;
  width: 100%;
  height: auto;
}
.arena-plates figcaption {
  padding: 8px 10px;
  color: #f0d79a;
  font: 700 12px var(--mono);
}
.tactics h3 {
  color: #f0cf85;
  margin: 0;
}
.tactics p {
  color: #dde3d2;
}
.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4vw, 45px);
  margin: 25px 0 27px;
}
.control-grid h3,
.manual-layout h3 {
  margin: 0 0 12px;
}
.bindings {
  margin: 0;
}
.bindings > div {
  display: grid;
  grid-template-columns: minmax(118px, 0.75fr) 1fr;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #bdc1a7;
  padding: 10px 0;
}
.bindings dt,
.bindings dd {
  margin: 0;
  font-size: 14px;
}
.bindings dt {
  font-weight: bold;
}
kbd {
  font: 600 12px/1.5 var(--mono);
  display: inline-block;
  color: #334e3d;
  background: #f9f6df;
  border: 1px solid #b1b897;
  border-bottom: 3px solid #9ba889;
  border-radius: 3px;
  padding: 1px 4px;
}
#guide .manual-layout {
  border-top: 2px solid #b7b99d;
  padding-top: 22px;
}
.launch {
  background: #233e32;
  color: #fff0ca;
  text-align: center;
  border-top: 3px double #a29a6d;
}
.launch h2,
.launch .folio {
  margin-inline: auto;
}
.launch-copy > p:last-child {
  margin: 12px auto 24px;
}
.cabinet {
  width: min(100%, 880px);
  margin: 0 auto;
  aspect-ratio: 12/7;
  position: relative;
  background: #162c25;
  border: 4px double #c6ba89;
  box-shadow: 0 6px #132b23;
}
.cabinet iframe,
.cabinet img,
.cabinet #console-cover {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.cabinet img {
  object-fit: cover;
  filter: brightness(0.72);
}
.cabinet .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.console-links {
  margin: 20px 0 0;
  display: flex;
  gap: 12px 25px;
  justify-content: center;
  flex-wrap: wrap;
  font: bold 12px/1.6 var(--mono);
}
@media (max-width: 820px) {
  .world-spread {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .numbers {
    gap: 14px;
  }
  .numbers dd {
    font-size: 22px;
  }
  .numbers dt {
    font-size: 11px;
  }
  .postcards,
  .study-plates,
  .tactics {
    gap: 14px;
  }
  .feature h3 {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .tabs {
    position: static;
  }
  .tabstrip {
    grid-template-columns: repeat(3, 1fr);
  }
  .tabstrip a {
    font-size: 11px;
    min-height: 39px;
    padding: 10px 2px;
  }
  .tabs .active {
    box-shadow: none;
  }
  .tabs .active:after {
    display: none;
  }
  .pages > section,
  .launch {
    scroll-margin-top: 10px;
  }
  .world-spread,
  .control-grid {
    grid-template-columns: 1fr;
  }
  .feature,
  .launch {
    padding: 38px 5vw;
  }
  .pages > .page {
    width: calc(100% - 22px);
    margin: 27px auto;
  }
  .postcards,
  .study-plates,
  .tactics {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .postcards figure {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }
  .postcards figcaption {
    padding: 0;
  }
  .postcards b {
    font-size: 13px;
  }
  .postcards span {
    font-size: 13px;
  }
  .study {
    display: grid;
    grid-template-columns: 42% 1fr;
    column-gap: 14px;
    align-items: start;
  }
  .study-art {
    grid-column: 1/-1;
    min-height: 110px;
    align-items: center;
    padding: 8px;
  }
  .study-art img {
    max-width: 110px;
    margin: auto;
  }
  .study-art figcaption {
    font-size: 11px;
  }
  .study h3 {
    margin-top: 12px;
  }
  .study p {
    font-size: 14px;
    margin-top: 9px;
  }
  .craft {
    gap: 18px;
  }
  .craft p {
    font-size: 14px;
  }
  .control-grid {
    gap: 22px;
  }
  .battle-screen {
    margin: 20px 0;
  }
  .tactics p {
    font-size: 14px;
  }
  .cabinet {
    aspect-ratio: 3/4;
    max-height: 77svh;
  }
  .cabinet img {
    object-position: 55% 50%;
  }
  .console-links {
    font-size: 11px;
  }
  .world-spread > div > p:not(.dek):not(.folio) {
    font-size: 14px;
  }
  .feature h2,
  .launch h2 {
    font-size: 25px;
  }
  .footage figcaption {
    font-size: 10px;
  }
  .numbers {
    justify-content: space-between;
  }
}
@media (max-width: 400px) {
  .postcards figure {
    grid-template-columns: 1fr;
  }
  .postcards figcaption {
    padding: 0;
  }
  .craft {
    grid-template-columns: 1fr;
  }
  .control-grid .bindings > div {
    grid-template-columns: 118px 1fr;
  }
}
.leader {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(150px, 29%);
  gap: 16px;
}
.gym-floor {
  margin: 0;
}
.gym-floor img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 1px solid #8f9a76;
}
.gym-floor figcaption {
  margin-top: 4px;
  font: 10px var(--mono);
  color: #506147;
}
.leader[hidden] {
  display: none;
}
.legends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: center;
  background: #283c3e;
  color: #f6efcf;
  border-block: 3px double #89947b;
}
.legends .folio {
  color: #d4c892;
}
.legends .dek {
  font-size: 19px;
}
.legends p:last-child {
  font-size: 15px;
  line-height: 1.65;
}
.legend-trio {
  display: flex;
  align-items: end;
  background: radial-gradient(ellipse at center, #6880787a, transparent 70%);
  padding: 12px 0;
}
.legend-trio figure {
  margin: 0;
  width: 33.333%;
  text-align: center;
}
.legend-trio img {
  width: 100%;
  height: auto;
  display: block;
}
.legend-trio b,
.legend-trio small {
  display: block;
}
.legend-trio b {
  font: clamp(11px, 1.2vw, 17px) / 1.6 var(--pixel);
  text-transform: uppercase;
}
.legend-trio small {
  font: 11px var(--mono);
  color: #ded6b3;
}
@media (max-width: 700px) {
  .leader {
    grid-template-columns: 54px 1fr;
    gap: 10px;
  }
  .gym-floor {
    grid-column: 1/-1;
    max-width: 400px;
  }
  .legends {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .legend-trio {
    max-width: 480px;
  }
  .legend-trio small {
    font-size: 9px;
  }
}

@media (min-width: 701px) and (max-width: 960px) {
  .hero {
    height: 555px;
  }
  .title-block {
    top: 88px;
    left: 6%;
  }
  .hero-intro {
    font-size: 18px;
  }
  .cast-row figure {
    grid-template-columns: 55px 1fr;
  }
  .cast-row img {
    width: 55px;
  }
}
@media (max-width: 700px) {
  .hero {
    height: clamp(630px, 126vw, 790px);
  }
  .panorama img {
    object-position: 62% center;
  }
  .hero::after {
    background: linear-gradient(
      #081e32ae,
      #081e32bd 31%,
      #102d3d0a 69%,
      #071f29b0
    );
  }
  .title-block {
    inset: 9% 6% auto;
    width: auto;
    align-items: center;
    text-align: center;
  }
  h1 {
    align-items: center;
  }
  h1 img {
    width: min(86vw, 430px);
  }
  .hero-intro {
    font-size: 18px;
    margin-top: 16px;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 21px;
  }
  .hero-platform {
    margin-top: 10px;
  }
  .cast-row {
    grid-template-columns: 1fr;
  }
}
