/* multi.fun */
:root {
  --eth: #627EEA; --base: #0052FF; --sol: #9945FF; --sol2: #14F195; --rh: #00C805; --bnb: #F3BA2F;
  --sol-grad: linear-gradient(135deg, #9945FF, #14F195);

  --bg: #0A0A0B; --bg-1: #0F0F11; --bg-2: #141417; --bg-3: #1B1B1F; --bg-4: #242429; --bg-5: #2E2E34;
  --fg: #F5F4F0; --fg-2: #B4B3AD; --fg-3: #7A7974; --fg-4: #4E4E52;
  --core: #F5F4F0;
  --hair: rgba(245, 244, 240, .07);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px -20px rgba(0,0,0,.6);
  --scrim: rgba(5, 5, 6, .72);

  --f-display: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --f-ui: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-xl: 30px;
  --gut: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 64px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F5F4F0; --bg-1: #EFEEE9; --bg-2: #E9E8E2; --bg-3: #E0DFD8; --bg-4: #D5D4CC; --bg-5: #C8C7BF;
  --fg: #0A0A0B; --fg-2: #46464A; --fg-3: #77767B; --fg-4: #A3A29C;
  --core: #0A0A0B;
  --hair: rgba(10, 10, 11, .08);
  --shadow: 0 20px 50px -24px rgba(20,20,10,.25);
  --scrim: rgba(235, 234, 228, .78);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-ui); font-size: 15px; line-height: 1.45;
  font-feature-settings: "tnum" 1, "ss01" 1; font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: -.01em; }
.muted { color: var(--fg-3); }
.dim { color: var(--fg-2); }
.up { color: var(--fg); }
.down { color: var(--fg-3); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, .display { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; margin: 0; line-height: 1; }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 20px; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 28px), 1120px); height: 56px;
  display: flex; align-items: center; gap: 20px; padding: 0 8px 0 18px;
  background: color-mix(in oklab, var(--bg-2) 92%, transparent); border-radius: 999px;
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -.03em; }
.brand-mark { width: 26px; height: 26px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-word span { color: var(--fg-3); }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; color: var(--fg-2); font-size: 14px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a.on { color: var(--fg); background: var(--bg-4); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--fg-2); }
.icon-btn:hover { color: var(--fg); background: var(--bg-4); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: 14px; white-space: nowrap;
  transition: transform .12s var(--ease), background .15s, color .15s, opacity .15s;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid:hover { background: color-mix(in oklab, var(--fg) 88%, var(--bg)); }
.btn-quiet { background: var(--bg-4); color: var(--fg); }
.btn-quiet:hover { background: var(--bg-5); }
.btn-ghost { color: var(--fg-2); }
.btn-ghost:hover { color: var(--fg); background: var(--bg-3); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn[disabled], .btn.is-disabled { opacity: .35; pointer-events: none; }
.btn-block { width: 100%; }
.wallet-chip { display: inline-flex; align-items: center; gap: 6px; }
.wallet-chip .dots { gap: 2px; }
.wallet-chip > span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* ---------- chain dots ---------- */
.dots { display: inline-flex; align-items: center; gap: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; transition: opacity .3s, transform .4s var(--ease), margin .35s var(--ease); }
.dot.sol { background: var(--sol-grad); }
.dot.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg-4); }
.dot.wait { opacity: .18; }
.dot.lit { animation: lit .5s var(--ease); }
@keyframes lit { 0% { transform: scale(.2); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.dots.lg .dot { width: 10px; height: 10px; }
.chain-tag { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--bg-4); color: var(--fg-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge.curve { background: transparent; box-shadow: inset 0 0 0 1px var(--fg-4); }

/* ---------- coin art ---------- */
.art { width: 40px; height: 40px; border-radius: 10px; image-rendering: pixelated; flex: none; background: var(--bg-4); }
.art.sm { width: 28px; height: 28px; border-radius: 7px; }
.art.lg { width: 64px; height: 64px; border-radius: 16px; }
.art.xl { width: 88px; height: 88px; border-radius: 20px; }

/* ---------- banner ---------- */
.banner { position: fixed; z-index: 39; top: 78px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 1120px); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--bg-3); font-size: 14px; }
.banner b { font-weight: 600; }
.banner .btn { height: 32px; margin-left: auto; }
body.has-banner main { padding-top: 60px; }

main { min-height: 70vh; padding-top: calc(var(--nav-h) + 30px); outline: none; }

/* ---------- hero ---------- */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; min-height: min(720px, calc(100svh - 120px)); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 40px; }
.hero h1 { font-size: clamp(50px, 7.4vw, 116px); line-height: .9; letter-spacing: -.06em; font-weight: 600; }
.hero h1 .hk { display: block; margin-bottom: .32em; font-family: var(--f-mono); font-size: max(13px, .15em); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.hero h1 .hl { display: block; animation: hero-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 .hl:nth-child(3) { animation-delay: .12s; }
.hero h1 .hl:nth-child(4) { animation-delay: .24s; }
.hero h1 .l2 { color: var(--fg-3); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .hl { animation: none; } }
.hero-sub { margin-top: 28px; max-width: 30em; color: var(--fg-2); font-size: 17px; line-height: 1.5; }
.hero-cta { margin-top: 36px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-stage { position: relative; height: min(640px, 70vh); min-height: 420px; }
.hero-stage canvas, .hero-stage .mark-fallback { position: absolute; inset: -8% 10% 4% -10%; width: 100%; height: 104%; }
.mark-fallback { display: grid; place-items: center; }
.mark-fallback svg { width: 62%; height: 62%; }

.fan { position: absolute; right: -12px; bottom: -2%; z-index: 3; min-width: 260px; padding: 16px 18px; border-radius: var(--r-l); background: color-mix(in oklab, var(--bg-2) 94%, transparent); box-shadow: var(--shadow); font-size: 13px; }
.fan-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fan-head .art { width: 32px; height: 32px; border-radius: 8px; }
.fan-name { font-weight: 600; font-size: 14px; }
.fan-sub { color: var(--fg-3); font-size: 12px; }
.fan-rows { display: grid; gap: 6px; }
.fan-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; color: var(--fg-4); transition: color .3s; }
.fan-row.on { color: var(--fg-2); }
.fan-row .dot { opacity: .2; }
.fan-row.on .dot { opacity: 1; }
.fan-row .t { font-family: var(--f-mono); font-size: 12px; }
.fan-foot { margin-top: 12px; color: var(--fg-3); font-size: 12px; min-height: 1.4em; }
.fan-foot b { color: var(--fg); font-weight: 500; }

/* ---------- live strip ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin: 0 0 22px; }
.sec-head .muted { font-size: 14px; }
.live-sec { margin-top: 24px; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.launch-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-m); background: var(--bg-2); transition: background .2s; min-width: 0; }
.launch-card:hover { background: var(--bg-3); }
.launch-card.enter { animation: enter .7s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.lc-body { min-width: 0; flex: 1; }
.lc-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-name .muted { font-weight: 400; }
.lc-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; font-size: 12px; color: var(--fg-3); }

/* ---------- coin list ---------- */
.coins { margin-top: 88px; padding-bottom: 80px; }
.coins-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 22px; }
.coins-bar h2 { margin-right: 10px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg-2); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg button { height: 32px; padding: 0 13px; border-radius: 999px; color: var(--fg-3); font-size: 13.5px; white-space: nowrap; transition: color .15s, background .15s; }
.seg button:hover { color: var(--fg); }
.seg button.on { background: var(--bg-4); color: var(--fg); }
.search { margin-left: auto; position: relative; }
.search input { width: 220px; height: 38px; border: 0; border-radius: 999px; background: var(--bg-2); padding: 0 14px 0 36px; outline: none; font-size: 14px; }
.search input::placeholder { color: var(--fg-3); }
.search input:focus { background: var(--bg-3); }
.search svg { position: absolute; left: 13px; top: 11px; width: 16px; height: 16px; stroke: var(--fg-3); fill: none; stroke-width: 1.6; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(286px, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--bg-2); transition: background .2s, transform .25s var(--ease); min-width: 0; }
.card:hover { background: var(--bg-3); }
.card:hover .pills .pill + .pill { margin-left: -9px; }
.c-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.c-id { min-width: 0; flex: 1; }
.c-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-tick { color: var(--fg-3); font-size: 13px; }
.c-chg { font-size: 14px; font-weight: 500; text-align: right; }
.c-chg small { display: block; color: var(--fg-3); font-size: 11.5px; font-weight: 400; }
.spark { width: 100%; height: 56px; display: block; }
.c-bot { display: flex; align-items: center; gap: 6px; }
.c-mcap { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; font-size: 20px; margin-right: auto; }
.c-mcap small { font-family: var(--f-ui); font-weight: 400; letter-spacing: 0; color: var(--fg-3); font-size: 12px; margin-left: 4px; }
.c-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--fg-3); }
.c-curve { display: flex; align-items: center; gap: 8px; color: var(--fg-2); }

