/* Nearsight · Sightline identity. Derived from the mark: electric mint on true black,
   the diamond, the four-point sighting star, and the S-direction 45° chamfer. See DESIGN.md. */
:root {
  --mint: #00efae;            /* the logo, exactly */
  --mint-hi: #5bffcc;
  --mint-ink: #00140d;        /* text on mint */
  --flare: #ff4f73;           /* down / danger: pink, not red, so up/down never reads as red-vs-green */
  --flare-ink: #1f030a;
  --volt: #ffc247;            /* caution */
  --bg: #050807;
  --s1: #101713;
  --s2: #18211b;
  --s3: #223029;
  --line: rgb(236 255 247 / 0.07);
  --line-2: rgb(236 255 247 / 0.13);
  --ink: #f1f6f3;
  --ink-2: #b1bdb7;
  --ink-3: #9aa8a0;
  --up: var(--mint);
  --up-dim: rgb(0 239 174 / 0.12);
  --down: var(--flare);
  --down-dim: rgb(255 79 115 / 0.13);
  --amber: var(--volt);
  --amber-dim: rgb(255 194 71 / 0.13);
  --ice: var(--mint);
  --ice-dim: rgb(0 239 174 / 0.12);
  --on-light: var(--mint-ink);
  --lp-nearly: #00efae;
  --lp-shards: #b69cff;
  --lp-nearpad: #6fb6ff;
  --lp-nearrr: #ff9a5c;
  --lp-memecooking: #ffd84a;
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --cut: 10px;                /* chamfer size, the S-direction corner cut from the mark */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  /* legacy aliases used by inline styles in JS */
  --panel: var(--s1); --panel-2: var(--s2); --text: var(--ink); --muted: var(--ink-2); --dim: var(--ink-3);
  --accent: var(--ice); --warn: var(--amber); --warn-bg: var(--amber-dim); --up-bg: var(--up-dim); --down-bg: var(--down-dim);
  --info: var(--ice); --info-bg: var(--ice-dim);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display:none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 400 13px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgb(0 239 174 / 0.3); }
.num, td.n, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.up { color: var(--up); } .down { color: var(--down); } .muted { color: var(--ink-2); } .dim { color: var(--ink-3); } .warn-t { color: var(--amber); }
.spacer { flex: 1; }
.loading, .empty { padding: 40px 20px; text-align: center; color: var(--ink-3); }
.pending { padding: 12px 16px; color: var(--ink-3); font-size: 12px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; height: 52px; padding: 0 16px; background: var(--s1); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark { display: block; width: 28px; height: 28px; border-radius: 5px; flex: none; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 6px 10px; border-radius: 7px; color: var(--ink-3); font-weight: 500; transition: color .15s var(--ease), background .15s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ice); background: var(--ice-dim); }
.search { flex: 1; max-width: 520px; position: relative; }
.search input { width: 100%; height: 34px; background: var(--s2); border: 1px solid transparent; border-radius: 9px; padding: 0 44px 0 12px; outline: none; transition: border-color .15s var(--ease), background .15s var(--ease); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--ice); background: var(--s2); }
.search::after { content: '⌘K'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 500 10.5px var(--mono); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 5px; pointer-events: none; }
#wallet { flex: none; margin-left: auto; }
.wmenu { position: relative; }
.wdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--up); margin-right: 8px; vertical-align: 1px; }
.pro-badge { margin-left: 8px; color: var(--up); font: 600 10px var(--mono); letter-spacing: .04em; }
.wpop { position: absolute; right: 0; top: 40px; z-index: 30; min-width: 200px; background: var(--s2); border: 1px solid var(--line-2); border-radius: 10px; padding: 5px; box-shadow: 0 20px 44px -16px oklch(0.05 0 0 / 0.8); }
.wpop a, .wpop button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 7px; background: none; border: 0; color: var(--ink); }
.wpop a:hover, .wpop button:hover { background: var(--s3); }
.wpop-title { padding: 7px 10px 4px; color: var(--ink-3); font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.wpop-wallet { display: flex; align-items: center; gap: 2px; }
.wpop-wallet > button:first-child { flex: 1; font-family: var(--mono); font-size: 11px; }
.wpop-wallet.active > button:first-child { color: var(--up); }
.wpop-wallet .wpop-remove { width: 28px; padding: 4px; text-align: center; color: var(--ink-3); }
.wpop-wallet button:disabled { cursor: default; }
.pro-wallets { display: grid; gap: 10px; }
.pro-wallets p { margin: 0; }
.pro-wallet-list { display: grid; gap: 8px; }
.pro-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; background: var(--s2); border-radius: 7px; }
.pro-link-row span { min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 11px; }
.pro-pending { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 9px 10px; background: var(--up-dim); border-radius: 7px; }
.pro-code { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pro-code label { color: var(--ink-2); }
.pro-code input { flex: 1; min-width: 170px; max-width: 340px; padding: 7px 9px; border-radius: 7px; background: var(--s2); border: 1px solid var(--line-2); font: 11px var(--mono); }
main { padding: 16px; min-height: calc(100vh - 110px); }
.foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 14px 16px 22px; color: var(--ink-3); font-size: 11.5px; border-top: 1px solid var(--line); }
kbd { font: 500 10.5px var(--mono); color: var(--ink-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; background: var(--s1); }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; background: var(--s2); border: 1px solid transparent; border-radius: 8px; color: var(--ink); font-weight: 500; white-space: nowrap; transition: background .15s var(--ease), border-color .15s var(--ease), opacity .15s; }
.btn:hover { background: var(--s3); }
.btn.primary { background: var(--ice); color: var(--on-light); border-color: var(--ice); font-weight: 600; }
.btn.primary:hover { background: #4fffc5; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.sm { height: 26px; padding: 0 10px; font-size: 12px; }
.btn .cnt { min-width: 16px; padding: 0 5px; border-radius: 8px; background: var(--ice); color: var(--on-light); font-size: 10.5px; font-weight: 700; text-align: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ice); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linkbtn.dim { color: var(--ink-3); }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; }
.tab { height: 30px; background: none; border: 0; padding: 0 10px; border-radius: 7px; color: var(--ink-3); font-weight: 500; transition: color .15s var(--ease), background .15s var(--ease); }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ice); background: var(--ice-dim); }
.seg { display: inline-flex; background: var(--s2); border: 1px solid transparent; border-radius: 8px; padding: 2px; gap: 2px; }
.seg button { height: 24px; background: none; border: 0; padding: 0 9px; border-radius: 6px; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--s3); color: var(--ice); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chip { height: 24px; background: var(--s2); border: 1px solid transparent; border-radius: 7px; padding: 0 8px; font-size: 11.5px; color: var(--ink-3); transition: all .15s var(--ease); }
.chip:hover { color: var(--ink); background: var(--s3); }
.chip.on { background: var(--s3); color: var(--ink); }
.copy { background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; font: 11px var(--mono); color: var(--ink-3); }
.copy:hover { color: var(--ink); }

/* ---------- Home: radar · market · tape ---------- */
.home { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.rail { position: sticky; top: 68px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 84px); }
.rail.left { order: -1; }
.panel { background: var(--s1); border: 0; border-radius: 12px; overflow: hidden; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 10px; font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
.panel-h small { font-weight: 400; color: var(--ink-3); font-size: 11.5px; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; flex-wrap: wrap; }
.lpbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 0 12px 10px; }
.lpbar .chip { display: inline-flex; align-items: center; gap: 6px; }
.lpbar .chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.lpbar .chip[data-lp="nearly"] { --c: var(--lp-nearly); } .lpbar .chip[data-lp="shards"] { --c: var(--lp-shards); } .lpbar .chip[data-lp="nearpad"] { --c: var(--lp-nearpad); }
.lpbar .chip[data-lp="nearrr"] { --c: var(--lp-nearrr); } .lpbar .chip[data-lp="memecooking"] { --c: var(--lp-memecooking); } .lpbar .chip[data-lp="all"]::before { display: none; }

.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 14px; padding: 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.filters label { display: flex; flex-direction: column; gap: 5px; color: var(--ink-3); font-size: 11.5px; font-weight: 500; }
.filters input, .filters select { height: 30px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 7px; padding: 0 9px; font-size: 12.5px; outline: none; }
.filters .chk { flex-direction: row; align-items: center; gap: 8px; color: var(--ink-2); padding-top: 18px; }
.filters .actions { display: flex; align-items: flex-end; }

/* ---------- Tables ---------- */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { position: sticky; top: 0; z-index: 1; background: var(--s1); text-align: right; font-weight: 500; color: var(--ink-3); font-size: 11.5px; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; user-select: none; }
th.l, td.l { text-align: left; }
th[data-sort] { cursor: pointer; transition: color .15s; }
th[data-sort]:hover { color: var(--ink); }
th.sorted { color: var(--ink); }
td { padding: 10px 12px; border-bottom: 1px solid rgb(237 250 243 / 0.06); text-align: right; white-space: nowrap; vertical-align: middle; }
tbody tr { cursor: pointer; transition: background .7s var(--ease); }
tbody tr:hover { background: var(--s2); }
tbody tr.sel { background: var(--s2); }
tr.fl-buy { background: var(--up-dim); transition: none; }
tr.fl-sell { background: var(--down-dim); transition: none; }
td .sub { display: block; margin-top: 2px; color: var(--ink-3); font-size: 11px; }
.more { display: block; width: 100%; padding: 12px; background: none; border: 0; color: var(--ink-3); }
.more:hover { color: var(--ink); }

/* token cell */
.tk { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.tk img, .ic { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: var(--s3); flex: none; }
.ic { display: grid; place-items: center; color: var(--ink-3); font-weight: 600; font-size: 12px; }
.tk-name { display: flex; align-items: baseline; gap: 7px; font-weight: 600; letter-spacing: -0.01em; }
.tk-name .nm { font-weight: 400; color: var(--ink-3); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.tk-sub { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--ink-3); font-size: 11.5px; max-width: 260px; overflow: hidden; }
.pair { font: 500 10.5px var(--mono); color: var(--ink-3); }
.lpb { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.lpb::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.lp-nearly { --c: var(--lp-nearly); } .lp-shards { --c: var(--lp-shards); } .lp-nearpad { --c: var(--lp-nearpad); } .lp-nearrr { --c: var(--lp-nearrr); } .lp-memecooking { --c: var(--lp-memecooking); }
.stage { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--mono); color: var(--ink-2); }
.stage i { position: relative; display: inline-block; width: 34px; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.stage i b { position: absolute; inset: 0 auto 0 0; background: var(--ink-2); border-radius: 2px; }
.stage.presale i b { background: var(--amber); }
.soc { display: inline-flex; gap: 6px; }
.soc a { color: var(--ink-3); font-size: 11px; }
.soc a:hover { color: var(--ink); }
.soc .off { display: none; }
.official { font: 600 10px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--up); }
.bsbar { display: inline-block; position: relative; width: 56px; height: 3px; border-radius: 2px; background: var(--down); opacity: .8; vertical-align: middle; margin-left: 6px; }
.bsbar b { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--up); }

