@font-face {
  font-family: "Silkscreen";
  src: url("fonts/Silkscreen-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Silkscreen";
  src: url("fonts/Silkscreen-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

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

:root {
  --night: #09060f;
  --ink: #10081d;
  --ink-soft: #1a0d2d;
  --dusk: #27113f;
  --violet: #6b2bd9;
  --violet-bright: #9d66ff;
  --violet-fade: #392052;
  --sodium: #ffb23e;
  --sodium-deep: #f0781c;
  --pink: #ff4f9a;
  --pink-deep: #c92275;
  --mint: #79f2d0;
  --cyan: #65e8ff;
  --paper: #fff4dc;
  --paper-dim: #dfd1ea;
  --smoke: #a594b7;
  --line: rgba(255, 244, 220, 0.18);
  --line-strong: rgba(255, 244, 220, 0.38);
  --shadow: #050309;
  --panel-shadow: 9px 9px 0 var(--shadow);
  --display: "Silkscreen", "PingFang SC", "Microsoft YaHei", monospace;
  --body: "Pixelify Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", monospace;
  --page-pad: clamp(62px, 8.2vw, 142px);
  --content-max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 7%, rgba(107, 43, 217, 0.24), transparent 31rem),
    radial-gradient(circle at 10% 25%, rgba(255, 79, 154, 0.1), transparent 27rem),
    linear-gradient(180deg, #130a22 0%, var(--night) 25%, #0b0713 72%, #08050d 100%);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.62;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  pointer-events: none;
}

::selection {
  color: var(--night);
  background: var(--sodium);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.pixel-art,
img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.screen-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  pointer-events: none;
}

.screen-grain::after {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.11) 3px 4px);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-to-schedule {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--night);
  background: var(--cyan);
  border: 2px solid var(--paper);
  font-family: var(--display);
  font-size: 0.78rem;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 140ms steps(2, end);
}

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

/* Floating schedule pill */
.orbit-nav {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 40px);
  padding: 8px 9px 8px 14px;
  background: rgba(15, 8, 27, 0.91);
  border: 2px solid var(--line-strong);
  box-shadow:
    5px 5px 0 rgba(5, 3, 9, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-cross {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--night);
  background: var(--sodium);
  font-size: 1rem;
  line-height: 1;
}

.nav-epoch {
  color: var(--pink);
}

.primary-schedule {
  display: flex;
  align-items: center;
  gap: 1px;
}

.primary-schedule a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 8px;
  color: var(--paper-dim);
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    color 120ms steps(2, end),
    background 120ms steps(2, end);
}

.primary-schedule a:hover {
  color: var(--night);
  background: var(--sodium);
}

.nav-time {
  color: var(--pink);
  font-size: 0.52rem;
}

.primary-schedule a:hover .nav-time {
  color: var(--night);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.62rem;
}

.lang-switch button {
  padding: 5px 4px;
  color: var(--smoke);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--sodium);
}

.lang-switch > span {
  color: var(--violet-fade);
}

.wallet-button {
  min-width: 104px;
  padding: 10px 12px;
  color: var(--night);
  background: var(--sodium);
  border: 2px solid var(--paper);
  box-shadow: 3px 3px 0 var(--shadow);
  font-family: var(--display);
  font-size: 0.66rem;
  cursor: pointer;
  transition:
    transform 100ms steps(2, end),
    box-shadow 100ms steps(2, end),
    background 120ms;
}

.wallet-button:hover {
  background: var(--paper);
}

.wallet-button:active {
  box-shadow: 1px 1px 0 var(--shadow);
  transform: translate(2px, 2px);
}

.wallet-button.is-connected {
  color: var(--mint);
  background: var(--ink-soft);
  border-color: var(--mint);
}

.nav-menu-button {
  display: none;
  width: 34px;
  height: 33px;
  padding: 7px 6px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--paper);
}

/* Left time rail */
.time-rail {
  position: fixed;
  top: 122px;
  bottom: 28px;
  left: 22px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  pointer-events: none;
}

.rail-line {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}

.time-rail a {
  position: relative;
  display: flex;
  align-items: center;
  width: 34px;
  min-height: 24px;
  pointer-events: auto;
  text-decoration: none;
}

.time-rail a::before {
  z-index: 1;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--ink);
  border: 1px solid var(--smoke);
  transform: translateX(5px);
  transition:
    background 120ms steps(2, end),
    box-shadow 120ms steps(2, end);
}

.time-rail a span {
  position: absolute;
  left: 25px;
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.5rem;
  opacity: 0;
  transform: translateX(-3px);
  transition:
    opacity 120ms,
    transform 120ms;
}

.time-rail a:hover::before,
.time-rail a.is-current::before {
  background: var(--sodium);
  box-shadow: 0 0 0 3px rgba(255, 178, 62, 0.16);
}

.time-rail a:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* Shared pieces */
.hero-block,
.schedule-section,
.stat-tape,
.site-footer {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.pixel-frame,
.pixel-panel {
  background: rgba(20, 11, 34, 0.9);
  border: 2px solid var(--line-strong);
  box-shadow: var(--panel-shadow);
}

.pixel-panel {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.panel-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.panel-code,
.micro-label,
.stat-kicker,
.section-kicker {
  font-family: var(--display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.panel-code {
  display: block;
  margin-bottom: 5px;
  color: var(--pink);
  font-size: 0.6rem;
}

.micro-label {
  display: block;
  color: var(--smoke);
  font-size: 0.58rem;
  line-height: 1.3;
}

.pixel-panel h3,
.board-heading h3,
.tariff-note h3,
.sealed-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  line-height: 1.3;
}

.pixel-button,
.line-button,
.rarity-filter {
  cursor: pointer;
}

.pixel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  color: var(--night);
  background: var(--paper);
  border: 2px solid var(--night);
  box-shadow: 5px 5px 0 var(--pink);
  font-family: var(--display);
  font-size: 0.73rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 100ms steps(2, end),
    box-shadow 100ms steps(2, end),
    background 120ms;
}

.pixel-button:hover {
  background: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 var(--pink);
}

.pixel-button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--pink);
}

