@font-face {
  font-family: "Jersey 10";
  src: url("./fonts/Jersey10-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Pixelify Sans";
  src: url("./fonts/PixelifySans.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("./fonts/DMMono-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --night: #06111f;
  --night-2: #0b1e33;
  --hull: #102c47;
  --sky: #79c8e8;
  --sky-pale: #b9e8f3;
  --cream: #f3e7c9;
  --cream-2: #dfcfaa;
  --crimson: #c83c32;
  --crimson-dark: #86271f;
  --brass: #d6a84e;
  --brass-dark: #8a672b;
  --ink: #071521;
  --line: 3px solid var(--night);
  --display: "Jersey 10", "DM Mono", monospace;
  --body: "Pixelify Sans", "DM Mono", monospace;
  --mono: "DM Mono", monospace;
  --page: min(1440px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--brass) var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(121, 200, 232, 0.05) 49.8% 50.2%, transparent 50.2%) 0 0 / 48px 48px,
    linear-gradient(0deg, transparent 0 49.8%, rgba(121, 200, 232, 0.05) 49.8% 50.2%, transparent 50.2%) 0 0 / 48px 48px,
    radial-gradient(circle at 70% -10%, rgba(214, 168, 78, 0.16), transparent 34rem),
    var(--night);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(243, 231, 201, 0.018) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(121, 200, 232, 0.018) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.18;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(6, 17, 31, 0.32) 3px 4px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.4);
  opacity: 0.55;
}

input,
select,
textarea {
  color: var(--cream);
  background: var(--night);
  border: 2px solid var(--sky);
  border-radius: 0;
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

code,
.microlabel,
.poster-stamp,
.section-marquee__index,
.chart-tab,
.pixel-button,
.mini-button,
.ink-button,
.flight-status,
.lane-output,
.price-ledger b,
.countdown-board,
.supply-keys strong,
.invite-ledger strong,
.hero-facts strong {
  font-family: var(--mono);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-route {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--night);
  background: var(--cream);
  border: var(--line);
  transform: translateY(-180%);
}

.skip-route:focus {
  transform: translateY(0);
}

/* Pixel weather motifs */
.storm-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.storm-field__sun {
  position: absolute;
  top: 18vh;
  right: 7vw;
  width: 72px;
  height: 72px;
  background: var(--brass);
  box-shadow:
    0 -16px 0 -6px var(--brass),
    0 88px 0 -6px var(--brass),
    72px 0 0 -6px var(--brass),
    -72px 0 0 -6px var(--brass);
  opacity: 0.24;
}

.storm-field__cloud {
  position: absolute;
  width: 18px;
  height: 18px;
  background: rgba(121, 200, 232, 0.15);
  box-shadow:
    18px 0 rgba(121, 200, 232, 0.15),
    36px 0 rgba(121, 200, 232, 0.15),
    54px -18px rgba(121, 200, 232, 0.15),
    72px -18px rgba(121, 200, 232, 0.15),
    90px 0 rgba(121, 200, 232, 0.15),
    108px 0 rgba(121, 200, 232, 0.15),
    126px 18px rgba(121, 200, 232, 0.15),
    18px 18px rgba(121, 200, 232, 0.15),
    36px 18px rgba(121, 200, 232, 0.15),
    54px 18px rgba(121, 200, 232, 0.15),
    72px 18px rgba(121, 200, 232, 0.15),
    90px 18px rgba(121, 200, 232, 0.15);
}

.cloud-a {
  top: 20%;
  left: -8%;
  animation: cloud-drift 32s linear infinite alternate;
}

.cloud-b {
  top: 62%;
  right: -5%;
  transform: scale(1.7);
  opacity: 0.56;
  animation: cloud-drift 42s linear infinite alternate-reverse;
}

.cloud-c {
  bottom: 13%;
  left: 16%;
  transform: scale(0.8);
  opacity: 0.35;
  animation: cloud-drift 36s 4s linear infinite alternate;
}

.storm-field__bolt {
  position: absolute;
  top: 35%;
  left: 7%;
  width: 38px;
  height: 118px;
  background: var(--brass);
  clip-path: polygon(56% 0, 100% 0, 64% 42%, 92% 42%, 18% 100%, 36% 56%, 0 56%);
  opacity: 0.12;
}

@keyframes cloud-drift {
  to { transform: translate3d(9vw, 18px, 0) scale(1.06); }
}

/* Navigation rig */
.bridge-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 3px solid var(--cream);
  background:
    linear-gradient(180deg, rgba(6, 17, 31, 0.98), rgba(6, 17, 31, 0.91)),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(121, 200, 232, 0.08) 12px 13px);
  box-shadow: 0 8px 0 rgba(200, 60, 50, 0.82);
  backdrop-filter: blur(12px);
}

.bridge-bar__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: var(--page);
  min-height: 74px;
  margin: 0 auto;
}

.ship-sigil {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.ship-sigil__pixels {
  position: relative;
  width: 32px;
  height: 32px;
  background:
    linear-gradient(var(--cream), var(--cream)) 0 20px / 32px 6px no-repeat,
    linear-gradient(var(--crimson), var(--crimson)) 10px 0 / 6px 20px no-repeat,
    linear-gradient(var(--brass), var(--brass)) 4px 8px / 24px 4px no-repeat;
  filter: drop-shadow(4px 4px 0 var(--crimson-dark));
}

.ship-sigil__pixels::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: var(--crimson);
  box-shadow: 32px 0 var(--crimson);
}

.ship-sigil__type {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 5px;
  line-height: 0.85;
}

.ship-sigil__type b {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  color: var(--crimson);
  letter-spacing: 0.04em;
}

.ship-sigil__type strong {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.ship-sigil__type small {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: var(--sky);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.chart-tabs {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.chart-tabs::-webkit-scrollbar {
  display: none;
}

.chart-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 11px 12px 9px;
  color: var(--sky-pale);
  border-left: 1px solid rgba(121, 200, 232, 0.18);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 120ms steps(2), background 120ms steps(2);
}

.chart-tab:last-child {
  border-right: 1px solid rgba(121, 200, 232, 0.18);
}

.chart-tab::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 12px;
  height: 9px;
  background: var(--brass);
  clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%);
  transform: translateX(-50%) scale(0);
  transform-origin: top;
}

.chart-tab:hover {
  color: var(--cream);
  background: rgba(121, 200, 232, 0.08);
}

.chart-tab.is-current {
  color: var(--night);
  background: var(--cream);
}

.chart-tab.is-current::before {
  transform: translateX(-50%) scale(1);
}

.bridge-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-dial select {
  height: 42px;
  min-width: 74px;
  padding: 0 24px 0 9px;
  color: var(--cream);
  border-color: var(--sky);
  background:
    linear-gradient(45deg, transparent 50%, var(--brass) 50%) calc(100% - 13px) 17px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--brass) 50%, transparent 50%) calc(100% - 7px) 17px / 6px 6px no-repeat,
    var(--night-2);
  appearance: none;
  font-family: var(--mono);
  font-size: 10px;
}

.pixel-button,
.mini-button,
.ink-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  transition: transform 100ms steps(2), box-shadow 100ms steps(2), background 100ms steps(2);
}

.pixel-button {
  position: relative;
  min-height: 52px;
  padding: 14px 22px;
  color: var(--night);
  background: var(--cream);
  border: 3px solid var(--night);
  box-shadow: 6px 6px 0 var(--brass-dark);
  clip-path: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.pixel-button::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed currentColor;
  opacity: 0.25;
  pointer-events: none;
}

.pixel-button:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--brass-dark);
}

.pixel-button:active:not(:disabled) {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--brass-dark);
}

.pixel-button--hot {
  color: var(--cream);
  background: var(--crimson);
  box-shadow: 6px 6px 0 var(--night);
}

.pixel-button--hot:hover:not(:disabled) {
  box-shadow: 8px 8px 0 var(--night);
}

.mini-button,
.ink-button {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--night);
  background: var(--brass);
  border: 2px solid var(--night);
  box-shadow: 4px 4px 0 var(--night);
  font-size: 10px;
  font-weight: 600;
}

.mini-button:hover:not(:disabled),
.ink-button:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--night);
}

.mini-button--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ink-button {
  color: var(--cream);
  background: transparent;
  border-color: var(--brass);
  box-shadow: 4px 4px 0 var(--crimson-dark);
}

.ink-link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  color: var(--sky-pale);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ink-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 4px;
  background: var(--crimson);
  transform: skewX(-22deg);
}

/* Shared poster language */
main {
  overflow: clip;
}

.poster-section,
.hero-poster {
  scroll-margin-top: 94px;
}

.poster-section {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 120px 0 0;
  animation: poster-rise 780ms steps(8) both;
}

@keyframes poster-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.poster-stamp,
.microlabel {
  color: var(--brass);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.poster-stamp::before {
  content: "///";
  margin-right: 8px;
  color: var(--crimson);
}

.section-marquee {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 4px solid var(--cream);
}

.section-marquee::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 34%;
  height: 4px;
  background: var(--crimson);
}

.section-marquee__index {
  color: var(--crimson);
  font-size: clamp(54px, 8vw, 106px);
  line-height: 0.7;
  letter-spacing: -0.09em;
}

