:root {
  --night: #0c0913;
  --night-2: #140f1f;
  --plum: #2a1630;
  --rose: #e07a5f;
  --ember: #f08a3c;
  --gold: #f2b25c;
  --gold-hi: #ffd79a;
  --cream: #f3e9dc;
  --mute: #b9a9a6;
  --line: rgba(242, 178, 92, 0.18);
  --card: rgba(26, 18, 34, 0.72);
  --c-lp: #f2b25c;
  --c-burn: #e0624a;
  --c-stake: #9b8cff;
  --c-team: #6fc3a8;
  --c-win: #f6c77d;
  --c-fee: #8a5a3c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 16px/1.6 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: var(--gold-hi); }
em { font-style: italic; color: var(--gold); }
code { font-family: var(--mono); font-size: 0.9em; color: var(--gold-hi); }
.mono { font-family: var(--mono); }

/* top bar */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(12, 9, 19, 0.85), rgba(12, 9, 19, 0));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand span { font: 600 24px/1 var(--serif); letter-spacing: 0.04em; }
.bar nav { display: flex; gap: 22px; margin-left: auto; }
.bar nav a { color: var(--mute); text-decoration: none; font-size: 14px; letter-spacing: 0.02em; }
.bar nav a:hover { color: var(--gold-hi); }
.clock {
  display: flex; align-items: center; gap: 8px;
  font: 13px var(--mono);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 9, 19, 0.6);
}
.clock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* hero */
.hero { height: 320vh; position: relative; padding: 0; }
h1, h2, .gen-card .n, .facts b { font-variant-numeric: lining-nums; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #1b1020 url("/img/og.jpg") center/cover; }
#frames { position: absolute; inset: 0; width: 100%; height: 100%; }
.veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 55%, rgba(12, 9, 19, 0.82) 0%, rgba(12, 9, 19, 0.35) 45%, rgba(12, 9, 19, 0) 70%),
    linear-gradient(0deg, var(--night) 0%, rgba(12, 9, 19, 0) 26%);
}
.hero-copy {
  position: absolute;
  left: max(28px, 6vw);
  top: 50%;
  transform: translateY(-46%);
  max-width: 560px;
  transition: opacity 0.2s linear;
}
.kicker {
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 20px; }
h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: 0.92; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5); }
h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; }
h3 { font: 600 26px/1.1 var(--serif); margin: 0 0 12px; color: var(--gold-hi); }
.lede { font-size: 18px; color: #e8dccd; max-width: 480px; }
.price-pill {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin: 18px 0 26px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 9, 19, 0.55);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
}
.price-pill span { color: var(--mute); font-size: 13px; }
.price-pill b { font-size: 20px; color: var(--gold-hi); font-weight: 600; }
.price-pill .eq { color: var(--gold); }
.price-pill small { width: 100%; color: var(--mute); font-size: 11px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font: 600 15px var(--sans);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.gold {
  color: #2a1406;
  background: linear-gradient(135deg, #ffe1a8 0%, #f2b25c 45%, #d9822f 100%);
  box-shadow: 0 8px 30px rgba(242, 160, 70, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn.ghost { color: var(--cream); border-color: var(--line); background: rgba(12, 9, 19, 0.4); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font: 11px var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute);
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(var(--gold), transparent); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); opacity: 0; } }

/* sections */
section { position: relative; padding: 120px 0; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(640px, 100% - 32px); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
p { color: #e3d6c8; }
.note { color: var(--mute); font-size: 14px; }

.field { background: radial-gradient(ellipse at 75% 40%, #2a1630 0%, var(--night) 60%); }
.facts { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: #e3d6c8; }
.facts b { font: 600 22px var(--serif); color: var(--gold-hi); min-width: 84px; }

.board-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(42, 22, 48, 0.9), rgba(16, 11, 24, 0.95));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 154, 0.08);
}
.board-head { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.board-head div { display: flex; flex-direction: column; }
.label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.board-head b { font: 600 22px var(--mono); color: var(--gold-hi); }
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.plot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #1a1222 50% 64% / 235% no-repeat;
  border: 1px solid rgba(242, 178, 92, 0.12);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.4s, filter 0.4s;
}
.plot .amt {
  position: absolute; left: 6px; bottom: 5px;
  font: 600 11px var(--mono); color: var(--gold-hi);
  text-shadow: 0 1px 4px #000;
}
.plot.win { transform: scale(1.06); z-index: 2; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(242, 178, 92, 0.7); }
.board.settled .plot:not(.win) { filter: saturate(0.4) brightness(0.55); }
.board-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--mute); }
.tag { color: var(--gold); font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }

.genesis { background: linear-gradient(180deg, var(--night) 0%, #1d0f1c 55%, var(--night) 100%); }
.gen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.gen-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.gen-card .n { display: block; font: 600 56px/1 var(--serif); color: var(--gold-hi); margin-bottom: 12px; }
.gen-card.warn .n { color: var(--rose); }
.meter-bar { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.meter-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--ember), var(--gold-hi)); }
.meter-bar .mark { position: absolute; left: 30%; top: -26px; transform: translateX(-50%); font: 11px var(--mono); color: var(--gold); }
.meter-bar .mark::after { content: ""; position: absolute; left: 50%; top: 22px; width: 2px; height: 18px; background: var(--gold); }
.meter-row { display: flex; justify-content: space-between; margin-top: 12px; font: 13px var(--mono); color: var(--mute); flex-wrap: wrap; gap: 8px; }

.tbl { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.tbl th { text-align: left; font: 600 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 12px; border-bottom: 1px solid rgba(242, 178, 92, 0.08); }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.tbl tbody tr:first-child td { color: var(--gold-hi); background: rgba(242, 178, 92, 0.07); }
.tbl tfoot td { color: var(--gold); font-weight: 600; border: 0; padding-top: 16px; }

.flows { background: radial-gradient(ellipse at 20% 30%, #26132a 0%, var(--night) 55%); }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.flow { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.bar-stack { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin: 6px 0 18px; gap: 2px; }
.bar-stack i { display: flex; align-items: center; justify-content: center; font: 600 11px var(--mono); font-style: normal; color: #1b0e08; white-space: nowrap; overflow: hidden; }
.c-lp { background: var(--c-lp); }
.c-burn { background: var(--c-burn); }
.c-stake { background: var(--c-stake); }
.c-team { background: var(--c-team); }
.c-win { background: var(--c-win); }
.c-fee { background: var(--c-fee); color: var(--cream) !important; }
.split { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: #e3d6c8; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 10px; }

.supply { background: linear-gradient(180deg, var(--night), #170d1a); }
.coin-wrap { display: flex; justify-content: center; }
.coin-wrap img { width: min(460px, 80vw); height: auto; filter: drop-shadow(0 30px 80px rgba(242, 140, 50, 0.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }
.alloc { display: grid; gap: 14px; margin: 28px 0; }
.alloc div { position: relative; display: flex; justify-content: space-between; padding: 12px 0 16px; }
.alloc dt { color: #e3d6c8; }
.alloc dd { margin: 0; font: 600 18px var(--mono); color: var(--gold-hi); }
.alloc span { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--ember), var(--gold-hi)); }
.alloc div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.05); z-index: -1; }

.gardeners article { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.gardeners img { width: 120px; height: 120px; object-fit: contain; display: block; margin: -8px 0 8px -8px; }

.honest { background: #120c18; }
.terms { columns: 2; column-gap: 48px; margin-top: 30px; }
.terms p { break-inside: avoid; margin: 0 0 22px; font-size: 15px; }
.terms b { color: var(--gold-hi); }

.join { background: radial-gradient(ellipse at 50% 0%, #3a1b2c 0%, var(--night) 60%); text-align: center; }
form { display: grid; gap: 14px; margin: 30px 0 18px; text-align: left; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); letter-spacing: 0.04em; }
label small { color: #8a7c78; }
input {
  font: 15px var(--mono);
  color: var(--cream);
  background: rgba(12, 9, 19, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  width: 100%;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 178, 92, 0.15); }
.msg { min-height: 1.4em; margin: 0; font-size: 14px; text-align: center; }
.msg.ok { color: var(--c-team); }
.msg.err { color: var(--rose); }
.count { font-family: var(--mono); color: var(--mute); }
.count b { color: var(--gold-hi); font-size: 20px; }
.share { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; text-align: left; }
.share span { grid-column: 1 / -1; font-size: 13px; color: var(--mute); }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; }
.foot { display: grid; gap: 6px; }
.foot p { margin: 0; color: var(--mute); font-size: 14px; }
.foot .small { font-size: 12px; color: #7d6f6c; }

@media (max-width: 900px) {
  .bar { padding: 12px 16px; gap: 12px; }
  .bar nav { display: none; }
  .clock { margin-left: auto; }
  .two, .three, .gen-grid, .flow-grid { grid-template-columns: 1fr; gap: 28px; }
  .terms { columns: 1; }
  section { padding: 84px 0; }
  .hero { height: 240vh; }
  .hero-copy { left: 16px; right: 16px; top: auto; bottom: 12vh; transform: none; }
  .veil { background: linear-gradient(0deg, rgba(12, 9, 19, 0.95) 0%, rgba(12, 9, 19, 0.6) 45%, rgba(12, 9, 19, 0.1) 75%); }
  .lede { font-size: 16px; }
  .board { gap: 5px; }
  .board-head b { font-size: 17px; }
  .plot .amt { font-size: 9px; left: 4px; bottom: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .coin-wrap img, .clock .dot, .scroll-hint::after { animation: none; }
}

/* living layer */
#motes { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; mix-blend-mode: screen; }
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.rise.in { opacity: 1; transform: none; }
h1 em, h2 em {
  background: linear-gradient(100deg, #f2b25c 0%, #ffe3b0 22%, #f2b25c 40%, #d9822f 70%, #f2b25c 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.coin-anim { width: min(460px, 80vw); height: auto; filter: drop-shadow(0 30px 80px rgba(242, 140, 50, 0.35)); }
.plot.win::after {
  content: ""; position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(255, 200, 120, 0.55) 0%, rgba(255, 160, 60, 0) 60%);
  animation: burst 1.6s ease-out forwards; pointer-events: none;
}
@keyframes burst { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.board-card { position: relative; }
.board-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), rgba(242,178,92,0) 0deg, rgba(255,215,154,0.7) 40deg, rgba(242,178,92,0) 90deg, rgba(242,178,92,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: orbit 6s linear infinite;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes orbit { to { --a: 360deg; } }
.btn.gold { position: relative; overflow: hidden; }
.btn.gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); animation: glint 4.5s ease-in-out infinite;
}
@keyframes glint { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  h1 em, h2 em, .board-card::before, .btn.gold::after { animation: none; }
}

/* two mint modes */
.modes { background: radial-gradient(ellipse at 80% 20%, #2a1630 0%, var(--night) 60%); }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 18px; }
.mode { position: relative; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.mode::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.mode.paid::before { background: radial-gradient(circle at 100% 0%, rgba(242, 178, 92, 0.28), transparent 55%); }
.mode.free::before { background: radial-gradient(circle at 100% 0%, rgba(111, 195, 168, 0.25), transparent 55%); }
.mode .badge { display: inline-block; font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.mode.paid .badge { color: #2a1406; background: linear-gradient(135deg, #ffe1a8, #f2b25c); }
.mode.free .badge { color: #06231b; background: linear-gradient(135deg, #b9f0dc, #6fc3a8); }
.mode .big { font: 600 34px/1.1 var(--serif); margin: 0 0 16px; color: var(--cream); }
.mode ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mode li { position: relative; padding-left: 20px; color: #e3d6c8; font-size: 15px; }
.mode li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; }
.mode.paid li::before { background: var(--gold); }
.mode.free li::before { background: var(--c-team); }
.tbl td:nth-child(2), .tbl th:nth-child(2) { text-align: center; }
@media (max-width: 900px) { .mode-grid { grid-template-columns: 1fr; } .tbl { font-size: 12px; } .tbl td, .tbl th { padding: 9px 6px; } }

/* bridge page */
.bridge-page main { padding-top: 64px; }
.bridge-hero { background: radial-gradient(ellipse at 70% 30%, #3a1b2c 0%, var(--night) 60%), url("/img/banner.jpg") center/cover; background-blend-mode: normal; }
.bridge-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,9,19,.92) 0%, rgba(12,9,19,.75) 55%, rgba(12,9,19,.55) 100%); pointer-events: none; }
.bridge-hero .wrap { position: relative; }
.h1-sm { font-size: clamp(44px, 5.6vw, 80px); }
.bridge-card { padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(42,22,48,.94), rgba(16,11,24,.97)); box-shadow: 0 40px 120px rgba(0,0,0,.5); position: relative; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.04); margin-bottom: 16px; }
.tab { font: 600 14px var(--sans); color: var(--mute); background: none; border: 0; padding: 10px; border-radius: 10px; cursor: pointer; }
.tab.on { color: #2a1406; background: linear-gradient(135deg, #ffe1a8, #f2b25c); }
.wallet-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.wide { width: 100%; margin-top: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; color: var(--gold-hi); font: 500 13px var(--sans); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.small { font-size: 12px; color: var(--mute); }
.leg { display: flex; justify-content: space-between; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,9,19,.5); }
.chain { display: flex; gap: 10px; align-items: center; }
.chain img { width: 30px; height: 30px; }
.chain b { display: block; font-size: 15px; }
.chain small { color: var(--mute); font: 11px var(--mono); }
.bal { color: var(--gold-hi); font-size: 14px; }
.amt { margin-top: 12px; }
.amt-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(12,9,19,.7); padding: 0 14px; }
.amt-row input { border: 0; background: none; box-shadow: none; padding: 14px 0; font-size: 20px; }
.amt-row input:focus { box-shadow: none; }
.amt-row span { font: 600 14px var(--mono); color: var(--mute); }
select { font: 15px var(--sans); color: var(--cream); background: rgba(12,9,19,.7); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.arrow { text-align: center; color: var(--gold); font-size: 22px; margin: 6px 0; }
.quote { margin: 14px 0 8px; padding: 12px 14px; border-radius: 12px; background: rgba(242,178,92,.07); font-size: 14px; color: #e3d6c8; min-height: 44px; }
.quote b { color: var(--gold-hi); }
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.steps li { display: flex; gap: 10px; align-items: center; }
.steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font: 600 11px var(--mono); }
.steps li.doing { color: var(--gold-hi); }
.steps li.doing span { border-color: var(--gold); animation: pulse 1.2s infinite; }
.steps li.done { color: var(--c-team); }
.steps li.done span { background: var(--c-team); color: #06231b; border-color: var(--c-team); }
.fine { margin: 12px 0 0; font-size: 12px; color: #8a7c78; }
.bar nav a[aria-current="page"] { color: var(--gold-hi); }
.tabs { grid-template-columns: repeat(3, 1fr); }
.tab { font-size: 13px; padding: 10px 6px; }
.routes { background: linear-gradient(180deg, var(--night), #170d1a); }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.route { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.route .path { display: flex; align-items: center; gap: 8px; font: 600 17px var(--serif); color: var(--cream); margin-bottom: 10px; flex-wrap: wrap; }
.route .path i { font-style: normal; color: var(--gold); }
.route .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.route .meta span { font: 11px var(--mono); padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); }
.route.live .meta span.live { color: #06231b; background: var(--c-team); border-color: var(--c-team); }
.history { background: #120c18; }
.hist-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hist-stats { display: flex; gap: 28px; }
.hist-stats div { display: flex; flex-direction: column; }
.hist-stats b { font: 600 30px var(--serif); color: var(--gold-hi); font-variant-numeric: lining-nums; }
.hist-stats span { font-size: 12px; color: var(--mute); }
.hist-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 26px 0 14px; }
.chip { font: 600 12px var(--sans); color: var(--mute); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.chip.on { color: #2a1406; background: var(--gold); border-color: var(--gold); }
.hist-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.hrow { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.2fr; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid rgba(242,178,92,.08); font-size: 14px; }
.hrow:last-child { border-bottom: 0; }
.hrow.head { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); background: rgba(255,255,255,.02); }
.hrow .rt { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.hrow .rt i { font-style: normal; color: var(--gold); }
.hrow .mono { font-family: var(--mono); font-size: 13px; }
.hrow a { color: var(--gold-hi); text-decoration: none; font-family: var(--mono); font-size: 12px; }
.st { font: 600 11px var(--mono); padding: 4px 8px; border-radius: 999px; }
.st.ok { color: #06231b; background: var(--c-team); }
.st.wait { color: #2a1406; background: var(--gold); }
@media (max-width: 900px) {
  .route-grid { grid-template-columns: 1fr; }
  .hrow { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .hrow.head { display: none; }
  .hist-stats { gap: 18px; }
}
button.route { text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; transition: border-color .2s, transform .2s; }
button.route:hover { border-color: var(--gold); transform: translateY(-2px); }

.countdown { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 8px 0 40px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, rgba(242,178,92,.1), rgba(26,18,34,.8)); }
.cd-label { font: 600 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cd-clock { font-size: clamp(30px, 5vw, 56px); font-weight: 600; color: var(--gold-hi); letter-spacing: .02em; }
.cd-sub { color: #e3d6c8; font-size: 14px; }

/* mint panel */
.mint-card { margin-top: 40px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(42,22,48,.94), rgba(16,11,24,.97)); box-shadow: 0 40px 120px rgba(0,0,0,.45); }
.mint-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.mint-head h3 { margin: 0; font-size: 30px; }
.mint-head .btn { margin-left: auto; }
.mode-switch { display: flex; gap: 6px; }
.mint-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.mint-right { padding-left: 28px; border-left: 1px solid var(--line); }
.mint-right h4 { margin: 0 0 10px; font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.mrow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(242,178,92,.08); font-size: 14px; color: var(--mute); }
.mrow b { color: var(--cream); font-weight: 600; }
.stepper input { text-align: center; }
.step { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--cream); font-size: 20px; cursor: pointer; }
.ref-note { margin: 6px 0 0; color: var(--c-team); }
.mint-right .btn { margin: 10px 0 14px; }
@media (max-width: 900px) { .mint-grid { grid-template-columns: 1fr; } .mint-right { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } }

/* docs pages */
.doc-page main.doc { padding: 120px 0 80px; }
.narrow-doc { width: min(860px, 100% - 32px); }
.doc h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 56px 0 14px; scroll-margin-top: 90px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; color: #e3d6c8; }
.doc li b, .doc p b { color: var(--gold-hi); }
.doc .tbl { margin: 14px 0; }
.tbl-wrap { overflow-x: auto; }
.doc .tbl td { vertical-align: top; }
.doc .tbl a.mono { font-size: 12px; word-break: break-all; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 10px; }
.toc a { font-size: 13px; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--mute); }
.toc a:hover { color: var(--gold-hi); border-color: var(--gold); }
details.qa { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 12px 0; background: var(--card); }
details.qa summary { cursor: pointer; font: 600 20px var(--serif); color: var(--cream); }
details.qa[open] summary { color: var(--gold-hi); }
details.qa p { margin: 10px 0 0; }
footer a { color: var(--mute); }
footer a:hover { color: var(--gold-hi); }
