:root {
  --bg: #0c0b09;
  --bg-2: #141210;
  --ink: #f7f1e6;
  --muted: #a3988a;
  --line: rgba(247, 241, 230, 0.09);
  --brass: #e7c78a;
  --brass-dim: rgba(231, 199, 138, 0.16);
  --up: #dff26a;
  --down: #ff6a45;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(820px 380px at 0% 0%, rgba(231, 199, 138, 0.09), transparent 58%),
    radial-gradient(700px 420px at 100% 0%, rgba(223, 242, 106, 0.04), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 360;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.brand, .identity { display: flex; gap: 16px; align-items: center; }
.identity { flex-direction: column; align-items: flex-end; gap: 10px; }
.link-row { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: min(520px, 100%); }
#x-link {
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 199, 138, 0.45);
}
#x-link:hover { border-bottom-color: var(--brass); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 16px 12px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}
.site-nav a.on,
.site-nav a:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}
.dev-tag {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 4px;
  padding: 3px 8px;
  border: 1px solid rgba(231, 199, 138, 0.5);
  border-radius: 999px;
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.dev-slot {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
}

.docs-more { margin: 16px 0 0; }
.docs-more a {
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 199, 138, 0.45);
}
.docs-more a:hover { border-bottom-color: var(--brass); }

.docs-stack { display: grid; gap: 16px; }
.docs-stack h2 {
  margin: 0 0 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.prose p {
  margin: 0 0 12px;
  color: #ebe3d6;
  line-height: 1.65;
}
.prose p:last-child { margin-bottom: 0; }
#live-record { margin-top: 14px; }
.mile {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.mile + .mile { margin-top: 10px; }
#milestones, #roadmap-list { margin-top: 16px; }
.stage {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.stage + .stage { margin-top: 10px; }
.stage.now { border-color: rgba(231, 199, 138, 0.7); }
.stage .tag {
  margin: 0 0 6px;
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.stage h3 { margin: 0 0 8px; font-size: 16px; font-weight: 480; }
.stage p { margin: 0; color: #ebe3d6; line-height: 1.6; }
#road-now-body { margin: 0; line-height: 1.6; color: #ebe3d6; }
#roadmap-now .docs-more { margin-top: 12px; }
.page > .rules,
.page > #iterate,
.page > #roadmap-now,
.page > #build-now,
.page > #wait-panel { margin-bottom: 14px; }
#build-now-body { margin: 0; line-height: 1.6; color: #ebe3d6; }
.chain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.stage.done { border-color: rgba(223, 242, 106, 0.45); }
#plan { margin-top: 18px; }
.plan-kicker {
  margin: 16px 0 8px;
  color: var(--brass);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#build-tasks { margin-top: 16px; }
#wait-panel {
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(231, 199, 138, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--bg-2);
}
#wait-panel .iter-title { max-width: 14ch; }
#wait-panel .iter-foot { justify-content: flex-start; gap: 22px; }

.iter-title {
  margin: 10px 0 12px;
  max-width: 16ch;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 44px;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.iter-status {
  margin: 0;
  padding: 6px 11px;
  border: 1px solid rgba(231, 199, 138, 0.55);
  border-radius: 999px;
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.iter-lead {
  margin: 0;
  max-width: 68ch;
  color: #ebe3d6;
  line-height: 1.65;
}
.loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.loop li {
  position: relative;
  min-height: 168px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(231, 199, 138, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.025);
}
.loop li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 28px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--brass);
  border-top: 1px solid var(--brass);
  transform: rotate(45deg);
  z-index: 1;
  background: var(--bg-2);
}
.step-no {
  display: block;
  margin-bottom: 10px;
  color: var(--brass);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 32px;
  line-height: 0.8;
  letter-spacing: -0.03em;
}
.loop h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 480;
}
.loop p {
  margin: 0;
  color: #ebe3d6;
  font-size: 14px;
  line-height: 1.5;
}
.iter-return {
  margin: 14px 0 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.iter-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.iter-input {
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.iter-foot a {
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 199, 138, 0.45);
}
.iter-foot a:hover { border-bottom-color: var(--brass); }
#iterate .section-head { align-items: center; margin-bottom: 4px; }
.mile .when {
  margin: 0 0 6px;
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.mile h3 { margin: 0 0 8px; font-size: 16px; font-weight: 480; }
.mile p { margin: 0; color: #ebe3d6; line-height: 1.6; }

.mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 5px rgba(231, 199, 138, 0.08);
}
.mark::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 10px;
  width: 1px;
  height: 26px;
  background: var(--brass);
}

h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 64px;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brass);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.muted { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.45; }

.lang {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.lang button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
}
.lang button.on {
  color: #1a150f;
  background: var(--brass);
}
.nav-wallet {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.wallet-btn {
  border: 1px solid rgba(231, 199, 138, 0.55);
  background: rgba(231, 199, 138, 0.08);
  color: var(--brass);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.wallet-btn.on { color: var(--ink); }
.wallet-x {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}
.wallet-x[hidden] { display: none; }
.wallet-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 6;
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
.wallet-menu[hidden] { display: none; }
.wallet-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 8px 10px;
  font-size: 14px;
}
.wallet-menu button:hover { background: rgba(231, 199, 138, 0.08); }
.wallet-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(231, 199, 138, 0.16);
  color: var(--brass);
  font-size: 12px;
  overflow: hidden;
}
.wallet-mark img { width: 22px; height: 22px; display: block; }

#address, #wallet, #sol-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(460px, 100%);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 8px 8px 8px 14px;
  text-align: left;
  transition: border-color 0.15s ease;
}
#address-text, #wallet-text, #sol-wallet-text {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.01em;
  word-break: break-all;
  line-height: 1.35;
}
#copy-label, #wallet-copy, #sol-wallet-copy {
  flex: none;
  background: var(--brass);
  color: #1a150f;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
#address:hover, #wallet:hover, #sol-wallet:hover { border-color: rgba(231, 199, 138, 0.7); }

.pulse { margin: 0; color: var(--muted); font-size: 13px; }
.pulse::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(223, 242, 106, 0.55);
  animation: beat 1.8s infinite;
  vertical-align: 1px;
}
.pulse.down::before { background: var(--down); animation: none; }

@keyframes beat {
  70% { box-shadow: 0 0 0 8px transparent; }
}

.note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(231, 199, 138, 0.28);
  border-radius: 14px;
  color: var(--ink);
  background: var(--brass-dim);
}

