/* Memedaq. The mcap.family dashboard shell (sidebar, topbar, tape, stat cards, tables) on a dark navy terminal look:
   lime primary, rounded 16-24px cards, a stacked two-box swap panel, pill tabs, tabular numbers. Dark only. */
:root {
  --bg: #090d12;
  --bg-2: #0b1117;
  --card: #10171f;
  --card-2: #151e28;
  --card-3: #1d2834;
  --card-4: #26323f;
  --line: #19232e;
  --line-2: #243040;
  --text: #e4eaf2;
  --text-2: #c5cfdc;
  --muted: #8e9db2;
  --dim: #627187;
  --accent: #b5f27e;
  --accent-hi: #c8f89f;
  --accent-ink: #0a1006;
  --accent-soft: rgba(181, 242, 126, 0.1);
  --accent-line: rgba(181, 242, 126, 0.28);
  --up: #3fdfa9;
  --down: #f2557d;
  --warn: #f3c45a;
  --sky: #78a8ff;
  --r-xl: 24px;
  --r-lg: 20px;
  --r: 16px;
  --r-sm: 12px;
  --r-xs: 9px;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --side-w: 232px;
  --top-h: 60px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 14px/1.5 var(--font); font-feature-settings: 'tnum' 1; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.fill { fill: currentColor; stroke: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--mono); font-feature-settings: normal; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.up { color: var(--up); }
.down { color: var(--down); }
.accent { color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
::selection { background: rgba(181, 242, 126, 0.3); }

/* wordmark: the word Memedaq, the last letter in lime */
.wordmark { font-weight: 800; letter-spacing: -0.03em; font-size: 23px; line-height: 1; color: var(--text); }
.wordmark span, .brand-mark span { color: var(--accent); }
.wordmark-xl { font-size: 60px; letter-spacing: -0.04em; }
.brand-mark { display: none; font-weight: 800; font-size: 20px; letter-spacing: -0.04em; line-height: 1; }
.pair-ic { background: linear-gradient(135deg, #2c3d1e, #1d2834); color: var(--accent); font-size: 9px; font-weight: 800; }

/* ================================================================ shell */
.shell { display: flex; min-height: 100vh; }
.side { position: fixed; inset: 0 auto 0 0; width: var(--side-w); background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 40; padding: 0 12px 14px; }
.brand { display: flex; align-items: center; height: var(--top-h); padding: 0 10px; flex: none; }
.side-nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; padding-top: 6px; }
.side-label { font-size: 12px; color: var(--dim); font-weight: 600; padding: 14px 10px 6px; }
.side-label:first-child { padding-top: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 10px; border-radius: 12px; color: var(--text-2); font-weight: 600; font-size: 15px; transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out); }
.side-nav a svg { width: 20px; height: 20px; color: var(--muted); transition: color 0.18s var(--ease-out); }
.side-nav a:hover { background: var(--card-2); color: var(--text); }
.side-nav a.on { background: var(--accent-soft); color: var(--accent); }
.side-nav a.on svg { color: var(--accent); }
.side-nav .count { margin-left: auto; font-size: 12px; color: var(--dim); font-weight: 600; }
.side-nav .soon { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--warn); background: rgba(243, 196, 90, 0.1); padding: 2px 7px; border-radius: 99px; }
.side-nav .dot-count { margin-left: auto; min-width: 8px; height: 8px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.side-nav .ext { width: 14px; height: 14px; margin-left: auto; color: var(--dim); }
.side-asset { display: flex; align-items: center; gap: 10px; padding: 10px; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color 0.2s var(--ease-out); }
.side-asset:hover { border-color: var(--line-2); }
.sa-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sa-txt b { font-size: 13px; }
.sa-txt span { font-size: 11px; color: var(--dim); white-space: nowrap; }
.sa-px { margin-left: auto; font-weight: 700; font-size: 13px; }
.scrim { display: none; }

.main { flex: 1; min-width: 0; margin-left: var(--side-w); display: flex; flex-direction: column; min-height: 100vh; }
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; gap: 14px; padding: 0 24px; background: rgba(9, 13, 18, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.burger { display: none; width: 38px; height: 38px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.top-brand { display: none; }
.top-search { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 460px; height: 38px; padding: 0 8px 0 14px; border-radius: 99px; background: rgba(29, 40, 52, 0.55); border: 1px solid transparent; color: var(--muted); transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out); }
.top-search:focus-within { border-color: var(--line-2); background: var(--card-2); }
.top-search svg { width: 16px; height: 16px; }
.top-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 13px; color: var(--text); }
.top-search input::placeholder { color: var(--muted); }
.top-search input::-webkit-search-cancel-button { display: none; }
.top-search kbd { font: 600 11px var(--font); color: var(--dim); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; }
.search-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--card-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); animation: pop-in 0.22s var(--ease-out); }
.search-pop a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text); }
.search-pop a:hover, .search-pop a.on { background: var(--card-3); }
.search-pop a .r { margin-left: auto; text-align: right; font-size: 12px; }
.search-pop .sp-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.search-pop .sp-id b { font-size: 13px; }
.search-pop .sp-id span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-pop .sp-empty { padding: 12px; color: var(--muted); font-size: 13px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--card-3); color: var(--text-2); transition: background 0.18s var(--ease-out), transform 0.3s var(--spring); }
.icon-btn:hover { background: var(--card-4); color: var(--text); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn.sm { width: 30px; height: 30px; background: transparent; color: var(--muted); }
.icon-btn.sm:hover { background: var(--card-3); }
.icon-btn.sm svg { width: 16px; height: 16px; }
.icon-btn.spin svg { animation: spin 0.7s var(--ease-out); }
.search-btn { display: none; }
.ca-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 99px; background: var(--card-3); font: 500 12.5px var(--mono); color: var(--text-2); }
.ca-chip .ca-k { color: var(--dim); font-weight: 500; }
.ca-chip svg { width: 14px; height: 14px; color: var(--dim); }
.ca-chip:hover { background: var(--card-4); }
.acct { position: relative; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 6px; z-index: 50; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); animation: pop-in 0.22s var(--ease-out); }
.acct-menu .who { padding: 10px 10px 8px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.acct-menu .who b { display: block; color: var(--text); font: 500 13px var(--mono); margin-bottom: 2px; }
.acct-menu button, .acct-menu a { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.acct-menu button:hover, .acct-menu a:hover { background: var(--card-3); color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 99px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.32s var(--spring), opacity 0.18s; user-select: none; }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hi); }
.btn-primary:disabled, .btn-primary[aria-disabled='true'] { background: var(--card-3); color: var(--dim); }
.btn-dark { background: var(--card-3); color: var(--text); }
.btn-dark:hover { background: var(--card-4); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text-2); }
.btn-ghost:hover { background: var(--card-2); color: var(--text); }
.btn-connect { background: var(--accent-soft); color: var(--accent); height: 38px; padding: 0 16px; }
.btn-connect:hover { background: rgba(181, 242, 126, 0.16); }
.btn-connect.on { background: var(--card-3); color: var(--text); font: 500 13px var(--mono); gap: 8px; }
.btn-connect.on .w-sol { color: var(--muted); }
.btn-connect.on .w-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-xl { width: 100%; height: 56px; border-radius: var(--r); font-size: 17px; }
a.btn[aria-disabled='true'] { pointer-events: none; }

