/* ============================================================================
   BlockVet — Security Intelligence Terminal
   Aesthetic: dark command-center · blue→violet brand glow · mono data readouts
   Fonts: Clash Display (display) · Satoshi (body) · JetBrains Mono (data)
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700,500&f[]=satoshi@400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* base canvas */
  --bg: #060912;
  --bg-2: #0a0f1d;
  --panel: rgba(17, 24, 41, 0.66);
  --panel-solid: #111829;
  --panel-2: rgba(26, 35, 58, 0.55);
  --line: rgba(132, 156, 214, 0.14);
  --line-strong: rgba(132, 156, 214, 0.28);

  /* brand gradient (from the logo: electric blue → violet) */
  --brand-1: #3b82f6;
  --brand-2: #6d5cf6;
  --brand-3: #9333ea;
  --grad: linear-gradient(120deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --cyan: #38e1ff;

  /* text */
  --ink: #eaf0ff;
  --ink-2: #aab4cf;
  --ink-3: #6b7693;

  /* risk semantics */
  --low: #2ee6a6;
  --medium: #fbbf24;
  --high: #ff8a5b;
  --critical: #ff4d6d;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --glow: 0 0 0 1px var(--line), 0 18px 50px -30px rgba(59, 130, 246, 0.55);

  --sidebar-w: 248px;
  --maxw: 1680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Satoshi', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

/* layered atmospheric background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(820px 540px at 12% -8%, rgba(59, 130, 246, 0.20), transparent 60%),
    radial-gradient(760px 560px at 100% 0%, rgba(147, 51, 234, 0.18), transparent 58%),
    radial-gradient(900px 700px at 80% 110%, rgba(56, 225, 255, 0.08), transparent 60%),
    var(--bg);
}
/* fine grid texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(132, 156, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 156, 214, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 85%);
  pointer-events: none;
}

::selection { background: rgba(109, 92, 246, 0.45); color: #fff; }

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(132,156,214,.3) transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: rgba(132,156,214,.22); border-radius: 20px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(132,156,214,.4); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.mono { font-family: 'JetBrains Mono', monospace; font-feature-settings: 'tnum'; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================ LAYOUT === */

.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
}

/* -------- sidebar -------- */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(3,8,22,0.86) 0%, rgba(3,8,22,0.4) 32%, rgba(3,8,22,0.08) 58%, rgba(3,8,22,0) 100%),
    url('/assets/sidebar.jpg') bottom center / cover no-repeat,
    #030816;
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; padding: 4px 8px 2px; }
.brand img { width: 100%; max-width: 168px; height: auto; filter: drop-shadow(0 4px 18px rgba(99,102,241,0.35)); }

.nav { display: flex; flex-direction: column; gap: 3px; }
.nav-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); padding: 4px 12px 8px; font-weight: 700;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 500; font-size: 14.5px;
  position: relative; transition: color .2s, background .2s;
}
.nav-item svg { width: 18px; height: 18px; flex: 0 0 18px; opacity: .8; }
.nav-item:hover { color: var(--ink); background: var(--panel-2); }
.nav-item.active { color: #fff; background: var(--panel-2); }
.nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px;
  border-radius: 4px; background: var(--grad); box-shadow: 0 0 14px var(--brand-2);
}
.nav-item .badge {
  margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 20px; background: var(--grad); color: #fff;
  font-family: 'JetBrains Mono', monospace;
}
.sidebar-foot { margin-top: auto; font-size: 11.5px; color: var(--ink-3); padding: 0 12px; line-height: 1.7; }
.sidebar-foot .dot { color: var(--low); }

/* -------- main 2-col (center + news rail) -------- */
.main { min-width: 0; }
.workspace {
  display: grid;
  grid-template-columns: 2fr 1fr; /* news rail = half the center width */
  gap: 28px;
  padding: 26px 30px 60px;
}
.center { min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.rail { min-width: 0; }

/* ============================================================ TOPBAR === */
.topbar { display: flex; flex-direction: column; gap: 18px; }
.topbar-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.search {
  position: relative; flex: 1; min-width: 260px;
}
.search-input {
  width: 100%; height: 52px; padding: 0 18px 0 50px;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 14px; color: var(--ink); font-size: 15.5px; font-family: inherit;
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
  backdrop-filter: blur(10px);
}
.search-input::placeholder { color: var(--ink-3); }
.search-input:focus {
  border-color: rgba(109,92,246,0.6);
  box-shadow: 0 0 0 4px rgba(109,92,246,0.14), var(--shadow);
  background: rgba(17,24,41,0.85);
}
.search-ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--ink-3); pointer-events: none;
}
.search-hint {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--ink-3); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 7px; font-family: 'JetBrains Mono', monospace;
}

/* search dropdown */
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: var(--panel-solid); border: 1px solid var(--line-strong);
  border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
  max-height: 60vh; overflow-y: auto; display: none;
}
.search-results.open { display: block; animation: pop .18s ease; }
.sr-item { display: flex; align-items: center; gap: 13px; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.sr-item:last-child { border-bottom: 0; }
.sr-item:hover, .sr-item.cursor { background: var(--panel-2); }
.sr-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; background: var(--bg-2); border: 1px solid var(--line); flex: 0 0 34px; }
.sr-main { min-width: 0; flex: 1; }
.sr-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-sub { font-size: 12px; color: var(--ink-3); display: flex; gap: 8px; }
.sr-empty { padding: 22px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* stat chips */
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 150px; padding: 16px 18px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px);
  position: relative; overflow: hidden;
}
.stat::after {
  content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  background: var(--grad); filter: blur(40px); opacity: .22;
}
.stat .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.stat .v { font-family: 'JetBrains Mono', monospace; font-size: 28px; font-weight: 700; margin-top: 4px; letter-spacing: -.02em; }

/* ============================================================ SECTIONS === */
.section { display: flex; flex-direction: column; gap: 16px; }
.section-head { display: flex; align-items: center; gap: 12px; }
.section-title { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.section-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 4px 9px; border-radius: 20px;
  font-family: 'JetBrains Mono', monospace; border: 1px solid var(--line-strong); color: var(--ink-2);
}
.section-tag.live { color: var(--cyan); border-color: rgba(56,225,255,.4); }
.section-tag.hot { color: var(--high); border-color: rgba(255,138,91,.4); }
.section-tag.new { color: var(--low); border-color: rgba(46,230,166,.4); }
.section-count { margin-left: auto; font-size: 12.5px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }

/* project grid */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.grid.hero { grid-template-columns: repeat(4, 1fr); }

/* ---------- compact card (Recent grid) ---------- */
.card.compact { padding: 13px 14px; gap: 11px; }
.cc-head { display: flex; align-items: center; gap: 11px; }
.card-logo.sm { width: 38px; height: 38px; border-radius: 10px; flex: 0 0 38px; }
.cc-head .card-id { flex: 1; min-width: 0; }
.cc-head .score-ring { margin-left: auto; }
.cc-foot { display: flex; align-items: center; gap: 10px; padding-top: 11px; border-top: 1px solid var(--line); }
.risk-pill.sm { padding: 3px 8px; font-size: 10px; }
.cc-foot .chg { margin-left: auto; }
.cc-foot .report-link { padding: 5px 9px; font-size: 11px; }

/* ---------- list panel (one box per category, rows inside) ---------- */
.panel-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.list-panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  backdrop-filter: blur(10px); padding: 16px 16px 8px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.list-panel .section-head { margin-bottom: 6px; padding: 0 4px; }
.list-panel .section-title { font-size: 17px; }
.list-body { display: flex; flex-direction: column; }
.list-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px;
  border-bottom: 1px solid var(--line); transition: background .15s; cursor: pointer;
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--panel-2); }
.lr-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; box-shadow: 0 0 8px currentColor; }
.lr-logo { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; background: var(--bg-2); border: 1px solid var(--line); flex: 0 0 28px; }
.lr-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46%; }
.lr-sym { font-size: 11px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; }
.lr-spacer { flex: 1; }
.lr-score { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.lr-report { display: inline-flex; color: var(--ink-3); transition: color .2s; }
.lr-report svg { width: 14px; height: 14px; }
.list-row:hover .lr-report { color: var(--brand-2); }
.list-row:hover .lr-name { color: #fff; }

/* ---------- project card ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: var(--r); background: var(--panel);
  border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s, box-shadow .22s;
  overflow: hidden; cursor: pointer;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; gap: 12px; }
.card-logo {
  width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
  background: var(--bg-2); border: 1px solid var(--line-strong); flex: 0 0 46px;
}
.card-id { min-width: 0; flex: 1; }
.card-name { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 12px; color: var(--ink-3); display: flex; gap: 7px; align-items: center; font-family: 'JetBrains Mono', monospace; }
.chain-pill { text-transform: capitalize; }

.card-mid { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.score-ring { --p: 0; --c: var(--low); width: 46px; height: 46px; flex: 0 0 46px; position: relative; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 700; }
.score-info { text-align: right; }
.score-info .lbl { font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }

.risk-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; text-transform: capitalize;
  font-family: 'JetBrains Mono', monospace;
}
.risk-pill .d { width: 6px; height: 6px; border-radius: 50%; }
.risk-low { color: var(--low); background: rgba(46,230,166,.1); }
.risk-low .d { background: var(--low); box-shadow: 0 0 8px var(--low); }
.risk-medium { color: var(--medium); background: rgba(251,191,36,.1); }
.risk-medium .d { background: var(--medium); box-shadow: 0 0 8px var(--medium); }
.risk-high { color: var(--high); background: rgba(255,138,91,.1); }
.risk-high .d { background: var(--high); box-shadow: 0 0 8px var(--high); }
.risk-critical { color: var(--critical); background: rgba(255,77,109,.12); }
.risk-critical .d { background: var(--critical); box-shadow: 0 0 8px var(--critical); }
.risk-unknown { color: var(--ink-3); background: rgba(132,156,214,.08); }
.risk-unknown .d { background: var(--ink-3); }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); }
.card-price { font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.chg { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; }
.chg.up { color: var(--low); }
.chg.down { color: var(--critical); }
.report-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  color: var(--ink-2); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong);
  transition: color .2s, border-color .2s, background .2s;
}
.report-link svg { width: 13px; height: 13px; }
.report-link:hover { color: #fff; border-color: rgba(109,92,246,.6); background: rgba(109,92,246,.12); }

.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); font-family: 'JetBrains Mono', monospace; }
.mini-badge.audited { color: var(--low); border-color: rgba(46,230,166,.35); }
.mini-badge.kyc { color: var(--cyan); border-color: rgba(56,225,255,.35); }

/* ============================================================ NEWS RAIL === */
.rail-panel {
  position: sticky; top: 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  backdrop-filter: blur(12px); overflow: hidden; box-shadow: var(--shadow);
}
.rail-head { padding: 20px 20px 16px; border-bottom: 1px solid var(--line); position: relative; }
.rail-head::after { content:''; position:absolute; left:0; right:0; bottom:-1px; height:1px; background: var(--grad); opacity:.5; }
.rail-date-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.rail-date { font-family: 'Clash Display', sans-serif; font-size: 22px; font-weight: 600; margin-top: 3px; letter-spacing: -.01em; }
.rail-title { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.rail-title h3 { margin: 0; font-size: 15px; font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(56,225,255,.6); animation: pulse 2s infinite; }
.rail-sub { font-size: 11.5px; color: var(--ink-3); margin-left: auto; font-family: 'JetBrains Mono', monospace; }

.timeline { padding: 8px 20px 16px; max-height: calc(100vh - 200px); overflow-y: auto; }
.tl-day {
  position: sticky; top: 0; z-index: 2;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  padding: 10px 0 8px; margin: 4px 0 2px;
  background: linear-gradient(180deg, var(--panel-solid) 70%, transparent);
  display: flex; align-items: center; gap: 10px;
}
.tl-day::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tl-item {
  position: relative;
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 8px 13px 24px;        /* left room for the timeline line + node */
  border-left: 1px solid var(--line); /* the vertical timeline line */
  cursor: pointer; transition: background .15s;
}
.tl-item:last-child { border-left-color: transparent; }
/* timeline node (bullet) sitting on the line */
.tl-item::before {
  content: ''; position: absolute; left: -5px; top: 22px; z-index: 1;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--brand-2); transition: all .2s;
}
.tl-item:hover::before { background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); }
.tl-item:hover { background: var(--panel-2); border-radius: 0 12px 12px 0; }
.tl-item:hover .tl-title { color: #fff; }
.tl-item:hover .tl-thumb { border-color: var(--line-strong); }
/* square news thumbnail on the left */
.tl-thumb {
  width: 58px; height: 58px; flex: 0 0 58px; border-radius: 11px; object-fit: cover;
  background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s;
}
.tl-thumb.ph {
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(147,51,234,.35));
  position: relative;
}
.tl-thumb.ph::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
}
.tl-text { min-width: 0; flex: 1; }
.tl-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cyan); font-weight: 500; }
.tl-title { font-size: 13.5px; font-weight: 600; margin: 3px 0 6px; line-height: 1.38; color: var(--ink); transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-source { font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.tl-source .src-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }

/* ============================================================ DETAIL PAGES === */
.page { padding: 26px 30px 70px; max-width: 1180px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; margin-bottom: 22px; transition: color .2s; }
.back-link:hover { color: #fff; }
.back-link svg { width: 16px; height: 16px; }

.report-hero { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.report-logo { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; border: 1px solid var(--line-strong); background: var(--bg-2); box-shadow: var(--shadow); }
.report-hid { flex: 1; min-width: 260px; }
.report-name { font-family: 'Clash Display', sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.report-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.report-desc { color: var(--ink-2); margin-top: 14px; max-width: 70ch; }

.bigscore { text-align: center; padding: 4px 8px; }
.bigscore .ring { width: 120px; height: 120px; margin: 0 auto; position: relative; }
.bigscore .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: 30px; font-weight: 700; }
.bigscore .cap { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; font-weight: 700; }

.panel-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 26px; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; backdrop-filter: blur(8px);
}
.panel h4 { margin: 0 0 16px; font-family: 'Clash Display', sans-serif; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.panel h4 .ic { width: 17px; height: 17px; color: var(--brand-2); }

.subscore { margin-bottom: 14px; }
.subscore-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.subscore-row .v { font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.bar { height: 7px; border-radius: 20px; background: rgba(132,156,214,.12); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 20px; background: var(--grad); width: 0; transition: width 1s cubic-bezier(.2,.7,.3,1); }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--ink-3); }
.kv .val { font-family: 'JetBrains Mono', monospace; font-weight: 500; text-align: right; word-break: break-word; }

.warn-list { display: flex; flex-direction: column; gap: 8px; }
.warn {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 10px;
  background: rgba(255,77,109,.08); border: 1px solid rgba(255,77,109,.25); font-size: 13px; color: #ffd5dd;
}
.warn svg { width: 16px; height: 16px; color: var(--critical); flex: 0 0 16px; }

.audit-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.audit-row:last-child { border-bottom: 0; }
.audit-main { flex: 1; min-width: 0; }
.audit-auditor { font-weight: 600; font-size: 14px; }
.audit-sum { font-size: 12px; color: var(--ink-3); }

.contract-addr { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-2); word-break: break-all; }

/* ---- contract security: grouped flag grid ---- */
.cs-group { margin-bottom: 15px; }
.cs-group:last-of-type { margin-bottom: 0; }
.cs-group-title { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin: 0 2px 8px; display: flex; align-items: center; gap: 12px; }
.cs-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); order: 1; }
.cs-gcount { order: 2; display: inline-flex; gap: 9px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; }
.cs-counts { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; display: inline-flex; gap: 11px; }
.cg { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.cg svg { width: 13px; height: 13px; }
.cg-good { color: var(--low); } .cg-warn { color: var(--medium); } .cg-bad { color: var(--critical); }
.cs-source { margin-top: 13px; font-size: 11px; color: var(--ink-3); }
.flag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 8px; }
.flag-tile {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  padding: 9px 12px 9px 11px; border-radius: 10px;
  border: 1px solid var(--line); border-left-width: 3px; background: var(--panel-2);
  transition: border-color .15s, background .15s, transform .15s;
}
.flag-tile:hover { transform: translateY(-1px); }
.flag-tile .fl-ic { flex: 0 0 16px; display: inline-flex; }
.flag-tile .fl-ic svg { width: 16px; height: 16px; }
.flag-tile .fl-label { font-size: 11.5px; color: var(--ink-2); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag-tile .fl-val { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; flex: 0 0 auto; }
/* status-tinted tiles — meaningful colour, not monotone */
.fl-good { border-left-color: var(--low); background: linear-gradient(90deg, rgba(46,230,166,.09), rgba(46,230,166,.02)); }
.fl-good .fl-ic, .fl-good .fl-val { color: var(--low); }
.fl-warn { border-left-color: var(--medium); background: linear-gradient(90deg, rgba(251,191,36,.10), rgba(251,191,36,.02)); }
.fl-warn .fl-ic, .fl-warn .fl-val { color: var(--medium); }
.fl-bad { border-left-color: var(--critical); background: linear-gradient(90deg, rgba(255,77,109,.10), rgba(255,77,109,.02)); }
.fl-bad .fl-ic, .fl-bad .fl-val { color: var(--critical); }
.fl-unknown { border-left-color: var(--line-strong); }
.fl-unknown .fl-ic { color: var(--ink-3); } .fl-unknown .fl-val { color: var(--ink-3); }

/* ---- top-10 holders meter ---- */
.cs-meter { margin: 18px 0 4px; padding: 14px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.cs-meter-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.cs-meter-l { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cs-meter-v { font-family: 'JetBrains Mono', monospace; font-size: 19px; font-weight: 700; }
.cs-meter-bar { height: 9px; border-radius: 20px; background: rgba(132,156,214,.12); overflow: hidden; }
.cs-meter-bar > i { display: block; height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--low), #7fe0b0); transition: width 1s cubic-bezier(.2,.7,.3,1); }
.cs-meter-bar.warm > i { background: linear-gradient(90deg, var(--low), var(--medium)); }
.cs-meter-bar.hot > i { background: linear-gradient(90deg, var(--medium), var(--high), var(--critical)); }
.cs-meter-foot { font-size: 11px; color: var(--ink-3); margin-top: 7px; }

/* ---- 3rd-party audit history table ---- */
.ah-row { display: grid; grid-template-columns: 130px 1fr 96px; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ah-row:last-child { border-bottom: 0; }
.ah-head { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; padding-bottom: 8px; }
.ah-date { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--ink-2); }
.ah-auditor { font-weight: 600; min-width: 0; }
.ah-sum { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.ah-link { text-align: right; }
.ah-link a { display: inline-flex; align-items: center; gap: 5px; color: #9db8ff; font-weight: 600; font-size: 12.5px; }
.ah-link a svg { width: 14px; height: 14px; }
.ah-link a:hover { color: #fff; }
@media (max-width: 560px) { .ah-row { grid-template-columns: 1fr auto; } .ah-date { display: none; } }
.ah-row2 { grid-template-columns: 1fr 140px; }
.ah-title { font-weight: 600; font-size: 13.5px; min-width: 0; }
.ah-auditor2 { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--ink-2); }
.ah-more { padding: 11px 4px 2px; font-size: 12.5px; color: var(--ink-3); }
.ah-pdf { text-decoration: none; border-radius: 8px; transition: background .15s; cursor: pointer; }
.ah-pdf:hover { background: rgba(157,184,255,.07); }
.ah-pdf:hover .ah-title { color: #fff; }
.ah-pdflink { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: #9db8ff; font-weight: 600; font-family: 'Inter', system-ui, sans-serif; }
.ah-pdflink svg { width: 14px; height: 14px; }
.ah-pdf:hover .ah-pdflink { color: #c3d4ff; }
/* high-contrast CTA linking to the project's own audit page */
.audit-cta { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 16px; padding: 11px 18px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: #000; background: linear-gradient(135deg, #a78bfa, #7c3dff); border: 1px solid rgba(124,61,255,.55); box-shadow: 0 8px 22px rgba(124,61,255,.3); transition: transform .15s, box-shadow .15s, filter .15s; }
.audit-cta:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 28px rgba(124,61,255,.45); color: #000; }
.audit-cta svg { color: #000; }

/* sponsored ad banner under the search box */
.ad-banner { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.ad-banner img { display: block; width: 100%; height: auto; }
.ad-banner:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -20px rgba(255,138,60,.45); border-color: rgba(255,138,60,.4); }
.ad-slot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ad-slot .ad-banner { width: 100%; }
.ad-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border-radius: 20px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: rgba(3,8,22,.55); border: 1px solid var(--line-strong); transition: color .15s, background .15s, border-color .15s, transform .15s; }
.ad-tag:hover { color: #fff; border-color: rgba(0,229,255,.5); background: rgba(0,229,255,.08); transform: translateY(-1px); }
.ad-tag-dot { font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #04101e; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-teal)); padding: 2px 7px; border-radius: 12px; }

/* sponsored news item — "(Sponsored)" instead of a timestamp */
.tl-spon { color: var(--neon-cyan) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.tl-sponsored { background: linear-gradient(90deg, rgba(0,229,255,.06), transparent 70%); border-radius: 10px; }
.tl-sponsored:hover { background: linear-gradient(90deg, rgba(0,229,255,.1), transparent 72%); }

/* sponsored sidebar link (Velvet Capital) */
.nav-ad .badge { background: linear-gradient(135deg, var(--neon-cyan), var(--neon-teal)) !important; color: #04101e !important; }
.nav-ad:hover { background: rgba(0,229,255,.08); }

/* ============================================================================
   ADVERTISE / PRICING PAGE
   ========================================================================== */
.adv-page { max-width: 1180px; }
.adv-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 14px; transition: transform .15s, box-shadow .15s, filter .15s, background .15s; cursor: pointer; }
.adv-btn-primary { color: #04101e; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-teal)); border: 1px solid rgba(0,229,255,.5); box-shadow: 0 10px 26px -8px rgba(0,229,255,.5); }
.adv-btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 34px -10px rgba(0,229,255,.6); color: #04101e; }
.adv-btn-ghost { color: var(--ink); background: rgba(132,156,214,.06); border: 1px solid var(--line-strong); }
.adv-btn-ghost:hover { transform: translateY(-2px); border-color: rgba(124,61,255,.55); background: rgba(124,61,255,.12); }

/* hero */
.adv-hero { margin-top: 16px; padding: 46px 40px; text-align: left; }
.adv-eyebrow { display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--neon-cyan); padding: 6px 13px; border: 1px solid rgba(0,229,255,.3); border-radius: 20px; background: rgba(0,229,255,.06); margin-bottom: 18px; }
.adv-hero h1 { font-family: 'Clash Display', sans-serif; font-size: clamp(28px, 4vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; max-width: 16ch; }
.adv-lede { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 62ch; margin: 16px 0 0; }
.adv-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* section heads */
.adv-h { margin: 46px 0 18px; }
.adv-h h2 { font-family: 'Clash Display', sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.adv-h-sub { color: var(--ink-3); font-size: 14.5px; margin-top: 6px; }

/* model cards */
.adv-models { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.adv-model { padding: 24px 24px 22px; }
.adv-model-h { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.adv-model-h h3 { font-size: 18px; font-weight: 700; }
.adv-model p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.adv-formula, .calc-formula { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--neon-cyan); background: rgba(0,229,255,.06); border: 1px dashed rgba(0,229,255,.3); border-radius: 10px; padding: 11px 14px; }

/* pricing table */
.adv-table-wrap { padding: 6px 6px; overflow-x: auto; }
.adv-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.adv-table th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; padding: 14px 16px; border-bottom: 1px solid var(--line-strong); }
.adv-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.adv-table tr:last-child td { border-bottom: 0; }
.adv-table tbody tr { transition: background .15s; }
.adv-table tbody tr:hover { background: rgba(124,61,255,.07); }
.pt-place { font-weight: 700; }
.pt-rate { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pt-best { color: var(--ink-3); font-size: 13px; }
.pm-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; border: 1px solid; }
.pm-cpm { color: var(--neon-cyan); border-color: rgba(0,229,255,.4); background: rgba(0,229,255,.08); }
.pm-daily { color: var(--neon-purple); border-color: rgba(124,61,255,.45); background: rgba(124,61,255,.1); }
.pm-fixed { color: var(--neon-pink); border-color: rgba(255,61,154,.45); background: rgba(255,61,154,.1); }
.adv-note { display: flex; gap: 13px; align-items: center; margin-top: 16px; padding: 15px 18px; border-radius: 14px; background: rgba(217,70,239,.06); border: 1px solid rgba(217,70,239,.22); font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.adv-note b { color: var(--ink); }
.adv-note .cs-sic { flex: 0 0 40px; }

/* packages */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkg-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.pkg-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.4); box-shadow: 0 26px 60px -28px rgba(0,229,255,.35); }
.pkg-pop { border-color: rgba(0,229,255,.5); box-shadow: 0 0 0 1px rgba(0,229,255,.3), 0 26px 60px -26px rgba(0,229,255,.4); }
.pkg-flag { position: absolute; top: -11px; left: 22px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #04101e; padding: 4px 11px; border-radius: 20px; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-teal)); }
.pkg-name { font-family: 'Clash Display', sans-serif; font-size: 21px; font-weight: 600; }
.pkg-range { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; color: var(--neon-cyan); margin-top: 4px; }
.pkg-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 9px; }
.pkg-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.pkg-ck { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; border-radius: 6px; color: var(--neon-teal); background: rgba(0,255,178,.1); }
.pkg-ck svg { width: 12px; height: 12px; }
.pkg-bestfor { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.pkg-bestfor span { color: var(--neon-purple); font-weight: 700; }
.pkg-example { margin-top: 16px; padding: 13px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.pkg-ex-h { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.pkg-ex-l { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--ink-2); line-height: 1.7; }
.pkg-ex-t { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 700; color: var(--neon-teal); margin-top: 6px; padding-top: 7px; border-top: 1px solid var(--line); }
.pkg-cta { justify-content: center; margin-top: 18px; width: 100%; }
.pkg-card:not(.pkg-pop) .pkg-cta { color: var(--ink); background: rgba(132,156,214,.06); border: 1px solid var(--line-strong); box-shadow: none; }
.pkg-card:not(.pkg-pop) .pkg-cta:hover { border-color: rgba(124,61,255,.55); background: rgba(124,61,255,.12); }

/* calculator */
.calc-panel { margin-top: 24px; padding: 28px 26px; }
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin: 6px 0 18px; }
.calc-field { display: flex; flex-direction: column; gap: 7px; }
.calc-l { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.calc-inwrap { position: relative; display: flex; align-items: center; }
.calc-input { width: 100%; height: 44px; padding: 0 14px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 11px; color: var(--ink); font-size: 14px; font-family: 'JetBrains Mono', monospace; outline: none; transition: border-color .15s, box-shadow .15s; }
select.calc-input { font-family: 'Satoshi', system-ui, sans-serif; cursor: pointer; }
.calc-input:focus { border-color: rgba(0,229,255,.6); box-shadow: 0 0 0 3px rgba(0,229,255,.12); }
.calc-suf { position: absolute; right: 13px; font-size: 12px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; pointer-events: none; }
.calc-w { transition: opacity .2s; }
.calc-out { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.calc-row b { font-family: 'JetBrains Mono', monospace; color: var(--ink); }
.calc-row .neg { color: var(--neon-pink); }
.calc-row .pos { color: var(--medium); }
.calc-total { margin-top: 6px; padding-top: 13px; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--ink); font-weight: 700; }
.calc-total b { font-size: 22px; color: var(--neon-teal); }
.calc-example { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(0,229,255,.04); border: 1px dashed rgba(0,229,255,.25); }
.ce-h { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 9px; }
.ce-l { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.ce-l b, .ce-t b { font-family: 'JetBrains Mono', monospace; color: var(--ink); }
.ce-t { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ce-t b { color: var(--neon-teal); }

/* why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { padding: 22px 20px; }
.why-card .cs-sic { margin-bottom: 14px; }
.why-card h4 { font-size: 15px; font-weight: 700; line-height: 1.3; }
.why-card p { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.55; }

/* faq */
.faq-wrap { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--panel); overflow: hidden; transition: border-color .15s; }
.faq-item[open] { border-color: rgba(0,229,255,.35); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 20px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { display: inline-grid; place-items: center; color: var(--ink-3); transition: transform .2s, color .2s; }
.faq-x svg { width: 18px; height: 18px; }
.faq-item[open] .faq-x { transform: rotate(180deg); color: var(--neon-cyan); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* final cta */
.final-cta { margin-top: 48px; padding: 44px 30px; text-align: center; }
.final-cta h2 { font-family: 'Clash Display', sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.final-cta p { color: var(--ink-2); font-size: 15.5px; margin: 12px auto 24px; max-width: 56ch; }

@media (max-width: 960px) {
  .pkg-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .adv-models { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pkg-grid, .why-grid, .calc-grid { grid-template-columns: 1fr; }
  .adv-hero { padding: 34px 22px; }
  .adv-page .panel, .calc-panel { padding-left: 18px; padding-right: 18px; }
}
.audit-cta svg { width: 15px; height: 15px; }
/* show-more toggle + collapsed rows */
.ah-extra { display: none !important; }
.ah-expanded .ah-extra { display: grid !important; }
.ah-showmore { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; padding: 9px 16px; border-radius: 9px; cursor: pointer; background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 600; font-size: 12.5px; font-family: inherit; transition: .15s; }
.ah-showmore:hover { color: var(--ink); border-color: rgba(46,230,166,.5); background: rgba(46,230,166,.08); }

/* ============================================================================
   NEON REDESIGN — premium Web3 security dashboard (report page)
   palette: #020817 #07142B #0B1026 · #00E5FF #00FFB2 #7C3DFF #D946EF #FF3D9A
   ========================================================================== */
:root {
  --bg: #020817;
  --bg-2: #07142b;
  --neon-cyan: #00e5ff; --neon-teal: #00ffb2; --neon-purple: #7c3dff;
  --neon-magenta: #d946ef; --neon-pink: #ff3d9a;
}

/* report panels get a faint glowing violet edge + depth */
.legal .panel { border: 1px solid rgba(124,61,255,.16); box-shadow: 0 22px 60px -34px rgba(0,0,0,.92), inset 0 1px 0 rgba(255,255,255,.03); }

/* ---- hero card: glassmorphism + cyber background ---- */
.neon-hero { position: relative; overflow: hidden; padding: 28px 30px; border: 1px solid rgba(0,229,255,.18); border-radius: 22px; background: linear-gradient(135deg, rgba(8,18,40,.92), rgba(7,14,30,.82)); box-shadow: 0 30px 80px -38px rgba(0,0,0,.95), 0 0 0 1px rgba(124,61,255,.08), inset 0 1px 0 rgba(255,255,255,.05); }
.neon-hero > * { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 320px at 86% 8%, rgba(0,229,255,.18), transparent 60%),
    radial-gradient(520px 340px at 102% 96%, rgba(217,70,239,.16), transparent 62%),
    radial-gradient(680px 360px at 4% -6%, rgba(124,61,255,.16), transparent 60%); }
.hero-bg::before { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(0,229,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,.06) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(circle at 82% 64%, #000, transparent 76%); mask-image: radial-gradient(circle at 82% 64%, #000, transparent 76%); }
.hero-bg::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; background: radial-gradient(120% 130% at 50% 100%, rgba(0,229,255,.12), transparent 68%); }
.neon-hero .report-logo { border: 1px solid rgba(0,229,255,.4); box-shadow: 0 0 26px -6px rgba(0,229,255,.5); }

/* ---- score gauge ---- */
.score-ring.big { filter: drop-shadow(0 0 11px rgba(0,229,255,.4)); }
.val-max { font-size: 15px; color: var(--ink-3); font-weight: 600; margin-left: 1px; -webkit-text-fill-color: var(--ink-3); }
.bigscore { display: flex; justify-content: center; }
.posture { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--panel-2); }
.posture .pdot { width: 7px; height: 7px; border-radius: 50%; }
.posture.pg { color: var(--neon-teal); } .posture.pg .pdot { background: var(--neon-teal); box-shadow: 0 0 8px var(--neon-teal); }
.posture.pb { color: #fcd34d; } .posture.pb .pdot { background: #fcd34d; box-shadow: 0 0 8px #fcd34d; }
.posture.pa { color: var(--high); } .posture.pa .pdot { background: var(--high); box-shadow: 0 0 8px var(--high); }
.posture.pp { color: var(--critical); } .posture.pp .pdot { background: var(--critical); box-shadow: 0 0 8px var(--critical); }

/* ---- Contract Security: horizontal sections ---- */
.cs-section { display: grid; grid-template-columns: 212px 1fr; gap: 20px; align-items: start; padding: 17px 0; border-top: 1px solid var(--line); }
.cs-section:first-of-type { border-top: 0; padding-top: 6px; }
.cs-shead { display: flex; gap: 12px; align-items: flex-start; }
.cs-sic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 40px; border: 1px solid; }
.cs-sic svg { width: 19px; height: 19px; }
.cs-sic.tn-cyan { color: var(--neon-cyan); border-color: rgba(0,229,255,.35); background: rgba(0,229,255,.08); box-shadow: 0 0 20px -5px rgba(0,229,255,.55); }
.cs-sic.tn-teal { color: var(--neon-teal); border-color: rgba(0,255,178,.35); background: rgba(0,255,178,.08); box-shadow: 0 0 20px -5px rgba(0,255,178,.55); }
.cs-sic.tn-purple { color: var(--neon-purple); border-color: rgba(124,61,255,.4); background: rgba(124,61,255,.1); box-shadow: 0 0 20px -5px rgba(124,61,255,.6); }
.cs-sic.tn-magenta { color: var(--neon-magenta); border-color: rgba(217,70,239,.4); background: rgba(217,70,239,.1); box-shadow: 0 0 20px -5px rgba(217,70,239,.6); }
.cs-smeta { min-width: 0; padding-top: 1px; }
.cs-stitle { font-weight: 700; font-size: 14.5px; letter-spacing: .01em; }
.cs-ssub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.cs-section .flag-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-section .flag-tile { display: inline-flex; align-items: center; gap: 7px; width: auto; padding: 7px 11px; border-radius: 9px; background: rgba(9,18,40,.6); border: 1px solid var(--line-strong); font-size: 11.5px; backdrop-filter: blur(4px); }
.cs-section .flag-tile .fl-ic { width: 15px; height: 15px; flex: 0 0 15px; }
.cs-section .flag-tile .fl-label { max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.cs-section .flag-tile .fl-val { margin-left: 3px; font-weight: 700; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.cs-section .fl-good { border-color: rgba(0,255,178,.4); } .cs-section .fl-good .fl-val { color: var(--neon-teal); }
.cs-section .fl-warn { border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.07); } .cs-section .fl-warn .fl-val { color: var(--medium); }
.cs-section .fl-bad { border-color: rgba(255,61,154,.5); background: rgba(255,61,154,.09); } .cs-section .fl-bad .fl-val { color: var(--neon-pink); }
.cs-section .fl-unknown { opacity: .68; } .cs-section .fl-unknown .fl-val { color: var(--ink-3); }
.cs-counts { display: inline-flex; gap: 8px; margin-left: auto; }

/* ---- dual bottom cards ---- */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.nx-card { position: relative; overflow: hidden; }
.nx-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.nx-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.nx-eyebrow svg { width: 16px; height: 16px; color: var(--neon-cyan); }
.nx-card .hr-pct { font-family: 'JetBrains Mono', monospace; font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.hr-bigbar.hot > i { background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple) 46%, var(--neon-cyan)); }
.hr-bigbar.warm > i { background: linear-gradient(90deg, var(--neon-teal), #fbbf24); }
.hr-bigbar.cool > i { background: linear-gradient(90deg, var(--neon-cyan), var(--neon-teal)); }
.hist { display: flex; align-items: flex-end; gap: 3px; height: 42px; margin-top: 16px; }
.hist-bar { flex: 1; min-height: 4px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--neon-cyan), rgba(124,61,255,.28)); box-shadow: 0 0 8px -2px rgba(0,229,255,.5); }
.own-body { display: flex; gap: 18px; align-items: center; }
.own-rows { flex: 1; min-width: 0; }
.own-art { flex: 0 0 auto; }
.neon-bars { filter: drop-shadow(0 6px 16px rgba(0,229,255,.22)); }

/* ---- footer tagline ---- */
.report-tagline { text-align: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: .03em; background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple) 55%, var(--neon-pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

@media (max-width: 900px) {
  .dual-grid { grid-template-columns: 1fr; }
  .cs-section { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .own-body { flex-direction: column; align-items: stretch; }
  .own-art { display: grid; place-items: center; }
}
.fl-good { border-color: rgba(46,230,166,.3); }
.fl-good .fl-val { color: var(--low); }
.fl-warn { border-color: rgba(251,191,36,.3); }
.fl-warn .fl-val { color: var(--medium); }
.fl-bad { border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.06); }
.fl-bad .fl-val { color: var(--critical); }
.fl-unknown .fl-val { color: var(--ink-3); }

/* ---- holder distribution ---- */
.holders-list { margin-top: 14px; display: flex; flex-direction: column; }
.holder-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.holder-row:last-child { border-bottom: 0; }
.hr-rank { color: var(--ink-3); flex: 0 0 32px; }
.hr-addr { flex: 1; min-width: 0; }
.hr-bar { flex: 0 0 90px; height: 6px; border-radius: 20px; background: rgba(132,156,214,.12); overflow: hidden; }
.hr-bar > i { display: block; height: 100%; background: var(--grad); border-radius: 20px; }
.hr-pct { flex: 0 0 64px; text-align: right; font-weight: 700; }

/* ---- TVL ---- */
.tvl-total { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.tvl-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 13px; }
.tvl-name { flex: 0 0 110px; color: var(--ink-2); }
.tvl-bar { flex: 1; height: 7px; border-radius: 20px; background: rgba(132,156,214,.12); overflow: hidden; }
.tvl-bar > i { display: block; height: 100%; background: var(--grad); border-radius: 20px; }
.tvl-val { flex: 0 0 96px; text-align: right; color: var(--ink-2); }

/* ---- on-chain scan ---- */
.scan-list { display: flex; flex-direction: column; }
.scan-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.scan-row:last-child { border-bottom: 0; }
.scan-chain { font-weight: 700; font-size: 13px; text-transform: capitalize; flex: 0 0 90px; }
.scan-addr { flex: 1; min-width: 120px; }
.scan-tax { font-size: 12px; color: var(--ink-2); flex: 0 0 130px; }
.scan-flags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---- milestones ---- */
.ms-list { display: flex; flex-direction: column; gap: 4px; }
.ms-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ms-row:last-child { border-bottom: 0; }
.ms-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ms-date { font-size: 11.5px; color: var(--cyan); }
.ms-head { font-size: 13.5px; color: var(--ink); line-height: 1.5; }

/* ---- hero social icon buttons (next to Website) ---- */
.social-btns { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.social-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--panel);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { color: #fff; border-color: rgba(109,92,246,.6); background: rgba(109,92,246,.12); transform: translateY(-2px); }

/* ---- grade + socials ---- */
.grade-pill { font-family: 'JetBrains Mono', monospace; font-weight: 700; padding: 2px 10px; border-radius: 7px; background: var(--grad); color: #fff; }
.social-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--ink-2);
  text-transform: capitalize; transition: color .2s, border-color .2s, background .2s;
}
.social-link svg { width: 15px; height: 15px; flex: 0 0 15px; }
.social-link:hover { color: #fff; border-color: rgba(109,92,246,.6); background: rgba(109,92,246,.12); }
/* per-platform brand accents on hover */
.sl-twitter:hover, .sl-x:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.sl-telegram:hover { border-color: rgba(40,159,217,.6); background: rgba(40,159,217,.14); color: #5fc8ff; }
.sl-discord:hover { border-color: rgba(88,101,242,.6); background: rgba(88,101,242,.16); color: #aab4ff; }
.sl-github:hover { border-color: rgba(180,190,210,.5); background: rgba(180,190,210,.1); }
.sl-instagram:hover { border-color: rgba(214,41,118,.6); background: rgba(214,41,118,.14); color: #ff8fc0; }
.sl-website:hover { border-color: rgba(46,230,166,.55); background: rgba(46,230,166,.12); color: var(--low); }
.sl-reddit:hover { border-color: rgba(255,69,0,.6); background: rgba(255,69,0,.14); color: #ff7a40; }
.sl-email:hover { border-color: rgba(56,225,255,.55); background: rgba(56,225,255,.12); color: var(--cyan); }

.btn-report {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14.5px; border: 0;
  box-shadow: 0 12px 30px -12px rgba(109,92,246,.7); transition: transform .2s, box-shadow .2s;
}
.btn-report:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(109,92,246,.85); }
.btn-report svg { width: 17px; height: 17px; }

/* news article page */
.article { max-width: 760px; }
.article-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); margin: 8px 0 24px; }
.article-title { font-family: 'Clash Display', sans-serif; font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.article-meta { display: flex; gap: 14px; align-items: center; margin: 16px 0 4px; color: var(--ink-3); font-size: 13px; font-family: 'JetBrains Mono', monospace; }
.article-body { font-size: 16.5px; line-height: 1.78; color: var(--ink-2); margin-top: 18px; }
.article-body p { margin: 0 0 18px; }
.article-body h2, .article-body h3, .article-body h4 {
  font-family: 'Clash Display', sans-serif; color: var(--ink); font-weight: 600;
  margin: 30px 0 12px; line-height: 1.25; letter-spacing: -.01em;
}
.article-body h2 { font-size: 23px; } .article-body h3 { font-size: 19px; } .article-body h4 { font-size: 16.5px; }
.article-body a {
  color: #9db8ff; text-decoration: none; border-bottom: 1px solid rgba(157,184,255,.35);
  transition: color .15s, border-color .15s;
}
.article-body a:hover { color: #fff; border-color: var(--brand-2); }
.article-body img { max-width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); margin: 10px 0; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin: 6px 0; }
.article-body blockquote {
  margin: 18px 0; padding: 6px 18px; border-left: 3px solid var(--brand-2);
  color: var(--ink); font-style: italic; background: var(--panel-2); border-radius: 0 10px 10px 0;
}
.article-body figure { margin: 16px 0; }
.article-body figcaption { font-size: 13px; color: var(--ink-3); margin-top: 6px; text-align: center; }
.related { margin-top: 44px; }
.related h3 { font-family: 'Clash Display', sans-serif; font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card { padding: 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.related-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.related-card .src { font-size: 11px; color: var(--cyan); font-family: 'JetBrains Mono', monospace; }
.related-card .t { font-weight: 600; font-size: 14.5px; margin-top: 6px; line-height: 1.4; }

/* ============================================================ COOKIE === */
.foot-links { margin: 6px 0; }
.foot-links a { color: var(--ink-2); transition: color .2s; }
.foot-links a:hover { color: #fff; }

.cookie-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 160%);
  z-index: 200; width: min(900px, calc(100% - 36px));
  display: flex; align-items: center; gap: 18px;
  padding: 16px 18px 16px 20px; border-radius: 18px;
  background: rgba(12, 18, 31, 0.94); border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); box-shadow: var(--shadow);
  opacity: 0; transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .5s;
}
.cookie-banner.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-banner .ck-icon { flex: 0 0 30px; width: 30px; height: 30px; color: var(--brand-2); }
.cookie-banner .ck-icon svg { width: 30px; height: 30px; }
.ck-text { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ck-text strong { color: var(--ink); }
.ck-text a { color: #9db8ff; border-bottom: 1px solid rgba(157,184,255,.4); }
.ck-text a:hover { color: #fff; }
.ck-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.ck-decline {
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2);
  padding: 11px 18px; border-radius: 11px; font-weight: 600; font-size: 13px; transition: color .2s, border-color .2s;
}
.ck-decline:hover { color: #fff; border-color: var(--ink-3); }
.ck-accept {
  background: var(--grad); border: 0; color: #fff; padding: 11px 26px; border-radius: 11px;
  font-weight: 700; font-size: 13px; box-shadow: 0 12px 26px -12px rgba(109,92,246,.75); transition: transform .2s, box-shadow .2s;
}
.ck-accept:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(109,92,246,.9); }
@media (max-width: 680px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; bottom: 12px; padding: 16px; }
  .ck-actions { width: 100%; } .ck-accept { flex: 1; } .ck-decline { flex: 0 0 auto; }
}

/* ============================================================ LEGAL ==== */
.legal { max-width: 840px; }
.legal-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal-title { font-family: 'Clash Display', sans-serif; font-size: 38px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.legal-updated { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; margin-top: 10px; }
.legal-lead { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin-top: 14px; }
.legal h2 {
  font-family: 'Clash Display', sans-serif; font-size: 21px; font-weight: 600; color: var(--ink);
  margin: 34px 0 12px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 10px;
}
.legal h2 .n { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--brand-2); font-weight: 700; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.78; font-size: 15.5px; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin: 7px 0; }
.legal a { color: #9db8ff; border-bottom: 1px solid rgba(157,184,255,.35); }
.legal a:hover { color: #fff; }
.legal strong { color: var(--ink); }
.legal .callout {
  margin: 22px 0; padding: 20px 22px; border-radius: var(--r);
  background: rgba(255,138,91,.07); border: 1px solid rgba(255,138,91,.3);
  border-left: 4px solid var(--high);
}
.legal .callout h3 {
  margin: 0 0 10px; font-family: 'Clash Display', sans-serif; font-size: 17px; color: #ffd9c7;
  display: flex; align-items: center; gap: 9px;
}
.legal .callout h3 svg { width: 18px; height: 18px; color: var(--high); }
.legal .callout p { color: #f0d8cc; margin-bottom: 10px; }
.legal .callout p:last-child { margin-bottom: 0; }

/* ============================================================ STATES === */
.skeleton { background: linear-gradient(100deg, rgba(132,156,214,.06) 30%, rgba(132,156,214,.13) 50%, rgba(132,156,214,.06) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r); }
.sk-card { height: 168px; }
.empty-state { padding: 40px; text-align: center; color: var(--ink-3); }

/* ============================================================ ANIMATION === */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,225,255,.55); } 70% { box-shadow: 0 0 0 9px rgba(56,225,255,0); } 100% { box-shadow: 0 0 0 0 rgba(56,225,255,0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: rise .55s cubic-bezier(.2,.7,.3,1) forwards; }

/* ============================================================ RESPONSIVE === */
@media (max-width: 1380px) {
  .grid.hero { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .workspace { grid-template-columns: 1fr; }
  .rail-panel { position: static; }
  .timeline { max-height: 520px; }
}
@media (max-width: 920px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -260px; z-index: 100; transition: left .3s; }
  .sidebar.open { left: 0; }
  .panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .panel-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid, .grid.hero { grid-template-columns: 1fr 1fr; }
  .workspace, .page { padding: 18px 16px 50px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .grid, .grid.hero { grid-template-columns: 1fr; }
}

/* ===== report hero: score ring + legend + verified badge ===== */
.verified-badge { display: inline-flex; vertical-align: middle; margin-left: 11px; }
.verified-badge svg { width: 25px; height: 25px; filter: drop-shadow(0 2px 6px rgba(30,200,168,.4)); }
.chain-badge { display: inline-flex; align-items: center; gap: 5px; }
.chain-badge .cb-ic { display: inline-flex; color: #7c9cff; }
.chain-badge .cb-ic svg { width: 11px; height: 11px; }
.bigscore { display: flex; gap: 18px; align-items: center; padding: 0; }
.bigscore .ring-cluster { text-align: center; }
.score-ring.big { position: relative; margin: 0 auto; }
.score-ring.big .val { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-weight: 700; letter-spacing: -.02em; }
.score-legend { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); box-shadow: var(--shadow); }
.score-legend .sl-row { display: flex; gap: 18px; align-items: baseline; justify-content: space-between; font-size: 12.5px; line-height: 1; }
.score-legend .sl-row b { font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.score-legend .sl-row span { color: var(--ink-2); }

/* ===== Top 10 Holders Ratio panel + isometric pie + accounts ===== */
.holder-ratio .hr-top { display: flex; gap: 28px; align-items: center; }
.holder-ratio .hr-main { flex: 1; min-width: 0; }
.hr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 13px; }
.hr-title { font-size: 16px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.hr-title .i { display: inline-flex; color: var(--ink-3); }
.hr-title .i svg { width: 15px; height: 15px; }
.hr-pct { font-family: 'JetBrains Mono', monospace; font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.hr-bigbar { height: 11px; border-radius: 20px; background: rgba(132,156,214,.12); overflow: hidden; }
.hr-bigbar > i { display: block; height: 100%; border-radius: 20px; transition: width 1.1s cubic-bezier(.2,.7,.3,1); }
.hr-bigbar.cool > i { background: linear-gradient(90deg, #2ee6a6, #7fe0b0); }
.hr-bigbar.warm > i { background: linear-gradient(90deg, #2ee6a6, #fbbf24); }
.hr-bigbar.hot > i { background: linear-gradient(90deg, #7c5cff, #3da5ff 42%, #ff4d6d); }
.hr-foot { font-size: 12.5px; color: var(--ink-3); margin-top: 11px; }
.hr-art { flex: 0 0 auto; display: grid; place-items: center; }
.iso-pie { filter: drop-shadow(0 14px 26px rgba(70,40,160,.28)); }
.hr-accounts { margin-top: 18px; border-top: 1px solid var(--line); }
.acct-row { display: flex; align-items: center; gap: 13px; padding: 13px 2px; }
.acct-row + .acct-row { border-top: 1px solid var(--line); }
.acct-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); flex: 0 0 auto; }
.acct-ic svg { width: 16px; height: 16px; }
.acct-label { font-weight: 600; font-size: 13.5px; }
.acct-spacer { flex: 1; }
.copy-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: transparent; border: 1px solid var(--line); color: var(--ink-3); cursor: pointer; transition: .15s; }
.copy-btn:hover { color: var(--ink); border-color: var(--line-strong); background: var(--panel-2); }
.copy-btn svg { width: 14px; height: 14px; }
.acct-pct { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; }
@media (max-width: 700px) {
  .holder-ratio .hr-top { flex-direction: column; align-items: stretch; }
  .hr-art { order: -1; }
  .bigscore { flex-direction: column; align-items: stretch; }
}
