/* TenX launchpad — one screen, six tabs. Black, white lines, the glass cube always on stage. */
:root {
  --bg: #000; --fg: #fff; --muted: rgba(255,255,255,.62); --faint: rgba(255,255,255,.38);
  --line: rgba(255,255,255,.16); --line-strong: rgba(255,255,255,.85);
  --glass: rgba(8,8,10,.58); --glass-hi: rgba(255,255,255,.06);
  --bad: #ff7a7a; --good: #8affc1; --warn: #ffd36b;
  --pad-x: clamp(20px, 6.95vw, 120px);
  --nav-top: clamp(24px, 4.7vh, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #000; color: #fff; font-family: 'Poppins', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; overflow: clip; background: #000; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#scene.dragging { cursor: grabbing; }
.ui { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; overflow: clip; }
.ui a, .ui button, .ui input, .ui select, .ui textarea, .ui label, .card { pointer-events: auto; }

.fallback-headline { display: block; pointer-events: none; transition: opacity .6s; position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); font-weight: 800; font-size: clamp(64px, 11.8vw, 180px); line-height: 1.02; color: #e9e9e9; text-align: center; letter-spacing: -0.02em; }
.scene-on .fallback-headline { opacity: 0; }
#scene { opacity: 0; transition: opacity .6s; }
.scene-on #scene { opacity: 1; }
.no-webgl .fallback-headline { display: block; opacity: 1; }
.no-webgl #scene { display: none; }

/* ---------- nav */
.nav { position: absolute; top: var(--nav-top); left: var(--pad-x); right: var(--pad-x); display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 15px; letter-spacing: -0.01em; flex: none; }
.logo-mark { width: 40px; height: 40px; }
.logo .word { font-weight: 400; } .logo b { font-weight: 700; }
.chip { flex: none; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(255,211,107,.5); border-radius: 999px; padding: 3px 9px; cursor: help; pointer-events: auto; }
.tabs { margin-left: auto; display: flex; gap: clamp(16px, 2.6vw, 44px); }
.tabs a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; position: relative; opacity: .82; transition: opacity .25s; white-space: nowrap; }
.tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.tabs a:hover { opacity: 1; }
.tabs a:hover::after, .tabs a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.tabs a[aria-current="page"] { opacity: 1; }
.wallet-btn { flex: none; height: 38px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: rgba(0,0,0,.2); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s; font-variant-numeric: tabular-nums; }
.wallet-btn:hover { background: #fff; color: #000; }
.wallet-btn.on { border-color: rgba(138,255,193,.7); }

.net { position: absolute; top: calc(var(--nav-top) + 52px); left: var(--pad-x); display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.coin { position: absolute; top: calc(var(--nav-top) + 80px); left: var(--pad-x); display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .04em; pointer-events: auto; }
.coin-buy { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 1px; }
.coin-buy b { color: var(--good); font-weight: 600; }
.coin-buy:hover { border-bottom-color: #fff; }
.coin-ca { font: inherit; font-variant-numeric: tabular-nums; color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.coin-ca:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.net-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.net.live .net-dot { background: var(--good); box-shadow: 0 0 10px var(--good); }
.net.off .net-dot { background: var(--warn); }

/* ---------- arrows + dots */
.arrows { position: absolute; top: 18.9%; left: 76.7%; display: flex; gap: 32px; transform: translate(-19px, -50%); transition: left .7s var(--ease), top .7s var(--ease), transform .7s var(--ease); }
.arrow { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s; }
.arrow svg { width: 18px; height: 18px; }
.arrow:hover { background: #fff; color: #000; }
.dots { position: absolute; right: calc(var(--pad-x) - 7px); top: 49.4%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 26px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: #fff; cursor: pointer; transition: background .25s, transform .25s; }
.dot:hover { transform: scale(1.15); }
.dot.active { background: transparent; }

/* ---------- home copy */
.home-copy { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.tagline { position: absolute; left: var(--pad-x); bottom: clamp(40px, 7.5vh, 70px); font-size: clamp(24px, 2.65vw, 44px); line-height: 1.2; font-weight: 300; letter-spacing: -0.01em; }
.tagline strong { font-weight: 700; display: block; }
.cta-row { position: absolute; left: 45.6%; right: -1vw; top: 88.7%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; }
.cta { flex: none; padding: 0 15px; height: 48px; display: inline-flex; align-items: center; border: 1.5px solid rgba(255,255,255,.85); border-radius: 6px; background: rgba(0,0,0,.15); color: #fff; font-size: 14px; font-weight: 400; text-decoration: none; cursor: pointer; transition: background .25s, color .25s; }
.cta:hover { background: #fff; color: #000; }
.cta.ghost { border-color: rgba(255,255,255,.35); }
.cta-line { flex: 1; height: 1.5px; background: rgba(255,255,255,.8); min-width: 40px; margin-left: -12px; }
.count { flex: none; font-size: clamp(140px, 19.8vw, 360px); font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); transform: translateY(6%); user-select: none; font-variant-numeric: tabular-nums; }
.count-tab { position: absolute; left: calc(var(--pad-x) - .06em); bottom: -.14em; font-size: clamp(110px, 13vw, 240px); transform: none; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }

.loader { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; transition: opacity .6s; }
.loader.done { opacity: 0; }

/* ---------- tab mode: cube + headline slide left, the card takes the right half */
.hero[data-mode="tab"] .home-copy { opacity: 0; transform: translateY(24px); pointer-events: none; visibility: hidden; transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .6s; }
.hero[data-mode="tab"] .home-copy * { pointer-events: none; }
.hero[data-mode="tab"] .count-tab { opacity: 1; }
.hero[data-mode="tab"] .arrows { left: var(--pad-x); top: calc(var(--nav-top) + 108px); transform: translate(0, -50%); }

.card { position: absolute; left: 50%; right: calc(var(--pad-x) + 34px); top: clamp(100px, 14vh, 136px); bottom: clamp(24px, 4.5vh, 48px);
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  overflow: auto; overscroll-behavior: contain; padding: clamp(22px, 2.4vw, 36px); opacity: 0; transform: translateX(28px) scale(.985); visibility: hidden;
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .6s; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; outline: none; }
.hero[data-mode="tab"] .card { opacity: 1; transform: none; visibility: visible; transition: opacity .45s var(--ease) .12s, transform .6s var(--ease) .08s, visibility 0s; }

/* ---------- card content */
.kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.kicker .num { color: #fff; font-weight: 600; }
.card h2 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 10px 0 8px; }
.card h3 { font-size: 15px; font-weight: 600; margin: 26px 0 10px; letter-spacing: -0.005em; }
.lead { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 58ch; }
.fine { color: var(--faint); font-size: 12px; line-height: 1.55; }
.head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.back { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.back:hover { color: #fff; }

.btn { height: 46px; padding: 0 20px; border-radius: 8px; border: 1.5px solid #fff; background: #fff; color: #000; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .25s, color .25s, opacity .25s, transform .15s; white-space: nowrap; }
.btn:hover { background: transparent; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.ghost:hover { background: #fff; color: #000; }
.btn.small { height: 36px; padding: 0 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.busy { opacity: .45; cursor: not-allowed; }
.btn.busy { cursor: progress; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.field { display: grid; gap: 7px; margin-top: 16px; }
.field > span { font-size: 12px; color: var(--muted); letter-spacing: .02em; display: flex; justify-content: space-between; gap: 8px; }
.field > span em { font-style: normal; color: var(--faint); }
.input { width: 100%; height: 46px; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 16px; padding: 0 2px; outline: none; transition: border-color .25s; border-radius: 0; }
.input:focus { border-bottom-color: #fff; }
.input.big { font-size: 28px; height: 58px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
textarea.input { height: auto; min-height: 64px; padding: 10px 2px; resize: vertical; line-height: 1.5; font-size: 14px; }
.input::placeholder { color: rgba(255,255,255,.28); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }

.seg { display: inline-flex; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: #fff; height: 32px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 13px; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: #000; font-weight: 600; }
.range { width: 100%; accent-color: #fff; }
.toggle { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; cursor: pointer; user-select: none; }
.toggle input { appearance: none; width: 40px; height: 22px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.toggle input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.toggle input:checked { background: #fff; }
.toggle input:checked::after { background: #000; transform: translateX(18px); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.tier { border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px; padding: 14px 14px 12px; background: transparent; cursor: pointer; text-align: left; transition: border-color .2s, background .2s; display: grid; gap: 4px; }
.tier b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tier small { font-size: 11px; color: var(--muted); }
.tier[aria-pressed="true"] { border-color: #fff; background: rgba(255,255,255,.08); }
.tier[disabled] { opacity: .4; cursor: not-allowed; }
.tier .taken { color: var(--warn); }

.summary { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 7px; font-size: 13px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.summary div b { color: #fff; font-weight: 600; text-align: right; }
.summary .total { color: #fff; font-size: 14px; }

.note { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted); background: var(--glass-hi); }
.note.warn { border-color: rgba(255,211,107,.35); color: #f1e3c0; }
.note.bad { border-color: rgba(255,122,122,.45); color: #ffd0d0; }
.note.good { border-color: rgba(138,255,193,.4); color: #d8ffea; }
.note b { color: #fff; }
.note a { color: #fff; }
.msg { margin-top: 12px; font-size: 13px; line-height: 1.5; min-height: 1em; word-break: break-word; }
.msg.bad { color: var(--bad); } .msg.good { color: var(--good); } .msg.info { color: var(--muted); }

.search { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.search .input { flex: 1; font-size: 14px; height: 42px; }
.list { margin-top: 14px; display: grid; }
.row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 13px 4px; border-top: 1px solid var(--line); text-decoration: none; color: #fff; transition: background .2s; border-radius: 6px; }
.row:hover { background: rgba(255,255,255,.04); }
.row .t { font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.row .t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .t small { color: var(--faint); font-weight: 400; font-size: 12px; }
.row .s { color: var(--muted); font-size: 12px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.row .r { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.row .r small { display: block; color: var(--faint); font-size: 11px; }
.mark { width: 38px; height: 38px; border-radius: 11px; background: conic-gradient(from var(--a, 0deg), hsl(var(--h1, 200) 85% 62%), hsl(var(--h2, 50) 90% 58%), hsl(var(--h3, 280) 80% 60%), hsl(var(--h1, 200) 85% 62%)); position: relative; overflow: hidden; flex: none; }
.mark::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 55%), linear-gradient(160deg, transparent 40%, rgba(0,0,0,.45)); }
.mark.lg { width: 56px; height: 56px; border-radius: 16px; }
.empty { padding: 28px 4px; color: var(--muted); font-size: 13px; line-height: 1.6; border-top: 1px solid var(--line); }
.skel { height: 64px; border-top: 1px solid var(--line); background: linear-gradient(90deg, transparent, rgba(255,255,255,.05), transparent); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 18px; }
.stat { background: rgba(0,0,0,.55); padding: 13px 14px; display: grid; gap: 3px; }
.stat small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.stat b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 11px; color: var(--muted); }

.ladder { margin-top: 20px; }
.ladder-top { display: flex; justify-content: space-between; align-items: baseline; }
.ladder-top b { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ladder-top span { color: var(--muted); font-size: 12px; }
.bar { position: relative; height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 10px; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #5ab8ff, #ffe26b 70%, #fff); transition: width .9s var(--ease); }
.bar-scale { display: flex; justify-content: space-between; font-size: 10px; color: var(--faint); margin-top: 6px; font-variant-numeric: tabular-nums; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.badge { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--muted); }
.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); word-break: break-all; }
.addr a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.3); }
.addr a:hover { color: #fff; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 12.5px; margin-top: 10px; }
.kv dt { color: var(--faint); }
.kv dd { color: #fff; word-break: break-all; font-variant-numeric: tabular-nums; }
.steps { counter-reset: s; display: grid; gap: 12px; margin-top: 14px; }
.steps li { list-style: none; counter-increment: s; position: relative; padding-left: 46px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-weight: 700; color: #fff; font-size: 13px; }
.steps li b { color: #fff; font-weight: 600; }
.prose p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin-top: 10px; }
.prose p b { color: #fff; }
.links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
.links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.links a:hover { color: #fff; }
.trade { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: rgba(0,0,0,.35); }
.quote { margin-top: 10px; font-size: 13px; color: var(--muted); min-height: 1.4em; font-variant-numeric: tabular-nums; }
.quote b { color: #fff; }

.toast { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 20px); background: #fff; color: #000; border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 500; opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.wk-root { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(0,0,0,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wk-root[hidden] { display: none; }
.wk-card { width: min(420px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 40px)); overflow: auto; background: rgba(10,10,12,.94); color: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px 16px; box-shadow: 0 30px 90px rgba(0,0,0,.6); scrollbar-width: thin; }
.wk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wk-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.wk-close { border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; padding: 4px 8px; cursor: pointer; }
.wk-close:hover { color: #fff; }
.wk-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 12px 2px 10px; }
.wk-list { display: grid; gap: 8px; }
.wk-row { display: flex; align-items: center; gap: 12px; width: 100%; border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); border-radius: 12px; padding: 11px 13px; text-align: left; cursor: pointer; color: #fff; text-decoration: none; transition: border-color .2s, background .2s, transform .15s; }
.wk-row:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.wk-row:active { transform: scale(.985); }
.wk-ico { width: 28px; height: 28px; border-radius: 8px; overflow: hidden; flex: 0 0 28px; display: grid; place-items: center; background: #fff; }
.wk-ico img { width: 28px; height: 28px; display: block; object-fit: contain; }
.wk-name { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: 14.5px; }
.wk-tail { flex: none; font-size: 11px; font-weight: 600; color: var(--muted); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
.wk-tail.wk-ok { color: var(--good); border-color: rgba(138,255,193,.45); }
.wk-note { margin: 14px 4px 4px; font-size: 12px; line-height: 1.55; color: var(--faint); }
.noscript { position: fixed; inset: auto 16px 16px; color: #fff; font-size: 14px; }

/* ---------- responsive (same breakpoints as the reference hero) */
@media (max-width: 1100px) {
  .tabs { gap: 16px; }
  .tabs a { font-size: 14px; }
}
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .nav { flex-wrap: wrap; row-gap: 14px; }
  .tabs { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; gap: 22px; padding-bottom: 6px; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .wallet-btn { margin-left: auto; }
  .net { top: calc(var(--nav-top) + 98px); }
  .coin { top: calc(var(--nav-top) + 138px); flex-wrap: wrap; row-gap: 8px; }
  .arrows { left: auto; right: var(--pad-x); top: calc(var(--nav-top) + 110px); transform: translateY(-50%); gap: 14px; }
  .hero[data-mode="tab"] .arrows { left: auto; right: var(--pad-x); top: calc(var(--nav-top) + 110px); transform: translateY(-50%); }
  .dots { display: none; }
  .tagline { bottom: clamp(150px, 20vh, 220px); }
  .cta-row { left: var(--pad-x); right: -3vw; top: auto; bottom: 24px; transform: none; }
  .count { font-size: clamp(120px, 22vw, 200px); }
  .count-tab { display: none; }
  .card { left: 12px; right: 12px; top: 44svh; bottom: 12px; border-radius: 18px 18px 14px 14px; transform: translateY(40px); padding: 22px 18px; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tabs a, .logo { font-size: 13px; }
  .chip { font-size: 9px; padding: 2px 7px; }
  .cta-row { right: -8vw; gap: 8px; }
  .cta { height: 44px; font-size: 13px; padding: 0 12px; }
  .cta.ghost { display: none; }
  .count { font-size: 120px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tiers { gap: 8px; }
  .tier b { font-size: 18px; }
  .row { grid-template-columns: 34px 1fr auto; gap: 10px; }
  .mark { width: 34px; height: 34px; }
}
@media (max-width: 420px) { .wallet-btn { padding: 0 12px; } .arrows { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
/* Solana edition: the EVM launchpad tabs, arrows, dots, wallet button and page counter are hidden (elements stay so the script binds normally). */
.wallet-btn { display: none !important; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.row-actions .btn { text-decoration: none; display: inline-flex; align-items: center; }
.prose .muted { color: var(--muted); }

/* Launchpad edition: four-step explainer on the home screen; the old single-coin arrows and dots are gone */
.cta-row .cta:not(.ghost) { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.cta-row .cta:not(.ghost):hover { background: transparent; color: #fff; }
.home-steps { position: absolute; right: var(--pad-x); top: calc(var(--nav-top) + 104px); width: min(290px, 21vw); list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 12px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto; }
.home-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.home-steps li b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; font-size: 12px; padding-top: 1px; }
.home-steps li strong { color: #fff; font-weight: 600; display: block; font-size: 13.5px; }
.home-steps .home-steps-cta { display: block; padding-top: 2px; }
.home-steps .home-steps-cta a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); font-size: 13px; }
.home-steps .home-steps-cta a:hover { border-bottom-color: #fff; }
.hero[data-mode="tab"] .home-steps { display: none; }
@media (max-width: 900px), (max-aspect-ratio: 1/1) { .home-steps { display: none; } }
@media (max-width: 640px) {
  .cta-row { right: var(--pad-x); flex-wrap: wrap; gap: 8px; }
  .cta.ghost { display: inline-flex; }
  .cta-row .cta-line, .cta-row .count { display: none; }
}
.card-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: #000; margin: 12px 0 6px; }
.coin-list { margin: 12px 0 4px; }
.coin-list .kv a { color: #fff; font-variant-numeric: tabular-nums; }
.prose .kv dd:not(.addr) { word-break: normal; overflow-wrap: break-word; }
.embed-frame { display: block; width: 100%; border: 0; border-radius: 12px; background: transparent; margin: 10px 0 4px; color-scheme: dark; }

/* ---------- live ticker: glass band, iridescent edge, light sweep (transform/opacity only) */
.has-live { --nav-top: calc(clamp(24px, 4.7vh, 40px) + 34px); }
.hot-ticker { position: absolute; top: 0; left: 0; right: 0; height: 36px; z-index: 4; display: flex; align-items: center; gap: 14px;
  padding: 0 var(--pad-x); pointer-events: auto; font-size: 12px; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.hot-ticker[hidden] { display: none; }
.hot-ticker::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #ff5ec4 18%, #ffd36b 36%, #7dfcff 54%, #8a7dff 72%, transparent);
  opacity: .55; background-size: 200% 100%; animation: live-iris 9s linear infinite; }
.live-label { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.live-label i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #5fe08a; }
.live-label i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #5fe08a; animation: live-ping 1.8s cubic-bezier(.2,.6,.3,1) infinite; }
.live-sub { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.live-window { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.live-track { display: flex; width: max-content; will-change: transform; animation: live-scroll calc(var(--live-seconds, 50) * 1s) linear infinite; }
.live-window:hover .live-track, .live-window:focus-within .live-track { animation-play-state: paused; }
.live-half { display: flex; gap: 8px; padding-right: 8px; }
.live-sheen { position: absolute; top: 0; bottom: 0; left: 0; width: 22%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10) 45%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.10) 55%, transparent);
  transform: translateX(-120%); animation: live-sheen 6.5s cubic-bezier(.45,.05,.25,1) infinite; mix-blend-mode: screen; }
.live-item { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 4px; border-radius: 999px; white-space: nowrap;
  color: #fff; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s ease, border-color .18s ease; }
.live-item:hover { transform: translateY(-1px) scale(1.04); background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.35); }
.live-item img, .live-item .live-dot { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.15); flex: none; }
.live-item .live-dot { display: inline-block; background: conic-gradient(from 0deg, #ff5ec4, #ffd36b, #7dfcff, #8a7dff, #ff5ec4); }
.live-item b { font-weight: 650; letter-spacing: .01em; }
.live-item span { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 11.5px; }
.live-item span.up { color: #5fe08a; } .live-item span.down { color: #ff7a85; }
.live-item.is-hot span.up { text-shadow: 0 0 10px rgba(95,224,138,.75); }
.live-item.is-hot::before { content: '🔥'; font-size: 11px; margin-left: 2px; order: -1; }
.live-item.is-tenx { padding-left: 10px; background: rgba(0,0,0,.55); border-color: transparent; }
.live-item.is-tenx::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, #ff5ec4, #ffd36b, #7dfcff, #8a7dff, #ff5ec4); background-size: 300% 100%; animation: live-iris 4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.live-item em { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #000; background: #fff; border-radius: 999px; padding: 2px 7px; }
@keyframes live-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes live-sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(560%); } }
@keyframes live-iris { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@keyframes live-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@media (max-width: 640px) { .live-sub { display: none; } .hot-ticker { gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .live-track, .live-sheen, .hot-ticker::after, .live-item.is-tenx::after, .live-label i::after { animation: none; }
  .live-window { overflow-x: auto; } .live-half:last-child { display: none; }
}
.has-live .card { top: calc(clamp(100px, 14vh, 136px) + 34px); }
@media (max-width: 900px), (max-aspect-ratio: 1/1) { .has-live .card { top: calc(44svh + 20px); } }