.pixel-button:disabled,
.line-button:disabled,
.rarity-filter:disabled {
  cursor: not-allowed;
  filter: grayscale(0.65);
  opacity: 0.43;
  transform: none;
}

.pixel-button-hot,
.pixel-button-primary {
  background: var(--sodium);
  box-shadow: 5px 5px 0 var(--pink);
}

.pixel-button-hot:hover,
.pixel-button-primary:hover {
  background: #ffd16e;
}

.pixel-button-pink {
  color: var(--paper);
  background: var(--pink);
  border-color: var(--night);
  box-shadow: 5px 5px 0 var(--sodium);
}

.pixel-button-pink:hover {
  background: #ff70ae;
  box-shadow: 7px 7px 0 var(--sodium);
}

.pixel-button-slim {
  padding: 11px 13px;
  box-shadow: 3px 3px 0 var(--pink);
  font-size: 0.63rem;
}

.text-link,
.line-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--display);
  font-size: 0.68rem;
  line-height: 1.3;
  text-decoration: none;
  transition:
    color 120ms,
    border-color 120ms;
}

.text-link:hover,
.line-button:hover {
  color: var(--sodium);
  border-color: var(--sodium);
}

.danger-link {
  color: #ff93bd;
}

.danger-link:hover {
  color: var(--pink);
  border-color: var(--pink);
}

/* Hero */
.hero-block {
  min-height: 940px;
  padding-top: 126px;
  padding-bottom: 56px;
}

.hero-block::before {
  position: absolute;
  top: 84px;
  right: 4vw;
  width: min(41vw, 600px);
  height: min(41vw, 600px);
  content: "";
  background: radial-gradient(circle, rgba(107, 43, 217, 0.18), transparent 63%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 98px);
  min-height: 690px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--sodium);
  font-family: var(--display);
  font-size: clamp(0.58rem, 0.9vw, 0.72rem);
  letter-spacing: 0.09em;
}

.signal-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.signal-dot::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(121, 242, 208, 0.4);
  animation: signal-pulse 2.4s steps(4, end) infinite;
}

.hero-title {
  position: relative;
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(4rem, 9.8vw, 9.2rem);
  font-weight: 700;
  line-height: 0.76;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  text-shadow:
    5px 5px 0 var(--violet),
    10px 10px 0 var(--night);
  transform-origin: left center;
  animation: title-slam 620ms steps(6, end) both;
}

.title-crows {
  color: var(--sodium);
  font-size: 0.78em;
  letter-spacing: -0.1em;
  animation-delay: 90ms;
}

.title-caret {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--pink);
  animation: caret-blink 1s steps(1, end) infinite;
}

.hero-lede {
  max-width: 660px;
  margin: 33px 0 0;
  color: var(--paper-dim);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.clock-rig {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: min(100%, 570px);
  margin-top: 30px;
  padding: 14px 16px 13px;
  background:
    linear-gradient(90deg, rgba(107, 43, 217, 0.2), transparent 45%),
    var(--ink-soft);
  border: 1px solid var(--violet-fade);
  border-left: 3px solid var(--pink);
}

.clock-readout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 14px;
}

.clock-label {
  grid-column: 1 / -1;
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
}

.clock-readout time {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.1;
  text-shadow: 3px 3px 0 var(--violet);
  font-variant-numeric: tabular-nums;
}

.clock-date {
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.57rem;
}

.clock-ticks {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 96px;
  height: 30px;
  padding-bottom: 3px;
  margin-left: auto;
}

.clock-ticks span {
  width: 2px;
  height: 9px;
  background: var(--line-strong);
}

.clock-ticks span:nth-child(2n) {
  height: 17px;
  background: var(--pink);
}

.clock-ticks span:nth-child(4n) {
  height: 26px;
  background: var(--sodium);
}

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

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-specs li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255, 244, 220, 0.035);
  border: 1px solid var(--line);
}

.hero-specs strong {
  color: var(--sodium);
  font-family: var(--display);
  font-size: 0.78rem;
}

.hero-specs span {
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
}

.hero-stage {
  position: relative;
  z-index: 1;
  align-self: center;
}

.hero-art {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #120c1d;
  box-shadow:
    12px 12px 0 var(--night),
    15px 15px 0 var(--pink);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image.is-missing {
  opacity: 0;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 79, 154, 0.12), transparent 55%),
    radial-gradient(circle at 72% 35%, rgba(255, 178, 62, 0.25), transparent 21%),
    linear-gradient(145deg, #20103b 0%, #10091d 57%, #2c123c 100%);
}

.fallback-sky {
  position: absolute;
  inset: 30% 8% auto;
  height: 2px;
  background: var(--pink);
  box-shadow:
    0 14px 0 rgba(255, 79, 154, 0.38),
    0 29px 0 rgba(255, 178, 62, 0.3),
    0 51px 0 rgba(101, 232, 255, 0.2);
  transform: skewY(-7deg);
}

.fallback-crow {
  position: absolute;
  top: 34%;
  left: 53%;
  width: 74px;
  height: 53px;
  background: var(--night);
  clip-path: polygon(0 67%, 25% 29%, 45% 47%, 58% 0, 66% 5%, 61% 48%, 100% 25%, 78% 62%, 58% 66%, 50% 100%, 40% 99%, 42% 65%);
  filter: drop-shadow(8px 8px 0 rgba(255, 79, 154, 0.5));
}

.fallback-crow::after {
  position: absolute;
  top: 23px;
  left: 43px;
  width: 9px;
  height: 4px;
  content: "";
  background: var(--sodium);
}

.fallback-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 0, 0, 0.18) 5px 6px);
}

.art-hud {
  position: absolute;
  z-index: 4;
  right: 15px;
  left: 15px;
  display: flex;
  justify-content: space-between;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(0.43rem, 0.66vw, 0.58rem);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 var(--night);
}

.art-hud-top {
  top: 13px;
}

.art-hud-bottom {
  bottom: 13px;
}