/* ---------- empty / error / skeleton ---------- */
.empty { padding: 80px 20px; text-align: center; display: grid; justify-items: center; gap: 14px; border-radius: var(--r-xl); background: var(--bg-1); }
.empty svg.big { width: 88px; height: 88px; opacity: .9; }
.empty h3 { font-family: var(--f-display); font-size: 26px; }
.empty p { color: var(--fg-3); max-width: 28em; }
.sk { background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 8px; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.card.sk-card { gap: 14px; }
.card.sk-card .sk { background-color: var(--bg-3); }

/* ---------- launch flow ---------- */
.launch { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut) 120px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.launch-main { min-width: 0; }
.steps { display: flex; gap: 22px; margin-bottom: 40px; font-size: 14px; }
.steps button { color: var(--fg-4); display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; position: relative; }
.steps button.done { color: var(--fg-2); }
.steps button.on { color: var(--fg); }
.steps button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--fg); }
.steps button[disabled] { cursor: default; }
.steps svg { width: 14px; height: 14px; }
.l-title { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -.05em; line-height: .95; }
.l-sub { color: var(--fg-2); margin-top: 14px; font-size: 16px; max-width: 34em; }
.l-body { margin-top: 36px; }

.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.type { position: relative; text-align: left; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-l); background: var(--bg-2); min-height: 340px; transition: background .2s, box-shadow .2s; }
.type:hover { background: var(--bg-3); }
.type.on { background: var(--bg-3); box-shadow: inset 0 0 0 1.5px var(--fg); }
.type h3 { font-family: var(--f-display); font-size: 26px; letter-spacing: -.04em; }
.type p { color: var(--fg-2); font-size: 14px; }
.type-art { height: 110px; display: grid; place-items: center; }
.type-art svg { width: 100%; height: 100%; overflow: visible; }
.type-pairs { margin-top: auto; display: grid; gap: 5px; font-size: 13px; }
.type-pairs div { display: flex; align-items: center; gap: 8px; color: var(--fg-2); }
.type-pairs div span:last-child { margin-left: auto; color: var(--fg); font-weight: 500; }
.type-pairs div.swap span:last-child { text-decoration: underline; text-decoration-color: var(--fg-4); text-underline-offset: 3px; }
.pair-pick { display: flex; gap: 4px; }
.pair-pick button { height: 28px; padding: 0 11px; border-radius: 999px; background: var(--bg-4); font-size: 13px; color: var(--fg-2); }
.pair-pick button.on { background: var(--fg); color: var(--bg); }
.check { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .25s var(--ease); }
.type.on .check { opacity: 1; transform: none; }
.check svg { width: 12px; height: 12px; }

.form { display: grid; gap: 22px; max-width: 640px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > .lab { font-size: 13.5px; color: var(--fg-2); display: flex; justify-content: space-between; gap: 10px; }
.field > label .muted, .field > .lab .muted { font-size: 12.5px; }
.input { position: relative; display: flex; align-items: center; background: var(--bg-2); border-radius: var(--r-m); transition: background .15s, box-shadow .15s; min-width: 0; }
.input:focus-within { background: var(--bg-3); box-shadow: inset 0 0 0 1.5px var(--fg-3); }
.input.bad { box-shadow: inset 0 0 0 1.5px var(--fg-2); }
.input input, .input textarea { flex: 1; min-width: 0; width: 100%; border: 0; background: none; outline: none; padding: 15px 16px; font-size: 16px; }
.input textarea { resize: none; min-height: 96px; line-height: 1.45; }
.input .pre, .input .post { color: var(--fg-3); padding: 0 0 0 16px; font-size: 15px; white-space: nowrap; }
.input .post { padding: 0 16px 0 0; }
.input .pre + input { padding-left: 4px; }
.input.big input { font-family: var(--f-display); font-weight: 600; font-size: 34px; letter-spacing: -.04em; padding: 16px 16px; }
.err { color: var(--fg-2); font-size: 12.5px; display: flex; gap: 6px; align-items: center; }
.err::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--fg-2); color: var(--bg); font-size: 10px; font-weight: 700; }

.upload { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-m); background: var(--bg-2); cursor: pointer; transition: background .15s; }
.upload:hover, .upload.drag { background: var(--bg-3); }
.upload .art { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; color: var(--fg-3); }
.upload-plus { width: 72px; height: 72px; border-radius: 16px; background: var(--bg-4); display: grid; place-items: center; color: var(--fg-3); font-size: 28px; flex: none; }
.upload-txt { flex: 1; min-width: 0; font-size: 14px; }
.upload-txt b { font-weight: 500; display: block; }
.meter { margin-top: 10px; }
.meter-bar { height: 4px; border-radius: 4px; background: var(--bg-4); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 4px; background: var(--fg); transition: width .5s var(--ease); }
.meter-txt { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--fg-3); }