.section-marquee h2,
.drum-head h2,
.rank-yard__heading h2,
.story-run h2,
.foundry-head h2,
.lower-deck__head h2,
.last-call h2 {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(58px, 8.6vw, 132px);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.section-marquee__note {
  align-self: end;
  max-width: 420px;
  padding: 0 0 8px 18px;
  color: var(--sky-pale);
  border-left: 4px solid var(--crimson);
  font-size: 15px;
}

/* Hero poster */
.hero-poster {
  position: relative;
  width: var(--page);
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 96px) 0 28px;
  animation: hero-wash 900ms steps(9) both;
}

@keyframes hero-wash {
  from { opacity: 0; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; clip-path: inset(0); }
}

.hero-poster::before {
  content: "2133";
  position: absolute;
  top: 2%;
  right: -2%;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(121, 200, 232, 0.16);
  font-family: var(--display);
  font-size: clamp(180px, 35vw, 560px);
  line-height: 0.7;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.hero-poster__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  align-items: center;
  gap: clamp(26px, 5vw, 80px);
}

.hero-title-stack {
  position: relative;
  z-index: 2;
}

.hero-shout {
  position: relative;
  display: grid;
  margin: 18px 0 14px -0.02em;
  font-family: var(--display);
  font-size: clamp(92px, 13.5vw, 210px);
  font-weight: 400;
  line-height: 0.68;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-shout__back {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  color: transparent;
  -webkit-text-stroke: 3px var(--sky);
  filter: drop-shadow(7px 7px 0 var(--crimson-dark));
}

.hero-shout__front {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 95%;
  margin-top: 0.08em;
  margin-left: clamp(18px, 8vw, 142px);
  color: var(--cream);
  text-shadow: 6px 6px 0 var(--crimson);
}

.hero-bulletin {
  position: relative;
  width: min(410px, 82%);
  margin: -5px 0 20px auto;
  padding: 16px 20px 14px;
  color: var(--ink);
  background: var(--brass);
  border: 3px solid var(--night);
  box-shadow: 8px 8px 0 var(--crimson);
  transform: rotate(-1.2deg);
}

.hero-bulletin::before,
.hero-bulletin::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--night);
}

.hero-bulletin::before {
  top: 6px;
  left: 6px;
}

.hero-bulletin::after {
  right: 6px;
  bottom: 6px;
}

.hero-bulletin__pin {
  position: absolute;
  top: -11px;
  right: 30px;
  width: 18px;
  height: 18px;
  background: var(--crimson);
  box-shadow: 2px 3px 0 var(--night);
}

.hero-bulletin p {
  max-width: 290px;
  font-size: 13px;
  line-height: 1.35;
}

.hero-bulletin strong {
  position: absolute;
  right: 18px;
  bottom: -23px;
  color: var(--crimson);
  font-family: var(--display);
  font-size: 76px;
  font-weight: 400;
  line-height: 0.7;
  text-shadow: 3px 3px 0 var(--cream);
}

.hero-lede {
  max-width: 680px;
  margin-top: 24px;
  color: var(--sky-pale);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.hero-console {
  position: relative;
  z-index: 1;
  margin: 0;
  transform: rotate(1.2deg);
}

.hero-console__bezel {
  position: relative;
  padding: clamp(20px, 2.8vw, 38px);
  background:
    linear-gradient(135deg, rgba(243, 231, 201, 0.12), transparent 30%),
    var(--cream-2);
  border: 5px solid var(--night);
  box-shadow:
    14px 14px 0 var(--crimson),
    20px 20px 0 var(--night);
  clip-path: polygon(0 18px, 18px 18px, 18px 0, calc(100% - 18px) 0, calc(100% - 18px) 18px, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 18px calc(100% - 18px), 0 calc(100% - 18px));
}

.hero-console__bezel::before,
.hero-console__bezel::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--crimson);
  border: 2px solid var(--night);
}

.hero-console__bezel::before {
  top: 10px;
  left: 10px;
}

.hero-console__bezel::after {
  right: 10px;
  bottom: 10px;
}

.hero-console__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.95;
  background: var(--night-2);
  border: 6px solid var(--night);
  box-shadow: inset 0 0 0 3px var(--sky);
}

.hero-console__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(6, 17, 31, 0.28) 4px 6px),
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(6, 17, 31, 0.55));
}

.hero-plate {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  object-fit: cover;
}

.screen-scan {
  position: absolute;
  inset: 12px;
  z-index: 4;
  border: 2px solid rgba(121, 200, 232, 0.75);
  clip-path: polygon(0 0, 34% 0, 34% 3px, 66% 3px, 66% 0, 100% 0, 100% 36%, calc(100% - 3px) 36%, calc(100% - 3px) 64%, 100% 64%, 100% 100%, 66% 100%, 66% calc(100% - 3px), 34% calc(100% - 3px), 34% 100%, 0 100%, 0 64%, 3px 64%, 3px 36%, 0 36%);
  pointer-events: none;
}

.screen-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 58px;
  height: 58px;
  border: 3px solid var(--brass);
  transform: translate(-50%, -50%);
  clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
  opacity: 0.8;
}

.screen-readout {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 5;
  padding: 6px 9px;
  color: var(--cream);
  background: rgba(6, 17, 31, 0.82);
  border-left: 4px solid var(--crimson);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-console__controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 10px 4px 0;
}

.hero-console__controls i {
  width: 10px;
  height: 10px;
  background: var(--crimson);
  border: 2px solid var(--night);
  box-shadow: 16px 0 0 var(--sky), 32px 0 0 var(--brass);
}

.console-wheel {
  position: absolute;
  right: 4px;
  bottom: -2px;
  width: 32px;
  height: 32px;
  background: var(--night);
  border: 4px solid var(--brass);
  box-shadow: inset 0 0 0 4px var(--crimson);
}

.console-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  color: var(--sky);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-caption b {
  color: var(--brass);
  font-weight: 500;
}

.hero-console__tag {
  position: absolute;
  top: 9%;
  right: -18px;
  padding: 8px 12px;
  color: var(--cream);
  background: var(--crimson);
  border: 2px solid var(--night);
  box-shadow: 4px 4px 0 var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right top;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(42px, 6vw, 72px);
  border: 3px solid var(--cream);
  background: var(--night-2);
  box-shadow: 10px 10px 0 var(--brass-dark);
}

.hero-fact {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 118px;
  padding: 18px 20px;
  border-right: 2px dashed rgba(121, 200, 232, 0.36);
}

.hero-fact:last-child {
  border-right: 0;
}

.hero-fact::before {
  content: "";
  width: 30px;
  height: 5px;
  margin-bottom: 12px;
  background: var(--crimson);
}

.hero-fact:nth-child(2)::before { background: var(--sky); }
.hero-fact:nth-child(3)::before { background: var(--brass); }
.hero-fact:nth-child(4)::before { background: var(--cream); }

.hero-fact strong {
  color: var(--cream);
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 500;
  line-height: 1;
}

.hero-fact span {
  margin-top: 7px;
  color: var(--sky-pale);
  font-size: 12px;
  text-transform: uppercase;
}

.pixel-arrow {
  position: absolute;
  right: 3%;
  bottom: 172px;
  width: 25px;
  height: 25px;
  background: var(--crimson);
  box-shadow:
    0 25px var(--crimson),
    25px 25px var(--crimson),
    50px 25px var(--crimson),
    -25px 25px var(--crimson),
    -50px 25px var(--crimson),
    0 50px var(--crimson),
    25px 50px var(--crimson),
    -25px 50px var(--crimson),
    0 75px var(--crimson);
  transform: rotate(45deg);
  opacity: 0.8;
}

/* Mint counter */
.harbor-counter {
  padding-top: 150px;
}

.counter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(340px, 0.66fr);
  align-items: start;
  gap: clamp(30px, 4.5vw, 70px);
  margin-top: 46px;
}

.raid-pass {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 54px);
  color: var(--night);
  background:
    linear-gradient(90deg, transparent 0 67%, rgba(214, 168, 78, 0.19) 67% 67.2%, transparent 67.2%),
    radial-gradient(circle at 88% 12%, rgba(200, 60, 50, 0.13) 0 54px, transparent 55px),
    var(--cream);
  border: 4px solid var(--night);
  box-shadow:
    12px 12px 0 var(--crimson),
    20px 20px 0 var(--night);
  clip-path: polygon(0 14px, 14px 14px, 14px 0, calc(100% - 14px) 0, calc(100% - 14px) 14px, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 14px calc(100% - 14px), 0 calc(100% - 14px));
}

.raid-pass::before {
  content: "";
  position: absolute;
  top: 92px;
  right: -14px;
  bottom: 90px;
  width: 28px;
  background:
    radial-gradient(circle, var(--night) 0 7px, transparent 7.5px) center top / 28px 32px repeat-y;
  pointer-events: none;
}

.raid-pass::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 2px dashed rgba(6, 17, 31, 0.22);
  pointer-events: none;
}

.stub-holes {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  background: var(--night);
  border-radius: 0;
}

.stub-holes--left {
  top: 44%;
  left: -13px;
}

.stub-holes--right {
  right: -13px;
  bottom: 26%;
}

.raid-pass__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--night);
}

.raid-pass__head > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.raid-pass .microlabel,
.raid-pass .poster-stamp {
  color: var(--crimson-dark);
}

