/* Anomaly flag pills — render when data envelope carries
   `_anomaly_flags` (warning-tier validator findings: >50%
   single-tick drops in price/mcap/liquidity/holders). */

#anomaly-flags-container {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
}

.anomaly-flags-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.anomaly-flags-icon {
  font-size: 1.1rem;
  color: #f59e0b;
}

.anomaly-flags-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: #f59e0b;
  letter-spacing: 0.02em;
}

.anomaly-flags-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted, #888);
  font-style: italic;
}

.anomaly-flag-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  margin: 0.25rem 0.4rem 0.25rem 0;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.3;
}

.anomaly-flag-field {
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.anomaly-flag-rule {
  color: #f59e0b;
  font-weight: 500;
}

.anomaly-flag-detail {
  color: var(--text-secondary, #aaa);
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .anomaly-flag-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.55rem;
  }
  .anomaly-flag-detail {
    font-size: 0.66rem;
  }
}