.chainpick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.chainpick button { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 14px; border-radius: var(--r-m); background: var(--bg-2); text-align: left; font-size: 13.5px; transition: background .15s, box-shadow .15s; min-width: 0; }
.chainpick button:hover { background: var(--bg-3); }
.chainpick button.on { background: var(--bg-3); box-shadow: inset 0 0 0 1.5px var(--c); }
.chainpick button.on.sol { box-shadow: inset 0 0 0 1.5px var(--sol); }
.chainpick .cp-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.chainpick .cp-sub { color: var(--fg-3); font-size: 12px; }
.chainpick .dot { width: 12px; height: 12px; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--bg-2); color: var(--fg-2); font-size: 13px; }
.chips button:hover { background: var(--bg-3); color: var(--fg); }
.chips button.on { background: var(--fg); color: var(--bg); }

.quote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 16px 18px; border-radius: var(--r-m); background: var(--bg-1); }
.quote .big { font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -.035em; }
.quote .muted { font-size: 14px; }

.slider { display: grid; gap: 10px; }
.slider-top { display: flex; align-items: baseline; justify-content: space-between; }
.slider-val { font-family: var(--f-display); font-weight: 600; font-size: 30px; letter-spacing: -.04em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--fg) var(--p, 20%), var(--bg-4) var(--p, 20%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--bg-4); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--fg); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 5px var(--bg); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 5px var(--bg); }
.slider-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-3); }

.l-actions { display: flex; gap: 10px; margin-top: 40px; align-items: center; }
.l-actions .grow { flex: 1; }
.notice { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-radius: var(--r-m); background: var(--bg-3); font-size: 14px; }
.notice .btn { height: 32px; margin-left: auto; }
.notice b { font-weight: 600; }

/* review */
.review { display: grid; gap: 14px; max-width: 680px; }
.rv-coin { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r-l); background: var(--bg-2); }
.rv-coin h3 { font-family: var(--f-display); font-size: 26px; letter-spacing: -.04em; }
.addr-block { padding: 20px; border-radius: var(--r-l); background: var(--bg-2); display: grid; gap: 16px; }
.addr-row { display: grid; gap: 8px; }
.addr-lab { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-2); }
.addr { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: clamp(13px, 1.55vw, 17px); letter-spacing: -.02em; word-break: break-all; }
.addr b { font-weight: 500; color: var(--fg); }
.addr span { color: var(--fg-2); }
.copy { flex: none; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--bg-4); font-family: var(--f-ui); font-size: 12.5px; color: var(--fg-2); }
.copy:hover { color: var(--fg); background: var(--bg-5); }
.rv-list { padding: 6px 20px; border-radius: var(--r-l); background: var(--bg-2); }
.rv-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14px; }
.rv-list > div + div { box-shadow: 0 -1px 0 var(--hair); }
.rv-list span:first-child { color: var(--fg-3); }
.rv-list span:last-child { text-align: right; }

/* preview rail */
.rail { position: sticky; top: 96px; display: grid; gap: 12px; }
.rail-lab { font-size: 13px; color: var(--fg-3); }
.rail .card { pointer-events: none; }
.rail-pairs { padding: 14px 16px; border-radius: var(--r-l); background: var(--bg-1); display: grid; gap: 7px; font-size: 13px; }
.rail-pairs div { display: flex; align-items: center; gap: 8px; color: var(--fg-2); }
.rail-pairs div b { margin-left: auto; font-weight: 500; color: var(--fg); }

/* live launch progress */
.go { max-width: 980px; margin: 0 auto; padding: 0 var(--gut) 120px; text-align: center; }
.go-stage { position: relative; height: min(440px, 52vh); margin: -20px auto 0; max-width: 560px; }
.go-stage canvas, .go-stage .mark-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.go h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.055em; }
.go-sub { margin-top: 14px; color: var(--fg-2); font-size: 16px; min-height: 1.5em; }
.go-rows { margin: 36px auto 0; max-width: 620px; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.go-row { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--r-m); background: var(--bg-2); transition: background .4s; }
.go-row .dot { width: 12px; height: 12px; opacity: .2; }
.go-row.live .dot { opacity: 1; }
.go-row.live { background: var(--bg-3); }
.go-row .nm { font-weight: 500; }
.go-row .st { color: var(--fg-3); font-size: 13.5px; }
.go-row.live .st { color: var(--fg); }
.go-row .tm { font-family: var(--f-mono); font-size: 13px; color: var(--fg-2); min-width: 64px; text-align: right; }
.go-row .tx { color: var(--fg-3); font-size: 12.5px; }
.go-row .tx:hover { color: var(--fg); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--fg-4); border-top-color: var(--fg); animation: spin .8s linear infinite; display: inline-block; vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.go-done { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: var(--scrim); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet:focus { outline: none; }
.sheet { width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--bg-2); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow); animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.sheet-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.sheet-head h2 { font-size: 30px; }
.sheet-head p { color: var(--fg-3); margin-top: 8px; font-size: 14px; }
.sheet-head .icon-btn { margin-left: auto; flex: none; }
.wcols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wcol h3 { font-size: 15px; font-family: var(--f-ui); font-weight: 500; letter-spacing: 0; color: var(--fg-2); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.wlist { display: grid; gap: 6px; }
.wbtn { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-m); background: var(--bg-3); text-align: left; transition: background .15s; }
.wbtn:hover { background: var(--bg-4); }
.wbtn.connected { box-shadow: inset 0 0 0 1.5px var(--fg); }
.wicon { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-5); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 15px; flex: none; overflow: hidden; }
.wicon img { width: 100%; height: 100%; }
.wname { font-weight: 500; }
.wsub { font-size: 12px; color: var(--fg-3); }
.wbtn .dots { margin-left: auto; }
.sheet-foot { margin-top: 22px; color: var(--fg-3); font-size: 13px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 16px; background: var(--fg); color: var(--bg); font-size: 14px; box-shadow: var(--shadow); animation: rise .35s var(--ease); }
.toast.out { opacity: 0; transform: translateY(8px); transition: .3s; }

/* ---------- placeholder pages ---------- */
.soon { max-width: var(--maxw); margin: 0 auto; padding: 60px var(--gut) 160px; }
.soon h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -.055em; }
.soon p { color: var(--fg-3); margin-top: 18px; font-size: 17px; }

