:root {
  --void: oklch(0.158 0.01 165);
  --z9: oklch(0.198 0.011 165);
  --z85: oklch(0.232 0.011 165);
  --z8: oklch(0.272 0.011 165);
  --z7: oklch(0.36 0.012 165);
  --z4: oklch(0.72 0.014 165);
  --gold: oklch(0.88 0.11 90);
  --burn: oklch(0.74 0.15 45);
  --snow: oklch(0.97 0.003 165);
  --mint: oklch(0.87 0.14 155);
  --mint-2: oklch(0.8 0.15 155);
  --mint-deep: oklch(0.3 0.06 155);
  --call: oklch(0.9 0.16 98);
  --call-deep: oklch(0.32 0.06 98);
  --down: oklch(0.7 0.17 22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Bricolage Grotesque", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --rail: 76px;
  --top: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); color-scheme: dark; }
body { margin: 0; min-height: 100vh; color: var(--snow); font: 400 16px/1.5 var(--text); background: var(--void); font-variant-numeric: tabular-nums; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), background .15s, border-color .15s, filter .15s; background: var(--z8); }
.btn:hover { background: var(--z7); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.btn.mint { background: var(--mint); color: oklch(0.2 0.04 155); }
.btn.mint:hover { filter: brightness(1.07); }
.btn.call { background: var(--call); color: oklch(0.22 0.04 98); }
.btn.call:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: var(--z7); }
.btn.ghost:hover { background: var(--z85); }
.btn.big { min-height: 50px; font-size: 16px; padding: 0 22px; border-radius: 12px; }
.btn.busy { pointer-events: none; opacity: .85; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* rail + top */
.rail { position: fixed; z-index: 30; left: 0; top: 0; bottom: 0; width: var(--rail); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 14px 0; border-right: 1px solid var(--z85); background: var(--void); }
.rail .mark { color: var(--snow); width: 44px; height: 44px; display: grid; place-items: center; }
.rail .mark img { width: 44px; height: 44px; border-radius: 12px; display: block; box-shadow: 0 0 0 1px oklch(0.36 0.012 165 / .7), 0 6px 18px oklch(0.05 0 0 / .5); }
.rail nav { display: grid; gap: 6px; }
.rail nav a { display: grid; justify-items: center; gap: 3px; width: 60px; padding: 9px 0 7px; border-radius: 12px; text-decoration: none; color: var(--z4); font-size: 11px; font-weight: 600; }
.rail nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail nav a:hover { color: var(--snow); background: var(--z9); }
.rail nav a[aria-current="page"] { color: var(--mint); background: var(--z9); }
.top { position: sticky; top: 0; z-index: 25; height: var(--top); margin-left: var(--rail); display: grid; grid-template-columns: auto minmax(200px, 520px) 1fr; gap: 20px; align-items: center; padding: 0 24px; background: oklch(0.165 0.006 165 / .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--z85); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; display: none; }
.gsearch { position: relative; }
.gsearch svg { position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; fill: none; stroke: var(--z4); stroke-width: 2; }
.gsearch input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--z8); background: var(--z9); color: var(--snow); padding: 0 12px 0 38px; font: 500 15px var(--text); }
.gsearch input::placeholder { color: var(--z4); }
.gsearch input:focus { outline: none; border-color: var(--mint-2); }
body[data-route="launch"] .newcoin { display: none; }
.top-end { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.coinchip { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px; border-radius: 10px; border: 1px solid var(--z8); background: var(--z9); cursor: pointer; font-size: 14px; }
.coinchip:hover { border-color: var(--z7); }
.cc-img { width: 28px; height: 28px; border-radius: 8px; background: radial-gradient(circle at 35% 30%, var(--mint), var(--mint-deep)); overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-sym { font-weight: 700; }
.cc-price { color: var(--z4); font-family: var(--mono); font-size: 13px; }
.cc-chg { font-family: var(--mono); font-size: 13px; }
.up { color: var(--mint); } .down { color: var(--down); }
.walletwrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border-radius: 12px; background: var(--z9); border: 1px solid var(--z8); box-shadow: 0 20px 40px oklch(0.05 0 0 / .6); display: grid; z-index: 50; }
.menu[hidden] { display: none; }
.menu > * { text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: 14px; }
.menu > *:hover, .menu > *:focus-visible { background: var(--z8); }
.sheet { position: fixed; z-index: 60; top: calc(var(--top) + 8px); right: 24px; width: min(360px, calc(100vw - 24px)); padding: 18px; border-radius: 16px; background: var(--z9); border: 1px solid var(--z8); box-shadow: 0 30px 60px oklch(0.05 0 0 / .7); animation: pop .22s var(--ease); }
.sheet[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.sheet h3 { font: 800 22px/1.1 var(--display); display: flex; gap: 10px; align-items: center; }
.sheet .kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 12px 0; font-size: 14px; }
.sheet .kv dt { color: var(--z4); } .sheet .kv dd { margin: 0; font-family: var(--mono); text-align: right; }
.sheet .spark { width: 100%; height: 50px; display: block; margin-top: 10px; }
.sheet p { color: var(--z4); margin: 10px 0 0; }
.sheet .row { display: flex; gap: 8px; margin-top: 14px; }
.addr { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--z4); }
.addr button { border: 1px solid var(--z7); background: none; border-radius: 7px; padding: 3px 8px; cursor: pointer; font: 600 12px var(--text); color: var(--snow); min-height: 26px; }
.addr button:hover { border-color: var(--mint-2); }

main { margin-left: var(--rail); padding: 16px 24px 40px; outline: none; display: block; }
.page-enter { animation: enter .45s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }

/* ---------- the stage ---------- */
.stage { position: relative; height: clamp(540px, 76vh, 820px); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 58%, oklch(0.3 0.05 155 / .55), transparent 70%),
    radial-gradient(40% 40% at 78% 20%, oklch(0.32 0.06 98 / .25), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, oklch(0.21 0.01 165), oklch(0.13 0.008 165) 70%);
  border: 1px solid var(--z85);
}
.scene { position: relative; flex: 1; min-height: 0; }
.scene::after, .cstage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, oklch(0.13 0.008 165 / .5), transparent 22%, transparent 82%, oklch(0.13 0.008 165 / .45)); z-index: 1; }
/* the dock: live numbers and the primary action, in its own row under the scene so nothing drawn in 3D can cover it */
.dock { position: relative; z-index: 4; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 0; padding: 14px 16px 14px 20px; background: oklch(0.185 0.006 165 / .92); border-top: 1px solid var(--z85); }
.dstat { display: flex; align-items: center; gap: 12px; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--z8); min-width: 0; }
.dstat .arc { width: 40px; height: 40px; }
.dstat .k { display: block; font-size: 12.5px; font-weight: 500; color: var(--z4); }
.dstat b { display: block; font: 700 26px/1.1 var(--mono); letter-spacing: -.03em; white-space: nowrap; }
.dstat b.m { color: var(--mint); }
.dstat .s { font-size: 13px; color: var(--z4); max-width: 22ch; line-height: 1.3; }
.dlegend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--z4); min-width: 0; }
.dlegend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dlegend i, .legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg-y { background: var(--call); } .lg-g { background: oklch(0.52 0.01 165); } .lg-m { background: var(--mint); }
.dock .launchcta { margin-left: 16px; }
.orb-zoom { position: absolute; right: 16px; bottom: 16px; z-index: 4; display: grid; pointer-events: auto; border-radius: 12px; overflow: hidden; background: oklch(0.185 0.006 165 / .82); border: 1px solid var(--z8); backdrop-filter: blur(8px); }
.orb-zoom button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--snow); }
.orb-zoom button + button { border-top: 1px solid var(--z8); }
.orb-zoom button:hover:not(:disabled) { background: var(--z8); }
.orb-zoom button:disabled { color: var(--z7); cursor: default; }
.orb-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cstage .orb-zoom { bottom: 16px; }
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.orb-canvas:active { cursor: grabbing; }
.orb-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.orb-label { position: absolute; left: 0; top: 0; pointer-events: auto; display: grid; justify-items: center; gap: 2px; padding: 5px 10px 6px; border-radius: 10px; text-decoration: none; background: oklch(0.175 0.006 165); border: 1px solid oklch(0.36 0.008 165 / .7); font-size: 12px; white-space: nowrap; transition: border-color .15s, background .15s; will-change: transform; }
.orb-label b { font: 700 14px/1.1 var(--text); letter-spacing: -.005em; }
.orb-label span { color: var(--z4); display: flex; align-items: center; gap: 5px; font: 600 11.5px/1.2 var(--mono); }
.orb-label em { font-style: normal; color: var(--mint); margin-left: 4px; }
.orb-label.on, .orb-label:hover { border-color: var(--mint-2); background: oklch(0.2 0.02 155 / .9); }
.dy { width: 6px; height: 6px; border-radius: 50%; background: var(--call); display: inline-block; }
.orb-tip { position: absolute; left: 0; top: 0; width: 230px; padding: 10px 12px; border-radius: 12px; background: var(--z9); border: 1px solid var(--z7); box-shadow: 0 16px 30px oklch(0.05 0 0 / .6); display: grid; gap: 3px; font-size: 13px; pointer-events: none; z-index: 3; }
.orb-tip[hidden] { display: none; }
.orb-tip b { font-family: var(--mono); font-size: 13px; }
.orb-tip .y { color: var(--call); font-weight: 600; } .orb-tip .n { color: var(--z4); font-weight: 600; }
.orb-tip q { color: var(--z4); font-style: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.orb-tip em { font-style: normal; color: var(--mint); font-family: var(--mono); font-size: 12px; }
.orb-fallback { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; padding: 120px 40px; }
.orb-fallback a { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--z8), 0 0 0 1px var(--z7), 0 0 60px oklch(0.87 0.14 155 / .25); display: grid; place-items: center; font: 800 20px var(--display); text-decoration: none; background: var(--z9); }
.orb-fallback img { width: 100%; height: 100%; object-fit: cover; }

.orb-host { position: absolute; inset: 0; }
.hud { position: absolute; z-index: 3; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud-tl { left: 28px; top: 24px; max-width: min(560px, 60%); text-shadow: 0 2px 18px oklch(0.13 0.008 165); }
.hud-tl h1 { font: 800 clamp(26px, 2.3vw, 38px)/1.02 var(--display); letter-spacing: -.02em; }
.hud-tl p { margin: 8px 0 0; color: oklch(0.86 0.01 165); font-size: 16px; max-width: 44ch; }
.hud-tc { left: 50%; top: 26px; transform: translateX(-50%); width: min(720px, 90%); text-align: center; text-shadow: 0 2px 18px oklch(0.13 0.008 165); }
.hud-tc h1 { font: 800 clamp(26px, 2.4vw, 40px)/1.05 var(--display); letter-spacing: -.02em; }
.hud-tc p { margin: 6px 0 0; color: var(--z4); font-size: 16px; }
.hud-tr { right: 24px; top: 24px; display: flex; gap: 8px; }
.hud-br { right: 70px; bottom: 16px; display: grid; gap: 8px; justify-items: end; }
.meterbox { padding: 12px 16px; border-radius: 14px; background: oklch(0.165 0.006 165 / .74); border: 1px solid oklch(0.36 0.008 165 / .6); backdrop-filter: blur(8px); min-width: 150px; }
.meterbox .k { font-size: 12px; color: var(--z4); font-weight: 600; }
.meterbox .v { font: 700 30px/1.1 var(--mono); letter-spacing: -.02em; margin-top: 3px; }
.meterbox .v.m { color: var(--mint); }
.meterbox .s { font-size: 12.5px; color: var(--z4); margin-top: 2px; }
.meterbox .bar { height: 4px; border-radius: 2px; background: var(--z8); margin-top: 8px; overflow: hidden; }
.meterbox .bar i { display: block; height: 100%; background: var(--mint); border-radius: 2px; transform-origin: left; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--z4); padding: 8px 12px; border-radius: 10px; background: oklch(0.165 0.006 165 / .6); }
.legend span { display: flex; gap: 6px; align-items: center; }
.hint { font-size: 12px; color: var(--z4); }
.stage-empty { position: absolute; z-index: 3; left: 50%; top: 64%; transform: translate(-50%, 0); text-align: center; pointer-events: auto; }
.stage-empty b { display: block; font: 800 20px var(--display); }
.stage-empty span { color: var(--z4); font-size: 14px; }