.flight-status {
  width: max-content;
  max-width: 100%;
  padding: 7px 12px;
  color: var(--cream);
  background: var(--night);
  border-left: 7px solid var(--brass);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live .flight-status {
  background: var(--crimson-dark);
  border-left-color: var(--sky);
}

.warn .flight-status {
  background: var(--crimson);
}

.pass-serial {
  color: var(--crimson);
  font-family: var(--display);
  font-size: 28px;
  line-height: 0.8;
  text-align: right;
}

.pass-serial b {
  color: var(--night);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.pass-count {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px;
  margin: 26px 0 8px;
}

.pass-count > span {
  align-self: center;
  color: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pass-count > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.pass-count strong {
  font-family: var(--display);
  font-size: clamp(70px, 9vw, 120px);
  font-weight: 400;
  line-height: 0.68;
}

.pass-count small {
  font-family: var(--mono);
  font-size: 14px;
}

.runway-meter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 4px;
  height: 24px;
  margin-bottom: 26px;
}

.runway-meter i {
  background: rgba(6, 17, 31, 0.18);
  border: 1px solid rgba(6, 17, 31, 0.3);
}

.runway-meter i.on {
  background: var(--crimson);
  box-shadow: inset 0 0 0 2px var(--brass);
}

.countdown-board {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1vw, 13px);
  padding: 16px 10px;
  color: var(--sky-pale);
  background:
    repeating-linear-gradient(90deg, transparent 0 19px, rgba(121, 200, 232, 0.05) 19px 20px),
    var(--night);
  border: 3px solid var(--night);
  box-shadow: inset 0 0 0 2px var(--brass);
}

.countdown-board > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.countdown-board strong {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.8;
}

.countdown-board span {
  margin-top: 7px;
  color: var(--brass);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-board > i {
  color: var(--crimson);
  font-family: var(--display);
  font-size: 42px;
  font-style: normal;
}

.countdown-caption {
  position: relative;
  z-index: 1;
  margin: 10px 0 22px;
  color: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.route-read,
.eligibility {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  padding: 10px 14px;
  background: rgba(121, 200, 232, 0.18);
  border: 2px solid rgba(6, 17, 31, 0.45);
  border-left: 8px solid var(--brass);
}

.route-read.eligible,
.eligibility.eligible {
  background: rgba(214, 168, 78, 0.38);
  border-left-color: var(--crimson);
}

.route-read__beacon,
.eligibility > i {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--crimson);
  box-shadow: 0 0 0 4px var(--cream);
}

.route-read p,
.eligibility p {
  font-size: 13px;
  line-height: 1.35;
}

.purchase-block {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.quantity-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
}

.quantity-line .microlabel {
  color: var(--crimson-dark);
}

.stepper {
  display: grid;
  grid-template-columns: 42px 70px 42px;
  border: 3px solid var(--night);
  background: var(--night);
  box-shadow: 4px 4px 0 var(--brass-dark);
}

.stepper button,
.stepper input {
  height: 44px;
  color: var(--cream);
  background: var(--night);
  border: 0;
  text-align: center;
}

.stepper button {
  color: var(--brass);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.stepper button:hover {
  color: var(--cream);
  background: var(--crimson);
}

.stepper input {
  width: 100%;
  border-right: 2px solid var(--hull);
  border-left: 2px solid var(--hull);
  font-family: var(--mono);
  font-size: 17px;
  appearance: textfield;
}

.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-line .mini-button {
  min-width: 58px;
}

.price-ledger {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 1.1fr;
  margin-top: 20px;
  border-top: 2px solid var(--night);
  border-bottom: 2px solid var(--night);
}

.price-ledger > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 74px;
  padding: 11px 13px;
  border-right: 2px dashed rgba(6, 17, 31, 0.3);
}

.price-ledger > div:nth-child(3) {
  border-right: 0;
}

.price-ledger span {
  color: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-ledger b {
  color: var(--night);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
}

.price-ledger .ledger-earn {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  color: var(--cream);
  background: var(--crimson);
  border-right: 0;
}

.price-ledger .ledger-earn span {
  color: var(--cream);
}

.price-ledger .ledger-earn b {
  color: var(--cream);
  font-size: 17px;
}

.mint-key {
  width: 100%;
  min-height: 68px;
  margin-top: 24px;
  font-size: clamp(15px, 1.7vw, 20px);
}

.signal-line {
  min-height: 0;
  margin-top: 0;
  color: var(--night);
  font-family: var(--mono);
  font-size: 11px;
}

.signal-line.show {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 6px solid var(--brass);
  background: rgba(121, 200, 232, 0.2);
}

.signal-line.show.ok {
  border-left-color: var(--sky);
}

.signal-line.show.err {
  border-left-color: var(--crimson);
  background: rgba(200, 60, 50, 0.14);
}

.ref-ticket {
  margin-top: 12px;
  padding: 9px 12px;
  color: var(--cream);
  background: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 10px;
}

.vending-cabinet {
  position: sticky;
  top: 98px;
  overflow: hidden;
  color: var(--cream);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(121, 200, 232, 0.08) 48% 52%, transparent 52%),
    var(--night-2);
  border: 4px solid var(--cream);
  box-shadow:
    10px 10px 0 var(--brass),
    18px 18px 0 var(--crimson-dark);
  clip-path: polygon(0 16px, 16px 16px, 16px 0, calc(100% - 16px) 0, calc(100% - 16px) 16px, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 16px calc(100% - 16px), 0 calc(100% - 16px));
}

.cabinet-head {
  position: relative;
  padding: 27px 24px 20px;
  color: var(--night);
  background: var(--brass);
  border-bottom: 5px solid var(--night);
}

.cabinet-head h3 {
  font-family: var(--display);
  font-size: 58px;
  font-weight: 400;
  line-height: 0.75;
  text-transform: uppercase;
}

.cabinet-head__light {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 13px;
  height: 13px;
  background: var(--crimson);
  box-shadow: 0 0 0 5px var(--night), 0 0 18px var(--crimson);
}

.free-lanes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 4px solid var(--cream);
}

.free-lane {
  padding: 19px 22px;
  border-bottom: 2px dashed rgba(243, 231, 201, 0.26);
}

.free-lane:last-child {
  border-bottom: 0;
}

.free-lane--x {
  background: rgba(121, 200, 232, 0.09);
}

.lane-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lane-title strong {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lane-pip {
  width: 12px;
  height: 12px;
  background: var(--brass);
  box-shadow: 3px 3px 0 var(--crimson);
}

.lane-pip--x {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--night);
  background: var(--sky);
  box-shadow: 3px 3px 0 var(--cream);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.lane-output {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 11px 0 8px;
}

.lane-output i {
  color: var(--cream);
  font-family: var(--display);
  font-size: 54px;
  font-style: normal;
  line-height: 0.7;
}

.lane-output span {
  color: var(--sky-pale);
  font-size: 11px;
}

.lane-bar {
  height: 10px;
  padding: 2px;
  background: var(--night);
  border: 1px solid var(--sky);
}

.lane-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brass);
  transition: width 400ms steps(8);
}

.free-lane--x .lane-bar i {
  background: var(--sky);
}

.free-lane small {
  display: block;
  margin-top: 8px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
}

.free-lane > p {
  margin-top: 9px;
  color: var(--sky-pale);
  font-size: 11px;
  line-height: 1.4;
}

.cabinet-window {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 20px;
  background:
    radial-gradient(circle at 50% 38%, rgba(121, 200, 232, 0.18), transparent 44%),
    var(--hull);
  border-bottom: 4px solid var(--cream);
}

.cabinet-window::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 3px solid var(--brass);
  pointer-events: none;
}

.cabinet-window img {
  width: min(100%, 300px);
  margin: 0 auto;
  image-rendering: pixelated;
  filter: drop-shadow(8px 9px 0 rgba(6, 17, 31, 0.7));
}

.cabinet-window p {
  position: relative;
  z-index: 2;
  padding: 11px 12px;
  color: var(--night);
  background: var(--cream);
  border: 2px solid var(--night);
  font-size: 11px;
  line-height: 1.35;
}

.window-price {
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 2;
  padding: 5px 8px;
  color: var(--cream);
  background: var(--crimson);
  border: 2px solid var(--night);
  font-family: var(--mono);
  font-size: 9px;
  transform: rotate(3deg);
}

.window-glare {
  position: absolute;
  top: 30px;
  left: 21%;
  width: 16%;
  height: 210px;
  background: linear-gradient(180deg, rgba(243, 231, 201, 0.18), transparent);
  transform: skewX(-16deg);
  pointer-events: none;
}

.odds-rack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.odds-rack > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-right: 1px solid rgba(243, 231, 201, 0.2);
  border-bottom: 1px solid rgba(243, 231, 201, 0.2);
}

.odds-rack > div:nth-child(even) {
  border-right: 0;
}

.odds-rack i {
  width: 8px;
  height: 8px;
  background: var(--tier);
}

.odds-rack span {
  overflow: hidden;
  color: var(--sky-pale);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odds-rack b {
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.rule-timeline {
  margin-top: 74px;
  padding: 32px;
  background: rgba(11, 30, 51, 0.68);
  border: 3px solid var(--sky);
  border-top-color: var(--brass);
  box-shadow: 10px 10px 0 rgba(200, 60, 50, 0.42);
}

.rule-timeline__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}

.rule-timeline__head .section-marquee__index {
  font-size: 74px;
}

.rule-timeline__head h3 {
  color: var(--cream);
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.timeline-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-steps::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 0;
  left: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brass) 0 12px, transparent 12px 20px);
}