.hud-live {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hud-live > span:first-child {
  width: 7px;
  height: 7px;
  background: var(--pink);
  animation: hud-blink 1.2s steps(1, end) infinite;
}

.corner-mark {
  position: absolute;
  z-index: 4;
  width: 17px;
  height: 17px;
  border-color: var(--sodium);
  border-style: solid;
}

.corner-tl {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.corner-tr {
  top: 8px;
  right: 8px;
  border-width: 2px 2px 0 0;
}

.corner-bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 2px 2px;
}

.corner-br {
  right: 8px;
  bottom: 8px;
  border-width: 0 2px 2px 0;
}

.hero-caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  margin-top: 25px;
  padding-left: 4px;
}

.caption-index,
.caption-coord {
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.53rem;
  line-height: 1.7;
}

.caption-coord {
  color: var(--smoke);
  text-align: right;
}

.hero-caption p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.45;
}

/* Live tape */
.stat-tape {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  padding-top: 0;
  padding-bottom: 0;
}

.stat-tape article {
  min-width: 0;
  padding: 22px 22px 20px;
  background: rgba(15, 8, 27, 0.8);
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.stat-tape article:first-child {
  border-left-color: var(--line-strong);
}

.stat-tape article:last-child {
  border-right-color: var(--line-strong);
}

.stat-tape article:nth-child(2) {
  background: rgba(255, 178, 62, 0.045);
}

.stat-tape article:nth-child(3) {
  background: rgba(255, 79, 154, 0.045);
}

.stat-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--smoke);
  font-size: 0.52rem;
}

.stat-tape strong {
  display: block;
  overflow: hidden;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.28rem, 2.1vw, 1.9rem);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-tape small {
  color: var(--smoke);
  font-size: 0.56em;
}

.stat-note {
  display: block;
  margin-top: 6px;
  color: var(--violet-bright);
  font-family: var(--display);
  font-size: 0.47rem;
}

.stat-bar {
  display: block;
  height: 4px;
  margin-top: 10px;
  background: var(--violet-fade);
}

.stat-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--sodium);
  transition: width 700ms steps(12, end);
}

/* Schedule sections */
.schedule-section {
  padding-top: clamp(112px, 12vw, 188px);
  padding-bottom: clamp(100px, 10vw, 156px);
}

.schedule-section + .schedule-section {
  border-top: 1px solid rgba(255, 244, 220, 0.08);
}

.schedule-head {
  display: grid;
  grid-template-columns: minmax(155px, 0.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 82px);
}

.schedule-stamp {
  display: grid;
  gap: 10px;
  align-content: start;
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
}

.stamp-time {
  width: max-content;
  padding: 8px 10px;
  color: var(--night);
  background: var(--sodium);
  box-shadow: 4px 4px 0 var(--pink);
  font-size: clamp(1rem, 2vw, 1.55rem);
  letter-spacing: 0;
  line-height: 1;
}

.stamp-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 5px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.schedule-intro {
  max-width: 950px;
}

.section-kicker {
  margin: 0 0 13px;
  color: var(--pink);
  font-size: 0.63rem;
}

.schedule-intro h2 {
  max-width: 870px;
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.25rem, 5.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 4px 4px 0 var(--violet-fade);
}

.schedule-intro > p:last-child {
  max-width: 770px;
  margin: 24px 0 0;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

/* Flight and X terminals */
.flight-console {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.mint-terminal,
.x-terminal {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
}

.mint-terminal {
  background:
    radial-gradient(circle at 95% 4%, rgba(255, 178, 62, 0.13), transparent 18rem),
    rgba(20, 11, 34, 0.94);
}

.x-terminal {
  background:
    linear-gradient(145deg, rgba(255, 79, 154, 0.09), transparent 45%),
    rgba(20, 11, 34, 0.94);
}

.state-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 7px 9px;
  border: 1px solid currentColor;
  font-family: var(--display);
  font-size: 0.56rem;
  line-height: 1;
  text-align: center;
}

.state-syncing {
  color: var(--cyan);
}

.state-live {
  color: var(--mint);
  background: rgba(121, 242, 208, 0.08);
}

.state-paused {
  color: var(--sodium);
  background: rgba(255, 178, 62, 0.08);
}

.state-error {
  color: var(--pink);
  background: rgba(255, 79, 154, 0.08);
}

.network-notice {
  margin-top: 20px;
  padding: 10px 12px;
  color: var(--sodium);
  background: rgba(255, 178, 62, 0.08);
  border-left: 3px solid var(--sodium);
  font-size: 0.92rem;
  line-height: 1.45;
}

.agent-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-copy strong {
  display: block;
  margin-top: 5px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}

.agent-copy strong.is-ok {
  color: var(--mint);
}

.agent-copy strong.is-blocked {
  color: var(--pink);
}

.registry-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--sodium);
  font-family: var(--display);
  font-size: 0.55rem;
  text-decoration: none;
}

.registry-link:hover {
  color: var(--paper);
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 23px;
}

.quantity-row label {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.76rem;
}

.quantity-hint {
  margin: 4px 0 0;
  color: var(--smoke);
  font-size: 0.86rem;
}

.quantity-hint span:first-child {
  color: var(--sodium);
}

.pixel-stepper {
  display: grid;
  grid-template-columns: 40px 66px 40px;
  min-height: 48px;
  border: 2px solid var(--line-strong);
  background: var(--night);
}

.pixel-stepper button {
  padding: 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  cursor: pointer;
}

.pixel-stepper button:hover:not(:disabled) {
  color: var(--night);
  background: var(--sodium);
}

.pixel-stepper button:disabled {
  color: var(--violet-fade);
  cursor: not-allowed;
}

.pixel-stepper input {
  width: 100%;
  padding: 0;
  color: var(--sodium);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: 0;
  font-family: var(--display);
  font-size: 1rem;
  text-align: center;
  -moz-appearance: textfield;
}

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

.pixel-stepper-small {
  grid-template-columns: 31px 44px 31px;
  min-height: 38px;
}