/* risk read */
.read { display: inline-flex; align-items: center; gap: 8px; min-width: 170px; text-align: left; }
.meter { display: inline-flex; gap: 2px; flex: none; }
.meter i { width: 4px; height: 12px; border-radius: 1.5px; background: var(--line-2); }
.read .phr { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.read.caution .phr { color: var(--amber); } .read.danger .phr { color: var(--down); }
.pills .more-f { font: 500 10.5px var(--mono); color: var(--ink-3); }
/* legacy score badge (dev tab etc.) */
.sbadge { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; padding: 1px 6px; border-radius: 6px; font: 600 11.5px var(--mono); }
.g-safe { background: var(--up-dim); color: var(--up); } .g-caution { background: var(--amber-dim); color: var(--amber); } .g-danger { background: var(--down-dim); color: var(--down); }
.flags { display: inline-flex; gap: 4px; margin-left: 6px; }
.flag { font-size: 10.5px; font-weight: 500; padding: 1px 6px; border-radius: 5px; }
.flag.bad { background: var(--down-dim); color: var(--down); } .flag.warn { background: var(--amber-dim); color: var(--amber); } .flag.good { background: var(--up-dim); color: var(--up); }

/* who's in */
.whos { display: inline-flex; align-items: center; gap: 8px; min-width: 120px; }
.stackav { display: inline-flex; }
.stackav > * { width: 20px; height: 20px; border-radius: 50%; margin-left: -6px; box-shadow: 0 0 0 2px var(--s1); display: grid; place-items: center; font: 600 9.5px var(--sans); color: var(--on-light); background: var(--ink-2); object-fit: cover; }
.stackav > *:first-child { margin-left: 0; }
.stackav .k-smart { background: var(--up); } .stackav .k-caller { background: var(--ice); } .stackav .k-follow { background: var(--amber); }
.whos .lbl2 { font-size: 11.5px; color: var(--ink-2); }

/* ---------- Launch radar ---------- */
.radar-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; }
.radar-h h2 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.radar-h .sweep { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 var(--up-dim); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 oklch(0.80 0.13 168 / 0.45); } 70%, 100% { box-shadow: 0 0 0 8px oklch(0.80 0.13 168 / 0); } }
.feed { overflow-y: auto; overscroll-behavior: contain; }
.newl { max-height: calc(100vh - 170px); }
.nl-row { display: grid; grid-template-columns: 44px 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; transition: background .2s var(--ease); }
.nl-row:hover { background: var(--s2); }
.nl-row .nl-age { font: 500 12px var(--mono); color: var(--ink-3); padding-top: 2px; }
.nl-row .nl-age.up { color: var(--up); }
.nl-row img, .nl-row .ic { width: 28px; height: 28px; border-radius: 7px; }
.nl-row.fresh { background: var(--ice-dim); }
.nl-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nl-top { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.nl-top b { font-weight: 600; letter-spacing: -0.01em; }
.nl-top .mc { margin-left: auto; font: 500 12px var(--mono); color: var(--ink-2); }
.nl-new { font: 600 9.5px var(--sans); letter-spacing: .08em; color: var(--ice); }
.nl-stats { display: flex; flex-wrap: wrap; gap: 3px 10px; font: 11px var(--mono); color: var(--ink-3); }
.nl-stats b { color: var(--ink-2); font-weight: 500; }
.nl-safe { font-size: 12px; }
.newl .who, .feed-row .who { color: var(--ink-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tape */
.feed-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.feed-row:hover { background: var(--s2); }
.feed-row img, .feed-row .ic { width: 22px; height: 22px; border-radius: 6px; font-size: 10px; }
.feed-row .amt { text-align: right; font: 500 12.5px var(--mono); }
.feed-row .amt small { display: block; color: var(--ink-3); font-size: 10.5px; font-weight: 400; }
.feed-row.whale .amt { font-weight: 700; }
.feed-row.whale { background: var(--amber-dim); }
.feed-new { animation: reveal .7s var(--ease); }
@keyframes reveal { from { background: var(--s3); } to { background: transparent; } }
.side { font-weight: 600; } .side.buy { color: var(--up); } .side.sell { color: var(--down); }

/* labels on wallets */
.lbl { display: inline-block; font: 600 9.5px var(--sans); letter-spacing: .05em; padding: 1px 5px; border-radius: 4px; margin-left: 5px; vertical-align: 1px; background: var(--s3); color: var(--ink-2); }
.lbl.dev { background: oklch(0.74 0.12 300 / 0.2); color: var(--lp-shards); }
.lbl.lp { background: var(--ice-dim); color: var(--ice); }
.lbl.smart { background: var(--up-dim); color: var(--up); }
.lbl.snipe { background: var(--down-dim); color: var(--down); }
.lbl.bundle { background: var(--amber-dim); color: var(--amber); }
.lbl.whale { color: var(--amber); }
.lbl.follow { background: var(--amber-dim); color: var(--amber); }
.lbl.pool, .lbl.protocol { background: var(--ice-dim); color: var(--ice); }
.lbl.top_trader { background: var(--up-dim); color: var(--up); }
.lbl.notable_holding { background: rgb(111 182 255 / 0.14); color: var(--lp-nearpad); }
.lbl.large_trade { background: var(--amber-dim); color: var(--amber); }
.lbl:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.wallet-label-explanations { margin: 0; padding: 0 20px 12px 36px; }
.wallet-label-explanations li { margin: 8px 0; font-size: 12px; line-height: 1.5; }
.wallet-label-explanations a { color: var(--ice); }
.acct { color: var(--ink); }
.acct:hover { color: var(--ice); }

/* ---------- Token page ---------- */
.tp { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tp-head { display: flex; align-items: flex-start; gap: 14px; padding: 16px; flex-wrap: wrap; }
.tp-head img, .tp-head .ic { width: 48px; height: 48px; border-radius: 12px; font-size: 18px; }
.tp-title { min-width: 0; }
.tp-title h1 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.tp-title h1 > span { color: var(--ink-3); font-weight: 400; font-size: 14px; }
.tp-meta { display: flex; align-items: center; gap: 12px; margin-top: 6px; color: var(--ink-3); font-size: 12px; flex-wrap: wrap; }
.verdict { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; flex-wrap: wrap; }
.verdict .v-lvl { font-weight: 600; }
.verdict.safe .v-lvl { color: var(--up); } .verdict.caution .v-lvl { color: var(--amber); } .verdict.danger .v-lvl { color: var(--down); }
.verdict .v-why { color: var(--ink-2); }
.tp-price { margin-left: auto; text-align: right; }
.tp-price .p { font: 600 26px var(--mono); letter-spacing: -0.03em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 11px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .k { color: var(--ink-3); font-size: 11.5px; }
.stat .v { font: 500 14px var(--mono); margin-top: 3px; letter-spacing: -0.01em; }
.stat .v small { font-size: 11px; }
.desc { padding: 0 16px 16px; color: var(--ink-2); max-width: 72ch; }
.chart-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
#chart { position: relative; height: 300px; }
.chart-big #chart { height: 480px; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); z-index: 3; pointer-events: none; }
.ov-menu { position: absolute; z-index: 40; /* lives in #view: panels clip-path their children */ width: min(340px, calc(100vw - 32px)); padding: 12px 14px; background: var(--s2); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 32px rgb(0 0 0 / .45); display: flex; flex-direction: column; gap: 8px; max-height: min(520px, 70vh); overflow-y: auto; }
.ov-menu[hidden] { display: none; }
.ov-h { display: flex; align-items: baseline; gap: 8px; font-size: 12px; }
.ov-h + .ov-grid { margin-top: -2px; }
.ov-h:not(:first-child) { padding-top: 8px; border-top: 1px solid var(--line); }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.ov-opt { display: flex; align-items: center; gap: 8px; min-height: 30px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.ov-opt input { accent-color: var(--mint); margin: 0; }
.ov-key { width: 16px; height: 16px; border-radius: 50%; background: var(--c); color: var(--bg); font: 700 9px var(--mono); display: grid; place-items: center; flex: none; }
.ov-line { width: 16px; border-top: 2px dashed var(--c); flex: none; }
.ov-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 2px; }
.ov-alert { display: flex; justify-content: space-between; font: 500 12px var(--mono); }
.ov-add { display: flex; gap: 6px; }
.ov-add input { flex: 1; min-width: 0; height: 26px; padding: 0 8px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink); font: 12px var(--mono); }
.ov-foot { font-size: 11.5px; }

/* safety */
.score { display: flex; align-items: center; gap: 14px; padding: 4px 16px 14px; }
.ring { --p: 0; --c: var(--up); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-2) 0); flex: none; }
.ring b { width: 46px; height: 46px; border-radius: 50%; background: var(--s1); display: grid; place-items: center; font: 600 16px var(--mono); }
.score h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0 0 6px; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 9px 16px; }
.checks li + li { border-top: 1px solid var(--line); }
.checks li .d { color: var(--ink-3); font-size: 12px; margin-top: 1px; }
.checks li b { font-weight: 500; }
.ck { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; margin-top: 1px; }
.ck.ok { background: var(--up-dim); color: var(--up); } .ck.warn { background: var(--amber-dim); color: var(--amber); } .ck.bad { background: var(--down-dim); color: var(--down); }
.ck.info, .ck.na { background: var(--s3); color: var(--ink-3); }
details.allchecks summary { list-style: none; cursor: pointer; padding: 10px 16px; color: var(--ink-3); font-size: 12px; border-top: 1px solid var(--line); }
details.allchecks summary::-webkit-details-marker { display: none; }
details.allchecks summary:hover { color: var(--ink); }
details.allchecks[open] summary { color: var(--ink-2); }

/* distribution / facts */
.dist { padding: 4px 16px 16px; }
.dist-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); gap: 2px; }
.dist-bar i { display: block; height: 100%; }
.dist-legend { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.dist-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; background: var(--c); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 4px 16px 16px; margin: 0; font-size: 12.5px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; text-align: right; font-family: var(--mono); }
.fee-kv { padding-top: 14px; }
.fee-kv dd { max-width: 190px; overflow-wrap: anywhere; }
.fee-note { margin: 0; padding: 0 16px 16px; color: var(--ink-3); font-size: 11.5px; line-height: 1.5; }
.fee-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.pbar { position: relative; display: inline-block; width: 70px; height: 3px; background: var(--line-2); border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.pbar i { position: absolute; inset: 0 auto 0 0; background: var(--ink-2); border-radius: 2px; }

/* people panel */
.people { padding: 0 0 6px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--line); }
.prow .pwho { min-width: 0; flex: 1; }
.prow .pwho b { font-weight: 500; }
.prow .pwho div { color: var(--ink-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pgroup { padding: 10px 16px 4px; font-size: 11.5px; color: var(--ink-3); font-weight: 500; border-top: 1px solid var(--line); }

/* ---------- Trade panel ---------- */
.trade { border-color: var(--line-2); }
.tp-body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.pro-note { padding: 10px 12px; border-radius: 9px; background: var(--up-dim); color: var(--ink-2); font-size: 11.5px; line-height: 1.45; }
.pro-note b { color: var(--up); }
.seg.full { display: grid; grid-template-columns: 1fr 1fr; }
.seg.full button { height: 32px; font-size: 13px; font-weight: 600; }
.seg.full button.on.buy { background: var(--up-dim); color: var(--up); }
.seg.full button.on.sell { background: var(--down-dim); color: var(--down); }
.trow { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.tinput { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; transition: border-color .15s var(--ease); }
.tinput:focus-within { border-color: var(--ice); }
.tinput input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 12px 0; font: 500 22px var(--mono); letter-spacing: -0.02em; }
.tinput span { color: var(--ink-3); font-weight: 600; font-size: 12px; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); }
.presets .chip { height: 28px; font-family: var(--mono); }
.tq { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.tq.err { color: var(--down); }
.btn.big { width: 100%; height: 44px; font-size: 14px; font-weight: 650; border: 0; border-radius: 10px; }
.buybtn { background: var(--up); color: var(--on-light); border-color: var(--up); }
.buybtn:hover { background: #4fffc5; }
.sellbtn { background: var(--down); color: var(--on-light); border-color: var(--down); }
.sellbtn:hover { background: oklch(0.76 0.165 28); }
.taxchip { font-size: 11px; font-weight: 500; color: var(--amber); }
.gate { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--down-dim); font-size: 12px; cursor: pointer; }
.gate input { margin-top: 2px; accent-color: var(--down); }
.tstatus { padding: 10px 12px; border-radius: 10px; font-size: 12px; }
.tstatus a { color: inherit; text-decoration: underline; }
.tstatus.ok { background: var(--up-dim); color: var(--up); }
.tstatus.err { background: var(--down-dim); color: var(--down); }
.tstatus.info { background: var(--ice-dim); color: var(--ice); }
.tfoot { color: var(--ink-3); font-size: 11px; }
.thbanner { font-size: 12px; padding: 9px 12px; border-radius: 10px; background: var(--ice-dim); color: var(--ink); }
.orders-title { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.order-row { display: grid; gap: 5px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.order-row:first-of-type { border-top: 0; }
.order-row .mono { overflow-wrap: anywhere; }
.order-actions { display: flex; gap: 8px; }

/* ---------- Wallet / profile ---------- */
.stack { display: flex; flex-direction: column; gap: 16px; }
.wh { padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wh h1 { margin: 0; font-size: 16px; font-family: var(--mono); font-weight: 500; word-break: break-all; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--s1); }
.card { padding: 12px 16px; border-right: 1px solid var(--line); }
.card:last-child { border-right: 0; }
.card .k { color: var(--ink-3); font-size: 11.5px; } .card .v { font: 600 18px var(--mono); margin-top: 4px; letter-spacing: -0.02em; }
.avatar { border-radius: 50%; object-fit: cover; background: var(--s3); flex: none; }
.avatar.ph { display: grid; place-items: center; color: var(--ink-2); font-weight: 600; }
.pbox { display: flex; gap: 16px; align-items: flex-start; padding: 16px; flex-wrap: wrap; }
.pmain { flex: 1; min-width: 220px; }
.pname { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pname a { font-size: 12px; font-weight: 500; }
.pbio { margin-top: 4px; color: var(--ink-2); max-width: 64ch; }
.pstats { display: flex; gap: 16px; margin-top: 10px; color: var(--ink-3); font-size: 12px; }
.pstats b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.pact { display: flex; gap: 8px; flex-wrap: wrap; }
.modal:has(.recovery-list) { max-height: min(85vh, 720px); overflow-y: auto; }
.recovery-note { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.recovery-actions { display: flex; gap: 8px; justify-content: space-between; }
.recovery-list { display: flex; flex-direction: column; gap: 6px; max-height: 230px; overflow-y: auto; }
.recovery-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border: 1px solid var(--line); }
.recovery-row span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.recovery-row small { color: var(--ink-3); overflow-wrap: anywhere; }
.recovery-wallet { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px; background: var(--s2); font-size: 12px; }
.earn { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0 16px 16px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.earn > div { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); }
.earn .k { color: var(--ink-3); font-size: 11.5px; } .earn b { font: 600 16px var(--mono); } .earn small { color: var(--ink-3); font-size: 11px; }
.earn .earn-note { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; color: var(--ink-2); font-size: 12px; }
.points-box { margin: 0 16px 16px; padding: 16px; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(130deg, rgb(0 239 174 / .08), transparent 55%), var(--s2); }
.points-top { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.points-top > div { display: flex; flex-direction: column; gap: 2px; }
.points-top .k { color: var(--ink-3); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.points-top strong { font: 700 29px var(--mono); color: var(--mint); line-height: 1.15; }
.points-top small, .points-tiers small, .points-claim small { color: var(--ink-3); font-size: 11px; }
.points-next { text-align: right; color: var(--ink-2); font-size: 12px; }
.points-track { height: 6px; margin: 16px 0 12px; border-radius: 8px; background: var(--s3); overflow: hidden; }
.points-track span { display: block; height: 100%; border-radius: inherit; background: var(--mint); }
.points-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.points-tiers span { display: flex; flex-wrap: wrap; column-gap: 6px; padding: 8px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; font-size: 11px; }
.points-tiers span.on { color: var(--mint); border-color: rgb(0 239 174 / .25); }
.points-tiers b { margin-left: auto; }
.points-tiers small { flex-basis: 100%; }
.points-box p { margin: 12px 0 0; color: var(--ink-2); font-size: 11.5px; }
.points-claim { margin-top: 10px; color: var(--ink-2); font-size: 11.5px; }
.points-claim summary { cursor: pointer; width: fit-content; }
.points-claim > div { display: flex; gap: 8px; margin: 8px 0 4px; }
.points-claim input { min-width: 0; flex: 1; padding: 7px 9px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 6px; }

/* theses */
.thlist { display: flex; flex-direction: column; }
.thesis { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.thesis header, .thesis footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.thesis p { margin: 0; white-space: pre-wrap; word-break: break-word; max-width: 72ch; line-height: 1.55; }
.thauthor { display: inline-flex; align-items: center; gap: 8px; }
.thauthor b { font-weight: 600; }
.thtoken { font-weight: 600; color: var(--ice); }
.stance { font-size: 11.5px; font-weight: 600; }
.stance.bull { color: var(--up); } .stance.bear { color: var(--down); }
.composer { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.composer textarea, .modal input, .modal textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; resize: vertical; outline: none; font: inherit; color: var(--ink); line-height: 1.5; }
.composer textarea:focus, .modal input:focus, .modal textarea:focus { border-color: var(--ice); }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#tpCallouts .composer { padding-top: 0; }
.co-gate { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 14px; font-size: 12.5px; border-top: 1px solid var(--line); }
.co-gate:has(#thHint:empty):has(#thAct:empty) { display: none; }
#thList:empty + .co-gate { border-top: 0; padding-top: 0; }
.tp-market .stat:last-child { border-right: 0; }
.co-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-row > span:first-child { min-width: 0; flex: 1; font-size: 12px; }
.co-mood { display: inline-flex; gap: 12px; font-size: 11.5px; font-weight: 600; font-stretch: 100%; text-transform: none; letter-spacing: 0; }
.co-more { display: block; width: 100%; padding: 12px 16px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.co-more:hover { color: var(--ink); background: var(--s2); }

/* modal & toast */
.modal-bg { position: fixed; inset: 0; background: oklch(0.1 0.005 70 / 0.7); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fade .18s var(--ease); }
.modal { width: min(440px, 100%); background: var(--s1); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.modal h3 { margin: 0; font-size: 16px; font-weight: 650; }
.modal label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.merr { color: var(--down); font-size: 12px; min-height: 1em; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; padding: 10px 16px; border-radius: 10px; font-weight: 500; background: var(--ink); color: var(--on-light); box-shadow: 0 16px 40px -12px oklch(0.05 0 0 / 0.7); animation: fade .18s var(--ease); }
.toast.err { background: var(--down); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1759px) {
  .home { grid-template-columns: 300px minmax(0, 1fr); }
  .rail.right { display: none; }
}
@media (max-width: 1100px) {
  .home, .tp { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; max-height: none; }
  .newl { max-height: 340px; }
}
/* ---------- Phone-only parts (hidden on desktop) ---------- */
.tabbar, .actionbar, .sheet-bg, .searchbtn, .grabber, .sheet-x, .mlist { display: none; }
.iconbtn { display: grid; place-items: center; width: 36px; height: 36px; background: none; border: 0; border-radius: 9px; color: var(--ink-2); touch-action: manipulation; }
.iconbtn:hover { background: var(--s2); color: var(--ink); }
.iconbtn.searchbtn { display: none; }
.me-empty { max-width: 460px; margin: 24px auto; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.me-empty h2 { margin: 6px 0 0; font-size: 20px; letter-spacing: -0.02em; }
.me-empty p { margin: 0; color: var(--ink-2); max-width: 40ch; }
.me-empty .btn.big { width: 100%; height: 46px; }
.logo-mark.big { width: 44px; height: 44px; border-radius: 8px; }

/* ---------- Phone: first-class layout ---------- */
@media (max-width: 760px) {
  html, body { font-size: 14px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
  button, a { touch-action: manipulation; }
  .top { height: calc(54px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; gap: 8px; }
  .logo { font-size: 15px; }
  .nav, .foot .kbds { display: none; }
  .iconbtn.searchbtn { display: grid; margin-left: auto; }
  .search { display: none; }
  body.searching .search { display: block; position: absolute; left: 12px; right: 12px; bottom: 8px; max-width: none; }
  body.searching .search input { height: 40px; font-size: 16px; }
  body.searching .logo, body.searching #wallet, body.searching .searchbtn { visibility: hidden; }
  .search::after { display: none; }
  #wallet { margin-left: 0; }
  #wallet .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .wide-only { display: none; }
  main { padding: 0 0 12px; }
  .foot { padding: 16px 16px 24px; font-size: 11px; }
  .panel { border-radius: 0; border-left: 0; border-right: 0; }
  .stack { gap: 10px; }

  /* home: one screen at a time, driven by the tab bar */
  .home { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .rail { position: static; max-height: none; }
  .rail.right { display: none; }
  body[data-route="home"] .rail.left { display: none; }
  body[data-route="radar"] #main { display: none; }
  body[data-route="radar"] .rail.right { display: flex; }
  .newl { max-height: none; }
  #feed { max-height: none !important; }
  .radar-h { padding: 14px 16px 10px; }
  .nl-row { grid-template-columns: 40px 36px minmax(0, 1fr); padding: 12px 16px; }
  .nl-row img, .nl-row .ic { width: 36px; height: 36px; border-radius: 9px; }
  .nl-top b { font-size: 15px; }
  .toolbar { padding: 10px 12px 6px; flex-wrap: nowrap; }
  .tabs { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .home > *, .tp > *, .tp .panel, #main, .toolbar, .lpbar, .chart-bar { min-width: 0; max-width: 100vw; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .tabs::-webkit-scrollbar, .lpbar::-webkit-scrollbar, .chart-bar::-webkit-scrollbar { display: none; }
  .tab { height: 36px; flex: none; padding: 0 12px; }
  .lpbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 12px 12px; }
  .lpbar .chip { flex: none; }
  .chip { height: 32px; padding: 0 11px; font-size: 12.5px; }
  #main .tablewrap { display: none; }
  .mlist { display: block; }
  .mrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid rgb(237 250 243 / 0.06); min-height: 68px; transition: background .6s var(--ease); }
  .mrow:active { background: var(--s2); }
  .mrow.fl-buy { background: var(--up-dim); transition: none; } .mrow.fl-sell { background: var(--down-dim); transition: none; }
  .mrow img, .mrow .ic { width: 40px; height: 40px; border-radius: 10px; }
  .mr-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .mr-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  .mr-top b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
  .mr-read .read { min-width: 0; } .mr-read .pills { max-width: 52vw; }
  .mr-who .whos { min-width: 0; }
  .mr-num { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12.5px; }
  .mr-num b { font-size: 14px; font-weight: 600; }
  .more { padding: 16px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters input, .filters select, .composer textarea, .modal input, .modal textarea { font-size: 16px; }

  /* tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 7px; font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar svg .f { fill: currentColor; }
  .tabbar a.on { color: var(--ink); }
  .tabbar a.on svg { stroke-width: 2; }
  body[data-route="token"] .tabbar { display: none; }

  /* token page: read first, trade in a bottom sheet */
  .tp { display: flex; flex-direction: column; gap: 10px; align-items: stretch; } /* the desktop grid's align-items:start would shrink panels to content (the read collapsed to 0 wide) */
  .tp .col { display: contents; }
  #tpHead { order: 1; } #tpChart { order: 2; } #tpCallouts { order: 3; } #tpTabs { order: 4; }
  #safety { order: 5; } #fees { order: 6; } #people { order: 7; } #dist { order: 8; } #facts { order: 9; }
  .tp-head { padding: 14px 16px 12px; gap: 12px; }
  .tp-head img, .tp-head .ic { width: 44px; height: 44px; }
  .tp-title { flex: 1; }
  .tp-title h1 { font-size: 18px; }
  .tp-price { margin-left: 0; width: 100%; display: flex; align-items: baseline; gap: 10px; text-align: left; }
  .tp-price .p { font-size: 24px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(3n) { border-right: 0; }
  .desc { padding: 0 16px 14px; }
  .chart-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chart-bar > * { flex: none; }
  #chart { height: 190px; }
  .chart-big #chart { height: 340px; }
  .t-trades th:nth-child(4), .t-trades td:nth-child(4), .t-trades th:nth-child(5), .t-trades td:nth-child(5),
  .t-trades th:nth-child(6), .t-trades td:nth-child(6), .t-trades th:nth-child(8), .t-trades td:nth-child(8),
  .t-holders th:nth-child(4), .t-holders td:nth-child(4) { display: none; }
  #tpTabs .toolbar { flex-wrap: wrap; row-gap: 8px; }
  #tpTabs #ttabs { flex: 1 0 100%; }
  #tfilter { overflow-x: auto; scrollbar-width: none; flex: 1 0 100% !important; }
  .chart-bar .seg button { padding: 0 8px; }
  #tfilter .chips { flex-wrap: nowrap; }
  #ttabs + .spacer { display: none; }
  .actionbar { display: grid; grid-template-columns: 44px 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .actionbar .btn.big { height: 46px; }
  .actionbar .iconbtn { width: 44px; height: 46px; border: 1px solid var(--line-2); }
  #trade { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--s1); padding-bottom: env(safe-area-inset-bottom); transform: translateY(104%); transition: transform .3s var(--ease); box-shadow: 0 -24px 60px -20px oklch(0.05 0 0 / 0.8); }
  body.sheet-open #trade { transform: none; }
  .sheet-bg { display: block; position: fixed; inset: 0; z-index: 55; background: oklch(0.1 0.005 70 / 0.6); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
  body.sheet-open .sheet-bg { opacity: 1; pointer-events: auto; }
  body.sheet-open { overflow: hidden; }
  .grabber { display: block; width: 38px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 8px auto 0; }
  .sheet-x { display: grid; margin-left: 4px; }
  #trade .panel-h { gap: 10px; }
  #trade .panel-h .taxchip { margin-left: auto; }
  .presets .chip { height: 40px; font-size: 13px; }
  .seg.full button { height: 40px; }
  .btn.big { height: 50px; }

  /* wallet / profile */
  .cards { grid-template-columns: 1fr 1fr; border-radius: 0; border-left: 0; border-right: 0; }
  .card { border-bottom: 1px solid var(--line); }
  .card:nth-child(2n) { border-right: 0; }
  .pbox { padding: 16px; }
  .earn { margin: 0 12px 14px; }
  .points-box { margin: 0 12px 14px; padding: 12px; }
  .points-tiers { gap: 4px; }
  .points-tiers span { padding: 6px; }
  .wh h1 { font-size: 14px; }
  .modal-bg { align-items: end; padding: 0; }
  .modal { width: 100%; border-radius: 18px 18px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  tr.fl-buy, tr.fl-sell { background: inherit; }
}

/* Market desk */
#calloutFollow[hidden], #tokenResults[hidden], #radarResults[hidden], #lpbar[hidden], #filters[hidden], #fbtn[hidden] { display:none !important; }
.tape-strip { position:fixed; top:0; left:0; right:0; z-index:30; height:40px; display:flex; align-items:center; gap:14px; padding:0 16px; background:var(--s1); border-bottom:1px solid var(--line-2); }
.tape-track { display:flex; align-items:center; gap:0; min-width:0; flex:1; height:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
.tape-track::-webkit-scrollbar { display:none; }
.tape-item { flex:none; display:flex; align-items:center; gap:7px; height:100%; padding:0 16px; border-left:1px solid var(--line); font-size:11.5px; white-space:nowrap; }
.tape-item:first-child { border-left:0; padding-left:0; }
.tape-item:hover { background:var(--s2); }
.tape-item b { font-weight:600; }
.tape-item small { color:var(--ink-3); font-size:10.5px; }
.top { margin-top:40px; top:40px; }
.market-home { display:grid; grid-template-columns:320px minmax(0,1fr); gap:12px; align-items:start; }
.market-home #main { min-width:0; }
.callouts-sidebar { position:sticky; top:108px; height:calc(100vh - 124px); min-width:0; display:flex; flex-direction:column; }
.callouts-head { display:flex; align-items:start; justify-content:space-between; gap:8px; padding:15px 14px 12px; }
.callouts-head b { display:block; font-size:15px; }
.callouts-head small { display:block; color:var(--ink-3); font-size:11px; margin-top:2px; }
.callouts-head .linkbtn { font-size:11px; white-space:nowrap; }
.callout-switch { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:0 12px 12px; padding:3px; background:var(--s2); border-radius:8px; }
.callout-switch button { height:30px; border:0; border-radius:6px; background:none; color:var(--ink-3); font-weight:550; }
.callout-switch button.on { color:var(--ink); background:var(--s3); }
.callout-follow { border-top:1px solid var(--line); padding-top:12px; }
.callout-list { flex:1; min-height:0; overflow-y:auto; }
.callout-list .thesis { padding:13px 14px; gap:7px; }
.callout-list .thesis p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; font-size:12.5px; }
.callout-list .thesis header { gap:5px 8px; }
.callout-list .thesis footer { font-size:11px; }
.callout-list .thauthor { max-width:100%; }
.callout-list .thauthor b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:155px; }
.market-home #main .tablewrap { overflow-x:auto; }
.market-home #main table { min-width:1030px; }
.market-home #main th:last-child, .market-home #main td:last-child { position:sticky; right:0; background:var(--s1); box-shadow:-8px 0 12px -10px oklch(0.05 0 0 / .9); }
.market-home #main td:last-child { white-space:nowrap; }
.market-home #radarResults .newl { max-height:none; }
.market-home #radarResults .nl-row { grid-template-columns:44px 28px minmax(0,1fr); }
.market-home #radarResults .nl-top { max-width:520px; }
.market-home #radarResults .nl-safe { max-width:520px; }
.module-scroll { max-height:340px; overflow:auto; }
.module-row { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; padding:9px 12px; border-top:1px solid var(--line); }
.module-row a { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; flex:1; }
.module-row a:hover { color:var(--ice); }
.module-row span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.follow-form { display:flex; gap:7px; padding:0 12px 8px; }
.follow-form input { min-width:0; flex:1; height:30px; padding:0 8px; border:1px solid var(--line-2); border-radius:7px; background:var(--s2); }
#followError { padding:0 12px; }
.follow-list { display:flex; flex-wrap:wrap; gap:5px; padding:0 12px 8px; }
.follow-chip { display:inline-flex; align-items:center; gap:6px; padding:3px 5px 3px 8px; border:1px solid var(--line-2); border-radius:6px; font-size:11px; }
.follow-chip button { border:0; background:none; color:var(--ink-3); }
.follow-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:start; gap:8px; padding:10px 12px; border-top:1px solid var(--line); }
.follow-row > div { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.follow-row .mono { font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.feed-pages { display:flex; align-items:center; justify-content:center; gap:12px; padding:14px; border-top:1px solid var(--line); }
.nl-row, .feed-row, .follow-row { position:relative; }
.row-actions { position:absolute; right:7px; top:7px; display:none; align-items:center; background:var(--s2); border-radius:6px; }
.nl-row:hover .row-actions, .feed-row:hover .row-actions, .follow-row:hover .row-actions,
.nl-row:focus-within .row-actions, .feed-row:focus-within .row-actions, .follow-row:focus-within .row-actions { display:flex; }
@media (hover:none) { .row-actions { display:flex; } }
.mini-action { border:0; background:none; color:var(--ink-3); padding:3px 5px; font-size:15px; border-radius:5px; }
.mini-action:hover, .mini-action.active { color:var(--amber); background:var(--amber-dim); }
.thlist .follow-row { padding:14px; }
@media (min-width:761px) and (max-width:1100px) {
  .market-home { grid-template-columns:280px minmax(0,1fr); }
}
@media (max-width:760px) {
  .tape-strip { height:32px; padding:0 8px; gap:8px; }
  .tape-item { padding:0 10px; }
  .tape-item small { display:none; }
  .top { margin-top:32px; top:32px; }
  .market-home { display:flex; flex-direction:column; gap:0; }
  .market-home .callouts-sidebar { display:none; }
  body[data-route="radar"] #main { display:block; }
  .market-home #main table { min-width:0; }
  .market-home #radarResults .newl { max-height:none; }
  .market-home #radarResults .nl-row { grid-template-columns:40px 36px minmax(0,1fr); }
  .mrow .mr-main > a { display:block; }
  .mrow .mr-num { gap:5px; }
  .mr-acts { display: flex; margin-top: 1px; }
}

/* =====================================================================
   SIGHTLINE · the Nearsight identity layer
   Everything below derives from the mark:
   · mint #00efae as a solid surface (black-on-mint), never just an accent
   · the diamond (45° square) as marker, pip and selection
   · the four-point sighting star for anything newly seen
   · the S-direction chamfer (top-left + bottom-right cut) instead of rounded cards
   · Archivo expanded + heavy as the voice; normal width for UI
   ===================================================================== */
:root { --wide: 125%; --semi: 112%; }
html, body { font-family: var(--sans); font-size: 13.5px; letter-spacing: -0.005em; }
body {
  background-color: var(--bg);
  background-image: radial-gradient(1200px 520px at 50% -180px, rgb(0 239 174 / 0.06), transparent 70%);
  background-attachment: fixed;
}
::selection { background: var(--mint); color: var(--mint-ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 2px; }
.num, td.n, .mono { font-family: var(--sans); font-stretch: var(--semi); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.acct.mono, .copy, .t-trades .mono, .wh h1 { font-family: var(--mono); font-stretch: 100%; }
.up { color: var(--mint); } .down { color: var(--flare); } .warn-t { color: var(--volt); }

/* chamfer: the corner cut from the mark */
.panel, .cards, .earn, .tq, .gate, .tstatus, .modal, .spec-cut {
  border-radius: 0 !important;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.panel { background: rgb(11 16 14 / 0.92); box-shadow: inset 0 0 0 1px var(--line); }

/* sighting star */
.spark { display: inline-block; flex: none; fill: currentColor; vertical-align: -1px; }
.spark.spin { color: var(--mint); animation: sightSpin 6s cubic-bezier(.25,1,.5,1) infinite; }
@keyframes sightSpin { 0%, 70% { transform: rotate(0) scale(1); } 80% { transform: rotate(90deg) scale(1.25); } 100% { transform: rotate(90deg) scale(1); } }

/* loader: the mark blinks */
.loading { display: grid; justify-items: center; gap: 14px; font-stretch: var(--semi); letter-spacing: .02em; }
.loading::before { content: ''; width: 38px; height: 38px; background: url(nearsight-logo.svg) center / contain no-repeat; animation: blink 2.6s cubic-bezier(.25,1,.5,1) infinite; }
@keyframes blink { 0%, 86%, 100% { transform: scaleY(1); } 92% { transform: scaleY(.12); } }
#view:has(> .launch-loader) { display: grid; place-items: center; box-sizing: border-box; min-height: calc(100dvh - 98px); }
.launch-loader { position: relative; display: grid; place-items: center; width: 160px; height: 160px; perspective: 540px; isolation: isolate; }
.launch-loader::before { content: ''; position: absolute; z-index: -1; width: 72px; height: 72px; border-radius: 50%; background: rgb(0 239 174 / .3); filter: blur(29px); animation: launchGlow 3.6s ease-in-out infinite; }
.launch-loader-glass { display: block; width: 160px; height: 160px; transform-style: preserve-3d; animation: launchSpin 3.6s cubic-bezier(.64,.02,.36,.98) infinite; }
.launch-loader-glass img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 14px rgb(0 239 174 / .2)); }
@keyframes launchSpin { 0% { transform: rotateY(0deg) rotateZ(-8deg); } 50% { transform: rotateY(180deg) rotateZ(8deg); } 100% { transform: rotateY(360deg) rotateZ(-8deg); } }
@keyframes launchGlow { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.3); } }
@media (max-width: 760px) {
  #view:has(> .launch-loader) { min-height: calc(100dvh - 118px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .launch-loader-glass, .launch-loader::before { animation: none; }
}
.empty { display: grid; justify-items: center; gap: 10px; }
.empty::before { content: ''; width: 18px; height: 18px; background: var(--mint); opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0-10C1.5-3.6 3.6-1.5 10 0 3.6 1.5 1.5 3.6 0 10-1.5 3.6-3.6 1.5-10 0-3.6-1.5-1.5-3.6 0-10Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cpath d='M0-10C1.5-3.6 3.6-1.5 10 0 3.6 1.5 1.5 3.6 0 10-1.5 3.6-3.6 1.5-10 0-3.6-1.5-1.5-3.6 0-10Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- header ---------- */
.top { background: rgb(5 8 7 / 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); height: 58px; gap: 22px; }
.logo { gap: 11px; }
.logo-mark { width: 32px; height: 32px; border-radius: 0; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.logo-t { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
.nav a { font-weight: 600; font-stretch: var(--semi); color: var(--ink-3); border-radius: 0; padding: 7px 11px; }
.nav a.on { color: var(--mint-ink); background: var(--mint); clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.search input { height: 38px; border-radius: 0; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line-2); border: 0; font-size: 13.5px;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.search input:focus { box-shadow: inset 0 0 0 1px var(--mint); }
.search::after { border-radius: 2px; border-color: var(--line-2); }

/* ---------- tape: the sightline ---------- */
.tape-strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.tape-item { gap: 8px; border-left: 0; padding: 0 18px 0 14px; font-stretch: var(--semi); position: relative; }
.tape-item::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--line-2); transform: rotate(45deg); }
.tape-item:first-child::before { display: none; }
.tape-item b { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 11.5px; letter-spacing: .02em; }
.tape-item .up, .tape-item .down { font-size: 10px; }
.tape-item .mono { font-weight: 600; }

/* ---------- controls ---------- */
.btn { border-radius: 0; height: 34px; font-weight: 600; font-stretch: var(--semi); background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); border: 0;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.btn:hover { background: var(--s3); }
.btn.primary, .buybtn { background: var(--mint); color: var(--mint-ink); box-shadow: none; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .02em; font-size: 12px; }
.btn.primary:hover, .buybtn:hover { background: var(--mint-hi); }
.sellbtn { background: var(--flare); color: var(--flare-ink); box-shadow: none; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .02em; }
.sellbtn:hover { background: #ff7391; }
.btn.big { height: 48px; font-size: 14px; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.btn .cnt { border-radius: 0; background: var(--mint); color: var(--mint-ink); transform: none; }
.linkbtn { color: var(--mint); text-decoration: none; font-weight: 600; }
.linkbtn:hover { text-decoration: underline; }
.tabs { gap: 2px; }
.tab { border-radius: 0; height: 32px; padding: 0 12px; font-weight: 600; font-stretch: var(--semi); color: var(--ink-3); }
.tab:hover { color: var(--ink); background: var(--s2); }
.tab.on { color: var(--mint-ink); background: var(--mint); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.seg { border-radius: 0; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); border: 0; padding: 2px; }
.seg button { border-radius: 0; font-weight: 600; font-stretch: var(--semi); }
.seg button.on { background: var(--mint); color: var(--mint-ink); }
.seg.full button.on.buy { background: var(--mint); color: var(--mint-ink); }
.seg.full button.on.sell { background: var(--flare); color: var(--flare-ink); }
.chip { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-stretch: var(--semi); color: var(--ink-2); }
.chip:hover { background: var(--s2); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip.on .dim { color: rgb(5 8 7 / .55); }
.lpbar .chip::before, .lpb::before { border-radius: 0; transform: rotate(45deg); width: 6px; height: 6px; }
.lpbar { padding: 2px 12px 12px; }
.mini-action { border-radius: 0; color: var(--ink-3); }
.mini-action:hover { color: var(--mint); background: var(--up-dim); }
.mini-action.active { color: var(--volt); background: var(--amber-dim); }
.mini-action[data-quick]:hover { color: var(--mint-ink); background: var(--mint); }

/* ---------- market table ---------- */
th { background: rgb(11 16 14 / 0.98); font-size: 11.5px; font-weight: 500; font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--ink-3); padding: 11px 12px; }
th.sorted { color: var(--mint); }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
tbody tr { transition: background .5s var(--ease); }
tbody tr:hover { background: rgb(0 239 174 / 0.045); }
tbody tr.sel { background: rgb(0 239 174 / 0.07); box-shadow: inset 0 0 0 1px rgb(0 239 174 / .45); }
tr.fl-buy { background: rgb(0 239 174 / 0.16); } tr.fl-sell { background: rgb(255 79 115 / 0.15); }
.tk { position: relative; gap: 12px; }
tbody tr:hover .tk::before, tbody tr.sel .tk::before { content: ''; position: absolute; left: -10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--mint); transform: rotate(45deg); }
.tk img, .ic { width: 34px; height: 34px; border-radius: 0; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.tk-name { font-size: 14px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .01em; gap: 8px; }
.tk-name .nm { font-weight: 500; font-stretch: 100%; text-transform: none; font-size: 12.5px; letter-spacing: 0; }
.official { color: var(--mint-ink); background: var(--mint); padding: 1px 5px; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.tk-sub { font-size: 11.5px; gap: 7px; }
td.n { font-size: 13.5px; font-weight: 600; }
td .sub { font-weight: 500; font-size: 11px; }
.chg { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px 3px 6px; font-weight: 800; font-stretch: var(--semi); font-size: 12.5px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.chg.up { background: var(--mint); color: var(--mint-ink); }
.chg.down { background: var(--flare); color: var(--flare-ink); }
.chg.flat { background: var(--s3); color: var(--ink-2); }
.bsbar { height: 3px; border-radius: 0; background: var(--flare); opacity: 1; }
.bsbar b { border-radius: 0; background: var(--mint); }

/* the read: 4-step caution meter stacked over category pills */
:root { --risk-1: var(--mint); --risk-2: #ffd84a; --risk-3: #ff9a3d; --risk-4: #ff4d4d; }
.read { flex-direction: column; align-items: flex-start; gap: 5px; }
.meter { gap: 2px; }
.meter i { width: 8px; height: 4px; border-radius: 0; background: var(--line-2); }
.meter i.on:nth-child(1) { background: var(--risk-1); } .meter i.on:nth-child(2) { background: var(--risk-2); }
.meter i.on:nth-child(3) { background: var(--risk-3); } .meter i.on:nth-child(4) { background: var(--risk-4); }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
/* flag chips: squared slabs with the S-direction chamfer, no outline; tint carries the kind */
.fpill { --k: var(--ink-3); flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 8px; border-radius: 0; font-size: 11px; font-weight: 600; line-height: 1.3;
  color: color-mix(in srgb, var(--k) 72%, var(--ink)); background: color-mix(in srgb, var(--k) 15%, transparent);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.fpill.bad { background: color-mix(in srgb, var(--k) 24%, transparent); }
.risk { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.risk .rw { font-size: 12px; font-weight: 600; }
.risk.r1 .rw { color: var(--risk-1); } .risk.r2 .rw { color: var(--risk-2); } .risk.r3 .rw { color: var(--risk-3); } .risk.r4 .rw { color: var(--risk-4); }
td.c-risk { width: 1%; }
#main td.c-tags .pills { max-width: 300px; }
.fpill.k-pool { --k: #6fb6ff; } .fpill.k-dev { --k: #b69cff; } .fpill.k-holders { --k: #4fd8e0; }
.fpill.k-contract { --k: #ff8fcf; } .fpill.k-social { --k: #9aa8a0; } .fpill.k-clean { --k: var(--mint); }
.fpill.k-identity { --k: #ffb86b; }
.read .more-f { flex: none; }
.verdict .read { flex-direction: row; align-items: center; gap: 8px; }
.verdict .read .phr { font-weight: 600; font-size: 12.5px; }
.stackav > * { border-radius: 0; transform: rotate(45deg) scale(.78); box-shadow: 0 0 0 2px var(--s1); margin-left: -4px; }
.stackav > * > *, .stackav > span { font-size: 9px; }
.stackav .k-smart { background: var(--mint); } .stackav .k-caller { background: var(--ink); } .stackav .k-follow { background: var(--volt); }
.whos .lbl2 { font-weight: 600; }
.stage i, .stage i b { border-radius: 0; }
.stage i b { background: var(--mint); }
.lbl { border-radius: 0; font-stretch: var(--semi); }
.lbl.smart { background: var(--mint); color: var(--mint-ink); }

/* ---------- desk layout: callouts + activity · market · sightings ---------- */
.market-home { grid-template-columns: 330px minmax(0, 1fr) 290px; gap: 14px; }
.sightings { position: sticky; top: 114px; height: calc(100vh - 130px); display: flex; flex-direction: column; min-width: 0; order: 1; }
.market-home #main { order: 0; }
.callouts-sidebar { order: -1; top: 114px; height: calc(100vh - 130px); }
.sight-head, .callouts-head { display: flex; align-items: center; gap: 10px; padding: 15px 14px 12px; border-bottom: 1px solid var(--line); }
.sight-head b, .callouts-head b, .dock-head b { display: block; font-size: 13px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .03em; }
.sight-head small, .callouts-head small { display: block; color: var(--ink-3); font-size: 11px; margin-top: 2px; }
.callouts-head { align-items: start; }
.sight-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sight-list .nl-row, .newl .nl-row { grid-template-columns: 36px 28px minmax(0, 1fr); gap: 10px; padding: 11px 14px; border-top: 0; border-bottom: 1px solid var(--line); }
.nl-row .nl-age { font-weight: 700; font-stretch: var(--semi); font-size: 11.5px; }
.nl-row .nl-age.up { color: var(--mint); }
.nl-row img, .nl-row .ic { border-radius: 0; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.nl-top b { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 13px; letter-spacing: .01em; }
.nl-top .mc { font-weight: 700; font-stretch: var(--semi); }
.nl-row.fresh { background: rgb(0 239 174 / 0.08); }
.nl-new { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px 2px 5px; background: var(--mint); color: var(--mint-ink); font-size: 9px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .06em; animation: none; }
.nl-row.fresh .nl-new .spark { animation: sightIn .9s cubic-bezier(.25,1,.5,1) both; }
@keyframes sightIn { from { transform: rotate(-90deg) scale(0); } to { transform: none; } }
.callout-switch { border-radius: 0; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); margin: 12px; }
.callout-switch button { border-radius: 0; font-weight: 700; font-stretch: var(--semi); }
.callout-switch button.on { background: var(--mint); color: var(--mint-ink); }
.following-dock { flex: none; max-height: 40%; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); background: rgb(5 8 7 / .5); }
.dock-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; }
.dock-head small { color: var(--ink-3); font-size: 11px; }
.dock-list { overflow-y: auto; min-height: 0; }
.dock-list .empty { padding: 18px 14px; font-size: 12px; }
.follow-row { padding: 9px 14px; font-size: 12.5px; }
.follow-row b { font-weight: 800; font-stretch: var(--semi); }
.side { font-weight: 800; font-stretch: var(--semi); text-transform: uppercase; font-size: 11px; letter-spacing: .03em; }

/* ---------- callouts / theses ---------- */
.thesis { gap: 9px; }
.stance { display: inline-flex; align-items: center; padding: 2px 7px; font-size: 10px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .05em; }
.stance.bull { background: var(--mint); color: var(--mint-ink); }
.stance.bear { background: var(--flare); color: var(--flare-ink); }
.thtoken { color: var(--ink); font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; }
.thesis p { font-size: 13px; line-height: 1.55; color: var(--ink); }
.avatar { border-radius: 0; clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%); }
.composer textarea, .modal input, .modal textarea, .follow-form input, .filters input, .filters select { border-radius: 0; }

/* ---------- token page ---------- */
.tp-head img, .tp-head .ic { width: 56px; height: 56px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); border-radius: 0; }
.tp-title h1 { font-size: 30px; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.tp-title h1 > span { font-stretch: 100%; text-transform: none; font-weight: 500; font-size: 15px; letter-spacing: 0; }
.tp-price .p { font-family: var(--sans); font-stretch: var(--wide); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.verdict { gap: 10px; margin-top: 12px; }
.verdict .v-lvl { padding: 4px 9px; font-size: 11px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .05em;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.verdict.safe .v-lvl { background: var(--mint); color: var(--mint-ink); }
.verdict.caution .v-lvl { background: var(--volt); color: #1d1300; }
.verdict.danger .v-lvl { background: var(--flare); color: var(--flare-ink); }
/* labels are quiet: normal width, sentence case. Wide caps are reserved for symbols, verdicts, prices and actions. */
.stat .k, .card .k, .earn .k, .kv dt { font-size: 12px; font-weight: 500; font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.stat .v, .card .v { font-family: var(--sans); font-stretch: var(--semi); font-weight: 700; font-size: 16px; }
.kv dd { font-family: var(--sans); font-stretch: var(--semi); font-weight: 600; }
.panel-h { font-size: 15px; font-weight: 700; font-stretch: var(--semi); text-transform: none; letter-spacing: -0.01em; padding: 16px 16px 10px; }
.panel-h small { text-transform: none; font-stretch: 100%; letter-spacing: 0; font-weight: 500; }
.ring { background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--s3) 0); }
.ring b { font-family: var(--sans); font-stretch: var(--wide); font-weight: 800; }
.score h3 { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.ck { border-radius: 0; transform: rotate(45deg); width: 13px; height: 13px; margin: 3px 0 0 2px; font-size: 0; }
.ck.ok { background: var(--mint); } .ck.warn { background: var(--volt); } .ck.bad { background: var(--flare); } .ck.info, .ck.na { background: var(--s3); }
.dist-bar { border-radius: 0; gap: 2px; height: 10px; }
.pbar, .pbar i { border-radius: 0; }
.pbar i { background: var(--mint); }
.tinput { border-radius: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); border: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.tinput:focus-within { box-shadow: inset 0 0 0 1px var(--mint); }
.tinput input { font-family: var(--sans); font-stretch: var(--wide); font-weight: 800; font-size: 26px; }
.presets .chip { font-family: var(--sans); font-weight: 700; }
.thbanner { border-radius: 0; background: var(--mint); color: var(--mint-ink); font-weight: 600; }
.thbanner .linkbtn { color: var(--mint-ink); text-decoration: underline; }
.tstatus.ok { background: var(--mint); color: var(--mint-ink); } .tstatus.err { background: var(--flare); color: var(--flare-ink); }
.tstatus.ok a, .tstatus.err a { color: inherit; }
.taxchip { color: var(--volt); font-weight: 700; }
.pname { font-stretch: var(--wide); font-weight: 900; text-transform: uppercase; font-size: 22px; }
.toast { border-radius: 0; font-weight: 700; background: var(--mint); color: var(--mint-ink); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.toast.err { background: var(--flare); color: var(--flare-ink); }
.foot { border-top: 1px solid var(--line); }
kbd { border-radius: 0; }

/* ---------- responsive desk ---------- */
@media (max-width: 1439px) {
  .market-home { grid-template-columns: 320px minmax(0, 1fr); }
  .market-home .sightings { display: none; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .market-home { grid-template-columns: minmax(0, 1fr); }
  .market-home .callouts-sidebar { display: none; }
}
@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .market-home .sightings { display: none; }
  .top { height: calc(54px + env(safe-area-inset-top)); }
  .logo-t { font-size: 14px; }
  .panel { clip-path: none; box-shadow: none; border-top: 1px solid var(--line); }
  .mrow .mr-top b { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 14.5px; }
  .mrow img, .mrow .ic { border-radius: 0; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
  .mr-num b { font-stretch: var(--semi); font-weight: 800; }
  .tabbar { background: rgb(5 8 7 / .96); backdrop-filter: blur(10px); }
  .tabbar a.on { color: var(--mint); }
  #trade { border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
  .tp-title h1 { font-size: 24px; }
  .tp-price .p { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .spark.spin, .loading::before, .nl-row.fresh .nl-new .spark { animation: none !important; } }
/* market table responds to its own width, not the window */
@media (min-width: 761px) { .market-home #main { container-type: inline-size; container-name: market; } }
@media (max-width: 760px) { .market-home { align-items: stretch; } .market-home #main { width: 100%; } }
.market-home #main table { min-width: 0; }
.market-home #main th:last-child, .market-home #main td:last-child { position: static; box-shadow: none; background: transparent; }
td.c-act { white-space: nowrap; width: 1%; }
#main .tk { min-width: 0; }
#main .read { min-width: 0; }
#main .read .pills { max-width: 220px; }
#main .tk-sub { white-space: nowrap; }
@container market (max-width: 1240px) { .c-liq { display: none; } }
@container market (max-width: 1120px) { .c-hold { display: none; } #main .tk-name .nm { display: none; } }
@container market (max-width: 1000px) { .c-who { display: none; } #main .tk-sub .soc { display: none; } #main .read .pills { max-width: 170px; } }
.nl-safe .read { max-width: 100%; }
.nl-main { min-width: 0; }
.nl-row .tk-sub { white-space: nowrap; overflow: hidden; }
.tab.on .dim, .tab.on span { color: rgb(0 20 13 / .62); }
@media (min-width: 761px) { .sheet-x, .grabber { display: none !important; } }

/* ---------- share cards ---------- */
.share-btn { margin-top: 10px; height: 32px; font-size: 11px; }
.share-btn .spark { margin-right: 2px; }
.hero-who { margin-top: 10px; }
.share-sheet { display: flex; flex-direction: column; gap: 14px; }
.share-img { width: 100%; height: auto; display: block; box-shadow: 0 0 0 1px var(--line-2); }
.share-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.share-actions .big { grid-column: 1 / -1; }
.share-note { margin: 0; color: var(--ink-3); font-size: 12px; }
.modal:has(.share-sheet) { width: min(640px, 100%); }
@media (max-width: 760px) { .share-actions { grid-template-columns: 1fr 1fr; } .share-btn { margin-top: 0; } }
@media (max-width: 760px) { .tp-price { flex-wrap: wrap; } .share-btn { width: 100%; margin-top: 6px; height: 40px; } }
.share-trade { width: 100%; margin-top: 8px; height: 40px; }
.share-fmt { align-self: flex-start; }
.share-stage { display: flex; justify-content: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); padding: 10px; }
.share-stage.story .share-img { width: auto; max-height: 52vh; }
.share-stage.square .share-img { width: auto; max-height: 52vh; }
.share-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.share-style-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: transparent; color: var(--mint); border: 0; box-shadow: inset 0 0 0 1px var(--mint); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); font-size: 12px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.share-style-btn .spark { fill: currentColor; }
.share-style-btn:hover, .share-style-btn.on { background: var(--mint); color: var(--mint-ink); }
.share-body { display: flex; flex-direction: column; gap: 14px; }
.share-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.share-stage { transition: opacity .15s var(--ease); }
.share-stage.busy { opacity: .72; }
.share-studio { display: none; flex-direction: column; gap: 12px; }
.share-sheet.studio-on .share-studio { display: flex; }
.studio-row { display: flex; flex-direction: column; gap: 6px; }
.studio-row > span { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.studio-seg { flex-wrap: wrap; align-self: flex-start; }
.studio-seg button { height: 28px; }
.studio-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-swatch { width: 34px; height: 34px; padding: 0; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--a) 0 58%, var(--b) 58% 100%); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .15s var(--ease); }
.studio-swatch:hover { transform: translateY(-2px); }
.studio-swatch.on { outline: 2px solid var(--mint); outline-offset: 2px; clip-path: none; }
.studio-check { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 13px !important; color: var(--ink-2) !important; cursor: pointer; }
.studio-check input { accent-color: var(--mint); width: 16px; height: 16px; margin: 0; }
.studio-foot { display: flex; gap: 8px; }
.studio-foot .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.studio-foot .spark { fill: currentColor; }
.modal:has(.share-sheet) { max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal:has(.share-sheet.studio-on) { width: min(1060px, 100%); }
@media (min-width: 900px) {
  .share-sheet.studio-on .share-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 18px; }
  .share-sheet.studio-on .share-studio { border-left: 1px solid var(--line); padding-left: 18px; }
}
@media (max-width: 899px) { .share-sheet.studio-on .share-stage { position: sticky; top: -20px; z-index: 1; } }
.lbl.top10 { background: var(--ink); color: var(--bg); }

/* Holder connections */
.holder-map { padding: 16px; }
.holder-map-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 12px; }
.holder-map-intro b { font-size: 15px; color: var(--ink); }
.holder-map-intro span, .holder-map-note, .holder-map-source { color: var(--ink-3); font-size: 12px; line-height: 1.5; }
.holder-map-status { min-height: 180px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 24px; color: var(--ink-2); }
.holder-map-status span { font-size: 12px; color: var(--ink-3); }
.holder-map-warning { padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.holder-connection-section-head { display: flex; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin: 16px 0 9px; color: var(--ink); font-size: 13px; }
.holder-connection-section-head span { color: var(--ink-3); font-size: 12px; }
.holder-connection-section-head.secondary { margin-top: 24px; }
.holder-connection-disclosures { margin-top: 14px; }
.holder-connection-disclosures > summary { cursor: pointer; padding: 11px 12px; border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }
.holder-connection-disclosures[open] > summary { margin-bottom: 8px; }
.holder-connection-card { border: 1px solid var(--line); background: var(--s2); margin-bottom: 8px; }
.holder-connection-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 14px; flex-wrap: wrap; }
.holder-connection-pair { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-width: 0; font-size: 13px; font-weight: 700; }
.holder-connection-pair > span { color: var(--ink-3); font-size: 16px; }
.holder-connection-wallet { color: var(--ink); overflow-wrap: anywhere; }
.holder-connection-wallet:hover { color: var(--ice); }
.holder-connection-tag { color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.holder-connection-tag.two-way { color: var(--ice); }
.holder-connection-transfers { border-top: 1px solid var(--line); }
.holder-connection-transfer { display: grid; grid-template-columns: minmax(0, 1.5fr) auto auto 16px; gap: 8px 14px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 11px; }
.holder-connection-transfer:first-child { border-top: 0; }
.holder-connection-route { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holder-connection-route span { color: var(--ice); }
.holder-connection-transfer b { color: var(--ink); white-space: nowrap; font-size: 12px; }
.holder-connection-transfer time { color: var(--ink-3); white-space: nowrap; }
.holder-connection-transfer a { color: var(--ice); text-align: right; font-size: 15px; }
.holder-connection-more { border-top: 1px solid var(--line); }
.holder-connection-more summary { cursor: pointer; padding: 9px 14px; color: var(--ink-2); font-size: 11px; }
.holder-connection-more .holder-connection-transfer { border-top: 1px solid var(--line); }
.holder-map-note { margin: 14px 0 0; }
.holder-map-source { margin-top: 6px; }
@media (max-width: 760px) {
  .holder-map { padding: 12px; }
  .holder-connection-transfer { grid-template-columns: minmax(0, 1fr) auto 16px; gap: 3px 8px; }
  .holder-connection-transfer time { grid-column: 1 / 3; grid-row: 2; }
  .holder-connection-transfer a { grid-column: 3; grid-row: 1 / 3; }
}

/* ---------- audit fixes ---------- */
/* tab rows: one line, scroll, soft fade at the edge instead of wrapping or cutting mid-word */
.toolbar .tabs, #cTabs, #ttabs { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 24px; }
.toolbar .tabs::-webkit-scrollbar, #cTabs::-webkit-scrollbar, #ttabs::-webkit-scrollbar { display: none; }
.toolbar .tab { flex: none; }
.toolbar { flex-wrap: nowrap; }
.toolbar > .btn, .toolbar > #tfilter { flex: none; }
/* the Sightings column needs ≥1600px so the market keeps every key column */
@media (max-width: 1599px) {
  .market-home { grid-template-columns: 320px minmax(0, 1fr); }
  .market-home .sightings { display: none; }
}
@media (min-width: 1600px) { .tab[data-tab="radar"] { display: none; } }
@media (max-width: 760px) { .wide-only { display: none; } }

/* ============================================================
   SOCIAL TOKEN PAGE · crowd strip, the Room, holders as people, co-signs, callouts on the chart
   ============================================================ */
.lbl.caller { background: var(--ink); color: var(--bg); }
.lbl.you { background: var(--volt); color: var(--mint-ink); }

.crowd { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; padding: 8px 12px; background: rgb(0 239 174 / .05); box-shadow: inset 0 0 0 1px rgb(0 239 174 / .16); font-size: 13px; color: var(--ink-2); width: fit-content; max-width: 100%; }
.crowd button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.crowd button:hover { color: var(--ink); }
.crowd b { color: var(--ink); font-weight: 700; font-stretch: var(--semi); font-variant-numeric: tabular-nums; }
.crowd b.up { color: var(--up); } .crowd b.down { color: var(--down); }
.crowd-sep { width: 4px; height: 4px; background: var(--ink-3); transform: rotate(45deg); opacity: .6; }
.crowd-faces { display: inline-flex; margin-right: 2px; }
.crowd-faces > * { margin-left: -6px; box-shadow: 0 0 0 2px var(--s1); }
.crowd-faces > *:first-child { margin-left: 0; }
.crowd-faces .avatar.ph { font-size: 10px; }
.crowd .crowd-cta { color: var(--mint); font-weight: 700; }

.room { display: flex; flex-direction: column; }
.rm-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.room > :first-child { border-top: 0; }
.rm-row .avatar { display: block; }
.rm-main { min-width: 0; line-height: 1.45; }
.rm-main a b { font-weight: 600; }
.rm-main a:hover b { color: var(--mint); }
.rm-ctx { margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.rm-age { font-size: 11.5px; white-space: nowrap; padding-top: 2px; font-variant-numeric: tabular-nums; }
.rm-buy { box-shadow: inset 2px 0 0 var(--up); } .rm-sell { box-shadow: inset 2px 0 0 var(--down); }
.rm-call { background: rgb(0 239 174 / .035); }
.rm-quote { display: block; margin-top: 4px; padding: 0; background: none; border: 0; color: var(--ink-2); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.rm-quote:hover { color: var(--ink); }
.rm-crowd { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 8px 16px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink-3); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.rm-crowd:hover { background: var(--s2); color: var(--ink-2); }
.rm-crowd b { color: var(--ink-2); }
.rm-dots { display: flex; justify-content: center; gap: 3px; }
.rm-dots i { width: 4px; height: 4px; background: var(--ink-3); transform: rotate(45deg); }

.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.hcard { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--s1); min-width: 0; }
.hcard:hover { background: var(--s2); }
.hcard.known { background: linear-gradient(180deg, rgb(0 239 174 / .05), transparent 60%), var(--s1); }
.hc-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hc-who { min-width: 0; }
.hc-who b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-who > div { font-size: 11px; margin-top: 2px; }
.hc-who .lbl { margin: 0 4px 2px 0; }
.hc-bag { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.hc-bag .pbar { flex: 1; width: auto; margin: 0; }
.hc-line { font-size: 11.5px; color: var(--ink-3); }

.people .prow .lbl { margin-left: 6px; }
.people .co-more { margin-top: 4px; }

.cosign { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0; color: var(--ink-3); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.cosign:hover { color: var(--ink); }
.cosign.on { color: var(--mint); }
.thesis-link { position: relative; cursor: pointer; }
.thesis-link:hover { background: var(--s2); }
.thesis-target { position: absolute; inset: 0; z-index: 1; }
.thesis-target:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.thesis-link button { position: relative; z-index: 2; }
.co-faces { display: inline-flex; }
.co-faces > * { margin-left: -5px; box-shadow: 0 0 0 1.5px var(--s1); }
.co-faces > *:first-child { margin-left: 0; }
.co-faces .avatar.ph { font-size: 8px; }
.co-signed { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }

.chart-tip { position: absolute; top: 8px; z-index: 4; max-width: 300px; padding: 8px 10px; background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; line-height: 1.45; pointer-events: none; display: flex; flex-direction: column; gap: 4px; }
.chart-tip[hidden] { display: none; }

@media (max-width: 760px) {
  .crowd { font-size: 12px; gap: 6px 8px; }
  .rm-row, .rm-crowd { padding-left: 14px; padding-right: 14px; gap: 10px; }
  .hgrid { grid-template-columns: 1fr 1fr; }
  .hcard { padding: 12px; gap: 8px; }
  .hc-bag { flex-wrap: wrap; gap: 4px 8px; }
  .hc-bag .pbar { flex-basis: 100%; }
}

/* The read: verdict, result distribution, and scan table. */
#safety { container-type: inline-size; }
#safety .panel-h { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
#safety .panel-h small { color: var(--ink-3); text-align: right; }
.read-overview { --read-accent: var(--mint); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 24px 23px; background: linear-gradient(112deg, rgb(0 239 174 / .09), transparent 58%); }
.read-overview.caution { --read-accent: var(--volt); background: linear-gradient(112deg, rgb(255 194 71 / .09), transparent 58%); }
.read-overview.danger { --read-accent: var(--flare); background: linear-gradient(112deg, rgb(255 79 115 / .09), transparent 58%); }
.read-verdict { min-width: 0; }
.read-eyebrow, .read-section-label { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.read-verdict h3 { margin: 5px 0 4px; color: var(--read-accent); font-size: clamp(20px, 5cqi, 29px); font-weight: 900; font-stretch: var(--wide); line-height: 1.05; text-transform: uppercase; letter-spacing: -.025em; }
.read-verdict p { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.read-risk { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 90px; min-width: 90px; height: 76px; border-left: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.read-risk strong { color: var(--read-accent); font-size: 35px; font-weight: 900; font-stretch: var(--wide); letter-spacing: -.06em; line-height: 1; }
.read-risk span { margin-top: 4px; color: var(--ink-3); font-size: 11px; font-weight: 500; white-space: nowrap; }
.read-breakdown { padding: 17px 24px 20px; border-top: 1px solid var(--line); }
.read-counts { display: flex; flex-wrap: wrap; gap: 10px 27px; }
.read-count { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.read-count strong { font-size: 19px; font-weight: 800; font-stretch: var(--semi); line-height: 1; }
.read-count span { color: var(--ink-2); font-size: 11px; font-weight: 600; }
.read-count.ok strong { color: var(--mint); } .read-count.warn strong { color: var(--volt); } .read-count.bad strong { color: var(--flare); }
.read-count.info strong, .read-count.na strong { color: var(--ink-2); }
.read-track { display: flex; height: 6px; gap: 3px; margin-top: 13px; background: var(--s3); }
.read-track span { display: block; min-width: 4px; }
.read-track .ok { background: var(--mint); } .read-track .warn { background: var(--volt); } .read-track .bad { background: var(--flare); } .read-track .info { background: var(--ink-2); } .read-track .na { background: var(--ink-3); }
.read-scan-note { margin-top: 8px; color: var(--ink-3); font-size: 10.5px; }
.read-flags { border-top: 1px solid var(--line); }
.read-section-label { padding: 15px 24px 9px; color: var(--volt); }
.read-concern + .read-concern { border-top: 1px solid var(--line); }
.read-concern h4 { margin: 0; padding: 10px 24px 4px; color: var(--ink); font-size: 13px; font-weight: 700; }
.read-table { width: 100%; }
.read-table-head, .read-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 1.5fr) 78px; align-items: center; gap: 14px; }
.read-table-head { padding: 10px 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11.5px; font-weight: 500; }
.read-row { padding: 12px 24px; border-top: 1px solid var(--line); }
.read-row:nth-child(even) { background: rgb(236 255 247 / .017); }
.read-signal { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font-weight: 650; font-size: 12.5px; }
.read-mark { width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--ink-3); }
.read-row.ok .read-mark { background: var(--mint); } .read-row.warn .read-mark { background: var(--volt); } .read-row.bad .read-mark { background: var(--flare); }
.read-finding { min-width: 0; color: var(--ink-2); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.read-status { justify-self: end; color: var(--ink-3); font-size: 12px; font-weight: 600; white-space: nowrap; }
.read-status.ok { color: var(--mint); } .read-status.warn { color: var(--volt); } .read-status.bad { color: var(--flare); }
.read-allchecks { border-top: 1px solid var(--line); }
.read-allchecks summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 24px; cursor: pointer; list-style: none; color: var(--ink); font-size: 12px; font-weight: 800; font-stretch: var(--semi); }
.read-allchecks summary::-webkit-details-marker { display: none; }
.read-allchecks summary:hover { background: var(--s2); }
.read-allchecks summary:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.read-summary-end { display: inline-flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 11px; font-weight: 500; font-stretch: 100%; white-space: nowrap; }
.read-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.read-allchecks[open] .read-chevron { transform: rotate(225deg); }
.read-allchecks .read-table { padding-bottom: 4px; }
@container (max-width: 520px) {
  #safety .panel-h { padding: 15px 16px 12px; }
  .read-overview { padding: 22px 17px; gap: 8px; }
  .read-risk { width: 74px; min-width: 74px; height: 65px; }
  .read-risk strong { font-size: 30px; }
  .read-breakdown { padding: 16px 17px 18px; }
  .read-counts { gap: 8px 17px; }
  .read-section-label { padding-left: 17px; }
  .read-concern h4 { padding-left: 17px; }
  .read-table-head { display: none; }
  .read-row { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 12px 17px; }
  .read-signal { grid-column: 1; grid-row: 1; }
  .read-finding { grid-column: 1 / -1; grid-row: 2; padding-left: 17px; }
  .read-status { grid-column: 2; grid-row: 1; }
  .read-allchecks summary { padding: 14px 17px; }
}
@media (prefers-reduced-motion: reduce) { .read-chevron { transition: none; } }

/* Token header: identity and price, then the read, market, activity, and links. */
.tp-overview { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px 28px; padding: 22px 24px 19px; }
.tp-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.tp-identity > img, .tp-identity > .ic { width: 62px; height: 62px; flex: none; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); border-radius: 0; }
.tp-title h1 { gap: 9px; }
.tp-title h1 > span { color: var(--ink-2); }
.tp-context { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 11px; margin-top: 10px; color: var(--ink-3); font-size: 12px; }
.tp-quote { display: flex; align-items: flex-start; gap: 22px; flex: none; }
.tp-price { margin: 0; text-align: right; }
.tp-eyebrow { display: block; margin-bottom: 4px; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.tp-price .p { font-size: clamp(25px, 2.4vw, 34px); line-height: 1.05; white-space: nowrap; }
.tp-change { text-align: right; }
.tp-change .chg { margin-top: 2px; }
.tp-acts { display: flex; gap: 2px; margin-left: auto; align-self: flex-start; }
.tp-acts .mini-action { width: 36px; height: 36px; display: grid; place-items: center; font-size: 17px; }
.tp-identity { flex: 1; }
.tp-price .p small { font-size: .5em; color: var(--ink-3); font-stretch: 100%; font-weight: 600; letter-spacing: 0; }
.tp-signal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); }
.tp-signal .verdict { margin: 0; }
.tp-signal .crowd { margin: 0; }
.tp-signal #crowd:empty { display: none; }
/* the verdict is the read's front door: slab + reason, tap for the full scan */
button.verdict { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 10px; max-width: 100%; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
button.verdict .read { min-width: 0; }
button.verdict .v-lvl { flex: none; white-space: nowrap; }
button.verdict .phr { font-size: 13px; white-space: normal; max-width: none; overflow: visible; }
button.verdict .v-go { color: var(--ink-3); font-size: 18px; line-height: 1; transition: transform .15s var(--ease), color .15s var(--ease); }
button.verdict:hover .v-go { color: var(--ink); transform: translateX(2px); }
.crowd.quiet { background: none; box-shadow: none; padding: 0; color: var(--ink-3); }
.tp-market { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tp-market .stat { min-width: 0; padding: 17px 24px 19px; }
.tp-market .stat .v { margin-top: 5px; font-size: 21px; font-variant-numeric: tabular-nums; }
.tp-market .stat .v small { font-size: 11px; }
.tp-more { border-top: 1px solid var(--line); }
.tp-more > summary { display: flex; align-items: center; gap: 10px; padding: 13px 24px; cursor: pointer; list-style: none; font-weight: 650; font-size: 13px; color: var(--ink-2); }
.tp-more > summary::-webkit-details-marker { display: none; }
.tp-more > summary:hover { background: var(--s2); color: var(--ink); }
.tp-more-hint { flex: 1; min-width: 0; color: var(--ink-3); font-weight: 400; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-more[open] .read-chevron { transform: rotate(225deg); }
.tp-kv { padding: 4px 24px 12px; }
.tp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 24px 14px; font-size: 12.5px; }
.tp-links a { color: var(--ink-2); } .tp-links a:hover { color: var(--mint); }
.tp-more .desc { margin: 0; padding: 0 24px 18px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.tp-activity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; padding: 4px 24px 12px; color: var(--ink-3); font-size: 12px; }
.tp-activity > div { display: inline-flex; align-items: baseline; gap: 6px; }
.tp-activity strong { color: var(--ink-2); font-size: 12px; font-weight: 700; font-stretch: var(--semi); font-variant-numeric: tabular-nums; }
.tp-activity strong .up { color: var(--mint); } .tp-activity strong .down { color: var(--flare); }
.tp-activity small { color: var(--ink-3); font-size: 11px; }
.tp-activity small.down { color: var(--flare); }
.tp-utility { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 11px 24px; border-top: 1px solid var(--line); }
.tp-utility .tp-meta { margin: 0; gap: 6px 14px; }
.tp-utility .share-btn { flex: none; background: transparent; color: var(--ink-2); }
.tp-utility .share-btn:hover { background: var(--s2); color: var(--ink); }
#tpHead .desc { padding: 2px 24px 17px; font-size: 12px; }
@media (max-width: 1100px) {
  .tp-overview { flex-wrap: wrap; }
  .tp-quote { width: 100%; justify-content: flex-start; }
  .tp-price, .tp-change { text-align: left; }
}
@media (max-width: 760px) {
  .tp-overview { padding: 16px; gap: 16px; }
  .tp-identity { gap: 11px; }
  .tp-identity > img, .tp-identity > .ic { width: 46px; height: 46px; }
  .tp-title h1 { font-size: 22px; }
  .tp-title h1 > span { font-size: 12px; }
  .tp-context { margin-top: 6px; font-size: 11px; }
  .tp-quote { align-items: end; justify-content: space-between; }
  .tp-price { width: auto; display: block; }
  .tp-price .p { font-size: 27px; }
  .tp-signal { padding: 12px 16px; gap: 10px; }
  .tp-market .stat { padding: 12px 16px; border: 0; }
  .tp-market .stat .v { font-size: 16px; margin-top: 3px; }
  .tp-more > summary { padding: 13px 16px; }
  .tp-kv, .tp-activity { padding-left: 16px; padding-right: 16px; }
  .tp-links, .tp-more .desc { padding-left: 16px; padding-right: 16px; }
  .tp-activity { gap: 7px 16px; }
  .tp-utility { padding: 11px 16px; flex-wrap: wrap; }
  .tp-utility .share-btn { width: auto; height: 34px; margin: 0; }
  #tpHead .desc { padding: 2px 16px 15px; }
}

/* ============================================================
   TRADERS · people, their record, where they're in
   ============================================================ */
.traders { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; max-width: 1280px; margin: 0 auto; }
.sm-panel { position: sticky; top: 114px; }
.tr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 20px 20px 12px; }
.tr-head h2 { margin: 0; font-size: 26px; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.tr-head small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; }
.tr-filters { display: flex; flex-wrap: nowrap; gap: 6px; padding: 0 20px 14px; overflow-x: auto; scrollbar-width: none; }
.tr-filters::-webkit-scrollbar { display: none; }
.tr-filters .chip { flex: none; height: 30px; padding: 0 11px; }
.tr-row { display: grid; grid-template-columns: 26px auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s var(--ease); }
.tr-row:hover { background: rgb(0 239 174 / .04); }
.tr-rank { color: var(--ink-3); font-weight: 700; font-stretch: var(--semi); font-variant-numeric: tabular-nums; text-align: right; font-size: 13px; }
.tr-row.podium { padding-top: 16px; padding-bottom: 16px; }
.tr-row.podium .tr-rank { color: var(--mint); font-size: 18px; font-weight: 900; font-stretch: var(--wide); }
.tr-row.podium .tr-name a { font-size: 15px; }
.tr-row.podium .tr-pnl b { font-size: 20px; }
.tr-who { min-width: 0; }
.tr-name { display: flex; align-items: center; gap: 2px; min-width: 0; white-space: nowrap; overflow: hidden; }
.tr-name a { color: var(--ink); font-weight: 650; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.tr-name a:hover { color: var(--mint); }
.tr-name .lbl { flex: none; }
.tr-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 14px; margin-top: 4px; color: var(--ink-3); font-size: 12px; }
.tr-sub a { color: var(--ink-2); font-weight: 700; font-stretch: var(--semi); }
.tr-sub a:hover { color: var(--mint); }
.tr-wr { display: inline-flex; align-items: center; gap: 6px; }
.tr-wr i { position: relative; width: 36px; height: 4px; background: var(--s3); }
.tr-wr i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--mint); }
.tr-pnl { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; }
.tr-pnl b { font-size: 16px; font-weight: 800; font-stretch: var(--semi); }
.tr-pnl span { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.tr-follow { height: 30px; min-width: 84px; padding: 0 12px; border: 0; background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.tr-follow:hover { background: var(--mint); color: var(--mint-ink); box-shadow: none; }
.tr-follow.on { background: transparent; color: var(--mint); box-shadow: inset 0 0 0 1px rgb(0 239 174 / .4); }
.tr-follow.on:hover { color: var(--flare); box-shadow: inset 0 0 0 1px rgb(255 79 115 / .5); background: transparent; }

.sm-panel .panel-h { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.sm-panel .panel-h small { color: var(--ink-3); font-size: 12px; }
.sm-list { display: flex; flex-direction: column; }
.sm-card { display: flex; flex-direction: column; gap: 9px; padding: 13px 16px; border-top: 1px solid var(--line); color: inherit; }
.sm-card:hover { background: rgb(0 239 174 / .04); }
.sm-top { display: flex; align-items: center; gap: 10px; }
.sm-top img, .sm-top .ic { width: 32px; height: 32px; flex: none; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.sm-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sm-id b { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-top .chg { flex: none; }
.sm-id span { color: var(--ink-3); font-size: 11.5px; }
.sm-who { display: flex; align-items: center; gap: 9px; color: var(--ink-3); font-size: 12px; }
.sm-who b { color: var(--ink); font-weight: 700; }

/* feed: suggestions instead of an empty page */
.suggest-head { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px 14px; }
.suggest-head b { font-size: 15px; font-weight: 700; }
.suggest-head span { color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.suggest-more { text-align: center; color: var(--mint); }

@media (max-width: 1100px) {
  .traders { grid-template-columns: minmax(0, 1fr); }
  .sm-panel { position: static; order: -1; }
  .sm-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; padding: 0 16px 16px; }
  .sm-list::-webkit-scrollbar { display: none; }
  .sm-card { flex: none; width: 240px; border: 0; background: var(--s2); }
}
@media (max-width: 760px) {
  .traders { gap: 10px; }
  .tr-head { padding: 16px 16px 10px; }
  .tr-head h2 { font-size: 22px; }
  .tr-filters { padding: 0 16px 12px; }
  .tr-row { grid-template-columns: 18px auto minmax(0, 1fr) auto auto; gap: 10px; padding: 12px 14px 12px 12px; }
  .tr-follow { min-width: 0; height: 32px; padding: 0 10px; font-size: 11.5px; }
  .tr-pnl b { font-size: 14px; }
  .tr-row.podium .tr-pnl b { font-size: 16px; }
  .tr-rank { font-size: 12px; }
  .tr-row.podium .tr-rank { font-size: 15px; }
  .tr-best, .tr-row [data-wallet-labels] { display: none; }
  .tr-sub { gap: 3px 10px; }
  .sm-panel .panel-h { padding-bottom: 12px; }
}

/* placeholder faces get a stable hue per wallet so a list of strangers is still scannable */
.avatar.ph[style*='--h'] { background: hsl(var(--h) 32% 20%); color: hsl(var(--h) 70% 76%); }

/* ============================================================
   WALLET · the person, their record, then their bags
   ============================================================ */
.wallet { max-width: 920px; margin: 0 auto; }
.w-hero .pbox { padding: 22px 24px 16px; align-items: center; }
.w-hero .pname { font-size: 24px; line-height: 1.05; }
.w-hero .pmain { flex: 1; min-width: 0; }
.w-hero .pname { display: block; overflow-wrap: anywhere; }
.w-record { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; padding: 16px 24px 18px; border-top: 1px solid var(--line); }
.w-pnl { display: flex; flex-direction: column; }
.w-pnl > b { font-size: 34px; font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.w-roi { margin-top: 4px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.w-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); font-size: 12.5px; }
.w-facts > div { display: inline-flex; align-items: center; gap: 6px; }
.w-facts b { color: var(--ink); font-weight: 700; font-stretch: var(--semi); font-variant-numeric: tabular-nums; }
.w-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 12px 24px 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.w-meta a { color: var(--ink-2); } .w-meta a:hover { color: var(--mint); }
.w-meta #walletLabelBar:empty { display: none; }
.w-meta #walletLabelBar .lbl:first-child { margin-left: 0; }
#walletLabelDetails { padding: 0 24px 16px; }
.pos-list { display: flex; flex-direction: column; }
.pos-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s var(--ease); }
.pos-row:hover { background: rgb(0 239 174 / .04); }
.pos-row > img, .pos-row > .ic { width: 36px; height: 36px; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); border-radius: 0; }
.pos-id { min-width: 0; }
.pos-id b { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; font-size: 13.5px; }
.pos-id > span { display: block; margin-top: 3px; color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-num { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; }
.pos-num b { font-size: 15px; font-weight: 800; font-stretch: var(--semi); }
.pos-num span { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.pos-read { grid-column: 2 / -1; margin-top: -4px; }
.pos-row:has(.pos-read) { grid-template-columns: 36px minmax(0, 1fr) auto; }
#pointsBox .points-box { margin-top: 0; }
@media (max-width: 760px) {
  .w-hero .pbox { padding: 16px; gap: 12px; }
  .w-hero .pbox { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; }
  .w-hero .pact { grid-column: 2; justify-self: start; }
  .w-hero .pname { font-size: 20px; }
  .w-hero .pname { font-size: 18px; font-weight: 750; font-stretch: 100%; text-transform: none; letter-spacing: -0.01em; line-height: 1.2; }
  .w-record, .w-meta { padding-left: 16px; padding-right: 16px; }
  .w-pnl > b { font-size: 28px; }
  #walletLabelDetails { padding: 0 16px 14px; }
  .pos-row { grid-template-columns: 34px minmax(0, 1fr) auto 28px; gap: 10px; padding: 12px 14px; }
  .pos-row .mini-action { padding: 3px 0; }
  .pos-id > span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
}
/* following dock suggestions: trader rows squeezed for the sidebar */
.dock-suggest { padding: 4px 14px 8px; color: var(--ink-3); font-size: 12px; }
.dock-list .tr-row { grid-template-columns: 14px auto minmax(0, 1fr) auto auto; gap: 8px; padding: 9px 14px; }
.dock-list .tr-pnl b { font-size: 13px; } .dock-list .tr-pnl span, .dock-list .tr-wr i { display: none; }
.dock-list .tr-row .avatar { width: 28px !important; height: 28px !important; }
.dock-list .tr-name a { font-size: 13px; }
.dock-list .tr-follow { min-width: 0; height: 28px; padding: 0 10px; font-size: 11.5px; }
.dock-list .tr-row [data-wallet-labels] { display: none; }
.dock-list .tr-sub { margin-top: 2px; font-size: 11.5px; }
/* no callouts anywhere: shrink that block and hand the column to the following dock */
.callouts-sidebar:has(#calloutFeed > .empty) #calloutFeed { flex: none; }
.callouts-sidebar:has(#calloutFeed > .empty) #calloutFeed .empty { padding: 18px 16px; font-size: 12px; }
.callouts-sidebar:has(#calloutFeed > .empty) .following-dock { flex: 1; max-height: none; }

/* ============================================================
   POINTS · sight ranks. The one place the calm UI gets to party.
   ============================================================ */
#pointsBox { overflow: visible; }
.pts { --rc: var(--mint); position: relative; isolation: isolate; overflow: hidden; }
.pts::before { content: ''; position: absolute; inset: -40% -10% auto; height: 360px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 26%, transparent), transparent 75%); opacity: .55; filter: blur(8px); }
.pts-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 28px 28px 22px; }
.pts-emblem { position: relative; display: grid; place-items: center; width: 112px; height: 112px; }
.pts-emblem::before { content: ''; position: absolute; inset: 6px; background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 35%, transparent), transparent); animation: ptsGlow 3.2s ease-in-out infinite; }
.pts-emblem .emblem { position: relative; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--rc) 55%, transparent)); animation: ptsFloat 5s ease-in-out infinite; }
.emblem .em-star { transform-origin: center; animation: sightSpin 6s cubic-bezier(.25,1,.5,1) infinite; }
.emblem .em-rays { transform-origin: center; transform-box: view-box; animation: ptsTwinkle 2.6s ease-in-out infinite; }
@keyframes ptsTwinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes ptsGlow { 0%, 100% { opacity: .6; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes ptsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ptsSpin { to { transform: rotate(360deg); } }
.pts-eyebrow { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.pts-rank h3 { margin: 4px 0 6px; font-size: clamp(30px, 5vw, 44px); line-height: .95; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--ink) 10%, var(--rc) 55%, var(--ink) 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ptsSheen 6s ease-in-out infinite; }
@keyframes ptsSheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.pts-rank p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.45; max-width: 36ch; }
.pts-total { text-align: right; }
.pts-total b { display: block; font-size: 40px; font-weight: 900; font-stretch: var(--wide); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.pts-total span { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12px; }
.pts-total em { font-style: normal; color: var(--rc); font-weight: 800; }

.pts-ladder { padding: 6px 28px 20px; }
.pts-track { position: relative; height: 8px; margin: 0 15px; background: var(--s3); }
.pts-track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, #9fb3aa, var(--mint) 38%, #5cd6ff 70%, #c7a6ff);
  background-size: calc(100% / max(var(--p), .001)) 100%; box-shadow: 0 0 16px color-mix(in srgb, var(--rc) 60%, transparent); transform-origin: left; animation: ptsFill 1.1s cubic-bezier(.25,1,.5,1) both; }
@keyframes ptsFill { from { transform: scaleX(0); } }
.pts-you { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--ink); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--bg), 0 0 18px var(--rc); animation: ptsPing 2.4s ease-out infinite; }
@keyframes ptsPing { 0% { box-shadow: 0 0 0 3px var(--bg), 0 0 0 3px color-mix(in srgb, var(--rc) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 3px var(--bg), 0 0 0 14px transparent; } }
/* nodes sit exactly at their rank's point on the track (0, 1/3, 2/3, 1), emblem centred on it */
.pts-ladder { --em: 30px; }
.pts-track { margin: 0 calc(var(--em) / 2); }
.pts-nodes { position: relative; height: 72px; margin-top: 14px; }
.pts-node { position: absolute; top: 0; left: calc(var(--em) / 2 + (100% - var(--em)) * var(--k) / 3); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--ink-3); white-space: nowrap; }
.pts-node:first-child { left: 0; transform: none; align-items: flex-start; text-align: left; }
.pts-node:last-child { left: auto; right: 0; transform: none; align-items: flex-end; text-align: right; }
.pts-node .emblem { opacity: .35; filter: grayscale(1); transition: opacity .2s; }
.pts-node b { font-size: 11.5px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .02em; }
.pts-node small { font-size: 11px; font-variant-numeric: tabular-nums; }
.pts-node.done .emblem { opacity: .8; filter: none; } .pts-node.done b { color: var(--ink-2); }
.pts-node.now .emblem { opacity: 1; filter: drop-shadow(0 0 8px var(--nc)); } .pts-node.now b { color: var(--nc); }

.pts-next { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin: 0 28px; padding: 16px 18px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--line-2);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.pts-next > div { display: flex; flex-direction: column; gap: 3px; }
.pts-next span { font-size: 14.5px; color: var(--ink-2); } .pts-next span b { color: var(--ink); font-stretch: var(--semi); }
.pts-next small { color: var(--ink-3); font-size: 12px; }
.pts-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 28px 0; }
.pts-stats > div { display: flex; flex-direction: column; gap: 3px; padding: 4px 0; }
.pts-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.pts-stats b { font-size: 18px; font-weight: 800; font-stretch: var(--semi); font-variant-numeric: tabular-nums; }
.pts-stats span { color: var(--ink-3); font-size: 12px; }
.pts-how { margin-top: 18px; border-top: 1px solid var(--line); }
.pts-how summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; cursor: pointer; list-style: none; color: var(--ink-2); font-size: 12.5px; font-weight: 650; }
.pts-how summary::-webkit-details-marker { display: none; }
.pts-how summary:hover { color: var(--ink); background: var(--s2); }
.pts-how[open] .read-chevron { transform: rotate(225deg); }
.pts-how p { margin: 0; padding: 0 28px 14px; color: var(--ink-3); font-size: 12px; line-height: 1.55; }
.pts-how .points-claim { padding: 0 28px 18px; margin: 0; }

/* header chip */
#ptsChip:empty { display: none; }
.pts-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px 0 8px; border: 0; background: color-mix(in srgb, var(--rc) 10%, var(--s1)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 40%, transparent); color: var(--ink); cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); font: inherit; }
.pts-chip b { font-weight: 800; font-stretch: var(--semi); font-variant-numeric: tabular-nums; font-size: 13px; }
.pts-chip span { color: var(--ink-3); font-size: 12px; }
.pts-chip:hover { background: color-mix(in srgb, var(--rc) 18%, var(--s1)); }
.pts-chip.bump { animation: ptsBump .7s cubic-bezier(.25,1,.5,1); }
@keyframes ptsBump { 30% { transform: scale(1.12); box-shadow: inset 0 0 0 1px var(--rc), 0 0 22px var(--rc); } }

/* rank tag on a wallet */
.rank-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 9px 3px 5px; border: 0; background: color-mix(in srgb, var(--rc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 35%, transparent);
  color: var(--rc); font: inherit; font-size: 11.5px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.rank-tag span { color: var(--ink-3); font-stretch: 100%; text-transform: none; letter-spacing: 0; font-weight: 600; }

/* after a fill: the reward */
.pts-earned { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--rc) 22%, var(--s2)), var(--s2) 70%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 45%, transparent);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); animation: ptsPop .6s cubic-bezier(.25,1,.5,1) both; }
.pts-earned::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .18) 50%, transparent 70%); transform: translateX(-100%); animation: ptsShine 1.4s .3s ease-out both; }
.pts-earned b { display: block; font-size: 17px; font-weight: 900; font-stretch: var(--wide); color: var(--rc); letter-spacing: -0.01em; }
.pts-earned span { color: var(--ink-2); font-size: 12px; }
.pts-earned.levelup b { font-size: 19px; }
.pts-earned .emblem { flex: none; animation: ptsSpinIn .8s cubic-bezier(.25,1,.5,1) both; }
@keyframes ptsPop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes ptsShine { to { transform: translateX(100%); } }
@keyframes ptsSpinIn { from { transform: rotate(-180deg) scale(0); } }

@media (max-width: 760px) {
  .pts-hero { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 22px 16px 16px; }
  .pts-emblem { width: 84px; height: 84px; } .pts-emblem .emblem { width: 76px; height: 76px; }
  .pts-total { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .pts-total b { font-size: 34px; } .pts-total span { margin: 0; }
  .pts-ladder { padding: 4px 16px 18px; }
  .pts-ladder { --em: 24px; }
  .pts-nodes { height: 62px; }
  .pts-node .emblem { width: 24px; height: 24px; }
  .pts-node b { font-size: 10px; letter-spacing: 0; }
  .pts-node small { font-size: 10px; }
  .pts-next { margin: 0 16px; padding: 14px; }
  .pts-next .btn { width: 100%; }
  .pts-stats { margin: 16px 16px 0; }
  .pts-stats > div + div { padding-left: 12px; }
  .pts-stats b { font-size: 16px; }
  .pts-how summary, .pts-how p, .pts-how .points-claim { padding-left: 16px; padding-right: 16px; }
  .pts-chip { height: 32px; padding: 0 9px 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pts-emblem::before, .pts-emblem .emblem, .emblem .em-star, .emblem .em-rays, .pts-rank h3, .pts-track i, .pts-you, .pts-chip.bump, .pts-earned, .pts-earned::after, .pts-earned .emblem { animation: none !important; }
}

.earn b { font-family: var(--sans) !important; font-stretch: var(--semi); font-weight: 800; }
#pointsBox .earn { margin-top: 0; }
/* tidy: filter inputs never push past a phone screen; long symbols in sighting rows truncate before the badge and cap do */
.filters { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.filters label { min-width: 0; }
.filters input, .filters select { width: 100%; min-width: 0; }
@media (max-width: 760px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nl-top { min-width: 0; }
.nl-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-top .nl-new, .nl-top .mc { flex: none; }

/* trade panel: side is the big choice, order type a small one, the quote one answer */
.order-tabs { display: inline-flex; gap: 14px; }
.order-tabs button { padding: 4px 0; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; box-shadow: inset 0 -2px 0 transparent; }
.order-tabs button.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--mint); }
.order-tabs button:hover { color: var(--ink); }
.order-tabs .pro-badge { margin-left: 4px; font-size: 9.5px; }
.tq-hero { gap: 8px; }
.tq-get { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tq-get b { font-size: 19px; font-weight: 800; font-stretch: var(--semi); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tq-usd { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tq-fine { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; color: var(--ink-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.tq-fine .crowd-sep { width: 3px; height: 3px; }
/* in-page jumps land below the sticky header */
#safety, #tpCallouts, #tpTabs, #pointsBox { scroll-margin-top: 70px; }

/* Mobile trading: a clear place to go, room for the market, and people with identity. */
.mobile-location, .browse-btn, .mobile-browse, .market-more, .mobile-only { display: none; }
.filter-sheet-head, .filter-backdrop { display: none; }
.filter-backdrop[hidden] { display: none !important; }
.market-home .tab[data-tab="radar"] { display: none; }
body[data-route="radar"] #main > .toolbar { display: none; }
.mobile-browse[hidden] { display: none !important; }
.brand-face { display: block; flex: none; overflow: hidden; background: #000 url('brand-avatars/default.png') center / cover no-repeat; }
.quick-buy { width: auto !important; min-width: 38px; padding: 0 7px; font-size: 11px !important; font-weight: 800; font-stretch: var(--semi); text-transform: uppercase; }
.thesis-top { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center !important; gap: 10px !important; }
.thesis-byline { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.thesis-byline .author-link { width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; color: var(--ink); }
.thesis-byline small { color: var(--ink-3); font-size: 11px; }
.thesis-link .author-link { position: relative; z-index: 2; }
.thesis-link .author-link:hover { color: var(--mint); }
.thesis p { font-size: 15px; line-height: 1.48; max-width: 58ch; }
.thesis-foot { align-items: center !important; color: var(--ink-3); }
.thesis-outcome { display: inline-flex; align-items: baseline; gap: 5px; }
.thesis-outcome b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.thesis-outcome small { font-size: 11px; }
.thesis-entry, .thesis-trades { font-size: 11px; }
.people-head { padding: 24px 20px 10px; }
.people-kicker { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.people-head h1 { margin: 3px 0; font-size: 34px; line-height: 1; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; }
.people-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; }
.feed-suggest { border-bottom: 1px solid var(--line); }
.feed-suggest .suggest-head { padding-bottom: 9px; }
.feed-suggest .suggest-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 16px 14px; }
.feed-suggest .tr-row { min-width: 0; display: flex; flex-wrap: wrap; gap: 5px 8px; align-content: flex-start; padding: 10px; background: var(--s2); border: 0; }
.feed-suggest .tr-row .tr-rank, .feed-suggest .tr-row .tr-sub, .feed-suggest .tr-row .tr-pnl { display: none; }
.feed-suggest .tr-row .tr-who { flex: 1; min-width: 0; }
.feed-suggest .tr-row .tr-name a { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.feed-suggest .tr-row .tr-follow { width: 100%; }
.now-intro { margin: 0; padding: 4px 18px 16px; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.now-list { display: grid; gap: 1px; background: var(--line); }
.now-event { display: flex; flex-direction: column; gap: 9px; padding: 18px; background: var(--s1); }
.now-event.lead { padding: 23px 18px; background: radial-gradient(300px 160px at 100% 0%, rgb(0 239 174 / .13), transparent), var(--s1); }
.now-kind { display: flex; align-items: center; gap: 7px; color: var(--mint); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.now-kind span { margin-left: auto; color: var(--ink-3); font-weight: 500; letter-spacing: 0; text-transform: none; }
.now-event strong { font-size: 18px; line-height: 1.18; font-weight: 800; font-stretch: var(--semi); }
.now-event.lead strong { font-size: 24px; }
.now-detail { color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.now-end { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-3); font-size: 11px; }
.now-end span, .now-all span { color: var(--mint); }
.now-all { display: flex; justify-content: space-between; padding: 17px 18px; background: var(--s1); color: var(--ink); font-weight: 700; }
.now-empty { padding: 26px 18px; background: var(--s1); color: var(--ink-2); }
.now-empty a { color: var(--mint); }

@media (max-width: 760px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  body[data-route="token"] { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .tape-strip, .tabbar { display: none !important; }
  .top { margin-top: 0; top: 0; height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; gap: 9px; }
  .logo { gap: 0; }
  .logo-t { display: none; }
  .logo-mark { width: 30px; height: 30px; }
  .mobile-location { display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 800; font-stretch: var(--semi); }
  .iconbtn.searchbtn { width: 36px; height: 36px; margin-left: 0; }
  .browse-btn { display: block; height: 36px; padding: 0 9px; border: 1px solid var(--line-2); background: none; color: var(--ink); font-size: 12px; font-weight: 700; }
  .browse-btn[aria-expanded="true"] { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }
  #ptsChip { display: none; }
  #wallet { margin-left: 0; }
  #wallet .btn { height: 36px; padding: 0 8px; font-size: 11px; }
  body.searching .mobile-location, body.searching .browse-btn { visibility: hidden; }
  .mobile-browse { display: block; position: fixed; z-index: 19; top: calc(56px + env(safe-area-inset-top)); left: 0; right: 0; bottom: 0; overflow-y: auto; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); background: rgb(5 8 7 / .98); backdrop-filter: blur(16px); }
  .browse-heading { margin: 0 4px 12px; color: var(--ink-3); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
  .mobile-browse a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 17px 4px; border-bottom: 1px solid var(--line); }
  .mobile-browse a span { font-size: 27px; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; line-height: 1; }
  .mobile-browse a small { color: var(--ink-3); font-size: 11px; text-align: right; }
  .mobile-browse a.on span { color: var(--mint); }
  body.browse-open { overflow: hidden; }
  .market-home #main .toolbar { padding: 8px 12px; gap: 5px; }
  .market-home #main .tabs { flex: 1; min-width: 0; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .market-home #main .tab { height: 36px; padding: 0 7px; font-size: 12px; }
  .market-home #main .tab:not([data-tab="watchlist"]):not([data-tab="trending"]):not([data-tab="new"]) { display: none; }
  .market-home #main .toolbar .spacer { display: none; }
  .market-more { display: block; width: 61px; height: 36px; padding: 0 3px; background: var(--s1); color: var(--ink-2); border: 1px solid var(--line-2); font-size: 11px; }
  .market-home #main #fbtn { height: 36px; padding: 0 8px; font-size: 11px; }
  .market-home #lpbar { display: none !important; }
  .mobile-only { display: flex; }
  .filter-backdrop { display: block; position: fixed; z-index: 44; inset: 0; background: rgb(0 0 0 / .66); }
  #filters:not([hidden]) { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; max-height: 82dvh; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); background: var(--s1); box-shadow: 0 -20px 60px rgb(0 0 0 / .5); }
  .filter-sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; padding: 16px; background: var(--s1); border-bottom: 1px solid var(--line); }
  .filter-sheet-head strong { font-size: 20px; font-weight: 850; font-stretch: var(--semi); }
  .filter-sheet-head button { min-height: 40px; border: 0; background: none; color: var(--mint); font-weight: 700; }
  .filters { padding: 16px; gap: 18px 12px; }
  .filters input:not([type="checkbox"]), .filters select { height: 42px; }
  .filters .chk { flex-direction: row; align-items: center; gap: 8px; padding-top: 0; font-size: 12px; }
  .filters .chk input { width: 18px; min-width: 18px; height: 18px; margin: 0; }
  body.filter-open { overflow: hidden; }
  body[data-route="radar"] #main > .toolbar { display: none; }
  body[data-route="radar"] .now-intro { padding-top: 0; }
  .mrow { min-height: 78px; padding: 10px 14px; gap: 10px; }
  .mrow .mr-top { gap: 6px; }
  .mrow .mr-top b { font-size: 14px; }
  .mrow .mr-num { gap: 3px; }
  .mrow .mr-num b { font-size: 14px; }
  .mrow .mr-acts { margin: 0; }
  .mrow .mr-acts .mini-action { width: 30px; height: 24px; }
  .people-head { padding: 20px 16px 8px; }
  .people-head h1 { font-size: 30px; }
  .feed-suggest .suggest-list { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 16px 12px; }
  .feed-suggest .tr-row { flex: 0 0 150px; }
  .feed-suggest .suggest-more { padding: 8px 16px 12px; text-align: left; }
  .thlist .thesis { padding: 18px 16px; gap: 12px; }
  .thlist .thesis p { display: block; font-size: 15px; line-height: 1.5; }
  .thesis-entry, .thesis-trades { display: none; }
  .tp-overview { padding: 12px 16px 10px; gap: 8px; }
  .tp-identity > img, .tp-identity > .ic { width: 40px; height: 40px; }
  .tp-title h1 { font-size: 20px; }
  .tp-quote { align-items: end; }
  .tp-price .p { font-size: 27px; }
  .tp-signal { padding: 9px 16px; gap: 6px; }
  .tp-signal .crowd { font-size: 11px; }
  .tp-market .stat { padding: 9px 12px; }
  .tp-market .stat .v { font-size: 15px; }
  .tp-more > summary { padding: 9px 16px; }
}
@media (max-width: 355px) {
  .mobile-location { font-size: 14px; }
  .top { gap: 6px; }
  #wallet .btn { padding: 0 6px; font-size: 10px; }
  .market-home #main .tab { padding: 0 5px; font-size: 11px; }
}
/* wallet label chips: quiet sentence case; colour carries the kind */
.lbl { font: 650 10.5px var(--sans); letter-spacing: 0; padding: 1px 6px; font-stretch: 100%; }
.mobile-location, .browse-btn, .mobile-browse { display: none; }
@media (max-width: 760px) {
  .top { gap: 8px; }
  .logo { flex: none; }
  .logo-t { display: none; }
  .mobile-location { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 13px; font-weight: 650; }
  .browse-btn { display: block; flex: none; height: 34px; padding: 0 9px; border: 1px solid var(--line-2); background: var(--s2); color: var(--ink); font-size: 12px; font-weight: 650; }
  .browse-btn[aria-expanded="true"] { border-color: var(--mint); }
  #wallet { flex: none; }
  #wallet .btn { max-width: 112px; white-space: nowrap; }
  .mobile-browse:not([hidden]) { display: block; position: fixed; top: calc(54px + env(safe-area-inset-top)); bottom: auto; left: 0; right: 0; z-index: 30; max-height: calc(100dvh - 54px); overflow-y: auto; padding: 8px 12px 12px; background: var(--s1); border-bottom: 1px solid var(--line-2); box-shadow: 0 20px 35px rgb(0 0 0 / .5); }
  .browse-heading { padding: 7px 9px; color: var(--ink-3); font-size: 11px; }
  .mobile-browse a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 9px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
  .mobile-browse a span { font-size: 16px; font-weight: 750; font-stretch: 100%; text-transform: none; line-height: 1.25; }
  .mobile-browse a small { color: var(--ink-2); font-size: 11px; font-weight: 400; }
  .mobile-browse a.on { color: var(--mint); }
  body.searching .mobile-location, body.searching .browse-btn { visibility: hidden; }
}

/* Activity and people: keep the event readable without repeating a stack of labels. */
.tp { max-width: 1500px; margin-inline: auto; grid-template-columns: minmax(0, 1fr) 360px; }
.rm-row { grid-template-columns: 32px minmax(150px, 215px) minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 10px 16px; font-size: 14px; }
.rm-row:hover { background: var(--s2); }
.rm-buy, .rm-sell { box-shadow: none; }
.rm-call { background: rgb(0 239 174 / .035); }
.rm-person { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; line-height: 1.25; }
.rm-person > a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.rm-person > a b { font-weight: 700; }
.rm-person > a:hover { color: var(--mint); }
.rm-tags, .prow-tags { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.rm-tags .lbl, .prow-tags .lbl { margin: 0; }
.rm-extra { font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.rm-main { color: var(--ink-2); font-size: 14px; }
.rm-main b { color: var(--ink); font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.rm-near { margin-left: 8px; color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rm-ctx { color: var(--ink-2); font-size: 12.5px; }
.rm-age { color: var(--ink-2); font-size: 12.5px; }
.rm-crowd { grid-template-columns: 32px minmax(0, 1fr) auto; min-height: 40px; padding: 7px 16px; color: var(--ink-2); font-size: 12.5px; }
.rm-crowd b { color: var(--ink-2); font-weight: 650; }
.rm-crowd-flow { display: inline-flex; flex-wrap: wrap; gap: 3px 12px; margin-left: 12px; }
.rm-net { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rm-dots i { width: 3px; height: 3px; }
.prow { align-items: flex-start; padding: 11px 16px; }
.prow .pwho { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.prow .pwho b { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .pwho > div { flex-basis: 100%; color: var(--ink-2); font-size: 12px; line-height: 1.35; white-space: normal; }
.people .prow .lbl { margin-left: 0; }
.fee-details > summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 16px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; }
.fee-details > summary::-webkit-details-marker { display: none; }
.fee-details > summary:hover { background: var(--s2); }
.fee-summary { margin-left: auto; color: var(--ink-2); font-size: 12px; font-weight: 500; text-align: right; }
.fee-details[open] > summary { border-bottom: 1px solid var(--line); }
.fee-details[open] .read-chevron { transform: rotate(225deg); }
.fee-kv { font-size: 13px; }
.fee-note { color: var(--ink-2); font-size: 12px; }
#tpTabs .toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
#tpTabs .toolbar .spacer { display: none; }
#tpTabs #ttabs { width: 100%; min-width: 0; padding: 8px 12px 6px; overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
#tpTabs #tfilter { width: 100%; min-width: 0; padding: 7px 12px 9px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
#tpTabs #tfilter .chips { flex-wrap: nowrap; width: max-content; }
@media (max-width: 1100px) {
  .tp { grid-template-columns: minmax(0, 1fr); }
  .rm-row { grid-template-columns: 32px minmax(130px, 190px) minmax(0, 1fr) auto; }
}
@media (max-width: 760px) {
  .tp { display: flex; }
  .rm-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; padding: 10px 14px; }
  .rm-face { grid-row: 1 / 3; }
  .rm-person { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 7px; }
  .rm-tags { overflow: hidden; }
  .rm-main { grid-column: 2 / 4; grid-row: 2; }
  .rm-age { grid-column: 3; grid-row: 1; }
  .rm-crowd { padding: 8px 14px; gap: 8px; }
  .rm-crowd-flow { display: flex; margin: 2px 0 0; gap: 3px 9px; }
  .rm-near { margin-left: 4px; }
  .fee-summary { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* People feed: trades read as activity from people, not another price table. */
.people-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 16px 10px; }
.people-section-head span { font-size: 18px; font-weight: 800; font-stretch: var(--semi); }
.people-section-head small { color: var(--ink-3); font-size: 11px; text-align: right; }
.move-list { display: grid; gap: 1px; background: var(--line); }
.public-move { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 13px 16px; padding: 17px 16px; background: var(--s1); }
.move-person { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.move-person > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.move-person a { color: var(--ink); font-size: 13px; font-weight: 750; }
.move-person a:hover, .move-token:hover strong { color: var(--mint); }
.move-person small { color: var(--ink-3); font-size: 11px; }
.move-token { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.move-token strong { font-size: 18px; font-weight: 800; font-stretch: var(--semi); }
.move-token > span { color: var(--ink-2); font-size: 12px; }
.move-read { align-self: end; font-size: 11px; text-align: right; }
@media (max-width: 760px) {
  .people-section-head { flex-direction: column; gap: 3px; padding: 18px 16px 10px; }
  .people-section-head small { text-align: left; }
  .public-move { display: flex; flex-direction: column; gap: 9px; padding: 16px; }
  .move-read { align-self: flex-start; text-align: left; }
  .toolbar:has(#cTabs) { flex-wrap: wrap; gap: 2px; }
  #cTabs { flex: 0 0 100%; justify-content: space-between; overflow: visible; }
  #cTabs .tab { padding: 0 8px; }
  #cRef { height: 28px; margin-left: auto; }
}

/* Mobile wayfinding: four persistent destinations, with secondary pages in the top menu. */
.menu-backdrop { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  body[data-route="token"] { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  .tabbar, body[data-route="token"] .tabbar {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(62px + env(safe-area-inset-bottom));
    padding: 0 8px env(safe-area-inset-bottom);
    z-index: 45;
    background: rgb(8 13 10 / .97);
    border-top: 1px solid var(--line-2);
    backdrop-filter: blur(16px);
  }
  .tabbar a { position: relative; justify-content: center; gap: 0; min-width: 0; padding: 3px 0 4px; color: var(--ink-3); font-size: 11px; font-weight: 750; font-stretch: var(--semi); }
  .tabbar a::before { content: ''; position: absolute; top: -1px; width: 28px; height: 2px; background: transparent; }
  .tabbar a.on { color: var(--mint); }
  .tabbar a.on::before { background: var(--mint); }
  .tabbar img { display: block; width: 36px; height: 36px; object-fit: contain; opacity: .82; }
  .tabbar a.on img { opacity: 1; filter: none; }
  body[data-route="token"] .actionbar { bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 44; padding: 8px 12px; }
  .browse-btn { display: grid; place-items: center; width: 36px; min-width: 36px; height: 36px; padding: 0; border-radius: 0; }
  .browse-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .browse-btn[aria-expanded="true"] { background: var(--mint); color: var(--mint-ink); }
  .menu-backdrop:not([hidden]) { display: block; position: fixed; z-index: 25; inset: calc(56px + env(safe-area-inset-top)) 0 0; background: rgb(0 0 0 / .48); }
  .mobile-browse:not([hidden]) { top: calc(56px + env(safe-area-inset-top)); z-index: 30; max-height: calc(100dvh - 118px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 10px 14px 18px; background: var(--s1); }
  .mobile-browse a { min-height: 55px; padding: 10px 8px; border-top: 1px solid var(--line); }
}

/* Surface hierarchy: use tone and spacing to separate content, not permanent strokes. */
.top { background: #0d1410; border: 0; }
.tape-strip { background: #090e0b; border: 0; }
.tape-item { border: 0; }
.foot { border: 0; background: #0d1410; }
.panel, .modal, .wpop, .ov-menu, .chart-tip { background: var(--s1); border: 0; box-shadow: none; }
.modal, .wpop, .ov-menu { box-shadow: 0 20px 44px rgb(0 0 0 / .55); }
.panel-h, .sight-head, .callouts-head, #safety .panel-h { background: var(--s2); border: 0; }

/* Controls sit on a raised tone. Focus remains explicit for keyboard use. */
.search input, .btn:not(.primary):not(.buybtn):not(.sellbtn), .chip, .seg, .callout-switch,
.copy, .browse-btn, .market-more, .tr-follow, .tr-follow.on,
.share-style-btn, .follow-chip, .points-tiers span, .pts-chip, .rank-tag {
  border: 0; box-shadow: none; background: var(--s2);
}
.chip.on, .seg button.on, .callout-switch button.on { background: var(--s3); color: var(--ink); }
.seg.full button.on.buy { background: var(--mint); color: var(--mint-ink); }
.seg.full button.on.sell { background: var(--flare); color: var(--flare-ink); }
.btn:not(.primary):not(.buybtn):not(.sellbtn):hover, .chip:hover, .tr-follow:hover { background: var(--s3); }
.tr-follow.on { color: var(--mint); background: var(--s3); }
.tr-follow.on:hover { color: var(--flare); background: var(--s3); }
.search input, .filters input, .filters select, .follow-form input,
.pro-code input, .points-claim input, .ov-add input,
.composer textarea, .modal input, .modal textarea, .tinput, .tq {
  border: 0; box-shadow: none; background: var(--s2);
}
.search input:focus, .tinput:focus-within { box-shadow: inset 0 0 0 2px var(--mint); }
:is(input, select, textarea, button, a, summary):focus-visible {
  outline: 2px solid var(--mint); outline-offset: 2px;
}

/* Lists are individual surfaces; section heads and expanded rows use a second tone. */
.filters, th, .chart-bar, .tp-more > summary, #tpTabs .toolbar,
.filter-sheet-head, .orders-title, .read-table-head, .read-section-label,
.pgroup, .following-dock, .dock-head, .feed-suggest {
  border: 0; background: var(--s2);
}
td, .nl-row, .feed-row, .mrow, .rm-row, .rm-crowd,
.tr-row, .sm-card, .prow, .pos-row, .st-row,
.module-row, .follow-row, .thesis, .order-row,
.holder-connection-transfer, .read-row, .public-move {
  border: 0;
}
tbody tr:nth-child(even), .nl-row:nth-child(even), .feed-row:nth-child(even),
.mrow:nth-child(even), .tr-row:nth-child(even), .sm-card:nth-child(even),
.prow:nth-child(even), .pos-row:nth-child(even), .read-row:nth-child(even),
.public-move:nth-child(even) { background: #141d17; }
tbody tr:hover, .nl-row:hover, .feed-row:hover, .tr-row:hover,
.sm-card:hover, .pos-row:hover, .st-row:hover { background: var(--s3); }
tbody tr.sel { background: var(--up-dim); box-shadow: none; }
.rm-row { background: var(--s1); }
.rm-row:nth-of-type(even) { background: #141d17; }
.rm-crowd { background: var(--s2); }
.rm-crowd:hover { background: var(--s3); }
.rm-buy { box-shadow: inset 3px 0 var(--up); }
.rm-sell { box-shadow: inset 3px 0 var(--down); }
.read-row:nth-child(even) { background: #141d17; }

/* Distinct blocks replace borders within token, wallet, safety, and reward views. */
.stats, .tp-market, .tp-signal, .tp-more, .tp-utility,
.w-record, .w-meta, .co-gate, .co-more, .read-breakdown,
.read-flags, .read-allchecks, .read-table-head, .read-risk,
.fee-details[open] > summary, .read-allchecks summary,
.holder-connection-transfers, .holder-connection-more,
.callout-follow, .feed-pages, .pts-how, .st-axis { border: 0; }
.tp-signal, .tp-utility, .w-record, .read-breakdown, .read-allchecks,
.co-gate, .fee-details[open] > summary { background: var(--s2); }
.tp-market { gap: 8px; padding: 0 16px 16px; background: var(--s2); }
.tp-market .stat, .stats .stat, .cards .card, .earn > div {
  border: 0; background: var(--s2);
}
.tp-market .stat { background: var(--s3); }
.tp-more > summary:hover, .fee-details > summary:hover { background: var(--s3); }
.read-overview { background-color: var(--s2); }
.read-risk { background: var(--s3); }
.read-section-label { color: var(--volt); }
.read-table-head { color: var(--ink-2); }
.read-allchecks summary { background: var(--s2); }
.cards, .earn, .st-tiles, .hgrid, .now-list, .move-list {
  border: 0; background: transparent; gap: 8px;
}
.card, .earn > div, .st-tile, .hcard, .now-event, .now-all,
.public-move { background: var(--s2); }
.earn .earn-note { border: 0; background: var(--s3); }
.points-box, .recovery-row, .holder-map-warning,
.holder-connection-disclosures > summary, .holder-connection-card,
.pts-next, .crowd, .share-stage { border: 0; box-shadow: none; background-color: var(--s2); }
.pts-stats > div + div, .share-sheet.studio-on .share-studio { border: 0; }
.holder-connection-card { margin-bottom: 6px; }
#tpTabs #tfilter { border: 0; background: var(--s1); }

@media (max-width: 760px) {
  .panel, #trade, .actionbar, .tabbar, .top,
  .mobile-browse:not([hidden]), .mobile-browse a,
  .filter-sheet-head, .stat, .card { border: 0; }
  .tabbar, .actionbar { background: #111a15; }
  .actionbar .iconbtn { border: 0; background: var(--s2); }
  #trade { background: var(--s1); }
  .mobile-browse:not([hidden]) { background: var(--s2); }
  .mobile-browse a:nth-child(even) { background: var(--s3); }
}

/* Now: the live tape leads to a focused event read on wide screens. */
body[data-route="radar"] .market-home { grid-template-columns: minmax(0, 1fr) 290px; }
body[data-route="radar"] .callouts-sidebar { display: none; }
body[data-route="radar"] #main { min-width: 0; }
body[data-route="radar"] .radar-h { padding: 20px 24px; gap: 12px; border-bottom: 1px solid var(--line); }
body[data-route="radar"] .radar-h .sweep { width: 10px; height: 10px; }
body[data-route="radar"] .radar-h h2 { font-size: 26px; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; line-height: 1; }
body[data-route="radar"] .radar-h p { margin: 5px 0 0; color: var(--ink-2); font-size: 12px; }
body[data-route="radar"] .radar-h > small { align-self: end; margin-bottom: 2px; }
.now-workbench { display: grid; grid-template-columns: minmax(300px, 38%) minmax(0, 1fr); min-height: min(720px, calc(100vh - 215px)); }
.now-queue { min-width: 0; border-right: 1px solid var(--line); }
.now-queue-head, .now-inspector-head, .now-trades-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.now-queue-head { padding: 14px 18px 10px; }
.now-queue-head > span, .now-trades-head > span { color: var(--ink); font-size: 12px; font-weight: 750; }
.now-queue-head small, .now-trades-head small { color: var(--ink-3); font-size: 10.5px; }
body[data-route="radar"] .now-list { display: block; background: transparent; }
body[data-route="radar"] .now-event { display: flex; width: 100%; gap: 7px; text-align: left; cursor: pointer; padding: 17px 19px; border: 0; border-top: 1px solid var(--line); border-left: 3px solid transparent; color: var(--ink); background: transparent; font: inherit; clip-path: none; transition: background .16s var(--ease), border-color .16s var(--ease); }
body[data-route="radar"] .now-event:hover { background: var(--s2); }
body[data-route="radar"] .now-event.selected { border-left-color: var(--mint); background: var(--s2); }
body[data-route="radar"] .now-event:focus-visible { outline: 2px solid var(--mint); outline-offset: -3px; }
body[data-route="radar"] .now-kind { color: var(--ink-3); font-size: 10px; }
body[data-route="radar"] .now-kind svg { color: var(--mint); }
body[data-route="radar"] .now-event strong { font-size: 16px; line-height: 1.25; font-weight: 800; font-stretch: var(--semi); }
body[data-route="radar"] .now-event.selected strong { color: var(--ink); }
body[data-route="radar"] .now-detail { color: var(--ink-2); font-size: 11.5px; }
body[data-route="radar"] .now-end { margin-top: 3px; font-size: 10.5px; }
body[data-route="radar"] .now-end span:last-child { color: var(--ink-3); }
body[data-route="radar"] .now-event.selected .now-end span:last-child { color: var(--mint); }
body[data-route="radar"] .now-all { background: transparent; border-top: 1px solid var(--line); font-size: 12px; }
.now-inspector { min-width: 0; padding: 20px 26px 24px; background: var(--s1); }
.now-inspector-head { color: var(--ink-3); font-size: 10.5px; }
.now-inspector-label { color: var(--mint); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.now-inspector-label span { color: var(--ink-3); font-weight: 600; }
.now-token { display: flex; align-items: center; gap: 12px; margin-top: 27px; }
.now-token img, .now-token .ic { width: 48px; height: 48px; flex: none; }
.now-token small { color: var(--ink-3); font-size: 11px; }
.now-token h3 { margin: 2px 0 0; font-size: 24px; line-height: 1; font-weight: 900; font-stretch: var(--wide); }
.now-evidence { display: grid; gap: 7px; margin-top: 22px; padding: 18px 19px; background: var(--s2); }
.now-evidence > span, .now-risk > span { color: var(--ink-3); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.now-evidence strong { color: var(--ink); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.15; font-weight: 800; font-stretch: var(--semi); }
.now-evidence p { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.4; }
.now-evidence small { color: var(--ink-3); font-size: 10.5px; line-height: 1.4; }
.now-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 14px; background: var(--line); }
.now-facts > div { display: grid; gap: 3px; padding: 13px 14px; background: var(--s2); }
.now-facts span { color: var(--ink-3); font-size: 10px; }
.now-facts b { color: var(--ink); font-size: 17px; font-stretch: var(--semi); font-variant-numeric: tabular-nums; }
.now-risk { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.now-risk .read { max-width: 72%; }
.now-flow { margin-top: 19px; }
.now-flow > div:first-child, .now-flow-ends { display: flex; justify-content: space-between; gap: 10px; }
.now-flow > div:first-child span { color: var(--ink); font-size: 12px; font-weight: 750; }
.now-flow > div:first-child small { color: var(--ink-3); font-size: 10.5px; }
.now-flow-bar { height: 9px; margin-top: 11px; background: var(--flare); }
.now-flow-bar i { display: block; height: 100%; background: var(--mint); }
.now-flow-ends { margin-top: 7px; color: var(--ink-2); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.now-flow-ends span:first-child { color: var(--mint); }
.now-flow-ends span:last-child { color: var(--flare); }
.now-trades-head { margin-top: 20px; }
.now-trades { margin-top: 9px; }
.now-trades > div { display: grid; grid-template-columns: 72px 90px minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 11px; }
.now-trades b { font-variant-numeric: tabular-nums; }
.now-trades small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; color: var(--ink-3); font-size: 10.5px; }
.now-open { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 21px; padding: 13px 16px; background: var(--mint); color: var(--mint-ink); font-size: 13px; font-weight: 850; font-stretch: var(--semi); }
.now-open:hover { filter: brightness(1.08); color: var(--mint-ink); }
.now-source { margin: 12px 0 0; color: var(--ink-3); font-size: 10.5px; line-height: 1.4; }
.now-inspector-empty { padding: 40px 0; color: var(--ink-2); }
@media (max-width: 1599px) {
  body[data-route="radar"] .market-home { grid-template-columns: minmax(0, 1fr); }
  body[data-route="radar"] .market-home .sightings { display: none; }
}
@media (min-width: 1600px) {
  .now-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .now-workbench { grid-template-columns: minmax(0, 1fr); }
  .now-queue { border-right: 0; }
  .now-inspector { border-top: 1px solid var(--line); }
  .now-thesis { max-width: 38ch; }
}
@media (max-width: 760px) {
  body[data-route="radar"] .radar-h { padding: 16px; }
  body[data-route="radar"] .radar-h h2 { font-size: 20px; }
  body[data-route="radar"] .radar-h > small { display: none; }
  .now-inspector { padding: 18px 16px 24px; }
  .now-token { margin-top: 20px; }
  .now-facts b { font-size: 15px; }
}

/* Traders: keep the ranking scannable while one wallet's record stays in view. */
.traders { max-width: 1550px; grid-template-columns: minmax(0, 1fr) 360px; }
.tr-row { grid-template-columns: 26px auto minmax(0, 1fr) auto auto auto; }
.tr-row.selected { background: var(--s2); box-shadow: inset 3px 0 var(--mint); }
.tr-inspect { padding: 8px 10px; border: 0; background: transparent; color: var(--ink-3); font: 700 11px var(--sans); cursor: pointer; }
.tr-inspect:hover, .tr-inspect:focus-visible, .tr-row.selected .tr-inspect { color: var(--mint); }
.sm-panel { max-height: calc(100vh - 130px); overflow-y: auto; overscroll-behavior: contain; }
.tr-read-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 17px 0; color: var(--mint); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tr-read-head small { color: var(--ink-3); font-size: 10px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.tr-read-person { display: flex; align-items: center; gap: 10px; margin: 17px 17px 0; }
.tr-read-person > div:last-child { display: grid; gap: 4px; min-width: 0; }
.tr-read-person b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.tr-read-person a { color: var(--mint); font-size: 10.5px; }
.tr-read-profit { display: grid; gap: 3px; margin: 19px 17px 0; padding: 16px; background: var(--s2); }
.tr-read-profit small, .tr-read-profit span { color: var(--ink-3); font-size: 10.5px; }
.tr-read-profit strong { font-size: 31px; line-height: 1.05; font-weight: 850; font-stretch: var(--semi); font-variant-numeric: tabular-nums; }
.tr-read-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 1px 17px 0; background: var(--line); }
.tr-read-stats > div { display: grid; gap: 3px; padding: 12px 8px; background: var(--s2); }
.tr-read-stats span, .tr-read-best > span { color: var(--ink-3); font-size: 10px; }
.tr-read-stats b { font-size: 17px; font-variant-numeric: tabular-nums; }
.tr-read-best { display: grid; gap: 5px; margin: 16px 17px 0; }
.tr-read-best b { font-size: 12px; }
.tr-read-best b a { color: var(--ink); }
.tr-read-best b a:hover { color: var(--mint); }
.tr-read-best small { color: var(--ink-2); font-size: 10.5px; line-height: 1.4; }
.tr-read-note { margin: 17px 17px 20px; color: var(--ink-3); font-size: 10.5px; line-height: 1.45; }
.sm-panel .panel-h { padding-top: 15px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .traders { grid-template-columns: minmax(0, 1fr); }
  .sm-panel { position: static; max-height: none; overflow: visible; order: -1; }
  .tr-read-note { margin-bottom: 15px; }
}
@media (max-width: 760px) {
  .tr-row { grid-template-columns: 18px auto minmax(0, 1fr) auto auto auto; gap: 7px; }
  .tr-inspect { padding: 7px 4px; font-size: 10px; }
  .tr-read-profit strong { font-size: 26px; }
}

/* Feed: calls carry their own receipt; public wallet trades stay in a quiet rail. */
body[data-route="callers"] .stack { max-width: 1550px; margin-inline: auto; }
body[data-route="callers"] .people-head { padding-bottom: 7px; }
body[data-route="callers"] .people-head p { max-width: 45ch; }
.feed-desk { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 1px; background: var(--line); }
.feed-main, .feed-rail { min-width: 0; background: var(--s1); }
.feed-main .people-section-head { padding: 18px 20px 14px; }
.feed-main .people-section-head span { font-size: 15px; }
.feed-main .people-section-head span small { color: var(--ink-3); font-size: 11px; font-weight: 600; }
.feed-main .people-section-head > small { font-size: 11px; }
.feed-main .thlist { gap: 8px; padding: 0 12px 14px; }
.feed-receipt { gap: 14px; padding: 20px !important; border: 0; background: var(--s2) !important; }
.feed-receipt:hover { background: var(--s3) !important; }
.feed-receipt .thesis-top { padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.feed-receipt > p { max-width: 56ch; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.35; font-weight: 650; font-stretch: var(--semi); }
.feed-receipt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.feed-receipt-stats > div { display: grid; gap: 4px; min-width: 0; padding: 12px 13px; background: var(--s1); }
.feed-receipt-stats span { color: var(--ink-3); font-size: 10px; }
.feed-receipt-stats b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.feed-receipt-stats b.up { color: var(--mint); }
.feed-receipt-stats b.down { color: var(--flare); }
.feed-receipt-stats b.dim { color: var(--ink-3); }
.feed-receipt-note { color: var(--ink-3); font-size: 10.5px; }
.feed-receipt .thesis-foot { padding-top: 7px; border-top: 1px solid var(--line); }
.feed-rail { position: sticky; top: 114px; max-height: calc(100vh - 130px); overflow-y: auto; overscroll-behavior: contain; }
.feed-rail .people-section-head { flex-direction: column; align-items: flex-start; gap: 3px; padding: 18px 16px 12px; }
.feed-rail .people-section-head span { font-size: 14px; }
.feed-rail .people-section-head small { font-size: 10.5px; }
.feed-rail .move-list { display: block; }
.feed-rail .public-move { display: flex; flex-direction: column; gap: 7px; padding: 13px 16px; border-top: 1px solid var(--line); background: transparent; }
.feed-rail .move-person { grid-column: 1 / -1; }
.feed-rail .move-person img, .feed-rail .move-person .avatar { width: 26px !important; height: 26px !important; }
.feed-rail .move-token strong { font-size: 13px; }
.feed-rail .move-token span { font-size: 10.5px; }
.feed-rail .move-read { align-self: flex-start; }
.feed-rail .move-read .phr { max-width: 270px; }
.feed-bottom .feed-suggest { border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .feed-desk { grid-template-columns: minmax(0, 1fr); }
  .feed-rail { position: static; max-height: none; border-top: 1px solid var(--line); }
  .feed-rail .move-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
}
@media (max-width: 760px) {
  .feed-main .thlist { padding: 0 8px 10px; }
  .feed-receipt { padding: 16px !important; }
  .feed-receipt > p { font-size: 17px; }
  .feed-receipt-stats b { font-size: 14px; }
  .feed-rail .move-list { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile Market: a fixed filter control and a freely scrolling view rail. */
.market-filter-btn svg { display: none; }
.people-traders { display: none; }
@media (max-width: 760px) {
  .market-home #main .toolbar { display: flex; flex-wrap: nowrap; gap: 6px; padding: 8px 10px; }
  .market-home #main .tabs { flex: 1 1 auto; width: 0; min-width: 0; overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; gap: 2px; padding: 0 12px 0 0; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent); }
  .market-home #main .tab { display: inline-flex !important; align-items: center; flex: none; height: 36px; padding: 0 10px; white-space: nowrap; }
  .market-home #main .tab[data-tab="radar"] { display: none !important; }
  .market-home #main .toolbar .spacer, .market-more { display: none; }
  .market-home #main #fbtn { position: relative; display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; margin-left: auto; border: 0; background: var(--s2); color: var(--ink); }
  .market-home #main #fbtn svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .market-home #main #fbtn .filter-label { display: none; }
  .market-home #main #fbtn .cnt { position: absolute; top: -3px; right: -3px; min-width: 15px; height: 15px; padding: 0 3px; font-size: 9px; line-height: 15px; }
  .market-home #main #fbtn[aria-expanded="true"] { background: var(--mint); color: var(--mint-ink); }

  .mrow { display: grid; grid-template-columns: 32px 36px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 6px; row-gap: 5px; align-items: center; min-height: 88px; padding: 11px 12px; }
  .mr-watch { grid-column: 1; grid-row: 1; align-self: center; justify-self: center; }
  .mr-watch .mini-action { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; font-size: 17px; line-height: 1; background: transparent; color: var(--ink-3); }
  .mr-watch .mini-action.active { background: transparent; color: var(--volt); }
  .mrow > img, .mrow > .ic { grid-column: 2; grid-row: 1; width: 36px; height: 36px; }
  .mr-main { grid-column: 3; grid-row: 1; display: block; min-width: 0; }
  .mr-top { display: flex; flex-direction: column; align-items: flex-start; gap: 2px !important; min-width: 0; }
  .mrow .mr-top b { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; line-height: 1.1; }
  .mr-name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 11px; line-height: 1.2; }
  .mr-num { grid-column: 4; grid-row: 1; gap: 2px !important; min-width: 74px; align-items: flex-end; }
  .mrow .mr-num b { font-size: 17px; line-height: 1.15; font-weight: 800; white-space: nowrap; }
  .mr-num .chg { font-size: 10px; line-height: 1; padding: 2px 5px; }
  .mr-detail { grid-column: 2 / -1; grid-row: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; min-width: 0; }
  .mr-read { min-width: 0; }
  .mr-read .read { flex-direction: row; align-items: center; min-width: 0; gap: 8px; }
  .mr-read .phr { max-width: min(46vw, 210px); white-space: nowrap; }
  .mr-context { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink-3); font-size: 10px; white-space: nowrap; }
  .mr-context .lpb, .mr-context .stage { font-size: 10px; }
  .mr-who { flex-basis: 100%; min-width: 0; }
  .people-traders { display: inline-block; margin-top: 10px; color: var(--mint); font-size: 12px; font-weight: 700; }
}

/* Market filters: a compact instrument panel built from the Sightline shapes. */
.filter-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 69; background: rgb(0 0 0 / .76); backdrop-filter: blur(8px); }
#filters:not([hidden]) { position: fixed; z-index: 70; top: 50%; left: 50%; right: auto; bottom: auto; display: flex; flex-direction: column; width: min(720px, calc(100vw - 32px)); max-height: min(850px, calc(100dvh - 48px)); overflow: hidden; padding: 0; transform: translate(-50%, -50%); background: #111a15; border: 1px solid rgb(154 188 167 / .22); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); box-shadow: 0 28px 100px rgb(0 0 0 / .75); }
body.filter-open { overflow: hidden; }
.filter-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex: none; padding: 25px 28px 20px; background: #17231b; border-bottom: 1px solid rgb(255 255 255 / .08); }
.filter-sheet-head > div { min-width: 0; }
.filter-eyebrow { display: block; margin-bottom: 6px; color: var(--mint); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.filter-sheet-head strong { display: block; color: var(--ink); font-size: clamp(23px, 3vw, 31px); font-weight: 900; font-stretch: 125%; letter-spacing: -.045em; line-height: 1.08; text-transform: uppercase; }
.filter-spark { display: inline-block; padding-left: 8px; color: var(--mint); font-size: .65em; vertical-align: 12%; }
#filterClose { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .04); color: var(--ink); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
#filterClose svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
#filterClose:hover { background: var(--s3); }
.filter-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 22px; scrollbar-color: #45584b transparent; scrollbar-width: thin; }
.filter-intro { padding: 18px 0 7px; color: var(--ink-2); font-size: 12px; }
.filter-section { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 14px; padding: 21px 0 23px; border-bottom: 1px solid rgb(255 255 255 / .09); }
.filter-section:last-child { border-bottom: 0; }
.filter-section-head { display: flex; align-items: flex-start; gap: 10px; }
.filter-index { display: grid; place-items: center; flex: none; width: 25px; height: 25px; border: 1px solid rgb(0 239 174 / .28); color: var(--mint); font: 700 10px var(--mono); transform: rotate(-45deg) scale(.78); }
.filter-section-head h3 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.2; }
.filter-section-head p { margin: 4px 0 0; color: var(--ink-3); font-size: 10.5px; line-height: 1.35; }
.filter-choices { display: flex; flex-wrap: wrap; align-content: start; gap: 7px; }
.filter-choice, .filter-quick-presets button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 13px; border: 1px solid rgb(255 255 255 / .11); background: #1d2a22; color: var(--ink-2); font-size: 12px; font-weight: 700; white-space: nowrap; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease); }
.filter-choice:hover, .filter-quick-presets button:hover { color: var(--ink); background: #293b30; transform: translateY(-1px); }
.filter-choice[aria-pressed="true"], .filter-quick-presets button[aria-pressed="true"] { color: var(--mint-ink); border-color: var(--mint); background: var(--mint); }
.filter-choice i { width: 7px; height: 7px; flex: none; background: var(--lp-color); transform: rotate(45deg); }
.filter-choice[aria-pressed="true"] i { background: var(--mint-ink); }
.filter-lp-nearly { --lp-color: var(--lp-nearly); } .filter-lp-shards { --lp-color: var(--lp-shards); } .filter-lp-nearpad { --lp-color: var(--lp-nearpad); } .filter-lp-nearrr { --lp-color: var(--lp-nearrr); } .filter-lp-memecooking { --lp-color: var(--lp-memecooking); }
.filter-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 9px; }
#filters .filter-field { display: flex; flex-direction: column; min-width: 0; gap: 6px; color: var(--ink-2); font-size: 10.5px; font-weight: 650; }
.filter-input { display: flex; align-items: center; height: 43px; min-width: 0; padding: 0 10px; background: #1d2a22; border: 1px solid rgb(255 255 255 / .12); transition: border-color .16s; }
.filter-input:focus-within { border-color: var(--mint); box-shadow: inset 0 0 0 1px var(--mint); }
.filter-input b { flex: none; color: var(--mint); font-size: 12px; font-weight: 750; }
#filters .filter-input input { width: 100%; min-width: 0; height: 100%; padding: 0 0 0 7px; border: 0; outline: 0; box-shadow: none; background: transparent; color: var(--ink); font: 650 14px var(--sans); font-variant-numeric: tabular-nums; }
#filters .filter-input input::placeholder { color: #819188; opacity: 1; }
#filters input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
#filters input[type="number"]::-webkit-inner-spin-button, #filters input[type="number"]::-webkit-outer-spin-button { appearance: none; margin: 0; }
.filter-switches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
#filters .filter-switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 66px; padding: 10px 11px; background: #1d2a22; border: 1px solid rgb(255 255 255 / .11); color: var(--ink); cursor: pointer; }
.filter-switch span { display: grid; gap: 2px; min-width: 0; }
.filter-switch b { font-size: 12px; font-weight: 750; }
.filter-switch small { color: var(--ink-3); font-size: 10px; line-height: 1.25; }
#filters .filter-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-switch i { position: relative; flex: none; width: 31px; height: 18px; border-radius: 20px; background: #415047; transition: background .16s; }
.filter-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #cad6ce; transition: transform .16s, background .16s; }
.filter-switch input:checked + i { background: var(--mint); }
.filter-switch input:checked + i::after { transform: translateX(13px); background: var(--mint-ink); }
.filter-switch:has(input:focus-visible) { outline: 2px solid var(--mint); outline-offset: 2px; }
.filter-quick-row { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; }
.filter-quick-presets { gap: 5px; }
.filter-quick-presets button { min-width: 42px; min-height: 42px; padding: 0 9px; }
#filters .filter-quick-custom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 4px; min-width: 115px; width: 115px; height: 42px; padding: 4px 9px; background: #1d2a22; border: 1px solid rgb(255 255 255 / .12); color: var(--ink-3); font-size: 9px; }
.filter-quick-custom span { grid-column: 1 / -1; line-height: 1; }
#filters .filter-quick-custom input { min-width: 0; width: 100%; height: 20px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 750; }
.filter-quick-custom b { font-size: 9px; font-weight: 700; }
.filter-quick-custom:focus-within { border-color: var(--mint) !important; }
.filter-footer { display: flex; align-items: center; gap: 10px; flex: none; padding: 14px 28px calc(14px + env(safe-area-inset-bottom)); background: #17231b; border-top: 1px solid rgb(255 255 255 / .09); }
#freset { flex: none; min-height: 43px; padding: 0 13px; border: 0; background: transparent; color: var(--ink-2); font-size: 12px; font-weight: 750; }
#freset:hover { color: var(--ink); }
#filterDone { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; min-height: 47px; padding: 0 16px; border: 0; background: var(--mint); color: var(--mint-ink); font-size: 14px; font-weight: 850; font-stretch: 112%; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
#filterDone:hover { background: var(--mint-hi); }
.filter-arrow { margin-left: auto; font-size: 19px; line-height: 1; }
@media (max-width: 760px) {
  #filters:not([hidden]) { top: 0; left: 0; right: 0; bottom: 0; width: 100%; max-height: 100dvh; transform: none; clip-path: none; border: 0; border-top: 3px solid var(--mint); box-shadow: none; }
  .filter-sheet-head { padding: 22px 20px 18px; }
  .filter-sheet-head strong { font-size: clamp(23px, 7vw, 30px); }
  .filter-scroll { padding: 0 20px 16px; }
  .filter-section { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 18px 0 20px; }
  .filter-section-head { align-items: center; }
  .filter-section-head p { margin-top: 2px; }
  .filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .filter-footer { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 390px) {
  .filter-sheet-head, .filter-scroll, .filter-footer { padding-left: 16px; padding-right: 16px; }
  .filter-switches { grid-template-columns: 1fr; }
  .filter-done-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .filter-choice, .filter-quick-presets button, .filter-switch i, .filter-switch i::after { transition: none; }
}

/* Callouts: a compact view switch and a browsable trader showcase. */
body[data-route="callers"] .stack { max-width: 1200px; }
.callouts-nav { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
#cTabs.callouts-tabs { display: inline-flex; flex: none; width: auto; gap: 3px; padding: 3px; overflow: visible; background: var(--s2); -webkit-mask-image: none; mask-image: none; }
.callouts-tabs .tab { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 76px; padding: 0 14px; color: var(--ink-2); font-size: 13px; font-weight: 750; }
.callouts-tabs .tab.on { background: var(--mint); color: var(--mint-ink); }
.callouts-nav #cRef { margin-left: auto; height: 34px; }
.feed-top-traders { padding: 20px 20px 22px; border-bottom: 1px solid var(--line); }
.feed-top-traders[hidden] { display: none; }
.feed-top-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 13px; }
.feed-top-head h2 { margin: 0; font-size: 18px; line-height: 1.1; font-weight: 850; font-stretch: var(--semi); }
.feed-top-head a { color: var(--mint); font-size: 12px; font-weight: 750; white-space: nowrap; }
.feed-trader-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.feed-trader-card { flex: 0 0 210px; display: flex; flex-direction: column; min-width: 0; background: var(--s2); box-shadow: inset 0 0 0 1px var(--line); }
.feed-trader-card:first-child { background: radial-gradient(170px 110px at 0 0, rgb(0 239 174 / .13), transparent), var(--s2); box-shadow: inset 0 0 0 1px rgb(0 239 174 / .3); }
.feed-trader-card:hover { box-shadow: inset 0 0 0 1px var(--mint); }
.feed-trader-profile { display: flex; flex: 1; flex-direction: column; gap: 9px; min-width: 0; padding: 12px 12px 10px; color: var(--ink); }
.feed-trader-id { display: flex; align-items: center; justify-content: space-between; min-width: 0; }
.feed-trader-identity { display: flex; align-items: center; gap: 7px; min-width: 0; }
.feed-trader-identity .avatar { flex: none; }
.feed-trader-identity a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 12px; font-weight: 800; }
.feed-trader-identity a:hover { color: var(--mint); }
.feed-trader-rank { color: var(--mint); font: 700 11px var(--mono); }
.feed-trader-arrow { display: grid; place-items: center; width: 22px; height: 22px; color: var(--ink-3); font-size: 16px; }
.feed-trader-arrow:hover { color: var(--mint); }
.feed-trader-profit { margin-top: 3px; font-size: 23px; line-height: 1; font-weight: 850; font-variant-numeric: tabular-nums; }
.feed-trader-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.feed-trader-stats > span { display: grid; gap: 1px; min-width: 0; padding: 6px 7px; background: var(--s1); }
.feed-trader-stats b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 13px var(--mono); color: var(--ink); }
.feed-trader-stats small { color: var(--ink-3); font-size: 9px; }
.feed-trader-card .tr-follow { width: calc(100% - 24px); height: 36px; margin: 0 12px 12px; background: var(--mint); color: var(--mint-ink); box-shadow: none; clip-path: none; position: relative; z-index: 2; }
.feed-trader-card .tr-follow.on { background: var(--s3); color: var(--mint); box-shadow: inset 0 0 0 1px rgb(0 239 174 / .4); }
body[data-route="callers"] #cBody > .thlist { gap: 8px; padding: 12px; }
body[data-route="callers"] #cBody .feed-receipt { max-width: 850px; margin-inline: auto; }
@media (max-width: 760px) {
  .callouts-nav { padding: 10px 12px; }
  #cTabs.callouts-tabs { flex: none; width: auto; justify-content: flex-start; padding: 3px; overflow: visible; }
  .callouts-tabs .tab { min-width: 64px; height: 34px; padding: 0 11px; }
  .callouts-nav #cRef { height: 34px; }
  .feed-top-traders { padding: 16px 0 18px; }
  .feed-top-head { padding: 0 14px; }
  .feed-trader-strip { gap: 8px; padding: 0 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .feed-trader-strip::before, .feed-trader-strip::after { content: ''; flex: 0 0 14px; }
  .feed-trader-strip::-webkit-scrollbar { display: none; }
  .feed-trader-card { flex-basis: calc((100vw - 44px) / 2.5); }
  body[data-route="callers"] #cBody > .thlist { padding: 8px; }
}
