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

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

:root {
  color-scheme: dark;
  --void: #050812;
  --desk: #080e1d;
  --navy: #0c1428;
  --navy-raised: #111d36;
  --navy-soft: #162440;
  --line-dim: #263a5c;
  --mint: #a4ffd8;
  --mint-hot: #62ffb1;
  --sonar: #38e8a2;
  --sonar-dim: #178d69;
  --lilac: #ded0ff;
  --lilac-dim: #9d8dcc;
  --paper: #e5fff5;
  --muted: #9db8b5;
  --warning: #ffe18b;
  --danger: #ff9aa6;
  --rare: #85d4ff;
  --epic: #d6a7ff;
  --legendary: #ffe082;
  --divine: #fff7d6;
  --shadow: #02040a;
  --ui-font: "Workbench", "PingFang SC", "Microsoft YaHei", monospace;
  --body-font: "VT323", "PingFang SC", "Microsoft YaHei", monospace;
  --window-notch: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 360px;
  scroll-behavior: smooth;
  scrollbar-color: var(--sonar) var(--void);
  scrollbar-width: thin;
}

body {
  min-width: 360px;
  min-height: 100vh;
  margin: 0;
  padding: 18px 0 112px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 8%, rgba(56, 232, 162, 0.1), transparent 28rem),
    radial-gradient(circle at 85% 22%, rgba(222, 208, 255, 0.07), transparent 32rem),
    linear-gradient(rgba(109, 159, 166, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 159, 166, 0.045) 1px, transparent 1px),
    var(--void);
  background-size: auto, auto, 32px 32px, 32px 32px, auto;
  font-family: var(--body-font);
  font-size: 21px;
  line-height: 1.42;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 45%, rgba(164, 255, 216, 0.018) 50%, transparent 55%),
    radial-gradient(circle at 50% 45%, transparent 0 55%, rgba(0, 0, 0, 0.44) 100%);
}

::selection {
  color: var(--void);
  background: var(--mint-hot);
}

img {
  max-width: 100%;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

button,
input {
  font: inherit;
}

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

a {
  color: var(--mint);
}

button {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
dl,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
.micro-label,
.eyebrow,
.window-bar,
button,
.dockrail,
.wallpaper-caption,
th {
  font-family: var(--ui-font);
  font-weight: 400;
  letter-spacing: 0.035em;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin-bottom: 10px;
  color: var(--mint);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 0.98;
}

h3 {
  color: var(--lilac);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.08;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 4px;
}

.skip-signal {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--void);
  background: var(--mint);
  border: 2px solid var(--void);
  transform: translateY(-180%);
}

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

.phosphor-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.28) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(164, 255, 216, 0.02) 12px);
  mix-blend-mode: soft-light;
}

.desk-orbit {
  position: fixed;
  z-index: -1;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(98, 255, 177, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.desk-orbit::before,
.desk-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(222, 208, 255, 0.08);
  border-radius: 50%;
}

.desk-orbit::before {
  inset: 14%;
}

.desk-orbit::after {
  inset: 37%;
  background: rgba(98, 255, 177, 0.025);
}

.desk-orbit-one {
  top: 9vh;
  left: -190px;
}

.desk-orbit-two {
  right: -230px;
  bottom: 18vh;
  width: 520px;
}

.signal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto 18px;
  color: var(--muted);
  font-family: var(--ui-font);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.signal-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--mint);
  text-decoration: none;
}

.signal-brand img {
  width: 30px;
  height: 30px;
  border: 1px solid var(--sonar-dim);
  box-shadow: 3px 3px 0 var(--shadow);
}

.signal-telemetry {
  display: flex;
  gap: 9px;
  align-items: center;
}

.signal-lamp {
  width: 8px;
  height: 8px;
  background: var(--mint-hot);
  box-shadow: 0 0 12px var(--mint-hot);
  animation: lamp-pulse 2.4s steps(2, end) infinite;
}

.ghost-ledger {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
}

.window-frame {
  min-width: 0;
  border: 2px solid var(--sonar);
  background:
    linear-gradient(135deg, rgba(164, 255, 216, 0.025), transparent 30%),
    var(--navy);
  box-shadow:
    9px 9px 0 var(--shadow),
    0 0 0 2px #03060d,
    0 0 40px rgba(56, 232, 162, 0.045);
}

.window-frame::after {
  display: block;
  height: 4px;
  content: "";
  background:
    repeating-linear-gradient(90deg, var(--sonar) 0 12px, transparent 12px 18px),
    #091424;
  opacity: 0.5;
}

