/*
 * SlotVerdict — Homepage · v1.6.44
 * 9 blocks CMC-style · Binance dark · Unbounded/Onest/JetBrains Mono
 */

.hp {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  color: #EAECEF;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  --bg-0: #0B0E11;
  --bg-1: #181A20;
  --bg-2: #1E2329;
  --bg-3: #2B2F36;
  --yellow: #FCD535;
  --amber: #F0B90B;
  --amber-bg: rgba(240,185,11,.1);
  --t1: #EAECEF;
  --t2: #B7BDC6;
  --t3: #848E9C;
  --t4: #5E6673;
  --green: #0ECB81;
  --red: #F6465D;
  --purple: #6C5CE7;
  --blue: #3861FB;
  --pink: #EC4899;
  --line: rgba(255,255,255,.06);
  --line-2: rgba(255,255,255,.1);
}

@keyframes hp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Shared block frame */
.hp-block {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}
.hp-block-hd {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.hp-block-hd-l { display: flex; align-items: center; gap: 10px; }
.hp-block-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--amber-bg);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp-block-h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--t1);
  margin: 0;
}
.hp-block-sub { font-size: 12px; color: var(--t3); margin-left: 4px; }
.hp-block-hd-r { display: flex; gap: 8px; align-items: center; }
.hp-block-bd { padding: 20px; }

/* 1. STATBAR */
.hp-statbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.hp-stat {
  background: var(--bg-1);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.hp-stat-l {
  font-size: 10px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hp-stat-v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--t1);
}
.hp-stat-d {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}
.hp-stat-d.neg { color: var(--red); }
.hp-stat-live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: hp-pulse 2s infinite;
  flex-shrink: 0;
}

/* 2. HERO + LIVE TOP 5 */
.hp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 20px;
  margin-bottom: 20px;
}
.hp-hero {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.hp-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,185,11,.12), transparent 70%);
  pointer-events: none;
}
.hp-hero > * { position: relative; z-index: 1; }
.hp-eye {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--amber-bg);
  color: var(--amber);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.hp-h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--t1);
}
.hp-h1 span { color: var(--amber); }
.hp-sub {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 0 22px;
}
.hp-cta {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hp-btn-pri {
  padding: 13px 24px;
  background: var(--amber);
  color: var(--bg-0) !important;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s;
}
.hp-btn-pri:hover {
  background: var(--yellow);
  transform: translateY(-1px);
}
.hp-btn-out {
  padding: 13px 22px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--t1) !important;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s;
}
.hp-btn-out:hover {
  border-color: var(--amber);
  color: var(--amber) !important;
}
.hp-trust {
  display: flex;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hp-trust-it { display: flex; gap: 10px; align-items: center; }
.hp-trust-ico {
  width: 30px; height: 30px;
  background: var(--bg-3);
  color: var(--green);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp-trust-v {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hp-trust-l { font-size: 11px; color: var(--t3); }

.hp-live {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hp-live::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--yellow), var(--amber));
  z-index: 1;
}
.hp-live-h {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.hp-live-h-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.01em;
}
.hp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: hp-pulse 2s infinite;
  flex-shrink: 0;
}
.hp-live-date {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--t3);
  letter-spacing: 0;
}
.hp-live-h-r {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  color: var(--amber);
  text-decoration: none;
  transition: all 0.15s;
}
.hp-live-h-r:hover {
  color: var(--yellow);
  transform: translateX(2px);
}
.hp-live-cols {
  display: grid;
  grid-template-columns: 40px 40px 1fr 80px 80px;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hp-live-cols .right { text-align: right; }
.hp-live-list {
  display: flex;
  flex-direction: column;
}
.hp-live-row {
  display: grid;
  grid-template-columns: 40px 40px 1fr 80px 80px;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.hp-live-row:last-child { border-bottom: none; }
.hp-live-row:hover {
  background: var(--bg-2);
  color: inherit;
}
.hp-live-rank {
  width: 30px;
  height: 30px;
  background: var(--bg-3);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--t2);
  font-variant-numeric: tabular-nums;
}
.hp-live-rank.top1 {
  background: var(--amber);
  color: var(--bg-0);
}
.hp-live-logo {
  width: 40px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}
.hp-live-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-live-logo span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--t2);
  letter-spacing: 0;
}
.hp-live-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hp-live-dom {
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
  font-family: var(--font);
}
.hp-live-score-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.hp-live-score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hp-live-underline {
  width: 28px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  display: block;
}
.hp-live-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
  justify-content: flex-end;
}
.hp-live-trend.up { color: var(--green); }
.hp-live-trend.down { color: var(--red); }
.hp-live-trend.flat { color: var(--t3); }
.hp-live-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--amber);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.hp-live-all:hover {
  background: var(--amber-bg);
  color: var(--yellow);
}

