/* Based: dark, glassy, one green glow. Geist + Geist Mono. Motion is subtle and respects reduced-motion. */
:root {
  --bg: #06070a;
  --bg-2: #0a0c10;
  --card: rgba(255, 255, 255, .035);
  --card-solid: #0e1015;
  --soft: rgba(255, 255, 255, .06);
  --ink: #f3f4f6;
  --ink-2: #a3a8b5;
  --ink-3: #6b7080;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --accent: #2ee6a6;
  --accent-2: #3dd6ff;
  --accent-ink: #5ff2bf;
  --accent-soft: rgba(46, 230, 166, .12);
  --amber: #fbbf5a;
  --amber-soft: rgba(251, 191, 90, .12);
  --red: #ff6b6b;
  --glow: 0 0 0 1px rgba(46, 230, 166, .35), 0 10px 40px -10px rgba(46, 230, 166, .45);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -24px rgba(0, 0, 0, .8);
  --r: 16px;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -.005em; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(900px 500px at 15% -10%, rgba(46, 230, 166, .10), transparent 60%), radial-gradient(800px 500px at 100% 0%, rgba(61, 214, 255, .07), transparent 60%); }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(46, 230, 166, .3); }
.hidden { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.note { font-size: 13px; color: var(--ink-3); }
.grad { background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(6, 7, 10, .6); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.top.scrolled { border-bottom-color: var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 32px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-2), 0 6px 20px -6px rgba(46, 230, 166, .5); }
.logo .word { font: 600 21px/1 var(--sans); letter-spacing: -.045em; }
nav.links { display: flex; gap: 4px; }
nav.links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
nav.links a:hover { color: var(--ink); }
nav.links a.on { color: var(--ink); background: var(--soft); }
.top .right { margin-left: auto; display: flex; gap: 10px; align-items: center; position: relative; }

.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #04130d; transition: transform .2s var(--ease), box-shadow .3s, background .2s; box-shadow: 0 8px 30px -10px rgba(46, 230, 166, .6); }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(46, 230, 166, .8); }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn.small { padding: 8px 15px; font-size: 13px; }
.btn.big { width: 100%; padding: 16px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
[data-connect] { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
[data-connect]::after { display: none; }
.walmenu { position: absolute; right: 0; top: 50px; background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; min-width: 190px; display: none; box-shadow: var(--shadow); }
.walmenu.open { display: block; animation: pop .18s var(--ease); }
.walmenu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; cursor: pointer; border-radius: 9px; font-size: 14px; }
.walmenu button:hover { background: var(--soft); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
.orb.a { width: 420px; height: 420px; background: radial-gradient(circle, rgba(46, 230, 166, .55), transparent 70%); top: -120px; left: 8%; animation: drift 18s ease-in-out infinite alternate; }
.orb.b { width: 380px; height: 380px; background: radial-gradient(circle, rgba(61, 214, 255, .4), transparent 70%); top: 60px; right: 4%; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-top: 84px; padding-bottom: 72px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 6px 14px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); transition: border-color .2s, color .2s; }
.pill:hover { color: var(--ink); border-color: rgba(46, 230, 166, .5); }
.pill .new { font-size: 11px; font-weight: 600; color: #04130d; background: var(--accent); padding: 2px 8px; border-radius: 999px; }
.pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(46, 230, 166, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(46, 230, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); } }
.hero h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.05em; font-weight: 600; margin: 24px 0 20px; }
.hero .lede { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 520px; margin: 0 0 32px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 34px; font-size: 13px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--accent); }
.hero-card { position: relative; perspective: 1200px; }
.hero-card .rcard { transform: rotateY(-7deg) rotateX(4deg); transition: transform .6s var(--ease); animation: float 7s ease-in-out infinite; }
.hero-card:hover .rcard { transform: none; }
@keyframes float { 50% { translate: 0 -8px; } }
.hero-card::before { content: ''; position: absolute; inset: 10% 8%; background: radial-gradient(circle, rgba(46, 230, 166, .35), transparent 70%); filter: blur(50px); z-index: -1; }