.window-bar {
  display: grid;
  grid-template-columns: auto minmax(0, auto) 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 5px 8px;
  color: var(--void);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, var(--mint) 0, #7ee8c3 70%, #54c99f 100%);
  border-bottom: 2px solid #0b181d;
  font-size: 16px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.25);
  user-select: none;
}

.window-glyph {
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--mint);
  background: var(--navy);
  border: 1px solid var(--void);
  font-family: var(--body-font);
  line-height: 1;
}

.window-location {
  overflow: hidden;
  color: #174c41;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-controls {
  display: flex;
  gap: 3px;
  align-items: center;
}

.window-controls i {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--mint);
  background: var(--navy);
  border: 1px solid var(--void);
  font-family: var(--body-font);
  font-size: 16px;
  font-style: normal;
  line-height: 1;
}

.window-body {
  padding: clamp(20px, 3.2vw, 42px);
}

.mini-bar {
  min-height: 31px;
  font-size: 13px;
}

.mini-bar .window-glyph,
.mini-bar .window-controls i {
  width: 18px;
  height: 18px;
  font-size: 14px;
}

.wallpaper-window {
  grid-column: 1 / -1;
}

.wallpaper-stage {
  position: relative;
  min-height: clamp(470px, 47vw, 690px);
  overflow: hidden;
  background: #07101b;
  isolation: isolate;
}

.wallpaper-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.07);
}

.wallpaper-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 8, 18, 0.08), rgba(4, 8, 18, 0.56) 60%, rgba(4, 8, 18, 0.76)),
    linear-gradient(0deg, rgba(4, 8, 18, 0.72), transparent 38%);
}

.wallpaper-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 0, 0, 0.14) 6px 7px);
  mix-blend-mode: multiply;
}

.wallpaper-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(98, 255, 177, 0.1) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(98, 255, 177, 0.08) 50%, transparent 50.2%);
  background-size: 160px 160px;
}

.wallpaper-stamp,
.wallpaper-caption {
  position: absolute;
  z-index: 2;
  color: rgba(229, 255, 245, 0.62);
  font-family: var(--ui-font);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.wallpaper-stamp {
  top: 18px;
  left: 18px;
  padding: 7px 9px;
  background: rgba(5, 8, 18, 0.58);
  border-left: 2px solid var(--sonar);
}

.wallpaper-caption {
  right: 18px;
  bottom: 14px;
}

.ping-dialog {
  position: absolute;
  top: 50%;
  right: clamp(18px, 5vw, 74px);
  width: min(570px, 47%);
  color: var(--paper);
  background: rgba(9, 17, 33, 0.94);
  border: 2px solid var(--mint);
  box-shadow:
    8px 8px 0 rgba(2, 4, 10, 0.9),
    0 0 42px rgba(56, 232, 162, 0.12);
  transform: translateY(-49%);
}

.ping-dialog-body {
  position: relative;
  padding: clamp(22px, 3.3vw, 42px);
  overflow: hidden;
}

.ping-dialog-body::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(164, 255, 216, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(164, 255, 216, 0.025),
    0 0 0 52px rgba(164, 255, 216, 0.018);
  pointer-events: none;
}

.eyebrow,
.micro-label {
  color: var(--sonar);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ping-dialog h1 {
  margin: 8px 0 4px;
  color: var(--mint);
  font-size: clamp(44px, 5.7vw, 78px);
  line-height: 0.87;
  letter-spacing: -0.035em;
  text-shadow:
    3px 3px 0 #0d4239,
    6px 6px 0 rgba(0, 0, 0, 0.38);
}

.hero-whisper {
  margin-bottom: 19px;
  color: var(--lilac);
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.1;
}

.hero-lede {
  max-width: 43ch;
  margin-bottom: 11px;
  color: var(--paper);
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.25;
}

.hero-body {
  max-width: 55ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.action-stamp,
.tiny-button,
.dock-wallet {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: var(--mint);
  background:
    linear-gradient(180deg, rgba(164, 255, 216, 0.08), transparent),
    var(--navy);
  border: 2px solid var(--sonar);
  border-radius: 0;
  box-shadow: 4px 4px 0 #02050c;
  font-size: 14px;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 120ms steps(2, end), background-color 120ms steps(2, end), transform 120ms steps(2, end), box-shadow 120ms steps(2, end);
}

.action-stamp:hover:not(:disabled),
.tiny-button:hover:not(:disabled),
.dock-wallet:hover:not(:disabled) {
  color: var(--void);
  background: var(--mint);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 #02050c;
}

.action-stamp:active:not(:disabled),
.tiny-button:active:not(:disabled),
.dock-wallet:active:not(:disabled) {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #02050c;
}

.action-stamp:disabled,
.tiny-button:disabled,
.dock-wallet:disabled {
  color: #6f8582;
  background: #0b1525;
  border-color: #344757;
  box-shadow: 3px 3px 0 #02050c;
  cursor: not-allowed;
  opacity: 0.76;
}

.action-primary {
  color: var(--void);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 6px),
    var(--mint);
  border-color: var(--mint-hot);
}

.action-primary:hover:not(:disabled) {
  color: var(--void);
  background: var(--lilac);
  border-color: var(--lilac);
}

.wide-stamp {
  width: 100%;
}

.tiny-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
  white-space: nowrap;
}

.origin-log {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-top: 14px;
  color: #8fa9a6;
  border-top: 1px dashed rgba(164, 255, 216, 0.22);
  font-size: 17px;
}

.origin-log div {
  display: flex;
  gap: 12px;
}

.origin-log dt {
  color: var(--sonar-dim);
}

.origin-log dd {
  margin: 0;
}

.beacon-graphic {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 58px;
  height: 58px;
  pointer-events: none;
}

.beacon-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--mint-hot);
  box-shadow: 0 0 16px var(--mint-hot);
  transform: translate(-50%, -50%);
}

