/* Avatar — dark, TikTok cyan/pink used as an accent, never as decoration everywhere */
:root {
  --ink: #07070a;
  --ink2: #0b0b0f;
  --panel: #111116;
  --panel2: #17171d;
  --line: #222229;
  --line2: #2d2d36;
  --paper: #f5f5f7;
  --muted: #8d8c98;
  --dim: #5e5d69;
  --cyan: #25f4ee;
  --pink: #fe2c55;
  --good: #3ee08f;
  --warn: #ffb648;
  --r: 14px;
  --display: 'Archivo Black', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --glitch: -2px -2px 0 var(--cyan), 2px 2px 0 var(--pink);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 500 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }
input, textarea, select { font: inherit; }
.mono { font-family: var(--mono); font-weight: 500; }
.num { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.cyan { color: var(--cyan); }
.pink { color: var(--pink); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 10px; border: 0; background: rgba(255, 255, 255, .07); color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .04);
  font-weight: 600; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .1s, opacity .15s;
}
.btn:hover { background: rgba(255, 255, 255, .11); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .icon-btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-paper { background: var(--paper); color: var(--ink); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .14), 0 1px 2px rgba(0, 0, 0, .35); }
.btn-paper:hover { background: #fff; }
.btn-lg.btn-paper:hover { box-shadow: -2px 0 0 var(--cyan), 2px 0 0 var(--pink), inset 0 -1px 0 rgba(0, 0, 0, .14); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px #3a3a45; }
.btn-pink { background: var(--pink); color: #fff; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18); }
.btn-pink:hover { background: #ff4166; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; transition: background .15s, color .15s; }
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--paper); }
.icon-btn svg { width: 15px; height: 15px; fill: currentColor; }
.link { color: var(--cyan); }
.link:hover { text-decoration: underline; }

/* ── Brand ───────────────────────────────────────────────── */
.logo { display: inline-flex; align-items: flex-start; gap: 2px; font: 400 27px/1 var(--display); letter-spacing: -0.045em; }
.logo .mark { width: 17px; height: 17px; margin: -3px 0 0 1px; }
.logo-sm { font-size: 22px; }
.logo-sm .mark { width: 14px; height: 14px; }

/* ── Header ──────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; background: rgba(7, 7, 10, .55); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
body.scrolled .top, body.feed-mode .top { background: rgba(7, 7, 10, .86); border-bottom-color: var(--line); }
.top-in { max-width: 1240px; margin: 0 auto; height: 64px; padding: 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav { display: flex; gap: 4px; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; transition: color .15s; }
.nav a:hover { color: var(--paper); }
.nav a.on { color: var(--paper); }
.nav a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.top .btn { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; gap: 7px; }
.top .btn-paper svg { width: 13px; height: 13px; margin-left: -2px; }
.top .sep { width: 1px; height: 20px; background: var(--line2); margin: 0 4px; }
#walletBtn .wdot { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(from 200deg, var(--cyan), var(--pink), var(--cyan)); }
#walletBtn svg { width: 15px; height: 15px; color: var(--muted); }
.top-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.wallet-wrap { position: relative; }
#walletBtn.connected { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.wallet-menu { position: absolute; right: 0; top: 48px; z-index: 5; background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 6px; min-width: 180px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.wallet-menu button, .wallet-menu a { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 10px; font-size: 14px; }
.wallet-menu button:hover, .wallet-menu a:hover { background: var(--panel2); }
.platform-bar { border-bottom: 1px solid var(--line); background: var(--ink2); font-size: 13px; }
.platform-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; height: 36px; color: var(--muted); }
.platform-bar b { color: var(--paper); }
.platform-bar button { background: none; border: 0; color: var(--muted); font-family: var(--mono); font-size: 12px; padding: 0; }
.platform-bar button:hover { color: var(--paper); }

main { min-height: calc(100vh - 66px); }

/* ── Platform logos ──────────────────────────────────────── */
.plat { display: inline-grid; place-items: center; flex: none; border-radius: 6px; width: 22px; height: 22px; }
.plat svg { width: 62%; height: 62%; }
.plat.tt { background: #000; box-shadow: inset 0 0 0 1px #2a2a2a; }
.plat.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.plat.lg { width: 30px; height: 30px; border-radius: 10px; }
.plat.xl { width: 44px; height: 44px; border-radius: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); font-weight: 600; font-size: 13px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.h1 { font: 400 clamp(46px, 5.6vw, 82px)/.98 var(--display); letter-spacing: -0.045em; margin: 0; }
.h1 .hl { position: relative; display: inline-block; color: var(--ink); background: var(--paper); padding: 0 .16em .04em; margin-top: .12em; box-shadow: -5px -4px 0 var(--cyan), 5px 4px 0 var(--pink); transform: rotate(-1deg); }
.lede { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 540px; margin: 28px 0 30px; }
.lede b { color: var(--paper); font-weight: 600; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.posts-to { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.stage { position: relative; height: 640px; }
.stage .glow { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(254, 44, 85, .22), rgba(37, 244, 238, .08) 60%, transparent); filter: blur(30px); }
.phone { position: absolute; width: 292px; aspect-ratio: 9 / 18.6; border-radius: 44px; padding: 9px; background: #0d0d10; box-shadow: 0 0 0 1.5px #2b2b33, 0 50px 100px rgba(0, 0, 0, .7); }
.phone .screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.phone .notch { position: absolute; z-index: 5; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; }
.stage .p1 { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.stage .p2 { left: 2%; top: 70px; transform: rotate(-8deg) scale(.82); z-index: 1; opacity: .7; }
.stage .p3 { right: 2%; top: 80px; transform: rotate(8deg) scale(.82); z-index: 1; opacity: .7; }
.toast-card { position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; background: rgba(17, 17, 22, .94); border: 1px solid var(--line2); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); font-size: 13px; max-width: 260px; }
.toast-card img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.toast-card b { display: block; font-size: 14px; }
.toast-card small { color: var(--muted); }
.toast-card .plat { position: absolute; left: 34px; top: 32px; width: 18px; height: 18px; border-radius: 6px; box-shadow: 0 0 0 2px var(--panel); }
.stage .t1 { left: -2%; top: 20%; animation: bob 6s ease-in-out infinite; }
.stage .t2 { right: -3%; bottom: 18%; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ── Clip (one vertical video in TikTok clothes) ──────────── */
.clip { position: absolute; inset: 0; background: #000; overflow: hidden; color: #fff; }
.clip > video, .clip > .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip > .still { animation: kenburns 10s ease-in-out infinite alternate; transform-origin: 50% 35%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.clip::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, transparent 16%, transparent 58%, rgba(0, 0, 0, .8) 100%); }
.clip-top { position: absolute; z-index: 2; top: 44px; left: 0; right: 0; display: flex; justify-content: center; gap: 18px; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, .62); }
.clip-top b { color: #fff; position: relative; }
.clip-top b::after { content: ''; position: absolute; left: 25%; right: 25%; bottom: -5px; height: 2.5px; border-radius: 2px; background: #fff; }
.clip.flat .clip-top { top: 14px; }
.clip-hook { position: absolute; z-index: 2; left: 50%; top: 23%; transform: translateX(-50%); max-width: 82%; text-align: center; background: #fff; color: #000; font-weight: 700; font-size: 15px; padding: 5px 10px 6px; border-radius: 6px; line-height: 1.25; }
.clip-sub { position: absolute; z-index: 2; left: 9%; right: 20%; bottom: 30%; text-align: center; font-weight: 800; font-size: 16px; line-height: 1.3; text-shadow: 0 0 3px #000, 0 2px 8px rgba(0, 0, 0, .9); }
.clip-sub span { opacity: 0; transition: opacity .12s; }
.clip-sub span.on { opacity: 1; }
.clip-rail { position: absolute; z-index: 2; right: 9px; bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.clip-rail .av { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: #333 center/cover; position: relative; margin-bottom: 4px; }
.clip-rail .av::after { content: '+'; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--pink); font-weight: 800; font-size: 14px; line-height: 17px; text-align: center; }
.rail-i { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; font-weight: 700; text-shadow: 0 1px 3px #000; }
.rail-i svg { width: 31px; height: 31px; fill: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.rail-i.liked svg { fill: var(--pink); }
.disc { width: 34px; height: 34px; border-radius: 50%; background: #222 center/cover; border: 7px solid #111; animation: spin 5s linear infinite; }
.clip-meta { position: absolute; z-index: 2; left: 12px; right: 66px; bottom: 16px; font-size: 13px; line-height: 1.38; }
.clip-meta .who { font-weight: 800; font-size: 15px; margin-bottom: 3px; }
.clip-meta .cap { color: rgba(255, 255, 255, .92); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip-meta .tag { font-weight: 700; }
.clip-meta .snd { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.clip-meta .snd svg { width: 12px; height: 12px; fill: #fff; flex: none; }
.clip-ai { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.clip-coin { position: relative; z-index: 3; margin-bottom: 9px; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); border-radius: 10px; padding: 6px 8px; font-size: 12px; font-weight: 700; }
.clip-coin img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; }
.clip-coin span { margin-left: auto; background: var(--pink); color: #fff; border-radius: 6px; padding: 3px 8px; }

.ex-badge { position: absolute; z-index: 3; top: 16px; left: 14px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }
.phone .ex-badge { top: 46px; }

/* Live ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink2); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 10px; width: max-content; padding: 12px 0; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tick { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.tick img { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; }
.tick b { font-weight: 700; }
.tick .muted { font-size: 12px; }

/* ── Stats ───────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 88px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink2); }
.stats > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font: 400 34px/1.1 var(--display); letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 14px; }

/* ── Sections ────────────────────────────────────────────── */
.sec { margin-bottom: 96px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.h2 { font: 400 clamp(32px, 3.8vw, 48px)/1.02 var(--display); letter-spacing: -0.04em; margin: 0; }
.h2 + p { color: var(--muted); margin: 10px 0 0; font-size: 16px; max-width: 560px; }
.tabs { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); border-radius: 10px; padding: 3px; }
.tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; font-weight: 600; font-size: 13px; color: var(--muted); }
.tabs button:hover { color: var(--paper); }
.tabs button.on { background: rgba(255, 255, 255, .1); color: var(--paper); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }

/* Coin cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: -3px -3px 0 rgba(37, 244, 238, .7), 3px 3px 0 rgba(254, 44, 85, .7); }
.card .thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.card .thumb img, .card .thumb video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .78)); }
.card .over { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 11px; display: flex; align-items: center; justify-content: space-between; }
.card .views { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; }
.card .views svg { width: 13px; height: 13px; fill: #fff; }
.card .plats { display: flex; gap: 5px; }
.card .new { position: absolute; z-index: 1; top: 11px; left: 11px; font-size: 12px; font-weight: 700; background: var(--pink); color: #fff; padding: 3px 8px; border-radius: 6px; }
.card .live { position: absolute; z-index: 1; top: 11px; right: 11px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); flex: none; }
.card .body { padding: 13px 14px 14px; }
.card .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card .nm b { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .tk { font: 500 13px var(--mono); color: var(--cyan); }
.card .row { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 7px; }
.card .row .num { color: var(--paper); }
.bar { height: 4px; border-radius: 3px; background: var(--panel2); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); }

/* Video strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 216px; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.vthumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; scroll-snap-align: start; border: 1px solid var(--line); cursor: pointer; }
.vthumb > img, .vthumb > video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vthumb:hover > img { transform: scale(1.04); }
.vthumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 25%, transparent 55%, rgba(0, 0, 0, .85)); }
.vthumb .hook { position: absolute; z-index: 1; top: 14%; left: 8px; right: 8px; text-align: center; }
.vthumb .hook span { background: #fff; color: #000; font-weight: 700; font-size: 12px; line-height: 1.75; padding: 3px 7px 4px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.vthumb .meta { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; font-size: 12px; }
.vthumb .meta .who { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; }
.vthumb .meta .who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1.5px solid #fff; }
.vthumb .meta .ln { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-weight: 700; }
.vthumb .meta .ln .plats { display: flex; gap: 4px; }
.vthumb .meta .ln .plat { width: 20px; height: 20px; border-radius: 6px; }
.vthumb .working { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; background: rgba(7, 7, 10, .72); font-weight: 600; font-size: 13px; padding: 16px; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--pink); border-right-color: var(--cyan); animation: spin .9s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--ink2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; }
.step .n { font: 500 13px var(--mono); color: var(--muted); }
.step h3 { font: 400 23px/1.15 var(--display); letter-spacing: -0.03em; margin: 10px 0 8px; }
.step p { color: var(--muted); margin: 0; }
.step .vis { margin-top: 22px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); padding: 14px; min-height: 132px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 13px; }
.vis-row { display: flex; align-items: center; gap: 10px; }
.vis-row img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.vis-row b { font-weight: 700; }
.vis-row .r { margin-left: auto; }
.vis-line { height: 8px; border-radius: 4px; background: var(--panel2); }
.vis-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; }

/* Fee split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ink2); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.split p { color: var(--muted); margin: 14px 0 0; }
.split p b { color: var(--paper); font-weight: 600; }
.splitbar { display: flex; height: 76px; border-radius: 14px; overflow: hidden; }
.splitbar > div { display: flex; flex-direction: column; justify-content: center; padding: 0 18px; }
.splitbar small { font-size: 13px; font-weight: 600; opacity: .8; }
.splitbar b { font: 400 26px/1.1 var(--display); letter-spacing: -0.03em; }
.splitbar .a { background: var(--paper); color: var(--ink); }
.splitbar .b { background: var(--pink); color: #fff; }
.math { margin-top: 16px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.math div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.math div b { color: var(--paper); font-family: var(--mono); font-weight: 500; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq details { background: var(--ink2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-radius: 20px; padding: 44px; background: var(--paper); color: var(--ink); margin-bottom: 80px; box-shadow: -6px -6px 0 var(--cyan), 6px 6px 0 var(--pink); }
.cta-band .h2 { color: var(--ink); }
.cta-band p { margin: 8px 0 0; color: #55545e; font-size: 16px; }
.cta-band .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cta-faces { display: flex; }
.cta-faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); margin-left: -12px; }
.cta-faces img:first-child { margin-left: 0; }

/* $AVATAR levels */
.lv { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border-radius: 6px; font: 600 11px/1 var(--mono); color: var(--paper); background: var(--panel2); border: 1px solid var(--line2); vertical-align: 2px; white-space: nowrap; }
.lv3, .lv4 { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.lv5 { color: #fff; background: var(--pink); border-color: var(--pink); box-shadow: -1.5px -1.5px 0 var(--cyan); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.perk { background: var(--ink2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.perk .n { font: 500 13px var(--mono); color: var(--muted); }
.perk h3 { font: 400 21px/1.15 var(--display); letter-spacing: -0.03em; margin: 8px 0 6px; }
.perk p { color: var(--muted); margin: 0; }
.pool-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.pool-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.pool-card span { color: var(--muted); font-size: 13px; display: block; }
.pool-card b { display: block; font-size: 20px; font-weight: 600; margin: 2px 0; }
.pool-card b.num { font-family: var(--mono); font-weight: 500; }
.pool-card small { color: var(--dim); font-size: 12px; }
.tbl.levels tbody tr { cursor: default; }
.tbl.levels tr.on td { background: var(--panel); }
.lvhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lvhead h3 { margin: 0; }
.lvbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 8px; }
.lvbar i { height: 6px; border-radius: 3px; background: var(--panel2); }
.lvbar i.on { background: linear-gradient(90deg, var(--cyan), var(--pink)); }

/* ── Page heads ──────────────────────────────────────────── */
.page-h { padding: 48px 0 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-h h1 { font: 400 clamp(38px, 4.6vw, 60px)/1 var(--display); letter-spacing: -0.045em; margin: 0; }
.page-h p { color: var(--muted); margin: 10px 0 0; font-size: 16px; max-width: 620px; }

/* ── Coins table ─────────────────────────────────────────── */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: var(--muted); }
.search input { width: 100%; height: 42px; background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 0 14px 0 38px; color: var(--paper); outline: none; }
.search input:focus { border-color: var(--cyan); }
.view-toggle { margin-left: auto; }
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; overflow-x: auto; background: var(--ink2); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { cursor: pointer; transition: background .12s; }
.tbl tbody tr:hover { background: var(--panel); }
.tbl .coin { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.tbl .coin img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; object-position: 50% 20%; }
.tbl .coin b { display: block; font-weight: 700; }
.tbl .coin .tk { font: 500 12px var(--mono); color: var(--cyan); }
.tbl .prog { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.tbl .prog .bar { width: 64px; margin: 0; }
.tbl .plats { display: flex; gap: 5px; }
.empty { border: 1px dashed var(--line2); border-radius: var(--r); padding: 56px 24px; text-align: center; color: var(--muted); }
.empty b { color: var(--paper); display: block; font-size: 18px; margin-bottom: 6px; }

/* ── Feed ────────────────────────────────────────────────── */
.feed { height: calc(100vh - 66px); overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.feed-item { position: relative; height: calc(100vh - 66px); scroll-snap-align: start; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 18px; }
.frame { position: relative; height: 100%; max-height: 880px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .65); }
.feed-side { align-self: flex-end; width: 250px; padding-bottom: 24px; display: grid; gap: 10px; }
.coin-pill { display: flex; gap: 11px; align-items: center; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 12px; }
.coin-pill img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.coin-pill b { display: block; font-weight: 700; }
.coin-pill small { color: var(--muted); font-size: 13px; }
.sound-btn { position: absolute; z-index: 4; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); display: grid; place-items: center; }
.sound-btn svg { width: 18px; height: 18px; fill: #fff; }
.feed-hint { position: fixed; z-index: 30; right: 26px; bottom: 26px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.feed-hint button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel); font-size: 18px; }

/* ── Launch ──────────────────────────────────────────────── */
.launch { display: grid; grid-template-columns: 1.12fr .88fr; gap: 28px; align-items: start; padding-bottom: 88px; }
.panel { background: var(--ink2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.panel + .panel { margin-top: 14px; }
.panel h3 { font: 400 20px/1.2 var(--display); letter-spacing: -0.03em; margin: 0 0 16px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field > label small { color: var(--dim); font-weight: 500; }
.field input, .field textarea { width: 100%; background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; color: var(--paper); font-size: 15px; outline: none; transition: border-color .12s, box-shadow .12s; }
.field textarea { min-height: 108px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(37, 244, 238, .12); }
.field .hint { color: var(--dim); font-size: 13px; margin-top: 6px; display: flex; justify-content: space-between; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prefix { position: relative; }
.prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.prefix input { padding-left: 28px; font-family: var(--mono); }
.field > label.drop, .drop { display: flex; gap: 16px; align-items: center; border: 1.5px dashed var(--line2); border-radius: 14px; padding: 14px; cursor: pointer; background: var(--panel); transition: border-color .15s; }
.drop:hover, .drop.over { border-color: var(--cyan); }
.drop .pic { width: 88px; height: 88px; border-radius: 10px; background: var(--panel2) center/cover; flex: none; display: grid; place-items: center; color: var(--dim); }
.drop .pic svg { width: 28px; height: 28px; fill: currentColor; }
.drop b { display: block; font-weight: 700; }
.drop small { color: var(--muted); font-size: 13px; }
.ideas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.ideas button { border: 1px solid var(--line2); background: none; border-radius: 999px; padding: 5px 11px; font-size: 13px; color: var(--muted); }
.ideas button:hover { color: var(--paper); border-color: var(--muted); }
.amounts { display: flex; gap: 6px; margin-top: 8px; }
.amounts button { flex: 1; border: 1px solid var(--line2); background: var(--panel); border-radius: 10px; padding: 7px 0; font: 500 13px var(--mono); }
.amounts button:hover, .amounts button.on { border-color: var(--paper); }
.side-sticky { position: sticky; top: 90px; }
.preview { display: grid; place-items: center; padding: 6px 0 22px; }
.preview .phone { position: relative; width: 268px; }
.receipt { display: grid; border-top: 1px solid var(--line); }
.receipt div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.receipt div b { color: var(--paper); font-family: var(--mono); font-weight: 500; }
.receipt div.total b { font-size: 15px; }
.err { color: var(--pink); font-weight: 600; font-size: 14px; min-height: 20px; margin: 4px 0 12px; }
.fine { color: var(--dim); font-size: 13px; margin: 12px 0 0; }

/* ── Coin page ───────────────────────────────────────────── */
.coin-h { display: flex; gap: 22px; align-items: center; padding: 40px 0 28px; flex-wrap: wrap; }
.coin-h .av { width: 108px; height: 108px; border-radius: 26px; object-fit: cover; object-position: 50% 20%; box-shadow: -4px -4px 0 var(--cyan), 4px 4px 0 var(--pink); }
.coin-h h1 { font: 400 clamp(36px, 4.4vw, 56px)/1 var(--display); letter-spacing: -0.045em; margin: 0 0 8px; }
.coin-h .sub { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.coin-h .tk { font: 500 15px var(--mono); color: var(--cyan); }
.coin-h .ca { background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 3px 8px; font: 500 12px var(--mono); color: var(--muted); }
.coin-h .ca:hover { color: var(--paper); }
.coin-h .acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.coin-grid { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; padding-bottom: 88px; }
.chart-box { position: relative; height: 460px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--ink2); }
.chart-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--ink2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.kpi span { color: var(--muted); font-size: 13px; }
.kpi b { display: block; font: 500 21px/1.3 var(--mono); letter-spacing: -0.02em; margin-top: 2px; }
.persona { background: var(--ink2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--muted); margin-bottom: 26px; }
.persona b { color: var(--paper); font-weight: 600; }
.sub-h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; }
.sub-h h2 { font: 400 24px/1 var(--display); letter-spacing: -0.03em; margin: 0; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.box { background: var(--ink2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 14px; }
.box h3 { font: 400 20px/1.1 var(--display); letter-spacing: -0.03em; margin: 0 0 14px; }
.big { font: 500 40px/1 var(--mono); letter-spacing: -0.04em; }
.big small { font: 600 14px var(--body); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; }
.note { font-size: 13px; color: var(--muted); background: var(--panel); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.note.warn { color: var(--warn); }
.acc { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 10px; margin-bottom: 8px; background: var(--panel); }
.acc .av2 { position: relative; }
.acc .av2 img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.acc .av2 .plat { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 6px; box-shadow: 0 0 0 2px var(--panel); }
.acc b { font-size: 14px; font-weight: 700; }
.acc small { display: block; color: var(--muted); font-size: 12px; }
.acc .x { margin-left: auto; background: none; border: 0; color: var(--dim); font-size: 20px; line-height: 1; }
.acc .x:hover { color: var(--pink); }
.connect { display: grid; gap: 8px; margin-top: 4px; }
.btn-tt { background: #000; border-color: #2c2c2c; }
.btn-tt:hover { background: #111; box-shadow: var(--glitch); }
.btn-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border: 0; color: #fff; }
.btn-ig:hover { filter: brightness(1.08); }
.btn .plat { width: 20px; height: 20px; border-radius: 6px; background: transparent; box-shadow: none; }
.owner-tools { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.owner-tools textarea { width: 100%; min-height: 96px; background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 10px; color: var(--paper); line-height: 1.45; }
.owner-tools summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; padding: 6px 0; }

/* Modal player */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px; }
.modal .frame { height: min(88vh, 860px); }
.modal .close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel); font-size: 22px; }
.modal .side { width: 240px; display: grid; gap: 10px; align-self: flex-end; padding-bottom: 30px; }

/* ── Docs ────────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-bottom: 96px; align-items: start; }
.docs-nav { position: sticky; top: 92px; display: grid; gap: 2px; }
.docs-nav .grp { color: var(--dim); font-size: 12px; font-weight: 600; margin: 14px 0 4px 12px; }
.docs-nav .grp:first-child { margin-top: 0; }
.docs-nav a { padding: 7px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.docs-nav a:hover { color: var(--paper); }
.docs-nav a.on { color: var(--paper); background: var(--panel); }
.legal { padding: 56px 0 96px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.foot-base a { color: var(--muted); }
.foot-base a:hover { color: var(--paper); }
.prose { max-width: 760px; font-size: 16px; line-height: 1.7; }
.prose h2 { font: 400 30px/1.15 var(--display); letter-spacing: -0.035em; margin: 0 0 14px; }
.prose h3 { font: 700 18px/1.3 var(--body); margin: 30px 0 8px; }
.prose p, .prose li { color: #c3c2cc; }
.prose b, .prose strong { color: var(--paper); font-weight: 600; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose code { font: 500 13px var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--paper); word-break: break-all; }
.prose a { color: var(--cyan); }
.prose a:hover { text-decoration: underline; }
.prose .lead { font-size: 18px; color: var(--muted); }
.callout { border: 1px solid var(--line2); background: var(--ink2); border-radius: 10px; padding: 14px 16px; margin: 18px 0; color: var(--muted); font-size: 15px; }
.callout b { color: var(--paper); }
.dtbl { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dtbl th, .dtbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtbl th { color: var(--muted); font-weight: 600; background: var(--ink2); }
.dtbl td { color: #c3c2cc; }
.dtbl td:first-child { color: var(--paper); font-weight: 600; white-space: nowrap; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0; }
.flow div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 13px; color: var(--muted); }
.flow div b { display: block; color: var(--paper); font-size: 14px; margin-bottom: 2px; }
.docs-next { display: flex; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.docs-next a { display: block; flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: var(--muted); font-size: 13px; }
.docs-next a b { display: block; color: var(--paper); font-size: 15px; }
.docs-next a:hover { border-color: var(--line2); background: var(--ink2); }
.docs-next a.nx { text-align: right; }

/* Toast */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--panel2); border: 1px solid var(--line2); color: var(--paper); padding: 12px 18px; border-radius: 10px; font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 80; width: max-content; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { border-color: var(--pink); color: #ffd3dc; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--ink2); }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 44px 24px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 340px; }
.foot h4 { font-size: 13px; font-weight: 600; color: var(--dim); margin: 4px 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.foot ul a { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.foot ul a:hover { color: var(--paper); }
.foot ul a svg { width: 14px; height: 14px; }
.foot-base { max-width: 1240px; margin: 0 auto; padding: 18px 24px 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.feed-mode .foot { display: none; }

/* ── Responsive ──────────────────────────────────────────── */
/* Bottom tab bar (phones only) */
.tabbar { display: none; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .stage { height: 600px; max-width: 620px; margin: 0 auto; width: 100%; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .launch, .coin-grid, .split { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .feed-side, .modal .side { display: none; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .docs-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .docs-nav .grp { display: none; }
  .docs-nav a { white-space: nowrap; background: var(--panel); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .top-in { padding: 0 16px; grid-template-columns: auto 1fr; height: 58px; }
  .top .sep { display: none; }
  .nav { display: none; }
  .top-right .icon-btn { display: none; }
  #walletBtn { padding: 0 12px; }
  .wrap { padding: 0 16px; }
  .platform-bar .wrap { justify-content: space-between; }
  .hero { padding-top: 32px; gap: 20px; }
  .lede { font-size: 16px; }
  .stage { height: 560px; }
  .stage .p2, .stage .p3 { display: none; }
  .stage .t1 { left: 0; top: 4%; }
  .stage .t2 { right: 0; bottom: 4%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .body { padding: 10px 11px 12px; }
  .steps, .faq, .perks, .pool-row { grid-template-columns: 1fr; }
  .split, .cta-band { padding: 24px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .chart-box { height: 340px; }
  .row2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .tbl .hide-sm { display: none; }
  .tbl td, .tbl th { padding: 10px 12px; }
  .view-toggle { margin-left: 0; }
  .feed-item { padding: 0; }
  .frame { border-radius: 0; max-height: none; width: 100%; aspect-ratio: auto; }
  .feed-hint { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(7, 7, 10, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font-size: 10.5px; font-weight: 600; }
  .tabbar a svg { width: 21px; height: 21px; }
  .tabbar a.on { color: var(--paper); }
  .tabbar .tab-launch b { display: grid; place-items: center; width: 42px; height: 28px; border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 20px; line-height: 1; box-shadow: -3px 0 0 var(--cyan), 3px 0 0 var(--pink); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.feed-mode { padding-bottom: 0; }
  #toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .feed, .feed-item { height: calc(100dvh - 66px - 58px - env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .top-right .btn-paper { display: none; }
}
