:root {
  --ink: #050605;
  --panel: #0b0e0a;
  --panel-2: #10140f;
  --bone: #e9e7dd;
  --muted: rgba(233, 231, 221, 0.62);
  --line: rgba(233, 231, 221, 0.14);
  --acid: #d8ff3e;
  --orange: #ff5a00;
  --danger: #ff4b3e;
  --warn: #ffb020;
  --good: #a7f432;
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: var(--ink);
  color: var(--bone);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 90, 0, 0.11), transparent 28rem),
    radial-gradient(circle at 10% 48%, rgba(216, 255, 62, 0.05), transparent 26rem),
    var(--ink);
}

a { color: inherit; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
.visually-hidden:where(:not(:focus-within, :active)) { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

.skip-link {
  position: absolute;
  z-index: 99;
  top: -6rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--acid);
  color: var(--ink);
  font: 500 0.75rem/1 "DM Mono", monospace;
}
.skip-link:focus { top: 0.75rem; }

.radar-header {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.radar-home { display: inline-flex; min-height: 48px; align-items: center; gap: 0.55rem; color: var(--muted); text-decoration: none; }
.radar-home span { font-size: 1rem; }
.radar-home img { display: block; width: 36px; height: 36px; object-fit: contain; }
.radar-header nav { display: flex; align-items: center; gap: 0.5rem; }
.radar-header nav a {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding-inline: 1rem;
  color: var(--muted);
  font: 500 0.67rem/1 "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.radar-header nav a[aria-current="page"] { background: var(--acid); color: var(--ink); }

main, footer { width: min(1320px, calc(100% - 2.5rem)); margin-inline: auto; }
.radar-hero {
  display: grid;
  min-height: 36rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  align-items: center;
  border-inline: 1px solid var(--line);
}
.hero-copy { min-width: 0; padding: clamp(2rem, 6vw, 6rem); container-type: inline-size; }
.eyebrow, .section-no, .hero-note, .status-strip, .summary-grid span, .result-count, .source-status, .hero-mascot figcaption {
  font-family: "DM Mono", monospace;
  letter-spacing: 0.12em;
}
.eyebrow, .section-no { color: var(--acid); font-size: 0.7rem; }
.radar-hero h1, .radar-titlebar h2, .method-shell h2, .scanner-intro h2, .result-header h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: -0.06em;
  line-height: 0.88;
}
.radar-hero h1 { margin-top: 1.1rem; font-size: clamp(3.8rem, 8vw, 7.2rem); }
.radar-hero h1 span { color: var(--orange); }
@supports (container-type: inline-size) { .radar-hero h1 { font-size: clamp(3.8rem, 15cqi, 7.2rem); } }
.hero-lede { max-width: 46rem; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.65; }
.hero-note { margin-top: 1.25rem; color: rgba(233, 231, 221, 0.42); font-size: 0.62rem; line-height: 1.6; }
.hero-mascot { min-width: 0; align-self: end; margin: 0; padding: 2rem 2rem 0; overflow: hidden; text-align: center; }
.hero-mascot img { display: block; width: min(100%, 23rem); height: auto; aspect-ratio: 1; margin-inline: auto; object-fit: cover; filter: drop-shadow(0 0 3rem rgba(255, 90, 0, 0.18)); }
.hero-mascot figcaption { position: relative; margin-top: -0.25rem; padding: 1rem; background: var(--ink); color: var(--muted); font-size: 0.56rem; }

.status-strip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(11, 14, 10, 0.9);
  color: var(--muted);
  font-size: 0.62rem;
}
.status-strip p { margin: 0; }
.status-strip p:first-child { display: flex; align-items: center; gap: 0.65rem; color: var(--bone); }
.live-dot { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0.8rem var(--warn); }
.status-strip[data-state="live"] .live-dot { background: var(--good); box-shadow: 0 0 0.8rem var(--good); }
.status-strip[data-state="error"] .live-dot { background: var(--danger); box-shadow: 0 0 0.8rem var(--danger); }
.status-strip button {
  min-width: 44px;
  min-height: 44px;
  padding-inline: 1.1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone);
  font: 500 0.65rem/1 "DM Mono", monospace;
  cursor: pointer;
}
.status-strip button:hover { border-color: var(--acid); color: var(--acid); }
.status-strip button:disabled { cursor: wait; opacity: 0.55; }

.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-inline: 1px solid var(--line); }
.summary-grid article { min-width: 0; padding: clamp(1.25rem, 3vw, 2.2rem); border-right: 1px solid var(--line); }
.summary-grid article:last-child { border-right: 0; }
.summary-grid span { display: block; color: var(--muted); font-size: 0.58rem; }
.summary-grid strong { display: block; margin-top: 0.55rem; font: 400 clamp(2rem, 4vw, 3.6rem)/1 "Archivo Black", sans-serif; }

