/* Social Radar v2 — Transparency Page Redesign */

/* ============================================================
   Transparency Page (tp-* prefix)
   ============================================================ */

.tp-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.tp-section {
  margin-bottom: 48px;
}

.tp-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.tp-section-desc {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* Page Title */
.tp-page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}

.tp-page-desc {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ============================================================
   Section 1: Hero Stats Grid (4 cards)
   ============================================================ */

.tp-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.tp-hero-card {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.tp-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tp-hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.tp-hero-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.tp-hero-icon-blue { background: var(--color-trend-down); }
.tp-hero-icon-green { background: var(--color-ok-green); }
.tp-hero-icon-amber { background: var(--color-signal); }
.tp-hero-icon-emerald { background: var(--color-ok-green); }

.tp-hero-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.tp-hero-value-unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-muted-text);
  margin-left: 4px;
}

/* Hero card: pill badges */
.tp-hero-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}

.tp-pill {
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.tp-pill-blue {
  background: rgba(107, 159, 255, 0.1);
  color: var(--color-trend-down);
}

.tp-pill-purple {
  background: rgba(138, 43, 226, 0.1);
  color: var(--color-tier-core);
}

/* Hero card: mono badge for dedup */
.tp-hero-dedup {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.tp-dedup-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--color-border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-text);
}

/* Hero card: confidence tier list */
.tp-hero-tiers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
}

.tp-hero-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-secondary);
}

.tp-hero-tier-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-tier-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tp-tier-dot-red { background: var(--color-trend-up); }
.tp-tier-dot-amber { background: var(--color-signal); }
.tp-tier-dot-cyan { background: var(--color-accent-text); }

.tp-hero-tier-count {
  font-weight: 500;
  color: var(--color-text);
}

/* Hero card: system status ping */
.tp-status-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tp-ping-dot {
  position: relative;
  display: flex;
  width: 12px;
  height: 12px;
}

.tp-ping-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-ok-green);
  opacity: 0.75;
  animation: tpPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.tp-ping-core {
  position: relative;
  display: inline-flex;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-ok-green);
}

/* Health-based ping colors */
.tp-ping-dot.tp-status-yellow .tp-ping-ring { background: #fbbf24; }
.tp-ping-dot.tp-status-yellow .tp-ping-core { background: #fbbf24; }
.tp-ping-dot.tp-status-red .tp-ping-ring { background: #f87171; }
.tp-ping-dot.tp-status-red .tp-ping-core { background: #f87171; }

@keyframes tpPing {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.tp-status-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.tp-hero-time {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: auto;
}

/* Status card glow */
.tp-hero-card-glow {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 96px;
  height: 96px;
  background: rgba(74, 153, 104, 0.05);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

/* Status dots (shared) */
.tp-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
}

.tp-status-green {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}

.tp-status-yellow {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.4);
}

.tp-status-red {
  background: #f87171;
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.4);
}

/* ============================================================
   Section 2: Pipeline Split-Panel
   ============================================================ */

.tp-pipeline-split {
  display: flex;
  gap: 24px;
  align-items: stretch;
  position: relative;
}

/* Left: step list */
.tp-pipeline-list {
  flex: 3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  position: relative;
  z-index: 2;
}

.tp-pipe-item {
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-pipe-item:last-child {
  border-bottom: none;
}

.tp-pipe-item:hover {
  background: var(--color-surface-hover);
}

/* Active step styles */
.tp-pipe-item.active {
  background: rgba(212, 168, 67, 0.05);
}

.tp-pipe-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-signal);
  border-radius: 4px 0 0 4px;
}

/* Arrow pointing to right panel */
.tp-pipe-item.active::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-surface);
  z-index: 3;
}

.tp-pipe-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tp-pipe-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(212, 168, 67, 0.1);
  color: var(--color-signal);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.tp-pipe-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 6px;
}

.tp-pipe-subtitle {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.tp-pipe-right {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: right;
}

.tp-pipe-kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tp-pipe-kpi-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-mono);
  line-height: 1;
}

.tp-pipe-kpi-unit {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

.tp-pipe-dot {
  width: 8px;
  height: 8px;
  background: var(--color-ok-green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 153, 104, 0.6);
  flex-shrink: 0;
}

.tp-pipe-dot-error {
  background: var(--color-trend-up);
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
}

.tp-pipe-dot-warning {
  background: var(--color-signal);
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.6);
}