/* 3. TABS */
.hp-tabs-block { margin-bottom: 20px; }
.hp-tabs { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.hp-tab {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  color: var(--t2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.hp-tab.on { background: var(--amber); color: var(--bg-0); }
.hp-tab .ct {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  background: rgba(0,0,0,.15);
  border-radius: 999px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.hp-tab:not(.on):hover { background: var(--bg-3); color: var(--t1); }
.hp-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-q {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--t2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.hp-q:hover { border-color: var(--amber); color: var(--amber); }

/* 4. TABLE + SIDEBAR */
.hp-main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.hp-table-block { margin-bottom: 0; }
.hp-table { display: flex; flex-direction: column; }
.hp-thead {
  display: grid;
  grid-template-columns: 50px 60px 1fr 80px 110px 80px 100px 110px;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hp-thead .right { text-align: right; }
.hp-thead .center { text-align: center; }
.hp-trow {
  display: grid;
  grid-template-columns: 50px 60px 1fr 80px 110px 80px 100px 110px;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.hp-trow:last-child { border-bottom: none; }
.hp-trow:hover { background: var(--bg-2); color: inherit; }
.hp-rank {
  width: 30px; height: 30px;
  background: var(--bg-3);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 800;
  color: var(--t2);
  margin: 0 auto;
}
.hp-rank.top1 { background: var(--amber); color: var(--bg-0); }
.hp-rank.top2 { background: rgba(184,201,255,.18); color: #B8C9FF; }
.hp-rank.top3 { background: rgba(255,159,67,.18); color: #FF9F43; }
.hp-logo {
  width: 50px; height: 36px;
  background: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 4px;
}
.hp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hp-logo span { font-size: 10px; font-weight: 800; color: #222; }
.hp-tname-n {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
}
.hp-tname-sub { font-size: 11px; color: var(--t4); margin-top: 2px; }
.hp-t-lic {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  background: rgba(14,203,129,.12);
  color: var(--green);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}
.hp-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hp-num.g { color: var(--green); }
.hp-num.a { color: var(--amber); }
.hp-spark { width: 100%; height: 28px; }
.hp-trating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hp-trating-v {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hp-trating-l { font-size: 9px; color: var(--t3); }

/* Sidebar */
.hp-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-w {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
/* Tags widget needs overflow visible so popover can extend beyond bounds */
.hp-w.hp-w-tags-block { overflow: visible; }
.hp-w.hp-w-tags-block .hp-w-tags { overflow: visible; }
.hp-w-hd {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hp-w-hd h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--t1);
}
.hp-w-c { font-family: var(--font-mono); font-size: 10px; color: var(--t4); }
.hp-w-bd { padding: 4px 0; }
.hp-w-row {
  display: grid;
  grid-template-columns: 22px 32px 1fr auto;
  gap: 10px;
  padding: 8px 16px;
  align-items: center;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.hp-w-row:hover { background: var(--bg-3); color: inherit; }
.hp-w-rev { grid-template-columns: 32px 1fr auto; }
.hp-w-rank {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--t3);
  text-align: center;
}
.hp-w-rank.top { color: var(--amber); }
.hp-w-logo {
  width: 32px; height: 24px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  font-size: 8px;
  font-weight: 800;
  color: #222;
}
.hp-w-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hp-w-name { font-size: 12px; font-weight: 600; color: var(--t1); }
.hp-w-sub {
  font-size: 10px;
  color: var(--t4);
  margin-top: 1px;
  font-family: var(--font-mono);
}
.hp-w-sub.amber {
  color: var(--amber);
  font-weight: 700;
  font-family: var(--font);
}
.hp-w-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.hp-w-val.r { color: var(--red); }

.hp-w-pulse { padding: 4px 0; }
.hp-pulse-row {
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.hp-pulse-row:last-child { border-bottom: none; }
/* Sidebar pulse dot — distinct from sentiment-timeline .hp-pulse-dot.
   Use specificity via parent .hp-pulse-row to avoid the absolute-positioned
   sentiment dots leaking into here. */
.hp-pulse-row .hp-pulse-dot {
  position: static;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 0 3px rgba(14,203,129,.12);
  transform: none;
  transition: none;
  z-index: auto;
}
.hp-pulse-row .hp-pulse-dot.pos { background: var(--green); box-shadow: 0 0 0 3px rgba(14,203,129,.12); }
.hp-pulse-row .hp-pulse-dot.rev { background: var(--blue);  box-shadow: 0 0 0 3px rgba(56,97,251,.12); }
.hp-pulse-row .hp-pulse-dot.bon { background: var(--amber); box-shadow: 0 0 0 3px rgba(240,185,11,.15); }
/* Legacy classes kept for back-compat */
.hp-pulse-row .hp-pulse-dot.a { background: var(--amber); }
.hp-pulse-row .hp-pulse-dot.r { background: var(--red); }
.hp-pulse-tx {
  flex: 1;
  font-size: 11.5px;
  color: var(--t2);
  line-height: 1.45;
  min-width: 0;
}
.hp-pulse-tx b { color: var(--t1); font-weight: 700; }
.hp-pulse-tm {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t4);
  flex-shrink: 0;
  margin-top: 2px;
}
/* Live dot near "live" pill in pulse header */
.hp-w-c-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hp-pulse-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(14,203,129,.18);
  animation: hp-pulse 1.8s infinite;
}
/* Header link variant — replaces plain count with a link to bonus archive */
.hp-w-c-link {
  text-decoration: none;
  color: var(--amber);
  font-weight: 700;
  transition: color .15s;
}
.hp-w-c-link:hover { color: var(--yellow); }

/* ── HOT BONUSES sidebar widget ── */
.hp-w-bonuses .hp-w-bd { padding: 4px 6px 6px; }
.hp-bn-row {
  display: grid;
  grid-template-columns: 18px 28px 1fr 18px;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, transform .12s;
  position: relative;
  overflow: hidden;
}
.hp-bn-row + .hp-bn-row { margin-top: 1px; }
.hp-bn-row:hover {
  background: rgba(240,185,11,.05);
}
.hp-bn-row:active { transform: scale(.99); }
.hp-bn-rank {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--t3);
  text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hp-bn-rank.top {
  color: var(--amber);
  text-shadow: 0 0 6px rgba(240,185,11,.4);
}
.hp-bn-logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 8px;
  font-weight: 800;
  color: var(--t2);
  letter-spacing: .04em;
}
.hp-bn-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 2px;
}
.hp-bn-logo-init {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  line-height: 1;
}
.hp-bn-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hp-bn-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--t1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.hp-bn-amt {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: nowrap;
  line-height: 1.15;
  overflow: hidden;
}
.hp-bn-amt-main {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.hp-bn-amt-fs {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-bn-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-top: 2px;
  align-items: center;
  overflow: hidden;
}
.hp-bn-tag {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--purple);
  background: rgba(108,92,231,.12);
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-bn-meta-it {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--t3);
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-bn-promo {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 800;
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px dashed rgba(240,185,11,.4);
  padding: 0 4px;
  border-radius: 3px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-bn-cta {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  flex-shrink: 0;
  transition: all .15s;
}
.hp-bn-cta svg { width: 11px; height: 11px; }
.hp-bn-row:hover .hp-bn-cta {
  background: var(--amber);
  color: #0B0E11;
  transform: translateX(2px);
}
.hp-rev-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}
.hp-w-tags {
  padding: 12px 16px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.hp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: var(--bg-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--t2);
  cursor: pointer;
  transition: all 0.15s;
  border: 0;
  font-family: inherit;
  text-decoration: none;
  line-height: 1.4;
}
.hp-tag .ct { font-family: var(--font-mono); font-size: 10px; color: var(--t4); }
.hp-tag:hover { background: var(--amber-bg); color: var(--amber); }
.hp-tag:hover .ct { color: var(--amber); }

/* +N popover trigger */
.hp-tag-popover-wrap {
  position: relative;
  display: inline-block;
}
.hp-tag-more {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--amber);
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: .02em;
  cursor: pointer;
}
.hp-tag-more:hover,
.hp-tag-popover-wrap.open .hp-tag-more {
  background: var(--amber-bg);
  border-color: rgba(240,185,11,.5);
  color: var(--amber);
}
.hp-tag-more-plus {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.hp-tag-more-n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
}

/* Popover panel */
.hp-tag-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  /* Popover should expand toward the LEFT (anchored right) but cannot
     overflow the sidebar. The widget is .hp-w which is 100% of sidebar.
     We compute width from viewport-relative max so it fits cleanly. */
  width: max-content;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 32px));
  max-height: 360px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(240,185,11,.05);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(.98);
  transition: opacity .18s, transform .18s;
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.hp-tag-popover-wrap.open .hp-tag-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
/* Pointer arrow connecting to button */
.hp-tag-popover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 16px;
  width: 10px;
  height: 10px;
  background: var(--bg-1);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  transform: rotate(45deg);
}
/* Invisible bridge so hover doesn't break when moving cursor from button to popover */
.hp-tag-popover::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  height: 10px;
}

.hp-tag-popover-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line);
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--t2);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hp-tag-popover-c {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  background: var(--amber-bg);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0;
}
.hp-tag-popover-body {
  overflow-y: auto;
  padding: 6px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-3) transparent;
}
.hp-tag-popover-body::-webkit-scrollbar { width: 6px; }
.hp-tag-popover-body::-webkit-scrollbar-track { background: transparent; }
.hp-tag-popover-body::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: 3px;
}