.beacon-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--sonar);
  border-radius: 50%;
  opacity: 0;
  animation: sonar-call 3.2s steps(16, end) infinite;
}

.ring-two {
  animation-delay: 1.6s;
}

.intake-window {
  grid-column: 1 / span 10;
}

.drive-window {
  grid-column: 2 / -1;
}

.latency-window {
  grid-column: 2 / span 10;
}

.specimen-window {
  grid-column: 1 / -1;
}

.readme-window {
  grid-column: 4 / -1;
}

.help-window {
  grid-column: 2 / span 9;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.85fr);
  gap: clamp(22px, 4vw, 62px);
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 16ch;
}

.section-note {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.heading-tools {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.wallet-ribbon {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgba(56, 232, 162, 0.08), transparent 70%),
    #091425;
  border: 1px solid var(--line-dim);
}

.wallet-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -14px 0 20px;
  background: var(--line-dim);
  border: 1px solid var(--line-dim);
  border-top: 0;
}

.wallet-metrics > div {
  min-width: 0;
  padding: 9px 13px;
  background: #070f1d;
}

.wallet-metrics span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--ui-font);
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.wallet-metrics strong {
  display: block;
  overflow: hidden;
  color: var(--lilac);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-identity {
  display: flex;
  min-width: 0;
  gap: 16px;
  align-items: baseline;
}

.wallet-identity strong {
  overflow: hidden;
  color: var(--paper);
  font-size: 22px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chain-beacon {
  color: var(--muted);
  font-family: var(--ui-font);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.chain-beacon.is-good {
  color: var(--mint);
}

.chain-beacon.is-bad {
  color: var(--warning);
}

.agent-gate {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 14px;
  background:
    repeating-linear-gradient(135deg, rgba(222, 208, 255, 0.025) 0 5px, transparent 5px 12px),
    rgba(9, 16, 31, 0.65);
  border: 1px dashed rgba(222, 208, 255, 0.28);
}

.agent-sigil {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--lilac);
  background: #12172b;
  border: 2px solid var(--lilac-dim);
  box-shadow: inset 0 0 0 3px #080d18;
  font-family: var(--ui-font);
  font-size: 13px;
}

.agent-gate p {
  margin: 3px 0 5px;
  color: var(--paper);
  font-size: 19px;
}

.agent-gate p.is-good {
  color: var(--mint);
}

.agent-gate p.is-bad {
  color: var(--warning);
}

.inline-link {
  font-size: 16px;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.readout-strip,
.drive-meter,
.archive-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
  background: var(--line-dim);
  border: 1px solid var(--line-dim);
  gap: 1px;
}

.readout-strip > div,
.drive-meter > div,
.archive-summary > div {
  min-width: 0;
  padding: 12px 13px;
  background:
    linear-gradient(180deg, rgba(164, 255, 216, 0.035), transparent),
    #091121;
}

.readout-strip span,
.drive-meter span,
.archive-summary span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--ui-font);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.readout-strip strong,
.drive-meter strong,
.archive-summary strong {
  display: block;
  overflow: hidden;
  color: var(--mint);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.readout-strip b {
  font-weight: 400;
}

.intake-console {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr;
  gap: 1px;
  margin-bottom: 18px;
  background: var(--line-dim);
  border: 2px solid var(--line-dim);
}

.quantity-chamber,
.quote-screen,
.mint-switches {
  min-width: 0;
  padding: 18px;
  background: #08101f;
}

.quantity-chamber {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pixel-stepper,
.mini-stepper {
  display: grid;
  grid-template-columns: 42px minmax(50px, auto) 42px;
  margin: 12px 0 10px;
  border: 2px solid var(--sonar);
}

.pixel-stepper button,
.mini-stepper button {
  min-height: 42px;
  padding: 0;
  color: var(--mint);
  background: var(--navy-soft);
  border: 0;
  border-radius: 0;
  font-family: var(--body-font);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.pixel-stepper button:hover,
.mini-stepper button:hover {
  color: var(--void);
  background: var(--mint);
}

.pixel-stepper output,
.mini-stepper output {
  display: grid;
  min-width: 52px;
  min-height: 42px;
  place-items: center;
  padding: 0 8px;
  color: var(--paper);
  background: #030711;
  border-right: 1px solid var(--line-dim);
  border-left: 1px solid var(--line-dim);
  font-size: 32px;
  line-height: 1;
}

.limit-line {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 17px;
}

.limit-line b {
  color: var(--lilac);
  font-weight: 400;
}

.quote-screen {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(56, 232, 162, 0.1), transparent 45%),
    #06101b;
}

.quote-screen::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(164, 255, 216, 0.04), transparent);
  animation: scan-down 5s linear infinite;
}

.quote-screen > div {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dotted rgba(164, 255, 216, 0.18);
}

.quote-screen span {
  color: var(--muted);
  font-family: var(--ui-font);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-screen strong {
  color: var(--mint);
  font-size: 23px;
  font-weight: 400;
  text-align: right;
}

.quote-screen p {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.28;
}

.quote-screen p.is-warning {
  color: var(--warning);
}

.mint-switches {
  display: grid;
  gap: 10px;
  align-content: start;
}

.fine-print,
.sheet-footnote,
.variant-whisper {
  color: #8da5a2;
  font-size: 16px;
  line-height: 1.35;
}

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

.console-whisper {
  min-height: 43px;
  margin: 0;
  padding: 11px 14px;
  color: var(--lilac);
  background: #0b1324;
  border-left: 3px solid var(--lilac-dim);
  font-size: 18px;
}

.console-whisper.is-good {
  color: var(--mint);
  border-left-color: var(--mint);
}

.console-whisper.is-warning {
  color: var(--warning);
  border-left-color: var(--warning);
}

.console-whisper.is-error {
  color: var(--danger);
  border-left-color: var(--danger);
}

.x-hatch {
  margin-top: 18px;
  background: rgba(13, 21, 39, 0.64);
  border: 1px solid var(--line-dim);
}

.x-hatch summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: var(--lilac);
  font-family: var(--ui-font);
  font-size: 13px;
  letter-spacing: 0.04em;
  list-style: none;
  cursor: pointer;
}

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

.x-hatch summary::before {
  content: "+";
  color: var(--sonar);
  font-size: 20px;
}

.x-hatch[open] summary::before {
  content: "−";
}

.hatch-status {
  margin-left: auto;
  color: var(--sonar);
  font-size: 11px;
  text-transform: uppercase;
}

.hatch-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 4px 18px 22px;
  border-top: 1px dashed var(--line-dim);
}