.hero, .lower, .watch {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.watch { display: block; }
.chain-desk {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.chain-desk-kicker { margin: 0; }
.chain-desk .watch,
.chain-desk .solana-panel { margin-bottom: 0; }
.wait-bar { margin-bottom: 14px; }
.wait-line {
  margin: 10px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 36px;
}
.page-links a {
  color: var(--brass);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.loop li { min-height: 0; }
a.sol-card {
  color: inherit;
  text-decoration: none;
}
a.sol-card:hover { border-color: rgba(231, 199, 138, 0.55); }
.sol-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: 6px;
}
.sol-meta .chip { margin-top: 0; }
.sol-quote { font-variant-numeric: tabular-nums; }
.sol-note { margin: 10px 0 0; }
.checks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.checks li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: baseline;
}
.checks b { font-weight: 480; }
.chip.reading { color: var(--brass); }
.sol-chg { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; }
.sol-chg.down { color: var(--down); }
.hero { grid-template-columns: 0.92fr 1.45fr 0.72fr; align-items: stretch; }
.lower { grid-template-columns: 0.92fr 1.35fr; }

.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 199, 138, 0.7), transparent);
}

.section-head, .chart-head, .split {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.section-head, .chart-head { align-items: baseline; margin-bottom: 8px; }
.chart-head .eyebrow, .section-head .eyebrow { margin-bottom: 0; }

.figure {
  margin: 6px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 68px;
  letter-spacing: -0.045em;
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
}
.rate {
  background:
    radial-gradient(180px 140px at 100% 0%, rgba(231, 199, 138, 0.16), transparent 68%),
    var(--bg-2);
}
.rate .figure { font-size: 78px; }
.unit { margin: 10px 0 0; color: var(--muted); letter-spacing: 0.14em; font-size: 12px; }
.sol-figure {
  margin: 18px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.split {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.split div { min-width: 0; }
.split dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.split dd {
  margin: 6px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.chart-card { min-height: 340px; }
#chart { width: 100%; height: 250px; display: block; margin-top: 8px; }
.chart-grid { stroke: rgba(247, 241, 230, 0.06); stroke-width: 1; }
.chart-line {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-fill { fill: url(#fade); }
.chart-halo { fill: rgba(223, 242, 106, 0.22); }
.chart-dot { fill: var(--up); }

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.coin {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 18px 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.mini {
  flex: 1 0 100%;
  height: 64px;
  margin-top: 2px;
}
.mini.empty {
  height: 28px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.mini svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mini .base {
  stroke: rgba(247, 241, 230, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.mini path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.mini circle { fill: var(--brass); }
.mini.up path { stroke: var(--up); }
.mini.up circle { fill: var(--up); }
.mini.down path { stroke: var(--down); }
.mini.down circle { fill: var(--down); }
.ok-dot {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--down);
}
.ok-dot.on {
  background: var(--up);
  box-shadow: 0 0 8px rgba(223, 242, 106, 0.7);
}
.coin-copy { min-width: 0; flex: 1; }
.coin-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.coin .name {
  font-weight: 560;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin .sym {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.chip {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chip.watching { color: var(--brass); }
.chip.bought, .chip.qualified { color: var(--up); }
.mult {
  flex: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--brass);
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: contain;
  flex: none;
  background: #1a1714;
  padding: 3px;
}
.avatar.fallback {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--brass);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
}
.board > .empty { grid-column: 1 / -1; }

.filters { display: flex; gap: 8px; margin: 8px 0 4px; }
.filters button, .form-actions button, .file-row button, .create-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
}
.filters button.on, .form-actions button, .file-row button, .create-link {
  color: var(--brass);
  border-color: rgba(231, 199, 138, 0.55);
}
.launch-form { display: grid; gap: 12px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field span { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 12px 14px;
}
.file-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.file-row .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field .file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  pointer-events: none;
}
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status-line { min-height: 1.4em; color: var(--brass); line-height: 1.5; }

.sell-rules {
  margin: 0 0 4px;
  color: #ebe3d6;
  font-size: 13px;
  line-height: 1.55;
}
.pos-exit {
  margin-top: 6px;
  color: var(--brass);
  font-size: 12px;
  line-height: 1.45;
}
.positions, .tape { display: flex; flex-direction: column; }
.tape {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 380px;
  overflow: auto;
}

.row, .pos {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.row { grid-template-columns: 64px 1fr auto auto; }
.pos { grid-template-columns: auto 1fr auto; }
.row:last-child, .pos:last-child { border-bottom: 0; }
.kind {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kind.buy, .up { color: var(--up); }
.kind.sell { color: var(--down); }
.kind.claim, .kind.convert { color: var(--brass); }
.chain-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brass);
  font-size: 10px;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}
.sym { font-weight: 560; }
.addr-copy {
  display: flex;
  width: fit-content;
  margin-top: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--brass);
  border-radius: 999px;
  padding: 3px 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.addr-copy:hover { border-color: rgba(231, 199, 138, 0.7); }
.right {
  text-align: right;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.empty {
  color: var(--muted);
  margin-top: 8px;
  padding: 28px 8px;
  text-align: center;
  border: 1px dashed rgba(247, 241, 230, 0.14);
  border-radius: 14px;
}

.rules ol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 4px;
  padding: 0;
}
.rules li {
  margin: 0;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  color: #ebe3d6;
  line-height: 1.5;
  counter-increment: rule;
}
.rules ol { counter-reset: rule; }
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

@media (max-width: 980px) {
  .page { width: min(100% - 28px, 1160px); padding-top: 22px; }
  h1 { font-size: 48px; }
  .docs-stack h2 { font-size: 32px; }
  .figure, .rate .figure { font-size: 52px; }
  .hero, .lower, .top, .rules ol { display: flex; flex-direction: column; }
  .iter-title { font-size: 36px; max-width: none; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop li { min-height: 0; }
  .loop li:not(:last-child)::after { display: none; }
  .iter-status { white-space: normal; }
  .board { grid-template-columns: 1fr 1fr; }
  .identity, .lang { align-items: flex-start; justify-content: flex-start; }
  #address, #wallet, #sol-wallet, .link-row { max-width: 100%; align-items: flex-start; }
  .row { grid-template-columns: 64px 1fr; }
  .row .right:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  .board, .loop, .chain-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse::before { animation: none; }
}
