:root {
  --bg: #000;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --surface-3: #222;
  --line: #262626;
  --line-2: #333;
  --text: #fafafa;
  --muted: #8f8f8f;
  --dim: #5c5c5c;
  --kick: #53fc18;
  --twitch: #a970ff;
  --youtube: #ff3b4e;
  --live: #ff3b4e;
  --good: #4ade80;
  --warn: #fbbf24;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sidebar: 280px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
svg { display: block; flex-shrink: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
::selection { background: #fff; color: #000; }

/* ---------- Layout ---------- */
.app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; transition: grid-template-columns .25s ease; }
.app.collapsed { --sidebar: 84px; }
.sidebar { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 16px; background: var(--bg); z-index: 30; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; min-height: 40px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; padding-left: 6px; }
.brand img { border-radius: 9px; border: 1px solid var(--line-2); }
.collapse-btn { position: absolute; right: -18px; top: 20px; background: var(--bg); border: 1px solid var(--line); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 12px; color: var(--muted); font-size: 18px; font-weight: 500; letter-spacing: -.01em; transition: color .15s, background .15s; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--text); }
.nav a svg { width: 24px; height: 24px; }
.nav .nav-badge { margin-left: auto; font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 1px 8px; font-weight: 500; }
.sidebar-foot { margin-top: auto; }
.account { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; }
.account:hover { background: var(--surface); }
.account-avatar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; background: #000; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.account-text small { color: var(--muted); font-size: 14px; }
.account-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); font-size: 17px; line-height: 1; flex-shrink: 0; transition: background .15s, color .15s; }
.account:hover .account-x { background: var(--text); color: #000; border-color: var(--text); }
.app.collapsed .brand-name, .app.collapsed .nav span, .app.collapsed .account-text, .app.collapsed .account-x, .app.collapsed .nav-badge { display: none; }
.app.collapsed .nav a { justify-content: center; padding: 12px; }
.app.collapsed .collapse-btn svg { transform: rotate(180deg); }

.scrim { display: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px 24px; background: rgba(0,0,0,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.search { flex: 1; min-width: 0; max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--muted); }
.search:focus-within { border-color: #555; }
.search input { flex: 1; background: none; border: 0; outline: none; color: var(--text); min-width: 0; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.search-icon svg { width: 18px; height: 18px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.topbar .menu-btn { display: none; }
.view { padding: 40px 32px 80px; outline: none; width: 100%; max-width: 1480px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 99px; font-weight: 500; font-size: 15px; border: 1px solid transparent; white-space: nowrap; transition: background .15s, border-color .15s, opacity .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-light { background: var(--text); color: #000; }
.btn-light:hover { background: #d9d9d9; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: #444; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Wallet ---------- */
.wallet-wrap { position: relative; }
.wallet-btn { gap: 0; }
.wallet-btn .wallet-dot { margin-right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.wallet-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.wallet-menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.wallet-menu-head small { color: var(--muted); display: block; font-size: 12px; }
.wallet-menu-head code { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.wallet-menu button, .wallet-menu a { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; text-align: left; }
.wallet-menu button:hover, .wallet-menu a:hover { background: var(--surface-2); color: var(--text); }
.wallet-menu svg { width: 16px; height: 16px; }

/* ---------- Platform chips ---------- */
.pf { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #000; flex-shrink: 0; line-height: 1; }
.pf-kick { background: var(--kick); }
.pf-twitch { background: var(--twitch); }
.pf-youtube { background: var(--youtube); color: #fff; }
.pf-lg { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
img.pf { object-fit: cover; background: none; }
.chip-icon { width: 18px; height: 18px; object-fit: contain; }
.pill-icons { display: inline-flex; gap: 4px; margin-left: 4px; }

/* ---------- Home ---------- */
.hero { text-align: center; padding: 40px 0 72px; }
.ticker-pill { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 12px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); font-size: 17px; min-width: 360px; justify-content: center; }
.ticker-pill .amt { font-weight: 600; }
.ticker-pill .to { color: var(--muted); }
.ticker-pill .handle { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.ticker-swap { display: inline-flex; align-items: center; gap: 10px; transition: opacity .3s, transform .3s; }
.ticker-swap.out { opacity: 0; transform: translateY(-6px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,78,.6); } 70% { box-shadow: 0 0 0 8px rgba(255,59,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,78,0); } }
.hero h1 { font-size: clamp(44px, 7vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 48px auto 26px; max-width: 17ch; text-wrap: balance; }
.hero-sub { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); max-width: 38em; margin: 0 auto; line-height: 1.6; text-wrap: balance; }
.hero-sub .inline-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 99px; padding: 0 12px; color: var(--text); vertical-align: middle; font-size: .9em; height: 34px; }
.inline-chip .pf { width: 16px; height: 16px; font-size: 9px; border-radius: 4px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tile-lg { grid-column: span 3; height: 400px; }
.tile-sm { grid-column: span 2; height: 280px; }
.tile-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: linear-gradient(transparent, var(--surface) 55%); font-size: 17px; z-index: 2; }
.tile-foot a { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.tile-foot a:hover { color: var(--text); }
.tile-foot svg { width: 16px; height: 16px; }
.tile-label { color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; padding: 24px 26px 0; }

.marquee { pointer-events: none; user-select: none; display: flex; gap: 12px; padding: 0 12px; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-col { display: flex; flex-direction: column; gap: 12px; width: 200px; flex-shrink: 0; animation: colUp 28s linear infinite; }
.marquee-col:nth-child(even) { animation-name: colDown; }
@keyframes colUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.feed { pointer-events: none; user-select: none; padding: 0 60px; height: 100%; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); overflow: hidden; }
.feed-track { display: flex; flex-direction: column; gap: 12px; animation: colUp 24s linear infinite; }

.fees-num { font-size: clamp(38px, 4vw, 54px); font-weight: 600; letter-spacing: -.03em; padding: 6px 26px; font-variant-numeric: tabular-nums; }
.fees-spark { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; }
.route-demo { padding: 22px 26px; }
.route-input { display: flex; align-items: center; gap: 10px; height: 54px; border: 2px solid var(--text); border-radius: 99px; padding: 0 16px; font-family: var(--mono); font-size: 16px; }
.route-input .caret { width: 2px; height: 20px; background: var(--text); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }
.route-result { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); transition: opacity .3s; }
.route-result small { color: var(--muted); display: block; font-size: 13px; }
.route-amount { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin-top: 14px; color: var(--dim); }
.layout-table { font-family: var(--mono); font-size: 13px; margin: 16px 26px; width: calc(100% - 52px); border-collapse: collapse; }
.layout-table th { color: var(--dim); font-weight: 400; text-align: left; padding: 0 0 8px; }
.layout-table td { padding: 5px 0; color: #cfcfcf; }
.layout-table td:first-child, .layout-table td:nth-child(2) { color: var(--muted); width: 56px; }
.tile-note { color: var(--dim); font-size: 13px; padding: 20px 26px 0; line-height: 1.4; }

/* ---------- Token card ---------- */
.token-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; display: block; transition: border-color .15s; }
a.token-card:hover, button.token-card:hover { border-color: #444; }
button.token-card { text-align: left; width: 100%; }
.token-art { position: relative; aspect-ratio: 1.3; border-radius: 11px; display: grid; place-items: center; font-size: 56px; overflow: hidden; }
.token-art .age { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.65); font-size: 11px; padding: 2px 8px; border-radius: 99px; color: #ddd; }
.token-art .who { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); font-size: 12px; font-weight: 500; padding: 4px 10px 4px 5px; border-radius: 99px; max-width: calc(100% - 16px); }
.token-art .who .pf { width: 16px; height: 16px; font-size: 9px; border-radius: 4px; }
.token-art .who span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-meta { padding: 10px 6px 4px; }
.token-name { font-size: 14px; display: flex; gap: 6px; align-items: baseline; }
.token-name small { color: var(--dim); font-size: 11px; font-family: var(--mono); }
.token-stats { font-size: 15px; font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.token-stats small { color: var(--dim); font-weight: 400; font-size: 11px; margin-left: 2px; }

/* ---------- Payment row ---------- */
.pay-row { display: flex; align-items: center; gap: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.pay-row .pay-amt { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.pay-row .pay-to { color: var(--muted); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.pay-row .pay-to strong { color: var(--text); font-weight: 500; }
.pay-row .pay-time { margin-left: auto; color: var(--muted); font-size: 13px; }
.pay-flow { display: flex; align-items: center; gap: 8px; color: var(--dim); margin-left: auto; }
.pay-flow .mini-art { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.pay-flow svg { width: 18px; height: 18px; }

/* ---------- Page chrome ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -.035em; margin: 0; line-height: 1.05; }
.page-head p { color: var(--muted); margin: 10px 0 0; max-width: 56ch; }
.preview-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; border: 1px dashed var(--line-2); border-radius: 99px; padding: 6px 14px; }
.preview-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }

.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); flex-wrap: wrap; }
.seg button { height: 36px; padding: 0 16px; border-radius: 99px; color: var(--muted); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--text); color: #000; }
.seg button.on .pf { box-shadow: 0 0 0 1.5px #000; }

.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }
.select { height: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 0 16px; color: var(--text); }

.token-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty h3 { color: var(--text); margin: 0 0 6px; font-weight: 500; font-size: 20px; }
.empty .btn { margin-top: 18px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel-pad { padding: 24px 28px; }
.panel h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; }
.panel .sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.stat { padding: 22px 24px; }
.stat small { color: var(--muted); font-size: 14px; display: block; }
.stat strong { font-size: 32px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: block; margin-top: 6px; }
.stat em { font-style: normal; font-size: 13px; color: var(--good); }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 14px; }
.chart { width: 100%; height: 240px; }
.chart-wrap { position: relative; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.bars-h { display: flex; flex-direction: column; gap: 18px; }
.bar-h-row { display: grid; grid-template-columns: 90px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }
.bar-h-row .track { height: 10px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.bar-h-row .fill { height: 100%; border-radius: 99px; }
.bar-h-row b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; color: var(--muted); font-weight: 400; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: 0; }
.cell-user { display: flex; align-items: center; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.status i { width: 7px; height: 7px; border-radius: 50%; }
.status.claimed i { background: var(--good); }
.status.unclaimed i { background: var(--warn); }

/* ---------- Launch ---------- */
.launch-intro { max-width: 1160px; margin: 0 auto 24px; padding: 30px 32px; }
.launch-intro h1 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin: 0 0 8px; }
.launch-intro p { color: var(--muted); margin: 0; max-width: 58ch; }
.launch-shell { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; }
.launch-form { padding: 32px; border-right: 1px solid var(--line); }
.launch-side { background: var(--surface-2); padding: 32px; }
.launch-side-sticky { position: sticky; top: 90px; }
.launch-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.launch-head h2 { font-size: 28px; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.seg-plain button { background: none; }
.venue-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.venue { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-weight: 500; }
.venue.on { border-color: var(--text); color: var(--text); }
.venue .venue-icon { width: 28px; height: 28px; object-fit: contain; }
.venue .venue-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: 13px; }
.venue .soon { font-size: 11px; color: var(--dim); background: var(--surface-3); padding: 2px 8px; border-radius: 99px; }

.field { margin-bottom: 20px; }
.field label, .field .label { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 8px; color: #ddd; }
.field .hint { color: var(--muted); font-size: 13px; margin-top: 8px; }
.field .err { color: #ff8a8a; font-size: 13px; margin-top: 8px; display: none; }
.field.invalid .err { display: block; }
.field.invalid .input, .field.invalid .handle-box { border-color: #a33; }
.input { width: 100%; height: 50px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 16px; outline: none; transition: border-color .15s; }
.input::placeholder { color: var(--dim); }
.input:focus { border-color: #555; }
textarea.input { height: 96px; padding: 14px 16px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }

.platform-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.platform-pick button { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); color: var(--muted); font-weight: 500; }
.platform-pick button:hover { color: var(--text); border-color: #444; }
.platform-pick button.on { color: var(--text); border-color: var(--text); background: var(--surface-3); }
.handle-box { position: relative; display: flex; align-items: center; height: 50px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; gap: 10px; }
.handle-box:focus-within { border-color: #555; }
.handle-box .at { color: var(--muted); font-family: var(--mono); }
.handle-box input { flex: 1; background: none; border: 0; outline: none; height: 100%; min-width: 0; margin-left: -6px; }
.handle-box .domain { color: var(--dim); font-size: 13px; font-family: var(--mono); white-space: nowrap; }
.handle-suggest { margin-top: 8px; display: none; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.handle-suggest.show { display: flex; }
.handle-suggest .avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #000; }
.handle-suggest small { color: var(--muted); display: block; font-size: 13px; }
.handle-suggest .status { margin-left: auto; }

.dropzone { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); cursor: pointer; }
.dropzone:hover, .dropzone.drag { border-color: #666; background: var(--surface-2); }
.dropzone .thumb { width: 54px; height: 54px; border-radius: 10px; background: var(--surface-3); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.dropzone .thumb img { width: 100%; height: 100%; object-fit: cover; }
.dropzone .thumb svg { width: 20px; height: 20px; }
.dropzone small { color: var(--muted); display: block; font-size: 13px; }
.toggle-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.toggle-link svg { width: 14px; height: 14px; transition: transform .2s; }
.toggle-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.socials { display: none; margin-top: 16px; }
.socials.open { display: block; }
.sol-input { position: relative; }
.sol-input .input { padding-right: 70px; }
.sol-input span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; font-family: var(--mono); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #ccc; margin: 4px 0 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #fff; flex-shrink: 0; }
.check a, .fine a { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.fine { color: var(--muted); font-size: 13px; margin-top: 12px; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.notif { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(30,30,30,.9); margin-bottom: 18px; }
.notif img { border-radius: 9px; }
.notif strong { font-size: 14px; display: block; }
.notif p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.notif time { margin-left: auto; font-size: 12px; color: var(--dim); }
.preview-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; }
.preview-art { aspect-ratio: 1.1; border-radius: var(--r); background: var(--surface-3); display: grid; place-items: center; color: var(--dim); overflow: hidden; font-size: 64px; }
.preview-art img { width: 100%; height: 100%; object-fit: cover; }
.preview-meta { padding: 14px 6px 4px; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 6px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.kv b { color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; text-align: right; }

/* ---------- Creators ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.step { padding: 24px; position: relative; }
.step .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.step.done .n { background: var(--text); color: #000; border-color: var(--text); }
.step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.connect-list { display: flex; flex-direction: column; gap: 8px; }
.connect-btn { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); font-weight: 500; }
.connect-btn:hover { border-color: #555; }
.connect-btn span:last-child { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 400; }

/* ---------- Docs ---------- */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; max-width: 1100px; margin: 0 auto; }
.docs-nav { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.docs-nav .group { color: var(--dim); font-size: 13px; margin: 18px 0 6px 12px; }
.docs-nav .group:first-child { margin-top: 0; }
.docs-nav a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.docs-nav a:hover { color: var(--text); background: var(--surface); }
.docs-nav a.active { color: var(--text); background: var(--surface-2); }
.docs-nav select { display: none; }
.prose { max-width: 70ch; font-size: 16px; line-height: 1.7; color: #d4d4d4; }
.prose h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.035em; color: var(--text); font-weight: 600; margin: 0 0 16px; }
.prose h2 { font-size: 24px; letter-spacing: -.02em; color: var(--text); font-weight: 600; margin: 40px 0 10px; }
.prose h3 { font-size: 18px; color: var(--text); font-weight: 600; margin: 28px 0 6px; }
.prose p { margin: 0 0 16px; }
.prose .lede { font-size: 19px; color: var(--muted); line-height: 1.6; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 400; }
.callout { border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r); padding: 16px 18px; margin: 0 0 20px; font-size: 15px; }
.callout strong { color: var(--text); }
.docs-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.docs-pager a { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); min-width: 0; flex: 1; text-decoration: none; }
.docs-pager a:hover { border-color: #444; }
.docs-pager a small { color: var(--muted); font-size: 13px; }
.docs-pager a.next { text-align: right; }

/* ---------- Modal & toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; padding: 20px; animation: fade .18s ease; }
.modal { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; position: relative; animation: pop .22s cubic-bezier(.2,.9,.3,1.2); }
.modal .icon-btn { position: absolute; top: 14px; right: 14px; }
.modal h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.03em; font-weight: 600; }
.modal p { color: var(--muted); margin: 0 0 20px; }
.modal .summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 14px; margin-bottom: 20px; }
.modal .summary .kv:first-child { border-top: 0; }
.modal form { display: flex; gap: 8px; }
.modal form .input { height: 46px; border-radius: 99px; }
.modal-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 12px; margin-bottom: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast { background: var(--text); color: #000; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: pop .2s; max-width: 340px; }
.toast.err { background: #2a1111; color: #ffb4b4; border: 1px solid #5a2222; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tile-lg { grid-column: span 6; }
  .tile-sm { grid-column: span 3; }
  .tile-sm:last-child { grid-column: span 6; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .launch-shell { grid-template-columns: 1fr; }
  .launch-form { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .app, .app.collapsed { grid-template-columns: 1fr; --sidebar: 280px; }
  .sidebar { position: fixed; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .25s ease; }
  .app.menu-open .sidebar { transform: none; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 25; display: none; }
  .app.menu-open .scrim { display: block; }
  .collapse-btn { display: none; }
  .app.collapsed .brand-name, .app.collapsed .nav span, .app.collapsed .account-text, .app.collapsed .account-x { display: initial; }
  .topbar .menu-btn { display: grid; }
  .topbar { padding: 10px 14px; gap: 10px; }
  .top-actions > .btn-light { display: none; }
  .view { padding: 28px 16px 60px; }
  .docs { grid-template-columns: 1fr; gap: 20px; }
  .docs-nav { position: static; }
  .docs-nav a, .docs-nav .group { display: none; }
  .docs-nav select { display: block; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .search { height: 40px; }
  .search input::placeholder { font-size: 14px; }
  .wallet-btn { padding: 0 14px; height: 40px; font-size: 14px; }
  .wb-long { display: none; }
  .toasts { left: 16px; right: 16px; }
  .ticker-pill { min-width: 0; font-size: 14px; height: 44px; }
  .hero { padding-top: 20px; }
  .tile-sm, .tile-sm:last-child { grid-column: span 6; }
  .tile-lg { height: 340px; }
  .feed { padding: 0 14px; }
  .pay-row .pay-amt { font-size: 20px; }
  .pay-flow { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 24px; }
  .row-2, .platform-pick { grid-template-columns: 1fr; }
  .launch-form, .launch-side, .launch-intro { padding: 22px 18px; }
  .handle-box .domain { display: none; }
  .modal form { flex-direction: column; }
  .page-head h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