.hatch-body > div {
  padding-top: 18px;
}

.hatch-body p {
  color: var(--muted);
  font-size: 18px;
}

.claim-console {
  display: grid;
  gap: 9px;
  align-content: start;
}

.claim-console label {
  color: var(--mint);
  font-family: var(--ui-font);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.claim-console input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  color: var(--paper);
  background: #050b15;
  border: 2px solid var(--line-dim);
  border-radius: 0;
  font-size: 18px;
}

.claim-console input::placeholder {
  color: #627a79;
}

.claim-console input:focus {
  border-color: var(--sonar);
  outline: none;
}

.phantom-archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 12px;
  min-height: 168px;
  margin-bottom: 20px;
  padding: 14px;
  background:
    linear-gradient(rgba(56, 232, 162, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 232, 162, 0.025) 1px, transparent 1px),
    #060d19;
  background-size: 18px 18px;
  border: 2px inset #21314f;
}

.empty-drive {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  padding: 36px 20px;
  color: var(--muted);
  text-align: center;
}

.phantom-token {
  position: relative;
  min-width: 0;
  padding: 8px;
  color: var(--paper);
  background: #0a1425;
  border: 2px solid var(--line-dim);
  cursor: pointer;
  transition: border-color 110ms steps(2, end), background-color 110ms steps(2, end), transform 110ms steps(2, end);
}

.phantom-token:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
}