.pixel-stepper-small button {
  font-size: 0.9rem;
}

.pixel-stepper-small input {
  font-size: 0.78rem;
}

.quote-ledger {
  display: grid;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.quote-ledger > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
}

.quote-ledger dt {
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
}

.quote-ledger dd {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.7rem;
  text-align: right;
}

.quote-ledger > div:nth-child(2) dd {
  color: var(--pink);
}

.mint-submit {
  width: 100%;
}

.action-message {
  min-height: 1.45em;
  margin: 14px 0 0;
  color: var(--paper-dim);
  font-size: 0.92rem;
  line-height: 1.45;
}

.action-message.is-ok {
  color: var(--mint);
}

.action-message.is-error {
  color: #ff8fbb;
}

.action-message.is-busy {
  color: var(--sodium);
}

.fine-print,
.micro-note {
  color: var(--smoke);
  font-size: 0.82rem;
  line-height: 1.5;
}

.fine-print {
  margin: 14px 0 0;
}

.micro-note {
  margin: 13px 0 0;
  font-size: 0.75rem;
}

.x-ribbon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: calc(clamp(24px, 3vw, 38px) * -1) calc(clamp(24px, 3vw, 38px) * -1) clamp(25px, 3vw, 38px);
  padding: 10px clamp(24px, 3vw, 38px);
  color: var(--paper);
  background: var(--pink);
  font-family: var(--display);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
}

.x-mark {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--pink);
  background: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
}

.x-mode {
  margin-left: auto;
  color: var(--night);
  font-size: 0.47rem;
}

.x-terminal h3 {
  max-width: 430px;
  margin-top: 7px;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.12;
}

.x-terminal > p:not(.section-kicker, .action-message, .fine-print) {
  color: var(--paper-dim);
  font-size: 0.98rem;
  line-height: 1.55;
}

.x-steps {
  display: grid;
  gap: 18px;
  margin-top: 25px;
}

.x-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--pink);
  border: 1px solid var(--pink);
  font-family: var(--display);
  font-size: 0.55rem;
}

.x-step strong,
.x-step label {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.67rem;
  line-height: 1.35;
}

.x-step p {
  margin: 0 0 9px;
  color: var(--smoke);
  font-size: 0.84rem;
  line-height: 1.45;
}

.x-step input {
  width: 100%;
  margin: 5px 0 10px;
  padding: 11px 12px;
  color: var(--paper);
  background: var(--night);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  font-family: var(--body);
  font-size: 0.9rem;
}

.x-step input:focus {
  border-color: var(--pink);
  box-shadow: 3px 3px 0 rgba(255, 79, 154, 0.3);
}

.x-step .pixel-button {
  width: 100%;
}

/* Nest */
.nest-yard {
  display: grid;
  grid-template-columns: minmax(260px, 0.31fr) minmax(0, 0.69fr);
  gap: 25px;
  align-items: start;
}

.nest-dossier {
  position: sticky;
  top: 108px;
  padding: 26px;
  background:
    linear-gradient(160deg, rgba(107, 43, 217, 0.18), transparent 42%),
    rgba(17, 9, 29, 0.94);
}

.dossier-pip {
  width: 9px;
  height: 9px;
  margin-top: 3px;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(121, 242, 208, 0.6);
}

.wallet-id-card {
  margin-top: 23px;
  padding: 13px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wallet-id-card strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.68rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nest-ledger {
  display: grid;
  gap: 0;
  margin: 17px 0 0;
}

.nest-ledger > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dotted var(--violet-fade);
}

.nest-ledger dt {
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.49rem;
}

.nest-ledger dd {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.63rem;
  text-align: right;
}

.caw-mint-block {
  margin-top: 23px;
  padding: 15px;
  background: rgba(255, 79, 154, 0.06);
  border: 1px solid rgba(255, 79, 154, 0.32);
}

.caw-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.caw-price-line strong {
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.57rem;
}

.caw-mint-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.caw-mint-controls .pixel-button {
  flex: 1;
}

.nest-main {
  min-width: 0;
}

.selection-console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 16px 19px;
  background: rgba(255, 244, 220, 0.035);
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
}

.selection-console strong {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
  font-weight: 400;
}

.selection-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.selection-hint {
  margin: 10px 0 0;
  color: var(--smoke);
  font-size: 0.82rem;
  line-height: 1.45;
}

.holdings-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 32px 0 15px;
}

.holdings-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.26rem;
}

.holdings-heading > span {
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.54rem;
}

.holdings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.holding-tile {
  position: relative;
  min-width: 0;
  padding: 10px;
  background: rgba(17, 9, 29, 0.9);
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 rgba(5, 3, 9, 0.8);
  transition:
    border-color 120ms,
    transform 120ms steps(2, end);
}

.holding-tile:hover {
  border-color: var(--line-strong);
}

.holding-tile.is-selected {
  border-color: var(--sodium);
  box-shadow:
    4px 4px 0 var(--sodium-deep),
    inset 0 0 0 1px var(--sodium);
  transform: translateY(-2px);
}

.holding-pick {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  background: var(--night);
  border: 1px solid var(--line-strong);
  cursor: pointer;
}

.holding-pick input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--sodium);
}

.holding-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(107, 43, 217, 0.38), transparent 70%),
    var(--night);
}

.holding-art img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.holding-art img.is-missing {
  opacity: 0;
}

.holding-art::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "CROW";
  display: grid;
  place-items: center;
  color: rgba(255, 244, 220, 0.12);
  font-family: var(--display);
  font-size: clamp(0.8rem, 2vw, 1.4rem);
}

.holding-rarity {
  position: absolute;
  bottom: 7px;
  left: 7px;
  z-index: 3;
  padding: 4px 6px;
  color: var(--night);
  background: var(--paper);
  font-family: var(--display);
  font-size: 0.46rem;
}

.holding-rarity.rarity-common {
  background: var(--paper-dim);
}

.holding-rarity.rarity-rare {
  background: var(--cyan);
}

.holding-rarity.rarity-epic {
  background: var(--pink);
}