/* ---------- footer + tabbar ---------- */
.foot { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gut) 44px; display: flex; align-items: center; gap: 24px; color: var(--fg-3); font-size: 14px; }
.foot .brand { color: var(--fg); font-size: 15px; }
.foot .brand-mark { width: 22px; height: 22px; }
.foot-links { margin-left: auto; display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot-links a { color: var(--fg-2); }
.foot-links a:hover { color: var(--fg); }
.tabbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .launch { grid-template-columns: 1fr; gap: 28px; }
  .rail { position: static; grid-template-columns: 1fr; }
  .rail .rail-pairs, .rail .rail-lab { display: none; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links, .nav-launch { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .hero-stage { order: -1; height: 360px; min-height: 0; margin: 0 -16px; }
  .hero-stage canvas, .hero-stage .mark-fallback { inset: 0; width: 100%; height: 100%; }
  .hero-stage canvas, .hero-stage .mark-fallback { bottom: 64px; height: calc(100% - 64px); }
  .fan { left: 16px; right: 16px; bottom: 0; min-width: 0; width: auto; padding: 10px 14px; display: flex; align-items: center; gap: 12px; }
  .fan-head { margin: 0; flex: 1; min-width: 0; }
  .fan-head > div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fan-rows { display: flex; gap: 5px; }
  .fan-row { display: block; }
  .fan-row span:not(.dot) { display: none; }
  .fan-row .dot { width: 10px; height: 10px; }
  .fan-foot { margin: 0; white-space: nowrap; }
  .types { grid-template-columns: 1fr; }
  .type { min-height: 0; }
  .type-art { height: 80px; }
  .chainpick { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .chainpick button { padding: 12px 6px; align-items: center; gap: 10px; }
  .chainpick .cp-sub { display: none; }
  .chainpick .cp-name { font-size: 12px; }
  .wcols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav { top: 0; width: 100%; border-radius: 0; height: 58px; padding: 0 8px 0 16px; box-shadow: none; background: var(--bg); }
  .banner { top: 62px; border-radius: 12px; }
  .wallet-chip { max-width: 168px; padding: 0 12px; }
  .wallet-chip .pills { display: none; }
  main { padding-top: 76px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .hero-cta { margin-top: 26px; }
  .hero-cta .btn-lg { flex: 1; }
  .strip { grid-template-columns: 1fr; gap: 8px; }
  .strip .launch-card:nth-child(n+4) { display: none; }
  .coins { margin-top: 60px; }
  .coins-bar h2 { width: 100%; }
  .search { margin-left: 0; width: 100%; order: 3; }
  .search input { width: 100%; }
  .grid { grid-template-columns: 1fr; gap: 8px; }
  .row2 { grid-template-columns: 1fr; }
  .rail { display: none; }
  .row3 { grid-template-columns: 1fr; }
  .steps { gap: 16px; margin-bottom: 26px; overflow-x: auto; }
  .l-title { font-size: 40px; }
  .l-body { margin-top: 26px; }
  .launch { padding-bottom: 140px; }
  .l-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -1px 0 var(--hair); }
  .l-actions .btn-lg { flex: 1; height: 52px; }
  body.route-launch .tabbar { display: none; }
  body.route-launch { padding-bottom: 0; }
  .go-row { grid-template-columns: 12px 1fr auto auto; gap: 10px; padding: 13px 14px; }
  .go-row .tm { min-width: 0; }
  .go-row .nm .muted { display: none; }
  .hero-copy { margin-top: 28px; }
  .go-row .tx { display: none; }
  .sheet { padding: 22px 18px; border-radius: 26px 26px 0 0; align-self: end; max-height: 88svh; }
  .modal { padding: 0; place-items: end center; }
  .foot { flex-wrap: wrap; gap: 10px 18px; padding-bottom: 28px; }
  .foot-line { order: 3; width: 100%; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -1px 0 var(--hair);
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; font-size: 11px; color: var(--fg-3); }
  .tabbar a.on { color: var(--fg); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar svg.tab-flame { fill: currentColor; stroke: none; width: 20px; height: 22px; }
  .tabbar .tab-launch svg.tab-mark { width: 26px; height: 26px; stroke: none; }
}


/* ---------- pills: glossy chain capsules, the system's chain marker ---------- */
.pills { display: inline-flex; align-items: center; gap: 3px; }
.pill {
  position: relative; display: inline-block; flex: none; width: 15px; height: 7px; border-radius: 7px; background: var(--c);
  box-shadow: inset 0 -1.5px 2px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.35);
  transition: opacity .3s, filter .3s, margin .35s var(--ease), transform .4s var(--ease);
}
.pill::after { content: ""; position: absolute; left: 22%; right: 30%; top: 18%; height: 22%; min-height: 1px; border-radius: 4px; background: rgba(255,255,255,.55); }
.pill.sol { background: var(--sol-grad); }
.pill.off { background: var(--bg-4); box-shadow: inset 0 0 0 1px var(--fg-4); }
.pill.off::after { display: none; }
.pills.xs .pill { width: 10px; height: 5px; }
.pills.lg .pill, .pill.lg { width: 22px; height: 10px; border-radius: 10px; }
.pill.xl { width: 36px; height: 15px; border-radius: 15px; }
.pills.xs { gap: 2px; }

.ul { text-decoration: underline; text-decoration-color: var(--fg-4); text-underline-offset: 3px; }
.ul:hover { text-decoration-color: var(--fg); }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--fg); color: var(--bg); font-size: 11.5px; font-weight: 500; }
.flame { width: 12px; height: 12px; vertical-align: -1px; color: var(--fg); }
.pad { padding: 18px 4px; }
.more { margin: 8px auto 0; display: flex; }

.page { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gut) 100px; display: grid; gap: 14px; }
.panel { background: var(--bg-2); border-radius: var(--r-l); padding: 20px; min-width: 0; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h3 { font-size: 18px; }
.panel-head .muted { font-size: 13px; }

/* ---------- coin page ---------- */
.coinpage { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gut) 100px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; align-items: start; }
.cp-main { display: grid; gap: 14px; min-width: 0; }
.cp-side { position: sticky; top: 90px; display: grid; gap: 14px; }
.cp-head { display: flex; gap: 20px; align-items: center; padding: 8px 0 6px; }
.cp-id { flex: 1; min-width: 0; }
.cp-id h1 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.05em; }
.cp-tags { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.cp-live { font-size: 13px; }
.cp-addr { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.addr-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--bg-2); color: var(--fg-2); font-size: 13px; }
.addr-chip:hover { background: var(--bg-3); color: var(--fg); }
.cp-social { display: inline-flex; gap: 14px; margin-left: 8px; font-size: 13.5px; color: var(--fg-2); }
.cp-social a:hover { color: var(--fg); }
.cp-price { text-align: right; flex: none; }
.cp-mc { font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.045em; line-height: 1; }
.cp-price .muted { font-size: 13px; margin-top: 6px; }
.cp-p { margin-top: 6px; color: var(--fg-2); font-size: 13px; }
.cp-desc { color: var(--fg-2); max-width: 46em; margin-top: -4px; }

