/* yapcircuit — WINNER D3 Deadbolt Ground. Wire: data-lm="yapcircuit" on brand svg + link this file. */
[data-lm="yapcircuit"] { transform-box: fill-box; transform-origin: center; }
[data-lm="yapcircuit"] > rect:nth-of-type(2) { animation: ya-pulse 2000ms ease-in-out infinite; }
@keyframes ya-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
[data-lm="yapcircuit"] > path:nth-of-type(1) { transition: transform 200ms ease-out; }
[data-lm="yapcircuit"]:hover > path:nth-of-type(1) { transform: translateX(2px); }
[data-lm="yapcircuit"]:hover > rect:nth-of-type(2) { animation-play-state: paused; opacity: 1; }
[data-lm="yapcircuit"]:active > path:nth-of-type(1) { transform: translateX(4px); transition: transform 90ms ease-in; }
[data-lm="yapcircuit"]:active > rect:nth-of-type(2) { fill: #FFFFFF; }
[data-lm="yapcircuit"]:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  [data-lm="yapcircuit"] > rect:nth-of-type(2) { animation: none; }
  [data-lm="yapcircuit"], [data-lm="yapcircuit"] > path:nth-of-type(1) { transition: none; transform: none; }
  [data-lm="yapcircuit"]:active > rect:nth-of-type(2) { opacity: .75; }
}
