/* Squint: a dark, data-first risk scanner. Black and neutral greys; Nearly's teal (paired with NEARLY) appears only
   as a hint: the eye's iris, the numbered steps, live and focus states, and the Clean verdict. */
:root {
  --accent-a: #7af0dc;
  --accent-b: #14b8a6;
  --accent-ink: #021714;
  --accent: #2dd4bf;
  --glow: 0 0 30px -6px var(--accent-b);
  --bg: #0a0b0d;
  --panel: #111316;
  --panel-2: #15181c;
  --line: #22262c;
  --line-2: #2c3138;
  --text: #e8eaed;
  --text-2: #b4bac3;
  --muted: #7c848f;
  --clean: #2dd4bf;
  --caution: #f2b03d;
  --danger: #f0524f;
  --dev: #a78bfa;
  --link: #7ee8d8;
  --r: 10px;
  --f-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  --gut: clamp(16px, 3vw, 32px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--f-sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent-b); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
a { color: inherit; }
code, .mono { font-family: var(--f-mono); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 99; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin: 0 auto; }
.muted { color: var(--muted); margin: 4px 0 0; }
.muted-sm { color: var(--muted); font-size: 13px; }
.label-sm { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-clean { color: var(--clean); } .c-caution { color: var(--caution); } .c-danger { color: var(--danger); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(10, 11, 13, .82); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { width: min(100% - var(--gut) * 2, var(--wrap)); margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.mark { width: 38px; height: 23px; color: var(--text); }
.wordmark { font: 600 15px var(--f-sans); letter-spacing: .28em; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sync { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--f-mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: inline-block; flex: none; }
.sync.is-live .dot, .live .dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(45, 212, 191, .18), 0 0 10px var(--accent-b); animation: pulse 2.4s infinite; }
.sync.is-stale .dot { background: var(--caution); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0), 0 0 14px var(--accent-b); } }
.icon-link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--text-2); }
.icon-link:hover { background: var(--panel-2); color: var(--text); }
.icon-link svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 820px) { .nav-links { display: none; } }
@media (max-width: 420px) { .sync span { display: none; } }

/* ---------------------------------------------------------------- scanner */
.scan { position: relative; padding: 0 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); overflow: hidden; }
/* the eye: a full-bleed WebGL stage that fades into the page at its edges */
.eye-stage { position: relative; height: clamp(230px, 36vh, 390px); margin-bottom: clamp(4px, 1vw, 12px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%); }
.eye-stage canvas { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.2s ease; }
.eye-stage.is-live canvas { opacity: 1; }
/* the flat mark only appears if WebGL can't run; otherwise the stage stays empty until the live eye fades in */
.eye-fallback { position: absolute; left: 50%; top: 50%; width: min(420px, 70vw); transform: translate(-50%, -50%); color: var(--text); opacity: 0; }
.eye-stage.no-webgl .eye-fallback { opacity: .9; transition: opacity .6s ease; }
@media (max-width: 560px) { .eye-stage { height: 220px; } }