.timeline-steps li {
  position: relative;
  min-height: 130px;
  padding: 48px 20px 14px 0;
  border-right: 1px solid rgba(121, 200, 232, 0.18);
}

.timeline-steps li:nth-child(4n) {
  border-right: 0;
}

.timeline-steps b {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: var(--night);
  background: var(--brass);
  border: 3px solid var(--night);
  box-shadow: 3px 3px 0 var(--crimson);
  font-family: var(--mono);
  font-size: 10px;
}

.timeline-steps p {
  max-width: 270px;
  padding-right: 16px;
  color: var(--sky-pale);
  font-size: 13px;
  line-height: 1.45;
}

.x-lane-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: 34px;
  margin-top: 80px;
  padding: 34px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(121, 200, 232, 0.16), transparent 42%),
    var(--hull);
  border: 4px solid var(--cream);
  box-shadow: 12px 12px 0 var(--sky);
  clip-path: polygon(0 14px, 14px 14px, 14px 0, calc(100% - 14px) 0, calc(100% - 14px) 14px, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 14px calc(100% - 14px), 0 calc(100% - 14px));
}

.x-lane-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 37%;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--brass) 0 10px, transparent 10px 18px);
}

.x-panel-head {
  position: relative;
  padding-right: 24px;
}

.x-panel-head h3 {
  margin-top: 10px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(50px, 5vw, 82px);
  font-weight: 400;
  line-height: 0.82;
  text-transform: uppercase;
}

.x-panel-head > div > p:last-child {
  max-width: 330px;
  margin-top: 18px;
  color: var(--sky-pale);
  font-size: 14px;
}

.x-panel-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-top: 22px;
  color: var(--night);
  background: var(--sky);
  border: 4px solid var(--night);
  box-shadow: 7px 7px 0 var(--crimson);
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 600;
}

.x-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.x-post-step,
.x-check-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.x-post-step textarea {
  min-height: 206px;
  padding: 12px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.55;
}

.x-check-step input {
  min-height: 50px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 11px;
}

.x-actions,
.x-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.turnstile-slot {
  min-height: 72px;
  padding: 8px;
  background: rgba(6, 17, 31, 0.44);
  border: 2px dashed rgba(243, 231, 201, 0.32);
}

.x-check-actions .pixel-button {
  flex: 1;
  min-height: 42px;
  padding: 9px 12px;
  font-size: 10px;
}

.x-state-note {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
}

.x-lane-panel .signal-line {
  color: var(--cream);
}

.x-lane-panel .signal-line.show {
  background: rgba(6, 17, 31, 0.38);
}

/* Model index drum */
.model-drum {
  padding-top: 146px;
}

.drum-head {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 4px solid var(--brass);
}

.drum-head h2 {
  max-width: 980px;
  font-family: var(--body);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  text-transform: none;
}

.drum-scroll {
  overflow-x: auto;
  margin-right: calc(50% - 50vw);
  padding: 28px calc((100vw - var(--page)) / 2) 18px 0;
  scrollbar-color: var(--crimson) var(--night);
}

.drum-grid {
  width: max-content;
  min-width: 100%;
}

.model-carousel {
  display: flex;
  gap: 18px;
}

.index-card {
  position: relative;
  flex: 0 0 clamp(250px, 24vw, 340px);
  color: var(--night);
  background: var(--cream);
  border: 3px solid var(--night);
  box-shadow: 8px 8px 0 var(--accent);
}

.model-carousel .index-card:nth-child(3n + 2) {
  transform: translateY(13px);
}

.model-carousel .index-card:nth-child(3n) {
  transform: translateY(6px);
}

.index-card__art {
  position: relative;
  overflow: hidden;
  margin: 10px 10px 0;
  background:
    linear-gradient(135deg, rgba(121, 200, 232, 0.28), transparent),
    var(--hull);
  border: 3px solid var(--night);
}

.index-card__art img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  image-rendering: pixelated;
  object-fit: cover;
  transition: transform 300ms steps(5);
}

.index-card:hover .index-card__art img {
  transform: scale(1.04);
}

.index-card__art figcaption {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 7px;
  color: var(--cream);
  background: var(--crimson);
  border: 2px solid var(--night);
  font-family: var(--mono);
  font-size: 9px;
}

.index-card__label {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 5px 12px;
  min-height: 104px;
  padding: 14px 16px 17px;
}

.rank-tab {
  display: inline-block;
  grid-row: 1 / 3;
  padding: 5px 7px;
  color: var(--cream);
  background: var(--accent);
  border: 2px solid var(--night);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.index-card__label h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.index-card__label small {
  font-family: var(--mono);
  font-size: 9px;
}

.index-group {
  padding: 20px;
  background: rgba(11, 30, 51, 0.82);
  border: 3px solid var(--accent);
}

.index-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(243, 231, 201, 0.32);
}

.index-group__head i {
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow: 3px 3px 0 var(--night);
}

.index-group__head h3 {
  color: var(--cream);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.index-group__head span {
  margin-left: auto;
  color: var(--sky-pale);
  font-family: var(--mono);
  font-size: 9px;
}

.index-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 17px;
}

.index-track .index-card {
  flex: none;
  min-width: 0;
  box-shadow: 5px 5px 0 var(--accent);
  transform: none;
}

.scroll-mark {
  margin-top: 26px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.scroll-mark::after {
  content: " >>>";
  color: var(--crimson);
}

/* Ranked ladder */
.rank-yard {
  padding-top: 150px;
}

.rank-yard__heading,
.foundry-head,
.lower-deck__head {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(220px, 0.45fr);
  align-items: end;
  gap: 24px;
}

.rank-yard__heading > div,
.foundry-head > div,
.lower-deck__head > div {
  grid-column: 2 / 4;
}

.rank-yard__heading p:last-child,
.lower-deck__head p:last-child {
  max-width: 720px;
  margin-top: 18px;
  color: var(--sky-pale);
  font-size: 16px;
}

.rank-ladder-wrap {
  position: relative;
  margin-top: 44px;
  padding-left: 36px;
}

.ladder-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 13px;
  width: 7px;
  background: repeating-linear-gradient(180deg, var(--brass) 0 16px, var(--crimson) 16px 31px, transparent 31px 38px);
}

.rank-ladder {
  display: grid;
  gap: 10px;
}

.rank-rung {
  position: relative;
  display: grid;
  grid-template-columns: 76px 112px minmax(0, 1fr) minmax(110px, 0.34fr) 128px;
  align-items: center;
  gap: 18px;
  width: calc(100% - min(18%, calc(var(--rung) * 3.2%)));
  min-height: 116px;
  margin-left: min(18%, calc(var(--rung) * 3.2%));
  padding: 10px 18px 10px 12px;
  color: var(--night);
  background: linear-gradient(90deg, var(--cream), rgba(243, 231, 201, 0.88));
  border: 3px solid var(--night);
  box-shadow: 7px 7px 0 var(--accent);
}

.rank-rung::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -31px;
  width: 22px;
  height: 7px;
  background: var(--accent);
  transform: translateY(-50%);
}

.rank-rung::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--night);
}

.rank-rung__index {
  font-family: var(--display);
  font-size: 76px;
  line-height: 0.7;
  text-align: center;
}

.rank-rung__art {
  position: relative;
  overflow: hidden;
  height: 86px;
  background: var(--hull);
  border: 3px solid var(--night);
}

.rank-rung__art img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  object-fit: cover;
}

.rank-rung__art span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 1px solid var(--night);
}

.rank-rung__copy h3 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400;
  line-height: 0.8;
  text-transform: uppercase;
}

.rank-rung__copy p {
  margin-top: 7px;
  color: var(--crimson-dark);
  font-size: 11px;
  line-height: 1.3;
}

.rank-rung__models {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rank-rung__share {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rank-rung__share div {
  height: 16px;
  padding: 3px;
  background: rgba(6, 17, 31, 0.14);
  border: 2px solid var(--night);
}

.rank-rung__share i {
  display: block;
  width: var(--share);
  height: 100%;
  min-width: 5px;
  background: var(--accent);
}

.rank-rung__share span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.rank-rung__count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 10px;
  border-left: 2px dashed rgba(6, 17, 31, 0.3);
}

.rank-rung__count strong {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 400;
  line-height: 0.7;
}

.rank-rung__count span {
  margin-top: 6px;
  color: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

/* Story run */
.story-run {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  gap: 0;
  padding-top: 160px;
}

.story-run__poster {
  position: relative;
  min-height: 520px;
  padding: 42px;
  color: var(--cream);
  background:
    linear-gradient(150deg, transparent 0 62%, rgba(6, 17, 31, 0.19) 62%),
    var(--crimson);
  border: 4px solid var(--night);
  box-shadow: 14px 14px 0 var(--brass);
  clip-path: polygon(0 18px, 18px 18px, 18px 0, calc(100% - 18px) 0, calc(100% - 18px) 18px, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 18px calc(100% - 18px), 0 calc(100% - 18px));
}

.story-run__poster .section-marquee__index {
  display: block;
  color: var(--night);
  font-size: 110px;
}

.story-run__poster .poster-stamp {
  margin-top: 24px;
  color: var(--cream);
}

.story-run__poster h2 {
  margin-top: 12px;
  font-size: clamp(64px, 7vw, 112px);
}

.story-run__lede {
  max-width: 440px;
  margin: 24px 0 30px;
  color: var(--cream);
  font-size: 18px;
}

.story-run__seal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 30px;
}

.story-run__seal span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--crimson);
  background: var(--cream);
  border: 3px solid var(--night);
  font-family: var(--mono);
  font-size: 10px;
}