.hp-tag-popover-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t1);
  text-decoration: none;
  border-radius: 7px;
  transition: background .12s, color .12s;
}
.hp-tag-popover-item:hover {
  background: rgba(240,185,11,.08);
  color: var(--amber);
}
.hp-tag-popover-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-tag-popover-ct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  flex-shrink: 0;
}
.hp-tag-popover-item:hover .hp-tag-popover-ct { color: var(--amber); }

/* 5. ORBIT + HEATMAP */
.hp-eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hp-orbit {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 20px;
  height: 380px;
  position: relative;
  overflow: hidden;
}
.hp-orbit-svg { display: block; margin: 0 auto; }
.hp-orbit-c {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.hp-orbit-cv {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.hp-orbit-cl {
  font-size: 10px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 4px;
}
.hp-orbit-prov {
  position: absolute;
  width: 64px; height: 36px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #222;
  text-align: center;
  font-family: var(--font);
}
.hp-orbit-prov.dark {
  background: var(--bg-3);
  color: var(--t1);
  border: 1px solid var(--line);
}

.hp-heat {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 20px;
  height: 380px;
  display: flex;
  flex-direction: column;
}
.hp-heat-t {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.hp-heat-t > span:first-child {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--t1);
}
.hp-heat-sub { font-size: 11px; color: var(--t3); }
.hp-heat-head {
  display: grid;
  grid-template-columns: 32px repeat(24, 1fr);
  gap: 2px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.hp-heat-head span {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--t4);
  text-align: center;
}
.hp-heat-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.hp-heat-row {
  display: grid;
  grid-template-columns: 32px repeat(24, 1fr);
  gap: 2px;
  align-items: center;
}
.hp-heat-d {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--t4);
  text-align: center;
}
.hp-heat-c {
  aspect-ratio: 1;
  border-radius: 2px;
  min-height: 12px;
}
.hp-heat-c.h0 { background: var(--bg-3); }
.hp-heat-c.h1 { background: rgba(240,185,11,.15); }
.hp-heat-c.h2 { background: rgba(240,185,11,.35); }
.hp-heat-c.h3 { background: rgba(240,185,11,.55); }
.hp-heat-c.h4 { background: rgba(240,185,11,.85); }
.hp-heat-leg {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  justify-content: center;
}
.hp-heat-leg .hp-heat-c {
  width: 14px; height: 14px;
  min-height: 14px;
  aspect-ratio: auto;
}
.hp-heat-leg-l {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t4);
}

/* 6. SCOREBOARD */
.hp-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hp-board-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.hp-board-card:hover {
  border-color: rgba(240,185,11,.3);
  color: inherit;
  transform: translateY(-1px);
}
.hp-board-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.hp-board-n { font-size: 13px; font-weight: 700; color: var(--t1); }
.hp-board-d {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.hp-board-d.r { color: var(--red); }
.hp-board-bv {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.hp-board-bl {
  font-size: 10px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 14px;
}
.hp-board-spark { width: 100%; height: 50px; }

/* 7. SENTIMENT */
.hp-sent-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.hp-sent-tl {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 18px;
}
.hp-sent-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.hp-sent-t {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--t1);
}
.hp-sent-leg { display: flex; gap: 10px; font-size: 11px; }
.hp-sent-leg span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--t3);
}
.hp-sent-leg .d-g { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hp-sent-leg .d-r { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hp-sent-leg .d-y { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hp-sent-svg { width: 100%; height: 200px; }
.hp-sent-ax {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--t4);
}
.hp-sent-stack { display: flex; flex-direction: column; gap: 12px; }
.hp-cloud {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.hp-cloud-t {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: left;
  color: var(--t1);
}
.hp-cloud-w {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  min-height: 130px;
}
.hp-wd {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--t2);
  cursor: pointer;
  transition: color 0.15s;
}
.hp-wd:hover { color: var(--amber); }
.hp-wd.s1 { font-size: 11px; color: var(--t4); }
.hp-wd.s2 { font-size: 13px; }
.hp-wd.s3 { font-size: 16px; color: var(--t1); }
.hp-wd.s4 { font-size: 19px; color: var(--amber); font-weight: 800; }
.hp-wd.s5 { font-size: 23px; color: var(--green); font-weight: 900; }
.hp-wd.s6 { font-size: 28px; color: var(--amber); font-weight: 900; }

.hp-pc {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 16px;
}
.hp-pc-t {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 10px;
}
.hp-pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-pc-col h5 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.hp-pros h5 { color: var(--green); }
.hp-cons h5 { color: var(--red); }
.hp-pc-tag {
  display: block;
  padding: 5px 9px;
  background: var(--bg-3);
  border-radius: 6px;
  font-size: 11px;
  color: var(--t2);
  margin-bottom: 5px;
}
.hp-pc-tag .ct {
  float: right;
  font-family: var(--font-mono);
  color: var(--t4);
}

.hp-spot {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 18px;
  margin-top: 16px;
}
.hp-spot-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.hp-spot-t {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--t1);
}
.hp-spot-tag {
  background: var(--amber-bg);
  color: var(--amber);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hp-spot-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--bg-1);
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.hp-spot-card:hover { border-color: rgba(240,185,11,.3); color: inherit; }
.hp-spot-logo {
  width: 60px; height: 44px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #222;
}
.hp-spot-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hp-spot-info h5 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--t1);
  margin: 0;
}
.hp-spot-info p { font-size: 12px; color: var(--t3); margin: 2px 0 0; }
.hp-spot-s { text-align: right; }
.hp-spot-s-v {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hp-spot-s-l {
  font-size: 10px;
  color: var(--t3);
  font-family: var(--font-mono);
}

/* 8. ANALYTICS */
.hp-ana-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.hp-ana-card {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 18px;
}
.hp-ana-card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--t1);
}