/* ---------- board ---------- */
.boardwrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; margin-top: 22px; align-items: start; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar h2 { font: 800 24px/1 var(--display); letter-spacing: -.01em; }
.toolbar h2 small { font: 500 14px var(--text); color: var(--z4); margin-left: 8px; letter-spacing: 0; }
.tabs { max-width: 100%; min-width: 0; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--z9); border: 1px solid var(--z85); overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 7px 12px; border-radius: 9px; cursor: pointer; color: var(--z4); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tabs button:hover { color: var(--snow); }
.tabs button[aria-selected="true"] { background: var(--z8); color: var(--snow); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); gap: 10px; }
.card { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 10px 12px; padding: 10px; border-radius: 16px; background: var(--z9); border: 1px solid var(--z85); text-decoration: none; transition: transform .2s var(--ease), border-color .2s, background .2s; animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.card:hover { transform: translateY(-2px); border-color: oklch(0.87 0.14 155 / .45); background: var(--z85); }
.card .pic { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--z8); display: grid; place-items: center; font: 800 22px var(--display); color: var(--z4); }
.card .info { min-width: 0; display: grid; align-content: start; gap: 3px; }
.card .nm { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; min-width: 0; }
.card .nm b { max-width: 100%; }
.card .nm b { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .nm span { color: var(--z4); font-size: 14px; white-space: nowrap; }
.card .meta { font-size: 12.5px; color: var(--z4); display: flex; gap: 10px; flex-wrap: wrap; }
.card .mc { font-size: 14px; color: var(--z4); margin-top: 2px; display: flex; gap: 12px; flex-wrap: wrap; }
.card .mc b { color: var(--mint); font-family: var(--mono); font-weight: 700; }
.card .bond { height: 5px; border-radius: 3px; background: var(--z8); overflow: hidden; margin-top: 4px; }
.card .bond i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint-2), var(--mint)); border-radius: 3px; }
.card .own { font-size: 11px; font-weight: 700; color: var(--mint); border: 1px solid oklch(0.87 0.14 155 / .4); padding: 0 6px; border-radius: 6px; }
.card .tick b { font: 700 12.5px var(--mono); color: var(--snow); }
.cside { grid-template-columns: minmax(0, 1fr); }
.cside > * { min-width: 0; }
.card .stats { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 11px; background: var(--void); }
.card .nm b { font-size: 15px; }
.card .mc { font-size: 13px; }
.stack { display: flex; align-items: center; padding-left: 6px; }
.stack .sa { width: 26px; height: 26px; border-radius: 50%; margin-left: -6px; border: 2px solid var(--void); display: block; }
.stack .sa.low { filter: grayscale(1) brightness(.7); }
.stack .more { margin-left: 6px; font: 600 12px var(--mono); color: var(--z4); }
.stack.none { font-size: 12.5px; color: var(--z4); padding-left: 0; }
.card .cstat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; text-align: right; }
.card .cstat div { font-size: 12px; color: var(--z4); line-height: 1.25; white-space: nowrap; }
.card .cstat b { display: block; font: 700 15px var(--mono); color: var(--snow); }
.card .cstat b small { font-size: 12px; color: var(--z4); font-weight: 500; }
.card .cstat b.y { color: var(--call); } .card .cstat b.m { color: var(--mint); }
.card .next { text-align: right; font-size: 12px; color: var(--z4); line-height: 1.25; }
.card .next b { display: block; font: 700 15px var(--mono); color: var(--snow); }
.card.skel .pic, .card.skel .info > * { background: linear-gradient(90deg, var(--z8), var(--z85), var(--z8)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; color: transparent; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card.first { border-style: dashed; border-color: var(--z7); background: transparent; grid-template-columns: 1fr; place-items: center; text-align: center; min-height: 190px; }
.card.first b { font: 800 20px var(--display); }
.card.first span { color: var(--z4); font-size: 14px; max-width: 30ch; }
.card.first .plus { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: oklch(0.2 0.04 155); display: grid; place-items: center; margin-bottom: 8px; }
.card.first .plus svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.empty { padding: 30px; text-align: center; color: var(--z4); border: 1px dashed var(--z7); border-radius: 16px; grid-column: 1 / -1; }

/* feed */
.feed { position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px); display: grid; grid-template-rows: auto 1fr; border-radius: 18px; background: var(--z9); border: 1px solid var(--z85); overflow: hidden; }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--z85); }
.feed-head h2 { font: 800 18px/1 var(--display); }
.feed-head span { font-size: 12px; color: var(--z4); }
.items { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--z7) transparent; }
.item { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--z85); font-size: 14px; }
.item.new { animation: slide .5s var(--ease); }
@keyframes slide { from { opacity: 0; transform: translateY(-10px); background: oklch(0.9 0.16 98 / .08); } }
.ava { width: 34px; height: 34px; border-radius: 50%; display: block; }
.item .h { display: flex; gap: 8px; align-items: baseline; }
.item .h b { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.item .h time { color: var(--z4); font-size: 12px; }
.item .h .k { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--call); padding: 1px 7px; border-radius: 6px; background: oklch(0.9 0.16 98 / .1); }
.item .h .k.dim { color: var(--z4); background: var(--z85); }
.item .h .k.w { color: var(--snow); background: var(--z8); }
.item.pay .h .k { color: var(--mint); background: oklch(0.87 0.14 155 / .1); }
.paybar span { font: 500 13px var(--text); color: oklch(0.8 0.08 155); }
.item .t { margin: 3px 0 6px; color: oklch(0.88 0.008 165); overflow-wrap: anywhere; }
.item .t.dim { color: var(--z4); }
.coinref { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 10px; background: var(--void); text-decoration: none; font-size: 13px; border: 1px solid var(--z85); }
.coinref img, .coinref .ph { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; background: var(--z8); }
.coinref b { font-weight: 700; }
.coinref:hover { border-color: var(--z7); }
.paybar { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: oklch(0.87 0.14 155 / .1); color: var(--mint); font: 700 14px var(--mono); }
.paybar a { margin-left: auto; font: 600 12px var(--text); color: var(--mint); }
.feed .note { padding: 10px 16px; font-size: 12px; color: var(--z4); border-top: 1px solid var(--z85); }