.story-run__seal i {
  flex: 1;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--cream) 0 6px, transparent 6px 11px);
}

.raid-script {
  position: relative;
  display: grid;
  align-content: center;
  margin: 0;
  padding: 30px 0 30px 38px;
  list-style: none;
  border-top: 3px solid var(--cream);
  border-right: 3px solid var(--cream);
  border-bottom: 3px solid var(--cream);
}

.raid-script::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 9px;
  background: repeating-linear-gradient(180deg, var(--sky) 0 20px, transparent 20px 27px);
}

.raid-script li {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  min-height: 112px;
  padding: 14px 26px;
  border-bottom: 1px solid rgba(243, 231, 201, 0.25);
}

.raid-script li:last-child {
  border-bottom: 0;
}

.raid-script li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  background: var(--crimson);
  transform: translateY(-50%);
}

.raid-script span {
  color: var(--brass);
  font-family: var(--display);
  font-size: 66px;
  line-height: 0.8;
}

.raid-script p {
  color: var(--sky-pale);
  font-size: clamp(15px, 1.5vw, 19px);
}

/* Rewards foundry */
.loot-foundry {
  padding-top: 190px;
}

.loot-marquee {
  position: absolute;
  top: 48px;
  left: 50%;
  z-index: -1;
  display: flex;
  gap: 22px;
  width: 120vw;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 2px rgba(214, 168, 78, 0.24);
  font-family: var(--display);
  font-size: clamp(130px, 22vw, 330px);
  line-height: 0.65;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-2deg);
}

.foundry-head {
  position: relative;
  padding-bottom: 25px;
  border-bottom: 4px solid var(--cream);
}

.foundry-head h2 {
  color: var(--brass);
}

.foundry-head p:last-child {
  max-width: 750px;
  margin-top: 20px;
  color: var(--sky-pale);
  font-size: 17px;
}

.foundry-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  margin-top: 36px;
}

.reward-slope,
.supply-ledger {
  padding: 28px;
  border: 3px solid var(--cream);
}

.reward-slope {
  color: var(--night);
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(6, 17, 31, 0.06) 49.8% 50.2%, transparent 50.2%),
    var(--cream);
  box-shadow: 10px 10px 0 var(--crimson);
}

.reward-slope > p:nth-child(2) {
  max-width: 640px;
  margin-top: 11px;
  font-size: 14px;
}

.ramp-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 220px;
  margin-top: 28px;
  padding: 18px 16px 0;
  background:
    repeating-linear-gradient(0deg, rgba(6, 17, 31, 0.1) 0 1px, transparent 1px 33px),
    rgba(121, 200, 232, 0.16);
  border: 2px solid var(--night);
}

.ramp-chart span {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  height: 100%;
}

.ramp-chart i {
  width: 100%;
  height: var(--h);
  min-height: 12px;
  background: var(--sky);
  border: 2px solid var(--night);
  box-shadow: inset 0 4px 0 rgba(243, 231, 201, 0.38);
}

.ramp-chart span:nth-child(3n) i {
  background: var(--brass);
}

.ramp-chart .peak i {
  background: var(--crimson);
}

.ramp-chart b {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
}

.next-haul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 14px 16px;
  color: var(--cream);
  background: var(--night);
  border-left: 8px solid var(--crimson);
}

.next-haul span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-haul strong {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  line-height: 0.9;
}

.supply-ledger {
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 35%, rgba(121, 200, 232, 0.15), transparent 34%),
    var(--night-2);
  box-shadow: 10px 10px 0 var(--brass-dark);
}

.supply-ledger__body {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
}

.supply-dial {
  position: relative;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  background: conic-gradient(var(--brass) 0 25.906%, var(--sky) 25.906% 59.433%, var(--crimson) 59.433% 100%);
  clip-path: polygon(50% 0, 63% 8%, 78% 5%, 88% 18%, 98% 31%, 96% 47%, 100% 62%, 91% 76%, 89% 92%, 73% 96%, 59% 100%, 45% 94%, 30% 98%, 17% 87%, 6% 76%, 7% 60%, 0 45%, 8% 31%, 9% 15%, 25% 9%, 37% 1%);
}

.supply-dial::before {
  content: "";
  position: absolute;
  inset: 27px;
  background: var(--night);
  clip-path: inherit;
}

.supply-dial span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--brass);
  font-family: var(--display);
  font-size: 57px;
  line-height: 0.7;
}

.supply-dial small {
  margin-top: 6px;
  color: var(--sky-pale);
  font-family: var(--mono);
  font-size: 9px;
}

.supply-keys {
  display: grid;
  gap: 0;
}

.supply-keys > div {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 2px 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(243, 231, 201, 0.22);
}

.supply-keys > div:last-child {
  border-bottom: 0;
}

.supply-key {
  grid-row: 1 / 3;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  background: var(--brass);
}

.supply-key--invite { background: var(--sky); }
.supply-key--hold { background: var(--crimson); }

.supply-keys span {
  color: var(--sky-pale);
  font-size: 12px;
}

.supply-keys strong {
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
}

.supply-total {
  margin-top: 24px;
  padding-top: 15px;
  color: var(--brass);
  border-top: 3px solid var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

/* Lower deck: crew and market */
.lower-deck {
  width: 100%;
  margin-top: 160px;
  padding: 100px max(24px, calc((100vw - 1440px) / 2)) 100px;
  color: var(--night);
  background:
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(6, 17, 31, 0.05) 47px 48px),
    var(--cream-2);
  border-top: 8px solid var(--crimson);
  border-bottom: 8px solid var(--brass);
}

.lower-deck::before {
  content: "";
  position: absolute;
  top: 0;
  right: 5%;
  width: 24%;
  height: 26px;
  background: var(--night);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 96% 100%, 96% 45%, 90% 45%, 90% 100%, 84% 100%, 84% 45%, 78% 45%, 78% 100%, 72% 100%, 72% 45%, 66% 45%, 66% 100%, 60% 100%, 60% 45%, 54% 45%, 54% 100%, 48% 100%, 48% 45%, 42% 45%, 42% 100%, 36% 100%, 36% 45%, 30% 45%, 30% 100%, 24% 100%, 24% 45%, 18% 45%, 18% 100%, 12% 100%, 12% 45%, 6% 45%, 6% 100%, 0 100%);
}

.lower-deck__head h2 {
  color: var(--night);
}

.lower-deck__head p:last-child {
  color: var(--crimson-dark);
}

.lower-deck .section-marquee__index {
  color: var(--crimson);
}

.manifest-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  margin-top: 42px;
}

.loot-purse,
.invite-cable {
  padding: 27px;
  background: var(--night);
  border: 4px solid var(--night);
  box-shadow: 8px 8px 0 var(--crimson);
}

.loot-purse {
  position: relative;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(214, 168, 78, 0.16), transparent 45%),
    var(--night);
}

.loot-purse::after {
  content: "LOOT";
  position: absolute;
  right: 16px;
  bottom: 6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 168, 78, 0.2);
  font-family: var(--display);
  font-size: 76px;
  line-height: 0.7;
}

.loot-purse > strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 16px 0 22px;
  color: var(--brass);
  font-family: var(--display);
  font-size: clamp(78px, 8vw, 118px);
  font-weight: 400;
  line-height: 0.66;
}

.loot-purse .pixel-button {
  position: relative;
  z-index: 1;
  width: 100%;
}

.loot-purse .signal-line {
  position: relative;
  z-index: 1;
  color: var(--cream);
}

.invite-cable {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px 24px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(121, 200, 232, 0.13), transparent 42%),
    var(--hull);
  box-shadow: 8px 8px 0 var(--brass-dark);
}

.invite-cable__copy {
  grid-row: 1 / 4;
  padding-right: 22px;
  border-right: 2px dashed rgba(243, 231, 201, 0.3);
}

.invite-cable__copy p:last-child {
  margin-top: 14px;
  color: var(--sky-pale);
  font-size: 13px;
}

.copy-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.copy-line input {
  min-width: 0;
  height: 42px;
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 10px;
}

.invite-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid rgba(243, 231, 201, 0.28);
  border-bottom: 2px solid rgba(243, 231, 201, 0.28);
}

.invite-ledger > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-right: 1px dashed rgba(243, 231, 201, 0.28);
}

.invite-ledger > div:last-child {
  border-right: 0;
}

.invite-ledger span {
  color: var(--sky-pale);
  font-size: 10px;
}

.invite-ledger strong {
  color: var(--brass);
  font-size: 18px;
}

.invite-state {
  color: var(--sky-pale);
  font-family: var(--mono);
  font-size: 9px;
}

.crew-toolline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 15px 0;
  border-top: 3px solid var(--night);
  border-bottom: 3px solid var(--night);
}

.crew-toolline p {
  color: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 11px;
}