.chartpanel { padding: 16px 16px 12px; }
.chart-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.seg button[disabled] { opacity: .35; cursor: not-allowed; }
.chain-toggle { display: flex; gap: 2px; align-items: center; }
.chain-toggle button { height: 32px; min-width: 32px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; color: var(--fg-3); font-size: 13px; }
.chain-toggle button:hover { background: var(--bg-3); }
.chain-toggle button.on { background: var(--bg-4); color: var(--fg); }
.chart-wrap { position: relative; height: 340px; }
.chart-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: pan-y; }
.chart-off { height: 100%; display: grid; place-content: center; text-align: center; color: var(--fg-3); max-width: 30em; margin: 0 auto; font-size: 14px; }
.chart-off b { color: var(--fg); font-weight: 500; display: block; margin-bottom: 4px; }
.chart-note { color: var(--fg-3); font-size: 13px; margin-top: 6px; }
.tip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--bg-4); color: var(--fg); border-radius: 12px; padding: 9px 12px; font-size: 12.5px; min-width: 130px; box-shadow: var(--shadow); line-height: 1.5; }
.tip-row { display: flex; align-items: center; gap: 8px; }
.tip-row b { margin-left: auto; font-weight: 500; }

.ptable { display: grid; }
.pt-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr .8fr .8fr; gap: 12px; align-items: center; padding: 12px 4px; font-size: 14px; }
.pt-row + .pt-row { box-shadow: 0 -1px 0 var(--hair); }
.pt-head { color: var(--fg-3); font-size: 12.5px; padding-top: 0; }
.pt-chain { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.pt-row > span:last-child { text-align: right; }

.trade { display: grid; gap: 16px; }
.trade-tabs { width: 100%; }
.trade-tabs button { flex: 1; }
.pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.pick button { display: grid; justify-items: center; gap: 7px; padding: 10px 2px 8px; border-radius: 12px; background: var(--bg-3); font-size: 11.5px; color: var(--fg-2); transition: background .15s, box-shadow .15s; }
.pick button:hover { background: var(--bg-4); }
.pick button.on { color: var(--fg); background: var(--bg-4); box-shadow: inset 0 0 0 1.5px var(--fg); }
.pick button[disabled] { opacity: .35; cursor: not-allowed; }
.pick .pill { width: 20px; height: 9px; }
.hint { font-size: 12.5px; color: var(--fg-3); }
.hint .ul { color: var(--fg); }
.trade .input.big input { font-size: 28px; padding: 12px 14px; }
.trade .input .post { font-size: 14px; }
.trade .chips { margin-top: 2px; }
.kv { display: grid; gap: 7px; font-size: 13.5px; }
.kv > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.kv > div > span:first-child { color: var(--fg-3); }
.kv b { font-weight: 600; }
.tx-link { font-size: 12.5px; color: var(--fg-3); text-align: center; }
.tx-link:hover { color: var(--fg); }
.done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 0 4px; }
.done-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; animation: lit .5s var(--ease); }
.done-mark svg { width: 26px; height: 26px; }
.done h3 { font-size: 22px; letter-spacing: -.03em; margin-top: 6px; }
.done-acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.swap { justify-self: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; margin: -8px 0; color: var(--fg-2); }
.swap:hover { color: var(--fg); background: var(--bg-4); }
.swap svg { width: 15px; height: 15px; }

.bridge-viz { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px 8px 6px; }
.bv-end { display: grid; justify-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-2); }
.bv-track { position: relative; height: 2px; border-radius: 2px; background: var(--bg-4); }
.bv-dot { position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--fg); opacity: 0; }
.bridge-viz.moving .bv-dot { opacity: 1; animation: travel var(--secs) linear forwards; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 10px); } }
.bridge-viz.moving .drain { animation: drain var(--secs) linear forwards; }
.bridge-viz .fill { opacity: .45; }
.bridge-viz.moving .fill { animation: fillup var(--secs) linear forwards; }
@keyframes drain { to { opacity: .35; transform: scaleX(.6); } }
@keyframes fillup { to { opacity: 1; transform: scaleX(1.12); } }
.bv-status { text-align: center; font-size: 13px; color: var(--fg-2); margin-top: -6px; }

.curve-svg { width: 100%; height: auto; display: block; overflow: visible; }
.curve-lab { font: 500 11px var(--f-ui); fill: var(--fg-2); }
.curvepanel .meter { margin-top: 14px; }
.grad { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--fg-2); }
.grad .pills { margin-top: 4px; }