.holding-rarity.rarity-legendary {
  background: var(--sodium);
}

.holding-rarity.rarity-divine {
  color: var(--paper);
  background: var(--violet);
}

.holding-meta {
  display: grid;
  gap: 4px;
  padding: 10px 2px 2px;
}

.holding-id {
  color: var(--sodium);
  font-family: var(--display);
  font-size: 0.67rem;
}

.holding-name {
  overflow: hidden;
  color: var(--paper);
  font-size: 0.86rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holding-burn {
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.45rem;
}

.holdings-loader,
.empty-nest {
  min-height: 260px;
  padding: 35px 20px;
  background: rgba(17, 9, 29, 0.55);
  border: 1px dashed var(--line-strong);
}

.holdings-loader {
  display: grid;
  place-content: center;
  text-align: center;
}

.holdings-loader[hidden] {
  display: none;
}

.loader-bird {
  display: block;
  color: var(--sodium);
  font-size: 2rem;
  animation: loader-hop 1s steps(3, end) infinite;
}

.holdings-loader p {
  margin: 10px 0 0;
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.58rem;
}

.empty-nest {
  display: grid;
  place-content: center;
  text-align: center;
}

.empty-nest[hidden] {
  display: none;
}

.empty-glyph {
  color: var(--violet-bright);
  font-size: 2.3rem;
  line-height: 1;
}

.empty-nest strong {
  margin-top: 11px;
  font-family: var(--display);
  font-size: 0.82rem;
}

.empty-nest p {
  max-width: 390px;
  margin: 8px auto 0;
  color: var(--smoke);
  font-size: 0.9rem;
}

.nest-message {
  margin-top: 18px;
}

/* Tariffs */
.tariff-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ladder-board {
  padding: clamp(24px, 3.2vw, 38px);
}

.reward-board {
  background:
    linear-gradient(145deg, rgba(255, 79, 154, 0.06), transparent 48%),
    rgba(20, 11, 34, 0.92);
}

.board-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.board-stamp {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--night);
  background: var(--sodium);
  font-family: var(--display);
  font-size: 0.63rem;
  box-shadow: 3px 3px 0 var(--violet);
}

.board-stamp-pink {
  color: var(--paper);
  background: var(--pink);
  box-shadow: 3px 3px 0 var(--sodium);
}

.price-steps,
.reward-steps {
  padding: 0;
  margin: 23px 0;
  list-style: none;
}

.price-steps {
  display: grid;
  gap: 8px;
}

.price-steps li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 9px 12px;
  background: rgba(255, 244, 220, 0.03);
  border-left: 2px solid var(--violet-bright);
}

.price-steps li:first-child {
  background: rgba(255, 178, 62, 0.08);
  border-left-color: var(--sodium);
}

.price-steps li:last-child {
  border-left-color: var(--pink);
}

.flight-index {
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.61rem;
}

.price-steps li > span:nth-child(2) {
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.price-steps strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.61rem;
  white-space: nowrap;
}

.price-steps em {
  grid-column: 3;
  color: var(--sodium);
  font-family: var(--display);
  font-size: 0.47rem;
  font-style: normal;
  text-align: right;
}

.board-footnote {
  margin: 0;
  padding-top: 17px;
  color: var(--smoke);
  border-top: 1px dotted var(--line-strong);
  font-size: 0.82rem;
  line-height: 1.5;
}

.reward-steps {
  display: grid;
}

.reward-steps li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 2px;
  border-bottom: 1px dotted var(--line);
}

.reward-steps li:last-child {
  border-bottom-style: solid;
}

.reward-action {
  color: var(--paper-dim);
  font-size: 0.92rem;
}

.reward-steps li > span:last-child {
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.58rem;
  text-align: right;
}

.tariff-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.tariff-note {
  padding: 25px 28px 27px;
  border-right: 1px solid var(--line);
}

.tariff-note:last-child {
  border-right: 0;
}

.note-index {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--night);
  background: var(--pink);
  font-family: var(--display);
  font-size: 0.56rem;
}

.tariff-note h3 {
  font-size: 0.91rem;
}

.tariff-note p {
  margin: 10px 0 0;
  color: var(--smoke);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Gallery */
.rarity-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 31px;
}

.rarity-filter {
  padding: 9px 12px;
  color: var(--smoke);
  background: transparent;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.55rem;
  transition:
    color 120ms,
    border-color 120ms,
    background 120ms;
}

.rarity-filter:hover {
  color: var(--paper);
  border-color: var(--line-strong);
}

.rarity-filter.is-active {
  color: var(--night);
  background: var(--sodium);
  border-color: var(--sodium);
}

.murder-wall {
  display: grid;
  gap: 48px;
}

.rarity-chapter {
  border-top: 1px solid var(--line-strong);
}

.rarity-chapter[hidden] {
  display: none;
}

.chapter-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 26px;
  padding: 24px 0 21px;
}

.chapter-name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.7vw, 2.15rem);
  line-height: 1;
}

.chapter-name.rarity-common {
  color: var(--paper-dim);
}

.chapter-name.rarity-rare {
  color: var(--cyan);
}

.chapter-name.rarity-epic {
  color: var(--pink);
}

.chapter-name.rarity-legendary {
  color: var(--sodium);
}

.chapter-name.rarity-divine {
  color: var(--violet-bright);
}

.chapter-blurb {
  max-width: 620px;
  margin: 0;
  color: var(--smoke);
  font-size: 0.9rem;
  line-height: 1.5;
}

.chapter-counts {
  display: flex;
  gap: 17px;
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.51rem;
  text-align: right;
  white-space: nowrap;
}

.chapter-counts strong {
  display: block;
  color: var(--paper);
  font-size: 0.65rem;
  font-weight: 400;
}

.design-parade {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.design-parade.is-seven {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.design-portrait {
  position: relative;
  min-width: 0;
}

.design-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(107, 43, 217, 0.35), transparent 66%),
    var(--cycle-ground, #11091d);
  border: 1px solid var(--line);
}

.design-art::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 75%, rgba(5, 3, 9, 0.65)),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 0, 0, 0.09) 5px 6px);
}

