@import url("assets/tokens/tokens.css");
@font-face { font-family: "Geist"; src: url("assets/fonts/geist/Geist-VariableFont_wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono/GeistMono-VariableFont_wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bd-black: var(--color-black, #090B0C);
  --bd-900: var(--color-gray-900, #15181A);
  --bd-850: #1b2023;
  --bd-800: var(--color-gray-800, #252C30);
  --bd-700: var(--color-gray-700, #404B51);
  --bd-600: var(--color-gray-600, #57656E);
  --bd-500: var(--color-gray-500, #8696A0);
  --bd-300: var(--color-gray-300, #BBC5CA);
  --bd-100: var(--color-gray-100, #E3E7E9);
  --bd-green: var(--color-green-primary, #00FFA3);
  --bd-green-2: var(--color-green-secondary, #00C076);
  --bd-red: #eb5757;
  --bd-yellow: #f2c94c;
  --bd-blue: #5b8def;
  --radius: 16px; --radius-sm: 8px; --radius-pill: 16px; --gap: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: var(--bd-black); color: var(--bd-100);
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.mono { font-family: "Geist Mono", ui-monospace, Menlo, monospace; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.pos { color: var(--bd-green); } .neg { color: var(--bd-red); } .muted { color: var(--bd-500); }
.app { max-width: 1280px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: var(--gap); }
.brief, footer, .api-strip span, .hero-lore, .tl-body p, .actor-action, .post-summary { font-family: "Inter", system-ui, sans-serif; }

/* topbar */
.topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: var(--bd-900); border: 1px solid var(--bd-800); border-radius: var(--radius); }
.brand-logo { height: 26px; width: auto; display: block; flex-shrink: 0; }
.divider-v { width: 1px; height: 22px; background: var(--bd-800); }
.topbar h1 { margin-right: auto; font-size: 13px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--bd-500); }
.status { display: flex; align-items: center; gap: 7px; color: var(--bd-300); font-size: 12px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bd-yellow); box-shadow: 0 0 6px var(--bd-yellow); }
.dot.ok { background: var(--bd-green); box-shadow: 0 0 8px var(--bd-green); }
.dot.bad { background: var(--bd-red); }

.disclaimer-strip { padding: 9px 14px; font-size: 12.5px; color: #ffd9a8; background: rgba(242,153,74,.07); border: 1px solid rgba(242,153,74,.22); border-radius: var(--radius-sm); font-family: "Inter", sans-serif; }
.disclaimer-strip strong { color: #ffb765; }

/* api strip */
.api-strip { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; background: #101416; border: 1px solid var(--bd-800); border-radius: var(--radius); }
.api-strip strong { display: block; margin-bottom: 2px; color: var(--bd-100); font-size: 13px; }
.api-strip span { color: var(--bd-500); font-size: 12px; }
.api-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.api-actions input { min-height: 32px; width: min(280px, 44vw); background: var(--bd-black); border: 1px solid var(--bd-800); border-radius: var(--radius-sm); color: var(--bd-100); padding: 6px 10px; font-family: "Geist Mono", monospace; font-size: 12px; outline: 0; }
.api-actions input:focus { border-color: rgba(0,255,163,.5); }
.btn { min-height: 32px; padding: 6px 14px; border: 1px solid var(--bd-700); border-radius: var(--radius-sm); color: var(--bd-300); font-size: 12px; font-weight: 600; white-space: nowrap; }
.btn:hover { background: var(--bd-800); color: var(--bd-100); border-color: var(--bd-600); }
.btn.primary { background: var(--bd-green); border-color: var(--bd-green); color: #15181A; }
.btn.primary:hover { background: var(--bd-green-2); border-color: var(--bd-green-2); }

.error-box { display: none; padding: 11px 14px; background: #3d0000; color: #ffc8c8; border: 1px solid #6a2020; border-radius: var(--radius-sm); font-size: 13px; }
.error-box.show { display: block; }

/* grid + card */
.grid { display: grid; gap: var(--gap); min-width: 0; align-items: start; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-2-wide { grid-template-columns: minmax(0,.58fr) minmax(0,.42fr); align-items: start; }
.card { min-width: 0; overflow: hidden; background: var(--bd-900); border: 1px solid var(--bd-800); border-radius: var(--radius); padding: 16px; }
.onchain-grid { align-items: stretch; }
.onchain-card { min-height: 260px; }
.metric-card { display: flex; flex-direction: column; justify-content: flex-start; min-height: 260px; }
.metric-card .perf-grid, .metric-card .stat-row { margin: auto 0; }
.metric-card .card-sub { margin-top: auto !important; padding-top: 14px; }
.card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title > div:first-child { flex: 1; min-width: 0; }
.card h2 { color: var(--bd-500); font-size: 11px; font-weight: 650; line-height: 1.25; letter-spacing: .07em; text-transform: uppercase; }
.card-title strong { display: block; margin-top: 3px; color: var(--bd-100); font-size: 15px; font-weight: 700; line-height: 1.2; }
.card-sub { color: var(--bd-500); font-size: 12.5px; margin-top: 3px; font-family: "Inter", sans-serif; }
.endpoint-btn { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 4px 11px; font-size: 10px; font-weight: 650; letter-spacing: .03em; color: var(--bd-blue); border: 1px solid rgba(91,141,239,.35); border-radius: var(--radius-pill); white-space: nowrap; flex-shrink: 0; }
.endpoint-btn::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--bd-blue); box-shadow: 0 0 6px rgba(91,141,239,.55); }
.endpoint-btn:hover { background: rgba(91,141,239,.12); color: var(--bd-100); border-color: var(--bd-blue); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; border: 1px solid var(--bd-700); border-radius: var(--radius-pill); padding: 4px 11px; color: var(--bd-300); font-size: 11px; white-space: nowrap; flex-shrink: 0; }
.entity-link { color: var(--bd-300); display: inline-flex; align-items: center; gap: 4px; max-width: 100%; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(0,255,163,.25); text-underline-offset: 3px; }
.entity-link:hover { color: var(--bd-green); text-decoration-color: var(--bd-green); }
.wallet-link { display: grid; gap: 2px; color: var(--bd-300); max-width: min(360px, 42vw); text-decoration: none; }
.wallet-short { color: var(--bd-100); font-weight: 650; line-height: 1.2; white-space: nowrap; }
.wallet-full { color: var(--bd-500); font-size: 9.5px; line-height: 1.25; word-break: break-all; }
.wallet-link:hover .wallet-short, .wallet-link:hover .wallet-full { color: var(--bd-green); }

/* stat row — CENTERED, tabular, clamp (ansem-aligned) */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 78px; padding: 13px 12px; background: var(--bd-800); border: 1px solid rgba(227,231,233,.03); border-radius: var(--radius-sm); text-align: center; }
.stat .label { color: var(--bd-500); font-size: 9.5px; line-height: 12px; text-transform: uppercase; letter-spacing: .075em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.stat .value { color: var(--bd-100); font-size: clamp(15px, 1.25vw, 20px); font-weight: 750; line-height: 1.05; white-space: nowrap; max-width: 100%; font-variant-numeric: tabular-nums; }
.stat .value.mono { font-family: "Geist Mono", monospace; }
.stat small { color: var(--bd-500); font-size: 10px; line-height: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat small.pos { color: var(--bd-green); } .stat small.neg { color: var(--bd-red); } .stat small.empty { visibility: hidden; }

/* hero */
.hero { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.hero-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 16px; align-items: center; }
.token-logo { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: #fff; }
.hero-name h1 { color: var(--bd-100); font-size: 22px; line-height: 1.1; margin-bottom: 4px; }
.hero-lore { color: var(--bd-300); font-size: 13px; line-height: 1.55; max-width: 68ch; }
.hero-lore em { color: var(--bd-green); font-style: normal; }
.hero-badge { text-align: right; flex-shrink: 0; }
.badge-x { display: block; font-size: 30px; font-weight: 750; color: var(--bd-green); font-family: "Geist Mono", monospace; line-height: 1; }
.badge-label { font-size: 10px; color: var(--bd-500); text-transform: uppercase; letter-spacing: .07em; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* chart */
.chart-wrap { position: relative; height: 360px; border: 1px solid var(--bd-800); border-radius: var(--radius-sm); background: #101416; overflow: hidden; }
.chart-wrap canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--bd-800); border-radius: var(--radius-pill); }
.seg button { min-height: 28px; padding: 0 12px; border-radius: var(--radius-pill); color: var(--bd-500); font-size: 12px; }
.seg button.active { color: var(--bd-100); background: var(--bd-800); }
.pin-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pin-item { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--bd-500); background: var(--bd-black); border: 1px solid var(--bd-800); border-radius: var(--radius-sm); padding: 5px 10px; }
.pin-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.pin-item a { color: var(--bd-green); }

/* data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--bd-800); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--bd-800); text-align: left; vertical-align: middle; font-size: 12.5px; }
th { position: sticky; top: 0; background: #101416; color: var(--bd-500); font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
td { color: var(--bd-300); }
td.mono { font-family: "Geist Mono", monospace; }
tr:last-child td { border-bottom: 0; }
.right { text-align: right; font-variant-numeric: tabular-nums; }
.stacked-main { color: var(--bd-100); font-weight: 650; line-height: 1.2; white-space: nowrap; }
.stacked-main.pos, .stacked-sub.pos, .stacked-sub .pos { color: var(--bd-green); }
.stacked-main.neg, .stacked-sub.neg, .stacked-sub .neg { color: var(--bd-red); }
.stacked-sub { margin-top: 4px; color: var(--bd-500); font-size: 10.5px; line-height: 1.25; white-space: nowrap; }
.type-cell { width: 92px; min-width: 92px; text-align: center; }
.tag { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 22px; padding: 2px 8px; border-radius: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .03em; line-height: 1; white-space: nowrap; }
.tag.bot { color: #2a0d0d; background: var(--bd-red); }
.tag.wallet { color: var(--bd-300); border: 1px solid var(--bd-700); }
.tag.recon { color: #082218; background: var(--bd-green); }
.tag-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; color: var(--bd-500); font-size: 11px; }
.tag-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tag-legend .tag { min-width: auto; min-height: 18px; padding: 2px 6px; font-size: 8.5px; }

/* flow (buy vs sell) */
.flow-list { display: flex; flex-direction: column; gap: 14px; }
.flow-row { display: flex; flex-direction: column; gap: 6px; }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; }
.flow-tf { color: var(--bd-300); font-weight: 700; letter-spacing: .02em; font-family: "Geist Mono", monospace; }
.flow-nums { color: var(--bd-500); font-variant-numeric: tabular-nums; }
.flow-nums b.pos { color: var(--bd-green); } .flow-nums b.neg { color: var(--bd-red); }
.flow-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--bd-black); border: 1px solid var(--bd-800); }
.flow-buy { background: var(--bd-green); } .flow-sell { background: var(--bd-red); }

/* perf mini-grid */
.perf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.perf-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 78px; padding: 12px 8px; background: var(--bd-800); border: 1px solid rgba(227,231,233,.03); border-radius: var(--radius-sm); text-align: center; }
.perf-tf { font-size: 11px; color: var(--bd-500); letter-spacing: .02em; font-family: "Geist Mono", monospace; }
.perf-val { font-size: 18px; font-weight: 750; line-height: 1.05; font-variant-numeric: tabular-nums; font-family: "Geist Mono", monospace; }

/* liquidity */
.liq-top { display: grid; grid-template-columns: minmax(210px, max-content) minmax(190px, max-content) minmax(120px, max-content) max-content; align-items: end; gap: 18px 28px; margin-bottom: 18px; }
.liq-big { display: grid; align-content: end; gap: 6px; min-height: 66px; }
.liq-big .k { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--bd-500); }
.liq-big .v { font-size: 28px; font-weight: 750; line-height: 1.05; color: var(--bd-100); font-variant-numeric: tabular-nums; }
.liq-big .v.sm { font-size: 24px; }
.delta { align-self: center; width: max-content; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.delta.pos { color: var(--bd-green); background: rgba(0,255,163,.1); } .delta.neg { color: var(--bd-red); background: rgba(235,87,87,.12); }
.pool-list { display: flex; flex-direction: column; gap: 13px; }
.pool-row { display: flex; flex-direction: column; gap: 6px; }
.pool-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pool-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pool-name { font-size: 12.5px; color: var(--bd-100); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-addr { font-size: 10.5px; color: var(--bd-500); font-family: "Geist Mono", monospace; display: inline-flex; align-items: center; gap: 4px; width: max-content; max-width: 100%; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(0,255,163,.22); text-underline-offset: 3px; }
.pool-addr:hover { color: var(--bd-green); }
.pool-sub { font-size: 10.5px; color: var(--bd-500); white-space: nowrap; }
.pool-val { font-size: 13px; font-weight: 700; color: var(--bd-green); white-space: nowrap; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.pool-bar { height: 7px; background: var(--bd-black); border: 1px solid var(--bd-800); border-radius: 999px; overflow: hidden; }
.pool-bar span { display: block; height: 100%; background: rgba(0,255,163,.5); border-radius: 999px; }

/* timeline (social) */
.timeline { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--bd-800); }
.tl-item:last-child { border-bottom: 0; }
.tl-date { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--bd-500); }
.tl-stage { display: inline-block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 5px; margin-top: 6px; }
.tl-body p { font-size: 13.5px; line-height: 1.5; color: var(--bd-100); }
.tl-src { font-size: 11.5px; margin-top: 5px; display: inline-block; }
.tl-src a { color: var(--bd-green); } .tl-src.unverified { color: var(--bd-yellow); }
.st-origin { background: rgba(91,141,239,.16); color: #9db9ff; }
.st-catalyst { background: rgba(0,255,163,.14); color: var(--bd-green); }
.st-pre-turn { background: rgba(136,150,160,.16); color: var(--bd-500); }
.st-peak { background: rgba(242,201,76,.16); color: var(--bd-yellow); }

/* actors + posts (social) */
.actor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; align-items: stretch; }
.actor { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; background: var(--bd-800); border: 1px solid rgba(227,231,233,.03); border-radius: var(--radius-sm); padding: 14px; }
.actor-top { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 10px; margin-bottom: 7px; }
.actor-handle { min-width: 0; font-weight: 650; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.actor-handle a { color: var(--bd-green); }
.actor-role { max-width: 150px; font-size: 10px; line-height: 1.2; padding: 3px 8px; border-radius: 5px; background: var(--bd-900); color: var(--bd-500); white-space: normal; text-align: center; overflow-wrap: anywhere; }
.actor-action { min-width: 0; font-size: 12.5px; color: var(--bd-300); line-height: 1.5; overflow-wrap: anywhere; }
.actor-foot { font-size: 10.5px; color: var(--bd-500); margin-top: 10px; line-height: 1.35; }
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post { display: grid; grid-template-columns: 86px minmax(0,1fr); align-items: start; gap: 14px; min-width: 0; background: var(--bd-800); border: 1px solid rgba(227,231,233,.03); border-radius: var(--radius-sm); padding: 13px 14px; }
.post-verify { display: inline-flex; align-items: center; justify-content: center; min-height: 22px; width: 76px; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; background: rgba(0,255,163,.14); color: var(--bd-green); white-space: nowrap; text-transform: uppercase; }
.post-body { flex: 1; min-width: 0; }
.post-author { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; font-size: 13px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.post-author a { color: var(--bd-green); }
.post-summary { min-width: 0; font-size: 12.5px; color: var(--bd-300); margin: 4px 0 5px; line-height: 1.5; overflow-wrap: anywhere; }
.post-meta { font-size: 11px; color: var(--bd-500); line-height: 1.35; overflow-wrap: anywhere; }
.sub-h { color: var(--bd-100); font-size: 18px; line-height: 1.15; margin: 0 0 8px; font-weight: 750; }

footer { display: flex; flex-direction: column; gap: 8px; padding: 18px 4px 4px; text-align: center; color: var(--bd-500); font-size: 12px; border-top: 1px solid var(--bd-800); margin-top: 6px; }
footer .footer-brand { color: var(--bd-green); font-weight: 700; }
footer p { max-width: 74ch; margin: 0 auto; line-height: 1.5; }

/* wallet: winners + smart money */
.winner-heroes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.winner-hero { display: grid; gap: 12px; background: linear-gradient(180deg, rgba(0,255,163,.055), rgba(0,255,163,.015)); border: 1px solid rgba(0,255,163,.22); border-radius: var(--radius-sm); padding: 14px; min-width: 0; }
.wh-top { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 10px; }
.wh-label { font-size: 14px; font-weight: 700; color: var(--bd-100); }
.link-label { color: var(--bd-100); text-decoration-color: rgba(0,255,163,.28); }
.link-label:hover { color: var(--bd-green); }
.wh-tag { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 5px; }
.wh-tag.recon { background: rgba(0,255,163,.16); color: var(--bd-green); }
.wh-tag.news { background: rgba(91,141,239,.16); color: var(--bd-blue); }
.winner-wallet { display: grid; gap: 3px; min-width: 0; color: var(--bd-100); text-decoration: none; }
.winner-wallet.unavailable { cursor: default; }
.winner-wallet .wallet-short { font-size: 15px; }
.winner-wallet .wallet-full { max-width: 100%; }
.winner-wallet.unavailable .wallet-short { color: var(--bd-100); }
.winner-wallet.unavailable .wallet-full { color: var(--bd-yellow); }
.winner-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.winner-kpis.single { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mini-metric { display: grid; align-content: center; gap: 4px; min-height: 58px; padding: 9px 10px; background: rgba(37,44,48,.78); border: 1px solid rgba(227,231,233,.04); border-radius: var(--radius-sm); }
.mini-metric span { color: var(--bd-500); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-metric b { color: var(--bd-100); font-size: 13px; line-height: 1.12; font-family: "Geist Mono", monospace; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-metric b.pos { color: var(--bd-green); }
.winner-note { font-size: 12px; color: var(--bd-500); line-height: 1.45; }
.wh-news { font-size: 11.5px; color: var(--bd-300); line-height: 1.5; font-family: "Inter", sans-serif; }
.wh-news a { color: var(--bd-green); }
.winner-tables { display: grid; grid-template-columns: 1fr; gap: 16px; }
.data-note { margin-top: 10px; }
.table-search { width: 100%; min-height: 36px; background: var(--bd-black); border: 1px solid var(--bd-800); border-radius: var(--radius-sm); color: var(--bd-100); padding: 8px 10px; font-family: "Geist Mono", monospace; font-size: 12px; outline: 0; }
.table-search:focus { border-color: rgba(0,255,163,.5); }
.lookup-input { margin-bottom: 12px; }
.lookup-result { min-height: 168px; }
.lookup-empty { min-height: 168px; display: grid; place-items: center; padding: 16px; color: var(--bd-500); font-size: 12.5px; line-height: 1.5; text-align: center; border: 1px dashed var(--bd-800); border-radius: var(--radius-sm); background: rgba(9,11,12,.35); }
.lookup-empty a { color: var(--bd-green); }
.lookup-hit { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--bd-800); border-radius: var(--radius-sm); background: rgba(37,44,48,.45); }
.lookup-kpis { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.lookup-tag { display: flex; justify-content: flex-start; }
code { font-family: "Geist Mono", monospace; font-size: .92em; color: var(--bd-300); background: var(--bd-800); padding: 1px 5px; border-radius: 4px; }

@media (max-width: 1120px) {
  .grid-2, .grid-2-wide { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .winner-heroes, .winner-tables { grid-template-columns: 1fr; }
  .wallet-link { max-width: 100%; }
}
@media (max-width: 760px) {
  .app { padding: 12px; }
  .stat-row, .perf-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .actor-grid { grid-template-columns: 1fr; }
  .hero-head { grid-template-columns: auto 1fr; }
  .hero-badge { grid-column: 1 / -1; text-align: left; }
  .api-strip { grid-template-columns: 1fr; }
  .api-actions { justify-content: flex-start; }
  .api-actions input { width: 100%; }
  .tl-item { grid-template-columns: 74px 1fr; gap: 10px; }
  .chart-wrap { height: 300px; }
  .liq-top { grid-template-columns: 1fr; align-items: start; }
  .winner-kpis, .winner-kpis.single { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .actor-top { grid-template-columns: 1fr; gap: 6px; }
  .actor-role { width: max-content; max-width: 100%; text-align: left; }
  .post { grid-template-columns: 1fr; gap: 8px; }
  .post-verify { width: max-content; }
}
@media (max-width: 440px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
}
