@import url('assets/alttp/fonts.css');
:root {
  --forest: #10271f;
  --deep: #091611;
  --cream: #edf0e6;
  --paper: #f4f4e9;
  --red: #942b27;
  --gold: #d4bd7d;
  --navy: #101c30;
  --blue: #213b68;
  --ink: #263630;
  --muted: #5c6a5e;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 26px;
}
body {
  margin: 0;
  background: var(--forest);
  color: var(--ink);
  font:
    400 16px/1.7 'Archivo',
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img,
svg {
  vertical-align: middle;
  max-width: 100%;
}
img {
  height: auto;
}
figure,
p,
h1,
h2,
h3,
h4 {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a,
button,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex='0']:focus-visible {
  outline: 3px solid #dbb661;
  outline-offset: 5px;
}
button {
  border-radius: 0;
}
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.16;
}
h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(32px, 3.6vw, 50px);
  letter-spacing: -1.5px;
}
h3 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
}
p + p {
  margin-top: 18px;
}
em {
  font-style: normal;
}
svg.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: 12px;
  transform: translateY(-200%);
  background: #fff;
  padding: 12px;
  color: #182b23;
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: min(1180px, calc(100% - 96px));
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.3px;
  line-height: 1.5;
}
.gold {
  color: var(--gold);
}
.red {
  color: var(--red);
}
.theme-sun {
  display: none;
}
:root[data-theme='dark'] .theme-sun {
  display: block;
}
:root[data-theme='dark'] .theme-moon {
  display: none;
}
.reveal-pending {
  opacity: 0;
}
.lost-woods {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b2019;
  color: #f6f3dc;
  min-height: 704px;
}
.woods-art {
  position: absolute;
  z-index: -3;
  width: 79%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  right: -3%;
  top: 0;
}
.woods-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #0b211bf7 0%, #0b211bed 26%, #0b211b85 48%, transparent 66%),
    linear-gradient(0deg, #0b211b 0%, transparent 30%);
}
.hero-inner {
  position: relative;
  padding-top: 28px;
  padding-bottom: 65px;
}
.breadcrumb {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #d9e3d3;
  text-transform: uppercase;
}
.breadcrumb a {
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb > span {
  text-shadow: 0 1px 8px #000;
}
.hero-copy {
  width: 50%;
  max-width: 565px;
  padding-top: 45px;
}
.hero-copy > .eyebrow {
  letter-spacing: 4px;
  margin-left: 20px;
}
.hero-copy h1 {
  position: relative;
  font-weight: 500;
  margin: 9px 0 25px;
}
.hero-copy h1 img {
  width: 335px;
  height: 245px;
  object-fit: contain;
  object-position: left top;
  filter: drop-shadow(0 4px 14px #0005);
}
.hero-copy h1 > span {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 30px;
  line-height: 1.2;
  margin-top: -28px;
  margin-left: 80px;
  white-space: nowrap;
  color: #fff3ce;
  text-shadow: 0 2px 5px #000;
}
.hero-line {
  font:
    500 clamp(29px, 3.2vw, 42px)/1.18 'Cinzel',
    serif;
  letter-spacing: -1px;
  margin-top: 30px;
  color: #ebd9a4;
}
.hero-intro {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.8;
  color: #c1d0c3;
  margin-top: 20px;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.gold-button,
.red-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.gold-button {
  background: var(--gold);
  border-color: var(--gold);
  color: #172a21;
}
.gold-button:hover {
  background: #e9d7a6;
  box-shadow: 0 5px 20px #0002;
  transform: translateY(-2px);
}
.red-button {
  background: var(--red);
  color: #fff9ea;
  border-color: var(--red);
}
.red-button:hover {
  background: #74211e;
  transform: translateY(-2px);
}
.gold-button svg,
.red-button svg,
.outline-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.quiet-link {
  font-size: 12px;
  color: #dfddb9;
  border-bottom: 1px solid #a8a98760;
  padding-bottom: 4px;
}
.quiet-link:hover {
  color: white;
}
.woods-coordinate {
  position: absolute;
  right: 20px;
  bottom: 35px;
  color: #d8e1ce;
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.2px;
}
.woods-coordinate span {
  font-style: normal;
  display: block;
  letter-spacing: 3px;
  font-size: 10px;
  color: #ede8c0;
  margin-bottom: 4px;
}
.quest-index {
  background: #0b1a15;
  color: #bdc9b4;
  border-top: 1px solid #c9b36933;
  border-bottom: 1px solid #c9b36950;
}
.quest-index > .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.quest-index a {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 25px 12px;
  transition:
    background 0.25s,
    color 0.25s;
}
.quest-index a:hover {
  background: #a1b0810c;
  color: #f4e4b3;
}
.quest-index b {
  font:
    400 24px 'Cinzel',
    serif;
  color: var(--gold);
}
.legend-page {
  background: var(--cream);
  padding: 85px 0 0;
  position: relative;
}
.legend-layout {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 20px 75px;
}
.legend-copy h2 {
  margin: 20px 0 24px;
  color: #253c2e;
}
.legend-copy .lead {
  font-family: 'Cinzel', serif;
  font-size: 21px;
  color: var(--red);
  margin-bottom: 16px;
}
.legend-copy > p:not(.eyebrow):not(.lead) {
  max-width: 495px;
  font-size: 15px;
  line-height: 1.85;
  color: #536154;
}
.text-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  border-bottom: 1px solid #942b273c;
  padding-bottom: 3px;
  margin-top: 22px;
}
.text-link:hover {
  border-color: currentColor;
}
.hero-illustration {
  align-self: center;
  text-align: center;
  position: relative;
  padding-top: 5px;
}
.hero-illustration > img {
  width: min(100%, 435px);
  filter: drop-shadow(0 10px 2px #2f443a15);
}
.hero-illustration figcaption {
  margin-top: 20px;
  color: #697664;
}
.hero-illustration figcaption span {
  font-size: 9px;
  letter-spacing: 2px;
  display: block;
}
.hero-illustration figcaption i {
  font:
    400 17px/2 'Cinzel',
    serif;
}
.legend-foot {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 32px 0;
  margin-top: 45px;
  border-top: 1px solid #45584432;
}
.snes-label {
  color: #9b302c;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -1px;
  line-height: 1.05;
}
.snes-label small {
  display: block;
  font-size: 7px;
  letter-spacing: 3px;
  font-weight: 500;
  font-style: normal;
  line-height: 2;
}
.legend-foot p {
  font-size: 11px;
  color: #5e6e5c;
  line-height: 1.5;
  border-left: 1px solid #9aa998;
  padding-left: 35px;
}
.legend-foot svg {
  width: 37px;
  height: 33px;
  fill: #aaa779;
  margin-left: auto;
}
.adventure-room {
  background: radial-gradient(ellipse at 18% 37%, #30495833, transparent 52%), #111b2a;
  color: #dce0d3;
  padding: 85px 0 75px;
  border-top: 5px solid #263c37;
  border-bottom: 5px solid #263c37;
}
.room-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 48px;
}
.room-heading h2 {
  font-size: clamp(30px, 3.3vw, 46px);
  margin-top: 17px;
  line-height: 1.22;
  color: #efe9cc;
}
.room-heading h2 em {
  color: #a1b9b0;
}
.room-heading > p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 280px;
  padding-bottom: 6px;
  color: #a7b5c1;
}
.adventure-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 70px;
}
.console-column {
  min-width: 0;
}
.console-view {
  max-width: 390px;
  margin: auto;
}
.new-console {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 28px 25px #0006);
}
.console-view figcaption {
  text-align: center;
  font-size: 8px;
  letter-spacing: 2.3px;
  color: #99a9b7;
  margin-top: 22px;
}
.console-display {
  height: 100%;
  background: #070b12;
}
.gallery-stage {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #000;
  border: none;
  color: #fff;
}
.gallery-stage > svg {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.gallery-stage > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #000a;
  color: #fff;
  font:
    25px 'VT323',
    monospace;
  padding: 2px 9px;
  opacity: 0.9;
}
.gallery-stage:hover > span {
  background: #143a29;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 30px auto 0;
  max-width: 465px;
}
.gallery-thumb {
  background: #0c1423;
  border: 1px solid #6b7a8e80;
  color: #aebaca;
  position: relative;
  padding: 5px 5px 8px;
  width: calc((100% - 20px) / 3);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.gallery-thumb > svg {
  width: 100%;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
  background: #080c12;
}
.gallery-thumb > span {
  display: block;
  font:
    15px 'VT323',
    monospace;
  letter-spacing: 0.5px;
  margin-top: 7px;
}
.gallery-thumb[aria-pressed='true'] {
  border-color: #efdaa3;
  background: #cdb78412;
  color: #eddaaa;
  box-shadow: inset 0 0 0 1px #edd6a366;
}
.gallery-thumb:hover {
  border-color: #fff0be;
}
.gallery-caption {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  max-width: 465px;
  min-height: 113px;
  margin: 26px auto 0;
}
.gallery-caption > span {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: #d6bb78;
}
.gallery-caption h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
  color: #e9e3c8;
}
.gallery-caption p {
  font-size: 12px;
  color: #a8b4c0;
  line-height: 1.8;
}
.preview-note {
  font-size: 9px;
  color: #a0a9b5;
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 3px;
}
.inventory-column {
  padding-top: 10px;
}
.inventory-box {
  background: #233f73;
  border: 4px solid #8197b7;
  box-shadow:
    0 0 0 2px #080f20,
    inset 0 0 0 2px #142343,
    7px 7px 0 #080f204d;
  padding: 19px 23px 24px;
}
.inventory-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font:
    20px 'VT323',
    monospace;
  letter-spacing: 0.8px;
  color: #e4ddaa;
}
.inventory-title > span:last-child {
  color: #f5867b;
  font-size: 18px;
  white-space: nowrap;
}
.inventory-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid #7c91b088;
}
.inventory-options button {
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #192d5680;
  color: #b7c8de;
  font:
    19px 'VT323',
    monospace;
  padding: 9px 5px 5px;
  position: relative;
  transition:
    background 0.2s,
    border 0.2s;
}
.inventory-options button img {
  height: 51px;
  width: 60px;
  object-fit: contain;
  filter: drop-shadow(2px 3px 0 #0005);
  margin-bottom: 5px;
}
.inventory-options button[aria-selected='true'] {
  border-color: #edca72;
  color: #fff0b0;
  background: #304f86;
}
.inventory-options button[aria-selected='true']:before {
  content: '◆';
  color: #ffedab;
  font-size: 13px;
  position: absolute;
  top: -12px;
  left: calc(50% - 5px);
}
.inventory-options button:hover {
  background: #37558c;
}
.kit-panel {
  padding-top: 23px;
  min-height: 243px;
}
.kit-label {
  font-size: 8px;
  letter-spacing: 2.3px;
  color: #b4c8e7;
}
.kit-panel h3 {
  font-family: 'Cinzel', serif;
  font-size: 25px;
  color: #fff0c2;
  margin: 12px 0 15px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.kit-panel > p:not(.kit-label) {
  font-size: 13px;
  line-height: 1.85;
  color: #d0d9e7;
}
.kit-panel .kit-foot {
  font:
    17px/1.3 'VT323',
    monospace !important;
  color: #e3cc8b !important;
  margin-top: 17px;
}
.display-guide {
  padding: 32px 2px 0;
}
.display-guide > .eyebrow {
  font-size: 9px;
  color: #a2b4ca;
  letter-spacing: 1.7px;
}
.mode-buttons {
  display: flex;
  margin-top: 12px;
  gap: 7px;
}
.mode-buttons button {
  font:
    18px 'VT323',
    monospace;
  background: transparent;
  border: 1px solid #607188;
  color: #a7b8cb;
  flex: 1;
  padding: 7px 5px;
  transition:
    color 0.2s,
    background 0.2s;
}
.mode-buttons button[aria-pressed='true'] {
  background: #d8c48d;
  border-color: #d8c48d;
  color: #131e2b;
}
.mode-buttons button:hover {
  border-color: #e0d9b6;
}
.mode-diagram {
  width: 160px;
  aspect-ratio: 5/3;
  border: 2px solid #8c9faf;
  margin: 24px auto 15px;
  display: grid;
  place-items: center;
  position: relative;
  background: #080e18;
}
.mode-diagram > div {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(0deg, #49625088 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, #49625088 0 1px, transparent 1px 12px), #1c352d;
  display: grid;
  place-items: center;
  transition:
    width 0.35s,
    height 0.35s;
}
.mode-diagram svg {
  width: 35px;
  height: 31px;
  fill: #c9b475;
  transition: transform 0.35s;
}
.mode-diagram[data-selected='original'] > div {
  width: 64%;
  height: 93.33%;
}
.mode-diagram[data-selected='stretch'] svg {
  transform: scaleX(1.45);
}
.mode-diagram > span {
  position: absolute;
  bottom: -18px;
  font-size: 7px;
  letter-spacing: 1px;
  color: #8ea0b3;
  white-space: nowrap;
}
.mode-description {
  min-height: 100px;
  margin-top: 35px;
}
.mode-description h4 {
  font:
    500 14px 'Archivo',
    sans-serif;
  color: #e2d9b8;
  margin-bottom: 8px;
}
.mode-description p {
  font-size: 12px;
  line-height: 1.75;
  color: #a8b6c5;
}
.diagram-note {
  font-size: 10px;
  line-height: 1.6;
  color: #889db3;
}
.hardware-section {
  background: #e2e9e3;
  padding: 75px 0;
}
.hardware-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 85px;
  align-items: center;
}
.old-console {
  width: 300px;
  max-width: 100%;
  margin: auto;
  transform: rotate(-3deg);
}
.old-console svg {
  width: 100%;
  filter: drop-shadow(0 20px 16px #1f3b342f);
}
.old-console figcaption {
  font-size: 9px;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 24px;
  transform: rotate(3deg);
  color: #63766c;
}
.hardware-copy h2 {
  margin: 16px 0 24px;
}
.hardware-copy > p:not(.eyebrow) {
  font-size: 14px;
  color: #57685d;
  max-width: 550px;
}
.generation-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
  border-block: 1px solid #4a604a40;
  padding: 20px 0;
  margin: 27px 0 0;
}
.generation-notes span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #314f38;
}
.generation-notes p {
  font-size: 12px;
  color: #586a5e;
  line-height: 1.75;
  margin-top: 7px;
}
.hardware-copy > .hardware-note {
  font-size: 11px !important;
  line-height: 1.7;
}
.hardware-note a {
  border-bottom: 1px solid #576b5499;
}
.field-manual {
  background: var(--paper);
  padding: 78px 0 0;
}
.manual-heading {
  border-bottom: 2px solid #6e6e5629;
  padding-bottom: 30px;
}
.manual-heading h2 {
  margin: 14px 0;
  color: var(--red);
}
.manual-heading > p:last-child {
  font-size: 15px;
  color: #737961;
}
.setup-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 100px;
  padding: 58px 0 65px;
}
.setup-intro > img {
  width: 115px;
  display: block;
  margin-bottom: 20px;
  transform: rotate(-6deg);
}
.setup-intro h3 {
  font-size: 28px;
  color: #345737;
}
.setup-intro p {
  margin-top: 15px;
  color: #5d695b;
  font-size: 14px;
  max-width: 295px;
}
.setup-intro .red-button {
  margin-top: 25px;
}
.setup-intro > .text-link {
  display: block;
  width: fit-content;
  font-size: 11px;
  margin-top: 15px;
}
.setup-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.setup-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #63775c30;
}
.setup-steps li:first-child {
  padding-top: 0;
}
.setup-steps li:last-child {
  border: 0;
  padding-bottom: 0;
}
.setup-steps li > span {
  font:
    400 29px 'Cinzel',
    serif;
  color: #a0aa82;
}
.setup-steps h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #373f31;
  margin: 5px 0 8px;
}
.setup-steps p {
  font-size: 13px;
  color: #5e6657;
  line-height: 1.85;
}
code {
  font-family: monospace;
  font-size: 0.95em;
  overflow-wrap: anywhere;
}
.path {
  display: block;
  background: #e3e8d7;
  border-left: 3px solid #768962;
  color: #274a31;
  padding: 10px 15px;
  margin-top: 14px;
  letter-spacing: 0.2px;
  font-size: 13px;
}
kbd {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #8b947b;
  border-bottom-width: 2px;
  border-radius: 4px;
  font:
    600 11px 'Archivo',
    sans-serif;
  margin-inline: 1px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  padding: 65px 0;
  border-top: 1px solid #57684940;
  scroll-margin-top: 40px;
}
.faq-intro > img {
  width: 74px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin-bottom: 22px;
}
.faq-intro h2 {
  font-size: 36px;
  margin-top: 15px;
  color: #365539;
}
.faq-intro p:last-child {
  font-size: 13px;
  color: #75806b;
  max-width: 225px;
  margin-top: 18px;
}
.faq-list {
  border-top: 1px solid #62775665;
}
.faq-item {
  border-bottom: 1px solid #6277564d;
}
.faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-number {
  font:
    400 17px 'Cinzel',
    serif;
  color: #8f976f;
  flex-shrink: 0;
}
.faq-item h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}
.faq-plus {
  color: var(--red);
  font-size: 23px;
  line-height: 1;
  transition: transform 0.3s;
  font-weight: 400;
}
.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}
.faq-item[open] h3,
.faq-item summary:hover h3 {
  color: var(--red);
}
.faq-answer {
  padding: 0 30px 25px 41px;
}
.faq-answer p {
  font-size: 13px;
  line-height: 1.9;
  color: #5b6759;
}
.quest-status {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 32px 0 38px;
  border-top: 1px solid #63755640;
}
.quest-status > svg {
  width: 58px;
  height: 51px;
  fill: #a59a57;
  flex-shrink: 0;
}
.quest-status h3 {
  font-size: 23px;
  margin: 6px 0 10px;
  color: #364f32;
}
.quest-status p {
  font-size: 11px;
  color: #73806b;
  max-width: 490px;
}
.quest-status .eyebrow {
  font-size: 8px;
  color: #8b714e;
}
.status-meter {
  margin-left: auto;
  min-width: 160px;
  text-align: right;
}
.status-meter strong {
  font:
    400 36px 'Cinzel',
    serif;
  color: #3e603a;
}
.status-meter strong small {
  font-size: 16px;
}
.status-meter [role='progressbar'] {
  height: 4px;
  background: #a4b68c;
  margin: 9px 0 12px;
}
.status-meter [role='progressbar'] span {
  display: block;
  width: 100%;
  height: 100%;
  background: #73875a;
}
.status-meter a {
  font-size: 10px;
  color: #536e4a;
}
.sahasrahla-help {
  background: radial-gradient(ellipse at 15% 40%, #32644944, transparent 70%), #152c23;
  padding: 75px 0;
  color: #ccd6c2;
  border-block: 1px solid #8e987447;
}
.help-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 65px;
  max-width: 1000px;
}
.help-layout > img {
  width: 90px;
  image-rendering: auto;
  justify-self: center;
  align-self: center;
  filter: drop-shadow(0 0 32px #d8c47b33);
}
.help-layout h2 {
  font-size: 36px;
  color: #e6dab3;
  margin: 15px 0 23px;
}
.help-layout p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  max-width: 720px;
  color: #afc2ac;
}
.help-layout code {
  color: #d9dabb;
}
.support-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 27px;
}
.outline-button {
  border-color: #8d9b7366;
  color: #dfe1b8;
  background: transparent;
}
.outline-button:hover {
  background: #72876226;
  border-color: #bac494;
}
.alttp-footer {
  background: #0c1e18;
  color: #94a992;
  padding: 35px 0 30px;
  font-size: 10px;
  line-height: 1.9;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
  font-size: 11px;
}
.footer-brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  letter-spacing: -0.5px;
  color: #c8d2bd;
}
.alttp-footer a:hover {
  color: #efe3bd;
}
.alttp-footer > div > p a {
  color: #c2c9a8;
  border-bottom: 1px solid #81915a55;
}
.art-credits {
  margin-top: 17px;
  max-width: 950px;
}
.art-credits summary {
  list-style: none;
  cursor: pointer;
  color: #b6c3a8;
  display: flex;
  align-items: center;
  gap: 16px;
}
.art-credits summary::-webkit-details-marker {
  display: none;
}
.art-credits summary > span {
  font-size: 18px;
  transition: transform 0.3s;
}
.art-credits[open] summary > span {
  transform: rotate(45deg);
}
.art-credits > div {
  padding-top: 15px;
}
.art-credits a {
  border-bottom: 1px solid #81915a55;
}
.lightbox {
  background: #101c2b;
  color: #e4e4ce;
  border: 2px solid #94a48c;
  padding: 22px;
  max-width: min(90vw, 1100px);
  width: 100%;
  max-height: 92vh;
  box-shadow: 0 20px 90px #000a;
}
.lightbox::backdrop {
  background: #03100feb;
  backdrop-filter: blur(6px);
}
.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.lightbox h2 {
  font:
    500 20px 'Cinzel',
    serif;
  letter-spacing: 0;
}
.lightbox button {
  background: transparent;
  color: #e4d6a7;
  border: 1px solid #889678;
  min-width: 42px;
  min-height: 42px;
  font-size: 23px;
}
.lightbox button:hover {
  background: #394936;
}
.lightbox-screen {
  height: min(65vh, 680px);
  background: #070c12;
  display: grid;
  place-items: center;
}
.lightbox-screen svg {
  height: 100%;
  width: 100%;
  image-rendering: pixelated;
}
.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  gap: 20px;
}
.lightbox-controls p {
  font-size: 10px;
  line-height: 1.7;
  color: #a4b5a3;
}
.lightbox-controls > div {
  display: flex;
  gap: 8px;
}
@media (min-width: 1600px) {
  .wrap {
    width: min(1280px, calc(100% - 140px));
  }
  .lost-woods {
    min-height: 760px;
  }
  .hero-copy {
    padding-top: 55px;
  }
  .hero-copy h1 img {
    width: 375px;
    height: 280px;
  }
  .woods-art {
    object-position: 50% 57%;
  }
  .hero-copy h1 > span {
    margin-left: 93px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 70px);
  }
  .hero-copy {
    width: 53%;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-copy h1 > span {
    font-size: 26px;
    margin-left: 65px;
  }
  .hero-copy h1 img {
    width: 315px;
  }
  .legend-layout {
    gap: 20px 35px;
  }
  .adventure-layout {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .room-heading {
    gap: 30px;
  }
  .room-heading > p {
    max-width: 245px;
  }
  .inventory-box {
    padding: 17px;
  }
  .inventory-title {
    font-size: 18px;
  }
  .kit-panel h3 {
    font-size: 22px;
  }
  .hardware-layout {
    gap: 45px;
  }
  .setup-layout {
    gap: 65px;
  }
  .faq-layout {
    gap: 40px;
  }
  .help-layout {
    gap: 35px;
    grid-template-columns: 140px 1fr;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 42px);
  }
  h2 {
    letter-spacing: -0.9px;
  }
  .lost-woods {
    min-height: 775px;
  }
  .hero-inner {
    padding-top: 20px;
    padding-bottom: 250px;
  }
  .breadcrumb {
    font-size: 8px;
    letter-spacing: 0.6px;
    gap: 12px;
  }
  .woods-art {
    width: 100%;
    height: 67%;
    top: auto;
    bottom: -10px;
    right: 0;
    object-position: center 64%;
  }
  .woods-shade {
    background: linear-gradient(
      180deg,
      #0b211b 0%,
      #0b211bf0 33%,
      #0b211b70 59%,
      #0b211b05 75%,
      #0b211b80 100%
    );
  }
  .hero-copy {
    width: 100%;
    max-width: 540px;
    padding-top: 33px;
    margin: auto;
    text-align: center;
  }
  .hero-copy > .eyebrow {
    margin: 0;
    font-size: 9px;
    letter-spacing: 3px;
  }
  .hero-copy h1 {
    margin: 13px 0 19px;
  }
  .hero-copy h1 img {
    width: 245px;
    height: 180px;
    object-position: center;
    position: relative;
    left: -28px;
  }
  .hero-copy h1 > span {
    margin-left: 40px;
    margin-top: -15px;
    font-size: 25px;
  }
  .hero-line {
    font-size: 29px;
    line-height: 1.2;
    margin-top: 22px;
  }
  .hero-line br {
    display: none;
  }
  .hero-intro {
    margin: 17px auto 0;
    font-size: 13px;
    max-width: 365px;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 20px;
    gap: 18px;
  }
  .hero-actions .gold-button {
    padding: 12px 14px;
    font-size: 11px;
  }
  .quiet-link {
    font-size: 11px;
  }
  .woods-coordinate {
    right: 0;
    bottom: 22px;
    left: 0;
    text-align: center;
    font-size: 10px;
  }
  .woods-coordinate span {
    font-size: 8px;
  }
  .quest-index > .wrap {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .quest-index a {
    padding: 16px 0;
    gap: 14px;
    font-size: 11px;
  }
  .quest-index a:nth-child(-n + 2) {
    border-bottom: 1px solid #7b906144;
  }
  .quest-index b {
    font-size: 21px;
    width: 28px;
    text-align: center;
  }
  .legend-page {
    padding-top: 48px;
  }
  .legend-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .legend-copy h2 {
    font-size: 35px;
    margin-top: 14px;
  }
  .legend-copy .lead {
    font-size: 20px;
  }
  .legend-copy > p:not(.eyebrow):not(.lead) {
    font-size: 14px;
    max-width: 100%;
  }
  .hero-illustration {
    max-width: 340px;
    margin: auto;
  }
  .hero-illustration figcaption {
    margin-top: 10px;
  }
  .hero-illustration figcaption i {
    font-size: 15px;
  }
  .legend-foot {
    gap: 22px;
    padding: 25px 0;
    margin-top: 0;
  }
  .legend-foot p {
    padding-left: 22px;
    font-size: 10px;
  }
  .snes-label {
    font-size: 14px;
  }
  .snes-label small {
    font-size: 5px;
    letter-spacing: 2px;
  }
  .legend-foot svg {
    width: 25px;
    height: 23px;
  }
  .adventure-room {
    padding: 48px 0;
  }
  .room-heading {
    display: block;
    margin-bottom: 30px;
  }
  .room-heading h2 {
    font-size: 32px;
  }
  .room-heading > p {
    max-width: 450px;
    font-size: 13px;
    margin-top: 18px;
  }
  .adventure-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .console-view {
    max-width: 315px;
  }
  .console-view figcaption {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .gallery-thumbs {
    margin-top: 25px;
    max-width: 400px;
  }
  .gallery-thumb > span {
    font-size: 15px;
  }
  .gallery-caption {
    min-height: 104px;
  }
  .preview-note {
    margin-top: 4px;
  }
  .inventory-column {
    padding: 0;
    max-width: 480px;
    margin: auto;
    width: 100%;
  }
  .inventory-box {
    padding: 18px 20px;
  }
  .inventory-title {
    font-size: 20px;
  }
  .kit-panel {
    min-height: 217px;
  }
  .kit-panel h3 {
    font-size: 24px;
  }
  .display-guide {
    padding-top: 27px;
  }
  .mode-description {
    min-height: 85px;
  }
  .hardware-section {
    padding: 45px 0;
  }
  .hardware-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .old-console {
    width: 235px;
    order: 2;
  }
  .hardware-copy h2 {
    font-size: 33px;
  }
  .hardware-copy h2 br {
    display: none;
  }
  .generation-notes {
    gap: 22px;
  }
  .field-manual {
    padding-top: 47px;
  }
  .manual-heading h2 {
    font-size: 33px;
  }
  .manual-heading > p:last-child {
    font-size: 13px;
  }
  .setup-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 35px 0 43px;
  }
  .setup-intro {
    position: relative;
    padding-right: 90px;
  }
  .setup-intro > img {
    position: absolute;
    width: 80px;
    right: 0;
    top: 7px;
  }
  .setup-intro h3 {
    font-size: 23px;
  }
  .setup-intro p {
    font-size: 13px;
  }
  .setup-intro .red-button {
    font-size: 11px;
    padding: 12px 14px;
  }
  .setup-intro .text-link {
    font-size: 10px;
  }
  .setup-steps li {
    gap: 14px;
    grid-template-columns: 34px 1fr;
  }
  .setup-steps li > span {
    font-size: 25px;
  }
  .setup-steps h3 {
    font-size: 16px;
  }
  .setup-steps p {
    font-size: 12px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .faq-intro {
    position: relative;
    padding-right: 75px;
  }
  .faq-intro > img {
    position: absolute;
    right: 0;
    top: 5px;
    width: 60px;
  }
  .faq-intro h2 {
    font-size: 30px;
  }
  .faq-intro h2 br {
    display: none;
  }
  .faq-intro p:last-child {
    max-width: 100%;
    font-size: 12px;
  }
  .faq-item summary {
    gap: 14px;
    padding: 20px 0;
  }
  .faq-item h3 {
    font-size: 14px;
  }
  .faq-answer {
    padding: 0 15px 23px 34px;
  }
  .faq-answer p {
    font-size: 12px;
  }
  .quest-status {
    gap: 16px;
    flex-wrap: wrap;
    padding: 30px 0;
  }
  .quest-status > svg {
    width: 36px;
    height: 31px;
  }
  .quest-status > div:nth-child(2) {
    flex: 1;
  }
  .quest-status h3 {
    font-size: 20px;
  }
  .quest-status p {
    font-size: 10px;
  }
  .status-meter {
    width: 100%;
    text-align: left;
    margin: 0 0 0 52px;
    min-width: 0;
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 2px 15px;
    align-items: center;
  }
  .status-meter strong {
    font-size: 27px;
    grid-row: 1/3;
  }
  .status-meter [role='progressbar'] {
    margin: 5px 0 0;
  }
  .status-meter a {
    font-size: 9px;
  }
  .sahasrahla-help {
    padding: 43px 0;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .help-layout > img {
    display: none;
  }
  .help-layout h2 {
    font-size: 30px;
  }
  .help-layout p:not(.eyebrow) {
    font-size: 12px;
  }
  .support-actions {
    gap: 12px;
  }
  .support-actions > a {
    font-size: 11px;
    padding: 13px 16px;
    flex: 1;
    white-space: nowrap;
  }
  .support-actions svg {
    width: 17px;
    height: 17px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 10px;
  }
  .footer-brand {
    width: 100%;
    font-size: 20px;
  }
  .alttp-footer {
    font-size: 9px;
    padding: 27px 0;
  }
  .lightbox {
    padding: 12px;
    max-width: 96vw;
  }
  .lightbox h2 {
    font-size: 15px;
  }
  .lightbox-screen {
    height: min(60vh, 500px);
  }
}
@media (max-width: 360px) {
  .hero-copy h1 > span {
    font-size: 22px;
  }
  .hero-line {
    font-size: 27px;
  }
  .hero-actions {
    gap: 14px;
  }
  .quest-index a {
    font-size: 10px;
    gap: 9px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .inventory-box {
    padding: 16px 13px;
  }
  .inventory-title {
    font-size: 18px;
  }
  .inventory-options {
    gap: 7px;
  }
  .kit-panel {
    min-height: 240px;
  }
  .gallery-thumb > span {
    font-size: 13px;
  }
  .setup-intro {
    padding-right: 75px;
  }
  .setup-intro > img {
    width: 65px;
  }
  .legend-foot {
    gap: 14px;
  }
  .legend-foot p {
    padding-left: 14px;
  }
  .generation-notes {
    gap: 15px;
  }
  .support-actions > a {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .reveal-pending {
    opacity: 1;
  }
}

/* Keep the complete original wordmark on a light booklet title plate. */
.hero-copy h1 {
  isolation: isolate;
  width: 360px;
  max-width: 100%;
  padding: 16px 20px;
}
.hero-copy h1:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, #cfc18a, #f0e6b8 48%, #dbcc94);
  border: 1px solid #d4c380;
  box-shadow: 0 8px 25px #0002;
}
.hero-copy h1 img {
  display: block;
  object-position: center;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 5px #0003);
}
.hero-copy h1 > .sr-only {
  position: absolute;
  margin: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.breadcrumb > span {
  background: #10271fa6;
  padding: 3px 8px;
  color: #e2e7d6;
}
.breadcrumb {
  align-items: center;
}
@media (max-width: 760px) {
  .hero-copy h1 {
    width: 285px;
    margin: 14px auto 20px;
    padding: 14px 18px;
  }
  .hero-copy h1 img {
    width: 100%;
    height: auto;
    left: 0;
  }
  .hero-inner {
    padding-bottom: 230px;
  }
  .hero-copy h1 > .sr-only {
    margin: 0;
  }
}
@media (max-width: 760px) {
  .woods-art {
    height: 290px;
    bottom: 0;
    object-position: center 55%;
  }
  .woods-shade {
    background: linear-gradient(
      180deg,
      #0b211b 0%,
      #0b211b 56%,
      #0b211b99 69%,
      transparent 83%,
      #0b211b88 100%
    );
  }
  .hero-inner {
    padding-bottom: 255px;
  }
  .hero-line {
    font-size: 27px;
    line-height: 1.25;
  }
  .hero-line br {
    display: block;
  }
}
@media (max-width: 360px) {
  .hero-line {
    font-size: 23px;
  }
  .hero-copy h1 {
    width: 265px;
  }
  .hero-copy h1 img {
    width: 100%;
    height: auto;
  }
}

/* Each complete introduction is centred within its neighbouring list. */
.setup-intro,
.faq-intro {
  text-align: center;
  padding-right: 0;
  align-self: center;
}
.setup-intro > img,
.faq-intro > img {
  position: static;
  margin-inline: auto;
}
.setup-intro p,
.faq-intro p:last-child {
  margin-inline: auto;
}
.setup-intro > .text-link {
  margin-inline: auto;
}
@media (min-width: 761px) {
  .setup-intro > img {
    width: 128px;
  }
  .faq-intro > img {
    width: 92px;
    height: auto;
  }
}

.gallery-stage > svg.artwork-view,
.lightbox-screen svg.artwork-view,
.gallery-thumb:last-child > svg {
  image-rendering: auto;
}
/* Keep the framing visible while its dimensions move continuously. */
.mode-description {
  position: relative;
  min-height: 120px;
}
.mode-diagram > div {
  transition:
    width 550ms cubic-bezier(0.22, 1, 0.36, 1),
    height 550ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mode-diagram svg {
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .mode-diagram > div,
  .mode-diagram svg {
    transition: none;
  }
}