/* live vote card (hero + launch preview) */
.rcard { position: relative; background: linear-gradient(180deg, rgba(20, 23, 30, .92), rgba(12, 14, 19, .92)); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); overflow: hidden; backdrop-filter: blur(12px); }
.rcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(46, 230, 166, .7), transparent); }
.rcard .rhead { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.rcard .rhead img, .rcard .rhead .ph { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; }
.rcard .rhead b { display: block; font-size: 15px; font-weight: 600; }
.rcard .rhead small { display: block; color: var(--ink-3); font-size: 12.5px; }
.rcard .rhead .clock { margin-left: auto; text-align: right; }
.rcard .rhead .clock small { font-size: 11.5px; }
.rcard .rhead .clock span { font: 500 16px/1.3 var(--mono); color: var(--ink); }
.rcard .rbody { padding: 10px 20px 14px; display: grid; gap: 4px; }
.rcard .rfoot { display: flex; justify-content: space-between; gap: 10px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.rcard .example { font-size: 10.5px; font-weight: 600; color: var(--ink-2); background: var(--soft); padding: 2px 7px; border-radius: 999px; margin-right: 6px; }
.ropt { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 6px 12px; padding: 9px 0; }
.ropt .ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); }
.ropt .nm { font-size: 14px; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.ropt .nm small { font: 400 12px/1 var(--mono); color: var(--ink-3); }
.ropt .pc { font: 500 13.5px/1 var(--mono); color: var(--ink-2); }
.ropt .bar { grid-column: 2 / -1; height: 5px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.ropt .bar i { display: block; height: 100%; border-radius: 99px; background: rgba(255, 255, 255, .22); transition: width 1.2s var(--ease); }
.ropt.lead .bar i { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(46, 230, 166, .6); }
.ropt.lead .pc { color: var(--ink); }
.ropt.lead .ic { background: var(--accent-soft); color: var(--accent); }

/* ---------- activity marquee ---------- */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; padding: 14px 0; animation: marq 50s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap; background: rgba(255, 255, 255, .02); }
.chip img, .chip .ph { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.chip b { color: var(--ink); font-weight: 600; }
.chip .ok { color: var(--accent); }

/* ---------- sections ---------- */
section.block { padding: 96px 0 0; }
section.block.tight { padding-top: 32px; padding-bottom: 96px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; margin: 0; }
.sec-head p { margin: 10px 0 0; color: var(--ink-2); max-width: 540px; }
.phead { position: relative; }
.phead .wrap { padding-top: 72px; padding-bottom: 12px; }
.phead h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.045em; font-weight: 600; line-height: 1.04; margin: 0 0 12px; }
.phead p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 620px; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 56px; }
.stats > div { background: var(--bg-2); padding: 24px 24px 22px; position: relative; }
.stats > div::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(46, 230, 166, .4), transparent); opacity: 0; transition: opacity .4s; }
.stats > div:hover::after { opacity: 1; }
.stats b { display: block; font: 500 30px/1.1 var(--mono); letter-spacing: -.04em; }
.stats span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 6px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(10px); }
.panel > .ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px 6px; }
.panel > .ph h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.panel > .pb { padding: 16px 22px 22px; }
.h4 { margin: 0 0 14px; font-size: 16px; font-weight: 600; }
.empty { padding: 60px 20px; text-align: center; color: var(--ink-2); }
.empty b { color: var(--ink); }