/* Right: detail panel */
.tp-pipeline-detail-wrap {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.tp-pipeline-detail {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tp-pipeline-detail h3 {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-pipeline-detail-badge {
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-signal);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tp-pipeline-detail-content {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tp-pipeline-detail-content ul {
  margin: 8px 0;
  padding-left: 20px;
}

.tp-pipeline-detail-content li {
  margin-bottom: 4px;
}

/* ============================================================
   Section 3: Source Distribution
   ============================================================ */

.tp-source-bar-wrap {
  margin-bottom: 24px;
}

.tp-source-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-border);
  margin-bottom: 12px;
}

.tp-source-bar-segment {
  height: 100%;
  transition: width 0.3s;
}

.tp-source-bar-news {
  background: var(--color-accent-text);
}

.tp-source-bar-social {
  background: var(--color-signal);
}

.tp-source-bar-legend {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.tp-source-bar-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-source-bar-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tp-source-bar-legend-dot.news { background: var(--color-accent-text); }
.tp-source-bar-legend-dot.social { background: var(--color-signal); }

.tp-source-bar-legend-pct {
  color: var(--color-text);
  margin-left: 4px;
}

/* Source summary with highlights */
.tp-src-summary-text {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.tp-src-highlight {
  color: var(--color-text);
}

.tp-src-highlight-red {
  color: var(--color-trend-up);
  opacity: 0.8;
}

.tp-src-highlight-cyan {
  color: var(--color-accent-text);
  font-weight: 500;
}

/* Source Groups (2:1 asymmetric grid) */
.source-lists {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.source-group {
  display: flex;
  flex-direction: column;
}

.source-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.source-group-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.source-group-count {
  font-size: 0.75rem;
  color: var(--color-muted-text);
  background: rgba(139, 148, 158, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Source Card Container */
.tp-source-card-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Source Items with background bar */
.tp-source-item {
  position: relative;
  border-bottom: 1px solid rgba(48, 54, 61, 0.4);
  transition: background-color 0.15s;
}

.tp-source-item:last-of-type {
  border-bottom: none;
}

.tp-source-item:hover {
  background: rgba(139, 148, 158, 0.06);
}

.tp-source-bar-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: width 0.5s ease-out;
}

.tp-source-bar-bg-news {
  background: rgba(77, 240, 255, 0.05);
}

.tp-source-bar-bg-social {
  background: rgba(212, 168, 67, 0.1);
}

.tp-source-item-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.tp-source-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.tp-source-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tp-source-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  width: 48px;
  text-align: right;
}

.tp-source-pct {
  font-size: 0.75rem;
  color: var(--color-muted-text);
  width: 48px;
  text-align: right;
}

/* Collapsed/expanded pattern */
.tp-source-item.collapsed {
  display: none;
}

.tp-source-card-list.expanded .tp-source-item.collapsed {
  display: block;
}

/* Source expand button */
.tp-source-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border: none;
  border-top: 1px solid var(--color-border);
  background: transparent;
  color: rgba(77, 240, 255, 0.7);
  font-family: var(--font-main);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  margin-top: auto;
}

.tp-source-expand-btn:hover {
  color: var(--color-accent-text);
  background: rgba(139, 148, 158, 0.08);
}

/* ============================================================
   Section 4: Methodology Split-Panel
   ============================================================ */

.tp-method-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
}

/* Left column: method cards */
.tp-method-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-method-card {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(21, 23, 28, 1);
  border: 1px solid transparent;
}

.tp-method-card:hover {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.tp-method-card.active {
  background: var(--color-surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Method color variants for active border */
.tp-method-card.active.method-orange { border-color: rgba(249, 115, 22, 0.5); }
.tp-method-card.active.method-slate { border-color: rgba(148, 163, 184, 0.5); }
.tp-method-card.active.method-emerald { border-color: rgba(52, 211, 153, 0.5); }
.tp-method-card.active.method-amber { border-color: rgba(212, 168, 67, 0.5); }
.tp-method-card.active.method-blue { border-color: rgba(96, 165, 250, 0.5); }

.tp-method-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  font-size: 1rem;
}

.tp-method-icon-box.icon-orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.tp-method-icon-box.icon-slate { background: rgba(148, 163, 184, 0.1); color: #94a3b8; }
.tp-method-icon-box.icon-emerald { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.tp-method-icon-box.icon-amber { background: rgba(212, 168, 67, 0.1); color: var(--color-signal); }
.tp-method-icon-box.icon-blue { background: rgba(96, 165, 250, 0.1); color: #60a5fa; }

.tp-method-card-body {
  flex: 1;
  min-width: 0;
}

.tp-method-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
  transition: color 0.15s;
}

.tp-method-card:hover .tp-method-card-title {
  color: var(--color-text);
}

.tp-method-card-desc {
  font-size: 0.75rem;
  color: var(--color-muted-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tp-method-chevron {
  font-size: 1rem;
  color: transparent;
  transition: color 0.15s, transform 0.3s;
  flex-shrink: 0;
  margin-left: 8px;
}

.tp-method-card:hover .tp-method-chevron {
  color: var(--color-muted-text);
}

.tp-method-card.active .tp-method-chevron {
  color: var(--color-text-secondary);
}

/* Right column: detail view */
.tp-method-detail {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 32px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.tp-method-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.tp-method-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.tp-method-detail-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.tp-method-detail-subtitle {
  font-size: 0.85rem;
  color: var(--color-muted-text);
  margin-top: 4px;
}

.tp-method-detail-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 16px;
}

.tp-method-detail-content {
  background: rgba(21, 23, 28, 1);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(42, 45, 53, 0.5);
  flex: 1;
}

.tp-method-detail-content p {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.tp-method-detail-content p:last-child {
  margin-bottom: 0;
}

.tp-method-detail-content ul {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  padding-left: 20px;
  margin: 8px 0;
}

.tp-method-detail-content li {
  margin-bottom: 6px;
}

.tp-method-detail-content code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(42, 45, 53, 1);
  color: rgba(255, 235, 180, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(58, 61, 69, 1);
  margin: 0 2px;
}

/* ============================================================
   Section 5: Data Quality Dashboard
   ============================================================ */

.tp-quality-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.tp-quality-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.tp-quality-accent-bar {
  display: inline-block;
  width: 5px;
  height: 20px;
  border-radius: 999px;
  margin-right: 12px;
  flex-shrink: 0;
}

.tp-quality-accent-cyan { background: var(--color-accent); }
.tp-quality-accent-purple { background: #6366f1; }

/* Category bar chart */
.tp-category-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-cat-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tp-cat-row:hover .tp-cat-name {
  color: var(--color-text);
}

.tp-cat-row:hover .tp-cat-count {
  color: var(--color-accent-text);
}

.tp-cat-name {
  width: 64px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-align: right;
  flex-shrink: 0;
  transition: color 0.15s;
}

.tp-cat-bar-track {
  flex: 1;
  height: 14px;
  background: rgba(48, 54, 61, 0.5);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.tp-cat-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, #0891b2, var(--color-accent-text));
  transition: width 0.6s ease-out;
}

.tp-cat-bar-muted {
  background: rgba(139, 148, 158, 0.5);
}

.tp-cat-count {
  width: 48px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  text-align: right;
  flex-shrink: 0;
  transition: color 0.15s;
}

/* Other category separator */
.tp-cat-row.tp-cat-unclassified {
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--color-border);
  opacity: 0.6;
  transition: opacity 0.15s;
}

.tp-cat-row.tp-cat-unclassified:hover {
  opacity: 1;
}

/* Confidence tier interactive badges */
.tp-tier-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: rgba(48, 54, 61, 0.5);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  user-select: none;
}

.tp-badge-count {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(48, 54, 61, 0.5);
}

/* Badge: Emerald / high confidence */
.tp-badge-core:hover {
  border-color: rgba(52, 211, 153, 0.5);
  color: #34d399;
}

.tp-badge-core.active {
  background: rgba(52, 211, 153, 0.2);
  border-color: #34d399;
  color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.tp-badge-core.active .tp-badge-count {
  background: rgba(0, 0, 0, 0.3);
}

/* Badge: Amber / medium confidence */
.tp-badge-regular:hover {
  border-color: rgba(212, 168, 67, 0.5);
  color: var(--color-signal);
}

.tp-badge-regular.active {
  background: rgba(212, 168, 67, 0.2);
  border-color: var(--color-signal);
  color: var(--color-signal);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.tp-badge-regular.active .tp-badge-count {
  background: rgba(0, 0, 0, 0.3);
}

/* Badge: Cyan / early signal */
.tp-badge-emerging:hover {
  border-color: rgba(77, 240, 255, 0.5);
  color: var(--color-accent-text);
}

.tp-badge-emerging.active {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--color-accent-text);
  color: var(--color-accent-text);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.tp-badge-emerging.active .tp-badge-count {
  background: rgba(0, 0, 0, 0.3);
}

/* Callout box */
.tp-callout {
  margin-top: 24px;
  padding: 20px;
  background: rgba(22, 31, 51, 1);
  border: 1px solid rgba(30, 41, 59, 1);
  border-left: 4px solid var(--color-ok-green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tp-callout-icon {
  color: var(--color-ok-green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tp-callout strong {
  font-weight: 600;
  color: var(--color-text);
}
