/* Fixed, noninteractive backdrop. Body isolation keeps chrome and modals above it
   without creating a transformed ancestor for the fullscreen/expanded player. */
body{isolation:isolate}.circuit-background{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;color:#9978f0;background:radial-gradient(ellipse at 5% 42%,#672eaa12,transparent 55%),radial-gradient(ellipse at 95% 75%,#20c2bd0c,transparent 50%)}.circuit-background svg{width:100%;height:100%;min-height:650px;opacity:.85}.circuit-track{fill:none;stroke:currentColor;stroke-width:.8;opacity:.18}.circuit-pulse{fill:none;stroke:#70efe4;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:3 97;stroke-dashoffset:103;animation:circuit-travel var(--duration) linear infinite;animation-delay:var(--delay);opacity:.5}.circuit-route:nth-child(even) .circuit-pulse{stroke:#b39aff}.circuit-nodes{fill:var(--bg);stroke:currentColor;stroke-width:1;opacity:.3}.circuit-background.is-paused .circuit-pulse{animation-play-state:paused}@keyframes circuit-travel{0%{stroke-dashoffset:103;opacity:0}8%,65%{opacity:.55}80%,100%{stroke-dashoffset:-3;opacity:0}}:root[data-theme=light] .circuit-background{color:#514160;background:radial-gradient(ellipse at 0 35%,#7846ab0b,transparent 55%)}:root[data-theme=light] .circuit-track{opacity:.13}:root[data-theme=light] .circuit-pulse{stroke:#514263;opacity:.4}:root[data-theme=light] .circuit-route:nth-child(even) .circuit-pulse{stroke:#7047a5}
@media(max-width:820px){.circuit-background .route-4,.circuit-background .route-5,.circuit-background .route-6,.circuit-background .route-7{display:none}.circuit-background svg{opacity:.6}.circuit-pulse{stroke-width:1.2}}
@media(prefers-reduced-motion:reduce){.circuit-pulse{animation:none;display:none}}

/* Render budget: static circuit geometry plus at most two moving pulses. */
.circuit-background{contain:strict}
.circuit-route:nth-child(n+3) .circuit-pulse{animation:none;display:none}
.circuit-background.is-paused .circuit-pulse{animation-play-state:paused}
@media(max-width:820px){.circuit-route:nth-child(n+2) .circuit-pulse{animation:none;display:none}}
