.stat-card {
  transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-change {
  font-size: 13px;
  font-weight: 600;
}

/* Token cell */
.token-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.token-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--pulse));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #000;
  font-size: 14px;
}

.token-name {
  font-weight: 600;
}

.token-address {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Pair cell */
.pair-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-pill {
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
}

.pair-separator {
  color: var(--text-muted);
}

/* DEX badges */
.dex-pulsex { background: rgba(0, 212, 170, 0.15); color: var(--accent); }
.dex-9inch { background: rgba(217, 70, 239, 0.15); color: var(--pulse); }
.dex-libertyswap { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

/* Event badges */
.event-swap { background: rgba(0, 212, 170, 0.15); color: var(--accent); }
.event-mint { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.event-burn { background: rgba(239, 68, 68, 0.15); color: var(--negative); }
.event-sync { background: rgba(139, 146, 168, 0.15); color: var(--text-muted); }

/* Price audit */
.audit-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.confidence-high { background: rgba(16, 185, 129, 0.15); color: var(--positive); }
.confidence-medium { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.confidence-low { background: rgba(239, 68, 68, 0.15); color: var(--negative); }

#price-audit {
  padding: 24px;
}

.audit-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.audit-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-meta-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.audit-hop {
  margin-bottom: 20px;
}

.audit-hop h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.audit-pool-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.audit-pool-row:last-child {
  border-bottom: none;
}

.audit-pool-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.audit-pool-name {
  font-weight: 600;
}

.audit-pool-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.audit-pool-weight {
  display: flex;
  align-items: center;
  gap: 10px;
}

.weight-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.weight-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

.audit-pool-price {
  text-align: right;
  font-size: 13px;
}

.audit-warnings {
  margin-top: 20px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}

.audit-warnings h4 {
  color: var(--negative);
  margin-bottom: 8px;
}

.audit-warnings ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.audit-anomalies {
  margin-top: 20px;
  padding: 16px;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
}

.audit-anomalies h4 {
  color: var(--warning, #f59e0b);
  margin-bottom: 8px;
}

.audit-anomalies ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.audit-anomalies .anomaly-high {
  color: var(--negative);
}

.audit-anomalies .anomaly-medium {
  color: var(--warning, #f59e0b);
}

.audit-anomalies .anomaly-low {
  color: var(--text-muted);
}