.crew-toolline .ink-button {
  color: var(--night);
  border-color: var(--night);
  box-shadow: 4px 4px 0 var(--crimson);
}

.crew-roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.crew-token {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border: 3px solid var(--night);
  box-shadow: 6px 6px 0 var(--brass-dark);
}

.crew-token--sealed {
  background: var(--night-2);
}

.crew-token__art {
  position: relative;
  overflow: hidden;
  background: var(--hull);
  border-bottom: 3px solid var(--night);
}

.crew-token__art img {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  image-rendering: pixelated;
  object-fit: cover;
}

.sealed-seal {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 7px;
  color: var(--cream);
  background: var(--crimson);
  border: 2px solid var(--night);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.crew-token__body {
  padding: 13px 14px 15px;
}

.crew-token__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.crew-token--sealed .crew-token__top {
  color: var(--brass);
}

.tier-gem {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--night);
}

.crew-token__body > strong {
  display: block;
  margin: 7px 0 12px;
  color: var(--night);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.85;
  text-transform: uppercase;
}

.crew-token--sealed .crew-token__body > strong {
  color: var(--cream);
}

.crew-token__body .mini-button {
  width: 100%;
}

.empty-ledger {
  grid-column: 1 / -1;
  padding: 27px;
  color: var(--cream);
  background: var(--night);
  border: 3px dashed var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.market-dock {
  position: relative;
  margin-top: 90px;
  padding-top: 50px;
  border-top: 8px solid var(--night);
}

.market-dock::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 22%;
  height: 8px;
  background: var(--crimson);
}

.market-dock__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.market-dock__head h3 {
  color: var(--night);
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 150px);
  font-weight: 400;
  line-height: 0.7;
  text-transform: uppercase;
}

.market-dock__head > div > p:last-child {
  max-width: 680px;
  margin-top: 18px;
  color: var(--crimson-dark);
  font-size: 16px;
}

.fee-stamp {
  flex: 0 0 auto;
  padding: 15px 18px;
  color: var(--cream);
  background: var(--crimson);
  border: 3px solid var(--night);
  box-shadow: 6px 6px 0 var(--brass);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.market-state {
  margin: 24px 0 14px;
  color: var(--crimson-dark);
  font-family: var(--mono);
  font-size: 10px;
}

.market-parade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.market-lot {
  background: var(--night);
  border: 3px solid var(--night);
  box-shadow: 6px 6px 0 var(--sky);
}

.market-lot__art {
  position: relative;
  overflow: hidden;
  background: var(--hull);
  border-bottom: 3px solid var(--cream);
}

.market-lot__art img {
  width: 100%;
  aspect-ratio: 1 / 0.84;
  image-rendering: pixelated;
  object-fit: cover;
}

.market-lot__body {
  padding: 13px 14px 15px;
  color: var(--cream);
}

.market-lot__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--sky-pale);
  font-family: var(--mono);
  font-size: 8px;
}

.market-lot__body > strong {
  display: block;
  margin: 7px 0 11px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 0.86;
  text-transform: uppercase;
}

.market-lot__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(243, 231, 201, 0.22);
  border-bottom: 1px solid rgba(243, 231, 201, 0.22);
}

.market-lot__price strong {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.market-lot__price span {
  color: var(--crimson);
  font-family: var(--mono);
  font-size: 8px;
}

.market-lot .mini-button,
.market-lot .pixel-button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding: 7px 8px;
  font-size: 9px;
}

.consignment-desk {
  margin-top: 34px;
  padding: 28px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(214, 168, 78, 0.11), transparent 38%),
    var(--night);
  border: 4px solid var(--night);
  box-shadow: 12px 12px 0 var(--crimson);
}

.consignment-desk__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 2px dashed rgba(243, 231, 201, 0.28);
}

.consignment-desk__head p:last-child {
  margin-top: 9px;
  color: var(--sky-pale);
  font-size: 12px;
}

.consignment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 28px;
  margin-top: 20px;
}

.pirate-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.pirate-choice {
  overflow: hidden;
  padding: 0;
  color: var(--cream);
  background: var(--hull);
  border: 2px solid rgba(121, 200, 232, 0.4);
  text-align: left;
}

.pirate-choice:hover,
.pirate-choice.selected {
  border-color: var(--brass);
  box-shadow: 4px 4px 0 var(--crimson);
  transform: translate(-1px, -1px);
}

.pirate-choice img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  image-rendering: pixelated;
  object-fit: cover;
}

.pirate-choice span {
  display: block;
  overflow: hidden;
  padding: 5px 6px;
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consignment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 25px;
  border-left: 2px dashed rgba(243, 231, 201, 0.28);
}

.consignment-form input {
  height: 50px;
  padding: 8px 11px;
  font-family: var(--mono);
}

.proceeds-line {
  color: var(--sky-pale);
  font-family: var(--mono);
  font-size: 9px;
}

.consignment-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.consignment-actions .pixel-button {
  min-height: 46px;
  padding: 8px;
  font-size: 10px;
}

.consignment-form .signal-line {
  color: var(--cream);
}

/* FAQ */
.last-call {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: 60px;
  padding-top: 150px;
}

.last-call__torn {
  position: relative;
  align-self: start;
  min-height: 370px;
  padding: 35px;
  color: var(--night);
  background: var(--cream);
  border: 3px solid var(--night);
  box-shadow: 10px 10px 0 var(--crimson);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 95% 92%, 95% 100%, 88% 96%, 80% 100%, 70% 95%, 60% 100%, 52% 96%, 44% 100%, 35% 95%, 25% 100%, 18% 96%, 10% 100%, 0 94%);
}

.last-call__torn .section-marquee__index {
  display: block;
  font-size: 100px;
}

.last-call__torn h2 {
  margin-top: 22px;
  color: var(--night);
  font-size: clamp(66px, 8vw, 116px);
}

.last-call__signal {
  position: absolute;
  right: 30px;
  bottom: 46px;
  display: flex;
  align-items: end;
  gap: 7px;
  height: 60px;
}

.last-call__signal i {
  width: 12px;
  background: var(--crimson);
}

.last-call__signal i:nth-child(1) { height: 22px; }
.last-call__signal i:nth-child(2) { height: 42px; background: var(--brass); }
.last-call__signal i:nth-child(3) { height: 60px; background: var(--sky); }

.last-call__signal span {
  width: 22px;
  height: 22px;
  background: var(--night);
}

.question-stack {
  display: grid;
  gap: 9px;
  counter-reset: questions;
}

.question {
  position: relative;
  counter-increment: questions;
  color: var(--cream);
  background: var(--night-2);
  border: 2px solid var(--hull);
  border-left: 6px solid var(--brass);
}

.question[open] {
  border-left-color: var(--crimson);
  background: var(--night);
}

.question summary {
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 13px 19px 13px 12px;
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
}

.question summary::-webkit-details-marker {
  display: none;
}

.question summary::before {
  content: counter(questions, decimal-leading-zero);
  color: var(--brass);
  font-family: var(--display);
  font-size: 38px;
  line-height: 0.8;
  text-align: center;
}

.question summary::after {
  content: "+";
  color: var(--crimson);
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  text-align: center;
}

.question[open] summary::after {
  content: "−";
}

.question p {
  margin: 0 22px 22px 70px;
  padding-top: 16px;
  color: var(--sky-pale);
  border-top: 1px dashed rgba(121, 200, 232, 0.28);
  font-size: 14px;
}

/* Footer */
.ship-footer {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.1fr);
  gap: 50px;
  margin-top: 120px;
  padding: 54px max(24px, calc((100vw - 1440px) / 2));
  background:
    linear-gradient(180deg, rgba(200, 60, 50, 0.16), transparent 35%),
    var(--night);
  border-top: 4px solid var(--brass);
}

.ship-sigil--footer {
  width: max-content;
  margin-bottom: 22px;
}

.ship-footer__brand > p {
  color: var(--sky);
  font-family: var(--mono);
  font-size: 10px;
}

.ship-footer__brand > span {
  display: block;
  margin-top: 7px;
  color: var(--brass);
  font-family: var(--display);
  font-size: 38px;
  line-height: 0.9;
  text-transform: uppercase;
}

.ship-footer__registry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--hull);
}

.ship-footer__registry > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid var(--hull);
}

.ship-footer__registry > div:last-child {
  border-right: 0;
}

.ship-footer__registry span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.ship-footer__registry code {
  color: var(--cream);
  font-size: 10px;
}

.ship-footer__registry .ink-button {
  align-self: flex-start;
  min-height: 36px;
  padding: 7px 9px;
  font-size: 8px;
}

/* Wallet hatch, toast, and missing art */
.wallet-hatch {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(6, 17, 31, 0.86);
  backdrop-filter: blur(5px);
}

.wallet-hatch.show {
  display: grid;
}

.wallet-hatch__card {
  width: min(430px, 100%);
  padding: 25px;
  color: var(--cream);
  background: var(--night-2);
  border: 4px solid var(--cream);
  box-shadow: 12px 12px 0 var(--crimson);
  clip-path: polygon(0 13px, 13px 13px, 13px 0, calc(100% - 13px) 0, calc(100% - 13px) 13px, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 13px calc(100% - 13px), 0 calc(100% - 13px));
}

.wallet-hatch__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--brass);
}

.wallet-hatch__head strong {
  font-family: var(--display);
  font-size: 54px;
  font-weight: 400;
  line-height: 0.8;
  text-transform: uppercase;
}

