/* anewshadeofgreen — direct-to-v4 launchpad. One serif gesture, strict data type,
   transaction-blueprint structure, and restrained signal-lime execution. */

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  /* everything IS a shade of #CBFF00 — the dark theme is green-black, lit from
     above by the accent. Green is surface and light, never skinny glowing text. */
  --bg: #080a03;
  --surface: #0d1005;
  --surface2: #131709;
  --surface3: #1a200c;
  --line: #1f2610;
  --line-strong: #3e481d;
  --text: #f2f6e0;
  --muted: #9aa47c;
  --faint: #666f4a;
  --accent: #CBFF00;
  --accent-ink: #0c0e02;
  --accent-text: #CBFF00;
  /* ONE hue. Gains, live dots, chips — everything positive is the brand green.
     Red exists only for losses and errors. "Gold" is dead: mapped into the
     green axis so every legacy chip harmonizes. */
  --up: #CBFF00;
  --down: #ff6b5e;
  --gold: #CBFF00;
  --gold-dim: #4d5c10;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --cond: "Saira Condensed", "Arial Narrow", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", serif;
  --r: 4px;
  background:
    radial-gradient(1300px 520px at 18% -160px, rgba(203, 255, 0, .13), transparent 70%),
    radial-gradient(1000px 700px at 100% 6%, rgba(203, 255, 0, .05), transparent 65%),
    linear-gradient(rgba(203, 255, 0, .015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 255, 0, .015) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Saira", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body[data-theme="light"] {
  --bg: #f4f5ea;
  --surface: #fbfcf3;
  --surface2: #ecefdb;
  --surface3: #e2e6cc;
  --line: #d9ddc2;
  --line-strong: #adb388;
  --text: #171a0e;
  --muted: #626749;
  --faint: #8f947a;
  --accent: #CBFF00;
  --accent-ink: #141900;
  --accent-text: #55700a;
  --up: #4e7a00;
  --down: #c44337;
  --gold: #55700a;
  --gold-dim: #b6c47e;
  background:
    radial-gradient(900px 360px at 50% -120px, rgba(78, 121, 0, .07), transparent 72%),
    linear-gradient(rgba(20, 25, 20, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 25, 20, .018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 56px 56px, 56px 56px, auto;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--text); }
::selection { background: var(--accent); color: var(--accent-ink); }
::placeholder { color: var(--faint); opacity: 1; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 3px solid var(--bg); border-radius: 9px; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.page { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 64px; flex: 1; }
.card { background: color-mix(in srgb, var(--surface) 96%, transparent); border: 1px solid var(--line); border-radius: var(--r); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.board { margin: 0; font-family: var(--cond); font-weight: 700; line-height: .94; letter-spacing: .01em; text-transform: uppercase; }
.hero-serif { margin: 0; font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; line-height: .96; letter-spacing: -.035em; }
/* the signature: serif emphasis is set IN the new shade — green as material,
   black ink on it, like the brand square carrying words */
.hero-serif em {
  font-weight: 500;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0 .12em;
  margin: 0 -.02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.plaque { display: flex; align-items: center; gap: 10px; font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); }
.plaque::before { content: "◆"; color: var(--accent); font-size: 11px; }
.plaque::after { content: ""; width: 50px; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; letter-spacing: .13em; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.dot-live { background: var(--up); box-shadow: 0 0 7px color-mix(in srgb, var(--up) 65%, transparent); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); }
.header-inner { width: min(1240px, calc(100% - 48px)); height: 64px; margin: 0 auto; display: flex; align-items: stretch; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; cursor: pointer; }
.brand-mark { display: grid; place-items: center; transform: translateY(-1px); }
.brand .board { font-size: 19px; }
/* GREEN is a filled block, not glowing text — the wordmark carries the shade */
.brand .board span { background: var(--accent); color: var(--accent-ink); padding: 1px 6px 2px; margin-left: 1px; border-radius: 2px; }
.main-nav { display: flex; align-items: stretch; }
.main-nav button, .main-nav a { display: grid; place-items: center; padding: 0 15px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-family: var(--cond); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.main-nav button:hover, .main-nav a:hover { color: var(--text); }
.main-nav button.active { color: var(--text); border-color: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.icon-button, .connect-button, .launch-button, .account-button { height: 36px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); cursor: pointer; }
.icon-button { width: 36px; }
.theme-toggle { display: grid; place-items: center; overflow: hidden; transition: border-color .15s ease, background .15s ease; }
.theme-toggle:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.theme-toggle:active { transform: scale(.92); }
.theme-icon { stroke: var(--text); stroke-width: 1.8; fill: none; }
.theme-icon.sun circle { fill: var(--accent-text); stroke: none; }
.theme-icon.sun path { stroke: var(--accent-text); }
@keyframes iconSpinIn { from { transform: rotate(-90deg) scale(.4); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }
.theme-toggle .theme-icon { animation: iconSpinIn .28s cubic-bezier(.2,.9,.3,1.2); }

.connect-button, .launch-button, .account-button { padding: 0 15px; font-family: var(--cond); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.connect-button { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.launch-button span { color: var(--accent-text); font-size: 11.5px; margin-left: 3px; }
.account-button { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.account-wrap { position: relative; }
.account-menu { position: absolute; top: 44px; right: 0; width: 260px; padding: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.account-address { padding: 9px 8px 12px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 11.5px; }
.account-menu button { width: 100%; padding: 9px; border: 0; background: none; text-align: left; cursor: pointer; }
.account-menu button:hover { background: var(--surface2); }

/* protocol status — persistent truth before any product promise */
.protocol-rail { min-height: 34px; border-bottom: 1px solid var(--line); background: var(--surface); }
.protocol-rail > div { width: min(1240px, calc(100% - 48px)); min-height: 34px; margin: 0 auto; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); overflow-x: auto; scrollbar-width: none; }
.protocol-rail > div::-webkit-scrollbar { display: none; }
.protocol-rail strong, .protocol-rail span { flex: 0 0 auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; white-space: nowrap; }
.protocol-rail strong { color: var(--text); }
.protocol-rail span { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.protocol-rail i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.protocol-rail .status-ok { color: var(--up); }
.protocol-rail .status-blocked { color: var(--down); }
.protocol-rail .status-pending { color: var(--gold); }

/* home */
.launch-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .8fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: 26px 0 30px; }
.launch-narrative { min-width: 0; }
.launch-narrative h1 { max-width: 680px; margin-top: 16px; font-size: clamp(46px, 5.2vw, 78px); }
.launch-narrative > p { max-width: 560px; margin: 16px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.bell-pulse { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 50%; box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 14%, transparent); }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; }
.hero-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--text); font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.hero-cta:hover { border-color: var(--accent); color: var(--text); }
.hero-cta.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hero-cta.primary:hover { filter: brightness(1.08); }

.execution-blueprint { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; max-width: 640px; margin-top: 26px; }
.execution-blueprint > div { min-width: 0; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.execution-blueprint span, .execution-blueprint strong, .execution-blueprint small { display: block; }
.execution-blueprint span { margin-bottom: 13px; color: var(--gold); font-family: var(--mono); font-size: 11px; }
.execution-blueprint strong { font-family: var(--cond); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.execution-blueprint small { margin-top: 4px; color: var(--faint); font-size: 11.5px; line-height: 1.3; }
.execution-blueprint > i { color: var(--faint); font-family: var(--mono); font-size: 11px; font-style: normal; }
.prelaunch-note { max-width: 640px; display: grid; grid-template-columns: 120px 1fr; gap: 14px; margin-top: 22px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prelaunch-note span { color: var(--accent-text); font-size: 11px; }
.prelaunch-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.launch-composer { overflow: hidden; border-color: var(--line-strong); box-shadow: 0 28px 80px rgba(0, 0, 0, .22); }
.composer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent 62%); }
.composer-head h2 { margin-top: 7px; font-size: 28px; }
.composer-step { color: var(--faint); font-size: 11.5px; letter-spacing: .12em; }
.draft-chip { padding: 5px 7px; border: 1px solid var(--gold-dim); color: var(--gold); font-size: 11px; letter-spacing: .09em; white-space: nowrap; }
.composer-block { padding: 17px 20px; border-bottom: 1px solid var(--line); }
.composer-label { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.composer-label > span { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--line-strong); color: var(--gold); font-family: var(--mono); font-size: 11.5px; }
.composer-label strong, .composer-label small { display: block; }
.composer-label strong { font-family: var(--cond); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.composer-label small { margin-top: 2px; color: var(--faint); font-size: 11px; }
.launch-composer label { display: block; min-width: 0; }
.launch-composer label > span { display: block; margin-bottom: 5px; color: var(--faint); font-family: var(--cond); font-size: 11.5px; font-weight: 700; letter-spacing: .13em; }
.launch-composer input, .launch-composer select, .launch-composer textarea { width: 100%; border: 1px solid var(--line); border-radius: 2px; outline: 0; background: var(--surface2); color: var(--text); font-family: var(--mono); font-size: 11.5px; }
.launch-composer input, .launch-composer select { height: 38px; padding: 0 10px; }
.launch-composer textarea { min-height: 54px; padding: 10px; resize: vertical; }
.launch-composer input:focus, .launch-composer select:focus, .launch-composer textarea:focus { border-color: var(--accent); }
.launch-composer select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 14px) 16px, calc(100% - 10px) 16px; background-size: 4px 4px; background-repeat: no-repeat; }
.identity-fields { display: grid; grid-template-columns: 54px 1fr 100px; gap: 8px; margin-bottom: 9px; }
.image-field { position: relative; }
.image-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.image-field b { height: 38px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px dashed var(--line-strong); border-radius: 2px; color: var(--muted); cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.image-field:hover b { border-color: var(--accent); color: var(--accent-text); }
.image-field b small { font-size: 0; }
.social-fields, .market-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 9px; }
.market-fields label > small { display: block; min-height: 22px; margin-top: 5px; color: var(--faint); font-size: 11.5px; line-height: 1.35; }
.supply-lock { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 15px; margin-top: 12px; padding: 10px 12px; border-left: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 5%, var(--surface2)); }
.supply-lock span { color: var(--faint); font-size: 11.5px; }
.supply-lock strong { grid-row: span 2; font-size: 12px; }
.supply-lock small { color: var(--muted); font-size: 11px; }
.founder-block { display: grid; grid-template-columns: 1fr 160px; align-items: end; gap: 16px; }
.founder-block .composer-label { margin: 0; }
.unit-input { position: relative; }
.unit-input input { padding-right: 42px; }
.unit-input b { position: absolute; top: 0; right: 10px; height: 38px; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.composer-review { padding: 14px 20px; background: var(--surface2); }
.review-route { display: flex; align-items: center; justify-content: space-between; gap: 7px; color: var(--text); font-size: 11.5px; letter-spacing: .09em; }
.review-route i { color: var(--gold); font-style: normal; }
.composer-review p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.launch-commit { width: 100%; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: repeating-linear-gradient(135deg, var(--surface3) 0 7px, var(--surface2) 7px 14px); color: var(--muted); cursor: not-allowed; }
.launch-commit span { font-family: var(--cond); font-size: 13px; font-weight: 800; letter-spacing: .13em; }
.launch-commit small { color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .07em; }

.invariant-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 44px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.invariant-strip > div { min-height: 62px; padding: 12px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.invariant-strip strong, .invariant-strip span { display: block; }
.invariant-strip strong { font-size: 18px; }
.invariant-strip span { margin-top: 0; color: var(--faint); font-family: var(--cond); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.proof-section { scroll-margin-top: 110px; }
.proof-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: 44px; margin-bottom: 24px; }
.proof-intro h2 { max-width: 560px; margin-top: 10px; font-size: clamp(28px, 3.2vw, 42px); }
.proof-intro > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.metric { min-width: 0; padding: 15px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric > div { overflow: hidden; text-overflow: ellipsis; font-size: 17px; font-weight: 600; white-space: nowrap; }
.metric > span { display: block; margin-top: 3px; color: var(--faint); font-family: var(--cond); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }

.venue-flag, .venue-chip { width: fit-content; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--muted); font-family: var(--cond); font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.proof-empty { min-height: 150px; display: flex; align-items: center; justify-content: center; gap: 15px; color: var(--muted); }
.proof-empty strong { font-size: 11.5px; }
.proof-empty p { margin: 5px 0 0; font-size: 12px; }

.market-toolbar { position: relative; display: grid; grid-template-columns: 220px minmax(260px, 1fr) auto; align-items: end; gap: 20px; margin-bottom: 17px; }
.board-count { display: block; margin-top: 8px; color: var(--faint); font-size: 11px; }
.market-search { position: relative; z-index: 20; display: flex; align-items: center; height: 42px; border: 1px solid var(--line-strong); background: var(--surface); }
.market-search > span { padding-left: 13px; color: var(--accent-text); font-size: 20px; }
.market-search input { width: 100%; height: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--text); font-family: var(--mono); font-size: 11px; }
.search-results { position: absolute; top: 48px; left: 0; right: 0; padding: 6px; box-shadow: 0 22px 60px rgba(0, 0, 0, .45); }
.search-state { padding: 17px; color: var(--muted); font-size: 11.5px; }
.search-result { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.search-result:hover { background: var(--surface2); }
.search-result span { min-width: 0; }
.search-result b, .search-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result b { font-size: 11px; }
.search-result small { margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.search-result i { color: var(--faint); font-size: 11px; font-style: normal; }
.filter-group { display: flex; border: 1px solid var(--line); }
.filter-group button { height: 40px; padding: 0 13px; border: 0; border-left: 1px solid var(--line); background: var(--surface); color: var(--muted); font-family: var(--cond); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.filter-group button:first-child { border-left: 0; }
.filter-group button:hover { color: var(--text); }
.filter-group button.active { background: var(--accent); color: var(--accent-ink); }

.token-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.token-card { position: relative; min-height: 285px; padding: 17px; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.token-card:hover { z-index: 2; transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface2); box-shadow: 0 14px 35px rgba(0, 0, 0, .27); }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.card-index { color: var(--faint); font-size: 11px; }
.external-proof { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 11px; letter-spacing: .08em; }
.external-proof i { width: 5px; height: 5px; border-radius: 50%; background: var(--up); box-shadow: 0 0 6px color-mix(in srgb, var(--up) 55%, transparent); }
.venue-chip { padding: 3px 7px; }
.token-identity { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.token-avatar { position: relative; border: 1px solid var(--line-strong); font-family: var(--mono); font-weight: 700; }
.token-avatar > span { position: absolute; inset: 0; display: grid; place-items: center; }
.token-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.token-identity h3 { font-size: 27px; }
.token-identity p { max-width: 240px; margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.card-price { position: relative; height: 62px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.card-price > div { display: flex; flex-direction: column; gap: 5px; position: relative; z-index: 2; }
.card-price strong { font-size: 16px; }
.card-price span { font-size: 11px; }
.spark { width: 52%; height: 46px; opacity: .72; }
.spark-empty { display: grid; place-items: center; width: 52%; height: 46px; color: var(--faint); font-size: 11.5px; letter-spacing: .08em; }
.card-metrics { display: grid; grid-template-columns: 1fr 1fr; }
.card-metrics .metric { padding: 11px 10px 5px 0; border: 0; }
.card-metrics .metric:nth-child(even) { padding-left: 13px; border-left: 1px solid var(--line); }
.card-metrics .metric > div { font-size: 12px; }
.card-metrics .metric > span { font-size: 11.5px; }
.card-open { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; letter-spacing: .08em; }
.card-open span { color: var(--accent-text); font-size: 13px; }

/* detail */
.back-link { margin: 0 0 25px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 11.5px; cursor: pointer; }
.external-market-notice { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding: 11px 14px; border: 1px solid var(--gold-dim); background: color-mix(in srgb, var(--gold) 4%, var(--surface)); }
.external-market-notice strong { color: var(--gold); font-size: 11.5px; letter-spacing: .1em; white-space: nowrap; }
.external-market-notice span { color: var(--muted); font-size: 11px; text-align: right; }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.detail-identity { display: flex; gap: 18px; min-width: 0; }
.detail-title { display: flex; align-items: center; gap: 13px; }
.detail-title h1 { font-size: clamp(42px, 6vw, 64px); }
.detail-identity p { max-width: 720px; margin: 8px 0 0; color: var(--muted); line-height: 1.45; }
.social-row { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; }
.contract-block { max-width: 320px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.contract-block span { color: var(--faint); font-size: 11px; }
.contract-block a { max-width: 100%; overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; }
.detail-stats { display: grid; grid-template-columns: repeat(6, 1fr); margin-bottom: 14px; border-left: 1px solid var(--line); }
.detail-stats .metric { padding: 16px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 14px; }
.detail-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.detail-side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.panel-head > span, .panel-head > a { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.chart-card { position: relative; padding: 18px; }
#chart { height: 390px; }
.chart-empty { position: absolute; inset: 75px 18px 18px; display: grid; place-items: center; color: var(--faint); font-size: 11px; pointer-events: none; }
.data-panel { padding: 19px; overflow: hidden; }
.panel-state { display: flex; align-items: center; gap: 10px; min-height: 90px; color: var(--faint); font-size: 11.5px; }
.holder-list { display: flex; flex-direction: column; }
.holder-row { display: grid; grid-template-columns: 26px minmax(120px, 1fr) 150px 70px; align-items: center; gap: 12px; min-height: 39px; border-top: 1px solid var(--line); font-size: 11.5px; }
.holder-row > span { color: var(--faint); }
.holder-row small { margin-left: 8px; color: var(--gold); font-size: 11.5px; }
.holder-row strong { text-align: right; }
.holder-bar { height: 4px; background: var(--surface2); }
.holder-bar i { display: block; height: 100%; background: var(--accent); }
.trade-head, .trade-row { display: grid; grid-template-columns: 45px minmax(90px, 1fr) 80px 130px 48px; align-items: center; gap: 10px; }
.trade-head { min-height: 28px; color: var(--faint); font-size: 11.5px; }
.trade-row { min-height: 39px; border-top: 1px solid var(--line); font-size: 11px; }
.trade-row span, .trade-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-row > a { text-align: right; }
.source-card p { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.trade-panel { padding: 18px; }
.trade-panel-label { margin: -18px -18px 17px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface2); color: var(--faint); font-size: 11px; letter-spacing: .1em; }
.trade-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 17px; border: 1px solid var(--line); }
.trade-tabs button { height: 40px; border: 0; background: var(--surface2); color: var(--muted); font-family: var(--cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.trade-tabs button + button { border-left: 1px solid var(--line); }
.trade-tabs .buy.active { background: var(--accent); color: var(--accent-ink); }
.trade-tabs .sell.active { background: var(--down); color: white; }
.trade-panel > label { display: block; margin-bottom: 6px; color: var(--faint); font-family: var(--cond); font-size: 11.5px; letter-spacing: .14em; }
.trade-amount { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface2); color: var(--text); font-size: 18px; }
.preset-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 7px 0 15px; }
.preset-row button { height: 31px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface2); color: var(--muted); font-family: var(--mono); font-size: 11.5px; cursor: pointer; }
.trade-context { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 0; border-top: 1px dotted var(--line-strong); }
.trade-context span { color: var(--faint); font-family: var(--cond); font-size: 11px; letter-spacing: .13em; }
.trade-context strong { max-width: 190px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.trade-cta { display: grid; place-items: center; width: 100%; min-height: 47px; border: 0; border-radius: var(--r); font-family: var(--cond); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.trade-cta.buy { background: var(--accent); color: var(--accent-ink); }
.trade-cta.sell { background: var(--down); color: white; }
.trade-panel > p { margin: 12px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.secondary-link { font-family: var(--mono); font-size: 11px; }
.tx-message { margin-top: 10px; padding: 10px; border-left: 2px solid var(--up); background: var(--surface2); color: var(--up); font-size: 11px; line-height: 1.5; }
.tx-message.pending { border-color: var(--gold); color: var(--gold); }
.source-card { padding: 18px; }
.source-card dl { margin: 15px 0 0; }
.source-card dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.source-card dt, .source-card dd { margin: 0; font-family: var(--mono); font-size: 11.5px; }
.source-card dt { color: var(--faint); }

/* launch / portfolio */
.launch-page, .portfolio-page { padding-top: 26px; }
.launch-page { max-width: 1040px; }
.launch-page-head { max-width: 820px; margin-bottom: 22px; }
.launch-page-head h1, .portfolio-page h1 { margin-top: 10px; font-size: clamp(38px, 4.6vw, 60px); }
.launch-page-head > p { max-width: 760px; margin: 23px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.launch-composer-page { max-width: 860px; margin: 0 auto 28px; }
.launch-page .invariant-strip { margin-bottom: 20px; }
.primary-button { min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font-family: var(--cond); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.portfolio-page .eyebrow { margin-bottom: 18px; }
.portfolio-page h1 { max-width: 760px; margin-bottom: 36px; }
.empty-wallet, .portfolio-loading { min-height: 180px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.empty-wallet p { color: var(--muted); font-size: 16px; }
.wallet-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; margin-bottom: 15px; }
.wallet-strip span, .wallet-strip a { display: block; }
.wallet-strip span { color: var(--faint); font-family: var(--cond); font-size: 11px; letter-spacing: .14em; }
.wallet-strip a { margin-top: 5px; font-size: 11.5px; }
.wallet-strip button { padding: 8px 12px; border: 1px solid var(--line-strong); background: var(--surface2); color: var(--text); cursor: pointer; }
.portfolio-loading { justify-content: flex-start; min-height: 120px; color: var(--muted); font-size: 11.5px; }
.balance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.balance-card { min-height: 170px; padding: 21px; display: flex; flex-direction: column; }
.balance-card > span { color: var(--faint); font-family: var(--cond); font-size: 11.5px; letter-spacing: .14em; }
.balance-card strong { margin-top: 22px; font-size: 22px; }
.balance-card small { margin-top: 5px; color: var(--muted); }
.balance-card a { margin-top: auto; font-family: var(--mono); font-size: 11px; }
.balance-card.native { border-color: var(--gold-dim); }
.balance-card.empty { grid-column: span 2; }
.balance-card.empty p { color: var(--muted); }

/* auth */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(4, 6, 4, .78); backdrop-filter: blur(10px); }
.auth-modal { position: relative; width: min(410px, 100%); padding: 28px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.modal-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.auth-mark { margin-bottom: 17px; }
.auth-modal h2 { font-size: 31px; }
.auth-modal > p { margin: 9px 0 22px; color: var(--muted); line-height: 1.45; }
.auth-choice { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 62px; margin-top: 8px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface2); text-align: left; cursor: pointer; }
.auth-choice > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); color: var(--accent-text); }
.auth-choice strong, .auth-choice small { display: block; }
.auth-choice.primary-choice { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface2)); }
.auth-choice.primary-choice > span { border-color: var(--accent); color: var(--accent); }
.auth-choice small { margin-top: 2px; color: var(--muted); }
.auth-note, .auth-error { margin-top: 13px; padding: 10px; background: var(--surface2); color: var(--faint); font-size: 11px; line-height: 1.5; }
.auth-error { border-left: 2px solid var(--down); color: var(--down); }
.auth-back { margin-bottom: 18px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.auth-modal > input { width: 100%; height: 46px; margin-bottom: 10px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface2); color: var(--text); }
.auth-modal > .primary-button { width: 100%; }

/* footer / states */
.loading-page { display: grid; place-items: center; min-height: 55vh; }
.loading-page > div { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 11.5px; }
footer { width: min(1240px, calc(100% - 48px)); margin: auto auto 0; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
footer > div { display: flex; align-items: center; gap: 18px; }
.brand-footer { display: flex; align-items: center; gap: 7px; color: var(--text); font-family: var(--cond); font-weight: 700; letter-spacing: .08em; }
footer .warning { color: var(--gold); }

@media (max-width: 1040px) {
  .launch-hero { grid-template-columns: 1fr; min-height: 0; }
  .launch-narrative { padding-top: 12px; }
  .launch-narrative h1 { max-width: 880px; }
  .launch-composer { width: min(720px, 100%); }
  .proof-intro { gap: 30px; }
  .market-toolbar { grid-template-columns: 180px 1fr; }
  .filter-group { grid-column: 1 / -1; width: fit-content; }
  .token-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .detail-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .page, .header-inner, footer { width: min(100% - 28px, 1240px); }
  .header-inner { gap: 12px; }
  .main-nav { display: none; }
  .launch-button { display: none; }
  .connect-button, .account-button { padding: 0 10px; }
  .protocol-rail > div { width: min(100% - 28px, 1240px); }
  .launch-hero { gap: 34px; padding: 34px 0; }
  .launch-narrative h1 { font-size: clamp(50px, 15vw, 72px); }
  .launch-narrative > p { font-size: 15px; }
  .execution-blueprint { grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
  .execution-blueprint > div { padding: 14px 10px; border-top: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .execution-blueprint > i { display: none; }
  .prelaunch-note { grid-template-columns: 1fr; gap: 8px; }
  .composer-head { flex-direction: column; }
  .identity-fields { grid-template-columns: 50px minmax(0, 1fr) 86px; }
  .social-fields, .market-fields { grid-template-columns: 1fr; }
  .founder-block { grid-template-columns: 1fr; align-items: start; }
  .review-route { flex-wrap: wrap; justify-content: flex-start; }
  .invariant-strip { grid-template-columns: 1fr 1fr; margin-bottom: 70px; }
  .proof-intro { grid-template-columns: 1fr; gap: 16px; }
  .proof-intro h2 { font-size: clamp(42px, 13vw, 62px); }
  .market-toolbar { grid-template-columns: 1fr; align-items: stretch; }
  .market-search { grid-row: 1; }
  .filter-group { grid-column: auto; width: 100%; overflow-x: auto; }
  .filter-group button { flex: 1; }
  .token-grid { grid-template-columns: 1fr; }
  .detail-header { flex-direction: column; }
  .contract-block { align-items: flex-start; }
  .detail-stats { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; grid-row: 1; }
  #chart { height: 300px; }
  .holder-row { grid-template-columns: 25px minmax(100px, 1fr) 60px; }
  .holder-bar { display: none; }
  .trade-list { overflow-x: auto; }
  .trade-head, .trade-row { min-width: 600px; }
  .balance-grid { grid-template-columns: 1fr; }
  .balance-card.empty { grid-column: auto; }
  .empty-wallet, .wallet-strip { align-items: flex-start; flex-direction: column; }
  footer { padding: 22px 0; align-items: flex-start; flex-direction: column; }
  footer > div { flex-wrap: wrap; }
}

/* the three principles — banner-verbatim, quiet, always visible on home */
.principles { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 11px; letter-spacing: .12em; color: var(--accent-text); }
.principles i { color: var(--faint); font-style: normal; }
.lp-panel { border-color: var(--gold-dim); }

/* ---- King of the Chain: the hero proof card, charted from chain swaps ---- */
.king-card { position: relative; padding: 16px 18px; border-color: var(--gold-dim); box-shadow: 0 20px 56px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.king-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.king-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.king-chip { padding: 4px 12px; border: 1px solid var(--gold-dim); color: var(--gold); font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.king-top > span.mono { color: var(--faint); font-size: 10px; letter-spacing: .1em; }
.king-identity { display: flex; align-items: center; gap: 14px; }
.king-identity h2 { font-size: 27px; }
.king-identity p { max-width: 230px; margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.king-identity .bell-gauge { margin-left: auto; }
.bell-gauge { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.bell-gauge strong { margin-top: 4px; font-size: 13px; color: var(--accent-text); }
.bell-gauge span { margin-top: 1px; color: var(--faint); font-family: var(--cond); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.king-chart { width: 100%; height: 84px; display: block; margin: 12px 0 0; }
.king-chart.spark-empty { display: grid; place-items: center; color: var(--faint); border: 1px dashed var(--line); }
.king-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; column-gap: clamp(14px, 2.4vw, 30px); margin-top: 4px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.king-stats strong { display: block; font-size: 14.5px; white-space: nowrap; }
.king-stats span { display: block; margin-top: 3px; color: var(--faint); font-family: var(--cond); font-size: 9.5px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }
.king-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; color: var(--faint); font-size: 10px; letter-spacing: .08em; }
.king-foot span { color: var(--gold); }
.king-foot i { font-style: normal; }

/* ---- motion identity: the shade breathes, live dots pulse, pages settle ---- */
@keyframes shadeBreathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.92); opacity: .82; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.brand-mark svg, .bell-pulse svg, .auth-mark svg { animation: shadeBreathe 4s ease-in-out infinite; transform-origin: center; }
.fade-up { animation: fadeUp .35s ease; }
.dot-live { animation: blinkDot 2s infinite; }

/* gold discipline: V4 — the rail we launch into — earns the gold chip */
.venue-chip { border-color: var(--gold-dim); color: var(--gold); }
.token-card:hover .card-index { color: var(--accent-text); }
.spark { opacity: .9; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---- live launch composer ---- */
.gate-chip { padding: 5px 8px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 11px; letter-spacing: .09em; white-space: nowrap; }
.gate-chip.gate-open { border-color: var(--accent); color: var(--accent-text); }
.image-field .image-preview { width: 54px; height: 38px; object-fit: cover; border: 1px solid var(--line-strong); border-radius: 2px; display: block; cursor: pointer; }
.links-toggle { margin-top: 9px; padding: 4px 0; border: 0; background: none; color: var(--faint); font-size: 11px; letter-spacing: .12em; cursor: pointer; }
.links-toggle:hover { color: var(--text); }
.market-row { display: grid; grid-template-columns: 1fr 110px 150px; gap: 12px; align-items: end; }
.field-tag { display: block; margin-bottom: 5px; color: var(--faint); font-family: var(--cond); font-size: 11.5px; font-weight: 700; letter-spacing: .13em; }
.mcap-chips { display: flex; border: 1px solid var(--line); }
.mcap-chips button { flex: 1; height: 36px; border: 0; border-left: 1px solid var(--line); background: var(--surface2); color: var(--muted); font-family: var(--cond); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; cursor: pointer; }
.mcap-chips button:first-child { border-left: 0; }
.mcap-chips button:hover { color: var(--text); }
.mcap-chips button.active { background: var(--accent); color: var(--accent-ink); }
.mcap-block input { margin-top: 8px; }
.unit-input { display: flex; align-items: center; border: 1px solid var(--line); background: var(--surface2); }
.unit-input input { border: 0 !important; background: none !important; }
.unit-input b { padding: 0 10px; color: var(--faint); font-family: var(--mono); font-size: 11px; }
.launch-commit.ready { background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.launch-commit.ready small { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); }
.launch-commit.ready:hover:not(:disabled) { filter: brightness(1.07); }
.launch-commit.ready:disabled { cursor: wait; opacity: .85; }
.launch-error { margin: 0; padding: 11px 20px; border-top: 1px solid var(--line); color: var(--down); font-size: 11.5px; letter-spacing: .04em; }
.launch-success { display: grid; justify-items: center; gap: 10px; padding: 44px 24px; text-align: center; }
.launch-success h2 { font-size: 30px; }
.success-addr { color: var(--muted); font-size: 12px; word-break: break-all; }
.success-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.success-actions .primary { height: 42px; padding: 0 20px; border: 0; background: var(--accent); color: var(--accent-ink); font-family: var(--cond); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.success-actions .ghost { display: inline-flex; align-items: center; height: 42px; padding: 0 15px; border: 1px solid var(--line-strong); background: none; color: var(--muted); font-size: 11.5px; letter-spacing: .08em; cursor: pointer; }
.success-actions .ghost:hover { color: var(--text); }
@media (max-width: 760px) { .market-row { grid-template-columns: 1fr; align-items: start; } }
.social-fields[hidden] { display: none; }

/* ---- board-first home: image tiles ---- */
.board-head { padding: 26px 0 18px; }
.board-head h1 { font-size: clamp(30px, 3.2vw, 44px); }
.board-toolbar { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.board-toolbar .market-search { flex: 1; }
.create-button { height: 42px; padding: 0 18px; border: 0; border-radius: 21px; background: var(--accent); color: var(--accent-ink); font-family: var(--cond); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.create-button:hover { filter: brightness(1.07); }
.card { border-radius: 12px; }
.token-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.token-card { overflow: hidden; padding: 0; cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.token-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.token-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.token-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.token-art .art-mark { font-family: var(--cond); font-size: 54px; font-weight: 800; letter-spacing: .04em; }
.art-chip { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 20px; background: rgba(8, 10, 3, .72); color: var(--muted); font-size: 10px; letter-spacing: .1em; backdrop-filter: blur(6px); }
.art-chip.ours { background: var(--accent); color: var(--accent-ink); }
.tile-info { padding: 12px 14px 13px; }
.tile-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.tile-name h3 { font-size: 17px; }
.tile-name p { flex: 1; margin: 0; overflow: hidden; color: var(--faint); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.tile-row { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.tile-row strong { font-size: 15px; }
.tile-row small { color: var(--faint); font-size: 10px; letter-spacing: .08em; }
.tile-row span { margin-left: auto; font-size: 12px; }
.tile-spark { width: 100%; height: 26px; margin-top: 8px; }
.tile-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--faint); font-size: 10.5px; letter-spacing: .07em; }
.home-page .invariant-strip { margin-top: 28px; }
@media (max-width: 760px) {
  .board-toolbar { flex-wrap: wrap; }
  .token-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .token-art .art-mark { font-size: 40px; }
}

/* ---- docs ---- */
.docs-page { max-width: 1040px; padding-top: 26px; }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.docs-card { padding: 22px 24px; }
.docs-tag { display: block; margin-bottom: 12px; color: var(--accent-text); font-size: 10.5px; letter-spacing: .16em; }
.docs-card h2 { font-size: 21px; }
.docs-card p { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.docs-card p strong { color: var(--text); font-weight: 600; }
.docs-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.docs-card li { padding: 7px 0 0; color: var(--faint); font-size: 11.5px; letter-spacing: .05em; }
.docs-card li::before { content: "— "; color: var(--accent-text); }
.docs-page .invariant-strip { margin-top: 24px; }
@media (max-width: 760px) { .docs-grid { grid-template-columns: 1fr; } }

/* ---- bell in-site trade + LP tabs ---- */
.detail-tabs { display: flex; gap: 0; margin: -2px -2px 16px; border-bottom: 1px solid var(--line); }
.detail-tabs button { flex: 1; height: 40px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.detail-tabs button:hover { color: var(--text); }
.detail-tabs button.active { color: var(--text); border-color: var(--accent); }
.lp-hint { margin: 10px 0 0 !important; color: var(--faint) !important; font-size: 10.5px !important; line-height: 1.5; letter-spacing: .03em; }