.alist { display: grid; }
.arow { display: grid; grid-template-columns: 70px minmax(0, 1.4fr) 1fr 1fr 44px; gap: 12px; align-items: center; padding: 11px 4px; font-size: 13.5px; }
.arow + .arow { box-shadow: 0 -1px 0 var(--hair); }
.arow.enter { animation: enter .6s var(--ease); }
.a-k { font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.a-ch { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.a-ch .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-r { text-align: right; font-weight: 500; }
.a-x { text-align: right; }
.a-t { text-align: right; font-size: 12.5px; }
.a-rank { color: var(--fg-3); font-size: 13px; }
.a-w { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arr { width: 16px; height: 8px; color: var(--fg-3); flex: none; }

/* ---------- chain wars ---------- */
.wars-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 20px; min-height: 460px; }
.wars-stage { position: relative; height: 460px; }
.wars-stage canvas, .wars-stage .mark-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.wars-copy h1 { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -.06em; line-height: .92; }
.wars-sub { color: var(--fg-2); max-width: 30em; margin-top: 22px; font-size: 16px; }
.wars-facts { display: flex; gap: 36px; margin: 28px 0; flex-wrap: wrap; }
.wars-facts > div { display: grid; gap: 4px; font-size: 13px; }
.wars-facts b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.board { display: grid; }
.b-row { display: grid; grid-template-columns: 28px minmax(0, 2.4fr) 1fr .9fr .9fr; gap: 14px; align-items: center; padding: 14px 4px; font-size: 14px; }
.b-row + .b-row { box-shadow: 0 -1px 0 var(--hair); }
.b-head { color: var(--fg-3); font-size: 12.5px; padding-top: 0; }
.b-rank { color: var(--fg-3); font-weight: 600; font-size: 15px; }
.b-row.lead .b-rank { color: var(--fg); }
.b-chain { display: flex; align-items: center; gap: 12px; min-width: 0; }
.b-chain b { font-weight: 500; white-space: nowrap; }
.b-pill { position: relative; flex: none; width: calc(var(--w) * 1.6px); max-width: 160px; min-width: 22px; height: 14px; border-radius: 14px; background: var(--c); box-shadow: inset 0 -2px 3px rgba(0,0,0,.35), inset 0 1.5px 1px rgba(255,255,255,.3); transform-origin: left; animation: grow .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.b-pill::after { content: ""; position: absolute; left: 10px; right: 30%; top: 3px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.5); }
.b-pill.sol { background: var(--sol-grad); }
.b-row:not(.lead) .b-pill { filter: saturate(.55) brightness(.8); }
@keyframes grow { from { transform: scaleX(.1); opacity: 0; } }
.b-num { text-align: right; }
.wars-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chain-tabs { display: flex; gap: 4px; margin: -4px 0 8px; flex-wrap: wrap; }
.chain-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 999px; font-size: 13px; color: var(--fg-3); }
.chain-tabs button.on { background: var(--bg-4); color: var(--fg); }
.wars .arow { grid-template-columns: 28px 1fr 1fr 1.2fr; }
.past { padding: 14px 4px; display: grid; gap: 8px; }
.past + .past { box-shadow: 0 -1px 0 var(--hair); }
.past-h { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.past-h b { font-weight: 500; }
.past-h .muted { font-size: 12.5px; }
.past-pool { margin-left: auto; font-weight: 600; }
.past-top { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--fg-2); }
.past-top b { color: var(--fg); font-weight: 500; }

/* ---------- engine ---------- */
.eng-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 20px 0 40px; }
.eng-copy h1 { font-size: clamp(50px, 7vw, 104px); letter-spacing: -.06em; line-height: .9; }
.eng-sub { margin-top: 24px; font-size: 17px; color: var(--fg-2); max-width: 30em; }
.eng-big { margin-top: 30px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.35; color: var(--fg-2); max-width: 24em; }
.eng-big b { color: var(--fg); font-weight: 600; }
.eng-small { margin-top: 14px; color: var(--fg-3); font-size: 14px; }
.eng-demo { background: var(--bg-1); border-radius: var(--r-xl); padding: 26px 24px 20px; display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: 76px 1fr 60px; gap: 12px; align-items: center; font-size: 13px; color: var(--fg-2); }
.lane-track { position: relative; height: 36px; border-radius: 36px; background: var(--bg-2); }
.lane-mid { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: var(--fg-4); }
.lane-pill { position: absolute; top: 10.5px; left: calc(50% - 18px); transition: filter .3s; }
.lane.drift .lane-pill { filter: brightness(1.25); }
.lane.closed .lane-track { animation: closed 1.2s var(--ease); }
@keyframes closed { 0% { background: var(--bg-4); } 100% { background: var(--bg-2); } }
.lane-v { text-align: right; font-size: 12px; }
.demo-cap { margin-top: 8px; font-size: 13px; color: var(--fg-2); min-height: 1.5em; text-align: center; }
.engine .arow.feed { grid-template-columns: 22px 80px minmax(0, 1.6fr) 70px 80px 48px; }

/* ---------- portfolio ---------- */
.port-top { padding: 10px 0 18px; }
.port-top h1 { font-size: clamp(54px, 7vw, 96px); letter-spacing: -.06em; }
.port-sub { margin-top: 12px; font-size: 15px; display: flex; gap: 12px; flex-wrap: wrap; }
.fees { padding: 14px 4px; display: grid; gap: 12px; }
.fees + .fees { box-shadow: 0 -1px 0 var(--hair); }
.fees-h { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.fees-h b { font-weight: 500; }
.fees-t { margin-left: auto; font-weight: 600; }
.fees-chains { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fee-c { display: grid; justify-items: start; gap: 6px; padding: 12px; border-radius: 12px; background: var(--bg-3); font-size: 12.5px; color: var(--fg-2); text-align: left; transition: background .15s; }
.fee-c:hover { background: var(--bg-4); }
.fee-c b { color: var(--fg); font-weight: 500; font-size: 14px; }
.fee-c[disabled] { opacity: .4; cursor: default; }
.fee-c.got { opacity: .55; }
.holds { display: grid; }
.h-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 1.4fr .8fr .7fr; gap: 14px; align-items: center; padding: 12px 4px; font-size: 14px; list-style: none; cursor: pointer; }
.h-row::-webkit-details-marker { display: none; }
.h-head { color: var(--fg-3); font-size: 12.5px; cursor: default; padding-top: 0; }
.h-item + .h-item, .h-head + .h-item { box-shadow: 0 -1px 0 var(--hair); }
.h-coin { display: flex; align-items: center; gap: 12px; min-width: 0; }
.h-coin b { font-weight: 500; }
.h-split { display: flex; gap: 3px; height: 12px; }
.seg-pill { position: relative; height: 12px; border-radius: 12px; background: var(--c); min-width: 12px; box-shadow: inset 0 -2px 2px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.3); }
.seg-pill.sol { background: var(--sol-grad); }
.h-chains { padding: 4px 4px 16px 56px; display: grid; gap: 8px; font-size: 13.5px; animation: enter .4s var(--ease); }
.h-chains > div { display: grid; grid-template-columns: 22px 1fr auto 90px; gap: 10px; align-items: center; }
.h-chains > div span.muted { text-align: right; }
.h-chains > div.none { color: var(--fg-4); }
.h-chains b { font-weight: 500; }
.h-acts { display: flex !important; gap: 8px; margin-top: 6px; }
.h-item[open] summary { background: var(--bg-3); border-radius: 12px; }