.design-art::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  content: "⌁";
  color: rgba(255, 244, 220, 0.12);
  font-family: var(--display);
  font-size: 2.4rem;
  transform: translate(-50%, -50%);
}

.design-art img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 200ms steps(4, end),
    filter 200ms;
}

.design-art img.is-missing {
  opacity: 0;
}

.design-portrait:hover .design-art img {
  filter: saturate(1.12) contrast(1.08);
  transform: scale(1.035);
}

.portrait-index {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 4;
  padding: 3px 5px;
  color: var(--night);
  background: var(--paper);
  font-family: var(--display);
  font-size: 0.41rem;
}

.portrait-copy {
  padding: 10px 2px 0;
}

.portrait-copy strong {
  display: block;
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
}

.portrait-copy span {
  display: block;
  margin-top: 4px;
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.43rem;
  line-height: 1.45;
}

.portrait-copy .portrait-bio {
  margin: 9px 0 0;
  color: var(--paper-dim);
  font-size: 0.78rem;
  line-height: 1.45;
}

.gallery-footnote {
  max-width: 800px;
  margin: 35px 0 0 auto;
  padding: 13px 16px;
  color: var(--smoke);
  border-left: 2px solid var(--pink);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Legend */
.legend-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 25px;
  align-items: start;
}

.story-panel {
  position: relative;
  padding: clamp(27px, 4vw, 55px);
  background:
    linear-gradient(90deg, rgba(107, 43, 217, 0.1), transparent 38%),
    rgba(18, 10, 31, 0.92);
}

.story-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 1px;
  content: "";
  background: rgba(255, 79, 154, 0.22);
}

.story-drop {
  margin: 0 0 34px;
  color: var(--paper);
  font-size: clamp(1.22rem, 2.3vw, 1.8rem);
  line-height: 1.5;
}

.story-drop span:first-child {
  color: var(--sodium);
  font-family: var(--display);
  font-size: 0.9em;
}

.story-columns {
  columns: 2;
  column-gap: 41px;
  column-rule: 1px solid var(--line);
}

.story-columns p {
  break-inside: avoid;
  margin: 0 0 20px;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.story-columns p:first-child::first-letter {
  float: left;
  padding: 5px 8px 2px 0;
  color: var(--sodium);
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 0.8;
}

.story-panel blockquote {
  position: relative;
  margin: 35px 0 0;
  padding: 24px 26px 21px 60px;
  background: var(--night);
  border-left: 3px solid var(--pink);
}

.quote-mark {
  position: absolute;
  top: 2px;
  left: 17px;
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}

.story-panel blockquote p {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.5;
}

.story-panel cite {
  display: block;
  margin-top: 13px;
  color: var(--smoke);
  font-family: var(--display);
  font-size: 0.52rem;
  font-style: normal;
}

.legend-side {
  display: grid;
  gap: 20px;
}

.sealed-item {
  padding: 19px;
  background: rgba(255, 178, 62, 0.055);
  border: 1px solid rgba(255, 178, 62, 0.4);
  box-shadow: 7px 7px 0 var(--shadow);
}

.sealed-label {
  display: inline-block;
  padding: 4px 6px;
  color: var(--night);
  background: var(--sodium);
  font-family: var(--display);
  font-size: 0.46rem;
}

.crate-stage {
  position: relative;
  margin: 16px 0;
}

.crate-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: drop-shadow(8px 8px 0 rgba(255, 79, 154, 0.45));
}

.crate-stage img.is-missing {
  opacity: 0;
}

.crate-stage::before {
  position: absolute;
  inset: 13%;
  z-index: 1;
  content: "";
  background:
    linear-gradient(45deg, transparent 43%, var(--sodium) 43% 48%, transparent 48% 57%, var(--pink) 57% 62%, transparent 62%),
    var(--ink-soft);
  border: 5px solid var(--violet-fade);
  transform: rotate(5deg);
}

.crate-shadow {
  position: absolute;
  right: 15%;
  bottom: -5px;
  left: 15%;
  height: 10px;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(4px);
}

.sealed-item h3 {
  font-size: 0.91rem;
}

.sealed-item p {
  margin: 9px 0 0;
  color: var(--smoke);
  font-size: 0.86rem;
  line-height: 1.5;
}

.night-ledger {
  border-top: 1px solid var(--line-strong);
}

.ledger-entry {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-entry > span {
  grid-row: 1 / span 2;
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.57rem;
}

.ledger-entry strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.61rem;
}

.ledger-entry p {
  margin: 0;
  color: var(--smoke);
  font-size: 0.81rem;
  line-height: 1.45;
}

/* Questions */
.question-queue {
  max-width: 1030px;
  margin-left: auto;
  border-top: 1px solid var(--line-strong);
}

.question-queue details {
  border-bottom: 1px solid var(--line-strong);
}

.question-queue summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 84px;
  padding: 20px 4px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(0.77rem, 1.3vw, 1rem);
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.question-queue summary:hover {
  color: var(--sodium);
}

.detail-cross {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.detail-cross::before,
.detail-cross::after {
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--pink);
  transition: transform 160ms steps(2, end);
}

.detail-cross::after {
  transform: rotate(90deg);
}

details[open] .detail-cross::after {
  transform: rotate(0);
}

.question-queue details > p {
  max-width: 780px;
  margin: -2px 0 0;
  padding: 0 40px 27px 4px;
  color: var(--paper-dim);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr 1.1fr 0.8fr;
  gap: 38px;
  align-items: start;
  margin-top: 35px;
  padding-top: 47px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line-strong);
}

.footer-crest {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-cross {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--night);
  background: var(--sodium);
  font-family: var(--display);
  font-size: 1.4rem;
}

.footer-crest strong {
  display: block;
  font-family: var(--display);
  font-size: 0.9rem;
}

.footer-crest span:last-child {
  display: block;
  margin-top: 3px;
  color: var(--smoke);
  font-size: 0.78rem;
}