.hp-radar {
  aspect-ratio: 1;
  max-width: 220px;
  margin: 0 auto;
}
.hp-radar svg { width: 100%; height: 100%; }
.hp-radar-leg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
}
.hp-radar-leg-it {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--t2);
}
.hp-radar-leg-it .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hp-race { display: flex; flex-direction: column; gap: 8px; }
.hp-race-row {
  display: grid;
  grid-template-columns: 22px 90px 1fr 36px;
  gap: 8px;
  align-items: center;
}
.hp-race-rank {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--amber);
  text-align: center;
}
.hp-race-name { font-size: 12px; font-weight: 700; color: var(--t1); }
.hp-race-bar {
  height: 18px;
  background: var(--bg-3);
  border-radius: 4px;
  overflow: hidden;
}
.hp-race-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--yellow));
  border-radius: 4px;
}
.hp-race-v {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hp-dist {
  height: 210px;
  display: flex;
  flex-direction: column;
}
.hp-dist-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 160px;
}
.hp-dist-bar {
  flex: 1;
  background: var(--bg-3);
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 6px;
}
.hp-dist-bar.a { background: var(--amber); }
.hp-dist-bar.g { background: var(--green); }
.hp-dist-bar-v {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t3);
  font-weight: 700;
}
.hp-dist-bar.a .hp-dist-bar-v { color: var(--amber); }
.hp-dist-bar.g .hp-dist-bar-v { color: var(--green); }
.hp-dist-axis {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.hp-dist-axis span {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t4);
}
.hp-dist-avg {
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
  color: var(--t3);
}
.hp-dist-avg b {
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 800;
}

/* 9. EXPERT */
.hp-expert {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}
.hp-expert-a { text-align: center; }
.hp-expert-av {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--yellow));
  color: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  margin: 0 auto 10px;
  letter-spacing: -0.02em;
}
/* v1.6.259 — photo variant */
.hp-expert-av.hp-expert-av-photo {
  background: var(--bg-2);
  border: 2px solid var(--amber);
  overflow: hidden;
  padding: 0;
}
.hp-expert-av.hp-expert-av-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-expert-n {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--t1);
}
.hp-expert-r {
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
}
.hp-expert-cred {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.hp-expert-cr {
  padding: 2px 7px;
  background: var(--bg-3);
  border-radius: 4px;
  font-size: 9px;
  color: var(--t2);
  font-weight: 700;
}
.hp-expert-q {
  padding-left: 24px;
  border-left: 3px solid var(--amber);
}
.hp-expert-qt {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.4;
  margin: 0 0 14px;
  quotes: none;
}
.hp-expert-qt::before { content: '«'; color: var(--amber); margin-right: 4px; }
.hp-expert-qt::after { content: '»'; color: var(--amber); margin-left: 4px; }
.hp-expert-meta {
  display: flex;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hp-expert-m span {
  font-size: 10px;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hp-expert-m b {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  display: block;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* MOBILE */
@media (max-width: 1100px) {
  .hp-statbar { grid-template-columns: repeat(3, 1fr); }
  .hp-hero-grid { grid-template-columns: 1fr; }
  .hp-main-grid { grid-template-columns: 1fr; }
  .hp-sidebar { position: static; }
  .hp-eco-grid { grid-template-columns: 1fr; }
  .hp-board { grid-template-columns: repeat(2, 1fr); }
  .hp-sent-grid { grid-template-columns: 1fr; }
  .hp-ana-grid { grid-template-columns: 1fr; }
  .hp-expert { grid-template-columns: 1fr; text-align: center; }
  .hp-expert-q {
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 3px solid var(--amber);
  }
}

@media (max-width: 720px) {
  .hp { padding: 16px 14px; }
  /* .hp-statbar carousel handled in v1.6.47 mobile section below */
  .hp-h1 { font-size: 32px; }
  .hp-board { grid-template-columns: 1fr 1fr; }
  .hp-trow, .hp-thead {
    grid-template-columns: 38px 44px 1fr 80px 90px;
    gap: 8px;
    padding: 12px 14px;
  }
  .hp-thead > span:nth-child(4),
  .hp-thead > span:nth-child(6),
  .hp-thead > span:nth-child(7),
  .hp-trow > .hp-num:nth-child(4),
  .hp-trow > .hp-num:nth-child(6),
  .hp-trow > .hp-spark { display: none; }
  .hp-heat-c { min-height: 8px; }
  .hp-hero { padding: 20px; }
  .hp-trust { gap: 16px; }
}

@media (max-width: 480px) {
  /* .hp-statbar handled in carousel section */
  .hp-board { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   v1.6.47 — ВСЕСВІТ КАЗИНО (animated orbit)
═══════════════════════════════════════════════════════ */
.hp-universe-bd {
  position: relative;
  padding: 0;
}
.hp-universe {
  position: relative;
  width: 100%;
  height: 600px;
  background: radial-gradient(circle at center, var(--bg-2) 0%, var(--bg-1) 70%);
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

/* Center logo */
.hp-uni-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
}
.hp-uni-logo {
  width: 60px;
  height: 60px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  box-shadow:
    0 0 0 5px rgba(240,185,11,.15),
    0 0 0 10px rgba(240,185,11,.06),
    0 4px 16px rgba(0,0,0,.4);
}
.hp-uni-logo svg {
  width: 26px;
  height: 26px;
  color: var(--bg-0);
}
.hp-uni-brand {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.01em;
}
.hp-uni-sub {
  font-size: 10px;
  color: var(--t3);
  margin-top: 2px;
}

/* Rings */
.hp-uni-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hp-uni-ring.r1 {
  width: 190px;
  height: 190px;
  border-color: rgba(14,203,129,.2);
}
.hp-uni-ring.r2 {
  width: 350px;
  height: 350px;
  border-color: rgba(240,185,11,.15);
}
.hp-uni-ring.r3 {
  width: 520px;
  height: 520px;
  border-color: rgba(255,255,255,.08);
}
.hp-uni-rl {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-1);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hp-uni-ring.r1 .hp-uni-rl { color: var(--green); }
.hp-uni-ring.r2 .hp-uni-rl { color: var(--amber); }
.hp-uni-ring.r3 .hp-uni-rl { color: var(--t4); }

/* Group rotation */
.hp-uni-grp {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
.hp-uni-grp.g1 { animation: hp-spin 40s linear infinite; }
.hp-uni-grp.g2 { animation: hp-spin 55s linear infinite reverse; }
.hp-uni-grp.g3 { animation: hp-spin 70s linear infinite; }
.hp-universe:hover .hp-uni-grp {
  animation-play-state: paused;
}
@keyframes hp-spin {
  to { transform: rotate(360deg); }
}

/* Nodes */
.hp-uni-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-decoration: none;
  color: inherit;
}
.hp-uni-node-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s;
}
.hp-uni-grp.g1 .hp-uni-node-in { animation: hp-cspin 40s linear infinite; }
.hp-uni-grp.g2 .hp-uni-node-in { animation: hp-cspin 55s linear infinite reverse; }
.hp-uni-grp.g3 .hp-uni-node-in { animation: hp-cspin 70s linear infinite; }
@keyframes hp-cspin {
  to { transform: rotate(-360deg); }
}
.hp-uni-node:hover .hp-uni-node-in {
  transform: scale(1.2);
}

.hp-uni-logo-sm {
  width: 46px;
  height: 34px;
  border-radius: 7px;
  background: var(--bg-3);
  border: 2px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: all 0.2s;
}
.hp-uni-logo-sm.md {
  width: 40px;
  height: 30px;
  padding: 3px;
}
.hp-uni-logo-sm.sm {
  width: 34px;
  height: 26px;
  padding: 2px;
}
.hp-uni-logo-sm img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-uni-logo-sm span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--amber);
}
.hp-uni-node:hover .hp-uni-logo-sm {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-bg), 0 4px 12px rgba(0,0,0,.4);
}
.hp-uni-nm {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  color: var(--t1);
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,.9), 0 0 8px rgba(11,14,17,.8);
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.hp-uni-sc {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(14,203,129,.15);
  color: var(--green);
}
.hp-uni-sc.md {
  background: rgba(240,185,11,.15);
  color: var(--amber);
}
.hp-uni-sc.sm {
  background: rgba(246,70,93,.15);
  color: var(--red);
}

/* Popup that follows cursor */
.hp-uni-popup {
  display: none;
  position: fixed;
  z-index: 999;
  width: 300px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  padding: 18px;
  pointer-events: none;
}
.hp-uni-popup.show {
  display: block;
}
/* Mobile/touch: turn into centered modal with interactivity */
.hp-uni-popup.is-modal {
  pointer-events: auto;
  width: min(360px, calc(100vw - 32px));
  max-width: 360px;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
  padding: 20px 18px 16px;
}

/* Close button — only visible in modal mode */
.hp-uni-pop-close {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--t2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  padding: 0;
  z-index: 2;
}
.hp-uni-popup.is-modal .hp-uni-pop-close { display: inline-flex; }
.hp-uni-pop-close:hover {
  background: var(--bg-4);
  color: var(--amber);
  border-color: rgba(240,185,11,.3);
}

/* CTA button — only visible in modal mode */
.hp-uni-pop-cta {
  display: none;
  margin-top: 12px;
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, var(--amber), var(--yellow));
  color: var(--bg-0);
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  letter-spacing: .02em;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity .15s;
}
.hp-uni-popup.is-modal .hp-uni-pop-cta { display: inline-flex; }
.hp-uni-pop-cta:hover { opacity: .92; }
.hp-uni-pop-cta svg { flex-shrink: 0; }

/* Backdrop for mobile modal */
.hp-uni-popup-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
}
.hp-uni-popup-backdrop.show { display: block; }