/* filters */
.filters { display: inline-flex; gap: 2px; padding: 4px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; }
.filters button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: color .2s, background .2s; }
.filters button:hover { color: var(--ink); }
.filters button.on { background: var(--ink); color: #06070a; }

/* coin cards */
.cgrid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ccard { position: relative; display: grid; gap: 18px; padding: 22px; border-radius: 20px; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s, background .3s; isolation: isolate; opacity: 0; animation: rise .6s var(--ease) forwards; }
.ccard::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .35s;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--accent) 75%, var(--accent-2) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; }
.ccard:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .05); border-color: transparent; }
.ccard:hover::before, .ccard.voting::before { opacity: 1; }
.ccard.voting { border-color: transparent; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ctop { display: flex; align-items: center; gap: 14px; }
.av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; box-shadow: 0 0 0 1px var(--line-2); }
.ccard.voting .av { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent), 0 0 18px rgba(46, 230, 166, .5); }
.ph.av, .ph.cimg { display: grid; place-items: center; font-weight: 600; color: var(--ink-3); }
.cn { min-width: 0; flex: 1; }
.cn b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.cn small { display: block; color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cstatus { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); min-height: 26px; }
.cstatus .st { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.cstats small { display: block; font-size: 12px; color: var(--ink-3); }
.cstats b { font-weight: 500; font-size: 15px; }
.cbar { height: 4px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-top: -6px; }
.cbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width 1.2s var(--ease); }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; line-height: 1; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.tag.live { background: var(--accent-soft); color: var(--accent-ink); }
.tag.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: ping 2s infinite; }
.tag.paid { background: var(--accent-soft); color: var(--accent-ink); }
.tag.save { background: var(--amber-soft); color: var(--amber); }
.tag.q { background: rgba(61, 214, 255, .12); color: #8be6ff; }
.tag.gold { background: var(--amber-soft); color: var(--amber); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .35s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-3px); border-color: var(--line-2); }
.step .n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(46, 230, 166, .18), rgba(61, 214, 255, .1)); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(46, 230, 166, .25); }
.step .k { position: absolute; top: 26px; right: 26px; font: 500 13px/1 var(--mono); color: var(--ink-3); }
.step h4 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ballot items */
.menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mi { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease), border-color .3s; overflow: hidden; }
.mi:hover { transform: translateY(-3px); border-color: var(--line-2); }
.mi .icn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--ink); margin-bottom: 6px; }
.mi.boost .icn { background: var(--amber-soft); color: var(--amber); }
.mi.dex .icn, .mi.burn .icn { background: var(--accent-soft); color: var(--accent); }
.mi.gold { border-color: rgba(251, 191, 90, .35); }
.mi.gold::after { content: ''; position: absolute; inset: 0; background: radial-gradient(300px 120px at 100% 0%, rgba(251, 191, 90, .12), transparent 70%); pointer-events: none; }
.mi .top2 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mi b { font-size: 15.5px; font-weight: 600; }
.mi .usd { font: 500 14px/1 var(--mono); color: var(--ink); }
.mi p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.mi small { color: var(--ink-3); font-size: 12px; }

/* CTA band */
.cta { position: relative; overflow: hidden; margin-top: 110px; border: 1px solid var(--line-2); border-radius: 28px; padding: 64px 32px; text-align: center;
  background: radial-gradient(600px 240px at 50% 0%, rgba(46, 230, 166, .18), transparent 70%), var(--bg-2); }
.cta h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.045em; font-weight: 600; margin: 0 0 12px; line-height: 1.08; }
.cta p { color: var(--ink-2); margin: 0 auto 28px; max-width: 520px; }
.cta .ctas { justify-content: center; }

