/* ============================================================
   FirePath: the freedom path (public/js/freedom-path.js).
   The one source for how the path looks on every page. Ink on
   the page's background, ember only for the freedom marker and
   its likely range. Tokens come from public/css/app.css.
   ============================================================ */
.fpv { position: relative; min-width: 0; }
.fpv-svg { display: block; width: 100%; height: 128px; overflow: visible; }
.fpv.is-compact .fpv-svg { height: 116px; }
.fpv-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.fpv-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; font-family: var(--font-ui); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); transition: opacity 400ms ease; }
.fpv-legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.fpv-legend li::before { content: ''; width: 18px; height: 0; border-top: 2px solid var(--ink); }
.fpv-legend .is-bridge::before { border-top: 2px dotted var(--ink-2); }
.fpv-legend .is-band::before { height: 10px; border: 0; border-radius: 2px; background: rgba(244, 98, 42, 0.18); }
.fpv-legend[hidden], .fpv-legend [hidden] { display: none; }
.fpv.is-intro .fpv-legend { opacity: 0; }

.fpv-seg { stroke-width: 2; stroke-linecap: round; fill: none; }
.fpv-seg.is-work { stroke: var(--ink); }
.fpv-seg.is-bridge { stroke: var(--ink-2); stroke-dasharray: 0.1 5; stroke-width: 2.5; }
.fpv-seg.is-after { stroke: var(--line-strong); }
.fpv-seg.is-far { stroke: var(--ink-3); stroke-dasharray: 2 6; }
.fpv-band { fill: rgba(244, 98, 42, 0.14); }
.fpv-today-dot { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.fpv-free-dot { fill: var(--ember); stroke: var(--surface); stroke-width: 3; }
.fpv-stem { stroke: var(--ember-ink); stroke-width: 1; }
.fpv-pulse { fill: none; stroke: var(--ember); stroke-width: 1.5; }
.fpv-flow { fill: var(--ink-2); }
.fpv-ghost { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 3 3; }
.fpv-since { fill: var(--surface); stroke: var(--ink-3); stroke-width: 1.5; }
.fpv-sixty { stroke: var(--ink-2); stroke-width: 1.5; }
.fpv-tick { stroke: var(--line-strong); stroke-width: 1; }
.fpv-tick-t { fill: var(--ink-2); font-family: var(--font-ui); font-size: 11px; font-variant-numeric: tabular-nums; }
.fpv-lab { fill: var(--ink-2); font-family: var(--font-ui); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.fpv-lab.is-small { font-size: 11.5px; font-weight: 400; }
.fpv-lab.is-free { fill: var(--ink); font-size: 13px; font-weight: 600; }
.fpv-lab.is-far { fill: var(--ink-2); }
.fpv-lab.is-since { font-size: 11.5px; font-weight: 500; }
/* The builder's stand-in for a date it doesn't show yet (pending) */
.fpv-q-dot { fill: var(--surface); stroke: var(--ember); stroke-width: 1.5; stroke-dasharray: 3 2.5; }
.fpv-q { fill: var(--ember-ink); font-family: var(--font-ui); font-size: 12px; font-weight: 700; }
.fpv-pending { animation: fpvPending 2.4s ease-in-out infinite; }
@keyframes fpvPending { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

@media (prefers-reduced-motion: reduce) {
  .fpv-fx { display: none; }
  .fpv-pending { animation: none; }
  .fpv-legend { transition: none; }
}