@media (max-width: 1080px) {
  .coinpage { grid-template-columns: 1fr; }
  .cp-side { position: static; order: 2; }
  .cp-main { display: contents; }
  .cp-head { order: 0; } .cp-desc { order: 0; } .chartpanel { order: 1; } .cp-side { order: 1; }
  .cp-main > .panel:not(.chartpanel) { order: 3; }
  .wars-lead { grid-template-columns: 1fr; min-height: 0; }
  .wars-stage { height: 320px; order: -1; }
  .wars-cols { grid-template-columns: 1fr; }
  .eng-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page, .coinpage { padding-top: 0; }
  .panel { padding: 16px; border-radius: 18px; }
  .cp-head { display: grid; grid-template-columns: 52px 1fr; gap: 12px 14px; align-items: center; }
  .cp-head .art.xl { width: 52px; height: 52px; border-radius: 14px; }
  .cp-id { display: contents; }
  .cp-id h1 { font-size: 28px; grid-column: 2; }
  .cp-tags, .cp-addr, .cp-price { grid-column: 1 / -1; margin-top: 0; }
  .cp-social { margin-left: 4px; }
  .cp-price { text-align: left; width: 100%; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .cp-price .muted, .cp-p { margin: 0; }
  .cp-live { display: none; }
  .chart-wrap { height: 250px; }
  .chart-bar .seg { padding: 2px; }
  .chart-bar #cRange { margin-left: 0 !important; }
  .hide-s { display: none !important; }
  .pt-row { grid-template-columns: 1.4fr 1fr 1fr .9fr; }
  .arow { grid-template-columns: 54px minmax(0, 1.3fr) 1fr 40px; }
  .arow .a-x { display: none; }
  .wars .arow { grid-template-columns: 24px 1fr 1fr; }
  .wars .arow .a-x { display: none; }
  .b-row { grid-template-columns: 22px minmax(0, 1.8fr) 1fr; }
  .b-pill { max-width: 90px; }
  .engine .arow.feed { grid-template-columns: 18px 64px minmax(0, 1fr) 54px 60px; }
  .engine .arow.feed .a-t { display: none; }
  .lane { grid-template-columns: 64px 1fr 52px; }
  .fees-chains { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-row { grid-template-columns: minmax(0, 1.6fr) .9fr .7fr; }
  .h-chains { padding-left: 4px; }
  .h-chains > div { grid-template-columns: 22px 1fr auto; }
  .h-chains > div span.muted { display: none; }
  .wars-facts { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   last pass: anti-snipe, evm-only, hero play, docs, terms, 404
   ===================================================================== */

/* anti-snipe countdown */
.snipe { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--bg-3); font-size: 13px; color: var(--fg-2); width: fit-content; max-width: 100%; }
.snipe b { color: var(--fg); font-weight: 600; font-family: var(--f-mono); font-size: 12.5px; }
.snipe-ring { width: 18px; height: 18px; flex: none; transform: rotate(-90deg); }
.snipe-ring circle { fill: none; stroke-width: 2.4; }
.snipe-ring .track { stroke: var(--bg-5); }
.snipe-ring .left { stroke: var(--fg); stroke-dasharray: 100; stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
.trade .snipe { width: 100%; }
.go-note { display: flex; justify-content: center; margin-top: 18px; }

/* launches are paid from an evm wallet */
.evm-only { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 16px 16px 18px; border-radius: var(--r-l); background: var(--bg-3); text-align: left; }
.evm-only .pills { gap: 4px; }
.eo-plus { color: var(--fg-4); font-size: 13px; margin: 0 3px; }
.eo-txt { display: grid; gap: 3px; font-size: 14px; min-width: 0; }
.eo-txt b { font-weight: 600; }
.eo-txt span { color: var(--fg-2); }
.go-done .evm-only { flex-basis: 100%; max-width: 620px; }
.chainpick button.auto { opacity: .55; cursor: not-allowed; }
.chainpick button.auto:hover { background: var(--bg-2); }
.wcols.focus-evm .wcol:last-child { opacity: .45; }
.wcols.focus-evm .wcol:first-child h3 { color: var(--fg); }

/* hero: the mark is a toy */
.hero-stage canvas.play { cursor: grab; touch-action: pan-y; }
.mark-tip { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; padding: 7px 11px; border-radius: 10px; background: var(--fg); color: var(--bg); font-size: 12.5px; white-space: nowrap; box-shadow: var(--shadow); }
.mark-tip b { font-weight: 600; margin-right: 4px; }
.stage-hint { position: absolute; left: 0; bottom: 4px; margin: 0; z-index: 2; color: var(--fg-3); font-size: 13px; pointer-events: none; }
.fan-pill { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bg-4); flex: none; }
.fan-pill .pill.xl { width: 22px; height: 10px; }
.fan-go { display: inline-block; margin-left: 10px; color: var(--fg); text-decoration: underline; text-decoration-color: var(--fg-4); text-underline-offset: 3px; pointer-events: auto; }
.fan-go:hover { text-decoration-color: var(--fg); }

/* docs */
.docs { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gut) 120px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 64px; }
.docs-toc { position: relative; }
.toc-in { position: sticky; top: 110px; display: grid; gap: 2px; }
.toc-in button { text-align: left; padding: 7px 12px; border-radius: 999px; color: var(--fg-3); font-size: 14px; transition: color .15s, background .15s; }
.toc-in button:hover { color: var(--fg); }
.toc-in button.on { color: var(--fg); background: var(--bg-3); }
.docs-main { max-width: 820px; min-width: 0; }
.docs-head h1 { font-size: clamp(54px, 8vw, 112px); letter-spacing: -.06em; }
.docs-head p { margin-top: 22px; font-size: 19px; line-height: 1.5; color: var(--fg-2); max-width: 32em; }
.dsec { padding-top: 96px; scroll-margin-top: 90px; }
.dsec h2 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.045em; }
.dsec > p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--fg-2); max-width: 36em; }
.dfig { margin-top: 30px; border-radius: var(--r-xl); background: var(--bg-2); }
.dlink { display: inline-block; margin-top: 18px; color: var(--fg); font-size: 15px; text-decoration: underline; text-decoration-color: var(--fg-4); text-underline-offset: 4px; }
.dlink:hover { text-decoration-color: var(--fg); }
.dnote { margin-top: 12px; color: var(--fg-3); font-size: 13.5px; }
.dsec .snipe { margin-top: 26px; }

.five { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px; padding: 18px 26px 18px 6px; }
.five-stage { position: relative; height: 340px; }
.five-stage canvas, .five-stage .mark-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.five-list { display: grid; gap: 6px; }
.five-bracket { display: grid; gap: 6px; padding: 10px; margin: -10px -10px 4px; border-radius: var(--r-l); background: var(--bg-1); }
.five-row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-m); background: var(--bg-3); color: var(--fg-3); transition: color .35s, background .35s; }
.five-row .pill { opacity: .3; transition: opacity .35s; }
.five-row.on { color: var(--fg); }
.five-row.on .pill { opacity: 1; }
.five-row .nm { font-size: 14.5px; font-weight: 500; }
.five-row .t { font-family: var(--f-mono); font-size: 12px; color: var(--fg-3); }
.five-addr { display: flex; justify-content: space-between; gap: 10px; padding: 6px 12px 2px; font-size: 12.5px; color: var(--fg-3); }
.five-addr .mono { color: var(--fg-2); }
.five-addr.solo { padding-top: 2px; }