/* ---------- coin page ---------- */
.coinhead .wrap { padding-top: 32px; padding-bottom: 8px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); text-decoration: none; margin-bottom: 22px; transition: color .2s, gap .2s; }
.back:hover { color: var(--ink); gap: 9px; }
.chrow { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.coinhead .cimg { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; box-shadow: 0 0 0 1px var(--line-2), 0 10px 40px -10px rgba(46, 230, 166, .45); }
.coinhead h1 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.045em; font-weight: 600; line-height: 1.05; margin: 0 0 10px; }
.coinhead h1 .sub { color: var(--ink-3); font-weight: 500; font-size: .52em; letter-spacing: -.02em; margin-left: 6px; }
.coinhead .meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--ink-2); font-size: 14px; }
.coinhead .meta b { color: var(--ink); font-weight: 500; }
.coinhead .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.coinhead .acts a { font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.coinhead .acts a:hover { color: var(--ink); border-color: var(--line-2); }
.ca { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 12px; font: 400 13px/1 var(--mono); }
.ca button { background: var(--ink); color: #06070a; border: 0; border-radius: 999px; padding: 6px 11px; font: 600 12px/1 var(--sans); cursor: pointer; }

.cgrid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; padding: 32px 0 110px; align-items: start; }
.cgrid .col, .side { display: grid; gap: 18px; min-width: 0; }
.vote { position: relative; overflow: hidden; }
.vote::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(46, 230, 166, .7), transparent); }
.vote .ph h3 { font-size: 18px; }
.vote .ph .note { display: inline-flex; gap: 6px; align-items: center; }
.vote .ph .note .num { color: var(--ink); font-size: 14px; }
.vopts { display: grid; gap: 8px; }
.vopt { position: relative; overflow: hidden; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 8px 14px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.vopt:hover:not(:disabled) { border-color: rgba(46, 230, 166, .45); background: rgba(46, 230, 166, .05); transform: translateX(3px); }
.vopt:disabled { cursor: default; }
.vopt .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); }
.vopt.b .ic { background: var(--amber-soft); color: var(--amber); }
.vopt.d .ic, .vopt.x .ic { background: var(--accent-soft); color: var(--accent); }
.vopt .vt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vopt .vt b { font-weight: 500; font-size: 15px; }
.vopt .vt small { font: 400 12px/1 var(--mono); color: var(--ink-3); }
.vopt .vt em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #06070a; }
.vopt .vt em.l { background: var(--accent-soft); color: var(--accent-ink); }
.vopt .vp { font: 500 15px/1 var(--mono); color: var(--ink-2); }
.vopt .vbar { grid-column: 2 / -1; height: 5px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.vopt .vbar i { display: block; height: 100%; background: rgba(255, 255, 255, .22); border-radius: 99px; transition: width 1.2s var(--ease); }
.vopt.lead .vbar i { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(46, 230, 166, .6); }
.vopt.lead .vp { color: var(--ink); }
.vopt.mine { border-color: rgba(46, 230, 166, .6); background: rgba(46, 230, 166, .07); box-shadow: var(--glow); }
.vfoot { padding: 15px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.vfoot a { color: var(--ink-2); }
.lead-p { margin: 0; color: var(--ink-2); font-size: 15px; }
.lead-p b { color: var(--ink); font-weight: 500; }
.vaultcard .vhead { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.vaultcard .vhead a { color: var(--ink-3); text-decoration: none; }
.vaultcard .vhead a:hover { color: var(--ink); }
.vaultbig { font: 500 44px/1 var(--mono); letter-spacing: -.05em; }
.vaultbig span { font-size: .38em; color: var(--ink-3); letter-spacing: 0; }
.progress { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 18px 0 9px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; border-radius: 99px; transition: width 1.2s var(--ease); box-shadow: 0 0 12px rgba(46, 230, 166, .5); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 12px 14px; font-size: 14px; }
.vaultcard .kv { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.kv span { color: var(--ink-2); }
.kv b { font-family: var(--mono); font-weight: 500; text-align: right; }
.kv a { text-decoration: none; }
.lockline { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 13px; color: var(--ink-2); }
.lockline a { color: var(--accent-ink); text-decoration: none; margin-left: auto; }
.list { display: grid; }
.list .row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.list .row:first-child { padding-top: 4px; }
.list .row:last-child { border-bottom: 0; padding-bottom: 0; }
.list .row .l { min-width: 0; }
.list .row .l b { display: block; font-weight: 500; }
.list .row .l small { color: var(--ink-3); font-size: 13px; }
.list .row .l small a { color: var(--ink-2); }
.list .row .rt { text-align: right; flex: none; display: grid; gap: 5px; justify-items: end; }
.msg { font-size: 14px; margin-top: 14px; min-height: 1.2em; color: var(--ink-2); }
.msg.bad { color: var(--red); }
.msg.ok { color: var(--accent-ink); }
.msg b { color: var(--ink); font-weight: 500; }

/* vote burst */
.burst { position: fixed; pointer-events: none; z-index: 60; }
.burst i { position: absolute; width: 7px; height: 7px; border-radius: 2px; animation: burst .9s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- launch ---------- */
.lgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; padding: 32px 0 110px; align-items: start; }
form.lf { display: grid; gap: 20px; }
.field > label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field > label small { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: rgba(0, 0, 0, .25); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { border-color: rgba(46, 230, 166, .6); box-shadow: 0 0 0 4px rgba(46, 230, 166, .12); }
.field textarea { min-height: 92px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.field > label.drop { display: flex; align-items: center; gap: 16px; margin: 0; font-weight: 400; border: 1px dashed var(--line-2); border-radius: 14px; padding: 14px; cursor: pointer; background: rgba(0, 0, 0, .2); transition: border-color .2s, background .2s; }
.field > label.drop:hover { border-color: rgba(46, 230, 166, .55); background: rgba(46, 230, 166, .04); }
.drop .im { width: 58px; height: 58px; border-radius: 50%; background: var(--soft); overflow: hidden; flex: none; display: grid; place-items: center; color: var(--ink-3); }
.drop .im img { width: 100%; height: 100%; object-fit: cover; }
.drop b { display: block; font-weight: 500; font-size: 14px; }
.drop small { display: block; color: var(--ink-3); font-size: 13px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6 5.4-5.6' fill='none' stroke='%232ee6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checks b { color: var(--ink); font-weight: 500; }
.lsteps { display: grid; gap: 9px; }
.lsteps div { display: flex; gap: 10px; align-items: center; color: var(--ink-3); font-size: 14px; }
.lsteps div i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.lsteps .on { color: var(--ink); } .lsteps .on i { background: var(--accent); animation: ping 1.4s infinite; }
.lsteps .ok { color: var(--accent-ink); } .lsteps .ok i { background: var(--accent); }
.lsteps .bad { color: var(--red); } .lsteps .bad i { background: var(--red); }
.done { padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); border: 1px solid rgba(46, 230, 166, .3); color: var(--ink); font-size: 14px; }

/* wallet picker */
.wpick { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 50; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.wpick-in { background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 22px; padding: 26px; width: min(390px, 100%); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); animation: pop .25s var(--ease); }
.wpick h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.wpick p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.wpick .list2 { display: grid; gap: 8px; }
.wpick button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.wpick button:hover { border-color: rgba(46, 230, 166, .5); background: rgba(46, 230, 166, .05); }
.wpick button img { width: 30px; height: 30px; border-radius: 9px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; margin-top: 40px; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
footer p { margin: 0; font-size: 13px; color: var(--ink-3); max-width: 560px; }
footer .logo .word { font-size: 18px; }
footer .logo .mark { width: 26px; height: 26px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-3); font-size: 18px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 12px 0 0; font-size: 14.5px; }

/* docs */
.docs { display: grid; grid-template-columns: 210px 1fr; gap: 56px; padding: 40px 0 110px; align-items: start; }
.toc { position: sticky; top: 94px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { font-size: 14px; color: var(--ink-3); text-decoration: none; padding: 7px 14px; margin-left: -1px; border-left: 1px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--accent); }
.doc { max-width: 720px; min-width: 0; overflow-wrap: anywhere; }
.doc h2 { font-size: 24px; font-weight: 600; letter-spacing: -.035em; margin: 56px 0 14px; scroll-margin-top: 96px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; font-weight: 600; margin: 26px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.doc p { margin: 0 0 14px; }
.doc b { color: var(--ink); font-weight: 500; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 7px; }
.doc li::marker { color: var(--accent); }
.doc .menu { margin: 16px 0; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.doc .faq { margin-top: 14px; }
.callout { margin: 22px 0; padding: 18px 20px; border-radius: 14px; background: linear-gradient(135deg, rgba(46, 230, 166, .12), rgba(61, 214, 255, .06)); border: 1px solid rgba(46, 230, 166, .25); color: var(--ink); font-size: 15px; }
.callout b { font-weight: 600; }

.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: sp .8s linear infinite; vertical-align: -3px; }
@keyframes sp { to { transform: rotate(360deg); } }
.skel { height: 196px; border-radius: 20px; background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1000px) {
  .hero .wrap, .cgrid, .lgrid { grid-template-columns: 1fr; }
  .hero .wrap { gap: 48px; padding-top: 56px; }
  .hero-card .rcard { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:last-child { grid-column: 1 / -1; }
  .steps, .menu { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 6px 12px; }
}
@media (max-width: 580px) {
  .wrap { padding: 0 16px; }
  .steps, .menu, .two, .three { grid-template-columns: 1fr; }
  .cgrid3 { grid-template-columns: 1fr; }
  .stats b { font-size: 24px; }
  .hide-s { display: none; }
  .coinhead .acts { margin-left: 0; }
  section.block { padding-top: 72px; }
  .vaultbig { font-size: 36px; }
  .cta { padding: 44px 20px; }
}
.vote .ph .note { white-space: nowrap; }

/* why Based: everywhere else vs on Based */
.versus { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.vs { position: relative; border-radius: 22px; padding: 28px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.vs h3 { font-size: 22px; letter-spacing: -.035em; font-weight: 600; margin: 14px 0 18px; }
.vs-h { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.vs-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.vs li svg { flex: none; margin-top: 4px; }
.vs li b { color: var(--ink); font-weight: 500; }
.vs.bad .vs-ic, .vs.bad li svg { color: #ff7b7b; }
.vs.bad .vs-ic { background: rgba(255, 107, 107, .12); }
.vs.bad li { opacity: .8; }
.vs.good { border-color: rgba(46, 230, 166, .35); background: radial-gradient(500px 220px at 100% 0%, rgba(46, 230, 166, .12), transparent 70%), var(--card); box-shadow: 0 30px 80px -40px rgba(46, 230, 166, .45); }
.vs.good .vs-ic { background: var(--accent-soft); color: var(--accent); }
.vs.good li svg { color: var(--accent); }
.loop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; }
.loop span { padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.loop i { font-style: normal; color: var(--accent); animation: nudge 1.6s ease-in-out infinite; }
.loop i:nth-of-type(2) { animation-delay: .2s; } .loop i:nth-of-type(3) { animation-delay: .4s; }
@keyframes nudge { 50% { transform: translateX(3px); } }
@media (max-width: 860px) { .versus { grid-template-columns: 1fr; } }

/* chart + trading terminal */
.chart { overflow: hidden; padding: 0; }
.chart iframe { display: block; width: 100%; height: 420px; border: 0; background: var(--bg-2); }
.chart-note { padding: 10px 16px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); }
.trade { position: relative; overflow: hidden; }
.trade::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(46, 230, 166, .7), transparent); }
.ttabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px; margin: 16px 22px 0; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; }
.ttabs button { border: 0; background: none; padding: 10px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.ttabs button.on { background: var(--accent); color: #04130d; }
.ttabs button.on.sell { background: #ff6b6b; color: #1a0606; }
.tbal { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.tbal b { color: var(--ink); font-weight: 500; }
.tin { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 16px; background: rgba(0, 0, 0, .25); transition: border-color .2s, box-shadow .2s; }
.tin:focus-within { border-color: rgba(46, 230, 166, .6); box-shadow: 0 0 0 4px rgba(46, 230, 166, .12); }
.tin input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 26px/1.5 var(--mono); letter-spacing: -.03em; padding: 6px 0; }
.tin span { font-weight: 600; color: var(--ink-2); }
.tquick, .tslip { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tquick button, .tslip button { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s; }
.tquick button:hover, .tslip button:hover { color: var(--ink); border-color: var(--line-2); }
.tslip { align-items: center; font-size: 12.5px; color: var(--ink-3); margin: 14px 0 16px; }
.tslip button.on { color: var(--ink); border-color: rgba(46, 230, 166, .5); background: var(--accent-soft); }
.sellbtn { background: #ff6b6b; color: #1a0606; box-shadow: 0 8px 30px -10px rgba(255, 107, 107, .6); }
.sellbtn:hover { box-shadow: 0 12px 36px -10px rgba(255, 107, 107, .8); }
.tfoot { margin-top: 14px; line-height: 1.5; }
[data-tmsg] a { color: var(--accent-ink); }
@media (max-width: 1000px) { .chart iframe { height: 340px; } }

/* ---------- where the fees go: animated pipeline ---------- */
.flow { --cyc: 5s; display: flex; align-items: flex-start; gap: 0; padding: 44px 34px 40px; border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(700px 260px at 50% 0%, rgba(46, 230, 166, .08), transparent 70%), var(--card); position: relative; overflow: hidden; }
.fnode { flex: 0 0 170px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; position: relative; z-index: 1; }
.fic { position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2);
  animation: flit var(--cyc) linear infinite; animation-delay: calc(var(--i) * var(--cyc) / 5); }
.fnode.vault .fic, .fnode.dex .fic { color: var(--accent); border-color: rgba(46, 230, 166, .45); }
.fnode.dex .fic { background: linear-gradient(135deg, rgba(46, 230, 166, .18), rgba(61, 214, 255, .12)); }
.fring { position: absolute; inset: -6px; border-radius: 28px; border: 1px solid rgba(46, 230, 166, .6); opacity: 0; animation: fring var(--cyc) linear infinite; animation-delay: calc(var(--i) * var(--cyc) / 5); }
@keyframes flit { 0%, 16% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0), 0 0 40px -6px rgba(46, 230, 166, .7); color: var(--accent); transform: translateY(-3px); } 26%, 100% { box-shadow: none; transform: none; } }
@keyframes fring { 0% { opacity: .9; transform: scale(.92); } 22% { opacity: 0; transform: scale(1.25); } 100% { opacity: 0; } }
.ft { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.fd { font-size: 13px; line-height: 1.45; color: var(--ink-2); max-width: 160px; }
.fd b { color: var(--accent-ink); font-weight: 600; }
.fline { flex: 1; min-width: 30px; height: 2px; margin-top: 42px; position: relative; background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(46, 230, 166, .35), rgba(255, 255, 255, .08)); }
.fline::before { content: ''; position: absolute; inset: -1px 0; background: repeating-linear-gradient(90deg, rgba(46, 230, 166, .55) 0 6px, transparent 6px 14px); opacity: .5; animation: dash 1.2s linear infinite; -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
@keyframes dash { to { background-position: 28px 0; } }
.fline i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px rgba(46, 230, 166, .8), 0 0 4px #fff;
  opacity: 0; animation: travel var(--cyc) var(--ease) infinite; animation-delay: calc(var(--i) * var(--cyc) / 5 + var(--cyc) / 12); }
.fline i:nth-child(2) { animation-delay: calc(var(--i) * var(--cyc) / 5 + var(--cyc) / 12 + .18s); width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.fline i:nth-child(3) { animation-delay: calc(var(--i) * var(--cyc) / 5 + var(--cyc) / 12 + .34s); width: 4px; height: 4px; margin: -2px 0 0 -2px; }
@keyframes travel { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 17% { left: 100%; opacity: 1; } 20%, 100% { left: 100%; opacity: 0; } }
.fbranch { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.fbranch b { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
@media (max-width: 900px) {
  .flow { flex-direction: column; align-items: center; padding: 30px 20px; }
  .fnode { flex: none; }
  .fline { width: 2px; height: 46px; min-width: 0; flex: none; margin: 10px 0; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(46, 230, 166, .35), rgba(255, 255, 255, .08)); }
  .fline::before { background: repeating-linear-gradient(180deg, rgba(46, 230, 166, .55) 0 6px, transparent 6px 14px); -webkit-mask: none; mask: none; animation: dashv 1.2s linear infinite; }
  @keyframes dashv { to { background-position: 0 28px; } }
  .fline i { left: 50%; top: 0; margin: -5px 0 0 -5px; animation-name: travelv; }
  @keyframes travelv { 0% { top: 0; opacity: 0; } 3% { opacity: 1; } 17% { top: 100%; opacity: 1; } 20%, 100% { top: 100%; opacity: 0; } }
}

/* ---------- live chart ---------- */
.lchart { overflow: hidden; padding: 0; }
.lhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 18px 20px 12px; }
.lprice { font-size: 30px; font-weight: 500; letter-spacing: -.04em; transition: color .6s; }
.lprice.up { animation: fup .9s; } .lprice.down { animation: fdn .9s; }
@keyframes fup { 0% { color: #2ee6a6; text-shadow: 0 0 18px rgba(46, 230, 166, .7); } 100% { color: var(--ink); text-shadow: none; } }
@keyframes fdn { 0% { color: #ff6b6b; text-shadow: 0 0 18px rgba(255, 107, 107, .6); } 100% { color: var(--ink); text-shadow: none; } }
.ltools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.seg button { border: 0; background: none; color: var(--ink-3); font: 500 12px/1 var(--mono); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--soft); color: var(--ink); }
.livedot { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--accent-ink); padding: 0 6px; }
.livedot i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ping 1.6s infinite; }
.lcanvas { height: 380px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feed { padding: 12px 16px 16px; }
.fhead { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; padding: 0 4px; }
.flist { max-height: 264px; overflow-y: auto; display: grid; }
.fr { display: grid; grid-template-columns: 52px 1fr 80px 92px 64px; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 8px; font-size: 12.5px; text-decoration: none; color: var(--ink); }
.fr:hover { background: var(--soft); }
.fr .fs { font-weight: 600; } .fr.buy .fs { color: var(--accent); } .fr.sell .fs { color: #ff6b6b; }
.fdim { color: var(--ink-3); } .ft2 { text-align: right; }
.fr.new.buy { animation: nb 1.6s var(--ease); } .fr.new.sell { animation: ns 1.6s var(--ease); }
@keyframes nb { 0% { background: rgba(46, 230, 166, .22); transform: translateX(-6px); } 100% { background: transparent; transform: none; } }
@keyframes ns { 0% { background: rgba(255, 107, 107, .2); transform: translateX(-6px); } 100% { background: transparent; transform: none; } }
@media (max-width: 580px) { .lcanvas { height: 300px; } .fr { grid-template-columns: 42px 1fr 70px 56px; } .fr span:nth-child(4) { display: none; } }

/* ticker, v2: fixed height, centred, constant speed */
.marquee { height: 58px; display: flex; align-items: center; }
.marquee .track { gap: 10px; padding: 0; align-items: center; animation-timing-function: linear; will-change: transform; }
.marquee .chip { height: 36px; padding: 0 14px 0 7px; gap: 8px; text-decoration: none; transition: border-color .2s, background .2s; }
.marquee a.chip:hover { border-color: rgba(46, 230, 166, .45); background: rgba(46, 230, 166, .05); }
.marquee .chip.stat { padding-left: 14px; }
.marquee .chip img, .marquee .chip .ph { width: 24px; height: 24px; }
.chip .tv { font-family: var(--mono); color: var(--ink); font-size: 12.5px; }
.chip .up { color: var(--accent); font: 500 12px/1 var(--mono); }
.chip .dn { color: #ff7b7b; font: 500 12px/1 var(--mono); }
.chip .tm { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.chip .tq { color: #8be6ff; }
.chip .tlive { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); }
.chip .tlive i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: ping 1.6s infinite; }
.tsep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); opacity: .6; }

.pend { color: var(--amber); }

/* official CA bar */
.cabar { position: relative; z-index: 21; background: linear-gradient(90deg, rgba(46, 230, 166, .16), rgba(61, 214, 255, .12)); border-bottom: 1px solid rgba(46, 230, 166, .3); }
.cabar .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; height: 46px; font-size: 13.5px; }
.calive { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.calive i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ping 1.6s infinite; }
.caval { font-family: var(--mono); font-size: 13px; color: var(--ink); background: rgba(0, 0, 0, .3); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cacopy, .cabuy { flex: none; border: 0; border-radius: 999px; padding: 7px 14px; font: 600 12.5px/1 var(--sans); cursor: pointer; text-decoration: none; }
.cacopy { background: var(--ink); color: #06070a; }
.cabuy { background: var(--accent); color: #04130d; }
@media (max-width: 640px) { .cabar .wrap { gap: 8px; justify-content: flex-start; } .calive { display: none; } .caval { flex: 1; } }
