/* farcaster.live — landing page */

:root {
  --bg: #07080a;
  --bg2: #0b0d10;
  --panel: #0e1115;
  --panel2: #13171c;
  --panel3: #1a1f26;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(255, 255, 255, .12);
  --text: #eceff3;
  --muted: #8a93a0;
  --dim: #5d6672;
  --amber: #ffb224;
  --amber2: #ffd27a;
  --amber-bg: rgba(255, 178, 36, .12);
  --up: #22d38f;
  --up-bg: rgba(34, 211, 143, .12);
  --down: #ff4f5e;
  --down-bg: rgba(255, 79, 94, .12);
  --live: #ff3b4a;
  --blue: #63a8ff;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
img, svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--muted); }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.ic-fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1320px; }

/* ---------- small shared pieces ---------- */

.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--up); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.pulse.amber { background: var(--amber); }
.pulse.live { background: var(--live); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--live); padding: 5px 8px 5px 7px; border-radius: 6px; flex: none;
}
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2, start) infinite; }
.live-badge.sm { font-size: 10px; padding: 3px 6px 3px 5px; border-radius: 5px; }
.live-badge.sm i { width: 5px; height: 5px; }
@keyframes blink { to { opacity: .25; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.btn .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover .ic:not(.ic-fill) { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.full { width: 100%; }
.btn-amber { background: linear-gradient(180deg, #ffc24d, #ffa90f); color: #140d00; box-shadow: 0 0 0 1px rgba(255, 178, 36, .5) inset, 0 8px 28px -8px rgba(255, 178, 36, .55); }
.btn-amber:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(255, 210, 122, .7) inset, 0 10px 36px -8px rgba(255, 178, 36, .7); }
.btn-up { background: var(--up); color: #03140c; }
.btn-up:hover { filter: brightness(1.08); }
.btn-down { background: var(--down); color: #1a0306; }

.ghost-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px; border-radius: 9px;
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .03);
  font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.ghost-btn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.ghost-btn .ic { width: 15px; height: 15px; }
.ghost-btn.danger { color: #ff8a94; }

.mini-btn { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 7px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line2); transition: background .2s; }
.mini-btn:hover { background: rgba(255, 255, 255, .12); }

.toggle { width: 34px; height: 20px; border-radius: 20px; background: #2a313b; position: relative; cursor: pointer; transition: background .2s; flex: none; display: inline-block; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.toggle.on { background: var(--up); }
.toggle.on::after { transform: translateX(14px); }

/* avatars */
.av {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font: 600 12px/1 var(--font); color: rgba(255, 255, 255, .95); letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.av.sm { width: 26px; height: 26px; font-size: 9.5px; }
.av.lg { width: 52px; height: 52px; font-size: 15px; }
.av.xl { width: 60px; height: 60px; font-size: 16px; }
.a1 { background: linear-gradient(135deg, #ff8a3d, #e5345f); }
.a2 { background: linear-gradient(135deg, #6f5cff, #2fb5e8); }
.a3 { background: linear-gradient(135deg, #22d38f, #0d7c5e); }
.a4 { background: linear-gradient(135deg, #ffc24d, #ff6a00); }
.a5 { background: linear-gradient(135deg, #ff4f5e, #8e1838); }
.a6 { background: linear-gradient(135deg, #46556e, #19202c); }
.a7 { background: linear-gradient(135deg, #63a8ff, #2848e0); }
.a8 { background: linear-gradient(135deg, #f472b6, #9b3df0); }
.a9 { background: linear-gradient(135deg, #cfd6df, #6b7684); color: #0b0d10; }

.tk-logo {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font: 700 12px/1 var(--mono); color: var(--text);
  background: var(--panel3); box-shadow: inset 0 0 0 1px var(--line2);
}
.tk-logo.lg { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }

.cashtag { color: var(--amber); font-weight: 500; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 10, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(7, 8, 10, .86); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 30px; height: 30px; }
.mark.sm { width: 22px; height: 22px; }
.wm { font-weight: 650; font-size: 18px; letter-spacing: -.03em; }
.wm span { color: var(--amber); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line2); transition: background .2s; flex: none; }
.icon-btn:hover { background: rgba(255, 255, 255, .11); }
.icon-btn .ic { width: 16px; height: 16px; }
.nav-cta .btn .ic { width: 15px; height: 15px; }
.chain-pill { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--muted); padding: 8px 11px; border: 1px solid var(--line2); border-radius: 999px; white-space: nowrap; }

/* ---------- hero ---------- */

.hero { position: relative; padding-bottom: 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 178, 36, .16), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(99, 168, 255, .07), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
  opacity: .55;
}

.tape { border-bottom: 1px solid var(--line); background: rgba(11, 13, 16, .6); overflow: hidden; height: 38px; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-track { display: flex; width: max-content; animation: tape 70s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-set { display: flex; }
.ti { display: inline-flex; align-items: center; gap: 9px; padding: 0 22px; font: 500 12.5px/1 var(--mono); white-space: nowrap; border-right: 1px solid var(--line); }
.ti b { font-weight: 600; color: var(--text); }
.ti .px { color: #c3cad3; }
@keyframes tape { to { transform: translateX(-50%); } }

.hero-in { text-align: center; padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .03);
  font-size: 13.5px; color: #cfd5dc; margin-bottom: 28px;
  transition: border-color .2s, background .2s;
}
.announce:hover { border-color: rgba(255, 178, 36, .45); background: rgba(255, 178, 36, .06); }
.announce .live-badge { border-radius: 999px; padding: 5px 9px 5px 8px; }
.announce .ic { width: 14px; height: 14px; color: var(--muted); }

h1 {
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: .98; letter-spacing: -.045em; font-weight: 650;
  max-width: 14ch;
}
.hl {
  background: linear-gradient(92deg, #ffb224 0%, #ffd27a 45%, #ffb224 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 24px; max-width: 640px; font-size: clamp(16px, 1.7vw, 19px); color: #a6aeb8; line-height: 1.6; }

.join-row { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.join-row .btn { height: 52px; padding: 0 22px; font-size: 15.5px; }
.join-row .btn .ic { width: 18px; height: 18px; }
.btn-dark { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-dark:hover { background: rgba(255, 255, 255, .11); }
.micro { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.micro .ic { width: 14px; height: 14px; }

.mock-note { text-align: center; font-size: 12px; color: var(--dim); margin-top: 16px; font-family: var(--mono); }

/* ---------- desktop app mock ---------- */

.app {
  border: 1px solid var(--line2); border-radius: 18px; overflow: hidden;
  background: var(--panel);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 -30px 90px -40px rgba(255, 178, 36, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
  text-align: left; font-size: 14px;
}
.app-bar { height: 44px; display: flex; align-items: center; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f37; }
.url { flex: 0 1 360px; margin: 0 auto; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 7px; font: 12px var(--mono); color: var(--muted); }
.url .ic { width: 12px; height: 12px; }
.app-bar-r { display: flex; align-items: center; gap: 10px; }
.net, .bal { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); color: #c3cad3; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); white-space: nowrap; }
.bal .ic { width: 13px; height: 13px; color: var(--muted); }

.app-body { display: grid; grid-template-columns: 212px minmax(0, 1fr) 312px; height: 720px; }

.app-side { border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: #b4bcc6; font-size: 14px; font-weight: 500; cursor: default; }
.side-nav a .ic { width: 18px; height: 18px; color: var(--muted); }
.side-nav a.on { background: rgba(255, 255, 255, .06); color: var(--text); }
.side-nav a.on .ic { color: var(--amber); }
.count { margin-left: auto; font: 600 10.5px/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #c3cad3; }
.count.live { background: var(--live); color: #fff; }
.cast-btn { margin: 12px 0 8px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; background: linear-gradient(180deg, #ffc24d, #ffa90f); color: #140d00; }
.cast-btn .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.side-h { font: 500 11px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; padding: 16px 10px 8px; }
.side-ch a { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: #b4bcc6; cursor: default; }
.side-ch a span { color: var(--dim); }
.side-ch a .unread { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-left: auto; }
.side-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.side-me .av { width: 32px; height: 32px; font-size: 10px; }
.side-me b { display: block; font-size: 13px; font-weight: 600; }
.side-me span { font-size: 11.5px; }

.app-feed { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.feed-tabs { display: flex; border-bottom: 1px solid var(--line); padding: 0 8px; flex: none; }
.feed-tabs b { position: relative; padding: 14px 12px; font-weight: 500; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; cursor: default; }
.feed-tabs b.on { color: var(--text); }
.feed-tabs b.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--amber); }
.feed-tabs .pulse { width: 6px; height: 6px; }
.composer { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex: none; }
.composer-in { flex: 1; color: var(--dim); font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--amber); padding: 6px 10px; border-radius: 8px; background: var(--amber-bg); border: 1px solid rgba(255, 178, 36, .2); white-space: nowrap; }
.chip .ic { width: 14px; height: 14px; }

.feed { flex: 1; overflow: hidden; position: relative; }
.feed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--panel)); pointer-events: none; }
.cast-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s cubic-bezier(.2, .7, .2, 1); }
.cast-wrap.closed { grid-template-rows: 0fr; }
.cast-wrap > .cast { min-height: 0; overflow: hidden; }
.cast-wrap.fresh > .cast { animation: freshBg 2.4s ease-out; }
@keyframes freshBg { 0% { background: rgba(255, 178, 36, .07); } 100% { background: transparent; } }

.cast { display: flex; gap: 12px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
.cast-main { flex: 1; min-width: 0; }
.cast-h { display: flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; overflow: hidden; }
.cast-h b { font-weight: 600; }
.cast-h .handle, .cast-h .t { color: var(--dim); }
.cast-h .chan { margin-left: auto; font: 500 11.5px/1 var(--mono); color: var(--muted); padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, .05); }
.vb { width: 14px; height: 14px; color: var(--amber); fill: rgba(255, 178, 36, .15); stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -2px; }
.cast p { margin-top: 4px; color: #d7dce2; font-size: 14.5px; line-height: 1.5; }
.cast-f { display: flex; align-items: center; gap: 18px; margin-top: 10px; font: 12px/1 var(--mono); color: var(--dim); }
.cast-f > span { display: inline-flex; align-items: center; gap: 6px; }
.cast-f .ic { width: 15px; height: 15px; }
.cast-f .copied { color: var(--amber); }
.cast-f .tx { margin-left: auto; color: var(--muted); }
.cast-f .tx .ic { width: 12px; height: 12px; }

/* trade card */
.trade {
  margin-top: 10px; display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 12px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
  border: 1px solid var(--line2); position: relative; overflow: hidden;
}
.trade::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--up); }
.trade.sell::before { background: var(--down); }
.trade-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.trade-l > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trade .side { font: 700 10.5px/1 var(--mono); letter-spacing: .06em; padding: 5px 7px; border-radius: 6px; color: var(--up); background: var(--up-bg); }
.trade.sell .side { color: var(--down); background: var(--down-bg); }
.trade .tk { font: 600 14px/1.1 var(--mono); }
.trade .qty { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trade-m { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin-left: auto; }
.trade-m .lbl { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.trade .pnl { font-size: 14px; font-weight: 600; white-space: nowrap; padding: 2px 6px; border-radius: 5px; margin-right: -6px; transition: background .4s; }
.trade.compact { padding: 8px 10px 8px 11px; gap: 10px; }
.trade.compact .tk { font-size: 13px; }
.trade.compact .pnl { font-size: 13px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border-radius: 9px; font-size: 13px; font-weight: 600;
  background: var(--amber); color: #140d00; flex: none;
  transition: background .2s, color .2s, transform .15s;
}
.copy-btn .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.copy-btn:hover { background: var(--amber2); }
.copy-btn:active { transform: scale(.97); }
.copy-btn.done { background: var(--up-bg); color: var(--up); box-shadow: inset 0 0 0 1px rgba(34, 211, 143, .35); }
.view-btn { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; padding: 0 6px; flex: none; }
.view-btn .ic { width: 12px; height: 12px; }

/* chart cast */
.chart-embed { margin-top: 10px; border: 1px solid var(--line2); border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, .02); }
.chart-embed-h { display: flex; align-items: center; gap: 10px; }
.chart-embed-h .tk-logo { width: 26px; height: 26px; font-size: 11px; }
.chart-embed-h b { font: 600 13px var(--mono); }
.chart-embed-h .px { margin-left: auto; font: 600 13px var(--mono); }
.chart-embed svg { width: 100%; height: 70px; margin-top: 8px; }
.poll { display: flex; gap: 6px; margin-top: 10px; }
.poll span { flex: 1; position: relative; height: 30px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font: 500 12px var(--mono); background: rgba(255, 255, 255, .04); }
.poll span i { position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; }
.poll span em { position: relative; z-index: 1; font-style: normal; }
.poll .bull i { background: var(--up-bg); }
.poll .bear i { background: var(--down-bg); }

/* room embed in feed */
.room-embed { margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 59, 74, .12), rgba(255, 59, 74, .02)); border: 1px solid rgba(255, 59, 74, .25); }
.room-embed > div:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.room-embed b { font-size: 14px; }
.room-embed span.num { font-size: 12px; color: var(--muted); }
.av-stack { display: flex; }
.av-stack .av { width: 28px; height: 28px; font-size: 9.5px; box-shadow: 0 0 0 2px var(--panel); }
.av-stack .av + .av { margin-left: -8px; }

/* right rail */
.app-rail { border-left: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; }
.search { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--dim); font-size: 13px; flex: none; }
.search .ic { width: 15px; height: 15px; }
.rcard { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); padding: 12px; flex: none; }
.rcard-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rcard-h b { font-size: 13.5px; font-weight: 600; }
.rcard-h span { font: 11px var(--mono); color: var(--dim); }
.w-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 54px 72px; align-items: center; gap: 10px; padding: 4px 0; }
.w-row .tk-logo { width: 28px; height: 28px; font-size: 10.5px; border-radius: 8px; }
.w-row .nm b { display: block; font: 600 12.5px/1.2 var(--mono); }
.w-row .nm span { display: block; font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-row svg { width: 54px; height: 22px; }
.w-row .pr { text-align: right; }
.w-row .pr b { display: block; font: 500 12.5px/1.2 var(--mono); border-radius: 4px; }
.w-row .pr span { display: block; font: 500 11px/1.3 var(--mono); }
.l-row { display: grid; grid-template-columns: 14px 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 4px 0; }
.l-row .rk { font: 500 11px var(--mono); color: var(--dim); }
.l-row .av { width: 28px; height: 28px; font-size: 9.5px; }
.l-row .nm b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-row .nm span { display: block; font: 11px var(--mono); color: var(--dim); }
.l-row .pc { font: 600 12.5px var(--mono); color: var(--up); text-align: right; }
.live-now .room-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.live-now .room-row > div:nth-child(2) { flex: 1; min-width: 0; }
.live-now .room-row b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-now .room-row span.num { font-size: 11px; color: var(--dim); }
.live-now .av-stack .av { width: 24px; height: 24px; font-size: 8.5px; box-shadow: 0 0 0 2px #101318; }

.fl-up { animation: flUp .9s ease-out; }
.fl-down { animation: flDown .9s ease-out; }
@keyframes flUp { 0% { background: rgba(34, 211, 143, .28); } 100% { background: transparent; } }
@keyframes flDown { 0% { background: rgba(255, 79, 94, .28); } 100% { background: transparent; } }

/* ---------- pillars ---------- */

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 72px; border-radius: 20px; overflow: hidden; background: var(--line); border: 1px solid var(--line); padding: 0; }
.pillar { background: var(--bg); padding: 28px 24px 30px; }
.p-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(255, 178, 36, .22); margin-bottom: 18px; }
.pillar h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.pillar p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
@media (min-width: 1181px) { .pillars { max-width: 1132px; } }

/* ---------- feature sections ---------- */

.feat { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: 56px; align-items: center; padding-top: 140px; }
.feat.rev { grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); }
.feat.rev .feat-copy { order: 2; }
.feat.stack { grid-template-columns: minmax(0, 1fr); gap: 48px; }
.feat-copy.center { text-align: center; max-width: 680px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--amber); }
.eyebrow i { width: 6px; height: 6px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
h2 { margin-top: 16px; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.04; letter-spacing: -.04em; font-weight: 650; }
.feat-copy > p { margin-top: 18px; font-size: 17px; color: #a6aeb8; line-height: 1.65; }
.feat-copy.center > p { margin-left: auto; margin-right: auto; max-width: 580px; }
.ticks { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; font-size: 15px; color: #a6aeb8; line-height: 1.55; }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--up-bg); color: var(--up); stroke-width: 2.6; margin-top: 1px; }

.ui {
  border: 1px solid var(--line2); border-radius: 20px; background: var(--panel);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden; font-size: 14px;
}

.lbl { display: block; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--dim); margin-bottom: 8px; }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.kv > span { color: var(--muted); }
.kv b { font-weight: 600; font-size: 13.5px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .05); margin: 14px 0; }
.seg button { height: 34px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: var(--panel3); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 2px 8px rgba(0, 0, 0, .35); }
.fine { margin-top: 12px; font-size: 12px; color: var(--dim); line-height: 1.5; text-align: center; }

/* copy trading UI */
.copy-ui { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.trader { padding: 22px; min-width: 0; }
.trader-h { display: flex; align-items: center; gap: 14px; }
.trader-id { flex: 1; min-width: 0; }
.trader-id b { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.trader-id .vb { width: 16px; height: 16px; }
.trader-id span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 20px; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stats4 > div { background: var(--panel); padding: 12px; }
.stats4 span { display: block; font-size: 11.5px; color: var(--dim); }
.stats4 b { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; }
.equity { margin-top: 18px; }
.equity-h { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.seg-mini { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.seg-mini b { font: 500 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; color: var(--dim); }
.seg-mini b.on { background: var(--panel3); color: var(--text); }
#equity { width: 100%; height: 170px; margin-top: 10px; }
.alloc { margin-top: 16px; }
.alloc-h { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.alloc-h .num { color: var(--dim); font-size: 11.5px; }
.alloc-bar { display: flex; gap: 3px; height: 8px; margin-top: 10px; }
.alloc-bar i { border-radius: 3px; }
.alloc-l { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font: 12px var(--mono); color: #b4bcc6; }
.alloc-l span { display: inline-flex; align-items: center; gap: 6px; }
.alloc-l i { width: 8px; height: 8px; border-radius: 2px; }

.sheet { border-left: 1px solid var(--line); background: var(--bg2); padding: 22px 20px; display: flex; flex-direction: column; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sheet-h b { font-size: 15px; }
.pill-up { font: 600 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--up-bg); color: var(--up); }
.amt { font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.amt span { color: var(--text); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 16px 0 4px; background: linear-gradient(90deg, var(--amber) var(--p, 9%), rgba(255, 255, 255, .1) var(--p, 9%)); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 178, 36, .35), 0 2px 6px rgba(0, 0, 0, .5); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 178, 36, .35), 0 2px 6px rgba(0, 0, 0, .5); }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(255, 178, 36, .55); }
.sheet .btn { margin-top: 16px; }

/* stock UI */
.stock-ui { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.stock-main { padding: 22px; min-width: 0; }
.stock-h { display: flex; align-items: center; gap: 12px; }
.stock-id { flex: 1; min-width: 0; }
.stock-id b { display: block; font-size: 17px; font-weight: 600; }
.stock-id span { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.stock-px { text-align: right; }
.stock-px b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; border-radius: 6px; padding: 0 4px; margin-right: -4px; }
.stock-px .chg { font-size: 13px; font-weight: 500; }
.tf { display: flex; align-items: center; gap: 2px; margin-top: 16px; }
.tf b { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 7px; color: var(--dim); }
.tf b.on { background: rgba(255, 255, 255, .07); color: var(--text); }
.tf-r { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 11.5px var(--mono); color: var(--muted); }
#candles { width: 100%; height: 250px; margin-top: 10px; }
.sent { margin-top: 14px; }
.sent-bar { height: 8px; border-radius: 6px; background: var(--down); overflow: hidden; }
.sent-bar i { display: block; height: 100%; background: var(--up); border-right: 2px solid var(--panel); }
.sent-l { display: flex; justify-content: space-between; margin-top: 8px; font: 500 12px var(--mono); }
.mini-casts { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mini-cast { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.mini-cast p { font-size: 13px; color: #c3cad3; line-height: 1.45; padding-top: 3px; }
.mini-cast p b { color: var(--text); font-weight: 600; margin-right: 4px; }
.trade-tag { display: inline-block; font: 600 10px/1 var(--mono); padding: 4px 6px; border-radius: 5px; margin-left: 6px; letter-spacing: .04em; vertical-align: 1px; }
.trade-tag.buy { background: var(--up-bg); color: var(--up); }
.trade-tag.watch { background: rgba(255, 255, 255, .07); color: var(--muted); }

.ticket { border-left: 1px solid var(--line); background: var(--bg2); padding: 22px 20px; display: flex; flex-direction: column; }
.ticket .seg { margin-top: 0; margin-bottom: 18px; }
.seg.bs button.on[data-side=buy] { background: var(--up-bg); color: var(--up); box-shadow: inset 0 0 0 1px rgba(34, 211, 143, .3); }
.seg.bs button.on[data-side=sell] { background: var(--down-bg); color: var(--down); box-shadow: inset 0 0 0 1px rgba(255, 79, 94, .3); }
.ticket-in { display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); font: 600 22px var(--mono); transition: border-color .2s; }
.ticket-in:focus-within { border-color: rgba(255, 178, 36, .55); }
.ticket-in span { color: var(--dim); }
.ticket-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: inherit; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 14px; }
.quick button { height: 30px; border-radius: 8px; font: 500 12px var(--mono); background: rgba(255, 255, 255, .05); color: #b4bcc6; transition: background .2s; }
.quick button:hover { background: rgba(255, 255, 255, .1); }
.check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: #c3cad3; cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line2); display: grid; place-items: center; transition: background .2s, border-color .2s; flex: none; }
.check .box .ic { width: 12px; height: 12px; stroke-width: 3; opacity: 0; color: #140d00; }
.check input:checked + .box { background: var(--amber); border-color: var(--amber); }
.check input:checked + .box .ic { opacity: 1; }
.check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(255, 178, 36, .35); }
.ticket .btn { margin-top: auto; }
.ticket .check + .btn { margin-top: 18px; }

/* live room UI */
.room-ui { max-width: 1060px; margin: 0 auto; width: 100%; }
.room-h { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.room-t { flex: 1; min-width: 0; }
.room-t b { display: block; font-size: 16px; font-weight: 600; }
.room-t span { font-size: 12.5px; color: var(--muted); }
.room-meta { display: flex; gap: 16px; font-size: 12.5px; color: #b4bcc6; }
.room-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.room-meta .ic { width: 14px; height: 14px; color: var(--dim); }
.room-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.stage { padding: 26px 22px 20px; background: radial-gradient(70% 80% at 50% 0%, rgba(255, 59, 74, .07), transparent 70%); }
.speakers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.spk { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; }
.spk .av { position: relative; margin-bottom: 6px; transition: box-shadow .25s; }
.spk.speaking .av { box-shadow: 0 0 0 3px var(--bg2), 0 0 0 5px var(--up), 0 0 24px rgba(34, 211, 143, .45); }
.spk b { font-size: 12px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spk > span:not(.av) { font: 10.5px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.spk.host > span:not(.av) { color: var(--amber); }
.muted-spk { opacity: .55; }
.pinned { margin-top: 26px; display: flex; align-items: flex-end; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255, 178, 36, .25); background: rgba(255, 178, 36, .05); }
.pinned-l { flex: 1; min-width: 0; }
.pin-tag { font: 500 11px/1 var(--mono); color: var(--amber); text-transform: uppercase; letter-spacing: .08em; }
.pinned .trade { margin-top: 10px; }
.pinned .btn .ic { width: 15px; height: 15px; }
.room-actions { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.auto-host { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #c3cad3; margin-left: auto; }
.room-side { border-left: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; min-height: 0; }
.side-tabs { display: flex; gap: 2px; padding: 10px 12px 0; border-bottom: 1px solid var(--line); }
.side-tabs b { font-size: 13px; font-weight: 500; color: var(--muted); padding: 8px 10px 10px; position: relative; }
.side-tabs b.on { color: var(--text); }
.side-tabs b.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--amber); border-radius: 2px; }
.room-tape { height: 318px; overflow: hidden; position: relative; }
.room-tape::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--bg2)); pointer-events: none; }
.rt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); animation: rtIn .5s ease-out; }
.rt .who { font-size: 12.5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt .who b { font-weight: 600; }
.rt .who em { font-style: normal; font-weight: 600; }
.rt .who em.b { color: var(--up); }
.rt .who em.s { color: var(--down); }
.rt .amt-r { text-align: right; font: 500 12px/1.3 var(--mono); }
.rt .amt-r span { display: block; color: var(--dim); font-size: 10.5px; }
@keyframes rtIn { from { opacity: 0; transform: translateY(-6px); background: rgba(255, 178, 36, .06); } to { opacity: 1; transform: none; } }

/* ---------- phones ---------- */

.mobile { padding-top: 140px; }
.phones { display: flex; justify-content: center; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.phone {
  width: 300px; height: 620px; border-radius: 48px; position: relative; overflow: hidden;
  background: var(--bg2); border: 10px solid #1b1f25;
  box-shadow: 0 0 0 1px #2b313a, 0 50px 100px -30px rgba(0, 0, 0, .9), 0 -20px 80px -40px rgba(255, 178, 36, .25);
  display: flex; flex-direction: column; font-size: 13px;
}
.phone:nth-child(2) { transform: translateY(40px); }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 5; }
.ph-status { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 6px 24px 0 28px; font-size: 13px; font-weight: 600; flex: none; }
.ph-icons { display: flex; gap: 4px; align-items: flex-end; }
.ph-icons i { width: 4px; border-radius: 1px; background: var(--text); }
.ph-icons i:nth-child(1) { height: 6px; } .ph-icons i:nth-child(2) { height: 9px; } .ph-icons i:nth-child(3) { height: 12px; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-bottom: 1px solid var(--line); flex: none; }
.ph-head .ic { width: 18px; height: 18px; color: var(--muted); }
.ph-tabs { flex: 1; display: flex; justify-content: center; gap: 14px; }
.ph-tabs b { font-size: 13px; font-weight: 500; color: var(--dim); position: relative; padding-bottom: 4px; }
.ph-tabs b.on { color: var(--text); }
.ph-tabs b.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--amber); }
.ph-feed { flex: 1; overflow: hidden; }
.ph-cast { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ph-cast-h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.ph-cast-h .muted, .ph-cast-h .live-badge { margin-left: auto; }
.ph-cast p { margin-top: 6px; font-size: 13px; color: #d7dce2; line-height: 1.45; }
.ph-cast .trade { margin-top: 8px; }
.ph-acts { display: flex; align-items: center; gap: 14px; margin-top: 9px; font: 11.5px var(--mono); color: var(--dim); }
.ph-acts span { display: inline-flex; align-items: center; gap: 5px; }
.ph-acts .ic { width: 13px; height: 13px; }
.copy-pill { margin-left: auto; color: #140d00 !important; background: var(--amber); padding: 5px 10px; border-radius: 7px; font-weight: 600; font-family: var(--font); }
.ph-room { margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; background: rgba(255, 59, 74, .1); border: 1px solid rgba(255, 59, 74, .25); }
.ph-room > div { display: flex; flex-direction: column; min-width: 0; }
.ph-room b { font-size: 13px; }
.ph-room .num { font-size: 11px; color: var(--muted); }
.ph-room .join { margin-left: auto; font-weight: 600; font-size: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.ph-nav { height: 64px; display: flex; align-items: center; justify-content: space-around; border-top: 1px solid var(--line); padding-bottom: 8px; flex: none; background: var(--bg2); }
.ph-nav .ic { width: 21px; height: 21px; color: var(--dim); }
.ph-nav .ic.on { color: var(--text); }
.ph-cast-btn { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--amber); color: #140d00; }
.ph-cast-btn .ic { color: #140d00 !important; stroke-width: 2.4; }

.toast-n {
  position: absolute; top: 52px; left: 10px; right: 10px; z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 18px;
  background: rgba(38, 43, 51, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  animation: pushIn 6s ease-in-out infinite;
}
.toast-n > div { flex: 1; min-width: 0; }
.toast-n b { display: block; font-size: 12.5px; }
.toast-n span { font-size: 11.5px; color: #c3cad3; }
.toast-n .muted { align-self: flex-start; font-size: 11px; }
@keyframes pushIn { 0% { transform: translateY(-120%); opacity: 0; } 8%, 70% { transform: none; opacity: 1; } 80%, 100% { transform: translateY(-120%); opacity: 0; } }
.ph-dim { flex: 1; padding: 70px 14px 0; opacity: .35; }
.ph-cast.ghost { height: 110px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 0; margin-bottom: 10px; }
.ph-cast.ghost.short { height: 70px; }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 26px 26px 0 0; background: var(--panel2); border-top: 1px solid var(--line2); padding: 8px 18px 20px; box-shadow: 0 -20px 50px rgba(0, 0, 0, .55); }
.grab { width: 38px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .18); margin: 0 auto 14px; }
.ps-h { display: flex; align-items: center; gap: 10px; }
.ps-h b { display: block; font-size: 14px; }
.ps-h div span { font: 11.5px var(--mono); color: var(--muted); }
.ps-amt { font-size: 40px; font-weight: 600; text-align: center; margin: 16px 0 10px; letter-spacing: -.03em; }
.ps-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.ps-chips button { height: 32px; border-radius: 9px; font: 500 12.5px var(--mono); background: rgba(255, 255, 255, .06); color: #c3cad3; transition: background .2s, color .2s; }
.ps-chips button.on { background: var(--amber-bg); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 178, 36, .4); }
.ph-sheet .kv { padding: 9px 0; font-size: 12.5px; }
.slide-btn { margin-top: 12px; height: 50px; border-radius: 16px; background: rgba(255, 178, 36, .12); border: 1px solid rgba(255, 178, 36, .3); position: relative; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--amber); overflow: hidden; }
.slide-btn .knob { position: absolute; left: 4px; top: 4px; width: 40px; height: 40px; border-radius: 12px; background: var(--amber); display: grid; place-items: center; color: #140d00; animation: knob 3.2s ease-in-out infinite; }
.slide-btn .knob .ic { width: 18px; height: 18px; stroke-width: 2.4; }
@keyframes knob { 0%, 30% { transform: none; } 60%, 75% { transform: translateX(178px); } 100% { transform: none; } }

/* ---------- how ---------- */

.how { padding-top: 180px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; counter-reset: s; }
.steps li { position: relative; padding: 28px 26px 30px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .005)); }
.step-n { font-size: 13px; color: var(--amber); font-weight: 500; }
.steps h3 { margin-top: 28px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 36px; right: -12px; width: 8px; height: 8px; border-top: 1.5px solid var(--dim); border-right: 1.5px solid var(--dim); transform: rotate(45deg); }

/* ---------- chain ---------- */

.chain { padding-top: 140px; }
.chain-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 48px; border-radius: 28px; border: 1px solid var(--line2); position: relative; overflow: hidden;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(255, 178, 36, .1), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--bg2));
}
.chain-copy p { margin-top: 18px; font-size: 16px; color: #a6aeb8; line-height: 1.65; }
.chain-copy .btn { margin-top: 28px; }
.spec { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(7, 8, 10, .55); }
.spec > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; }
.spec > div + div { border-top: 1px solid var(--line); }
.spec dt { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.spec dt .ic { width: 16px; height: 16px; color: var(--dim); }
.spec dd { font-weight: 500; font-size: 14px; text-align: right; }
.spec dd.soon { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-family: var(--mono); font-size: 13px; }

/* ---------- faq ---------- */

.faq { padding-top: 140px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; position: relative; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.qa details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa details p { padding: 0 40px 22px 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.qa details p a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 178, 36, .4); }

/* ---------- final ---------- */

.final { padding-top: 140px; padding-bottom: 120px; }
.final-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 24px; border-radius: 28px; border: 1px solid rgba(255, 178, 36, .25);
  background: linear-gradient(180deg, rgba(255, 178, 36, .06), rgba(255, 178, 36, .01)), var(--bg2);
  display: flex; flex-direction: column; align-items: center;
}
.final-glow { position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 100%, rgba(255, 178, 36, .25), transparent 70%); pointer-events: none; }
.final-card > * { position: relative; }
.final-card h2 { margin-top: 20px; }
.final-card p { margin-top: 14px; max-width: 520px; color: #a6aeb8; font-size: 17px; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg2); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand p { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 320px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.foot-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.foot-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.foot-legal p { font-size: 12.5px; color: var(--dim); line-height: 1.6; max-width: 920px; }
.foot-legal .copy { margin-top: 6px; font-family: var(--mono); }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 12px 16px; border-radius: 12px; font-size: 14px;
  background: #1b2027; border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 16px; height: 16px; color: var(--amber); }

/* ---------- reveal ---------- */

.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.ticket-in input:focus-visible { outline: none; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .app-body { grid-template-columns: 200px minmax(0, 1fr) 280px; }
  .copy-ui, .stock-ui { grid-template-columns: minmax(0, 1fr) 250px; }
}

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .app-body { grid-template-columns: 76px minmax(0, 1fr) 280px; }
  .app-side { padding: 14px 10px; align-items: center; }
  .side-nav a { font-size: 0; justify-content: center; padding: 10px; position: relative; }
  .side-nav a .count { position: absolute; top: 2px; right: 2px; font-size: 9px; padding: 2px 4px; }
  .cast-btn { font-size: 0; width: 44px; gap: 0; }
  .side-h, .side-ch, .side-me > div:last-child { display: none; }
  .side-me { padding: 6px; background: none; border: 0; }
  .feat, .feat.rev { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 112px; }
  .feat.rev .feat-copy { order: 0; }
  .feat-copy { max-width: 640px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-body { grid-template-columns: minmax(0, 1fr) 280px; }
  .chain-card { grid-template-columns: minmax(0, 1fr); padding: 36px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .app-body { grid-template-columns: 76px minmax(0, 1fr); }
  .app-rail { display: none; }
  .copy-ui, .stock-ui { grid-template-columns: minmax(0, 1fr); }
  .sheet, .ticket { border-left: 0; border-top: 1px solid var(--line); }
  .room-body { grid-template-columns: minmax(0, 1fr); }
  .room-side { border-left: 0; border-top: 1px solid var(--line); }
  .room-tape { height: 260px; }
  .speakers { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li:not(:last-child)::after { top: auto; bottom: -12px; right: 50%; transform: rotate(135deg); }
  .steps h3 { margin-top: 16px; }
  .how { padding-top: 140px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-in { gap: 12px; height: 58px; }
  .chain-pill { display: none; }
  .wm { font-size: 17px; }
  .mark { width: 28px; height: 28px; }
  .hero-in { padding-top: 48px; padding-bottom: 40px; }
  .announce { font-size: 12.5px; margin-bottom: 22px; }
  .nav-cta { gap: 8px; }
  .hide-sm { display: none; }
  .join-row { flex-direction: column; width: 100%; max-width: 360px; }
  .join-row .btn { width: 100%; }
  .micro { font-size: 12px; align-items: flex-start; text-align: left; }
  .micro .ic { margin-top: 2px; }
  .app { border-radius: 14px; }
  .app-bar { padding: 0 10px; gap: 8px; }
  .lights, .bal { display: none; }
  .url { margin: 0; flex: 1; font-size: 11px; }
  .net { font-size: 11px; padding: 6px 8px; }
  .app-body { grid-template-columns: minmax(0, 1fr); height: 620px; }
  .app-side { display: none; }
  .feed-tabs b { padding: 12px 9px; font-size: 13px; }
  .feed-tabs b.on::after { left: 9px; right: 9px; }
  .composer { padding: 12px 14px; }
  .composer .chip { display: none; }
  .cast { padding: 14px 14px 12px; gap: 10px; }
  .cast > .av { width: 32px; height: 32px; font-size: 10.5px; }
  .cast-h .chan, .cast-h .handle { display: none; }
  .cast-f { gap: 14px; }
  .cast-f .tx { display: none; }
  .trade { gap: 10px; padding: 9px 9px 9px 11px; }
  .trade-m .lbl { display: none; }
  .trade .pnl { font-size: 13px; }
  .room-embed { gap: 10px; }
  .room-embed .av-stack { display: none; }
  .copy-btn { padding: 0 10px; }
  .pillars { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .pillar { padding: 24px 20px; }
  .feat, .feat.rev { padding-top: 96px; }
  .trader, .stock-main { padding: 18px 16px; }
  .sheet, .ticket { padding: 18px 16px; }
  .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trader-h .ghost-btn { display: none; }
  #equity { height: 130px; }
  #candles { height: 200px; }
  .stock-px b { font-size: 21px; }
  .room-h { flex-wrap: wrap; padding: 14px 16px; gap: 10px 12px; }
  .room-meta { width: 100%; }
  .stage { padding: 20px 16px; }
  .pinned { flex-direction: column; align-items: stretch; }
  .auto-host { margin-left: 0; }
  .room-actions .ghost-btn.danger { display: none; }
  .mobile { padding-top: 96px; }
  .phones { gap: 28px; margin-top: 40px; }
  .phone:nth-child(2) { transform: none; }
  .how { padding-top: 112px; }
  .chain { padding-top: 96px; }
  .chain-card { padding: 28px 20px; border-radius: 22px; gap: 32px; }
  .spec > div { padding: 13px 14px; }
  .spec dt, .spec dd { font-size: 13px; }
  .faq { padding-top: 96px; }
  .qa summary { font-size: 16px; }
  .final { padding-top: 96px; padding-bottom: 80px; }
  .final-card { padding: 48px 18px; border-radius: 22px; }
  .final-card .join-row { margin-top: 26px; }
}

@media (max-width: 360px) {
  .phone { width: 280px; height: 590px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tape { overflow-x: auto; }
  .toast-n { transform: none; opacity: 1; }
  .rv { opacity: 1; transform: none; }
}