/* how */
.how { margin-top: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.panel { padding: clamp(20px, 2.6vw, 34px); border-radius: 20px; background: var(--z9); border: 1px solid var(--z85); min-width: 0; }
.panel h2 { font: 800 clamp(26px, 2.6vw, 38px)/1.02 var(--display); letter-spacing: -.02em; }
.panel .sub { color: var(--z4); margin: 10px 0 0; max-width: 56ch; }
.track { position: relative; margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.track::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 1px; background: var(--z7); }
.stop { position: relative; display: grid; gap: 8px; align-content: start; justify-items: start; }
.stop .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--z8); border: 1px solid var(--z7); font: 700 16px var(--mono); margin-bottom: 6px; box-shadow: 0 0 0 6px var(--z9); }
.stop .num.m { background: var(--mint); color: oklch(0.2 0.04 155); border-color: var(--mint); }
.stop b { font-size: 17px; }
.stop > span { color: var(--z4); font-size: 14.5px; }
.stop .fact { font-style: normal; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--void); border: 1px solid var(--z8); color: oklch(0.86 0.01 165); margin-top: 2px; }
.stop .fact.y { color: var(--call); } .stop .fact.m { color: var(--mint); }
.stop .fact b { font: 700 13px var(--mono); }
.splitbar { display: flex; height: 44px; border-radius: 12px; overflow: hidden; margin-top: 22px; font: 700 14px var(--mono); }
.splitbar div { display: flex; align-items: center; padding: 0 14px; }
.splitbar .a { flex: 9; background: var(--mint); color: oklch(0.2 0.04 155); }
.splitbar .b { flex: 1; background: oklch(0.7 0.17 40); color: oklch(0.2 0.04 40); justify-content: center; padding: 0; }
.rows { display: grid; margin-top: 14px; }
.rows div { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--z85); align-items: baseline; font-size: 14.5px; }
.rows div b:first-child { font-family: var(--mono); }
.rows div span { color: var(--z4); }
.rows div .v { font-family: var(--mono); color: var(--snow); text-align: right; }
.rows div.zero b:first-child { color: var(--z4); }
.log { margin-top: 18px; display: grid; gap: 6px; }
.log h3 { font-size: 15px; margin-bottom: 4px; }
.log h3 small { font-weight: 500; color: var(--z4); font-size: 12.5px; margin-left: 6px; }
.log .r b { color: var(--snow); font-weight: 700; }
.log .r { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 9px 12px; border-radius: 10px; background: var(--void); font-size: 14px; }
.log .r .s { font-family: var(--mono); color: var(--mint); }
.log .r a { color: var(--z4); font-size: 13px; }
.log .none { color: var(--z4); font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--void); }

/* footer */
.index { margin-left: var(--rail); padding: 30px 24px 36px; border-top: 1px solid var(--z85); display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px; color: var(--z4); font-size: 14px; }
.index h4 { margin: 0 0 8px; color: var(--snow); font-size: 14px; }
.index a { display: block; padding: 3px 0; text-decoration: none; }
.index a:hover { color: var(--snow); }
.index .b { display: flex; align-items: center; gap: 12px; font: 800 26px/1 var(--display); color: var(--snow); margin-bottom: 12px; }
.index .b img { width: 40px; height: 40px; border-radius: 11px; }
.index p { margin: 0; max-width: 42ch; }

.tabbar { display: none; }
.toasts { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: grid; gap: 8px; width: min(380px, calc(100vw - 24px)); }
.toast { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--z9); border: 1px solid var(--z7); box-shadow: 0 20px 40px oklch(0.05 0 0 / .6); animation: pop .3s var(--ease); font-size: 14.5px; }
.toast.ok { border-color: oklch(0.87 0.14 155 / .5); }
.toast.err { border-color: oklch(0.7 0.17 22 / .6); }
.toast a { color: var(--mint); font-weight: 600; }

/* ---------- coin page ---------- */
.crumbrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 16px; }
.crumbrow .crumbs { margin: 0; }
.sharex { font-size: 14px; font-weight: 600; color: var(--z4); text-decoration: none; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--z8); }
.sharex:hover { color: var(--snow); border-color: var(--z7); }
.crumbs { font-size: 14px; color: var(--z4); margin: 4px 0 14px; }
.crumbs a { color: var(--z4); text-decoration: none; } .crumbs a:hover { color: var(--snow); }
.chead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; padding: 20px; border-radius: 20px; border: 1px solid var(--z85);
  background: radial-gradient(80% 140% at 0% 0%, oklch(0.26 0.04 155 / .55), transparent 60%), radial-gradient(50% 120% at 100% 0%, oklch(0.3 0.05 90 / .22), transparent 70%), var(--z9); }
