.neon-flow-layer {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: var(--neon-flow-opacity, .45);
  pointer-events: none;
  mix-blend-mode: normal;
  transition: opacity .35s ease;
}

.neon-flow-layer.is-disabled { opacity: 0; }
.neon-flow-layer.is-disabled path { animation: none !important; }
.neon-flow-layer path { fill: none; stroke: url(#neon-flow-gradient); stroke-linecap: round; }
.neon-flow-layer .neon-side-rail {
  stroke-width: var(--neon-flow-width, 2px);
  opacity: .28;
}
.neon-flow-layer path.neon-side-glow {
  stroke-width: calc(var(--neon-flow-width, 2px) * 4);
  filter: url(#neon-flow-glow);
  stroke-dasharray: .025 .975;
  animation: neon-flow-travel var(--neon-flow-speed, 22s) linear infinite;
}
.neon-flow-layer .neon-side-beam {
  stroke-width: var(--neon-flow-width, 2px);
  stroke-dasharray: .025 .975;
  animation: neon-flow-travel var(--neon-flow-speed, 22s) linear infinite;
}
.neon-flow-layer .neon-side-right-glow,
.neon-flow-layer .neon-side-right-beam { animation-delay: calc(var(--neon-flow-speed, 22s) * -.5); }

@keyframes neon-flow-travel {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .neon-flow-layer path.neon-side-glow,
  .neon-flow-layer path.neon-side-beam { animation: none !important; }
}

@media print { .neon-flow-layer { display: none; } }
