/* noir (noir.win): a strictly monochrome identity. Black pages, white type, grey borders.
   Display face Manrope (variable, geometric), body Instrument Sans, mono IBM Plex Mono.
   The looker bundle this replaced is kept as site.looker.css and is not linked anywhere. */

/* ------------------------------------------------------------------ fonts */

@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/instrument-sans-latin-400-normal-DRC__1Mx.woff2) format("woff2"), url(/assets/instrument-sans-latin-400-normal-D1W7dsQl.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/instrument-sans-latin-ext-400-normal-Q_nF8v4l.woff2) format("woff2"), url(/assets/instrument-sans-latin-ext-400-normal-r32jotim.woff) format("woff"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/instrument-sans-latin-500-normal-Dk9ku72i.woff2) format("woff2"), url(/assets/instrument-sans-latin-500-normal-Z6ESRlEs.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/instrument-sans-latin-ext-500-normal-CTEe1bJa.woff2) format("woff2"), url(/assets/instrument-sans-latin-ext-500-normal-CAxz3nsc.woff) format("woff"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/instrument-sans-latin-600-normal-B7fBEWYG.woff2) format("woff2"), url(/assets/instrument-sans-latin-600-normal-B9e8oLYv.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/instrument-sans-latin-ext-600-normal-BsaQcF38.woff2) format("woff2"), url(/assets/instrument-sans-latin-ext-600-normal-DMks36a2.woff) format("woff"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/instrument-sans-latin-700-normal-CYfAanHo.woff2) format("woff2"), url(/assets/instrument-sans-latin-700-normal-DfAjL1vF.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/instrument-sans-latin-ext-700-normal-ClYbKGw-.woff2) format("woff2"), url(/assets/instrument-sans-latin-ext-700-normal-BQc-7cTM.woff) format("woff"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2) format("woff2"), url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2) format("woff2"), url(/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff) format("woff"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2) format("woff2"), url(/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2) format("woff2"), url(/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff) format("woff"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2) format("woff2"), url(/assets/ibm-plex-mono-latin-600-normal-DWFSQ4vo.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/ibm-plex-mono-latin-ext-600-normal-D38SheWl.woff2) format("woff2"), url(/assets/ibm-plex-mono-latin-ext-600-normal-DmB0ttJJ.woff) format("woff"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ----------------------------------------------------------------- tokens */

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #1a1a1a;
  --line: #222222;
  --line-2: #333333;
  --line-hover: #444444;
  --text: #ffffff;
  --muted: #9a9a9a;
  --faint: #5a5a5a;
  --bar-track: #1f1f1f;
  --ok: #3ddc84;
  --font-display: "Manrope", "Instrument Sans", system-ui, sans-serif;
  --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --gutter: 16px;
  --topbar-h: 64px;
  --t: 150ms ease;
  --dots: radial-gradient(circle, #ffffff 1px, transparent 1.2px);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 18px; }
p { margin: 0; }
a { color: var(--text); text-decoration: none; transition: color var(--t), border-color var(--t), background-color var(--t); }
a:hover { color: var(--text); }
p a, .field-note a, .venue-note a, .market-results-status a, .page-heading a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
p a:hover, .field-note a:hover, .venue-note a:hover { text-decoration-color: var(--text); }
button { font: inherit; color: inherit; cursor: pointer; transition: color var(--t), border-color var(--t), background-color var(--t), opacity var(--t); }
button:disabled { cursor: not-allowed; }
input, textarea, select { font: inherit; color: inherit; }
code { font-family: var(--font-mono); font-size: 0.92em; color: var(--text); background: var(--surface-3); padding: 1px 5px; border-radius: 4px; }
img, svg { display: inline-block; vertical-align: middle; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: var(--radius-sm); }
::selection { background: var(--text); color: var(--bg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.dim { color: var(--muted); }
.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.up { color: var(--text); }
.down { color: var(--muted); }

/* ---------------------------------------------------------------- buttons */

.primary-button, .landing-btn.primary, .welcome-go, .claim-fees, .launch-submit, .venue-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--text);
  background: var(--text); color: var(--bg); font: 700 14px/1 var(--font-ui);
  white-space: nowrap; text-decoration: none;
}
.primary-button:hover, .landing-btn.primary:hover, .welcome-go:hover, .claim-fees:hover, .launch-submit:hover, .venue-primary:hover { background: #e6e6e6; border-color: #e6e6e6; color: var(--bg); }
.primary-button:disabled, .claim-fees:disabled, .launch-submit:disabled { background: var(--surface-3); border-color: var(--surface-3); color: var(--faint); }
.secondary-button, .landing-btn, .landing-pill, .acct-action, .launch-success-dismiss, .al-close {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: transparent; color: var(--text); font: 600 14px/1 var(--font-ui); white-space: nowrap; text-decoration: none;
}
.secondary-button:hover, .landing-btn:hover, .landing-pill:hover, .acct-action:hover, .launch-success-dismiss:hover { border-color: var(--line-hover); color: var(--text); }
.text-link, .link-button { background: none; border: 0; padding: 0; color: var(--muted); font: 600 13px/1.4 var(--font-ui); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.text-link:hover, .link-button:hover { color: var(--text); text-decoration-color: var(--text); }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: var(--radius-sm); border: 1px solid transparent; background: transparent; color: var(--muted); }
.icon-button:hover { color: var(--text); }
.icon-button.selected { color: var(--text); background: var(--surface-3); border-color: var(--line); }

/* segmented controls: sorts, filters, tabs */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.segmented button { padding: 7px 12px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font: 600 13px/1 var(--font-ui); white-space: nowrap; }
.segmented button:hover { color: var(--text); }
.segmented button.active { background: var(--text); color: var(--bg); }

/* ------------------------------------------------------------------ forms */

.form-field { display: block; margin-top: 14px; }
.form-field > span { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; font: 600 12px/1.3 var(--font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.form-field > span small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--faint); }
.form-field > span em { margin-left: auto; font: 500 11px var(--font-mono); font-style: normal; color: var(--faint); }
.form-field input, .form-field textarea, .lp-custom input, .ticker-input {
  display: block; width: 100%; min-width: 0; padding: 11px 13px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 14px/1.4 var(--font-ui);
  transition: border-color var(--t);
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field input::placeholder, .form-field textarea::placeholder, .lp-custom input::placeholder { color: var(--faint); }
.form-field input:hover, .form-field textarea:hover, .ticker-input:hover, .lp-custom input:hover { border-color: var(--line-hover); }
.form-field input:focus-visible, .form-field textarea:focus-visible, .lp-custom input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.ticker-input { display: flex; align-items: center; gap: 6px; padding: 0 13px; }
.ticker-input > span { color: var(--muted); font-family: var(--font-mono); }
.ticker-input input { border: 0; background: transparent; padding: 11px 0; text-transform: uppercase; font-family: var(--font-mono); }
.ticker-input input:focus-visible { outline: none; }
.ticker-input:focus-within { border-color: var(--text); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.field-note:empty { display: none; }
label.search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 40px; min-width: 240px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); transition: border-color var(--t); }
label.search:hover, label.search:focus-within { border-color: var(--line-hover); }
label.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 500 14px var(--font-ui); }
label.search input::placeholder { color: var(--faint); }
label.search input:focus-visible { outline: none; }
label.search input::-webkit-search-cancel-button { filter: invert(1) grayscale(1); }

/* ------------------------------------------------------------------ cards */

.card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 22px; }

/* ------------------------------------------------------------------ shell */

.app-shell { display: flex; flex-direction: column; min-height: 100dvh; background: var(--bg); }
.page-stage { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px var(--gutter) 64px; }

.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px; height: var(--topbar-h); padding: 0 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 6px 4px; border: 0; background: none; color: var(--text); font: 800 24px/1 var(--font-display); letter-spacing: -0.03em; }
.brand-mark { height: 24px; width: auto; }
.brand .wordmark { line-height: 1; }
.wordmark { display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.wm-first { position: relative; display: inline-block; }
.wm-first::after { content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: -0.2em; height: 0.12em; background: currentColor; }
.wm-suffix { color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.desktop-nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--muted); font: 600 14px/1 var(--font-ui); }
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a.active { color: var(--text); background: var(--surface-3); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-right-tools { display: flex; align-items: center; }
.top-bell { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--muted); }
.top-bell:hover, .top-bell[aria-expanded="true"] { color: var(--text); border-color: var(--line-hover); }
.acct-anchor { position: relative; }
.wallet-button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--text); border-radius: var(--radius); background: var(--text); color: var(--bg); font: 700 13px/1 var(--font-ui); white-space: nowrap; }
.wallet-button:hover { background: #e6e6e6; border-color: #e6e6e6; }
.wallet-button.connected { background: transparent; color: var(--text); border-color: var(--line-2); font-family: var(--font-mono); font-weight: 500; }
.wallet-button.connected:hover { border-color: var(--line-hover); }
.wallet-button .short-label { display: none; }
.mobile-product-nav { display: none; }

/* wallet panel */
.acct-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: min(320px, calc(100vw - 2 * var(--gutter))); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); text-align: left; }
.acct-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.acct-label { display: block; font: 600 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.acct-addr-row { display: flex; align-items: center; gap: 6px; }
.acct-addr { font: 500 14px var(--font-mono); }
.acct-icon-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); background: none; color: var(--muted); }
.acct-icon-btn:hover { color: var(--text); border-color: var(--line); }
.acct-list { max-height: 240px; overflow: auto; margin: 6px 0; }
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.acct-row:last-child { border-bottom: 0; }
.acct-token { display: inline-flex; align-items: center; gap: 8px; }
.acct-logo { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: var(--surface-3); }
.acct-logo img, .acct-logo .token-icon { width: 26px; height: 26px; font-size: 10px; }
.acct-sym { font: 600 13px var(--font-ui); }
.acct-amounts { display: flex; flex-direction: column; align-items: flex-end; }
.acct-amt { font: 500 13px var(--font-mono); }
.acct-val { font: 400 11px var(--font-mono); color: var(--muted); }
.acct-empty { padding: 10px 0; font-size: 13px; color: var(--muted); }
.acct-actions { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.acct-action { flex: 1; padding: 10px 12px; font-size: 13px; }
.acct-note { margin-top: 12px; font-size: 11.5px; line-height: 1.45; color: var(--faint); }

/* page transition: two black lids that meet in the middle */
.blink-transition { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.blink-transition .lid { position: absolute; left: 0; right: 0; height: 50%; background: var(--bg); transform: scaleY(0); transition: transform 150ms ease; }
.blink-transition .lid-top { top: 0; transform-origin: top; }
.blink-transition .lid-bottom { bottom: 0; transform-origin: bottom; }
.blink-transition.closed .lid { transform: scaleY(1); }

/* footer */
.site-footer-v39 { border-top: 1px solid var(--line); padding: 28px 24px 36px; }
.sfv-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; margin: 0 auto; }
.footer-brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; font: 800 20px/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.footer-brand > span { font: 500 13px/1.3 var(--font-ui); letter-spacing: 0; color: var(--muted); }
.footer-summary { width: 100%; max-width: 560px; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 8px; }
.footer-links a { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); }
.footer-links a:hover { color: var(--text); border-color: var(--line-hover); }