.footer-whisper {
  max-width: 390px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.5;
}

.footer-contracts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 19px;
  align-items: start;
}

.footer-contracts .micro-label {
  grid-column: 1 / -1;
}

.footer-contracts a {
  color: var(--sodium);
  font-family: var(--display);
  font-size: 0.55rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer-contracts a:hover {
  color: var(--paper);
}

.footer-contracts a.is-disabled {
  color: var(--smoke);
  pointer-events: none;
}

.footer-seal {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.45rem;
  line-height: 1.45;
}

.footer-seal img {
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 1px solid var(--line);
}

.footer-seal img.is-missing {
  opacity: 0;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 17px;
  color: var(--smoke);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Toast and no-script */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(390px, calc(100vw - 32px));
  padding: 14px 17px;
  color: var(--night);
  background: var(--sodium);
  border: 2px solid var(--night);
  box-shadow: 6px 6px 0 var(--pink);
  font-family: var(--display);
  font-size: 0.61rem;
  line-height: 1.5;
}

.toast[hidden] {
  display: none;
}

.toast.is-error {
  color: var(--paper);
  background: var(--pink-deep);
}

.noscript-note {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 300;
  padding: 13px;
  color: var(--night);
  background: var(--sodium);
  border: 2px solid var(--night);
  font-size: 0.86rem;
  text-align: center;
}

/* Reveal motion */
.clear-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 480ms steps(8, end),
    transform 480ms steps(8, end);
}

.clear-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes title-slam {
  0% {
    opacity: 0;
    transform: translateY(-22px) scaleY(0.8);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes caret-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@keyframes signal-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.75);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes hud-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0.25;
  }
}