.scanner-shell,
.result-shell {
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.scanner-shell {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(20rem, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
  background: rgba(11, 14, 10, 0.82);
}
.scanner-intro { container-type: inline-size; }
.scanner-intro h2,
.result-header h2 { margin-top: 0.8rem; font-size: clamp(2.7rem, 5vw, 5.8rem); }
@supports (container-type: inline-size) { .scanner-intro h2 { font-size: clamp(2.7rem, 15cqi, 4.75rem); } }
.scanner-intro > p:last-child { max-width: 32rem; color: var(--muted); line-height: 1.65; }
.scan-form fieldset { margin: 0; padding: 0; border: 0; }
.scan-form legend,
.address-field > label,
.checks-panel h3,
.sources-panel h3 {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font: 500 0.68rem/1 "DM Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.chain-options { display: grid; grid-template-columns: repeat(4, 1fr); }
.chain-options label { position: relative; }
.chain-options input {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}
.chain-options span {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 500 0.68rem/1 "DM Mono", monospace;
  cursor: pointer;
}
.chain-options label + label span { border-left: 0; }
.chain-options input:checked + span { background: var(--acid); color: var(--ink); }
.chain-options input:focus-visible + span { outline: 3px solid var(--acid); outline-offset: 3px; }
.address-field { margin-top: 1.75rem; }
.address-field > label { display: block; }
.address-row { display: grid; grid-template-columns: 1fr auto; }
.address-row input {
  min-width: 0;
  min-height: 58px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(233, 231, 221, 0.3);
  border-radius: 0;
  background: #030403;
  color: var(--bone);
  font: 1rem/1.2 "DM Mono", monospace;
}
.address-row input::placeholder { color: rgba(233, 231, 221, 0.3); }
.address-row input:user-invalid { border-color: var(--danger); }
.address-row input:user-valid { border-color: rgba(167, 244, 50, 0.65); }
.address-row button {
  min-height: 58px;
  padding-inline: 1.7rem;
  border: 0;
  background: var(--acid);
  color: var(--ink);
  font: 500 0.75rem/1 "DM Mono", monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.address-row button:hover { background: var(--bone); }
.address-row button:disabled { cursor: wait; opacity: 0.55; }
.field-help,
.form-error { min-height: 1.2rem; margin: 0.6rem 0 0; font: 0.61rem/1.45 "DM Mono", monospace; }
.field-help { color: rgba(233, 231, 221, 0.42); }
.form-error { color: #ff8178; }
.scan-status {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.8rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(216, 255, 62, 0.25);
  background: rgba(216, 255, 62, 0.04);
}
.scan-status[hidden],
.result-shell[hidden] { display: none; }
.scan-status > span {
  grid-row: 1 / 3;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(216, 255, 62, 0.25);
  border-top-color: var(--acid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.scan-status strong,
.scan-status small { font-family: "DM Mono", monospace; }
.scan-status strong { color: var(--acid); font-size: 0.69rem; }
.scan-status small { color: var(--muted); font-size: 0.6rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-shell { background: var(--panel); }
.result-header { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.result-header > *, .token-id, .check-copy, .provider-row span { min-width: 0; }
.token-id { display: grid; gap: 0.4rem; margin: 1.2rem 0 0; }
.token-id strong { font-size: 1.15rem; }
.token-id span { overflow-wrap: anywhere; color: var(--muted); font: 0.68rem/1.4 "DM Mono", monospace; }
.score-block { display: flex; align-items: center; gap: 1.2rem; }
.score-ring {
  display: grid;
  width: 9rem;
  aspect-ratio: 1;
  place-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--panel) 61%, transparent 62%), conic-gradient(var(--score-color, var(--acid)) calc(var(--score, 0) * 1%), rgba(233, 231, 221, 0.1) 0);
  text-align: center;
}
.score-ring strong { font: 3rem/0.9 "Archivo Black", sans-serif; }
.score-ring span { margin-top: 0.35rem; color: var(--muted); font-size: 0.6rem; }
.score-block > div:last-child { display: grid; gap: 0.55rem; max-width: 13rem; }
.score-block > div:last-child > span,
.score-block small { color: var(--muted); font-size: 0.58rem; }
.score-block > div:last-child > strong { font: 1.2rem/1.1 "Archivo Black", sans-serif; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-card { min-height: 8.5rem; padding: 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-card span { color: var(--muted); font: 0.58rem/1 "DM Mono", monospace; letter-spacing: 0.1em; }
.metric-card strong { display: block; margin-top: 1.35rem; overflow-wrap: anywhere; font: 1.25rem/1.1 "Archivo Black", sans-serif; }
.result-columns { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 2.5rem; margin-top: 3rem; }
.checks-list, .sources-panel ul { margin: 0; padding: 0; list-style: none; }
.checks-list { border-top: 1px solid var(--line); }
.check-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.check-icon { display: grid; width: 1.5rem; height: 1.5rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 0.7rem/1 "DM Mono", monospace; }
.check-item[data-status="pass"] .check-icon { color: var(--good); }
.check-item[data-status="warn"] .check-icon { color: var(--warn); }
.check-item[data-status="danger"] .check-icon { color: var(--danger); }
.check-item[data-status="unknown"] .check-icon { color: var(--muted); }
.check-copy { display: grid; gap: 0.35rem; }
.check-copy strong { font-size: 0.86rem; }
.check-copy span { overflow-wrap: anywhere; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.check-source { color: rgba(233, 231, 221, 0.36); font: 0.54rem/1 "DM Mono", monospace; }
.sources-panel > ul { border-top: 1px solid var(--line); }
.provider-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font: 0.66rem/1 "DM Mono", monospace; }
.provider-row span { overflow-wrap: anywhere; }
.provider-row span:last-child { color: var(--muted); text-align: end; }
.provider-row[data-state="ok"] span:last-child { color: var(--good); }
.tokensniffer-card { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid rgba(255, 176, 32, 0.35); background: rgba(255, 176, 32, 0.04); }
.tokensniffer-card > span { color: var(--warn); font: 0.58rem/1 "DM Mono", monospace; letter-spacing: 0.1em; }
.tokensniffer-card > strong { display: block; margin-top: 0.7rem; font: 0.85rem/1.15 "Archivo Black", sans-serif; }
.tokensniffer-card p { color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.tokensniffer-card a,
.explorer-link { display: inline-grid; min-height: 48px; align-items: center; color: var(--acid); font: 0.62rem/1 "DM Mono", monospace; text-decoration: none; }
.explorer-link { margin-top: 0.8rem; }
.risk-disclaimer { margin: 3rem 0 0; padding: 1.2rem; border-left: 3px solid var(--orange); background: rgba(255, 90, 0, 0.05); color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.result-time { margin: 1rem 0 0; color: rgba(233, 231, 221, 0.38); font-size: 0.55rem; }

.radar-shell, .method-shell { padding: clamp(1.5rem, 4vw, 4rem); border: 1px solid var(--line); border-bottom: 0; background: rgba(5, 6, 5, 0.7); }
.radar-titlebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.48fr); gap: 2rem; align-items: end; }
.radar-titlebar h2, .method-shell h2 { margin-top: 0.8rem; font-size: clamp(2.8rem, 6vw, 6rem); }
.radar-titlebar > p { margin: 0; color: var(--muted); line-height: 1.65; }

.view-tabs { display: flex; flex-wrap: wrap; margin-top: 2.5rem; border-bottom: 1px solid var(--line); }
.view-tabs button {
  min-height: 48px;
  padding-inline: 1.3rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: 500 0.66rem/1 "DM Mono", monospace;
  cursor: pointer;
}
.view-tabs button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }

.radar-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 1rem; padding-block: 1.5rem; }
.dex-badge { color: var(--orange); font-size: 0.6rem; }
.filter-field label { display: block; margin-bottom: 0.55rem; color: var(--muted); font: 500 0.58rem/1 "DM Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.filter-field input, .filter-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  color: var(--bone);
  font: 400 0.75rem/1 "DM Mono", monospace;
}
.filter-field input::placeholder { color: rgba(233, 231, 221, 0.3); }
.result-count { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.58rem; }

.radar-table-wrapper { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); container-type: inline-size; }
table { width: 100%; min-width: 1100px; border-collapse: separate; border-spacing: 0; }
caption { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
thead { position: sticky; z-index: 2; top: 0; background: #090b08; }
th, td { padding: 1rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
thead th { color: var(--muted); font: 500 0.57rem/1 "DM Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; }
tbody th { position: sticky; z-index: 1; left: 0; min-width: 17rem; background: #080a07; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover th, tbody tr:hover td { background: rgba(216, 255, 62, 0.035); }
.token-row { cursor: pointer; }
.token-cell { display: grid; width: 100%; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.token-cell:hover .token-copy strong { color: var(--acid); }
.token-monogram { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid var(--line); background: var(--panel-2); color: var(--orange); font: 500 0.7rem/1 "DM Mono", monospace; }
.token-copy { min-width: 0; }
.token-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.82rem; }
.token-meta { display: flex; gap: 0.45rem; align-items: center; margin-top: 0.35rem; }
.chain-badge { padding: 0.24rem 0.36rem; background: rgba(216, 255, 62, 0.1); color: var(--acid); font: 500 0.52rem/1 "DM Mono", monospace; }
.token-address { color: var(--muted); font: 400 0.55rem/1 "DM Mono", monospace; }
.cell-label { display: none; }
td { color: var(--bone); font: 400 0.7rem/1.35 "DM Mono", monospace; white-space: nowrap; }
.change-up { color: var(--good); }
.change-down { color: #ff8178; }
.social-links { display: flex; gap: 0.35rem; }
.social-links a { display: grid; min-width: 30px; min-height: 30px; place-items: center; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 0.58rem; }
.social-links a:hover { border-color: var(--acid); color: var(--acid); }
.no-social { color: rgba(233, 231, 221, 0.35); }
.score-link { display: inline-flex; min-height: 44px; align-items: center; gap: 0.55rem; padding: 0.5rem 0.65rem; border: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--warn); font: inherit; text-align: left; cursor: pointer; }
.score-link[data-risk="low"] { color: var(--good); }
.score-link[data-risk="high"], .score-link[data-risk="critical"] { color: var(--danger); }
.score-link[data-risk="pending"] { color: var(--muted); }
.score-link strong { font-size: 0.9rem; }
.score-link span { max-width: 7rem; font-size: 0.5rem; line-height: 1.25; white-space: normal; }
.empty-state { padding: 4rem 1.5rem; text-align: center; }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { font-family: "Archivo Black", sans-serif; font-size: 1.3rem; }
.empty-state span { margin-top: 0.65rem; color: var(--muted); }
.radar-error { min-height: 1.3rem; margin: 1rem 0 0; color: #ff8178; font: 0.65rem/1.5 "DM Mono", monospace; }

.token-detail {
  width: min(1240px, calc(100% - 2rem));
  max-width: none;
  height: min(900px, calc(100svh - 2rem));
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 62, 0.35);
  background: #070907;
  color: var(--bone);
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.75);
}
.token-detail::backdrop { background: rgba(0, 0, 0, 0.82); }
.detail-shell { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.detail-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 7, 0.97);
}
.detail-identity { display: flex; min-width: 0; align-items: center; gap: 0.9rem; }
.detail-monogram { display: grid; flex: 0 0 auto; width: 3rem; height: 3rem; place-items: center; border: 1px solid var(--line); color: var(--orange); font: 500 0.7rem/1 "DM Mono", monospace; }
.detail-identity > div { min-width: 0; }
.detail-identity .section-no { margin: 0 0 0.4rem; font-size: 0.56rem; }
.detail-identity h2 { overflow: hidden; margin: 0; text-overflow: ellipsis; white-space: nowrap; font: clamp(1rem, 2vw, 1.5rem)/1.05 "Archivo Black", sans-serif; }
.detail-identity #detailPair { overflow: hidden; margin: 0.45rem 0 0; color: var(--muted); font: 0.58rem/1 "DM Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }
.detail-contract { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.45rem; align-items: center; margin-top: 0.55rem; }
.detail-contract > span:first-child { color: var(--acid); font: 500 0.52rem/1 "DM Mono", monospace; letter-spacing: 0.08em; }
.detail-contract code { min-width: 0; color: var(--bone); font: 0.58rem/1.35 "DM Mono", monospace; overflow-wrap: anywhere; }
.detail-contract button { min-width: 64px; min-height: 32px; padding: 0.4rem 0.6rem; border: 1px solid var(--line); background: var(--panel-2); color: var(--bone); font: 500 0.56rem/1 "DM Mono", monospace; cursor: pointer; }
.detail-contract button:hover { border-color: var(--acid); color: var(--acid); }
.detail-close { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--bone); font-size: 1.8rem; cursor: pointer; }
.detail-close:hover { border-color: var(--acid); color: var(--acid); }
.detail-loading { display: flex; min-height: 18rem; align-items: center; justify-content: center; gap: 0.8rem; color: var(--acid); font: 0.7rem/1 "DM Mono", monospace; }
.detail-loading[hidden], .detail-content[hidden] { display: none; }
.detail-loading > span { width: 1rem; height: 1rem; border: 2px solid rgba(216, 255, 62, 0.25); border-top-color: var(--acid); border-radius: 50%; animation: spin 0.8s linear infinite; }
.detail-error { margin: 0; padding: 1.5rem; color: #ff8178; font: 0.72rem/1.5 "DM Mono", monospace; }
.detail-error:empty { display: none; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 0.45fr); }
.detail-chart-panel { min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); border-right: 1px solid var(--line); }
.chart-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.chart-header > div { display: grid; gap: 0.35rem; }
.chart-header > div:last-child { justify-items: end; text-align: right; }
.chart-header span, .chart-header small { color: var(--muted); font: 0.56rem/1.35 "DM Mono", monospace; letter-spacing: 0.08em; }
.chart-header strong { font: clamp(1.8rem, 4vw, 3.5rem)/1 "Archivo Black", sans-serif; }
.chart-intervals { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.chart-intervals button { min-width: 48px; min-height: 48px; border: 1px solid var(--line); background: transparent; color: var(--bone); font: 0.75rem "DM Mono", monospace; cursor: pointer; }
.chart-intervals button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }
.chart-intervals button:disabled { border-color: rgba(233, 231, 221, 0.08); color: rgba(233, 231, 221, 0.25); cursor: not-allowed; }
.chart-status-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 2.5rem; }
.chart-status { color: var(--muted); font: 0.65rem/1.5 "DM Mono", monospace; }
.chart-status:empty { display: none; }
.chart-retry, .detail-freshness button { min-height: 44px; padding: 0.6rem 0.8rem; border: 1px solid var(--line); background: transparent; color: var(--bone); font: 0.6rem/1 "DM Mono", monospace; cursor: pointer; }
.chart-retry:hover, .detail-freshness button:hover { border-color: var(--acid); color: var(--acid); }
.chart-retry[hidden] { display: none; }
.chart-stage { position: relative; min-height: 26rem; border: 1px solid var(--line); background: linear-gradient(rgba(216, 255, 62, 0.018), rgba(216, 255, 62, 0.005)); }
.chart-stage svg { display: block; width: 100%; height: 26rem; }
.chart-stage svg[hidden] { display: none; }
.chart-stage p { position: absolute; inset: 0; display: grid; margin: 0; place-items: center; padding: 2rem; color: var(--muted); font: 0.65rem/1.5 "DM Mono", monospace; text-align: center; }
.chart-stage p[hidden] { display: none; }
.chart-gridline { stroke: rgba(233, 231, 221, 0.09); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-label { fill: rgba(233, 231, 221, 0.65); font: 13px "DM Mono", monospace; }
.chart-volume { opacity: 0.3; stroke: none; }
.candle-wick { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.candle-body { vector-effect: non-scaling-stroke; }
.candle-up { fill: var(--good); stroke: var(--good); }
.candle-down { fill: var(--danger); stroke: var(--danger); }
.chart-attribution { margin: 0.8rem 0 0; color: rgba(233, 231, 221, 0.42); font: 0.54rem/1.5 "DM Mono", monospace; }
.detail-overview { min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.detail-score { display: grid; gap: 0.5rem; padding: 1.25rem; border: 1px solid var(--line); }
.detail-score span, .detail-score small { color: var(--muted); font: 0.58rem/1.4 "DM Mono", monospace; }
.detail-score strong { color: var(--warn); font: 2rem/1 "Archivo Black", sans-serif; }
.detail-score[data-risk="low"] strong { color: var(--good); }
.detail-score[data-risk="high"] strong, .detail-score[data-risk="critical"] strong { color: var(--danger); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 1.25rem 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.overview-grid div { min-width: 0; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.overview-grid dt { color: var(--muted); font: 0.52rem/1 "DM Mono", monospace; }
.overview-grid dd { overflow-wrap: anywhere; margin: 0.7rem 0 0; font: 1rem/1.1 "Archivo Black", sans-serif; }
.detail-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.detail-links a { display: grid; min-height: 44px; place-items: center; padding-inline: 0.75rem; border: 1px solid var(--line); color: var(--muted); font: 0.56rem/1 "DM Mono", monospace; text-decoration: none; }
.detail-links a:hover { border-color: var(--acid); color: var(--acid); }
.detail-scan { width: 100%; min-height: 52px; margin-top: 1.25rem; border: 0; background: var(--acid); color: var(--ink); font: 500 0.67rem/1 "DM Mono", monospace; letter-spacing: 0.08em; cursor: pointer; }
.detail-scan:hover { background: var(--bone); }
.detail-activity { min-width: 0; grid-column: 1 / -1; padding: clamp(1.25rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.detail-activity header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.detail-activity header p { margin: 0; }
.detail-activity h3 { margin: 0; font: clamp(1.3rem, 3vw, 2.4rem)/1 "Archivo Black", sans-serif; }
.activity-table-wrapper { max-width: 100%; margin-top: 1.25rem; overflow-x: auto; border: 1px solid var(--line); container-type: inline-size; }
.activity-table { min-width: 680px; }
.activity-table thead { position: static; }
.activity-table tbody th { position: static; min-width: 0; background: transparent; color: var(--acid); font: 500 0.68rem/1 "DM Mono", monospace; }
.activity-table th, .activity-table td { background: transparent; }
.activity-table .buy-value { color: var(--good); }
.activity-table .sell-value { color: #ff8178; }
.detail-lower { min-width: 0; grid-column: 1 / -1; padding: clamp(1.25rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.detail-lower > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.detail-lower > header p { margin: 0; }
.detail-lower h3 { margin: 0; font: clamp(1.3rem, 3vw, 2.4rem)/1 "Archivo Black", sans-serif; }
.detail-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-tabs button { min-height: 48px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 0.62rem/1 "DM Mono", monospace; letter-spacing: 0.07em; cursor: pointer; }
.detail-tabs button:hover { color: var(--bone); }
.detail-tabs button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }
.detail-data-panel[hidden] { display: none; }
.detail-data-wrapper { max-width: 100%; margin-top: 1rem; overflow-x: auto; border: 1px solid var(--line); }
.detail-data-table { min-width: 760px; }
.detail-data-table thead { position: static; }
.detail-data-table th, .detail-data-table td { background: transparent; }
.detail-data-table tbody th { position: static; min-width: 0; background: transparent; font: inherit; }
.detail-data-table a { color: var(--bone); text-decoration-color: rgba(216, 255, 62, 0.5); text-underline-offset: 0.2em; }
.detail-data-table a:hover { color: var(--acid); }
.detail-data-table .buy-value { color: var(--good); }
.detail-data-table .sell-value { color: #ff8178; }
.detail-data-note { margin: 1rem 0 0; color: var(--muted); font: 0.58rem/1.5 "DM Mono", monospace; }
.detail-data-empty { padding: 1.5rem !important; color: var(--muted); text-align: center; }
.detail-footer { display: flex; min-height: auto; grid-column: 1 / -1; justify-content: space-between; gap: 1rem; padding: 1rem 2.5rem; border: 0; border-top: 1px solid var(--line); color: rgba(233, 231, 221, 0.42); font: 0.54rem/1.4 "DM Mono", monospace; letter-spacing: 0; }
.detail-footer span:first-child { overflow-wrap: anywhere; }
.detail-freshness { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }

.method-shell { background: rgba(11, 14, 10, 0.84); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-grid article { padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid article > span { color: var(--acid); font: 500 0.6rem/1 "DM Mono", monospace; }
.method-grid h3 { margin: 1rem 0 0.65rem; font-family: "Archivo Black", sans-serif; font-size: 1rem; }
.method-grid p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.65; }
.source-status { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; color: var(--muted); font-size: 0.56rem; }
.source-status span { padding: 0.7rem; border: 1px solid var(--line); }
.source-status strong { color: var(--bone); }
.source-status strong[data-state="ok"] { color: var(--good); }
.source-status strong[data-state="unavailable"] { color: var(--danger); }
.disclaimer { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.75rem; }
footer { display: flex; justify-content: space-between; padding: 2rem; border: 1px solid var(--line); color: var(--muted); font: 500 0.62rem/1 "DM Mono", monospace; letter-spacing: 0.1em; }

@media (max-width: 960px) {
  .radar-hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-mascot { width: min(30rem, 100%); justify-self: center; padding-top: 0; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-grid article:nth-child(2) { border-right: 0; }
  .summary-grid article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .radar-titlebar { grid-template-columns: 1fr; }
  .radar-filters { grid-template-columns: repeat(2, 1fr); }
  .search-field { grid-column: 1 / -1; }
  .scanner-shell { grid-template-columns: 1fr; }
  .scan-status { grid-column: 1; }
  .result-header { grid-template-columns: 1fr; }
  .score-block { justify-content: space-between; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .result-columns { grid-template-columns: 1fr; }
  .detail-content { grid-template-columns: 1fr; }
  .detail-chart-panel { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  main, footer { width: min(100%, calc(100% - 1rem)); }
  .radar-header { padding-inline: 0.75rem; }
  .radar-header nav a { padding-inline: 0.7rem; }
  .hero-copy { padding: 3rem 1.2rem 2rem; }
  .radar-hero h1 { font-size: clamp(3.35rem, 17vw, 5.5rem); }
  .hero-mascot { padding-inline: 1rem; }
  .status-strip { grid-template-columns: 1fr auto; }
  .status-strip p:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .summary-grid strong { font-size: 2rem; }
  .scanner-shell, .result-shell, .radar-shell, .method-shell { padding: 1.2rem; }
  .view-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .view-tabs button { border-bottom: 1px solid var(--line); }
  .radar-filters { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .method-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 620px) {
  .token-detail { width: 100%; height: 100svh; border: 0; }
  .detail-header { padding: 0.8rem; }
  .detail-monogram { width: 2.6rem; height: 2.6rem; }
  .detail-contract { grid-template-columns: minmax(0, 1fr) auto; }
  .detail-contract > span:first-child { grid-column: 1 / -1; }
  .detail-contract code { font-size: 0.52rem; }
  .detail-chart-panel, .detail-overview, .detail-activity, .detail-lower { padding: 1rem; }
  .chart-header { align-items: start; }
  .chart-header > div:last-child { max-width: 48%; }
  .chart-stage, .chart-stage svg { min-height: 18rem; height: 18rem; }
  .detail-activity header { display: grid; }
  .detail-lower > header { display: grid; }
  .detail-tabs { grid-template-columns: 1fr; }
  .detail-footer { display: grid; padding: 1rem; }
  .chain-options { grid-template-columns: 1fr; gap: 0.5rem; }
  .chain-options label + label span { border-left: 1px solid var(--line); }
  .address-row { grid-template-columns: 1fr; gap: 0.65rem; }
  .address-row button { min-height: 52px; }
  .score-block { align-items: flex-start; }
  .score-ring { width: 7rem; }
  .score-ring strong { font-size: 2.3rem; }
  .metric-card { min-height: 7.5rem; padding: 1rem; }
  .check-item { grid-template-columns: auto minmax(0, 1fr); }
  .check-source { grid-column: 2; }
  .radar-table-wrapper { overflow: visible; border: 0; }
  .radar-table-wrapper table, .radar-table-wrapper tbody, .radar-table-wrapper tr, .radar-table-wrapper th, .radar-table-wrapper td { display: block; width: 100%; min-width: 0; }
  .radar-table-wrapper thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .radar-table-wrapper tbody { display: grid; gap: 1rem; }
  .radar-table-wrapper tbody tr { border: 1px solid var(--line); background: rgba(11, 14, 10, 0.72); }
  .radar-table-wrapper tbody th { position: static; min-width: 0; border-bottom: 1px solid var(--line); }
  .radar-table-wrapper tbody td { display: grid; grid-template-columns: minmax(7rem, 0.9fr) 1.1fr; gap: 1rem; align-items: center; white-space: normal; }
  .cell-label { display: block; color: var(--muted); font-size: 0.54rem; letter-spacing: 0.08em; text-transform: uppercase; }
  .social-links { justify-content: flex-start; }
  .score-link { justify-self: start; }
}

@media (pointer: coarse) {
  .radar-header nav a, .view-tabs button, .status-strip button, .filter-field input, .filter-field select, .score-link, .token-cell, .detail-contract button { min-height: 48px; }
  .social-links a { min-width: 44px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan-status > span { animation: none; }
  .detail-loading > span { animation: none; }
}

/* Calm, feed-first layout. Secondary controls stay available on demand. */
.chart-stage { min-height: 440px; background: #10151d; border-color: #303744; }
#detailChart { width: 100%; height: 440px; }
#detailChart[hidden] { display: none; }
.chart-stage table { min-width: 0; border-collapse: collapse; }
.chart-stage td, .chart-stage th { padding: 0; border: 0; background: transparent !important; }
.chart-stage svg { width: auto; height: auto; min-height: 0; }
.chart-legend { min-height: 42px; margin: 10px 0; color: #c3ccd8; font: 11px/1.7 "DM Mono", monospace; overflow-wrap: anywhere; }
.chart-navigation { display: flex; flex-wrap: wrap; gap: 6px; }
.chart-navigation button { min-width: 44px; min-height: 44px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--bone); background: #151c25; cursor: pointer; }
.chart-navigation button:hover { background: #253143; }
.chart-hint, .chart-credit, .chart-data { font: 11px/1.6 Inter, sans-serif; color: var(--muted); }
.chart-credit a { text-underline-offset: 3px; }
.chart-data summary { display: flex; min-height: 44px; align-items: center; cursor: pointer; }
@media (max-width: 620px) { #detailChart { height: 350px; } .chart-stage { height: auto; min-height: 350px; } }
.site-footer { align-items: start; gap: 20px; }
.official-links { display: flex; flex-wrap: wrap; gap: 8px; }
.official-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border: 1px solid var(--line); color: var(--bone); text-decoration: none; }
.official-links a:hover, .official-links a:focus-visible { border-color: var(--acid); color: var(--acid); }
.official-links a:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.contact-panel { width: min(100%, 420px); font-family: Inter, sans-serif; letter-spacing: 0; }
.contact-panel summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 0.85rem; color: var(--bone); }
.contact-panel summary::after { content: '+'; margin-left: 12px; }
.contact-panel[open] summary::after { content: '−'; }
.contact-copy { padding: 12px 0; font-size: 0.85rem; line-height: 1.6; }
.contact-copy p { margin: 0 0 12px; }
.contact-copy a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; color: var(--bone); text-underline-offset: 4px; }
.contact-copy .contact-policy { margin: 12px 0 0; font-size: 0.75rem; color: var(--muted); }
body { background: #080b09; }
.radar-header { min-height: 64px; }
.radar-header nav a[aria-current="page"] { background: transparent; color: var(--bone); }
.radar-header nav a[href="#scanner"] { border: 1px solid var(--line); border-radius: 6px; letter-spacing: 0.02em; }
.radar-hero { min-height: 0; grid-template-columns: 1fr 140px; padding: 24px 32px; gap: 24px; }
.hero-copy { padding: 0; }
.hero-copy .eyebrow { margin: 0 0 10px; font-size: 0.6rem; color: var(--muted); }
.radar-hero h1 { margin: 0; font-family: Inter, system-ui, sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.035em; }
.radar-hero h1 br { display: none; }
.radar-hero h1 span { color: var(--bone); }
.hero-lede { margin-top: 12px; font-size: 0.92rem; line-height: 1.5; }
.hero-mascot { width: 120px; padding: 0; align-self: center; justify-self: end; border-radius: 10px; }
.hero-mascot img { filter: none; aspect-ratio: auto; object-fit: contain; }
.hero-mascot figcaption { display: none; }
.status-strip { min-height: 48px; padding: 6px 24px; font-size: 0.58rem; letter-spacing: 0.03em; background: transparent; }
.live-dot { box-shadow: none !important; width: 6px; height: 6px; }
.summary-grid article { padding: 12px 24px; display: flex; align-items: center; gap: 12px; }
.summary-grid span { font-size: 0.55rem; letter-spacing: 0.03em; }
.summary-grid strong { margin: 0; font: 600 1rem/1 Inter, sans-serif; }
.radar-shell { padding: 24px; background: #0b0f0c; }
.radar-titlebar { grid-template-columns: 1fr; gap: 8px; }
.radar-titlebar .section-no { display: none; }
.radar-titlebar h2 { margin: 0; font: 650 1.2rem/1.3 Inter, sans-serif; letter-spacing: -0.02em; text-transform: none; }
.radar-titlebar > p { max-width: 60rem; font-size: 0.8rem; line-height: 1.5; }
.radar-filters { grid-template-columns: minmax(180px, 2fr) repeat(2, minmax(140px, 1fr)); padding-block: 20px 12px; gap: 14px; }
.filter-field label { font-family: Inter, sans-serif; font-size: 0.72rem; letter-spacing: 0; text-transform: none; }
.filter-field input, .filter-field select { border-radius: 6px; font-family: Inter, sans-serif; font-size: 0.85rem; }
.more-filters { grid-column: 1 / -1; }
.more-filters summary { display: flex; align-items: center; gap: 6px; min-height: 44px; width: fit-content; cursor: pointer; color: var(--muted); font-size: 0.8rem; }
.more-filters summary::before { content: '+'; font-size: 1.2rem; }
.more-filters[open] summary::before { content: '−'; }
.extra-filter-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.extra-filter-fields .view-tabs { grid-column: 1 / -1; margin: 0; border: 0; gap: 6px; }
.view-tabs button { border: 1px solid var(--line); border-radius: 6px; padding-inline: 16px; font-family: Inter, sans-serif; font-size: 0.8rem; }
.view-tabs button[aria-pressed="true"] { background: #25321b; color: #d8eea5; border-color: #647348; }
.result-count { letter-spacing: 0.02em; }
.radar-table-wrapper table { min-width: 800px; }
.radar-table-wrapper tr > :nth-child(5), .radar-table-wrapper tr > :nth-child(7) { display: none; }
.radar-table-wrapper td, .radar-table-wrapper th { padding: 14px 12px; }
.token-monogram { border-radius: 6px; color: var(--bone); }
.dex-badge { color: var(--muted); }
.token-meta { flex-wrap: wrap; }
.token-address { display: none; }
.detail-score strong { font-size: 1.6rem; }
.chart-header strong { font-size: clamp(1.4rem, 3vw, 2.2rem); }
.detail-activity h3, .detail-lower h3 { font: 650 1.1rem/1.4 Inter, sans-serif; letter-spacing: 0; }
.chart-intervals button[aria-pressed="true"], .detail-tabs button[aria-pressed="true"] { background: #25321b; color: #d8eea5; }
.scanner-intro h2, .method-shell h2 { font: 700 clamp(1.4rem, 3vw, 2rem)/1.15 Inter, sans-serif; letter-spacing: -0.03em; }
.chain-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .radar-hero { grid-template-columns: 1fr 72px; padding: 20px 16px; gap: 12px; }
  .hero-mascot { width: 72px; }
  .radar-hero h1 { font-size: 1.6rem; }
  .hero-lede { font-size: 0.8rem; }
  .summary-grid article { padding: 12px; flex-direction: column; align-items: start; gap: 8px; }
  .radar-shell { padding: 16px; }
  .radar-filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .extra-filter-fields { grid-template-columns: 1fr; padding: 12px; }
  .extra-filter-fields .view-tabs { grid-template-columns: 1fr 1fr; }
  .chain-options { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .radar-table-wrapper table { min-width: 0; }
  .radar-table-wrapper tbody { gap: 0.75rem; }
  .radar-table-wrapper tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 8px; overflow: hidden; }
  .radar-table-wrapper tbody th { grid-column: 1 / -1; padding: 12px; }
  .radar-table-wrapper tbody td { display: grid; grid-template-columns: 1fr; gap: 0.35rem; min-height: 58px; padding: 9px 12px; border-right: 1px solid var(--line); font-family: Inter, sans-serif; font-size: 0.8rem; }
  .radar-table-wrapper tbody td:nth-child(even) { border-right: 0; }
  .radar-table-wrapper tbody td:nth-child(8) { grid-column: 1 / -1; padding: 10px 12px 12px; border-right: 0; }
  .radar-table-wrapper .score-link { width: 100%; justify-content: center; justify-self: stretch; }
  .detail-freshness { align-items: stretch; flex-direction: column; }
  .detail-freshness button { width: 100%; }
  .chart-status-row { align-items: stretch; flex-direction: column; margin-bottom: 0.75rem; }
  .chart-retry { width: 100%; }
}

/* Professional market feed: dense enough to scan, distinct enough to be FTS. */
.radar-table-wrapper {
  overflow: auto;
  border-color: rgba(233, 231, 221, 0.14);
  border-radius: 10px;
  background: #090c0a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  container-name: radar-feed;
  scrollbar-color: rgba(216, 255, 62, 0.35) transparent;
}
.radar-table-wrapper table {
  min-width: 1060px;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.radar-table-wrapper tr > :nth-child(1) { width: 27%; }
.radar-table-wrapper tr > :nth-child(2) { width: 11%; }
.radar-table-wrapper tr > :nth-child(3) { width: 10%; }
.radar-table-wrapper tr > :nth-child(4) { width: 10%; }
.radar-table-wrapper tr > :nth-child(5) { display: table-cell; width: 13%; }
.radar-table-wrapper tr > :nth-child(6) { width: 10%; }
.radar-table-wrapper tr > :nth-child(7) { display: table-cell; width: 8%; }
.radar-table-wrapper tr > :nth-child(8) { width: 11%; }
.radar-table-wrapper thead {
  z-index: 4;
  background: #11150f;
  box-shadow: inset 0 -1px rgba(233, 231, 221, 0.12);
}
.radar-table-wrapper thead th {
  padding: 11px 12px;
  border-bottom: 0;
  color: rgba(233, 231, 221, 0.56);
  background: #11150f;
  font: 650 0.65rem/1 Inter, sans-serif;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.radar-table-wrapper tbody th,
.radar-table-wrapper tbody td {
  height: 62px;
  padding: 8px 12px;
  border-bottom-color: rgba(233, 231, 221, 0.09);
  background: #090c0a;
  transition: background-color 140ms ease;
}
.radar-table-wrapper tbody tr:nth-child(even) th,
.radar-table-wrapper tbody tr:nth-child(even) td { background: #0c100d; }
.radar-table-wrapper tbody tr:hover th,
.radar-table-wrapper tbody tr:hover td { background: #141a11; }
.radar-table-wrapper tbody tr:focus-within th,
.radar-table-wrapper tbody tr:focus-within td { background: #141a11; }
.radar-table-wrapper tbody th {
  min-width: 0;
  box-shadow: 1px 0 rgba(233, 231, 221, 0.07);
}
.token-cell {
  min-height: 44px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  border-radius: 7px;
}
.token-cell:focus-visible,
.score-link:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}
.token-monogram {
  width: 36px;
  height: 36px;
  border-color: rgba(233, 231, 221, 0.16);
  border-radius: 9px;
  background: linear-gradient(145deg, #22291e, #10140f);
  color: #f6f3e8;
  font: 700 0.61rem/1 Inter, sans-serif;
  letter-spacing: 0.035em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}
.token-monogram[data-chain="solana"] { border-color: rgba(123, 245, 184, 0.35); background: linear-gradient(145deg, #282346, #10281f); }
.token-monogram[data-chain="ethereum"] { border-color: rgba(137, 159, 255, 0.35); background: linear-gradient(145deg, #222b47, #121723); }
.token-monogram[data-chain="base"] { border-color: rgba(77, 132, 255, 0.4); background: linear-gradient(145deg, #173b83, #111a2d); }
.token-monogram[data-chain="bsc"] { border-color: rgba(240, 185, 11, 0.42); background: linear-gradient(145deg, #493a10, #18150c); }
.token-copy strong {
  color: #f2f1ea;
  font: 650 0.79rem/1.25 Inter, sans-serif;
  letter-spacing: -0.01em;
}
.token-meta { gap: 5px; margin-top: 5px; }
.chain-badge {
  padding: 3px 5px;
  border-radius: 3px;
  background: rgba(216, 255, 62, 0.1);
  font: 700 0.48rem/1 Inter, sans-serif;
  letter-spacing: 0.02em;
}
.dex-badge,
.token-age {
  color: rgba(233, 231, 221, 0.53);
  font: 500 0.56rem/1 Inter, sans-serif;
  white-space: nowrap;
}
.token-age::before { content: "\00b7"; margin-right: 5px; color: rgba(233, 231, 221, 0.28); }
.token-mobile-activity { display: none; }
.radar-table-wrapper td {
  color: #ecebe4;
  font: 550 0.76rem/1.3 Inter, sans-serif;
}
.cell-value { display: block; overflow: hidden; text-overflow: ellipsis; }
.price-cell .cell-value { color: #fff; font-weight: 700; }
.valuation-cell small {
  display: block;
  margin-top: 3px;
  color: rgba(233, 231, 221, 0.4);
  font: 600 0.48rem/1 Inter, sans-serif;
  letter-spacing: 0.06em;
}
.activity-values { display: flex; gap: 8px; font-size: 0.65rem; }
.buy-count { color: #7ee787; }
.sell-count { color: #ff8178; }
.activity-bar {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: linear-gradient(to right, #4fc978 0 var(--buy-share), #e16660 var(--buy-share) 100%);
  opacity: 0.8;
}
.change-cell .cell-value { font-weight: 700; }
.score-link {
  width: 100%;
  min-width: 98px;
  min-height: 38px;
  gap: 8px;
  justify-content: flex-start;
  padding: 6px 8px;
  border-color: rgba(240, 176, 64, 0.3);
  border-radius: 7px;
  background: rgba(240, 176, 64, 0.07);
  font-family: Inter, sans-serif;
}
.score-link:hover { border-color: currentColor; background: rgba(240, 176, 64, 0.12); }
.score-link[data-risk="low"] { border-color: rgba(126, 231, 135, 0.3); background: rgba(126, 231, 135, 0.07); }
.score-link[data-risk="high"],
.score-link[data-risk="critical"] { border-color: rgba(255, 129, 120, 0.32); background: rgba(255, 129, 120, 0.07); }
.score-link[data-risk="pending"] { border-color: rgba(233, 231, 221, 0.16); background: rgba(233, 231, 221, 0.035); }
.score-marker {
  flex: 0 0 4px;
  width: 4px;
  height: 24px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.85;
}
.score-copy { min-width: 0; display: grid; gap: 2px; }
.score-link .score-copy strong { font-size: 0.85rem; line-height: 1; }
.score-link .score-copy > span {
  max-width: 100%;
  overflow: hidden;
  color: currentColor;
  font-size: 0.47rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@container radar-feed (width < 940px) {
  .radar-table-wrapper table { min-width: 900px; }
  .radar-table-wrapper tr > :nth-child(5) { display: none; }
  .radar-table-wrapper tr > :nth-child(1) { width: 29%; }
  .radar-table-wrapper tr > :nth-child(8) { width: 13%; }
}

@media (max-width: 620px) {
  .radar-table-wrapper { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .radar-table-wrapper table { min-width: 0; table-layout: auto; }
  .radar-table-wrapper tbody { gap: 10px; }
  .radar-table-wrapper tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(233, 231, 221, 0.14);
    border-radius: 10px;
    background: #0b0f0c;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  }
  .radar-table-wrapper tbody th,
  .radar-table-wrapper tbody td,
  .radar-table-wrapper tbody tr:nth-child(even) th,
  .radar-table-wrapper tbody tr:nth-child(even) td {
    width: auto !important;
    height: auto;
    background: #0b0f0c;
  }
  .radar-table-wrapper tbody th {
    grid-column: 1 / -1 !important;
    padding: 10px 11px;
    border-bottom: 1px solid rgba(233, 231, 221, 0.1);
    box-shadow: none;
  }
  .token-cell { width: 100%; min-width: 0; min-height: 42px; }
  .token-copy { overflow: hidden; }
  .token-monogram { width: 36px; height: 36px; }
  .token-copy strong { font-size: 0.8rem; }
  .token-mobile-activity { display: inline; color: rgba(233, 231, 221, 0.5); font: 600 0.53rem/1 Inter, sans-serif; }
  .radar-table-wrapper tbody td {
    display: grid;
    min-height: 51px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 5px;
    padding: 8px 11px;
    border-right: 1px solid rgba(233, 231, 221, 0.09);
    border-bottom: 1px solid rgba(233, 231, 221, 0.09);
    font-size: 0.77rem;
  }
  .radar-table-wrapper tbody td:nth-child(odd) { border-right: 0; }
  .radar-table-wrapper tbody td:nth-child(5) { display: none; }
  .radar-table-wrapper tbody td:nth-child(7),
  .radar-table-wrapper tbody td:nth-child(8) { border-bottom: 0; }
  .radar-table-wrapper tbody td:nth-child(8) {
    grid-column: auto;
    padding: 6px 8px;
    border-right: 0;
  }
  .cell-label { font: 600 0.49rem/1 Inter, sans-serif; letter-spacing: 0.06em; }
  .valuation-cell small { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .score-link { min-width: 0; min-height: 40px; justify-self: stretch; }
  .score-link .score-copy > span { font-size: 0.44rem; }
}

.recent-tokens {
  margin: 2px 0 16px;
  padding: 11px 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(233, 231, 221, 0.12);
  border-radius: 9px;
  background: rgba(17, 21, 15, 0.72);
}
.recent-tokens[hidden] { display: none; }
.recent-tokens > header,
.recent-tokens > header > div { display: flex; align-items: center; }
.recent-tokens > header { justify-content: space-between; gap: 16px; }
.recent-tokens > header > div { min-width: 0; gap: 7px; }
.recent-tokens > header > div > span { color: var(--acid); font-size: 0.9rem; }
.recent-tokens h3 {
  margin: 0;
  color: rgba(233, 231, 221, 0.72);
  font: 700 0.61rem/1 Inter, sans-serif;
  letter-spacing: 0.055em;
}
.recent-tokens header small {
  overflow: hidden;
  color: rgba(233, 231, 221, 0.36);
  font: 500 0.55rem/1 Inter, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-tokens header button {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid rgba(233, 231, 221, 0.14);
  border-radius: 5px;
  background: transparent;
  color: rgba(233, 231, 221, 0.52);
  font: 650 0.55rem/1 Inter, sans-serif;
  cursor: pointer;
}
.recent-tokens header button:hover { border-color: rgba(255, 129, 120, 0.52); color: #ff8178; }
.recent-tokens ul {
  display: flex;
  gap: 7px;
  margin: 9px -2px 0;
  padding: 2px 2px 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(216, 255, 62, 0.25) transparent;
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
  list-style: none;
}
.recent-tokens li { flex: 0 0 auto; scroll-snap-align: start; }
.recent-token-button {
  display: grid;
  min-width: 145px;
  max-width: 190px;
  min-height: 48px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(233, 231, 221, 0.12);
  border-radius: 7px;
  background: #0b0f0c;
  color: var(--bone);
  text-align: left;
  cursor: pointer;
}
.recent-token-button:hover { border-color: rgba(216, 255, 62, 0.38); background: #141a11; }
.recent-token-button:focus-visible,
.recent-tokens header button:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.recent-token-monogram {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(233, 231, 221, 0.16);
  border-radius: 7px;
  background: linear-gradient(145deg, #22291e, #10140f);
  color: #f6f3e8;
  font: 700 0.52rem/1 Inter, sans-serif;
}
.recent-token-monogram[data-chain="solana"] { border-color: rgba(123, 245, 184, 0.35); background: linear-gradient(145deg, #282346, #10281f); }
.recent-token-monogram[data-chain="ethereum"] { border-color: rgba(137, 159, 255, 0.35); background: linear-gradient(145deg, #222b47, #121723); }
.recent-token-monogram[data-chain="base"] { border-color: rgba(77, 132, 255, 0.4); background: linear-gradient(145deg, #173b83, #111a2d); }
.recent-token-monogram[data-chain="bsc"] { border-color: rgba(240, 185, 11, 0.42); background: linear-gradient(145deg, #493a10, #18150c); }
.recent-token-copy { min-width: 0; }
.recent-token-copy strong,
.recent-token-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-token-copy strong { font: 700 0.67rem/1.2 Inter, sans-serif; }
.recent-token-copy span { margin-top: 4px; color: rgba(233, 231, 221, 0.42); font: 600 0.46rem/1 Inter, sans-serif; letter-spacing: 0.025em; }

@media (max-width: 620px) {
  .recent-tokens { margin-bottom: 12px; padding: 10px; }
  .recent-tokens header small { display: none; }
  .recent-token-button { min-width: 138px; max-width: 168px; }
}

@media (pointer: coarse) {
  .recent-tokens header button { min-height: 44px; }
  .recent-token-button { min-height: 52px; }
}