.chead.skel-h { min-height: 150px; }
.chead .pic { width: 80px; height: 80px; border-radius: 18px; object-fit: cover; background: var(--z8); display: grid; place-items: center; font: 800 20px var(--display); box-shadow: 0 0 0 1px var(--z7), 0 10px 30px oklch(0.05 0 0 / .5); }
.ctitle { min-width: 0; }
.chead h1 { font: 800 clamp(28px, 2.8vw, 42px)/1.02 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.tags { display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: 13px; color: var(--z4); }
.tag { font: 700 13px var(--mono); padding: 4px 9px; border-radius: 8px; background: oklch(0.87 0.14 155 / .12); color: var(--mint); }
.tag.gold { background: oklch(0.88 0.11 90 / .14); color: var(--gold); font-family: var(--text); }
.chead .nums { display: grid; grid-template-columns: repeat(4, 168px); gap: 0; margin: 0; border-radius: 14px; background: oklch(0.14 0.01 165 / .7); border: 1px solid var(--z85); }
.chead .nums div { padding: 10px 16px; border-left: 1px solid var(--z85); min-width: 0; }
.chead .nums dd { overflow: hidden; text-overflow: ellipsis; }
.chead .nums dd.sub { margin-top: 1px; font: 500 12px/1.3 var(--text); letter-spacing: 0; color: var(--z4); }
.chead .nums dd.sub.up { color: var(--mint); } .chead .nums dd.sub.down { color: var(--down); }
.orb-label[hidden] { display: none; }
.dy.off { background: oklch(0.52 0.01 165); }
.chead .nums div:first-child { border-left: 0; }
.chead .nums dt { font-size: 12px; color: var(--z4); font-weight: 500; white-space: nowrap; }
.chead .nums dd { margin: 2px 0 0; font: 700 18px/1.2 var(--mono); white-space: nowrap; letter-spacing: -.02em; }
.chead .nums dd small { font-size: 12px; font-weight: 600; color: var(--z4); }
.chead .nums dd small.up { color: var(--mint); } .chead .nums dd small.down { color: var(--down); }
.chead .nums dd.m { color: var(--mint); } .chead .nums dd.y { color: var(--call); }
.bondline { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-top: 14px; border-top: 1px solid var(--z85); font-size: 13px; color: var(--z4); }
.bondline b { color: var(--snow); font: 700 13px var(--mono); }
.bondline .bl-k, .bondline .bl-s { white-space: nowrap; }
.bondline .bond { height: 4px; border-radius: 2px; background: var(--z8); overflow: hidden; }
.bondline .bond i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint-2), var(--gold)); border-radius: 3px; }
.buybox { display: grid; gap: 12px; padding: 20px; background: linear-gradient(180deg, oklch(0.23 0.03 155 / .6), var(--z9) 60%); scroll-margin-top: calc(var(--top) + 12px); }
.buyhead { display: grid; gap: 2px; }
.buyhead b { display: block; font: 800 20px/1.1 var(--display); }
.buyhead span { font-size: 13px; color: var(--z4); }
.callbox { display: grid; gap: 14px; padding: 16px 20px 18px; }
.howto { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--z4); }
.howto li { counter-increment: s; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center; }
.howto li > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.howto li::before { content: counter(s); width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--call-deep); color: var(--call); font: 700 12px/1 var(--mono); }
.howto b { color: var(--snow); font-weight: 600; }
.btn.wide { width: 100%; }
.minor { display: block; font: 500 12px var(--text); }
.dimt { color: var(--z4); }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; margin-top: 16px; align-items: start; }
.cmain { display: grid; gap: 16px; min-width: 0; }
.cside { display: grid; gap: 16px; position: sticky; top: calc(var(--top) + 16px); }
.box { padding: 20px; border-radius: 18px; background: var(--z9); border: 1px solid var(--z85); min-width: 0; }
.box h2 { font: 800 19px/1.15 var(--display); }
.boxhead { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.boxhead p { margin: 0; font-size: 13.5px; color: var(--z4); }
.chart svg { display: block; width: 100%; height: 280px; }
.chart-empty { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 14px 20px; }
.chart-empty p { margin: 0; font-size: 14px; color: var(--z4); }
.slim { margin: 0; font-size: 14px; color: var(--z4); max-width: 70ch; }
/* the orbit: full height once callers exist, a compact strip with the coin before that */
.cstage { position: relative; height: 420px; border-radius: 14px; overflow: hidden; isolation: isolate; background: radial-gradient(55% 60% at 50% 55%, oklch(0.3 0.05 155 / .5), transparent 70%), radial-gradient(120% 90% at 50% 0%, oklch(0.2 0.01 165), oklch(0.13 0.008 165) 70%); }
.cstage .orb-pic { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--z8); display: grid; place-items: center; font: 800 18px var(--display); box-shadow: 0 0 0 5px var(--z8), 0 0 50px oklch(0.87 0.14 155 / .2); }
.cstage.live .orb-pic { display: none; }
.legend-row { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: var(--z4); }
.legend-row span { display: inline-flex; align-items: center; gap: 7px; }
.legend-row i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.orbit.is-empty { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; height: 240px; padding: 16px 24px 16px 16px; }
.orbit.is-empty .cstage { height: 100%; }
.orbit.is-empty .orb-zoom { display: none; }
.orbit.is-empty .cstage .orb-pic { width: 72px; height: 72px; }
.orbit-copy p { margin: 6px 0 0; color: var(--z4); font-size: 15px; }
.mystat { display: grid; gap: 12px; }
.statusline { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.statusline h2 { font: 800 19px var(--display); }
.badge { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.badge.ok { background: oklch(0.87 0.14 155 / .14); color: var(--mint); }
.badge.no { background: oklch(0.7 0.17 22 / .14); color: var(--down); }
.badge.wait { background: var(--z8); color: var(--z4); }
.badge.y { background: oklch(0.9 0.16 98 / .14); color: var(--call); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trio div { padding: 10px; border-radius: 12px; background: var(--void); font-size: 12px; color: var(--z4); }
.trio b { display: block; font: 700 16px var(--mono); color: var(--snow); }
.trio b.m { color: var(--mint); }
.mystat p { margin: 0; font-size: 14px; color: var(--z4); }
.ctaline { font-size: 13.5px; color: var(--z4); text-align: center; margin: 0; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--void); }
.seg2 [role=tab] { text-align: center; padding: 9px; border-radius: 9px; cursor: pointer; font-weight: 700; color: var(--z4); user-select: none; transition: background .15s, color .15s; }
.seg2 [role=tab]:hover { color: var(--snow); }
.seg2 [aria-selected="true"] { background: var(--mint); color: oklch(0.2 0.04 155); }
.seg2 .sell[aria-selected="true"] { background: var(--down); color: oklch(0.2 0.04 22); }
.amt { display: grid; gap: 6px; margin-top: 12px; }
.amt label { font-size: 13px; color: var(--z4); font-weight: 600; }
.amt .in { display: flex; align-items: center; border-radius: 12px; background: var(--void); border: 1px solid var(--z8); padding-right: 12px; }
.amt .in:focus-within { border-color: var(--mint-2); }
.amt { grid-template-columns: minmax(0, 1fr); }
.amt input { flex: 1; width: 0; min-width: 0; height: 48px; border: 0; background: none; padding: 0 14px; font: 700 20px var(--mono); color: var(--snow); }
.amt input:focus { outline: none; }
.amt .unit { font: 700 13px var(--mono); color: var(--z4); }
.quick { display: flex; gap: 6px; margin-top: 8px; }
.quick button { flex: 1 1 0; min-width: 0; padding: 0 2px; min-height: 32px; border-radius: 8px; border: 1px solid var(--z8); background: none; cursor: pointer; font: 600 12.5px var(--mono); color: var(--z4); }
.quick button:hover { color: var(--snow); border-color: var(--z7); }
.trade .btn { width: 100%; margin-top: 4px; }
.trade .amt { margin-top: 2px; gap: 8px; }
.quick { margin-top: 0; }
.quick button:disabled { opacity: .4; cursor: default; }
.tmeta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--z4); min-height: 20px; }
.tmeta span:first-child { font-family: var(--mono); color: oklch(0.88 0.008 165); }
.slip { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--z4); }
.slip span { margin-right: auto; }
.slip button { min-height: 28px; min-width: 44px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--z8); background: none; cursor: pointer; font: 600 12px var(--mono); color: var(--z4); }
.slip button[aria-pressed="true"] { color: var(--mint); border-color: oklch(0.87 0.14 155 / .6); background: oklch(0.87 0.14 155 / .08); }
.btn.sellbtn { background: var(--down); color: oklch(0.2 0.04 22); }
.btn.sellbtn:hover { filter: brightness(1.06); }
.fine { font-size: 12.5px; color: var(--z4); margin: 10px 0 0; }
.errline { color: var(--down); font-size: 14px; margin: 8px 0 0; }
.tablewrap { overflow: auto; max-height: 560px; border-radius: 12px; }
table.callers { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.callers th { position: sticky; top: 0; z-index: 1; background: var(--z9); text-align: left; font-size: 12.5px; font-weight: 600; color: var(--z4); padding: 9px 10px; border-bottom: 1px solid var(--z8); }
table.callers th.n, table.callers td.n { text-align: right; }
table.callers th button { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; }
table.callers th button[aria-sort] { color: var(--snow); }
table.callers th button[aria-sort]::after { content: " ↓"; }
table.callers td { padding: 11px 10px; border-bottom: 1px solid var(--z85); vertical-align: top; }
table.callers td.w { white-space: nowrap; font-family: var(--mono); font-size: 13px; }
table.callers td.w a { text-decoration: none; } table.callers td.w a:hover { text-decoration: underline; }
table.callers td.w .ava { display: inline-block; width: 22px; height: 22px; vertical-align: -6px; margin-right: 8px; }
table.callers td.q { color: oklch(0.88 0.008 165); max-width: 34ch; }
table.callers td.n { font-family: var(--mono); white-space: nowrap; }
table.callers td.sol { color: var(--mint); }
table.callers tr.low td { color: var(--z4); }
table.callers tr.me td { background: oklch(0.87 0.14 155 / .07); }
.you { font: 700 11px var(--text); background: var(--mint); color: oklch(0.2 0.04 155); padding: 1px 6px; border-radius: 6px; margin-left: 6px; }
.sharebar { display: inline-block; width: 44px; height: 5px; border-radius: 3px; background: var(--z8); margin-left: 8px; vertical-align: 2px; overflow: hidden; }
.sharebar i { display: block; height: 100%; background: var(--call); }
.pays { display: grid; gap: 6px; }
.payrow { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--void); font-size: 14px; }
.payrow .h { font-family: var(--mono); color: var(--z4); }
.payrow .s { font-family: var(--mono); color: var(--mint); font-weight: 700; }
.payrow a { color: var(--z4); font-size: 13px; }
.payrow.carry .s { color: var(--z4); font-weight: 500; }
.actionbar { display: none; }
.trade .amt { margin-top: 0; }

