/* Forkline — styles */
:root {
  --bg-top: #f3f6fa;
  --bg-mid: #fcfdfe;
  --bg-end: #f7f9fb;
  --ink: #0e0d14;
  --text: #1c1b24;
  --dim: #24405f;
  --faint: #45627f;
  --dim-card: #5b6475;
  --faint-card: #9099a8;
  --sky-top: #5e9fe0;
  --sky-mid: #8cc0ee;
  --sky-low: #bcdcf5;
  --sky-horizon: #e6f2fb;
  --line: rgba(24, 22, 40, 0.08);
  --line-strong: rgba(24, 22, 40, 0.14);
  --card: #ffffff;
  --panel: rgba(253, 254, 255, 0.86);
  --glass: rgba(255, 255, 255, 0.62);
  --accent: #7c4dff;
  --accent-soft: rgba(124, 77, 255, 0.1);
  --coral: #f08a6c;
  --green: #16a36a;
  --red: #e0493f;
  --code-blue: #52708c;
  --radius: 16px;
  --shadow-soft: 0 1px 2px rgba(20, 20, 40, 0.04), 0 8px 30px rgba(20, 20, 40, 0.06);
  --shadow-lift: 0 2px 6px rgba(20, 20, 40, 0.05), 0 24px 60px rgba(20, 20, 40, 0.1);
  --shadow-panel: 0 20px 70px rgba(30, 40, 60, 0.08), 0 2px 12px rgba(30, 40, 60, 0.04);
  --sans: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--sky-mid); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background: var(--sky-mid);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); }
.mono { font-family: var(--mono); }
.muted { color: var(--dim); }
.small { font-size: 12px; }
.hidden { display: none !important; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible, .input:focus-visible { border-radius: 999px; }
.input:focus-visible { border-radius: 12px; outline: none; }

/* sky */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 84% 8%, rgba(255,252,236,.95) 0, rgba(255,246,214,.55) 4%, rgba(255,240,205,.18) 14%, rgba(255,240,205,0) 34%),
    radial-gradient(120% 60% at 50% 110%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-low) 72%, var(--sky-horizon) 100%);
}
.sky-clouds { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#app, .footer { position: relative; z-index: 1; }

/* white surfaces keep the neutral text colors */
.card, .nav, .dock, .empty, .ticker, .float, .modal, .wpanel, .input, .tabs button.active, .wsteps div.cur {
  --dim: var(--dim-card);
  --faint: var(--faint-card);
}

/* notice bar */
.notice {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: 36px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; background: var(--ink); color: rgba(255,255,255,.82);
  font-size: 12px; font-weight: 500; text-align: center;
}
.notice .txt { white-space: nowrap; }
.notice .txt b { color: #fff; font-weight: 600; }
.notice-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex: none; animation: pulse 2s ease-in-out infinite; }

/* glass */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-soft);
}
.glass-strong {
  background: rgba(255,255,255,.84);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-lift);
}

/* nav */
.nav-wrap {
  position: fixed; inset: 48px 0 auto 0; z-index: 60; display: flex; justify-content: center; padding: 0 16px;
  animation: dropIn .8s var(--ease) both .1s;
}
.nav {
  display: flex; align-items: center; gap: 4px; width: 100%; max-width: 860px;
  padding: 8px 8px 8px 12px; border-radius: 999px; transition: box-shadow .4s, background .4s;
}
.nav-wrap.scrolled .nav { background: rgba(255,255,255,.92); box-shadow: var(--shadow-lift); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; letter-spacing: -0.03em; padding-right: 8px; flex: none; }
.brand-mark { width: 26px; height: 26px; color: var(--ink); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-24deg) scale(1.08); }
.nav-links { display: flex; gap: 2px; flex: 1; min-width: 0; overflow: hidden; }
.nav-links a {
  font-size: 13px; color: var(--dim); padding: 7px 11px; border-radius: 999px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(20,20,40,.04); }