.phantom-token.is-selected {
  background: #102b28;
  border-color: var(--mint-hot);
  box-shadow:
    inset 0 0 0 2px #06110e,
    4px 4px 0 #02050c;
}

.phantom-token.is-divine {
  border-color: var(--divine);
}

.phantom-token.is-divine.is-selected {
  background: #29291b;
}

.phantom-image-wrap {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  margin-bottom: 8px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle, rgba(164, 255, 216, 0.1), transparent 62%),
    #050a13;
  border: 1px solid #233954;
}

.phantom-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phantom-image-wrap img.is-missing {
  opacity: 0.32;
}

.token-select-mark {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: var(--void);
  background: rgba(5, 8, 18, 0.82);
  border: 1px solid var(--sonar);
  font-size: 16px;
  line-height: 1;
}

.phantom-token.is-selected .token-select-mark {
  background: var(--mint-hot);
}

.phantom-token h4 {
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-meta-line {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.token-rarity {
  color: var(--mint);
  font-family: var(--ui-font);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rarity-0 .token-rarity {
  color: var(--muted);
}

.rarity-1 .token-rarity {
  color: var(--rare);
}

.rarity-2 .token-rarity {
  color: var(--epic);
}

.rarity-3 .token-rarity {
  color: var(--legendary);
}

.rarity-4 .token-rarity {
  color: var(--divine);
}

.drive-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 13px 14px;
  background: #0a1323;
  border: 1px solid var(--line-dim);
}

.drive-action-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.drive-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.forge-bay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.forge-card,
.relic-card {
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(222, 208, 255, 0.02) 0 5px, transparent 5px 13px),
    #0b1324;
  border: 1px solid var(--line-dim);
}

.forge-card h3,
.relic-card h3 {
  margin-bottom: 8px;
}

.forge-card p,
.relic-card p {
  color: var(--muted);
  font-size: 18px;
}

.forge-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.mini-stepper {
  grid-template-columns: 32px 38px 32px;
  margin: 0;
}

.mini-stepper button,
.mini-stepper output {
  min-height: 33px;
  font-size: 21px;
}

.mini-stepper output {
  min-width: 38px;
}

.forge-controls .action-stamp {
  margin-left: auto;
}

.relic-card {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) 1.3fr;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 224, 130, 0.07), transparent 34%),
    #0b1324;
}

.relic-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 224, 130, 0.14));
}

.relic-card .eyebrow {
  color: var(--legendary);
}

.archive-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 26px;
}

.archive-summary strong {
  color: var(--lilac);
  font-size: clamp(20px, 2vw, 26px);
  white-space: normal;
}

.ledger-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-bottom: 18px;
}

.ledger-sheet {
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(164, 255, 216, 0.03), transparent 24%),
    #08111f;
  border: 1px solid var(--line-dim);
}

.ledger-sheet h3 {
  margin-bottom: 13px;
}

.table-window {
  overflow-x: auto;
  border: 1px solid #304663;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 9px 11px;
  border-right: 1px solid #263852;
  border-bottom: 1px solid #263852;
  text-align: left;
  white-space: nowrap;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--void);
  background: var(--sonar);
  font-size: 10px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  background: rgba(8, 17, 31, 0.76);
  font-size: 19px;
}

td:first-child {
  color: var(--mint);
}

tbody tr:nth-child(even) td {
  background: rgba(17, 29, 54, 0.68);
}

.sheet-footnote {
  margin: 11px 0 0;
}

.lower-ledgers {
  grid-template-columns: 1fr 0.72fr;
}

.marginalia {
  border-color: rgba(222, 208, 255, 0.3);
}

.marginalia ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 18px;
}

.marginalia li::marker {
  color: var(--lilac);
}

.design-vault {
  display: grid;
  gap: 18px;
}

.design-shelf {
  position: relative;
  padding: 18px;
  background: #08101e;
  border: 1px solid var(--line-dim);
}

.design-shelf::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 2px;
  content: "";
  background: var(--tier-color, var(--mint));
}

.shelf-heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 13px;
}

.shelf-heading h3 {
  margin: 0;
  color: var(--tier-color, var(--mint));
}

.shelf-heading span {
  color: var(--muted);
  font-family: var(--ui-font);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.shelf-blurb {
  max-width: 92ch;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.3;
}

.design-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}

.design-portrait {
  min-width: 0;
  margin: 0;
  padding: 6px;
  background: #0c1728;
  border: 1px solid #263b57;
}

.design-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 6px;
  object-fit: cover;
  background: #050a13;
  border: 1px solid #1e3048;
}

.design-portrait figcaption {
  display: grid;
  gap: 5px;
  color: var(--paper);
}