/* Top body wrapper to clamp long names with ellipsis */
.hp-uni-pop-top-body {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.hp-uni-pop-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.hp-uni-pop-logo {
  width: 44px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--amber);
  flex-shrink: 0;
}
.hp-uni-pop-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-uni-pop-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-uni-pop-url {
  font-size: 11px;
  color: var(--t4);
  font-family: var(--font-mono);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-uni-pop-score {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--amber);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hp-uni-pop-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}
.hp-uni-pop-bar-f {
  height: 100%;
  border-radius: 2px;
  background: var(--amber);
  transition: width 0.3s;
}
.hp-uni-pop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hp-uni-pop-it {
  background: var(--bg-3);
  border-radius: 7px;
  padding: 10px 12px;
}
.hp-uni-pop-v {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--t1);
  font-variant-numeric: tabular-nums;
}
.hp-uni-pop-v.green { color: var(--green); }
.hp-uni-pop-l {
  font-size: 10px;
  color: var(--t4);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   HEATMAP — interactive
═══════════════════════════════════════════════════════ */
.hp-heatmap-bd {
  padding: 0;
}
.hp-heatmap-wrap {
  overflow-x: auto;
}
.hp-heatmap {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.hp-heatmap th {
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}
.hp-heatmap th:first-child {
  text-align: left;
  width: 200px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bg-2);
}
.hp-heatmap th:last-child {
  width: 92px;
}
.hp-heatmap td {
  padding: 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.hp-heatmap tr:last-child td { border-bottom: none; }
.hp-heatmap td:first-child {
  padding: 10px 14px;
  text-align: left;
  background: var(--bg-1);
  position: sticky;
  left: 0;
  z-index: 1;
}
.hp-heatmap tr:hover td:first-child {
  background: var(--bg-2);
}
.hp-hm-casino {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.hp-hm-logo {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  flex-shrink: 0;
}
.hp-hm-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-hm-logo span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--amber);
}
.hp-hm-name {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
}
.hp-hm-url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t4);
  margin-top: 1px;
}
.hp-hm-cell {
  width: 100%;
  padding: 16px 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  font-variant-numeric: tabular-nums;
}
.hp-hm-cell:hover {
  opacity: 0.9;
  transform: scale(1.1);
  z-index: 5;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.hp-hm-cell[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-0);
  color: var(--t1);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 20;
  pointer-events: none;
  border: 1px solid var(--line-2);
}
.hp-hm-total {
  padding: 14px 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.hp-hm-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t3);
  justify-content: flex-end;
}
.hp-hm-legend-bar {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  width: 220px;
  flex-shrink: 0;
}
.hp-hm-legend-bar span { flex: 1; }