.nav-links a.active { color: var(--text); background: rgba(20,20,40,.06); }
.nav-actions { display: flex; gap: 6px; flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s var(--ease), opacity .2s;
}
.btn-lg { height: 46px; padding: 0 22px; font-size: 14px; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 20px rgba(14,13,20,.18); }
.btn-ink:hover { background: #26243a; }
.btn-ghost { color: var(--text); background: rgba(20,20,40,.04); }
.btn-ghost:hover { background: rgba(20,20,40,.08); }
.btn-outline { border: 1px solid var(--line-strong); background: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(124,77,255,.28); }
.btn-accent:hover { background: #6a39f5; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.press:active:not(:disabled) { transform: scale(.96); }

/* layout */
.page { padding: 150px 16px 120px; max-width: 1120px; margin: 0 auto; animation: enter .6s var(--ease) both; }
.page-head { margin-bottom: 28px; }
.eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
h1, h2, h3 { letter-spacing: -0.04em; margin: 0; font-weight: 600; color: var(--ink); }
h2 { font-size: clamp(26px, 4vw, 38px); }
.page-head p { color: var(--dim); max-width: 560px; margin: 10px 0 0; line-height: 1.6; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft);
}

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 140px 16px 80px; }
.hero-copy { position: relative; z-index: 5; text-align: center; max-width: 640px; }
.hero h1 { font-size: clamp(48px, 9vw, 96px); line-height: .95; letter-spacing: -0.06em; }
.hero h1 .soft { color: #fff; text-shadow: 0 2px 30px rgba(30,70,130,.28); }
.hero h1 .word { display: inline-block; animation: rise 1s var(--ease) both; }
.hero p { font-size: clamp(15px, 1.7vw, 17px); color: var(--dim); line-height: 1.6; margin: 22px auto 0; max-width: 500px; animation: rise 1s var(--ease) both .35s; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; animation: rise 1s var(--ease) both .5s; }
.hero-glow {
  position: absolute; width: 760px; height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.35), rgba(255,255,255,0));
  z-index: 3; pointer-events: none;
}