/* ---------- launch ---------- */
.phead { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 10px 0 22px; }
.phead h1 { font: 800 clamp(32px, 3.2vw, 50px)/1 var(--display); letter-spacing: -.025em; }
.phead p { color: var(--z4); margin: 10px 0 0; max-width: 60ch; }
.lpage { max-width: 1240px; margin: 0 auto; }
@media (min-width: 1700px) { .lpage { max-width: 1400px; } }
.launch { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 20px; align-items: start; }
.launch .lead { color: var(--z4); margin: 10px auto 22px; max-width: 54ch; }
.form { padding: clamp(20px, 2.4vw, 30px); border-radius: 20px; background: var(--z9); border: 1px solid var(--z85); display: grid; gap: 22px; }
.lrow { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; }
.imgcol { display: grid; gap: 8px; align-content: start; }
.imgcol input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.imgcol:focus-within .drop { border-color: var(--mint-2); }
.drop { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; cursor: pointer; border: 1.5px dashed var(--z7); background: var(--void); }
.drop img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .55; transition: opacity .2s, transform .3s var(--ease); }
.drop.has img { opacity: 1; }
.drop:hover img { transform: scale(1.03); }
.dropcap { position: absolute; inset: auto 0 0 0; display: grid; gap: 1px; padding: 10px 12px; text-align: center; background: linear-gradient(0deg, oklch(0.12 0.01 165 / .92), transparent); }
.dropcap b { font-size: 14px; }
.dropcap small { font-size: 11.5px; color: var(--z4); }
.drop.has .dropcap { opacity: 0; transition: opacity .2s; }
.drop.has:hover .dropcap { opacity: 1; }
.lfields { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-content: start; }
.lfields .f:last-child { grid-column: 1 / -1; }
.tick { display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--z8); background: var(--void); }
.tick span { padding-left: 14px; font: 700 16px var(--mono); color: var(--z4); }
.tick:focus-within { border-color: var(--mint-2); }
.f .tick input[type=text] { border: 0; padding-left: 4px; text-transform: uppercase; font-family: var(--mono); font-weight: 700; background: none; }
.devbuy { padding-top: 20px; border-top: 1px solid var(--z85); }
.dbrow { display: flex; gap: 10px; flex-wrap: wrap; }
.dbin { display: flex; align-items: center; width: 170px; border-radius: 12px; border: 1px solid var(--z8); background: var(--void); padding-right: 12px; }
.dbin:focus-within { border-color: var(--mint-2); }
.f .dbin input[type=number] { border: 0; background: none; font: 700 17px var(--mono); padding-right: 6px; -moz-appearance: textfield; }
.dbin input::-webkit-inner-spin-button, .dbin input::-webkit-outer-spin-button { -webkit-appearance: none; }
.dbin span { font: 700 12px var(--mono); color: var(--z4); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { min-height: 46px; min-width: 64px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--z8); background: none; cursor: pointer; font: 700 14px var(--mono); color: var(--z4); transition: border-color .15s, color .15s, background .15s; }
.chips button:hover { color: var(--snow); border-color: var(--z7); }
.chips button[aria-pressed="true"] { color: var(--mint); border-color: oklch(0.87 0.14 155 / .6); background: oklch(0.87 0.14 155 / .08); }
.submitrow .btn.wide { font-size: 17px; min-height: 54px; }
.fine.center { text-align: center; margin: -10px 0 0; }
.pcol { display: grid; gap: 14px; position: sticky; top: calc(var(--top) + 16px); }
.pbox { padding: 18px; border-radius: 18px; background: var(--z9); border: 1px solid var(--z85); min-width: 0; }
.pbox h2 { font: 800 18px/1.1 var(--display); margin-bottom: 12px; }
.pbox .rows { margin-top: 10px; }
.pbox .rows div { grid-template-columns: 48px 1fr; padding: 8px 0; }
.pbox .rows div:last-child { border-bottom: 0; }
.pbox .fine { margin-top: 6px; }
.pbox .card { animation: none; }
.splitbar.sm { height: 34px; margin-top: 0; font-size: 13px; }
.coinprev { position: relative; height: 250px; display: grid; place-items: center; border-radius: 20px; border: 1px solid var(--z85); overflow: hidden; perspective: 700px;
  background: radial-gradient(55% 60% at 50% 55%, oklch(0.3 0.06 155 / .6), transparent 70%), radial-gradient(40% 45% at 82% 12%, oklch(0.4 0.08 90 / .35), transparent 70%), oklch(0.13 0.01 165); }