@keyframes loader-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Tablet */
@media (max-width: 1180px) {
  :root {
    --page-pad: clamp(60px, 7vw, 95px);
  }

  .orbit-nav {
    gap: 10px;
  }

  .primary-schedule a {
    padding: 8px 5px;
    font-size: 0.5rem;
  }

  .nav-time {
    display: none;
  }

  .hero-block {
    min-height: 860px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(350px, 1.05fr);
    gap: 38px;
  }

  .hero-title {
    font-size: clamp(4rem, 9.5vw, 7.6rem);
  }

  .clock-ticks {
    display: none;
  }

  .stat-tape {
    grid-template-columns: repeat(5, 1fr);
  }

  .stat-tape article {
    padding-inline: 15px;
  }

  .design-parade.is-seven {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .holdings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-seal {
    grid-column: 3;
  }
}

@media (max-width: 940px) {
  .orbit-nav {
    clip-path: none;
  }

  .primary-schedule {
    display: none;
  }

  .primary-schedule.is-open {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: min(310px, calc(100vw - 40px));
    padding: 9px;
    background: rgba(15, 8, 27, 0.98);
    border: 2px solid var(--line-strong);
    box-shadow: 5px 5px 0 var(--shadow);
  }

  .primary-schedule.is-open a {
    padding: 11px 10px;
    font-size: 0.59rem;
  }

  .primary-schedule.is-open .nav-time {
    display: inline;
  }

  .nav-menu-button {
    display: block;
  }

  .hero-block {
    padding-top: 112px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: 0;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-title {
    font-size: clamp(4.5rem, 14vw, 8.4rem);
  }

  .hero-stage {
    width: min(750px, 100%);
  }

  .stat-tape {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-tape article:nth-child(4),
  .stat-tape article:nth-child(5) {
    border-top: 0;
  }

  .schedule-head {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .schedule-stamp {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .schedule-stamp .stamp-time {
    min-width: 93px;
    text-align: center;
  }

  .stamp-rule {
    margin-top: 0;
  }

  .flight-console,
  .nest-yard,
  .legend-dossier {
    grid-template-columns: 1fr;
  }

  .nest-dossier {
    position: relative;
    top: auto;
  }

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

  .tariff-notes {
    grid-column: auto;
  }

  .design-parade,
  .design-parade.is-seven {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chapter-heading {
    grid-template-columns: 1fr auto;
  }

  .chapter-blurb {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .legend-side {
    grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
  }

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

  .footer-whisper {
    grid-column: 2;
  }

  .footer-contracts {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-seal {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

@media (max-width: 700px) {
  :root {
    --page-pad: 48px;
  }

  body {
    font-size: 17px;
  }

  .orbit-nav {
    top: 8px;
    right: 8px;
    left: 8px;
    max-width: none;
    justify-content: space-between;
    gap: 7px;
    padding: 7px;
  }

  .nav-mark {
    gap: 4px;
    font-size: 0.6rem;
  }

  .nav-cross {
    width: 21px;
    height: 21px;
  }

  .nav-epoch {
    display: none;
  }

  .lang-switch {
    padding-left: 5px;
    font-size: 0.55rem;
  }

  .wallet-button {
    min-width: 85px;
    padding: 8px;
    font-size: 0.55rem;
  }

  .nav-menu-button {
    width: 30px;
    height: 30px;
  }

  .time-rail {
    top: 100px;
    bottom: 20px;
    left: 10px;
    width: 22px;
  }

  .time-rail a {
    width: 22px;
  }

  .time-rail a::before {
    width: 5px;
    height: 5px;
    transform: translateX(6px);
  }

  .time-rail a span {
    display: none;
  }

  .rail-line {
    left: 8px;
  }

  .hero-block {
    min-height: 0;
    padding-top: 102px;
    padding-bottom: 32px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.52rem;
    line-height: 1.5;
  }

  .hero-title {
    font-size: clamp(3.2rem, 17.2vw, 5.8rem);
    line-height: 0.82;
    text-shadow:
      3px 3px 0 var(--violet),
      6px 6px 0 var(--night);
  }

  .title-line {
    text-shadow:
      3px 3px 0 var(--violet),
      6px 6px 0 var(--night);
  }

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

  .clock-rig {
    margin-top: 23px;
  }

  .clock-readout {
    grid-template-columns: 1fr;
  }

  .clock-readout time {
    font-size: 2.25rem;
  }

  .clock-date {
    margin-top: 2px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

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

  .hero-specs {
    gap: 5px;
    margin-top: 24px;
  }

  .hero-specs li {
    flex: 1;
    flex-direction: column;
    gap: 0;
    min-width: 90px;
    padding: 7px;
  }

  .hero-specs strong {
    font-size: 0.68rem;
  }

  .hero-specs span {
    font-size: 0.42rem;
  }

  .hero-stage {
    width: calc(100% - 4px);
  }

  .hero-art {
    aspect-ratio: 1.45 / 1;
    box-shadow:
      7px 7px 0 var(--night),
      9px 9px 0 var(--pink);
  }

  .hero-caption {
    grid-template-columns: auto 1fr;
    margin-top: 17px;
  }

  .caption-coord {
    display: none;
  }

  .art-hud {
    right: 9px;
    left: 9px;
    font-size: 0.4rem;
  }

  .stat-tape {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: var(--page-pad);
  }

  .stat-tape article {
    padding: 16px 12px;
  }

  .stat-tape article:nth-child(3),
  .stat-tape article:nth-child(4),
  .stat-tape article:nth-child(5) {
    border-top: 0;
  }

  .stat-tape strong {
    font-size: 1.22rem;
  }

  .stat-tape article:first-child {
    grid-column: 1 / -1;
  }

  .schedule-section {
    padding-top: 95px;
    padding-bottom: 90px;
  }

  .schedule-head {
    margin-bottom: 40px;
  }

  .schedule-stamp {
    grid-template-columns: auto 1fr;
  }

  .schedule-stamp > span:last-child {
    grid-column: 1 / -1;
  }

  .schedule-intro h2 {
    font-size: clamp(2rem, 10.2vw, 3.5rem);
    line-height: 1.06;
    text-shadow: 3px 3px 0 var(--violet-fade);
  }

  .schedule-intro > p:last-child {
    margin-top: 18px;
    font-size: 0.98rem;
  }

  .flight-console {
    gap: 18px;
  }

  .mint-terminal,
  .x-terminal {
    padding: 22px 18px;
  }

  .panel-topline {
    gap: 10px;
  }

  .state-badge {
    min-width: 76px;
    font-size: 0.48rem;
  }

  .agent-check {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .quantity-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .pixel-stepper {
    width: 100%;
    grid-template-columns: 48px 1fr 48px;
  }

  .pixel-stepper-small {
    width: auto;
    grid-template-columns: 31px 39px 31px;
  }

  .quote-ledger > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 9px 0;
  }

  .quote-ledger dd {
    text-align: left;
  }

  .x-ribbon {
    margin: -22px -18px 25px;
    padding: 9px 18px;
  }

  .x-ribbon > span:nth-child(2) {
    font-size: 0.43rem;
  }

  .x-mode {
    display: none;
  }

  .x-step {
    grid-template-columns: 29px 1fr;
  }

  .step-number {
    width: 26px;
    height: 26px;
  }

  .nest-dossier {
    padding: 21px 18px;
  }

  .caw-mint-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .caw-mint-controls .pixel-stepper {
    width: 100%;
    grid-template-columns: 38px 1fr 38px;
  }

  .selection-console {
    align-items: flex-start;
    flex-direction: column;
  }

  .selection-actions {
    justify-content: flex-start;
    gap: 9px;
  }

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

  .holdings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .holding-tile {
    padding: 7px;
  }

  .holding-meta {
    padding-top: 8px;
  }

  .holding-name {
    font-size: 0.76rem;
  }

  .holding-burn {
    font-size: 0.39rem;
  }

  .tariff-notes {
    grid-template-columns: 1fr;
  }

  .tariff-note {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tariff-note:last-child {
    border-bottom: 0;
  }

  .price-steps li {
    grid-template-columns: 61px 1fr;
    gap: 4px 9px;
    padding: 10px;
  }

  .price-steps strong {
    grid-column: 2;
    white-space: normal;
  }

  .price-steps em {
    grid-column: 2;
    text-align: left;
  }

  .design-parade,
  .design-parade.is-seven {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 9px;
  }

  .chapter-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 19px;
  }

  .chapter-blurb {
    grid-column: auto;
    grid-row: auto;
  }

  .chapter-counts {
    text-align: left;
  }

  .portrait-copy strong {
    font-size: 0.9rem;
  }

  .legend-dossier {
    gap: 18px;
  }

  .story-panel {
    padding: 25px 18px 25px 35px;
  }

  .story-panel::before {
    left: 17px;
  }

  .story-columns {
    columns: 1;
  }

  .story-panel blockquote {
    padding: 21px 17px 19px 49px;
  }

  .quote-mark {
    left: 12px;
  }

  .legend-side {
    grid-template-columns: 1fr;
  }

  .sealed-item {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 14px;
    align-items: start;
  }

  .sealed-label {
    grid-column: 2;
    justify-self: start;
  }

  .crate-stage {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .sealed-item h3 {
    align-self: end;
  }

  .sealed-item p {
    margin-top: 6px;
  }

  .question-queue summary {
    min-height: 74px;
    gap: 16px;
  }

  .question-queue details > p {
    padding-right: 14px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 36px;
  }

  .footer-whisper,
  .footer-contracts,
  .footer-seal {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .footer-contracts {
    width: 100%;
  }

  .footer-disclaimer {
    grid-column: 1;
  }
}

@media (max-width: 390px) {
  :root {
    --page-pad: 43px;
  }

  .orbit-nav {
    gap: 4px;
  }

  .nav-name {
    display: none;
  }

  .lang-switch {
    border-left: 0;
  }

  .wallet-button {
    min-width: 77px;
    padding-inline: 5px;
  }

  .hero-title {
    font-size: clamp(3rem, 17vw, 4.1rem);
  }

  .holdings-grid {
    gap: 7px;
  }

  .holding-id {
    font-size: 0.59rem;
  }

  .holding-name {
    font-size: 0.7rem;
  }
}

@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;
  }

  .clear-reveal {
    opacity: 1;
    transform: none;
  }
}