/* floating world */
.world { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float {
  position: absolute; background: var(--panel); border: 1px solid rgba(40,45,70,.1); border-radius: 14px;
  box-shadow: var(--shadow-panel); font-size: 11px; color: #3e4150;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: appear 1.2s var(--ease) both, drift var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 1.2s);
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 1.2s var(--ease);
}
.float .fh { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(40,45,70,.08); color: var(--dim); font-family: var(--mono); font-size: 10.5px; }
.float .fb { padding: 10px 12px; }
.dots { display: flex; gap: 4px; margin-right: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #e3e5ec; }
.code-line { font-family: var(--mono); font-size: 11px; line-height: 1.85; white-space: pre; }
.code-line .ln { color: #b9bccb; margin-right: 12px; }
.tk-k { color: #8b5cf6; } .tk-f { color: var(--code-blue); } .tk-s { color: #c46a4f; }
.caret { display: inline-block; width: 6px; height: 13px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.row .sha { margin-left: auto; font-family: var(--mono); color: var(--faint); }
.node { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); background: #fff; flex: none; }
.pill { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.pill.green { background: rgba(22,163,106,.1); color: var(--green); }
.term { background: #15141c; color: #d7d6e0; border-color: rgba(0,0,0,.2); }
.term .fh { color: #8a8998; border-color: rgba(255,255,255,.07); }
.term .dots i { background: #34333f; }
.term .ok { color: #6ee7b7; }

@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes appear { from { opacity: 0; filter: blur(8px); scale: .96; } to { opacity: 1; filter: blur(0); scale: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ticker */
.ticker { border-block: 1px solid var(--line); background: rgba(255,255,255,.55); overflow: hidden; white-space: nowrap; position: relative; }
.ticker { -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent); }
.ticker-track { display: inline-flex; gap: 36px; padding: 13px 0; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--dim); }
.ticker-item b { color: var(--text); font-weight: 500; }
.ticker-empty { padding: 13px 16px; text-align: center; font-size: 12.5px; color: var(--dim); }

/* lifecycle */
.lifecycle { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 20px 16px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.lifecycle span { display: inline-flex; align-items: center; gap: 10px; }
.lifecycle span + span::before { content: "→"; color: var(--faint); }

/* sections */
.section { max-width: 1120px; margin: 0 auto; padding: 90px 16px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.reveal { transition: transform .9s var(--ease); }
.js-motion .reveal:not(.in) { transform: translateY(24px); }

/* tabs */
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.6); gap: 2px; position: relative; }
.tabs button { position: relative; z-index: 1; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--dim); transition: color .25s; }
.tabs button.active { color: var(--ink); }
.tabs .tab-ind { position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: left .35s var(--ease), width .35s var(--ease); }

/* market grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.mcard { padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: pop .5s var(--ease) both; }
.mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.mc-top { display: flex; gap: 12px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 11px; flex: none; background: #eee center/cover; border: 1px solid var(--line); }
.mc-name { font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-repo { font-family: var(--mono); font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: rgba(20,20,40,.03); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.stat .k { font-size: 10.5px; color: var(--dim); }
.stat .v { font-family: var(--mono); font-size: 13px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 6px; border-radius: 99px; background: rgba(20,20,40,.06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--coral)); transition: width .6s var(--ease); }
.up { color: var(--green); } .down { color: var(--red); }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--green); }
.unverified { font-size: 10.5px; color: var(--faint); }

.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 48px 20px; text-align: center; color: var(--dim);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.empty p { margin: 0 0 16px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 22px; position: relative; overflow: hidden; }
.step .num { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.step h3 { font-size: 18px; margin: 34px 0 8px; }
.step p { margin: 0; color: var(--dim); font-size: 13.5px; line-height: 1.6; }
.step .tag { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.step::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-soft), transparent); transition: transform .6s var(--ease); }
.step:hover::after { transform: scale(1.4); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--dim); font-weight: 500; }
.input {
  height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; padding: 0 14px; font-size: 14px;
  transition: border-color .2s, box-shadow .2s; width: 100%; min-width: 0;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input.mono { font-family: var(--mono); font-size: 13px; }
.input-row { display: flex; gap: 8px; }
.err { color: var(--red); font-size: 12.5px; min-height: 18px; }
.hint { color: var(--dim); font-size: 12px; line-height: 1.55; }

/* launch wizard */
.wizard { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.wsteps { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 130px; }
.wsteps div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: var(--faint); transition: all .3s; }
.wsteps div i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 11px; background: rgba(20,20,40,.05); }
.wsteps div.cur { color: var(--ink); background: #fff; box-shadow: var(--shadow-soft); }
.wsteps div.cur i { background: var(--ink); color: #fff; }
.wsteps div.done { color: var(--dim); }
.wsteps div.done i { background: var(--green); color: #fff; }
.wpanel { padding: 26px; display: flex; flex-direction: column; gap: 18px; animation: enter .5s var(--ease) both; }
.wpanel h3 { font-size: 22px; }
.repo-preview { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(20,20,40,.03); align-items: center; }
.repo-preview .avatar { width: 52px; height: 52px; border-radius: 14px; }
.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.codebox { font-family: var(--mono); font-size: 12.5px; background: #15141c; color: #e7e6f0; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; overflow-x: auto; }
.codebox button { color: #b8b6c8; font-size: 11px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.08); flex: none; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--dim); line-height: 1.5; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.wactions { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }

/* market page */
.market { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.mhead { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.mhead .avatar { width: 60px; height: 60px; border-radius: 16px; }
.mhead h1 { font-size: 30px; }
.price-big { font-family: var(--mono); font-size: 28px; letter-spacing: -0.03em; }
.chart { padding: 18px; }
.chart svg { width: 100%; height: 260px; display: block; }
.chart .path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.chart .area { fill: url(#areaGrad); }
.trade { padding: 18px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 130px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(20,20,40,.045); border-radius: 12px; padding: 4px; }
.seg button { padding: 9px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--dim); transition: all .2s; }
.seg button.on-buy { background: #fff; color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seg button.on-sell { background: #fff; color: var(--red); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.quick { display: flex; gap: 6px; }
.quick button { flex: 1; font-size: 11.5px; padding: 6px 0; border-radius: 8px; background: rgba(20,20,40,.045); font-family: var(--mono); }
.quick button:hover { background: rgba(20,20,40,.08); }
.summary { font-size: 12.5px; color: var(--dim); display: flex; flex-direction: column; gap: 6px; }
.summary div { display: flex; justify-content: space-between; }
.summary b { font-family: var(--mono); font-weight: 500; color: var(--text); }
.subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.list { padding: 6px 18px; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.list-item:last-child { border-bottom: 0; }
.list-item .t { margin-left: auto; color: var(--faint); font-size: 11.5px; font-family: var(--mono); white-space: nowrap; }
.card-title { font-size: 13px; font-weight: 600; padding: 16px 18px 4px; }
.feed .list-item a { font-weight: 500; }
.badge { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: 12px; }
.badge.buy { background: rgba(22,163,106,.1); color: var(--green); }
.badge.sell { background: rgba(224,73,63,.1); color: var(--red); }
.badge.launch { background: var(--accent-soft); color: var(--accent); }

/* filter rail */
.rail { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.rail .input { height: 38px; max-width: 280px; border-radius: 999px; }

/* footer */
.footer { border-top: 1px solid rgba(255,255,255,.5); margin-top: 60px; padding: 36px 16px 110px; background: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-brand { font-weight: 600; letter-spacing: -0.03em; font-size: 16px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.footer-links a:hover { color: var(--text); }

/* dock (mobile) */
.dock {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 60; display: none;
  align-items: center; gap: 2px; padding: 6px; border-radius: 999px;
}
.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--dim); padding: 6px 11px; border-radius: 999px; }
.dock a.active { color: var(--ink); }
.dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dock .dock-main { background: var(--ink); color: #fff; width: 44px; height: 44px; justify-content: center; padding: 0; }
.dock .dock-main.active { color: #fff; }

/* toasts */
.toast-host { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { background: var(--ink); color: #fff; font-size: 13px; padding: 11px 16px; border-radius: 12px; box-shadow: var(--shadow-lift); animation: rise .45s var(--ease) both; max-width: 340px; }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }

/* modal */
.modal-bg { position: fixed; inset: 0; z-index: 80; background: rgba(14,13,20,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: enter .3s both; }
.modal { width: 100%; max-width: 400px; padding: 24px; display: flex; flex-direction: column; gap: 14px; animation: pop .35s var(--ease) both; }

/* treasury */
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.tstats .card { padding: 20px; }
.tstats .v { font-family: var(--mono); font-size: 26px; margin-top: 8px; letter-spacing: -0.03em; }

/* responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; max-width: 520px; }
  .dock { display: flex; }
  .toast-host { bottom: 86px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .market { grid-template-columns: 1fr; }
  .trade { position: static; }
  .wizard { grid-template-columns: 1fr; }
  .wsteps { position: static; flex-direction: row; overflow-x: auto; }
  .wsteps div { flex: none; }
  .float.hide-sm { display: none; }
  .tstats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-actions .btn-ink { display: none; }
  .steps, .subgrid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr 1fr; }
  .float.hide-xs { display: none; }
  .float { left: 16px !important; right: auto !important; top: 104px !important; opacity: .7 !important; }
  .hero { padding-top: 230px; align-items: start; }
  .notice .long { display: none; }
  .page { padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js-motion .reveal:not(.in) { transform: none; }
}

/* watchlist star */
.star { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 15px; line-height: 1; color: var(--faint-card); background: rgba(20,20,40,.04); transition: color .2s, background .2s, transform .2s var(--ease); }
.star:hover { color: #e3a008; background: rgba(227,160,8,.1); }
.star.on { color: #e3a008; }
.star:active { transform: scale(.85); }

/* home stats */
.stats-strip { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 900px; margin: 18px auto 0; padding: 0 16px; gap: 10px; }
.stats-strip > div { background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-soft); }
.stats-strip .k { font-size: 11px; color: var(--dim-card); }
.stats-strip .v { font-family: var(--mono); font-size: 17px; margin-top: 3px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* chart tooltip */
.chart { position: relative; }
.chart svg { cursor: crosshair; touch-action: pan-y; }
.chart-tip { position: absolute; top: 14px; pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 6px 10px; font-size: 11px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow-lift); }
.chart-tip b { font-family: var(--mono); font-weight: 500; font-size: 12px; }
.chart-tip span { color: rgba(255,255,255,.65); }
.chart-tip[hidden] { display: none; }

/* discussion */
.comment-form { display: flex; gap: 8px; padding: 8px 18px 4px; }
.comment-form .input { height: 40px; }
.comment .ctext { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--text); }
.comment { align-items: flex-start; }

@media (max-width: 700px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip > div:last-child { grid-column: span 2; }
}

.stat.card { background: var(--card); }

/* X link */
.xlink { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; color: var(--ink); background: rgba(20,20,40,.04); transition: background .2s, color .2s, transform .15s var(--ease); flex: none; }
.xlink:hover { background: var(--ink); color: #fff; }
.xlink svg { width: 15px; height: 15px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }

/* card sparkline */
.spark { width: 100%; height: 34px; display: block; }
.spark path { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* top holders */
.holder-bar { flex: 1; max-width: 120px; height: 5px; border-radius: 99px; background: rgba(20,20,40,.06); overflow: hidden; }
.holder-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }

/* zcash */
.zec-mark { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
.zec-note { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--dim); background: rgba(244,183,40,.1); border: 1px solid rgba(244,183,40,.3); border-radius: 12px; padding: 10px 12px; }
.zec-note .zec-mark { margin-top: 1px; }
.zec-card .card-title { display: flex; align-items: center; gap: 8px; }
.zec-body { display: grid; grid-template-columns: 168px 1fr; gap: 18px; padding: 8px 18px 18px; align-items: start; }
.zec-qr { width: 168px; aspect-ratio: 1; max-width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.zec-qr svg { width: 100%; height: 100%; display: block; }
.zec-form { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.zec-form .quick button.on { background: #f4b728; color: #1d1d1b; }
.zec-addr { color: var(--dim); overflow-wrap: anywhere; line-height: 1.5; }
.badge.shielded { background: rgba(20,20,40,.07); color: var(--ink); }
.shield-toggle { font-size: 12px; align-items: flex-start; }
.shield-toggle svg { vertical-align: -1px; }
@media (max-width: 600px) { .zec-body { grid-template-columns: 1fr; } .zec-qr { width: 200px; margin: 0 auto; } }

/* cookie consent */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(420px, calc(100vw - 32px));
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,255,255,.8); border-radius: 20px; box-shadow: 0 30px 80px rgba(20,40,80,.22), 0 2px 8px rgba(20,40,80,.06);
  padding: 20px; display: flex; flex-direction: column; gap: 12px; --dim: var(--dim-card); --faint: var(--faint-card);
  animation: consentIn .6s var(--ease) both .4s;
}
.consent.out { opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
@keyframes consentIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.consent-head { display: flex; align-items: center; gap: 10px; }
.consent-head h2 { font-size: 18px; letter-spacing: -0.03em; }
.consent-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.consent-ico svg { width: 20px; height: 20px; }
.consent p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.consent-opts { display: flex; flex-direction: column; gap: 8px; }
.consent-opts[hidden] { display: none; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(20,20,40,.035); cursor: pointer; }
.consent-opt input { margin-top: 3px; accent-color: var(--accent); }
.consent-opt span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.consent-opt small { color: var(--dim); font-size: 12px; line-height: 1.5; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-more { font-size: 12px; color: var(--dim); text-decoration: underline; align-self: flex-start; }
.linkish { font-size: 13px; color: var(--dim); padding: 0; }
.linkish:hover { color: var(--text); }
@media (max-width: 900px) { .consent { bottom: 86px; } }

/* live contract address */
.notice-dot.live { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.notice .ca-label { color: rgba(255,255,255,.6); }
.notice .mono { color: #fff; font-size: 12px; letter-spacing: 0; }
.ca-short { display: none; }
.ca-copy { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; color: rgba(255,255,255,.75); flex: none; transition: background .2s, color .2s; }
.ca-copy:hover { background: rgba(255,255,255,.15); color: #fff; }
.ca-copy svg { width: 14px; height: 14px; }
.ca-copy.done { color: #22c55e; }
.live-card {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 26px;
  padding: 6px 6px 6px 8px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-soft); --dim: var(--dim-card);
  animation: rise 1s var(--ease) both;
}
.live-pill { display: inline-flex; align-items: center; gap: 6px; background: #0e0d14; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; flex: none; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s ease-in-out infinite; }
.live-ca { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.live-ca .mono { font-size: 12.5px; letter-spacing: 0; }
.live-copy { flex: none; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(20,20,40,.06); transition: background .2s, color .2s; }
.live-copy:hover { background: rgba(20,20,40,.1); }
.live-copy.done { background: #22c55e; color: #fff; }
.hero-note { font-size: 12.5px !important; margin-top: 18px !important; color: var(--dim) !important; animation-delay: .6s !important; }
.hero-note a { text-decoration: underline; }
@media (max-width: 760px) {
  .ca-full { display: none; }
  .ca-short { display: inline; }
}