/* tape */
.tape { position: sticky; top: var(--top-h); z-index: 29; display: flex; align-items: center; height: 34px; border-bottom: 1px solid var(--line); background: rgba(9, 13, 18, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 12px; overflow: hidden; }
.tape-fixed { display: flex; align-items: center; gap: 16px; padding: 0 16px 0 24px; height: 100%; border-right: 1px solid var(--line); flex: none; }
.tape-pin { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tape-pin b { font-weight: 700; }
.tape-pin .mono { color: var(--text-2); }
.tape-view { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tape-track { display: flex; width: max-content; animation: tape var(--tape-s, 60s) linear infinite; }
.tape-track:hover { animation-play-state: paused; }
.tape-run { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.tape-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--text-2); }
.tape-item img, .tape-item .fb { width: 16px; height: 16px; border-radius: 99px; }
.tape-item b { color: var(--text); font-weight: 700; }
.tape-msg { color: var(--muted); padding-left: 16px; white-space: nowrap; }
@keyframes tape { to { transform: translateX(-50%); } }

/* content */
.content { width: 100%; max-width: 1320px; margin: 0 auto; padding: 24px 28px 48px; flex: 1; }
.page { animation: page-in 0.36s var(--ease-out); }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }
@keyframes spin { to { transform: rotate(360deg); } }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.page-h .sub { color: var(--muted); margin-top: 6px; max-width: 620px; font-size: 14.5px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; }
.panel + .panel { margin-top: 16px; }
.panel-h { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.panel-h h2 { font-size: 16px; }
.panel-more { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 600; }
.panel-more:hover { color: var(--accent); }
.banner { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; margin-bottom: 16px; background: rgba(243, 196, 90, 0.08); border: 1px solid rgba(243, 196, 90, 0.22); color: #f6d58a; font-size: 13px; }
.hint { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; margin-bottom: 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text); font-size: 13.5px; transition: background 0.2s var(--ease-out); }
.hint:hover { background: rgba(181, 242, 126, 0.15); }
.hint b { color: var(--accent); }
.hint-go { margin-left: auto; font-weight: 700; color: var(--accent); }
.empty { padding: 34px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.empty a { color: var(--accent); font-weight: 600; }
.empty .btn { margin-top: 14px; }
.fine { color: var(--dim); font-size: 12px; line-height: 1.55; }
.fine a, .fine button.addr-inline { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.fine a:hover { color: var(--text); }

/* token icons and pills */
.tok-ic { width: 24px; height: 24px; border-radius: 99px; flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: var(--card-4); }
.tok-ic svg, .tok-ic img { width: 100%; height: 100%; object-fit: cover; }
.tok-ic svg { stroke: none; }
.tok-ic .fb { width: 100%; height: 100%; font-size: 11px; }
.sm-only { display: none; }
.tok-ic.xs { width: 16px; height: 16px; }
.tok-ic.lg { width: 36px; height: 36px; }
.coin-ic { width: 32px; height: 32px; border-radius: 99px; flex: none; object-fit: cover; background: var(--card-3); }
.fb { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-2); background: linear-gradient(135deg, #26323f, #1a2430); font-size: 13px; }
.tok-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 8px; border-radius: 99px; background: var(--card-3); font-weight: 700; font-size: 15px; flex: none; max-width: 52%; }
.tok-pill .coin-ic { width: 24px; height: 24px; }
.tok-pill .tp-sym { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 99px; background: var(--card-3); color: var(--muted); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tag.lime { background: var(--accent-soft); color: var(--accent); }
.tag.sky { background: rgba(120, 168, 255, 0.12); color: var(--sky); }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: var(--card-3); color: var(--text-2); font-size: 11.5px; font-weight: 700; }
.live-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); display: inline-block; flex: none; }
.live-dot.idle { background: var(--dim); box-shadow: none; }

/* pill tabs */
.tabs { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tab { height: 34px; padding: 0 14px; border-radius: 99px; color: var(--muted); font-weight: 700; font-size: 14px; transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out); display: inline-flex; align-items: center; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--accent-soft); color: var(--accent); }
.tabs.sm .tab { height: 30px; padding: 0 12px; font-size: 13px; }

/* ================================================================ swap boxes (shared) */
.sbox { position: relative; border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 16px 12px; transition: border-color 0.2s var(--ease-out); }
.sbox.filled { background: var(--card-2); border-color: transparent; }
.sbox:focus-within { border-color: var(--line-2); }
.sbox.filled:focus-within { border-color: var(--card-4); }
.sbox-l { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); min-height: 24px; }
.sbox-l em { font-style: normal; color: var(--dim); font-weight: 500; }
.sbox-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.sbox-amt { flex: 1; min-width: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; background: none; border: 0; outline: 0; padding: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbox-amt::placeholder { color: var(--dim); }
.sbox-amt.out.empty { color: var(--dim); }
.sbox-usd { margin-top: 6px; font-size: 12.5px; color: var(--dim); min-height: 18px; }
.bal { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.bal svg { width: 14px; height: 14px; }
.bal button { height: 22px; padding: 0 8px; border-radius: 7px; background: var(--card-3); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.03em; transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out); }
.bal button:hover:not(:disabled) { background: var(--card-4); color: var(--accent); }
.flip { position: relative; z-index: 2; width: 34px; height: 34px; margin: -12px auto; border-radius: 99px; display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--line-2); color: var(--muted); transition: transform 0.45s var(--spring), color 0.18s, border-color 0.18s; }
.flip svg { width: 16px; height: 16px; }
button.flip:hover { color: var(--accent); border-color: var(--accent-line); }
button.flip.turn { transform: rotate(180deg); }
.flip.static { color: var(--accent); }

