/* V8 — the light runner follows the rounded border itself */
.turning-point {
  overflow: hidden;
  border-style: solid;
}

.turning-point::before,
.turning-point::after {
  content: none;
  animation: none;
}

.turning-point-border {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.turning-point-border rect {
  fill: none;
  stroke: url(#turning-point-gradient);
  stroke-width: 1.8;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 14 86;
  stroke-dashoffset: 0;
  animation: turning-border-run 3.6s linear infinite;
}

.turning-point-border .turning-point-glow {
  stroke-width: 4.5;
  opacity: .72;
  filter: blur(3.5px);
}

@keyframes turning-border-run {
  to { stroke-dashoffset: -100; }
}

@media (prefers-reduced-motion: reduce) {
  .turning-point-border rect {
    animation: none;
  }
}