.close-pixel {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--night);
  background: var(--crimson);
  border: 2px solid var(--night);
  box-shadow: 3px 3px 0 var(--cream);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.wallet-hatch__options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.wallet-hatch__options .provider-key {
  min-height: 52px;
  color: var(--night);
  background: var(--brass);
  border: 2px solid var(--night);
  box-shadow: 5px 5px 0 var(--crimson);
  font-family: var(--mono);
  font-size: 11px;
}

.wallet-hatch__options .provider-key:hover {
  background: var(--cream);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--crimson);
}

.sky-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 16px;
  color: var(--night);
  background: var(--cream);
  border: 3px solid var(--night);
  box-shadow: 6px 6px 0 var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 130ms steps(2), transform 130ms steps(2);
  pointer-events: none;
}

.sky-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.art-missing {
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(214, 168, 78, 0.38) 48% 52%, transparent 52%),
    linear-gradient(45deg, transparent 0 48%, rgba(121, 200, 232, 0.32) 48% 52%, transparent 52%),
    var(--hull) !important;
}

.art-missing::after {
  content: "";
  position: absolute;
  inset: 24%;
  border: 4px solid var(--brass);
  box-shadow: 0 0 0 4px var(--night);
}

/* Responsive poster wall */
@media (max-width: 1180px) {
  :root {
    --page: min(1440px, calc(100vw - 34px));
  }

  .bridge-bar__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .ship-sigil__type b,
  .ship-sigil__type strong {
    font-size: 27px;
  }

  .chart-tab {
    padding-inline: 9px;
    font-size: 9px;
  }

  .hero-poster__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  }

  .hero-shout {
    font-size: clamp(86px, 13vw, 160px);
  }

  .counter-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    gap: 38px;
  }

  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-steps li:nth-child(2n) {
    border-right: 0;
  }

  .timeline-steps li:nth-child(-n + 4) {
    border-bottom: 1px solid rgba(121, 200, 232, 0.18);
  }

  .rank-rung {
    grid-template-columns: 64px 90px minmax(0, 1fr) 100px 110px;
    gap: 12px;
  }

  .rank-rung__index {
    font-size: 62px;
  }

  .rank-rung__art {
    height: 72px;
  }

  .crew-roster,
  .market-parade {
    grid-template-columns: repeat(3, 1fr);
  }

  .index-track {
    grid-template-columns: repeat(5, 220px);
  }
}