.design-name {
  font-family: var(--ui-font);
  font-size: 10px;
  line-height: 1.18;
}

.design-bio {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.18;
}

.variant-whisper {
  margin: 18px 0 0;
  padding: 13px 15px;
  color: var(--lilac);
  background: #0b1324;
  border-left: 3px solid var(--lilac-dim);
}

.readme-sheet {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  padding: 5px 0 24px;
}

.line-number {
  padding-top: 5px;
  color: var(--sonar-dim);
  font-family: var(--ui-font);
  font-size: 10px;
  text-align: right;
}

.readme-letter {
  max-width: 69ch;
}

.readme-letter p {
  margin-bottom: 17px;
  color: var(--paper);
  font-size: 21px;
  line-height: 1.4;
}

.readme-letter .readme-synopsis {
  margin-bottom: 24px;
  padding: 15px 17px;
  color: var(--lilac);
  background: rgba(222, 208, 255, 0.055);
  border-left: 3px solid var(--lilac-dim);
  font-size: 20px;
}

.readme-letter p:first-child::first-letter {
  float: left;
  margin: 2px 8px 0 0;
  color: var(--mint);
  font-family: var(--ui-font);
  font-size: 55px;
  line-height: 0.73;
}

.readme-letter blockquote {
  margin: 28px 0 0;
  padding: 16px 18px;
  color: var(--lilac);
  background: rgba(222, 208, 255, 0.05);
  border-top: 1px solid rgba(222, 208, 255, 0.22);
  border-bottom: 1px solid rgba(222, 208, 255, 0.22);
  font-size: 23px;
  line-height: 1.3;
}

.terminal-sheet {
  padding: 17px 18px;
  color: #9ebbb6;
  background:
    radial-gradient(circle at 100% 0, rgba(56, 232, 162, 0.09), transparent 42%),
    #030812;
  border: 1px inset #243954;
  font-size: 17px;
}

.terminal-sheet p {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 3px;
}

.terminal-sheet p > span:first-child {
  color: var(--sonar);
}

.terminal-sheet b {
  color: var(--mint);
  font-weight: 400;
}

.cursor-block {
  color: var(--mint-hot) !important;
  animation: cursor-flash 1.1s steps(2, end) infinite;
}

.help-stack {
  display: grid;
  gap: 7px;
}

.help-stack details {
  background: #08111f;
  border: 1px solid var(--line-dim);
}

.help-stack summary {
  position: relative;
  padding: 14px 46px 14px 16px;
  color: var(--paper);
  font-size: 21px;
  list-style: none;
  cursor: pointer;
}

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

.help-stack summary::after {
  position: absolute;
  top: 50%;
  right: 17px;
  content: "+";
  color: var(--sonar);
  font-family: var(--body-font);
  font-size: 27px;
  line-height: 1;
  transform: translateY(-50%);
}

.help-stack details[open] summary::after {
  content: "−";
}

.help-stack details[open] summary {
  color: var(--mint);
  background: rgba(56, 232, 162, 0.04);
  border-bottom: 1px dashed var(--line-dim);
}

.help-stack p {
  max-width: 87ch;
  margin: 0;
  padding: 15px 18px 18px;
  color: var(--muted);
  font-size: 19px;
}

.collection-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  width: min(1160px, calc(100% - 48px));
  margin: 34px auto 0;
  padding: 24px;
  background: rgba(7, 13, 26, 0.78);
  border-top: 2px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
}

.footer-relic {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-relic img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 1px solid var(--line-dim);
}

.footer-relic strong {
  display: block;
  color: var(--mint);
  font-family: var(--ui-font);
  font-size: 22px;
  font-weight: 400;
}

.footer-contracts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 13px;
  align-content: center;
}

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

.footer-contracts a {
  display: flex;
  gap: 8px;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 10px;
  color: var(--paper);
  background: #0a1425;
  border: 1px solid var(--line-dim);
  font-size: 16px;
  text-decoration: none;
}

.footer-contracts a:hover {
  color: var(--void);
  background: var(--mint);
}

.footer-contracts b {
  overflow: hidden;
  color: var(--sonar);
  font-family: var(--ui-font);
  font-size: 9px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.footer-disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px dashed var(--line-dim);
  font-size: 17px;
  text-align: center;
}

.dockrail {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  gap: 6px;
  align-items: stretch;
  min-height: 68px;
  padding: 8px clamp(10px, 2vw, 26px);
  color: var(--paper);
  background:
    repeating-linear-gradient(90deg, rgba(164, 255, 216, 0.025) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #14213a, #0a1222 68%, #050912);
  border-top: 2px solid var(--mint);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.46);
  font-size: 11px;
  backdrop-filter: blur(4px);
}