.ways { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.way { padding: 20px; border-radius: var(--r-l); background: var(--bg-2); display: grid; gap: 12px; align-content: start; }
.way .type-art { height: 96px; }
.way .type-art svg { width: 100%; height: 100%; }
.way h3 { font-size: 24px; letter-spacing: -.04em; }
.way p { color: var(--fg-2); font-size: 14.5px; line-height: 1.5; }

.eng { padding: 20px 20px 12px; }
.eng-svg { width: 100%; height: auto; display: block; overflow: visible; }
.eng-base { stroke: var(--bg-5); stroke-width: 1.5; }
.eng-bar { transform-box: fill-box; transform-origin: 50% 100%; }
.eng-col.lo .eng-bar { transform: scaleY(.44); animation: engLo 4.8s var(--ease) infinite; }
.eng-col.hi .eng-bar { transform: scaleY(.64); animation: engHi 4.8s var(--ease) infinite; }
@keyframes engLo { 0%, 18% { transform: scaleY(.44); } 50%, 82% { transform: scaleY(.54); } 100% { transform: scaleY(.44); } }
@keyframes engHi { 0%, 18% { transform: scaleY(.64); } 50%, 82% { transform: scaleY(.54); } 100% { transform: scaleY(.64); } }
.eng-arc { fill: none; stroke: var(--fg-4); stroke-width: 1.5; stroke-dasharray: 3 6; }
.eng-dot { fill: var(--fg); }
.eng-lab { fill: var(--fg-2); font-size: 14px; font-family: var(--f-ui); }
.eng-lab.dim { fill: var(--fg-3); font-size: 13px; }
.eng-flame { color: var(--fg); }
.eng-burn { animation: engBurn 4.8s var(--ease) infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes engBurn { 0%, 48% { opacity: .35; } 58% { opacity: 1; transform: scale(1.25); } 82%, 100% { opacity: .35; } }

.brg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 30px 34px; }
.brg-end { display: grid; justify-items: center; gap: 10px; font-size: 13.5px; color: var(--fg-2); }
.brg-track { position: relative; height: 2px; border-radius: 2px; background: var(--bg-4); }
.brg-track span { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--fg); animation: brgGo 2.8s var(--ease) infinite; }
@keyframes brgGo { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.brg .pill.drain { animation: brgDrain 2.8s var(--ease) infinite; }
.brg .pill.fill { animation: brgFill 2.8s var(--ease) infinite; }
@keyframes brgDrain { 0%, 10% { opacity: 1; } 50%, 100% { opacity: .3; } }
@keyframes brgFill { 0%, 55% { opacity: .3; } 95%, 100% { opacity: 1; } }

.wars-ex { padding: 22px 24px 16px; display: grid; gap: 8px; }
.wx-row { display: grid; grid-template-columns: 26px 86px 1fr 110px; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-3); }
.wx-row.win { color: var(--fg); }
.wx-bar { height: 10px; border-radius: 10px; background: var(--bg-3); overflow: hidden; }
.wx-bar span { display: block; height: 100%; border-radius: 10px; background: var(--fg-4); }
.wx-row.win .wx-bar span { background: var(--c); }
.wx-tag { font-size: 12.5px; text-align: right; }
.wx-note { margin: 6px 0 0; color: var(--fg-4); font-size: 12px; }

.fee-table { margin-top: 26px; border-radius: var(--r-l); background: var(--bg-2); padding: 6px 22px; }
.ft-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 15px 0; font-size: 15px; }
.ft-row + .ft-row { box-shadow: 0 -1px 0 var(--bg-4); }
.ft-row b { font-weight: 600; }
.ft-row > div:last-child { color: var(--fg-2); }

.trust { margin-top: 26px; display: grid; gap: 8px; }
.tr-row { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r-l); background: var(--bg-2); }
.tr-row svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--bg-4); color: var(--fg); }
.tr-row.key svg { background: var(--fg); color: var(--bg); }
.tr-row > div { display: grid; gap: 4px; padding-top: 6px; font-size: 16px; }
.tr-row b { font-weight: 600; }
.tr-row span { color: var(--fg-2); }

/* terms */
.terms { max-width: 700px; margin: 0 auto; padding: 24px var(--gut) 120px; }
.terms h1 { font-size: clamp(48px, 7vw, 88px); letter-spacing: -.055em; }
.terms-lead { margin-top: 20px; font-size: 17px; line-height: 1.55; color: var(--fg-2); }
.terms-toc { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 6px; }
.terms-toc button { min-height: 32px; padding: 7px 13px; line-height: 1.3; text-align: left; border-radius: 999px; background: var(--bg-2); color: var(--fg-2); font-size: 13px; }
.terms-toc button:hover { background: var(--bg-3); color: var(--fg); }
.tsec { padding-top: 54px; scroll-margin-top: 90px; }
.tsec h2 { font-size: 26px; letter-spacing: -.035em; line-height: 1.15; }
.tsub { margin-top: 10px; font-size: 16.5px; color: var(--fg); }
.tph { margin-top: 12px; padding: 16px 18px; border-radius: var(--r-m); background: var(--bg-2); color: var(--fg-3); font-size: 15px; line-height: 1.6; }

/* 404 */
.nf { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) 100px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; min-height: calc(100svh - 260px); }
.nf-stage { position: relative; height: min(560px, 62vh); min-height: 320px; }
.nf-stage canvas, .nf-stage .mark-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf-stage canvas.play { cursor: pointer; touch-action: pan-y; }
.nf-code { display: block; color: var(--fg-3); font-size: 15px; margin-bottom: 14px; }
.nf h1 { font-size: clamp(54px, 7.5vw, 104px); letter-spacing: -.06em; }
.nf p { margin: 20px 0 22px; font-size: 18px; color: var(--fg-2); max-width: 22em; }
.nf .pills .pill { width: 26px; height: 12px; }
.nf-acts { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .docs { grid-template-columns: 1fr; gap: 0; }
  .docs-toc { display: none; }
}
@media (max-width: 860px) {
  .stage-hint { left: 0; right: 0; top: 6px; bottom: auto; text-align: center; font-size: 12px; }
  .fan { flex-wrap: wrap; row-gap: 8px; }
  .fan-foot { flex-basis: 100%; white-space: normal; }
  .five { grid-template-columns: 1fr; padding: 6px 16px 18px; }
  .five-stage { height: 240px; }
  .ways { grid-template-columns: 1fr; }
  .brg { padding: 24px 18px; gap: 12px; }
  .ft-row { grid-template-columns: 1fr; gap: 4px; }
  .wx-row { grid-template-columns: 22px 74px 1fr; gap: 10px; font-size: 13px; }
  .wx-tag { display: none; }
  .wx-row.win .nm::after { content: " wins"; color: var(--fg-3); }
  .nf { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .nf-stage { height: 280px; min-height: 0; margin: 0 -16px; }
  .evm-only { grid-template-columns: 1fr; gap: 12px; }
  .evm-only .btn { justify-self: start; }
}
@media (max-width: 760px) {
  .docs { padding-top: 8px; }
  .docs-head p { font-size: 17px; }
  .dsec { padding-top: 72px; }
  .dsec > p { font-size: 16px; }
  .terms { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .eng-col.lo .eng-bar, .eng-col.hi .eng-bar, .eng-burn, .brg-track span, .brg .pill { animation: none; }
  .eng-col.lo .eng-bar, .eng-col.hi .eng-bar { transform: scaleY(.54); }
  .brg-track span { left: 50%; }
  .snipe-ring .left { transition: none; }
}