.scan-inner { position: relative; max-width: 760px; text-align: center; }
.kicker { margin: 0 0 14px; font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.scan h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.lede { color: var(--text-2); font-size: clamp(15px, 1.7vw, 17px); margin: 16px auto 28px; max-width: 58ch; }
.search { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px 6px 6px 14px; box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); text-align: left; }
.search:focus-within { border-color: #2f4d4a; box-shadow: 0 0 0 3px rgba(20, 184, 166, .14), 0 0 24px -10px var(--accent-b); }
.search-icon { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { background: transparent; border: 0; outline: 0; color: var(--text); font: 400 15px var(--f-mono); min-width: 0; width: 100%; padding: 10px 0; }
.search input::placeholder { color: #5d6570; }
.kbd { font: 500 12px var(--f-mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
@media (max-width: 560px) { .kbd { display: none; } .search { grid-template-columns: auto minmax(0, 1fr) auto; } }
.examples { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 13px; color: var(--muted); }
.ex { font: 500 12.5px var(--f-mono); color: var(--text-2); background: transparent; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 9px; cursor: pointer; }
.ex:hover { color: var(--text); border-color: var(--line-2); background: var(--panel); }
.kpis { position: relative; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.kpis div { padding: 16px 18px; border-right: 1px solid var(--line); }
.kpis div:last-child { border-right: 0; }
.kpis dt { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpis dd { margin: 6px 0 0; font: 500 22px var(--f-mono); letter-spacing: -.02em; }
@media (max-width: 720px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis div:nth-child(2) { border-right: 0; } .kpis div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px var(--f-sans); padding: 10px 18px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); background: var(--panel-2); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn[disabled], .btn.is-off { opacity: .4; pointer-events: none; }

/* ---------------------------------------------------------------- panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px 12px; }
.panel-head h3 { font-size: 15px; }

/* ---------------------------------------------------------------- report */
.report, .choices { padding-top: 28px; scroll-margin-top: 72px; }
.rx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.panel { min-width: 0; }
.rx.is-loading { opacity: .55; pointer-events: none; transition: opacity .2s; }
.rx-loading { padding: 40px 18px; text-align: center; color: var(--muted); font-family: var(--f-mono); font-size: 14px; }
.rx-loading::after { content: ""; display: block; height: 2px; margin: 18px auto 0; width: 160px; background: linear-gradient(90deg, transparent, var(--text-2), transparent); background-size: 200% 100%; animation: scanline 1.1s linear infinite; }
@keyframes scanline { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.rx-error { padding: 28px 18px; font-size: 15px; color: var(--text-2); }
.rx-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; }
.rx-icon { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line); }
.rx-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rx-name { font-size: 20px; }
.rx-symbol { font: 500 14px var(--f-mono); color: var(--muted); }
.rx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.addr { display: inline-flex; align-items: center; gap: 6px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--text-2); cursor: pointer; font: inherit; max-width: 100%; }
.addr code { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.addr:hover { color: var(--text); border-color: var(--line-2); }
.addr.is-copied { border-color: var(--accent); color: var(--accent); }
.ext { color: var(--text-2); text-decoration: none; }
.ext:hover { color: var(--link); }
.rx-tools { display: flex; align-items: center; gap: 8px; }
.rx-time { font: 500 12px var(--f-mono); color: var(--muted); margin-right: 4px; }
@media (max-width: 760px) { .rx-head { grid-template-columns: 48px minmax(0, 1fr); } .rx-tools { grid-column: 1 / -1; } }

.grid-verdict { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
@media (max-width: 900px) { .grid-verdict { grid-template-columns: minmax(0, 1fr); } }
.verdict { padding: 18px; display: grid; gap: 10px; align-content: start; }
.verdict-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--f-sans); padding: 5px 12px 5px 10px; border-radius: 999px; border: 1px solid; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.v-clean .badge { color: var(--clean); background: rgba(45, 212, 191, .1); border-color: rgba(45, 212, 191, .35); box-shadow: 0 0 20px -8px var(--accent-b); }
.v-caution .badge { color: var(--caution); background: rgba(242, 176, 61, .08); border-color: rgba(242, 176, 61, .3); }
.v-danger .badge { color: var(--danger); background: rgba(240, 82, 79, .08); border-color: rgba(240, 82, 79, .3); }
.verdict-flags { font: 500 12.5px var(--f-mono); color: var(--muted); }
.risk { display: flex; align-items: baseline; gap: 6px; }
.risk-n { font: 600 56px/1 var(--f-mono); letter-spacing: -.04em; }
.risk-of { font: 500 13px var(--f-mono); color: var(--muted); }
.risk-bar { height: 6px; position: relative; margin: 4px 0; }
.risk-bar::before { content: ""; position: absolute; inset: 0; border-radius: 3px; opacity: .3; background: linear-gradient(90deg, var(--clean) 0 25%, var(--caution) 25% 55%, var(--danger) 55% 100%); }
.risk-bar i { position: absolute; top: -4px; width: 3px; height: 14px; border-radius: 2px; background: var(--text); transform: translateX(-50%); box-shadow: 0 0 0 2px var(--panel); }
.verdict-sum { margin: 2px 0 0; color: var(--text-2); }
.metrics { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics div:nth-child(3n) { border-right: 0; }
.metrics div:nth-last-child(-n+3) { border-bottom: 0; }
.metrics dt { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.metrics dd { margin: 6px 0 0; font: 500 20px var(--f-mono); letter-spacing: -.02em; }
.metrics dd small { font-size: 12px; color: var(--muted); margin-left: 4px; }
@media (max-width: 560px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metrics div:nth-child(3n) { border-right: 1px solid var(--line); } .metrics div:nth-child(2n) { border-right: 0; } .metrics div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .metrics div:nth-last-child(-n+2) { border-bottom: 0; } }

.supply { padding-bottom: 16px; }
.supply-bar { display: flex; height: 14px; margin: 2px 18px 12px; border-radius: 4px; overflow: hidden; background: var(--panel-2); }
.supply-bar i { display: block; height: 100%; min-width: 2px; border-right: 1px solid var(--panel); }
.supply-legend { list-style: none; margin: 0; padding: 0 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-2); }
.supply-legend li { display: inline-flex; align-items: center; gap: 7px; }
.supply-legend b { font: 500 13px var(--f-mono); color: var(--text); }
.sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.s-pool { background: #3a4a66; } .s-dev { background: var(--dev); } .s-snipers { background: var(--caution); } .s-linked { background: var(--danger); } .s-holders { background: #6b7480; } .s-rest { background: #2a2f36; }

.grid-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 980px) { .grid-main { grid-template-columns: minmax(0, 1fr); } }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 150px) minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); align-items: start; }
.checks .ico { width: 18px; height: 18px; margin-top: 2px; }
.checks .good .ico { color: var(--clean); } .checks .warn .ico { color: var(--caution); } .checks .bad .ico { color: var(--danger); }
.checks .unknown .ico { color: var(--muted); } .checks .unknown .finding { color: var(--text-2); }
.checks .name { font-weight: 600; font-size: 14px; color: var(--text-2); }
.checks .finding { font-size: 14px; }
.checks .detail { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .checks li { grid-template-columns: 22px minmax(0, 1fr); } .checks .text { grid-column: 2; } }

.graph-panel { overflow: hidden; }
.graph-wrap { position: relative; margin: 0 12px; border: 1px solid var(--line); border-radius: 8px; background:
  radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .025), transparent 70%), var(--panel-2); }
.graph { display: block; width: 100%; height: 400px; }
@media (max-width: 560px) { .graph { height: 340px; } }
.graph .edge { stroke-width: 1.4; fill: none; }
.graph .e-funded { stroke: var(--danger); }
.graph .e-samefunder { stroke: var(--danger); stroke-dasharray: 4 3; }
.graph .e-samekey { stroke: var(--dev); stroke-dasharray: 1 3; stroke-width: 2; }
.graph .node { cursor: pointer; transition: opacity .15s; }
.graph .node circle { stroke-width: 1.5; }
.graph .node text { font: 500 10px var(--f-mono); fill: var(--text-2); pointer-events: none; }
.graph.is-focus .node { opacity: .25; } .graph.is-focus .node.is-on { opacity: 1; }
.graph-tip { position: absolute; pointer-events: none; background: #0d0f12; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 9px; font: 500 12px var(--f-mono); color: var(--text); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); z-index: 2; }
.graph-legend { list-style: none; margin: 10px 0 0; padding: 0 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.graph-legend li { display: inline-flex; align-items: center; gap: 6px; }
.n { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1.5px solid; }
.n-dev { background: rgba(167, 139, 250, .25); border-color: var(--dev); } .n-serial { background: var(--danger); border-color: var(--danger); }
.n-sniper { background: rgba(242, 169, 59, .25); border-color: var(--caution); } .n-linked { background: rgba(240, 82, 79, .2); border-color: var(--danger); }
.n-plain { background: #2a3038; border-color: #4a525c; }
.e { width: 16px; height: 0; display: inline-block; border-top: 1.5px solid; }
.e-funded { border-color: var(--danger); } .e-same { border-color: var(--danger); border-top-style: dashed; } .e-key { border-color: var(--dev); border-top-style: dotted; border-top-width: 2px; }
.groups { list-style: none; margin: 12px 0 0; padding: 0 18px 16px; display: grid; gap: 8px; }
.groups li { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; background: var(--panel-2); }
.groups b { font-family: var(--f-mono); font-weight: 500; }
.groups code { display: block; margin-top: 4px; font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; }

.holders-panel { padding-bottom: 6px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-family: var(--f-mono); }
.table td.empty { text-align: center; color: var(--muted); padding: 28px; }
.holders td:nth-child(2) { font-family: var(--f-mono); font-size: 13px; white-space: nowrap; }
.holders td:nth-child(2) a { text-decoration: none; color: var(--text); }
.holders td:nth-child(2) a:hover { color: var(--link); }
.share-col { width: 190px; }
.share { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; font-family: var(--f-mono); }
.share-bar { height: 5px; border-radius: 3px; background: var(--panel-2); overflow: hidden; }
.share-bar i { display: block; height: 100%; background: #6b7480; }
.funder { font: 400 12.5px var(--f-mono); color: var(--text-2); white-space: nowrap; }
.tag { display: inline-block; font: 500 11px var(--f-mono); padding: 2px 7px; border-radius: 5px; margin: 1px 4px 1px 0; border: 1px solid; white-space: nowrap; }
.t-dev { color: var(--dev); border-color: rgba(167, 139, 250, .4); background: rgba(167, 139, 250, .08); }
.t-serial { color: #fff; border-color: var(--danger); background: rgba(240, 82, 79, .6); }
.t-sniper { color: var(--caution); border-color: rgba(242, 169, 59, .4); background: rgba(242, 169, 59, .08); }
.t-linked { color: var(--danger); border-color: rgba(240, 82, 79, .4); background: rgba(240, 82, 79, .08); }
.t-fresh { color: var(--link); border-color: rgba(143, 180, 255, .35); background: rgba(143, 180, 255, .07); }

.choices .table td { cursor: pointer; }
.choices tbody tr:hover td { background: var(--panel-2); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(48px, 7vw, 80px) 0 0; scroll-margin-top: 60px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 28px); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--f-mono); color: var(--muted); }
.launches tbody tr { cursor: pointer; }
.launches tbody tr:hover td { background: var(--panel-2); }
.tok { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tok img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; background: var(--panel-2); flex: none; }
.tok b { font-weight: 600; }
.tok small { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--f-sans); padding: 2px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p-clean { color: var(--clean); border-color: rgba(45, 212, 191, .35); }
.p-caution { color: var(--caution); border-color: rgba(242, 176, 61, .3); }
.p-danger { color: var(--danger); border-color: rgba(240, 82, 79, .3); }
.p-wait { color: var(--muted); border-color: var(--line-2); }
.method td:nth-child(2) { font-weight: 600; white-space: nowrap; }
.method td:nth-child(3) { color: var(--text-2); min-width: 260px; }
.method td:nth-child(4), .method td:nth-child(5) { font-family: var(--f-mono); font-size: 12.5px; color: var(--text-2); }
.method-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
@media (max-width: 760px) { .method-notes { grid-template-columns: minmax(0, 1fr); } }
.note { padding: 18px; }
.note h3 { font-size: 15px; margin-bottom: 8px; }
.note p { margin: 0; color: var(--text-2); font-size: 14px; }
.token { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; }
.token-ca { flex: 1 1 320px; display: grid; gap: 4px; min-width: 0; }
.token-ca code { font-size: 15px; color: var(--text-2); overflow-wrap: anywhere; }
.token-note { margin: 10px 0 0; }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); padding: 32px 0 48px; }
.foot-inner { display: grid; gap: 12px; }
.foot p { margin: 0; max-width: 90ch; }
.brand-foot .mark { color: var(--muted); } .brand-foot .wordmark { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.funder-kind { font: 500 10.5px var(--f-mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------------------------------------------------------------- loading states */
/* the eye's frame, before WebGL is ready: a closed slit with light running along it */
.eye-stage { container-type: size; }
.eye-loader { position: absolute; left: 50%; top: calc(50% + 8.3cqh); width: min(118cqh, 80vw); height: 2px; transform: translate(-50%, -50%); border-radius: 2px; overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(232, 234, 237, .38) 18%, rgba(232, 234, 237, .38) 82%, transparent); transition: opacity .7s ease; }
.eye-loader i { position: absolute; top: 0; bottom: 0; width: 26%; background: linear-gradient(90deg, transparent, #fff, transparent); animation: sweep 1.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes sweep { from { left: -26%; } to { left: 100%; } }
.eye-stage.is-live .eye-loader, .eye-stage.no-webgl .eye-loader { opacity: 0; }

/* a scan in progress: the steps, then skeletons in the shape of the report */
.scan-loader { padding: 20px 18px 18px; display: grid; gap: 16px; }
.sl-bar { position: relative; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sl-bar i { position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, var(--text), transparent); animation: sweep 1.2s cubic-bezier(.45, 0, .55, 1) infinite; }
.sl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sl-head b { font-weight: 600; }
.sl-head code { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.sl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .sl-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sl-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); transition: color .3s; }
.sl-steps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; box-sizing: border-box; }
.sl-steps li.is-now { color: var(--text); }
.sl-steps li.is-now::before { border-color: var(--text-2); border-top-color: transparent; animation: spin .8s linear infinite; }
.sl-steps li.is-done { color: var(--text-2); }
.sl-steps li.is-done::before { border-color: var(--clean); background: radial-gradient(circle, var(--clean) 0 2.5px, transparent 3px); }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { display: grid; gap: 14px; }
.skel-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
@media (max-width: 900px) { .skel-row { grid-template-columns: minmax(0, 1fr); } }
.sk { border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%); background-size: 300% 100%; animation: shimmer 1.6s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk-verdict { height: 190px; } .sk-metrics { height: 190px; } .sk-bar { height: 86px; } .sk-findings { height: 380px; }
.sk-line { display: inline-block; height: 10px; border-radius: 5px; background: linear-gradient(100deg, var(--panel-2) 30%, #1c2026 50%, var(--panel-2) 70%); background-size: 300% 100%; animation: shimmer 1.6s ease-in-out infinite; vertical-align: middle; }

/* ---------------------------------------------------------------- coin index */
.coins-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; }
.seg { display: inline-flex; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { font: 500 13px var(--f-sans); color: var(--text-2); background: transparent; border: 0; border-radius: 6px; padding: 5px 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.seg button:hover { color: var(--text); }
.seg button.is-on { background: var(--line-2); color: var(--text); }
.vd { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.coins th .sort { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.coins th .sort:hover { color: var(--text); }
.coins th .sort::after { content: "↕"; opacity: .35; font-size: 11px; }
.coins th[aria-sort="descending"] .sort, .coins th[aria-sort="ascending"] .sort { color: var(--text); }
.coins th[aria-sort="descending"] .sort::after { content: "↓"; opacity: 1; }
.coins th[aria-sort="ascending"] .sort::after { content: "↑"; opacity: 1; }
.coins th.num .sort { flex-direction: row-reverse; }
.coins tbody tr[data-q] { cursor: pointer; }
.coins tbody tr[data-q]:hover td { background: var(--panel-2); }
.coins .rank { color: var(--muted); width: 44px; }
.coins td.rank { font-family: var(--f-mono); font-size: 12.5px; }
.tok code { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up { color: var(--clean); } .down { color: var(--danger); }
.coins-foot { display: flex; justify-content: center; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.coins-foot:has(.js-more[hidden]) { display: none; }
.coins tr.sk-tr td { padding-top: 13px; padding-bottom: 13px; }

@media (prefers-reduced-motion: reduce) { .eye-loader i, .sl-bar i, .sk, .sk-line { animation: none !important; } }

.groups-panel .groups { padding: 0 18px; margin-top: 0; }
.group-btn { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; text-align: left; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: inherit; font: inherit; cursor: pointer; }
.group-btn:hover { border-color: var(--line-2); }
.g-swatch { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--f-mono); color: var(--c); border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.g-body code { display: block; margin-top: 4px; font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; }
.groups-note { padding: 12px 18px 16px; margin: 0; }

/* ---------------------------------------------------------------- bubble map: quiet by default, detail on focus */
.bmap { overflow: hidden; }
.bm-loading { padding: 48px 18px; text-align: center; color: var(--muted); font: 500 13px var(--f-mono); }
.bm-head { padding: 16px 18px 12px; }
.bm-title h3 { font-size: 15px; }
.bm-summary { margin: 4px 0 0; font-size: 13.5px; color: var(--text-2); max-width: 80ch; }
.bm-summary b { color: var(--text); font-weight: 600; }
.bm-body { display: grid; grid-template-columns: minmax(0, 1fr) 248px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .bm-body { grid-template-columns: minmax(0, 1fr); } }
.bm-stage { position: relative; height: 420px; background: radial-gradient(circle, rgba(255, 255, 255, .035) 1px, transparent 1.3px) 0 0 / 24px 24px, var(--panel); cursor: grab; touch-action: none; }
.bm-stage:active { cursor: grabbing; }
@media (max-width: 560px) { .bm-stage { height: 340px; } }
.bm-svg { display: block; width: 100%; height: 100%; }

.bm-dot { fill-opacity: .1; stroke-opacity: .55; stroke-width: 1.2; transition: fill-opacity .25s, stroke-opacity .25s, stroke-width .25s; }
.bm-node.is-linked .bm-dot { fill-opacity: .2; stroke-opacity: .9; stroke-width: 1.4; }
.bm-node.k-dev .bm-dot { fill-opacity: .16; stroke-opacity: .9; }
.bm-node.k-funder .bm-dot { fill-opacity: 0; stroke-dasharray: 2 2; stroke-opacity: .8; }
.bm-node.k-pool .bm-dot { fill-opacity: .12; stroke-dasharray: 3 3; }
.bm-ring { fill: none; stroke-width: 1.2; stroke-opacity: 0; }
.bm-node.is-sniper .bm-ring { stroke: var(--caution); stroke-opacity: .7; stroke-dasharray: 2 3; }
.bm-node.is-serial .bm-ring { stroke: var(--danger); stroke-opacity: .85; }
.bm-node { cursor: pointer; transition: opacity .25s; }
.bm-node:hover .bm-dot { fill-opacity: .3; stroke-opacity: 1; }
.bm-node.is-sel .bm-dot { fill-opacity: .38; stroke-opacity: 1; stroke-width: 2; filter: drop-shadow(0 0 8px currentColor); }
.bm-rank { fill: var(--text-2); font: 500 10px var(--f-mono); text-anchor: middle; pointer-events: none; }
.bm-node.is-linked .bm-rank { fill: var(--text); }
.bm-link { fill: none; stroke-width: 1; stroke-opacity: .5; stroke-linecap: round; stroke-linejoin: round; transition: stroke-opacity .25s, stroke-width .25s; }
.bm-link.t-funded { stroke-dasharray: 4 3; }
.bm-link.t-key { stroke-dasharray: 1 3.5; stroke-width: 1.6; }
.bm-label { fill: var(--text-2); font: 500 10.5px var(--f-mono); pointer-events: none; opacity: 0; transition: opacity .2s; paint-order: stroke; stroke: var(--panel); stroke-width: 3px; }
.bm-label.is-fixed { opacity: .8; }
.bm-label.k-pool { fill: #8fa3c4; } .bm-label.k-dev { fill: var(--dev); }
.bm-svg.is-focus .bm-node:not(.is-on) { opacity: .18; }
.bm-svg.is-focus .bm-link { stroke-opacity: .08; }
.bm-svg.is-focus .bm-link.is-on { stroke-opacity: 1; stroke-width: 1.4; animation: flow 1.1s linear infinite; }
.bm-svg.is-focus .bm-link.t-transfer.is-on { stroke-dasharray: 6 4; }
.bm-svg.is-focus .bm-label.is-on { opacity: 1; }
.bm-svg.is-focus .bm-label.is-fixed:not(.is-on) { opacity: .15; }
@keyframes flow { to { stroke-dashoffset: -20; } }

.bm-bar { position: absolute; left: 10px; top: 10px; display: flex; gap: 4px; flex-wrap: wrap; max-width: calc(100% - 120px); }
.bm-tg { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px var(--f-sans); color: var(--muted); background: rgba(17, 19, 22, .85); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; cursor: pointer; backdrop-filter: blur(4px); }
.bm-tg:hover { color: var(--text-2); }
.bm-tg.is-on { color: var(--text); border-color: var(--line-2); }
.bm-tg:not(.is-on) .ln { opacity: .3; }
.ln { width: 14px; height: 0; border-top: 1.5px solid #c9ced6; display: inline-block; }
.ln-funded { border-top-style: dashed; } .ln-key { border-top-style: dotted; border-top-width: 2px; }
.bm-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: rgba(17, 19, 22, .85); backdrop-filter: blur(4px); }
.bm-zoom button { width: 28px; height: 26px; display: grid; place-items: center; background: transparent; color: var(--text-2); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font: 500 14px var(--f-sans); }
.bm-zoom button:last-child { border-bottom: 0; }
.bm-zoom button:hover { background: var(--panel-2); color: var(--text); }
.bm-zoom svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.bm-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); background: rgba(13, 15, 18, .95); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 8px; font: 500 11.5px var(--f-mono); color: var(--text); white-space: pre; z-index: 3; }
.bm-note { position: absolute; left: 12px; bottom: 9px; font: 500 11px var(--f-mono); color: var(--muted); pointer-events: none; }

.bm-side { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; max-height: 420px; }
@media (max-width: 900px) { .bm-side { border-left: 0; border-top: 1px solid var(--line); max-height: none; } }
.bm-detail { padding: 12px 14px; border-bottom: 1px solid var(--line); overflow-y: auto; max-height: 250px; flex: none; animation: fadein .2s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.bm-d-head { display: flex; align-items: center; gap: 8px; }
.bm-d-swatch { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--c) 30%, transparent); border: 1.5px solid var(--c); flex: none; }
.bm-d-head b { font-size: 13.5px; font-weight: 600; }
.bm-copy { font: 400 12px var(--f-mono); color: var(--text-2); background: none; border: 0; padding: 0; cursor: pointer; margin-left: auto; }
.bm-copy:hover { color: var(--link); } .bm-copy.is-copied { color: var(--clean); }
.bm-close { background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; line-height: 1; padding: 0 0 0 6px; }
.bm-d-grid { margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bm-d-grid dt { font: 500 10px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bm-d-grid dd { margin: 2px 0 0; font: 500 12.5px var(--f-mono); }
.bm-d-tags { margin: 8px 0 0; }
.bm-d-links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; color: var(--text-2); }
.bm-d-links li { display: flex; align-items: center; gap: 7px; }
.bm-jump { font: 500 12px var(--f-mono); color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; border-bottom: 1px dotted var(--muted); }
.bm-jump:hover { color: var(--link); border-color: var(--link); }
.bm-ext { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--muted); text-decoration: none; }
.bm-ext:hover { color: var(--link); }
.bm-list-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.bm-search { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 400 12px var(--f-mono); padding: 4px 2px; }
.bm-search:focus { outline: none; }
.bm-search::placeholder { color: #5d6570; }
.bm-count { font: 500 11px var(--f-mono); color: var(--muted); }
.bm-list { list-style: none; margin: 0; padding: 2px 0; overflow-y: auto; flex: 1; min-height: 120px; }
@media (max-width: 900px) { .bm-list { max-height: 260px; } }
.bm-list li[data-id] { display: grid; grid-template-columns: 22px 8px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 12px; cursor: pointer; font-size: 12px; color: var(--text-2); transition: background .15s; }
.bm-list li[data-id]:hover, .bm-list li.is-hover { background: var(--panel-2); color: var(--text); }
.bm-list li.is-sel { background: #1c222b; color: var(--text); }
.bm-l-rank { font: 500 10.5px var(--f-mono); color: var(--muted); text-align: right; }
.bm-l-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.2px solid var(--c); background: color-mix(in srgb, var(--c) 30%, transparent); }
.bm-l-dot[style*="transparent"] { border-color: #4a525c; }
.bm-l-id { font-family: var(--f-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-l-pct { font-family: var(--f-mono); }
.bm-empty { padding: 12px; color: var(--muted); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .bm-svg.is-focus .bm-link.is-on { animation: none; } }

/* ---------------------------------------------------------------- numbered steps, after Nearly's launch page */
.sec-title { display: flex; align-items: center; gap: 16px; }
.stn-n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font: 700 17px var(--f-sans); letter-spacing: -.03em;
  color: var(--accent-ink); background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), var(--glow); }
@media (max-width: 560px) { .stn-n { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; } }
.sl-steps li::before { display: none; }
.sl-n { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; font: 700 11px var(--f-sans); letter-spacing: -.02em;
  color: var(--muted); border: 1px solid var(--line-2); transition: all .3s ease; }
.sl-steps li.is-now .sl-n { color: var(--accent-ink); border-color: transparent; background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 22px -4px var(--accent-b); animation: breathe 1.6s ease-in-out infinite; }
.sl-steps li.is-done .sl-n { color: var(--accent); border-color: color-mix(in srgb, var(--accent-a) 35%, transparent); background: rgba(20, 184, 166, .12); }
@keyframes breathe { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 30px -2px var(--accent-b); } }
.sl-bar i { background: linear-gradient(90deg, transparent, var(--accent-a), transparent); }
.eye-loader { background: linear-gradient(90deg, transparent, rgba(122, 240, 220, .35) 18%, rgba(122, 240, 220, .35) 82%, transparent); }
.eye-loader i { background: linear-gradient(90deg, transparent, var(--accent-a), transparent); }
.risk-bar::before { background: linear-gradient(90deg, var(--clean) 0 25%, var(--caution) 25% 55%, var(--danger) 55% 100%); }
.seg button.is-on { background: var(--line-2); color: var(--text); }
.coins th[aria-sort] .sort { color: var(--accent); }
.ex:hover { border-color: color-mix(in srgb, var(--accent-a) 40%, transparent); }
@media (prefers-reduced-motion: reduce) { .sl-steps li.is-now .sl-n { animation: none; } }

.ic { position: relative; flex: none; width: 28px; height: 28px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); }
.ic::before { content: attr(data-l); font: 600 12px var(--f-mono); color: var(--muted); text-transform: uppercase; }
.ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coins-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.chk input { accent-color: var(--accent-b); width: 14px; height: 14px; margin: 0; }
.bm-node.is-sel .bm-dot { filter: drop-shadow(0 0 7px var(--accent-b)); }
.ex-sk { display: inline-block; width: 64px; height: 26px; vertical-align: middle; border-color: var(--line); background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%); background-size: 300% 100%; animation: shimmer 1.6s ease-in-out infinite; }
.dex-ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-link svg[stroke] { fill: none; }

/* the focused wallet's cluster: a soft outline and its total share of supply */
.bm-hull { opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.bm-hull.is-on { opacity: 1; }
.bm-hull-shape { fill: color-mix(in srgb, var(--c) 9%, transparent); stroke: var(--c); stroke-opacity: .55; stroke-width: 1.2; stroke-dasharray: 4 4; }
.bm-hull-label { fill: var(--c); font: 600 11.5px var(--f-mono); paint-order: stroke; stroke: var(--panel); stroke-width: 4px; letter-spacing: .02em; }