.cp-orbit { position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 1.5px solid oklch(0.75 0.03 165 / .25); }
.cp-orbit i { position: absolute; left: 50%; top: 50%; width: var(--r); height: var(--r); margin: calc(var(--r) / -2); border-radius: 50%; background: var(--call); transform: rotate(var(--a)) translateX(105px); animation: orbit 60s linear infinite; }
@keyframes orbit { to { transform: rotate(calc(var(--a) + 360deg)) translateX(105px); } }
.cp-coin { width: 132px; height: 132px; border-radius: 50%; padding: 9px; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform .5s var(--ease);
  background: conic-gradient(from 200deg, #f5f6f8, #9aa0a8, #eceef1, #6c7179, #f5f6f8, #a3a8b0, #f5f6f8); box-shadow: 6px 8px 0 -1px oklch(0.4 0.01 250), 10px 18px 30px oklch(0.05 0 0 / .6), inset 0 0 0 3px oklch(0.8 0.01 250); }
.cp-face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 2px oklch(0.55 0.01 250), inset 0 0 18px oklch(0 0 0 / .4); background: var(--gold); }
.cp-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: -4px; padding: 0 4px; }
.cp-name b { font: 800 22px/1.1 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cp-name > span { font: 700 13px var(--mono); color: var(--mint); white-space: nowrap; }
.fgrid { display: grid; grid-template-columns: 1fr 200px; gap: 16px; }
.f { display: grid; gap: 6px; align-content: start; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 14px; font-weight: 600; }
.f label small { color: var(--z4); font-weight: 500; margin-left: 6px; }
.f input[type=text], .f input[type=number], .f textarea { width: 100%; border-radius: 12px; border: 1px solid var(--z8); background: var(--void); color: var(--snow); padding: 12px 14px; font: 500 16px var(--text); }
.f textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--mint-2); }
.f input::placeholder, .f textarea::placeholder { color: oklch(0.6 0.01 165); }
.f .hint { font-size: 12.5px; color: var(--z4); }
.f .ferr { font-size: 13px; color: var(--down); font-weight: 600; }
.imgpick { display: flex; gap: 12px; align-items: center; }
.imgpick img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--z8); }
.imgpick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stepper { display: flex; border-radius: 12px; border: 1px solid var(--z8); background: var(--void); overflow: hidden; }
.stepper:focus-within { border-color: var(--mint-2); }
.stepper button { width: 44px; border: 0; background: none; font: 700 18px var(--mono); cursor: pointer; color: var(--z4); }
.stepper button:hover { color: var(--snow); background: var(--z85); }
.stepper input { border: 0 !important; background: none !important; text-align: center; font-family: var(--mono) !important; }
.routing { margin: 22px 0; padding: 16px; border-radius: 16px; background: var(--void); border: 1px solid oklch(0.87 0.14 155 / .35); }
.routing h2 { font: 700 15px var(--text); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.routing .r { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.routing .r b { font-family: var(--mono); color: var(--mint); }
.routing .r.z b { color: var(--z4); }
.routing .r span { color: oklch(0.88 0.008 165); }
.submitrow { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.submitrow .fine { margin: 0; }
.done { text-align: center; padding: 30px 0; }
.done h1 { font: 800 clamp(30px, 3vw, 44px)/1 var(--display); }
.done h1 { margin: 10px 0; }

/* ---------- me ---------- */
.mehead { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.mehead h1 { font: 800 clamp(30px, 3vw, 46px)/1 var(--display); letter-spacing: -.02em; }
.mehead p { color: var(--z4); margin: 6px 0 0; }
.megrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.mycall { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--void); text-decoration: none; margin-bottom: 8px; }
.mycall:hover { background: var(--z85); }
.mycall .pic { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--z8); display: grid; place-items: center; font: 800 13px var(--display); }
.mycall q { display: block; font-style: normal; color: var(--z4); font-size: 13.5px; }
.mycall .r { text-align: right; font: 700 15px var(--mono); color: var(--mint); }
.mycall .r small { display: block; font: 500 12px var(--text); color: var(--z4); }
.gate { max-width: 560px; margin: 60px auto; text-align: center; }
.gate h1 { font: 800 clamp(30px, 3.6vw, 48px)/1.05 var(--display); letter-spacing: -.02em; }
.gate p { color: var(--z4); margin: 12px 0 22px; }
.gate svg, .gate img { width: 132px; height: 132px; margin-bottom: 18px; border-radius: 28px; box-shadow: 0 0 0 1px var(--z7), 0 20px 50px oklch(0.05 0 0 / .6), 0 0 80px oklch(0.88 0.11 90 / .12); }
.mestats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 18px; border-radius: 18px; border: 1px solid var(--z85); background: radial-gradient(60% 160% at 0% 0%, oklch(0.26 0.04 155 / .5), transparent 60%), var(--z9); }
.mestats div { padding: 16px 20px; border-left: 1px solid var(--z85); min-width: 0; }
.mestats div:first-child { border-left: 0; }
.mestats span { display: block; font-size: 12.5px; color: var(--z4); }
.mestats b { display: block; margin-top: 2px; font: 700 24px/1.2 var(--mono); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mestats b.m { color: var(--mint); }
.mestats b small { font-size: 14px; color: var(--z4); }
.howpage .how { margin-top: 0; }

/* ---------- responsive ---------- */
@media (min-width: 1800px) { .boardwrap { grid-template-columns: minmax(0, 1fr) 400px; } .stage { height: min(78vh, 820px); } }
.boardwrap > section, .cgrid > *, .launch > * { min-width: 0; }
@media (max-width: 1180px) and (min-width: 641px) {
  .dock { grid-template-columns: auto minmax(0, 1fr) auto; }
  .dlegend { display: none; }
  .dstat:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 400px) { .cc-img { display: none; } .coinchip { padding-left: 10px; } .top-end { gap: 8px; } }
@media (max-width: 1280px) { .boardwrap { grid-template-columns: minmax(0, 1fr); } .feed { position: static; max-height: 520px; } .cgrid { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (max-width: 1360px) { .chead { grid-template-columns: auto minmax(0, 1fr); } .chead .nums { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .how, .megrid, .launch { grid-template-columns: minmax(0, 1fr); } .cgrid { grid-template-columns: minmax(0, 1fr); } .cside { position: static; order: -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } .pcol { position: static; } }
@media (max-width: 900px) {
  .actionbar { display: block; position: fixed; z-index: 39; left: 0; right: 0; bottom: calc(63px + env(safe-area-inset-bottom)); padding: 8px 12px; background: oklch(0.165 0.006 165 / .94); backdrop-filter: blur(12px); border-top: 1px solid var(--z85); transition: transform .22s var(--ease), opacity .22s; }
  .actionbar .btn { width: 100%; }
  .actionbar.away { transform: translateY(12px); opacity: 0; pointer-events: none; }
  .coinpage { padding-bottom: 76px; }
}
@media (max-width: 760px) { .cside { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .top { grid-template-columns: auto 1fr; gap: 10px; padding: 0 12px; }
  .gsearch { display: none; }
  .newcoin { display: none; }
  .brand img { display: block; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: oklch(0.165 0.006 165 / .94); backdrop-filter: blur(12px); border-top: 1px solid var(--z85); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0 3px; min-height: 50px; text-decoration: none; font-size: 11.5px; font-weight: 600; color: var(--z4); }
  .tabbar a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current="page"] { color: var(--mint); }
  .tabbar .plus { width: 40px; height: 26px; border-radius: 9px; background: var(--mint); color: oklch(0.2 0.04 155); display: grid; place-items: center; }
  .tabbar .plus svg { width: 18px !important; height: 18px !important; stroke-width: 2.6 !important; }
  body { padding-bottom: 76px; }
  .toasts { bottom: 88px; left: 12px; right: 12px; width: auto; }
  main { padding: 12px 12px 30px; }
  .index { grid-template-columns: 1fr 1fr; padding: 24px 16px 30px; }
  .index > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --top: 56px; }
  .cc-price, .cc-chg { display: none; }
  .coinchip { padding-right: 10px; }
  .btn { min-height: 38px; padding: 0 13px; font-size: 14px; }
  .brand { font-size: 20px; }
  #stage { height: auto; border-radius: 18px; }
  #stage .scene { flex: none; display: flex; flex-direction: column; }
  #stage .hud-tc { position: relative; left: 0; top: 0; transform: none; width: auto; padding: 18px 16px 0; }
  .hud-tc h1 { font-size: 24px; }
  .hud-tc p { font-size: 14px; }
  #stage .orb-host { position: relative; inset: auto; height: 340px; }
  .dock { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 10px; padding: 12px; }
  .dstat { padding: 0; margin: 0; border: 0; gap: 10px; }
  .dstat .arc { width: 34px; height: 34px; }
  .dstat b { font-size: 21px; }
  .dstat .s { display: none; }
  .dock .launchcta { grid-column: 1 / -1; margin: 0; width: 100%; }
  .dlegend { display: none; }
  .orb-zoom { display: none; }
  .card { grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 14px; }
  .card .pic { width: 52px; height: 52px; border-radius: 10px; font-size: 18px; }
  .card .bond, .card .stack, .card .meta span:nth-child(2) { display: none; }
  .card .info { gap: 1px; }
  .card .mc { font-size: 13px; gap: 10px; margin: 0; }
  .card .stats { grid-column: auto; display: block; padding: 0; background: none; }
  .card .cstat { grid-template-columns: 1fr; gap: 3px; }
  .card .cstat div { display: flex; gap: 5px; align-items: baseline; justify-content: flex-end; }
  .card .cstat b { display: inline; font-size: 14px; }
  .card.first { min-height: 0; padding: 18px; grid-template-columns: 1fr; }
  .orb-label { padding: 4px 8px; }
  .orb-label span { display: none; }
  .orb-label b { font-size: 13px; }
  .meterbox { min-width: 0; padding: 10px 12px; }
  .meterbox .v { font-size: 24px; }
  .hud-br { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .track { grid-template-columns: 1fr; }
  .track::before { left: 19px; right: auto; top: 20px; bottom: 30px; width: 1px; height: auto; }
  .stop { grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 6px; }
  .stop .num { grid-row: span 3; margin: 0; }
  .stop > :not(.num) { grid-column: 2; }
  .chead { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 12px 14px; }
  .chead .pic { width: 60px; height: 60px; border-radius: 14px; }
  .chead h1 { font-size: 26px; }
  .chead .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chead .nums div { min-width: 0; padding: 9px 12px; }
  .chead .nums div:nth-child(3) { border-left: 0; }
  .chead .nums div:nth-child(n+3) { border-top: 1px solid var(--z85); }
  .chead .nums dd { font-size: 16px; }
  .tags { gap: 6px 10px; }
  .bondline { grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; padding-top: 12px; }
  .bondline .bl-s { grid-column: 1 / -1; font-size: 12.5px; }
  .box { padding: 16px; }
  .buybox { padding: 16px; }
  .callbox { padding: 16px; }
  .chart svg { height: 220px; }
  .chart-empty { padding: 12px 16px; }
  .crumbrow { margin: 2px 0 12px; }
  .orbit.is-empty { grid-template-columns: 128px minmax(0, 1fr); gap: 16px; height: 176px; padding: 12px 16px 12px 12px; }
  .orbit.is-empty .cstage .orb-pic { width: 56px; height: 56px; }
  .orbit-copy p { font-size: 14px; }
  .phead { margin: 4px 0 16px; }
  .phead .btn { display: none; }
  .lrow { grid-template-columns: 1fr; gap: 16px; }
  .imgcol { grid-template-columns: 110px 1fr; align-items: center; column-gap: 14px; }
  .imgcol .drop { grid-row: span 1; }
  .dropcap small { display: none; }
  .dropcap { padding: 6px; }
  .dropcap b { font-size: 12px; }
  .lfields { grid-template-columns: 1fr; }
  .dbin { width: 100%; }
  .chips { width: 100%; }
  .chips button { flex: 1; min-width: 0; }
  .coinprev { height: 210px; }
  .mestats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mestats div:nth-child(3) { border-left: 0; }
  .mestats div:nth-child(n+3) { border-top: 1px solid var(--z85); }
  .mestats b { font-size: 19px; }
  .mestats div { padding: 12px 14px; }
  .cstage { height: 320px; }
  .fgrid { grid-template-columns: 1fr; }
  .payrow { grid-template-columns: 56px 1fr auto; }
  .payrow .c { display: none; }
  .index { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; } }