@media (max-width: 920px) {
  .bridge-bar__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand tools"
      "tabs tabs";
    gap: 8px 14px;
    padding: 9px 0 10px;
  }

  .ship-sigil {
    grid-area: brand;
  }

  .bridge-tools {
    grid-area: tools;
    justify-self: end;
  }

  .chart-tabs {
    grid-area: tabs;
    justify-content: flex-start;
    border-top: 1px solid rgba(121, 200, 232, 0.18);
  }

  .chart-tab {
    padding: 9px 12px 7px;
  }

  .chart-tab::before {
    bottom: -7px;
  }

  .hero-poster {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-poster__grid {
    grid-template-columns: 1fr;
  }

  .hero-title-stack {
    order: 1;
  }

  .hero-console {
    order: 2;
    width: min(620px, 92%);
    margin: 28px auto 0;
  }

  .hero-shout {
    font-size: clamp(86px, 19vw, 168px);
  }

  .hero-shout__front {
    margin-left: clamp(12px, 8vw, 70px);
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-fact:nth-child(2) {
    border-right: 0;
  }

  .hero-fact:nth-child(-n + 2) {
    border-bottom: 2px dashed rgba(121, 200, 232, 0.36);
  }

  .section-marquee {
    grid-template-columns: 70px 1fr;
  }

  .section-marquee__note {
    grid-column: 2;
    padding-top: 8px;
  }

  .counter-layout {
    grid-template-columns: 1fr;
  }

  .vending-cabinet {
    position: relative;
    top: auto;
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .x-lane-panel {
    grid-template-columns: 1fr;
  }

  .x-lane-panel::before {
    top: auto;
    right: 0;
    bottom: 37%;
    left: 0;
    width: auto;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--brass) 0 10px, transparent 10px 18px);
  }

  .x-panel-head {
    padding: 0 0 28px;
  }

  .drum-head {
    grid-template-columns: 70px 1fr;
  }

  .drum-head .ink-button {
    grid-column: 2;
    justify-self: start;
  }

  .rank-yard__heading,
  .foundry-head,
  .lower-deck__head {
    grid-template-columns: 70px 1fr;
  }

  .rank-yard__heading > div,
  .foundry-head > div,
  .lower-deck__head > div {
    grid-column: 2;
  }

  .rank-rung {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 66px 92px minmax(0, 1fr) 100px;
  }

  .rank-rung__count {
    grid-column: 4;
    grid-row: 1;
    align-self: center;
  }

  .rank-rung__share {
    grid-column: 3;
  }

  .rank-rung::before {
    display: none;
  }

  .story-run {
    grid-template-columns: 1fr;
  }

  .raid-script {
    border-top: 0;
    border-left: 3px solid var(--cream);
  }

  .foundry-grid {
    grid-template-columns: 1fr;
  }

  .manifest-strip {
    grid-template-columns: 1fr;
  }

  .invite-cable {
    grid-template-columns: 1fr;
  }

  .invite-cable__copy {
    grid-row: auto;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 2px dashed rgba(243, 231, 201, 0.3);
  }

  .crew-roster,
  .market-parade {
    grid-template-columns: repeat(2, 1fr);
  }

  .consignment-grid {
    grid-template-columns: 1fr;
  }

  .consignment-form {
    padding: 20px 0 0;
    border-top: 2px dashed rgba(243, 231, 201, 0.28);
    border-left: 0;
  }

  .last-call {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .last-call__torn {
    min-height: 280px;
  }

  .ship-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100vw - 24px);
  }

  body {
    font-size: 16px;
  }

  .bridge-bar {
    box-shadow: 0 5px 0 rgba(200, 60, 50, 0.82);
  }

  .bridge-bar__inner {
    width: calc(100vw - 18px);
    gap: 6px 8px;
  }

  .ship-sigil {
    gap: 8px;
  }

  .ship-sigil__pixels {
    width: 25px;
    height: 25px;
    background:
      linear-gradient(var(--cream), var(--cream)) 0 16px / 25px 5px no-repeat,
      linear-gradient(var(--crimson), var(--crimson)) 8px 0 / 5px 16px no-repeat,
      linear-gradient(var(--brass), var(--brass)) 3px 7px / 19px 3px no-repeat;
  }

  .ship-sigil__pixels::after {
    left: -3px;
    width: 6px;
    height: 6px;
    box-shadow: 25px 0 var(--crimson);
  }

  .ship-sigil__type b,
  .ship-sigil__type strong {
    font-size: 23px;
  }

  .ship-sigil__type small {
    display: none;
  }

  .bridge-tools {
    gap: 5px;
  }

  .language-dial select {
    min-width: 61px;
    height: 39px;
    padding-left: 6px;
    padding-right: 19px;
    background-position: calc(100% - 11px) 16px, calc(100% - 6px) 16px, 0 0;
    font-size: 8px;
  }

  .connect-tab {
    min-height: 39px;
    padding: 9px 11px;
    box-shadow: 4px 4px 0 var(--brass-dark);
    font-size: 10px;
  }

  .chart-tab {
    padding: 8px 9px 6px;
    font-size: 8px;
  }

  .hero-poster {
    padding-top: 44px;
  }

  .hero-poster::before {
    top: 9%;
    font-size: 56vw;
  }

  .poster-stamp,
  .microlabel {
    font-size: 8px;
  }

  .hero-shout {
    margin-top: 14px;
    font-size: clamp(71px, 24vw, 126px);
  }

  .hero-shout__back {
    -webkit-text-stroke-width: 2px;
    filter: drop-shadow(4px 4px 0 var(--crimson-dark));
  }

  .hero-shout__front {
    max-width: 100%;
    margin-left: 5vw;
    text-shadow: 4px 4px 0 var(--crimson);
  }

  .hero-bulletin {
    width: 84%;
    margin-top: 5px;
    padding: 13px 14px 11px;
    box-shadow: 5px 5px 0 var(--crimson);
  }

  .hero-bulletin p {
    max-width: 230px;
    font-size: 11px;
  }

  .hero-bulletin strong {
    right: 13px;
    bottom: -18px;
    font-size: 57px;
  }

  .hero-lede {
    margin-top: 25px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    gap: 13px;
    margin-top: 22px;
  }

  .hero-actions .pixel-button {
    width: 100%;
  }

  .hero-actions .ink-link {
    width: 100%;
  }

  .hero-console {
    width: 94%;
    margin-top: 42px;
  }

  .hero-console__bezel {
    padding: 16px;
    box-shadow: 8px 8px 0 var(--crimson), 13px 13px 0 var(--night);
  }

  .hero-console__screen {
    border-width: 4px;
  }

  .hero-console__tag {
    right: -13px;
    font-size: 7px;
  }

  .screen-readout {
    right: 9px;
    bottom: 9px;
    font-size: 6px;
  }

  .console-caption {
    margin-top: 20px;
    font-size: 8px;
  }

  .hero-facts {
    margin-top: 36px;
    box-shadow: 7px 7px 0 var(--brass-dark);
  }

  .hero-fact {
    min-height: 102px;
    padding: 14px;
  }

  .hero-fact strong {
    font-size: 20px;
  }

  .hero-fact span {
    font-size: 9px;
  }

  .pixel-arrow {
    display: none;
  }

  .poster-section {
    padding-top: 100px;
  }

  .section-marquee {
    grid-template-columns: 54px 1fr;
    gap: 13px;
  }

  .section-marquee__index {
    font-size: 54px;
  }

  .section-marquee h2,
  .drum-head h2,
  .rank-yard__heading h2,
  .story-run h2,
  .foundry-head h2,
  .lower-deck__head h2,
  .last-call h2 {
    font-size: clamp(50px, 18vw, 82px);
  }

  .section-marquee__note {
    font-size: 12px;
  }

  .counter-layout {
    margin-top: 28px;
  }

  .raid-pass {
    padding: 24px 19px;
    box-shadow: 7px 7px 0 var(--crimson), 12px 12px 0 var(--night);
  }

  .pass-serial {
    display: none;
  }

  .flight-status {
    font-size: 10px;
  }

  .pass-count {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .pass-count > div {
    justify-content: flex-end;
  }

  .pass-count strong {
    font-size: 80px;
  }

  .runway-meter {
    gap: 2px;
    height: 18px;
  }

  .countdown-board {
    gap: 1px;
    padding: 12px 4px;
  }

  .countdown-board strong {
    font-size: 38px;
  }

  .countdown-board span {
    font-size: 6px;
  }

  .countdown-board > i {
    font-size: 30px;
  }

  .route-read,
  .eligibility {
    padding: 9px 11px;
  }

  .route-read p,
  .eligibility p {
    font-size: 11px;
  }

  .quantity-line {
    grid-template-columns: 1fr auto;
  }

  .quantity-line .microlabel {
    grid-column: 1 / -1;
  }

  .stepper {
    grid-template-columns: 39px 61px 39px;
  }

  .price-ledger {
    grid-template-columns: 1fr 1fr;
  }

  .price-ledger > div:nth-child(2) {
    border-right: 0;
  }

  .price-ledger > div:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 50px;
    border-top: 2px dashed rgba(6, 17, 31, 0.3);
  }

  .mint-key {
    min-height: 60px;
  }

  .vending-cabinet {
    box-shadow: 7px 7px 0 var(--brass), 12px 12px 0 var(--crimson-dark);
  }

  .cabinet-head h3 {
    font-size: 49px;
  }

  .cabinet-window img {
    width: min(100%, 240px);
  }

  .odds-rack {
    grid-template-columns: 1fr;
  }

  .odds-rack > div,
  .odds-rack > div:nth-child(even) {
    border-right: 0;
  }

  .rule-timeline {
    margin-top: 52px;
    padding: 22px 17px;
    box-shadow: 6px 6px 0 rgba(200, 60, 50, 0.42);
  }

  .rule-timeline__head {
    gap: 15px;
  }

  .rule-timeline__head .section-marquee__index {
    font-size: 52px;
  }

  .rule-timeline__head h3 {
    font-size: 38px;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .timeline-steps::before {
    top: 0;
    bottom: 0;
    left: 17px;
    width: 3px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--brass) 0 10px, transparent 10px 18px);
  }

  .timeline-steps li,
  .timeline-steps li:nth-child(4n) {
    min-height: 92px;
    padding: 4px 0 16px 50px;
    border-right: 0;
    border-bottom: 1px solid rgba(121, 200, 232, 0.18);
  }

  .timeline-steps li:last-child {
    border-bottom: 0;
  }

  .timeline-steps b {
    top: 2px;
  }

  .timeline-steps p {
    max-width: none;
    padding: 6px 0 0;
  }

  .x-lane-panel {
    margin-top: 54px;
    padding: 23px 18px;
    box-shadow: 7px 7px 0 var(--sky);
  }

  .x-lane-panel::before {
    display: none;
  }

  .x-panel-head h3 {
    font-size: 48px;
  }

  .x-panel-mark {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }

  .x-form-grid {
    grid-template-columns: 1fr;
  }

  .x-post-step textarea {
    min-height: 180px;
  }

  .drum-head {
    grid-template-columns: 54px 1fr;
    gap: 13px;
  }

  .drum-head h2 {
    font-size: 20px;
  }

  .drum-scroll {
    margin-right: -12px;
    padding-right: 12px;
  }

  .index-card {
    flex-basis: 245px;
  }

  .index-track {
    grid-template-columns: repeat(5, 210px);
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .index-group {
    padding: 13px;
  }

  .rank-yard__heading,
  .foundry-head,
  .lower-deck__head {
    grid-template-columns: 54px 1fr;
    gap: 13px;
  }

  .rank-yard__heading p:last-child,
  .lower-deck__head p:last-child {
    font-size: 13px;
  }

  .rank-ladder-wrap {
    padding-left: 17px;
  }

  .ladder-rail {
    left: 4px;
    width: 5px;
  }

  .rank-rung {
    grid-template-columns: 48px 1fr auto;
    gap: 9px;
    min-height: 132px;
    padding: 11px;
    box-shadow: 5px 5px 0 var(--accent);
  }

  .rank-rung__index {
    font-size: 49px;
  }

  .rank-rung__art {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 76px;
    height: 76px;
  }

  .rank-rung__copy {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-left: 86px;
  }

  .rank-rung__copy h3 {
    font-size: 34px;
  }

  .rank-rung__copy p {
    display: none;
  }

  .rank-rung__share {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .rank-rung__count {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    padding-left: 7px;
  }

  .rank-rung__count strong {
    font-size: 34px;
  }

  .story-run {
    padding-top: 110px;
  }

  .story-run__poster {
    min-height: 470px;
    padding: 25px 20px;
    box-shadow: 8px 8px 0 var(--brass);
  }

  .story-run__poster .section-marquee__index {
    font-size: 75px;
  }

  .story-run__poster h2 {
    font-size: 63px;
  }

  .raid-script {
    padding: 14px 0 14px 18px;
  }

  .raid-script li {
    grid-template-columns: 55px 1fr;
    min-height: 100px;
    padding: 11px 15px;
  }

  .raid-script span {
    font-size: 49px;
  }

  .raid-script p {
    font-size: 13px;
  }

  .loot-foundry {
    padding-top: 132px;
  }

  .loot-marquee {
    top: 55px;
    font-size: 150px;
  }

  .foundry-head p:last-child {
    font-size: 13px;
  }

  .reward-slope,
  .supply-ledger {
    padding: 18px 15px;
  }

  .ramp-chart {
    gap: 3px;
    height: 180px;
    padding: 13px 7px 0;
  }

  .ramp-chart b {
    font-size: 6px;
  }

  .next-haul {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .next-haul strong {
    font-size: 30px;
  }

  .supply-ledger__body {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .supply-keys {
    width: 100%;
  }

  .lower-deck {
    margin-top: 110px;
    padding: 72px 12px;
  }

  .manifest-strip {
    margin-top: 28px;
  }

  .loot-purse,
  .invite-cable {
    padding: 19px;
  }

  .loot-purse > strong {
    font-size: 78px;
  }

  .invite-ledger {
    grid-template-columns: 1fr;
  }

  .invite-ledger > div {
    border-right: 0;
    border-bottom: 1px dashed rgba(243, 231, 201, 0.28);
  }

  .invite-ledger > div:last-child {
    border-bottom: 0;
  }

  .copy-line {
    grid-template-columns: 1fr;
  }

  .crew-toolline {
    align-items: stretch;
    flex-direction: column;
  }

  .crew-roster,
  .market-parade {
    grid-template-columns: 1fr;
  }

  .market-dock {
    margin-top: 64px;
  }

  .market-dock__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-dock__head h3 {
    font-size: 76px;
  }

  .fee-stamp {
    align-self: flex-end;
    font-size: 9px;
  }

  .consignment-desk {
    padding: 18px;
    box-shadow: 7px 7px 0 var(--crimson);
  }

  .consignment-desk__head {
    flex-direction: column;
  }

  .pirate-picker {
    grid-template-columns: repeat(2, 1fr);
  }

  .consignment-actions {
    grid-template-columns: 1fr;
  }

  .last-call {
    padding-top: 105px;
  }

  .last-call__torn {
    min-height: 300px;
    padding: 24px;
  }

  .last-call__torn .section-marquee__index {
    font-size: 74px;
  }

  .question summary {
    grid-template-columns: 38px 1fr 22px;
    gap: 8px;
    min-height: 70px;
    padding: 10px;
    font-size: 11px;
  }

  .question summary::before {
    font-size: 31px;
  }

  .question p {
    margin: 0 14px 18px 56px;
    font-size: 12px;
  }

  .ship-footer {
    margin-top: 70px;
    padding: 42px 15px;
  }

  .ship-footer__brand > span {
    font-size: 29px;
  }

  .ship-footer__registry {
    grid-template-columns: 1fr;
  }

  .ship-footer__registry > div {
    border-right: 0;
    border-bottom: 1px solid var(--hull);
  }

  .ship-footer__registry > div:last-child {
    border-bottom: 0;
  }

  .wallet-hatch {
    padding: 12px;
  }

  .wallet-hatch__card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