/* alerts panel */
.alerts-overlay { position: fixed; inset: 0; z-index: 60; }
.alerts-panel { position: absolute; top: calc(var(--topbar-h) + 8px); right: 24px; width: min(380px, calc(100vw - 2 * var(--gutter))); max-height: min(70vh, 560px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.al-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.al-head b { font: 800 15px var(--font-display); letter-spacing: -0.02em; }
.al-live { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--font-mono); color: var(--muted); }
.al-close { margin-left: auto; width: 30px; height: 30px; padding: 0; border-color: transparent; color: var(--muted); }
.al-close:hover { color: var(--text); border-color: var(--line); }
.al-feed { overflow: auto; padding: 6px; }
.al-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); }
.al-item:hover { background: var(--surface-2); }
.al-mark .token-icon { width: 32px; height: 32px; font-size: 11px; }
.al-body { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.al-body b { color: var(--text); }
.al-ago { font: 400 11px var(--font-mono); color: var(--faint); }
.al-empty { padding: 20px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- landing */

.app-shell.is-landing > :not(.topbar):not(.page-stage):not(.blink-transition) { display: none; }
.app-shell.is-landing .page-stage { max-width: none; margin: 0; padding: 0; width: 100%; }
.landing { position: relative; overflow: hidden; min-height: calc(100dvh - var(--topbar-h)); display: flex; flex-direction: column; background: var(--bg); }
/* dotted particle field, top-right corner, fading out */
.landing-glow { position: absolute; top: -40px; right: -40px; width: min(62vw, 640px); aspect-ratio: 1; background-image: var(--dots); background-size: 14px 14px; opacity: .55; pointer-events: none; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, rgba(0, 0, 0, .5) 35%, transparent 68%); mask-image: radial-gradient(circle at 70% 30%, #000 0%, rgba(0, 0, 0, .5) 35%, transparent 68%); }
/* second, fainter field bottom-left */
.landing-stars { position: absolute; bottom: -60px; left: -60px; width: min(46vw, 440px); aspect-ratio: 1; background-image: var(--dots); background-size: 16px 16px; opacity: .28; pointer-events: none; -webkit-mask-image: radial-gradient(circle at 30% 70%, #000 0%, transparent 62%); mask-image: radial-gradient(circle at 30% 70%, #000 0%, transparent 62%); }
.landing-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px var(--gutter); }
.landing-wordmark { display: flex; flex-direction: column; align-items: center; gap: 28px; margin: 0; font: 800 clamp(64px, 13vw, 168px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--text); padding-bottom: 0.22em; }
.landing-wordmark .brand-mark { height: 96px; width: auto; }
.landing-wordmark .wm-first::after { height: 0.1em; bottom: -0.18em; }
/* Typed-out wordmark: letters start collapsed and pop in one by one (step timing = typing, not
   fading); the caret follows the last visible letter and blinks a few times, then goes. */
.wm-typed { white-space: nowrap; }
.wm-typed .wm-ch { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; }
.wm-typed .wm-ch.on { max-width: 1.2em; }
.wm-typed .wm-first::after { opacity: 0; }
.wm-typed .wm-first:has(.on)::after { opacity: 1; }
.wm-caret { display: none; width: 0.06em; height: 0.82em; margin-left: 0.06em; vertical-align: baseline; background: currentColor; transform: translateY(0.06em); animation: wm-blink 900ms steps(1, end) infinite; }
.wm-typed.typing .wm-caret { display: inline-block; }
.wm-typed.still .wm-caret { display: none; }
/* The rest of the hero stays out of sight until the wordmark has finished typing. */
.landing-tagline, .landing-actions, .landing-stats { opacity: 0; }
.landing.typed .landing-tagline, .landing.typed .landing-actions, .landing.typed .landing-stats { animation: wm-fade 500ms ease-out both; }
.landing.typed .landing-tagline { animation-delay: .1s; }
.landing.typed .landing-actions { animation-delay: .3s; }
.landing.typed .landing-stats { animation-delay: .5s; }
@keyframes wm-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes wm-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .landing-tagline, .landing-actions, .landing-stats { animation: none; opacity: 1; transform: none; }
  .wm-caret { display: none; }
}
.landing-tagline { margin: 24px auto 0; max-width: 560px; font: 500 clamp(15px, 1.7vw, 19px)/1.45 var(--font-ui); color: var(--muted); text-wrap: balance; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.landing-btn { padding: 14px 30px; font-size: 15px; }
.landing-soon { display: inline-flex; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font: 600 14px/1 var(--font-ui); letter-spacing: .02em; }
.landing-stats { display: flex; justify-content: center; margin-top: 56px; }
.landing-stats > div { display: flex; flex-direction: column; align-items: center; padding: 0 40px; }
.landing-stats > div + div { border-left: 1px solid var(--line); }
.landing-stats b { font: 800 clamp(28px, 3.6vw, 44px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.landing-stats span { margin-top: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.landing-foot { position: relative; z-index: 1; display: flex; justify-content: flex-end; gap: 16px; padding: 20px 24px 28px; border-top: 1px solid var(--line); }
.landing-foot:empty { display: none; }
.landing-pill { padding: 10px 16px; font-size: 13px; }

/* ---------------------------------------------------------------- explore */

.section-heading { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.explore-page .section-heading::before { content: ""; position: absolute; top: -28px; right: -16px; width: 360px; height: 220px; background-image: var(--dots); background-size: 14px 14px; opacity: .16; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%); }
.section-heading > div { position: relative; }
.market-example-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.market-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.view-toggle .icon-button { width: 30px; height: 30px; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.market-grid.list-view { grid-template-columns: 1fr; gap: 8px; }
.market-results-status { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.market-results-status:empty { display: none; }
.market-grid > .market-results-status { grid-column: 1 / -1; margin: 8px 0; }
.load-more { display: flex; justify-content: center; margin-top: 18px; }
.load-more:empty { display: none; }

.market-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color var(--t), background-color var(--t); }
.market-card:hover { border-color: var(--line-hover); background: var(--surface-2); }
.market-card:has(.market-detail-target:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.market-detail-target { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border-radius: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.market-detail-target:focus-visible { outline: none; }
.market-card-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.market-open { color: var(--faint); transition: color var(--t); }
.market-card:hover .market-open { color: var(--text); }
.market-card-name { position: relative; z-index: 3; pointer-events: none; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.market-card-name h3 { order: 1; font-size: 20px; }
.market-card-name .ghost-badge { order: 0; }
.market-card-name .market-ghost { order: 2; width: 100%; }
.market-card-name .market-curve-label { order: 3; }
.market-card-name .market-links { order: 4; }
.market-curve-label { font-size: 12px; line-height: 1.4; color: var(--muted); }
.market-fomo-label { color: var(--text); }
.market-links, .chooser-links, .token-links { display: flex; flex-wrap: wrap; gap: 6px; }
.market-links a, .chooser-links a, .token-links a { pointer-events: auto; font: 500 11px/1 var(--font-ui); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.market-links a:hover, .chooser-links a:hover, .token-links a:hover { color: var(--text); border-color: var(--line-hover); }
.market-card-price { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 4px; }
.market-card-price > span { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.market-card-price > strong { font: 800 34px/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.market-card-pair, .market-card-volume { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.market-card-pair strong { color: var(--text); font-weight: 600; }
.market-card-volume b { color: var(--text); font-weight: 600; font-family: var(--font-mono); }
.market-card-volume small { font-size: 11px; color: var(--faint); }
.pair-mini { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; background: var(--surface-3); }
.pair-mini img { width: 18px; height: 18px; filter: grayscale(1); }
.pair-corner { display: none; }
.change { font: 500 12px var(--font-mono); color: var(--text); }
.change.negative { color: var(--muted); }
.row-chain { display: none; }

.token-icon { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--surface-3); border: 1px solid var(--line); color: var(--text); font: 700 14px var(--font-display); letter-spacing: 0; font-style: normal; flex: 0 0 auto; }
.token-icon img { width: 100%; height: 100%; object-fit: cover; }

/* list view: one row per token */
.market-grid.list-view .market-card { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px 18px; padding: 14px 18px; }
.market-grid.list-view .market-card-heading { display: contents; }
.market-grid.list-view .market-open { display: none; }
.market-grid.list-view .market-card-name { gap: 6px; }
.market-grid.list-view .market-card-name h3 { font-size: 16px; }
.market-grid.list-view .market-card-price { margin: 0; align-items: flex-end; }
.market-grid.list-view .market-card-price > strong { font-size: 22px; }
.market-grid.list-view .market-card-pair { display: none; }

/* loading skeleton */
.market-loading { display: contents; }
.v39-mkt-skel { display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.v39-mkt-skel > span { display: block; border-radius: 4px; background: var(--surface-3); animation: skel 1.4s ease-in-out infinite; }
.market-skel-icon { width: 44px; height: 44px; border-radius: 50% !important; }
.market-skel-name { width: 40%; height: 14px; }
.market-skel-value { width: 60%; height: 34px; margin-top: auto; }
@keyframes skel { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.token-page .market-loading { display: block; }
.token-page .v39-mkt-skel { border: 0; padding: 0; min-height: 160px; }

/* ghost status: badges, progress */
.ghost-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 10px/1 var(--font-ui); letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.ghost-badge i { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.ghost-badge.hidden { color: var(--muted); background: var(--surface-3); border: 1px solid var(--line); }
.ghost-badge.hidden i { background: var(--muted); animation: ghost-pulse 2.6s ease-in-out infinite; }
.ghost-badge.revealed { color: var(--bg); background: var(--text); border: 1px solid var(--text); }
.ghost-badge.revealed i { background: var(--bg); }
@keyframes ghost-pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.drop-bar { position: relative; width: 100%; height: 6px; border-radius: 999px; background: var(--bar-track); overflow: hidden; }
.drop-bar i { display: block; height: 100%; border-radius: inherit; background: var(--text); transition: width 300ms ease; }
.market-ghost { width: 100%; }
.market-ghost .drop-bar { height: 5px; }
.market-ghost small { display: block; margin-top: 6px; font: 400 11px/1.4 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.token-sub .ghost-badge { margin-left: 8px; }

/* token chooser (Open $SYM) */
button.market-detail-target { background: none; border: 0; padding: 0; cursor: pointer; }
.chooser-shell, .welcome-shell { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: var(--gutter); opacity: 0; transition: opacity 160ms ease; }
.chooser-shell.is-open, .welcome-shell.is-open { opacity: 1; }
.chooser-shell.is-closing, .welcome-shell.is-closing { opacity: 0; }
.welcome-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.chooser-card, .welcome-card { position: relative; width: min(420px, 100%); max-height: calc(100dvh - 2 * var(--gutter)); overflow: auto; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); transform: translateY(8px); transition: transform 160ms ease; }
.chooser-shell.is-open .chooser-card, .welcome-shell.is-open .welcome-card { transform: none; }
.chooser-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.chooser-head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 20px; }
.chooser-x { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); background: none; color: var(--muted); }
.chooser-x:hover { color: var(--text); border-color: var(--line); }
.chooser-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-top: 8px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); color: inherit; }
.chooser-opt:hover { border-color: var(--line-hover); background: var(--surface-3); }
.chooser-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--surface-3); color: var(--text); flex: 0 0 auto; overflow: hidden; }
.chooser-ico-fomo { background: #000; }
.chooser-ico-fomo img { width: 40px; height: 40px; object-fit: cover; display: block; filter: grayscale(1); }
.chooser-opt strong { display: block; font: 700 15px/1.2 var(--font-ui); }
.chooser-opt small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.chooser-links { margin-top: 14px; }

/* welcome card (once per session) */
.welcome-card { width: min(480px, 100%); padding: 26px; }
.welcome-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font: 700 11px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; }
.welcome-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--text); }
.welcome-title { margin: 18px 0; font-size: clamp(26px, 5vw, 34px); }
.welcome-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.welcome-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.welcome-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 500 12px var(--font-mono); }
.welcome-steps strong { display: block; font: 700 15px/1.3 var(--font-ui); margin: 2px 0 3px; }
.welcome-steps p { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.welcome-go { width: 100%; padding: 15px; font-size: 15px; }

/* ----------------------------------------------------------------- launch */

.launch-top { margin-bottom: 26px; }
.launch-top p { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 640px; }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.launch-form { margin: 0; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.launch-identity { display: flex; gap: 18px; align-items: flex-start; }
.launch-art-field { flex: 0 0 auto; }
.launch-art-picker { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 128px; height: 128px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface-2); color: var(--text); cursor: pointer; text-align: center; transition: border-color var(--t); }
.launch-art-picker:hover, .launch-art-picker:focus-within { border-color: var(--line-hover); }
.launch-art-picker > span:not(.upload-thumb) { font: 600 13px/1 var(--font-ui); margin-top: 8px; }
.launch-art-picker small { font-size: 11px; color: var(--muted); }
.upload-thumb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; color: var(--muted); }
.upload-thumb:has(img) { width: 100%; height: 100%; border-radius: var(--radius); }
.upload-thumb:has(img) ~ * { display: none; }
.launch-name-fields { flex: 1; min-width: 0; }
.launch-name-fields .form-field:first-child { margin-top: 0; }
.upload-caption { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.studio-links { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; }
.studio-links summary { display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; list-style: none; font: 600 14px/1 var(--font-ui); }
.studio-links summary::-webkit-details-marker { display: none; }
.studio-links summary small { font-weight: 500; color: var(--faint); }
.studio-links summary > span { margin-left: auto; color: var(--muted); }
.studio-links[open] summary { border-bottom: 1px solid var(--line); }
.studio-links[open] summary > span { transform: rotate(45deg); }
.studio-links .form-field:last-child { margin-bottom: 14px; }
.lp-block { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.lp-block-title, .lp-preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 700 11px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lp-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-picks button { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; color: var(--muted); font: 600 13px/1 var(--font-ui); }
.lp-picks button:hover { color: var(--text); border-color: var(--line-hover); }
.lp-picks button.selected { background: var(--text); border-color: var(--text); color: var(--bg); }
.lp-custom { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.lp-custom input { flex: 1; font-family: var(--font-mono); }
.lp-custom span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.lp-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.lp-note:empty { display: none; }
.lp-note strong { color: var(--text); font-weight: 600; }
.lp-block .form-field { margin-top: 0; }
.lp-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.lp-terms li { display: flex; align-items: center; gap: 8px; font: 600 13.5px/1.3 var(--font-ui); color: var(--text); }
.lp-terms li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text); flex: 0 0 auto; }
.launch-bottom { margin-top: 22px; }
.launch-submit { width: 100%; padding: 15px; font-size: 15px; }
.launch-review-note { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.launch-aside { min-width: 0; }
.studio-preview { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.studio-preview + .studio-preview { margin-top: 14px; }
.studio-preview-token { display: flex; align-items: center; gap: 12px; }
.studio-preview-token > span, .studio-preview-token > img { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius) !important; background: var(--surface-3); border: 1px solid var(--line); font: 700 16px var(--font-display); flex: 0 0 auto; }
.studio-preview-token strong { display: block; font: 800 17px/1.2 var(--font-display); letter-spacing: -0.02em; }
.studio-preview-token p { font-size: 13px; color: var(--muted); }
.lp-preview-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 10px; margin-top: 14px; font: 500 13px/1.4 var(--font-ui); color: var(--text); }
.lp-preview-meta small { font: 500 10.5px var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-left: 4px; }
.lp-preview-meta .ghost-badge { margin-right: 6px; }
.lp-preview-bio { margin: 12px 0 0; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.lp-preview-bio + .lp-note strong { font-family: var(--font-mono); font-weight: 500; }
.lp-preview-bio + .lp-note small { color: var(--faint); }
.lp-how { margin-top: 14px; }
.lp-steps { list-style: none; margin: 0; padding: 0; counter-reset: lp; display: grid; gap: 14px; }
.lp-steps li { position: relative; padding-left: 40px; counter-increment: lp; }
.lp-steps li::before { content: counter(lp, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 500 11px/26px var(--font-mono); text-align: center; }
.lp-steps strong { display: block; font: 700 14px/1.3 var(--font-ui); }
.lp-steps span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.lp-limits { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--faint); }

/* launch success */
.launch-success-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: var(--gutter); background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); }
.launch-success-card { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 2 * var(--gutter)); overflow: auto; padding: 26px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.launch-success-bar { height: 3px; margin: -26px -26px 22px; background: var(--ok); }
.launch-success-head { display: flex; flex-direction: column; gap: 12px; }
.launch-success-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-3); overflow: hidden; font: 800 20px var(--font-display); }
.launch-success-avatar img { width: 100%; height: 100%; object-fit: cover; }
.launch-success-head p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.launch-receipt { display: grid; gap: 8px; margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.launch-receipt > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.launch-receipt span { color: var(--muted); }
.launch-receipt a { font-family: var(--font-mono); }
.launch-success-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.launch-success-actions > * { flex: 1; }
.launch-success-dismiss { width: 100%; margin-top: 10px; border-color: transparent; color: var(--muted); }
.launch-success-dismiss:hover { color: var(--text); }

/* ------------------------------------------------------------------ token */

.token-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.token-layout > div { min-width: 0; }
.token-header { display: flex; align-items: center; gap: 16px; min-width: 0; }
.token-header > div { min-width: 0; }
.token-logo { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); background: var(--surface-3); font: 800 20px var(--font-display); flex: 0 0 auto; }
.token-logo img { width: 100%; height: 100%; object-fit: cover; }
.token-header h1 { font-size: clamp(22px, 3vw, 30px); overflow-wrap: anywhere; }
.token-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font: 500 13px/1.4 var(--font-mono); color: var(--muted); }
.ca-copy { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--muted); font: 500 12px var(--font-mono); }
.ca-copy:hover { color: var(--text); border-color: var(--line-hover); }
.ca-explorer { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--muted); }
.ca-explorer:hover { color: var(--text); }
.token-links { margin-top: 8px; align-items: center; }
.token-links-note { font-size: 11px; color: var(--faint); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 18px; }
.price-big { font: 800 clamp(30px, 4vw, 40px)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price-chg { display: inline-flex; align-items: baseline; gap: 6px; font: 500 14px var(--font-mono); }
.price-chg small { font-size: 11px; color: var(--faint); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 20px; }
.stat { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.stat .k { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat .v { margin-top: 8px; font: 700 15px/1.2 var(--font-mono); color: var(--text); overflow-wrap: anywhere; }
.tk-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.tk-tabs button { padding: 10px 12px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 600 13px/1 var(--font-ui); }
.tk-tabs button:hover { color: var(--text); }
.tk-tabs button.active { color: var(--text); border-bottom-color: var(--text); }
.tk-tabs-hint { margin-left: auto; padding: 6px 0; font: 400 11px var(--font-mono); color: var(--faint); }
#tk-pane { margin-top: 16px; }
.chart-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.chart-empty { display: grid; place-items: center; min-height: 160px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); font-size: 13px; }
.tf-row { display: flex; gap: 4px; margin-top: 10px; }
.tf-row button { padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--muted); font: 600 11px/1 var(--font-ui); }
.tf-row button.active { color: var(--bg); background: var(--text); border-color: var(--text); }
.trades-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 800 16px var(--font-display); letter-spacing: -0.02em; }
.tape-live { display: inline-flex; align-items: center; gap: 6px; font: 500 10px var(--font-mono); letter-spacing: .1em; color: var(--muted); }
.tape-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text); animation: ghost-pulse 2s ease-in-out infinite; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.board { width: 100%; border-collapse: collapse; font: 400 13px var(--font-mono); font-variant-numeric: tabular-nums; }
table.board th { padding: 10px 12px; text-align: left; font: 500 10.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
table.board td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.board tr:last-child td { border-bottom: 0; }
table.board td.dim { color: var(--muted); }
.tk-pitch p { font-size: 14px; line-height: 1.55; }
.tk-pitch b { font-weight: 600; }
.tk-pitch-meta { margin-top: 12px; font: 400 12px/1.5 var(--font-mono); overflow-wrap: anywhere; }

/* the ghost card: reveal / holder publishing */
.ghost-card { margin-top: 16px; }
.drop-head { display: flex; align-items: center; gap: 10px; }
.ghost-card h2 { margin: 12px 0 8px; }
.drop-body { font-size: 14px; line-height: 1.55; color: var(--muted); }
.ghost-card .drop-bar { margin: 16px 0 14px; }
.drop-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.drop-stats span { display: flex; flex-direction: column; min-width: 0; }
.drop-stats small { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drop-stats b { margin-top: 6px; font: 700 14px/1.3 var(--font-mono); overflow-wrap: anywhere; }
.drop-action { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.ghost-perm { flex: 1 1 200px; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* trade + fees side cards */
.vault-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font: 800 17px var(--font-display); letter-spacing: -0.02em; }
.vault-badge { margin-left: auto; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11px var(--font-mono); color: var(--muted); }
.vault-desc { font-size: 13px; line-height: 1.5; color: var(--muted); }
.trade-panel .stat-row, #fees-card .stat-row { margin-top: 14px; }
.claim-fees { width: 100%; margin-top: 14px; }
.venue-block { margin-top: 0; }
.venue-primary { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding: 14px 16px; text-align: left; }
.venue-primary > span { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.venue-primary small { font-weight: 500; font-size: 12px; opacity: .7; white-space: normal; }
.venue-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.venue-links-label { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.venue-links a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); font: 600 13px/1 var(--font-ui); color: var(--text); }
.venue-links a:hover { border-color: var(--line-hover); }
.venue-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.venue-note b { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------- fees */

.page-heading { margin-bottom: 24px; }
.page-heading p { margin-top: 10px; max-width: 720px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.page-kicker { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.eco-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.eco-metric { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.eco-metric small { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eco-metric b { margin-top: 10px; font: 800 26px/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.eco-metric span { margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--faint); }
.fee-token-list { display: grid; gap: 12px; }
.fee-token-card { padding: 18px; }
.fee-token-card + .fee-token-card { margin-top: 0; }
.fee-token-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.fee-token-avatar .token-icon { width: 40px; height: 40px; font-size: 12px; }
.fee-token-name { flex: 1 1 220px; min-width: 0; }
.fee-token-name b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 800 17px var(--font-display); letter-spacing: -0.02em; }
.fee-token-name > span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.fee-token-total { display: flex; flex-direction: column; min-width: 0; }
.fee-token-total b { font: 700 15px var(--font-mono); }
.fee-token-total small { font-size: 11.5px; color: var(--muted); }
.fee-token-row .claim-fees { width: auto; margin: 0; }
.fees-empty { text-align: center; padding: 40px 22px; }
.fees-empty p { margin: 8px 0 18px; color: var(--muted); }
.eco-note { max-width: 720px; }

/* --------------------------------------------------------------- narrow */

.narrow-page { max-width: 720px; }

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------- mobile */

@media (max-width: 1000px) {
  .launch-grid, .token-layout { grid-template-columns: 1fr; }
  .launch-aside { order: 2; }
}

@media (max-width: 800px) {
  :root { --topbar-h: 56px; }
  .topbar { padding: 0 var(--gutter); }
  .brand { font-size: 22px; }
  .desktop-nav { display: none; }
  .mobile-product-nav { display: flex; gap: 2px; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mobile-product-nav::-webkit-scrollbar { display: none; }
  .mobile-product-nav a { flex: 0 0 auto; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--muted); font: 600 13px/1 var(--font-ui); white-space: nowrap; }
  .mobile-product-nav a.active { color: var(--text); background: var(--surface-3); }
  .app-shell.is-landing .mobile-product-nav { display: none; }
  .wallet-button { padding: 0 12px; }
  .wallet-button .wide-label { display: none; }
  .wallet-button .short-label { display: inline; }
  .alerts-panel { right: var(--gutter); }
  .page-stage { padding: 20px var(--gutter) 48px; }
  .card, .launch-form { padding: 18px; }
  .landing-body { padding: 48px var(--gutter); }
  .landing-wordmark { font-size: clamp(56px, 18vw, 96px); gap: 20px; }
  .landing-wordmark .brand-mark { height: 72px; }
  .landing-stats { flex-wrap: wrap; gap: 20px 0; margin-top: 40px; }
  .landing-stats > div { padding: 0 18px; }
  .landing-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .landing-btn { width: 100%; }
  .landing-foot { justify-content: center; }
  .section-heading { align-items: stretch; flex-direction: column; }
  label.search { min-width: 0; width: 100%; }
  .market-toolbar { flex-direction: column; align-items: stretch; }
  .market-toolbar .segmented { width: 100%; }
  .market-toolbar .segmented button { flex: 1; padding: 8px 6px; font-size: 12.5px; }
  .filter-group { width: 100%; }
  .filter-group .segmented { flex: 1; }
  .market-grid { grid-template-columns: 1fr; }
  .market-grid.list-view .market-card { grid-template-columns: auto 1fr; }
  .market-grid.list-view .market-card-price { grid-column: 1 / -1; align-items: flex-start; }
  .market-grid.list-view .market-card-volume { grid-column: 1 / -1; }
  .launch-identity { flex-direction: column; align-items: stretch; }
  .launch-art-picker { width: 100%; height: 120px; }
  .field-grid { grid-template-columns: 1fr; }
  .lp-terms { grid-template-columns: 1fr 1fr; }
  .token-header h1 { font-size: 22px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drop-stats { grid-template-columns: 1fr; }
  .tk-tabs-hint { display: none; }
  .chooser-shell, .welcome-shell { align-items: flex-end; padding: 0; }
  .chooser-card, .welcome-card { width: 100%; max-height: 88dvh; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; transform: translateY(24px); padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .fee-token-row .claim-fees { width: 100%; }
  .eco-metrics { grid-template-columns: 1fr 1fr; }
  .site-footer-v39 { padding: 22px var(--gutter) 32px; }
}

@media (max-width: 420px) {
  .eco-metrics { grid-template-columns: 1fr; }
  .lp-terms { grid-template-columns: 1fr; }
  .landing-stats > div { padding: 0 12px; }
}
