/* ═══════════════════════════════════════════════════════
   FORGE — Arc Visualization Styles
   Container sizing, SVG ember breath animation for
   inline SVG circles, and responsive arc rules.
   ═══════════════════════════════════════════════════════ */

/* ── Arc container ──────────────────────────────────── */
.arc-container {
  width: 100%;
  min-height: 140px;
  position: relative;
}

.arc-container svg {
  width: 100%;
  max-width: 800px;
  height: auto;
  overflow: visible;
  display: block;
}

/* ── SVG ember breath for inline SVG circles ────────── */
.svg-ember-breath {
  animation: svg-ember var(--dur-ember) ease-in-out infinite;
}

@keyframes svg-ember {
  0%, 100% { opacity: 0.65; }
  50%       { opacity: 1; }
}

/* ── Arc legend ─────────────────────────────────────── */
.arc-legend {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.arc-legend__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.arc-legend__line {
  display: block;
  width: 32px;
  height: 2px;
  border-radius: 1px;
}

.arc-legend__line--active { background: var(--amber); }
.arc-legend__line--gap    { background: var(--ash); height: 1.5px; }
.arc-legend__line--scar   { background: var(--kintsugi); }

.arc-legend__label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--n6);
  letter-spacing: var(--tracking-wide);
}

/* ── Reduced motion — static render ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  .svg-ember-breath {
    animation: none;
    opacity: 1;
  }
}