.dock-start {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  padding: 7px 13px;
  color: var(--void);
  background: var(--mint);
  border: 2px solid #2a5b4b;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.23);
  font-size: 13px;
  text-decoration: none;
}

.dock-start:hover {
  background: var(--lilac);
}

.start-glyph {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 17px;
  height: 17px;
}

.start-glyph i {
  background: var(--navy);
}

.dock-windows {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-windows::-webkit-scrollbar {
  display: none;
}

.dock-windows a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(8, 16, 31, 0.7);
  border: 1px solid #344864;
  font-size: 10px;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.dock-windows a:hover,
.dock-windows a.is-current {
  color: var(--void);
  background: var(--lilac);
  border-color: var(--lilac);
}

.dock-tools {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  padding-left: 6px;
  border-left: 1px solid var(--line-dim);
}

.dock-clock {
  min-width: 44px;
  color: var(--lilac);
  font-size: 12px;
  text-align: center;
}

.dock-wallet {
  min-height: 35px;
  padding: 7px 10px;
  font-size: 10px;
  white-space: nowrap;
}

.dock-wallet.is-linked {
  color: var(--void);
  background: var(--mint);
  border-color: var(--mint-hot);
}

.language-switch {
  display: flex;
  border: 1px solid #3b526f;
}

.language-switch button {
  min-height: 33px;
  padding: 4px 7px;
  color: var(--muted);
  background: #091221;
  border: 0;
  border-radius: 0;
  font-size: 10px;
  cursor: pointer;
}

.language-switch button + button {
  border-left: 1px solid #3b526f;
}

.language-switch button[aria-pressed="true"] {
  color: var(--void);
  background: var(--mint);
}

.reveal-window {
  animation: window-wake 620ms steps(6, end) both;
}

.reveal-window:nth-child(2) {
  animation-delay: 70ms;
}

.reveal-window:nth-child(3) {
  animation-delay: 130ms;
}

.reveal-window:nth-child(4) {
  animation-delay: 190ms;
}

.reveal-window:nth-child(5) {
  animation-delay: 250ms;
}

.reveal-window:nth-child(6) {
  animation-delay: 310ms;
}

.reveal-window:nth-child(7) {
  animation-delay: 370ms;
}

@keyframes window-wake {
  0% {
    opacity: 0;
    transform: translateY(12px);
    filter: brightness(1.8);
  }
  55% {
    opacity: 0.78;
    filter: brightness(1.15);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes sonar-call {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  15% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes lamp-pulse {
  0%,
  80% {
    opacity: 1;
  }
  81%,
  100% {
    opacity: 0.28;
  }
}

@keyframes matrix-shift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 200px;
  }
}

@keyframes scan-down {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

@keyframes cursor-flash {
  0%,
  52% {
    opacity: 1;
  }
  53%,
  100% {
    opacity: 0;
  }
}

@keyframes busy-blink {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.5);
  }
}

button.is-busy {
  animation: busy-blink 680ms steps(2, end) infinite;
}

@media (max-width: 1180px) {
  .intake-window,
  .drive-window,
  .latency-window,
  .readme-window,
  .help-window {
    grid-column: 1 / -1;
  }

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

  .dock-windows a {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (max-width: 920px) {
  body {
    padding-bottom: 128px;
  }

  .signal-header,
  .ghost-ledger,
  .collection-footer {
    width: min(100% - 28px, 760px);
  }

  .signal-header {
    margin-bottom: 12px;
  }

  .signal-telemetry span:last-child,
  .signal-telemetry span:nth-last-child(2),
  .signal-telemetry span:nth-last-child(3) {
    display: none;
  }

  .wallpaper-stage {
    min-height: 650px;
  }

  .ping-dialog {
    top: auto;
    right: 18px;
    bottom: 20px;
    left: 18px;
    width: auto;
    transform: none;
  }

  .wallpaper-stage::before {
    background:
      linear-gradient(0deg, rgba(4, 8, 18, 0.89) 0 45%, rgba(4, 8, 18, 0.1) 78%),
      linear-gradient(90deg, rgba(4, 8, 18, 0.25), transparent);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading h2 {
    max-width: 20ch;
  }

  .intake-console {
    grid-template-columns: 1fr 1fr;
  }

  .quantity-chamber {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    align-items: center;
  }

  .quantity-chamber .micro-label {
    grid-column: 1 / -1;
  }

  .pixel-stepper {
    margin: 0;
  }

  .limit-line {
    margin: 0;
  }

  .forge-bay,
  .ledger-columns,
  .lower-ledgers {
    grid-template-columns: 1fr;
  }

  .readme-window {
    grid-column: 1 / -1;
  }

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

  .dockrail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 103px;
    padding: 7px 10px 8px;
  }

  .dock-windows {
    grid-column: 3;
    grid-row: 1 / span 2;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .dock-start {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .dock-tools {
    grid-column: 1 / span 2;
    grid-row: 2;
    align-self: end;
    border-left: 0;
  }

  .dock-windows a {
    min-height: 29px;
  }

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

@media (max-width: 650px) {
  body {
    padding-top: 10px;
    padding-bottom: 164px;
    font-size: 19px;
  }

  .signal-header,
  .ghost-ledger,
  .collection-footer {
    width: calc(100% - 20px);
  }

  .signal-brand {
    font-size: 11px;
  }

  .signal-telemetry {
    font-size: 10px;
  }

  .window-frame {
    box-shadow:
      4px 4px 0 var(--shadow),
      0 0 0 2px #03060d;
  }

  .window-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 34px;
    font-size: 13px;
  }

  .window-location {
    display: none;
  }

  .window-controls i {
    width: 18px;
    height: 18px;
    font-size: 13px;
  }

  .window-body {
    padding: 18px 14px;
  }

  .wallpaper-stage {
    min-height: 700px;
  }

  .ping-dialog {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .ping-dialog-body {
    padding: 21px 17px;
  }

  .ping-dialog h1 {
    margin-top: 11px;
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-whisper {
    font-size: 22px;
  }

  .hero-lede {
    font-size: 20px;
  }

  .hero-body {
    font-size: 19px;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .action-stamp {
    flex: 1 1 180px;
  }

  .beacon-graphic {
    top: 14px;
    right: 14px;
    width: 43px;
    height: 43px;
  }

  .wallet-ribbon {
    align-items: stretch;
  }

  .wallet-identity {
    display: grid;
    gap: 2px;
  }

  .wallet-identity strong {
    font-size: 20px;
  }

  .wallet-ribbon .action-stamp {
    flex: 0 0 42%;
  }

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

  .agent-gate {
    grid-template-columns: 36px 1fr;
    padding: 10px;
  }

  .agent-sigil {
    width: 34px;
    height: 34px;
  }

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

  .readout-strip > div:last-child {
    grid-column: 1 / -1;
  }

  .drive-meter,
  .archive-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intake-console {
    grid-template-columns: 1fr;
  }

  .quantity-chamber {
    grid-column: auto;
  }

  .quote-screen strong {
    font-size: 21px;
  }

  .hatch-body {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .drive-actions {
    display: grid;
  }

  .drive-button-row {
    justify-content: stretch;
  }

  .drive-button-row .action-stamp {
    flex: 1 1 150px;
  }

  .forge-controls {
    align-items: flex-start;
  }

  .forge-controls .action-stamp {
    width: 100%;
    margin-left: 0;
  }

  .relic-card {
    grid-template-columns: 100px 1fr;
  }

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

  .design-portrait figcaption {
    font-size: 10px;
  }

  .readme-letter p {
    font-size: 20px;
  }

  .collection-footer {
    padding: 18px 14px;
  }

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

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

  .dockrail {
    min-height: 132px;
    grid-template-columns: auto 1fr;
  }

  .dock-start {
    min-height: 61px;
    align-self: start;
  }

  .dock-windows {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 1;
    flex-direction: row;
    align-self: start;
    padding-left: 58px;
    overflow-x: auto;
  }

  .dock-tools {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .dock-wallet {
    flex: 1;
  }
}

@media (max-width: 410px) {
  .signal-telemetry {
    display: none;
  }

  .signal-header {
    justify-content: flex-start;
  }

  .wallpaper-stage {
    min-height: 730px;
  }

  .ping-dialog h1 {
    font-size: 42px;
  }

  .wallet-ribbon {
    display: grid;
  }

  .wallet-ribbon .action-stamp {
    width: 100%;
  }

  .pixel-stepper {
    grid-template-columns: 38px minmax(44px, auto) 38px;
  }

  .pixel-stepper output {
    font-size: 28px;
  }

  .drive-meter,
  .archive-summary {
    grid-template-columns: 1fr;
  }

  .relic-card {
    grid-template-columns: 1fr;
  }

  .relic-card > img {
    width: 110px;
    justify-self: center;
  }

  .readme-sheet {
    grid-template-columns: 1fr;
  }

  .line-number {
    display: none;
  }

  .dock-windows {
    padding-left: 54px;
  }
}

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

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

  .beacon-ring,
  .signal-lamp,
  .cursor-block {
    animation: none !important;
  }
}
