/* Oscilloscope from the developer version; desktop placeholder only. */

.svc-scope {
  /* Fit the frame diagonal inside the orbit with about 10% radial clearance. */
  animation: none;
  transform-box: view-box;
  transform-origin: 280px 313px;
  transform: translateY(-3px) scale(1.15);
}
.svc-scope-sine {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-scope-sine { animation: none; }

.svc-scope-trig {
  animation: svc-pulse 1.3s ease-in-out infinite alternate;
}
.svc-scope-trig-label {
  fill: #2ec4a8;
}
.svc-scope-knob {
  transform-origin: 0 0;
  animation: svc-scope-turn 4.6s ease-in-out infinite;
}
.svc-scope-knob--b {
  animation-duration: 3.2s;
  animation-direction: alternate-reverse;
}
.svc-scope-probe {
  fill: none;
  stroke: var(--accent-dark);
  stroke-width: 2;
  stroke-dasharray: 5 6;
  animation: svc-flow 2.4s linear infinite;
}
.svc-scope-probe--b {
  stroke: rgba(13, 122, 120, 0.5);
  animation-duration: 3.1s;
  animation-direction: reverse;
}


@keyframes svc-scope-sine-run {
  to {
    transform: translateX(-48px);
  }
}
@keyframes svc-scope-square-run {
  to {
    transform: translateX(-72px);
  }
}
@keyframes svc-scope-turn {
  0%,
  100% {
    transform: rotate(-18deg);
  }
  50% {
    transform: rotate(18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-maint-placeholder .svc-scope,
  .svc-maint-placeholder .svc-scope * { animation: none !important; }
}