/* ================================================================ home */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding: 40px 44px; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; background:
  radial-gradient(70% 90% at 85% 10%, rgba(181, 242, 126, 0.08), transparent 60%),
  radial-gradient(60% 80% at 0% 100%, rgba(120, 168, 255, 0.07), transparent 60%),
  radial-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1.2px) 0 0 / 22px 22px,
  var(--bg-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(16, 23, 31, 0.8); color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.eb-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 20px 0 16px; }
.hero-line { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; color: var(--text); }
.hero-body { color: var(--muted); margin-top: 10px; max-width: 520px; font-size: 14.5px; line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.route { background: rgba(11, 17, 23, 0.82); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.route-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 0 2px; }
.route-live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.route .sbox-amt { font-size: 28px; }
.route-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 4px 2px; font-size: 12.5px; color: var(--muted); }
.route-foot a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.steps4 { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps4 li { display: flex; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.step-n { width: 26px; height: 26px; border-radius: 99px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 12.5px; }
.steps4 b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.steps4 span:not(.step-n) { color: var(--muted); font-size: 13px; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.stat { padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.stat dt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat dd { margin: 6px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-s { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-main { background: linear-gradient(160deg, rgba(181, 242, 126, 0.1), rgba(181, 242, 126, 0.02) 60%), var(--card); border-color: var(--accent-line); }
.stat-main dd { color: var(--accent); }
.skel-txt { display: inline-block; width: 70%; max-width: 120px; height: 0.9em; border-radius: 6px; background: linear-gradient(90deg, var(--card-2), var(--card-3), var(--card-2)); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; vertical-align: middle; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.lv-up { animation: lv-up 1.2s var(--ease-out); }
.lv-down { animation: lv-down 1.2s var(--ease-out); }
@keyframes lv-up { 0% { color: var(--up); } }
@keyframes lv-down { 0% { color: var(--down); } }

/* ================================================================ tables */
.tbl-panel { padding: 16px 8px 8px; overflow-x: auto; }
.act-panel { overflow-x: auto; }
.tbl-panel .panel-h { padding: 0 10px; }
.tbl { width: 100%; border-collapse: collapse; table-layout: auto; }
.tbl th { font-size: 12px; font-weight: 600; color: var(--dim); text-align: right; padding: 8px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl th button { color: inherit; font-weight: inherit; display: inline-flex; align-items: center; gap: 4px; }
.tbl th button:hover { color: var(--text); }
.tbl th[aria-sort] button { color: var(--accent); }
.tbl th .sort-ic { width: 10px; height: 10px; stroke-width: 2.4; }
.tbl td { padding: 11px 12px; text-align: right; white-space: nowrap; font-weight: 600; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background 0.15s var(--ease-out); }
.tbl tbody tr[data-mint] { cursor: pointer; }
.tbl tbody tr[data-mint]:hover { background: rgba(29, 40, 52, 0.5); }
.tbl td.sub { color: var(--muted); font-weight: 500; }
.tbl .tok { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tbl .tok > div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tbl .tok b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.tbl .tok span { color: var(--muted); font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.tbl .rank { color: var(--dim); font-size: 12px; width: 18px; display: inline-block; text-align: right; margin-right: 2px; }
.share-cell { display: inline-flex; align-items: center; gap: 8px; }
.share-cell .mini { width: 44px; height: 5px; border-radius: 99px; background: var(--card-3); overflow: hidden; }
.share-cell .mini i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.tbl .tx { color: var(--muted); font-family: var(--mono); font-weight: 400; font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; }
.tbl .tx:hover { color: var(--accent); }
.tbl .tx svg { width: 13px; height: 13px; }
.skel-row td { padding: 14px 12px; }
.skel-row .skel-txt { width: 60%; }
.tbl-more { display: block; width: 100%; padding: 12px; margin-top: 4px; color: var(--muted); font-weight: 700; font-size: 13px; border-radius: 12px; }
.tbl-more:hover { background: var(--card-2); color: var(--text); }

/* coins page */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--muted); width: 300px; max-width: 100%; transition: border-color 0.2s var(--ease-out); }
.search:focus-within { border-color: var(--line-2); }
.search svg { width: 16px; height: 16px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-size: 13.5px; }
.search input::-webkit-search-cancel-button { display: none; }
.coins-meta { margin-top: 10px; padding: 0 6px; }

/* ================================================================ coin page */
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.back svg { width: 16px; height: 16px; }
.back:hover { color: var(--text); }
.coin-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.ch-top { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; padding: 0 4px; }
.ch-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ch-social { display: inline-flex; align-items: center; gap: 2px; }
.ch-social a { width: 24px; height: 24px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out); }
.ch-social a:hover { color: var(--text); background: var(--card-3); }
.ch-social svg { width: 14px; height: 14px; }
.ch-img .coin-ic { width: 44px; height: 44px; }
.ch-names { min-width: 0; }
.ch-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ch-row h1 { font-size: 22px; }
.ch-row #cTags { display: inline-flex; gap: 6px; }
.ch-sub { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-top: 2px; min-width: 0; }
.ch-sub #cName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.ca-mini { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font: 400 12px var(--mono); }
.ca-mini svg { width: 12px; height: 12px; }
.ca-mini:hover { color: var(--accent); }
.ch-stats { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding: 14px 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.ch-stats:empty { display: none; }
.ch-stat { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ch-stat .k { font-size: 12px; color: var(--muted); font-weight: 600; }
.ch-stat .v { font-size: 15px; font-weight: 700; }
.ch-stat.px .v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.ch-stat .prog { width: 70px; height: 4px; border-radius: 99px; background: var(--card-3); overflow: hidden; margin-top: 5px; }
.ch-stat .prog i { display: block; height: 100%; background: var(--accent); }
.ch-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.link-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--card-3); color: var(--text-2); font-size: 12.5px; font-weight: 700; transition: background 0.18s var(--ease-out), color 0.18s; }
.link-pill:hover { background: var(--card-4); color: var(--text); }
.link-pill svg { width: 14px; height: 14px; }
.link-pill.ic { width: 32px; padding: 0; justify-content: center; }
.coin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; }
.coin-left, .coin-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.coin-right { position: sticky; top: calc(var(--top-h) + 50px); }
.coin-left .panel + .panel, .coin-right .panel + .panel { margin-top: 0; }
.coin-missing { text-align: center; padding: 48px 20px; }
.chart-panel { padding: 12px 12px 8px; }
.ch-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ch-bar .tabs .tab { height: 28px; padding: 0 10px; font-size: 12.5px; }
.ch-bar .ch-note { margin-left: auto; color: var(--dim); font-size: 11.5px; }
.ch-box { position: relative; height: 420px; border-radius: 14px; overflow: hidden; }
.ch-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13.5px; text-align: center; padding: 20px; }
.act-panel { padding: 14px 8px 8px; }
.act-panel > .tabs { padding: 0 8px; margin-bottom: 8px; }
.about { padding: 6px 10px 6px; }
.about p { color: var(--text-2); margin-bottom: 14px; max-width: 640px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.info-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; min-width: 0; }
.info-grid dt { color: var(--muted); }
.info-grid dd { margin: 0; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info-grid dd a, .info-grid dd button { color: var(--text-2); }
.info-grid dd a:hover, .info-grid dd button:hover { color: var(--accent); }

/* swap */
.swap { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 12px; }
.swap-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 0 2px; }
.route-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-chip::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: var(--accent); flex: none; }
.swap .btn-xl { margin-top: 12px; }
.qd { margin-top: 10px; border-radius: 14px; border: 1px solid var(--line); }
.qd summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; cursor: pointer; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.qd summary::-webkit-details-marker { display: none; }
.qd-rate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.qd-r { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--muted); }
.qd-r svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.qd[open] .qd-r svg { transform: rotate(180deg); }
.qd dl { margin: 0; padding: 2px 12px 10px; }
.qd dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12.5px; }
.qd dt { color: var(--muted); }
.qd dd { margin: 0; font-weight: 600; text-align: right; }
.qd dd.warn { color: var(--warn); }
.qd dd.bad { color: var(--down); }
.sw-status, .lf-status { font-size: 13px; margin-top: 10px; color: var(--text-2); min-height: 0; }
.sw-status:empty, .lf-status:empty { display: none; }
.sw-status.bad, .lf-status.bad { color: var(--down); }
.sw-status.ok, .lf-status.ok { color: var(--accent); }
.sw-status a, .lf-status a { text-decoration: underline; text-underline-offset: 3px; }

/* Memedaq panel */
.ix { padding: 16px; }
.ix-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ix-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.ix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ix-cell { padding: 12px; border-radius: 14px; background: var(--card-2); min-width: 0; }
.ix-cell .k { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.ix-cell .v { display: block; font-size: 17px; font-weight: 800; margin-top: 4px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-cell .v small { font-size: 12px; color: var(--muted); font-weight: 700; }
.ix-cell .s { display: block; font-size: 12px; color: var(--dim); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-pending { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.ix-split { margin-top: 14px; }
.ix-split .lbl-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.split-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--card-3); gap: 2px; }
.split-bar i { display: block; height: 100%; transition: width 0.4s var(--ease-out); }
.split-bar .h { background: var(--accent); border-radius: 99px 0 0 99px; }
.split-bar .c { background: var(--sky); }
.split-bar .p { background: var(--muted); border-radius: 0 99px 99px 0; }
.split-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.split-legend span { display: inline-flex; align-items: center; gap: 6px; }
.split-legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.split-legend b { color: var(--text); }
.ix-mine { margin-top: 14px; padding: 14px; border-radius: var(--r); border: 1px solid var(--accent-line); background: linear-gradient(160deg, rgba(181, 242, 126, 0.07), transparent 70%); }
.ix-mine .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ix-mine .k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ix-mine .v { font-size: 20px; font-weight: 800; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-mine .s { font-size: 12px; color: var(--dim); line-height: 1.5; }
.ix-mine .s.r { text-align: right; margin-top: -2px; }
.ix-mine .s:empty { display: none; }
.ix-mine #ixMineSub { margin-top: 6px; color: var(--muted); }
.ix-mine .btn { width: 100%; margin-top: 10px; height: 44px; border-radius: 14px; }
.ix .fine { margin-top: 12px; }
.attest { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); cursor: pointer; line-height: 1.45; }
.attest input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: none; margin: 0; border-radius: 6px; border: 1.5px solid var(--card-4); background: var(--card-2); display: grid; place-content: center; cursor: pointer; transition: background 0.18s var(--ease-out), border-color 0.18s; }
.attest input::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform 0.28s var(--spring); }
.attest input:checked { background: var(--accent); border-color: var(--accent); }
.attest input:checked::after { transform: rotate(-45deg) scale(1); }
.attest input:disabled { opacity: 0.5; }

/* ================================================================ launch */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.launch-form { padding: 20px; }
.launch-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.launch-form fieldset:disabled { opacity: 0.55; }
.lf-top { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; }
.lf-names { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.img-drop { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: var(--r-lg); border: 1.5px dashed var(--card-4); background: var(--card-2); cursor: pointer; overflow: hidden; text-align: center; transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out); }
.img-drop:hover, .img-drop.drag { border-color: var(--accent); background: rgba(181, 242, 126, 0.05); }
.img-drop img { width: 100%; height: 100%; object-fit: cover; }
.img-drop.has { border-color: transparent; }
.img-drop.has:hover { border-color: var(--accent); }
.img-hint { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; color: var(--muted); }
.img-hint svg { width: 26px; height: 26px; color: var(--dim); margin-bottom: 4px; }
.img-hint b { color: var(--text); font-size: 13px; }
.img-hint small { font-size: 11px; line-height: 1.35; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field em { font-style: normal; color: var(--dim); font-weight: 500; }
.field input, .field textarea { width: 100%; background: var(--card-2); border: 1px solid transparent; border-radius: 12px; padding: 11px 13px; font-size: 14px; color: var(--text); outline: 0; transition: border-color 0.2s var(--ease-out); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { border-color: var(--card-4); }
.field.bad input { border-color: rgba(242, 85, 125, 0.6); }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.share-box { padding: 16px; border-radius: var(--r); background: var(--card-2); }
.share-h { display: flex; align-items: baseline; justify-content: space-between; font-weight: 700; font-size: 14px; }
.share-h b { font-size: 24px; color: var(--accent); letter-spacing: -0.02em; }
.share-note { color: var(--muted); font-size: 12.5px; margin: 2px 0 12px; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; cursor: pointer; --p: 45%; }
input[type='range']::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--p), var(--card-4) var(--p)); }
input[type='range']::-moz-range-track { height: 6px; border-radius: 99px; background: var(--card-4); }
input[type='range']::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 99px; background: var(--accent); border: 4px solid var(--card-2); box-shadow: 0 0 0 1px var(--accent-line); margin-top: -8px; transition: transform 0.3s var(--spring); }
input[type='range']::-moz-range-thumb { width: 14px; height: 14px; border-radius: 99px; background: var(--accent); border: 4px solid var(--card-2); }
input[type='range']:active::-webkit-slider-thumb { transform: scale(1.12); }
.range-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--dim); margin: 2px 0 12px; }
.share-box .split-legend { margin-top: 10px; }
.share-lock { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.share-lock svg { width: 15px; height: 15px; margin-top: 1px; color: var(--accent); }
.devbuy .sbox-amt { font-size: 24px; }
.launch-form .btn-xl { margin-top: 16px; }
.launch-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--top-h) + 50px); }
.launch-side .panel + .panel { margin-top: 0; }
.lp-h { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.lp-coin { display: flex; align-items: center; gap: 12px; }
.lp-coin > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; flex: 1; }
.lp-coin b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-coin span:not(.tag):not(.lp-img) { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-img .coin-ic { width: 44px; height: 44px; }
.lp-rows { margin: 14px 0 0; }
.lp-rows > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.lp-rows dt { color: var(--muted); }
.lp-rows dd { margin: 0; font-weight: 700; }
.launch-how ol { margin: 0; padding: 0; list-style: none; counter-reset: lh; display: flex; flex-direction: column; gap: 12px; }
.launch-how li { counter-increment: lh; position: relative; padding-left: 34px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.launch-how li::before { content: counter(lh); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.launch-how li b { color: var(--text); }
.launch-how .fine { margin-top: 14px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); animation: page-in 0.3s var(--ease-out); }
.steps-list li .st { width: 22px; height: 22px; border-radius: 99px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--card-3); }
.steps-list li .st svg { width: 13px; height: 13px; stroke-width: 2.6; }
.steps-list li.done { color: var(--text-2); }
.steps-list li.done .st { background: var(--accent-soft); color: var(--accent); }
.steps-list li.now { color: var(--text); font-weight: 600; }
.steps-list li.now .st::after { content: ''; width: 12px; height: 12px; border-radius: 99px; border: 2px solid var(--accent); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.steps-list li.fail { color: var(--down); }
.steps-list li.fail .st { background: rgba(242, 85, 125, 0.12); color: var(--down); }
.launch-done { text-align: center; padding: 26px 20px; border-color: var(--accent-line); background: linear-gradient(170deg, rgba(181, 242, 126, 0.08), transparent 60%), var(--card); }
.launch-done .done-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; animation: pop 0.5s var(--spring); }
.launch-done .done-ic svg { width: 26px; height: 26px; stroke-width: 2.6; }
.launch-done h3 { font-size: 18px; }
.launch-done p { color: var(--muted); font-size: 13px; margin: 6px 0 16px; }
.launch-done .btn { width: 100%; }
.launch-done .btn + .btn { margin-top: 8px; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

/* ================================================================ rewards */
.rw-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 16px; margin-bottom: 16px; }
.rw-top .panel + .panel { margin-top: 0; }
.rw-claim { padding: 22px; background: linear-gradient(160deg, rgba(181, 242, 126, 0.07), transparent 55%), var(--card); }
.rw-k { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.rw-amt { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.rw-amt b { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-usd { color: var(--muted); font-size: 14px; margin-top: 4px; }
.rw-act { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; max-width: 460px; }
.rw-act .btn { height: 50px; border-radius: var(--r); font-size: 16px; margin-top: 10px; }
.rw-claim .sw-status { margin-top: 10px; }
.rw-connect { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rw-connect p { color: var(--muted); max-width: 440px; }
.rw-connect .btn { margin-top: 10px; }
.rw-asset .asset-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rw-asset .asset-h b { font-size: 16px; display: block; }
.rw-asset .asset-h span { color: var(--muted); font-size: 12.5px; }
.kv { margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; }
.kv dt { color: var(--muted); flex: none; }
.kv dd { margin: 0; font-weight: 600; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv dd a, .kv dd button { color: var(--text-2); }
.kv dd a:hover, .kv dd button:hover { color: var(--accent); }
.disclosure h3 { font-size: 14px; margin-bottom: 8px; }
.disclosure ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.6; display: flex; flex-direction: column; gap: 6px; }
.disclosure ul b { color: var(--text-2); font-weight: 600; }
.disclosure button.addr-inline, .disclosure a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.addr-inline { font-family: var(--mono); font-size: 0.95em; word-break: break-all; color: var(--text-2); text-align: left; }
.addr-inline:hover { color: var(--accent); }

/* ================================================================ guide */
.thesis { display: flex; align-items: center; gap: 32px; padding: 30px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(60% 100% at 0% 0%, rgba(181, 242, 126, 0.07), transparent 60%), var(--bg-2); margin-bottom: 16px; }
.thesis .eyebrow { margin-bottom: 12px; }
.thesis h2 { font-size: 24px; margin-bottom: 8px; }
.thesis p:not(.eyebrow) { color: var(--muted); max-width: 720px; line-height: 1.65; }
.doc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.doc-card { padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.doc-card .num { display: inline-flex; font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.doc-card h3 { margin-bottom: 6px; }
.doc-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.guide-addrs { margin-top: 16px; }
.faq { margin-top: 24px; max-width: 860px; }
.faq h2 { margin-bottom: 12px; font-size: 20px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 8px; transition: border-color 0.2s var(--ease-out); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 18px; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.3s var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { padding: 0 18px 16px; color: var(--muted); line-height: 1.65; font-size: 13.5px; }

/* footer, toast */
.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.foot-ca { font: 400 12px var(--mono); color: var(--dim); word-break: break-all; text-align: left; }
.foot-ca:hover, .foot-x:hover { color: var(--text); }
.foot-x { margin-left: auto; color: var(--dim); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--card-3); border: 1px solid var(--line-2); color: var(--text); padding: 10px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; z-index: 100; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); transition: opacity 0.2s var(--ease-in), transform 0.2s var(--ease-in); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); transition: opacity 0.28s var(--ease-out), transform 0.36s var(--spring); }

/* ================================================================ responsive */
@media (max-width: 1240px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats .stat-main { grid-column: span 1; }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-grid { grid-template-columns: minmax(0, 1fr) 370px; }
  .tbl .hide-lg { display: none; }
}
/* icon rail between tablet and desktop: labels open over the page on hover */
@media (min-width: 861px) and (max-width: 1180px) {
  :root { --side-w: 72px; }
  .side { width: 72px; padding: 0 10px 14px; transition: width 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out); overflow: hidden; }
  .side .lbl, .side .side-label { opacity: 0; transition: opacity 0.16s var(--ease-in); white-space: nowrap; }
  .side .side-label { height: 14px; padding: 6px 0; font-size: 0; border-top: 1px solid var(--line); margin: 8px 8px 4px; }
  .side .side-label:first-child { border-top: 0; margin-top: 0; }
  .side-nav a { justify-content: flex-start; padding: 0 15px; }
  .brand { padding: 0 6px; }
  .brand { justify-content: center; }
  .brand .wordmark { display: none; }
  .brand .brand-mark { display: block; }
  .side:hover .brand, .side:focus-within .brand { justify-content: flex-start; }
  .side:hover .brand .wordmark, .side:focus-within .brand .wordmark { display: inline; }
  .side:hover .brand .brand-mark, .side:focus-within .brand .brand-mark { display: none; }
  .side-asset { padding: 10px 11px; }
  .side:hover, .side:focus-within { width: 232px; box-shadow: 24px 0 60px rgba(0, 0, 0, 0.45); }
  .side:hover .lbl, .side:focus-within .lbl { opacity: 1; transition: opacity 0.22s 0.06s var(--ease-out); }
  .side:hover .side-label, .side:focus-within .side-label { opacity: 1; font-size: 12px; height: auto; padding: 14px 10px 6px; border-top: 0; margin: 0; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; }
  .route { max-width: 520px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .rw-top { grid-template-columns: minmax(0, 1fr); }
  .tbl .hide-md { display: none; }
}
@media (max-width: 980px) {
  .coin-grid { grid-template-columns: minmax(0, 1fr); }
  .coin-left, .coin-right { display: contents; }
  .coin-right { position: static; }
  .chart-panel { order: 1; }
  .swap { order: 2; }
  .ix { order: 3; }
  .act-panel { order: 4; }
  .swap, .ix { width: 100%; max-width: 560px; justify-self: center; }
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-side { position: static; }
  .ch-links { margin-left: 0; width: 100%; }
}
@media (max-width: 860px) {
  .side { transform: translateX(-100%); transition: transform 0.3s var(--ease-in); width: 264px; box-shadow: none; }
  .side.open { transform: none; transition: transform 0.36s var(--ease-out); box-shadow: 24px 0 60px rgba(0, 0, 0, 0.5); }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(3, 6, 9, 0.6); z-index: 35; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease-in); }
  .side.open + .scrim { opacity: 1; pointer-events: auto; transition: opacity 0.3s var(--ease-out); }
  .main { margin-left: 0; }
  .burger { display: flex; }
  .top { padding: 0 16px; gap: 10px; }
  .top-brand { display: flex; }
  .top-search { display: none; }
  .search-btn { display: inline-flex; }
  .tape-fixed { padding-left: 16px; }
  .content { padding: 18px 16px 40px; }
  .foot { padding: 16px; }
  .steps4 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .steps4 li { padding: 12px 14px; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  h1 { font-size: 24px; }
  .page-h { flex-direction: column; align-items: stretch; }
  .page-h .btn { align-self: flex-start; }
  .hero { padding: 24px 18px; border-radius: 22px; }
  .hero h1 { margin: 16px 0 12px; }
  .cta .btn { flex: 1; }
  .route { padding: 10px; }
  .route .sbox-amt { font-size: 24px; }
  .route .sbox-l .muted { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stats .stat-main { grid-column: 1 / -1; order: -1; }
  .stat { padding: 13px 14px; }
  .stat dd { font-size: 18px; }
  .tbl .hide-sm { display: none; }
  .tbl .sm-only { display: block; font-size: 11.5px; font-weight: 600; margin-top: 1px; }
  .tbl .tx-s { display: none; }
  .tbl .tx svg { width: 15px; height: 15px; }
  .btn-connect.on .w-sol { display: none; }
  .tbl th, .tbl td { padding-left: 8px; padding-right: 8px; }
  .tbl .tok b, .tbl .tok span { max-width: 120px; }
  .tbl .rank { display: none; }
  .tbl-panel { padding: 12px 4px 4px; }
  .tbl-panel .panel-h { flex-wrap: wrap; row-gap: 8px; }
  .tbl-panel .panel-h .tabs { order: 3; width: 100%; }
  .toolbar .search { width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .ch-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; padding: 14px 16px; }
  .ch-stat.px { grid-column: 1 / -1; }
  .ch-stat.hide-sm { display: none; }
  .ch-stat .v { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ch-links { width: 100%; }
  .ch-sub #cName { max-width: 140px; }
  .ch-note { display: none; }
  .ch-box { height: 300px; }
  .swap { padding: 10px; }
  .sbox { padding: 12px 14px 10px; }
  .sbox-amt { font-size: 26px; }
  .tok-pill { height: 38px; font-size: 14px; padding: 0 12px 0 7px; }
  .lf-top { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .img-hint small { display: none; }
  .row3 { grid-template-columns: minmax(0, 1fr); }
  .launch-form { padding: 14px; }
  .share-box { padding: 14px; }
  .thesis { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 18px; }
  .wordmark-xl { font-size: 44px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .rw-claim { padding: 18px; }
  .ca-chip { padding: 0 10px; }
  .ca-chip svg { display: none; }
  #xTop { display: none; }
  .foot-x { margin-left: 0; }
}
@media (max-width: 400px) {
  .top-brand .wordmark { font-size: 20px; }
  .ca-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .tape-track { animation: none !important; }
  .tape-view { overflow-x: auto; }
}
