/* #2452: the boards list's loader, a PCB with rounded corners and vias popping in (app/loader.js). Pure CSS and SVG. */
.v3-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 240px; padding: 24px 16px; text-align: center; }
.v3-loader__board { width: 200px; max-width: 60vw; height: auto; display: block; overflow: visible; }
.v3-loader__fr4 { fill: #1b6b47; stroke: #0f3d2a; stroke-width: 3; }
.v3-loader__silk { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-dasharray: 4 4; }
.v3-loader__hole { fill: #0d1210; stroke: #d8b24a; stroke-width: 1.6; }
.v3-loader__trace { fill: none; stroke: #e0bd57; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: v3-loader-trace 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
.v3-loader__via { opacity: 0; transform-box: fill-box; transform-origin: center; animation: v3-loader-via 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * .3s); }
.v3-loader__ring { fill: #e0bd57; }
.v3-loader__drill { fill: #0d1210; }
.v3-loader__text { margin: 0; font: 600 13px/1.2 var(--v2-font, var(--font-mono, ui-monospace, monospace)); letter-spacing: .24em; opacity: .8; }
.v3-loadfail { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; text-align: center; }
.v3-loadfail p { margin: 0; }
@keyframes v3-loader-via {
  0% { opacity: 0; transform: scale(0); }
  10% { opacity: 1; transform: scale(1.35); }
  18% { transform: scale(1); }
  78% { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(.6); }
}
@keyframes v3-loader-trace {
  0% { stroke-dashoffset: 1; opacity: 1; }
  24%, 78% { stroke-dashoffset: 0; opacity: 1; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
/* Reduced motion: a still board with every via in place and a gentle "Loading..." (loader.js sets the words). */
@media (prefers-reduced-motion: reduce) {
  .v3-loader__via { animation: none; opacity: 1; transform: none; }
  .v3-loader__trace { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .v3-loader__text { letter-spacing: .08em; }
}