/* ═══════════════════════════════════════════════════════
   ПУЛЬС ВІДГУКІВ — interactive dots
═══════════════════════════════════════════════════════ */
.hp-pulse-months {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--t4);
  font-weight: 500;
  padding: 0 4px;
  margin-bottom: 8px;
}
.hp-pulse-area {
  position: relative;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-1);
  padding: 8px;
}
.hp-pulse-zone {
  position: absolute;
  left: 0;
  right: 0;
  height: 33.3%;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--t4);
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}
.hp-pulse-zone.pos {
  top: 0;
  background: rgba(14,203,129,.05);
  border-bottom: 1px dashed rgba(14,203,129,.2);
}
.hp-pulse-zone.neu {
  top: 33.3%;
  border-bottom: 1px dashed var(--line);
}
.hp-pulse-zone.neg {
  top: 66.6%;
  background: rgba(246,70,93,.05);
}
.hp-pulse-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 2;
  box-shadow: 0 0 6px currentColor;
}
.hp-pulse-dot:hover {
  transform: scale(2);
  z-index: 10;
}
.hp-pulse-dot.pos {
  background: var(--green);
  color: var(--green);
}
.hp-pulse-dot.neu {
  background: var(--amber);
  color: var(--amber);
}
.hp-pulse-dot.neg {
  background: var(--red);
  color: var(--red);
}
.hp-pulse-dot[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.5);
  background: var(--bg-0);
  color: var(--t1);
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 20;
  pointer-events: none;
  border: 1px solid var(--line-2);
}
.hp-pulse-sum {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t2);
  flex-wrap: wrap;
}
.hp-pulse-sum span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hp-pulse-dot-l {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   РОЗПОДІЛ РЕЙТИНГУ — new animated
═══════════════════════════════════════════════════════ */
.hp-dist-card { min-height: 280px; }
.hp-dist-new {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
  padding: 26px 10px 0;     /* Top padding gives room for the value labels above bars */
  margin-bottom: 16px;
}
.hp-dist-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
  min-width: 0;
}
.hp-dist-b {
  width: 100%;
  border-radius: 7px 7px 0 0;
  transition: height 0.8s cubic-bezier(.4,0,.2,1), opacity 0.15s;
  position: relative;
  min-height: 6px;
  cursor: pointer;
}
.hp-dist-b:hover {
  opacity: 0.82;
  box-shadow: 0 0 0 2px currentColor;
}
.hp-dist-b-v {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.hp-dist-b-l {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--t2);
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hp-dist-b-r {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--t4);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   ЛІДЕРИ ЗА КАТЕГОРІЯМИ — replaces uninformative radar
═══════════════════════════════════════════════════════ */
.hp-ana-sub {
  font-size: 11px;
  color: var(--t3);
  margin: -8px 0 14px;
  line-height: 1.4;
}
.hp-leaders {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-lead-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  background: transparent;
  text-decoration: none;
  transition: background .15s, transform .12s;
}
.hp-lead-row:hover {
  background: rgba(255,255,255,.03);
}
.hp-lead-row:active { transform: scale(.99); }
.hp-lead-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-lead-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hp-lead-cat {
  font-family: 'Unbounded', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.1;
}
.hp-lead-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-lead-score {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.hp-lead-empty {
  padding: 24px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--t3);
  background: var(--bg-3);
  border-radius: 8px;
  border: 1px dashed var(--line-2);
}

/* ═══════════════════════════════════════════════════════
   ЕКСПЕРТНЕ ПОРІВНЯННЯ — 5 cards grid
═══════════════════════════════════════════════════════ */
.hp-ec-legend {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.hp-ec-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t3);
  font-weight: 600;
}
.hp-ec-leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.hp-ec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.hp-ec-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.hp-ec-card:hover {
  border-color: rgba(240,185,11,.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  color: inherit;
}
.hp-ec-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-ec-logo {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  flex-shrink: 0;
}
.hp-ec-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-ec-logo span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--amber);
}
.hp-ec-name {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.hp-ec-sc-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-ec-sc-v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hp-ec-trend {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
}
.hp-ec-trend.up { color: var(--green); }
.hp-ec-trend.dn { color: var(--red); }
.hp-ec-trend-p {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--t4);
  margin-top: 1px;
}
.hp-ec-cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-ec-cat {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-ec-cat-l {
  font-size: 10px;
  color: var(--t4);
  width: 60px;
  flex-shrink: 0;
  font-weight: 600;
}
.hp-ec-cat-bar {
  flex: 1;
  height: 5px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
}
.hp-ec-cat-f {
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(.4,0,.2,1);
}
.hp-ec-cat-v {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--t2);
  width: 24px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Responsive for new blocks */
@media (max-width: 1200px) {
  .hp-universe { height: 540px; }
  .hp-uni-ring.r3 { width: 460px; height: 460px; }
  .hp-uni-ring.r2 { width: 320px; height: 320px; }
  .hp-uni-ring.r1 { width: 175px; height: 175px; }
}
@media (max-width: 1100px) {
  .hp-ec-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-universe { height: 480px; }
  .hp-uni-ring.r3 { width: 400px; height: 400px; }
  .hp-uni-ring.r2 { width: 290px; height: 290px; }
  .hp-uni-ring.r1 { width: 160px; height: 160px; }
  .hp-uni-logo-sm { width: 42px; height: 32px; }
  .hp-uni-logo-sm.sm { width: 30px; height: 24px; }
}
@media (max-width: 720px) {
  /* On mobile, scale down the constellation but keep nodes readable */
  .hp-universe {
    height: 480px;
    overflow: hidden;
  }
  .hp-uni-logo { width: 56px; height: 56px; margin-bottom: 5px; }
  .hp-uni-logo svg { width: 24px; height: 24px; }
  .hp-uni-brand { font-size: 13px; }
  .hp-uni-sub { font-size: 10px; }
  /* Coordinated ring sizes to match scaled JS positions:
     r1 scale .75 → 95×.75 = 71  → ring 142
     r2 scale .72 → 175×.72 = 126 → ring 252
     r3 scale .65 → 260×.65 = 169 → ring 338 */
  .hp-uni-ring.r1 { width: 145px; height: 145px; }
  .hp-uni-ring.r2 { width: 255px; height: 255px; }
  .hp-uni-ring.r3 { width: 345px; height: 345px; }
  .hp-uni-rl { font-size: 9.5px; padding: 0 6px; top: -7px; }

  /* Scale the spinning groups closer to center */
  .hp-uni-grp.g1 { animation: hp-spin-mob-r1 40s linear infinite; }
  .hp-uni-grp.g2 { animation: hp-spin-mob-r2 55s linear infinite reverse; }
  .hp-uni-grp.g3 { animation: hp-spin-mob-r3 70s linear infinite; }

  /* CRITICAL: counter-spin must use the SAME scale as parent or nodes
     will appear stretched/inverted. Override base hp-cspin keyframes. */
  .hp-uni-grp.g1 .hp-uni-node-in { animation: hp-cspin-mob-r1 40s linear infinite; }
  .hp-uni-grp.g2 .hp-uni-node-in { animation: hp-cspin-mob-r2 55s linear infinite reverse; }
  .hp-uni-grp.g3 .hp-uni-node-in { animation: hp-cspin-mob-r3 70s linear infinite; }

  /* Keep node visuals reasonably big — they're INSIDE a scaled parent,
     so to compensate visually, we don't shrink them as aggressively. */
  .hp-uni-logo-sm { width: 50px; height: 38px; }
  .hp-uni-logo-sm.md { width: 44px; height: 34px; }
  .hp-uni-logo-sm.sm { width: 38px; height: 30px; }
  .hp-uni-nm { font-size: 11px; max-width: 80px; }
  .hp-uni-sc { font-size: 11px; padding: 2px 5px; }
}
/* Parent group rotates+scales; child counter-spins with SAME scale to stay upright */
@keyframes hp-spin-mob-r1 {
  from { transform: rotate(0deg) scale(0.75); }
  to   { transform: rotate(360deg) scale(0.75); }
}
@keyframes hp-spin-mob-r2 {
  from { transform: rotate(0deg) scale(0.72); }
  to   { transform: rotate(360deg) scale(0.72); }
}
@keyframes hp-spin-mob-r3 {
  from { transform: rotate(0deg) scale(0.65); }
  to   { transform: rotate(360deg) scale(0.65); }
}
@keyframes hp-cspin-mob-r1 {
  from { transform: rotate(0deg) scale(1.33); }
  to   { transform: rotate(-360deg) scale(1.33); }
}
@keyframes hp-cspin-mob-r2 {
  from { transform: rotate(0deg) scale(1.39); }
  to   { transform: rotate(-360deg) scale(1.39); }
}
@keyframes hp-cspin-mob-r3 {
  from { transform: rotate(0deg) scale(1.54); }
  to   { transform: rotate(-360deg) scale(1.54); }
}
@media (max-width: 480px) {
  .hp-universe { height: 420px; }
  .hp-uni-ring.r1 { width: 125px; height: 125px; }
  .hp-uni-ring.r2 { width: 220px; height: 220px; }
  .hp-uni-ring.r3 { width: 300px; height: 300px; }

  .hp-uni-grp.g1 { animation: hp-spin-tiny-r1 40s linear infinite; }
  .hp-uni-grp.g2 { animation: hp-spin-tiny-r2 55s linear infinite reverse; }
  .hp-uni-grp.g3 { animation: hp-spin-tiny-r3 70s linear infinite; }
  .hp-uni-grp.g1 .hp-uni-node-in { animation: hp-cspin-tiny-r1 40s linear infinite; }
  .hp-uni-grp.g2 .hp-uni-node-in { animation: hp-cspin-tiny-r2 55s linear infinite reverse; }
  .hp-uni-grp.g3 .hp-uni-node-in { animation: hp-cspin-tiny-r3 70s linear infinite; }

  .hp-uni-logo-sm { width: 44px; height: 34px; }
  .hp-uni-logo-sm.md { width: 38px; height: 30px; }
  .hp-uni-logo-sm.sm { width: 32px; height: 26px; }
  .hp-uni-nm { font-size: 10px; max-width: 70px; }
  .hp-uni-sc { font-size: 10px; }
}
@keyframes hp-spin-tiny-r1 {
  from { transform: rotate(0deg) scale(0.66); }
  to   { transform: rotate(360deg) scale(0.66); }
}
@keyframes hp-spin-tiny-r2 {
  from { transform: rotate(0deg) scale(0.63); }
  to   { transform: rotate(360deg) scale(0.63); }
}
@keyframes hp-spin-tiny-r3 {
  from { transform: rotate(0deg) scale(0.58); }
  to   { transform: rotate(360deg) scale(0.58); }
}
@keyframes hp-cspin-tiny-r1 {
  from { transform: rotate(0deg) scale(1.52); }
  to   { transform: rotate(-360deg) scale(1.52); }
}
@keyframes hp-cspin-tiny-r2 {
  from { transform: rotate(0deg) scale(1.59); }
  to   { transform: rotate(-360deg) scale(1.59); }
}
@keyframes hp-cspin-tiny-r3 {
  from { transform: rotate(0deg) scale(1.72); }
  to   { transform: rotate(-360deg) scale(1.72); }
}
@media (max-width: 820px) {
  .hp-universe { height: 480px; }
  .hp-uni-ring.r3 { display: none; }
  .hp-uni-grp.g3 { display: none; }
  .hp-uni-ring.r2 {
    width: 340px;
    height: 340px;
  }
  .hp-uni-ring.r1 {
    width: 220px;
    height: 220px;
  }
  .hp-uni-logo-sm { width: 38px; height: 28px; }
  .hp-uni-nm { font-size: 9px; max-width: 64px; }
}
@media (max-width: 720px) {
  .hp-ec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hp-ec-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
 * v1.6.105 — COMPREHENSIVE MOBILE PASS
 * Layered on top of all earlier rules. Touches only @media,
 * leaves desktop/tablet behavior untouched.
 * ═══════════════════════════════════════════════════════════════════ */

/* ─── ≤960px: tighten densest blocks before they squeeze ────────── */
@media (max-width: 960px) {
  .hp-table .hp-thead,
  .hp-table .hp-trow {
    grid-template-columns: 38px 44px 1fr 70px 90px 80px;
    padding: 12px 14px;
    gap: 8px;
  }
  /* hide 4th and 5th aux cols; keep rank, logo, name, score, btn */
  .hp-thead > span:nth-child(7),
  .hp-thead > span:nth-child(8),
  .hp-trow > .hp-num:nth-child(7),
  .hp-trow > .hp-spark { display: none; }
}

/* ─── ≤720px: full mobile reflow ────────────────────────────────── */
@media (max-width: 720px) {

  /* Page shell — bleed to edges, breathing room top */
  .hp {
    padding: 14px 12px 28px;
    font-size: 13px;
  }
  .hp-block {
    border-radius: 12px;
    margin-bottom: 14px;
  }
  .hp-block-hd {
    padding: 14px 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hp-block-bd { padding: 14px; }
  .hp-block-h2 { font-size: 14px; }
  .hp-block-sub { font-size: 11px; }
  .hp-block-ico { width: 28px; height: 28px; }

  /* StatBar — horizontal scroll carousel on mobile.
     Keep within parent .hp padding (no negative margin tricks) so the first
     card always starts cleanly from the left edge without any clipping. */
  .hp-statbar {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    margin: 0 0 18px;
    padding: 4px 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    background: transparent;
    border: 0;
    border-radius: 0;
    flex-wrap: nowrap;
  }
  .hp-statbar::-webkit-scrollbar { display: none; } /* Chrome/Safari */

  .hp-stat {
    flex: 0 0 auto;
    min-width: 150px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    gap: 6px;
    scroll-snap-align: start;
    transition: border-color .15s, transform .15s;
  }
  .hp-stat:active {
    transform: scale(.98);
    border-color: rgba(240,185,11,.3);
  }
  .hp-stat-l { font-size: 10px; letter-spacing: .04em; }
  .hp-stat-v { font-size: 22px; }
  .hp-stat-d { font-size: 10px; }

  /* Hero */
  .hp-hero { padding: 22px 18px; }
  .hp-eye { font-size: 10px; padding: 5px 10px; }
  .hp-h1 {
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.02em;
  }
  .hp-sub { font-size: 13px; line-height: 1.5; }
  .hp-cta { gap: 8px; flex-wrap: wrap; }
  .hp-btn-pri,
  .hp-btn-out {
    padding: 10px 16px;
    font-size: 13px;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }

  /* TrustBar — 3 columns in one row on mobile, compact look */
  .hp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    overflow: visible;
    flex-wrap: nowrap;
  }
  .hp-trust-it {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 9px;
    min-width: 0;
  }
  .hp-trust-ico {
    width: 28px; height: 28px;
    flex-shrink: 0;
  }
  .hp-trust-ico svg { width: 13px; height: 13px; }
  .hp-trust-it > div { min-width: 0; }
  .hp-trust-v {
    font-size: 14px;
    line-height: 1.1;
  }
  .hp-trust-l {
    font-size: 9px;
    line-height: 1.2;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: .03em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* LiveTop5 */
  .hp-live { padding: 16px; }
  .hp-live-h { padding-bottom: 10px; margin-bottom: 10px; gap: 8px; }
  .hp-live-cols {
    grid-template-columns: 28px 32px 1fr 60px 56px;
    gap: 6px;
    padding: 6px 0;
    font-size: 9px;
  }
  .hp-live-row {
    grid-template-columns: 28px 32px 1fr 60px 56px;
    gap: 6px;
    padding: 10px 0;
  }
  .hp-live-rank { width: 22px; height: 22px; font-size: 11px; }
  .hp-live-logo { width: 30px; height: 30px; border-radius: 6px; }
  .hp-live-logo span { font-size: 10px; }
  .hp-live-name { font-size: 12px; }
  .hp-live-dom { font-size: 10px; }
  .hp-live-score { font-size: 14px; }
  .hp-live-trend { font-size: 11px; }

  /* Tabs + filters — horizontally scrollable, no wrap */
  .hp-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .hp-tabs::-webkit-scrollbar { display: none; }
  .hp-tab {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Main TABLE — flex card-list at narrow viewports (grid layout breaks with 8-cell rows) */
  .hp-thead { display: none; }
  .hp-table { gap: 0; }
  .hp-trow {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    grid-template-columns: none !important;
  }
  .hp-trow > * { min-width: 0; }
  /* Hide payout/bonus/min-dep/spark on mobile, keep rank+logo+name+score */
  .hp-trow > .hp-num,
  .hp-trow > .hp-spark { display: none !important; }

  .hp-trow .hp-rank {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    font-size: 11px;
    border-radius: 6px;
  }
  .hp-trow .hp-logo {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }
  .hp-trow .hp-tname {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .hp-trow .hp-tname-n {
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hp-trow .hp-tname-sub {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hp-trow .hp-trating {
    flex: 0 0 auto;
    text-align: right;
    margin-left: auto;
  }
  .hp-trating-v { font-size: 17px; line-height: 1; font-weight: 800; }
  .hp-trating-l { font-size: 9px; margin-top: 2px; white-space: nowrap; }

  /* Sidebar widgets */
  .hp-sidebar { gap: 14px; }

  /* ECONOMICS / Orbit / Heatmap row */
  .hp-eco-grid { gap: 14px; }

  /* Universe (orbit) — drop overall height, hide outer rings */
  .hp-universe { height: 380px; border-radius: 0 0 12px 12px; }
  .hp-uni-ring.r3 { display: none; }
  .hp-uni-grp.g3 { display: none; }
  .hp-uni-ring.r2 { width: 280px; height: 280px; }
  .hp-uni-ring.r1 { width: 180px; height: 180px; }
  .hp-uni-logo-sm { width: 32px; height: 24px; }
  .hp-uni-logo-sm.sm { width: 26px; height: 20px; }
  .hp-uni-nm { font-size: 8px; max-width: 56px; }

  /* Heatmap — make the 24h grid horizontally scrollable */
  .hp-heat { padding: 14px; height: auto; }
  .hp-heat-head,
  .hp-heat-row {
    grid-template-columns: 28px repeat(24, 22px);
  }
  .hp-heat-wrap,
  .hp-heat-head {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .hp-heat-head { padding-bottom: 4px; }
  .hp-heat-c { min-height: 16px; }

  /* Scoreboard — 2 cols at 720, drop spark */
  .hp-board { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hp-board-card { padding: 14px; }
  .hp-board-spark { height: 36px; }
  .hp-board-bv { font-size: 18px; }
  .hp-board-bl { font-size: 10px; }

  /* Sentiment / Spotlight */
  .hp-sent-grid { gap: 14px; }
  .hp-sent-svg { height: 160px; }
  .hp-spot-card { padding: 12px; gap: 10px; }
  .hp-spot-logo { width: 38px; height: 38px; }
  .hp-spot-h { font-size: 13px; }

  /* Radar / Race / Distribution */
  .hp-ana-grid { gap: 14px; }
  .hp-radar { aspect-ratio: 1; max-width: 320px; margin: 0 auto; }
  .hp-radar-leg { gap: 6px 12px; flex-wrap: wrap; justify-content: center; }
  .hp-race-row { gap: 8px; }
  .hp-race-name { font-size: 11px; }
  .hp-race-v { font-size: 11px; }
  .hp-dist-bar { font-size: 11px; }

  /* Expert block */
  .hp-expert { padding: 20px 16px; }
}

/* ─── ≤480px: phones, edge-to-edge, ultra-tight ─────────────────── */
@media (max-width: 480px) {
  .hp { padding: 8px 0 24px; }
  .hp-block {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-bottom: 10px;
  }
  .hp-block-bd { padding: 12px; }
  .hp-block-hd { padding: 12px 12px; }
  .hp-block-h2 { font-size: 13px; }

  /* StatBar carousel inherits from main mobile rule above; just tweak number size */
  .hp-stat-v { font-size: 20px; }
  .hp-stat { min-width: 140px; }

  /* Hero */
  .hp-hero { padding: 20px 14px; }
  .hp-h1 { font-size: 22px; }
  .hp-sub { font-size: 12px; }

  /* TrustBar — tighter gap and smaller numbers for narrow screens */
  .hp-trust { gap: 6px; }
  .hp-trust-it { padding: 7px 8px; gap: 5px; }
  .hp-trust-ico { width: 24px; height: 24px; }
  .hp-trust-v { font-size: 13px; }
  .hp-trust-l { font-size: 8px; }

  /* Live trend column — drop, save space */
  .hp-live-cols { grid-template-columns: 24px 28px 1fr 56px; }
  .hp-live-row { grid-template-columns: 24px 28px 1fr 56px; }
  .hp-live-cols > span:nth-child(5),
  .hp-live-trend { display: none; }

  /* Universe → trim further */
  .hp-universe { height: 320px; }
  .hp-uni-ring.r2 { width: 220px; height: 220px; }
  .hp-uni-ring.r1 { width: 140px; height: 140px; }

  /* Scoreboard → 1 col */
  .hp-board { grid-template-columns: 1fr; }

  /* Footer note in Expert */
  .hp-expert-q { font-size: 13px; }

  /* Safe-area for iPhone notch */
  .hp { padding-left: env(safe-area-inset-left, 0); padding-right: env(safe-area-inset-right, 0); }
}
