/* Tiny Tomato Games — LIVING PITCH (extra)
   A ball that roams between players and a slow radar sweep make the tactical
   pitch feel like a live match instead of a static diagram. */

.pitch-ball {
  position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px; border-radius: 50%; z-index: 5;
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.85), 0 0 0 2px rgba(255, 255, 255, 0.16);
}
.pitch-sweep {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  width: 42%; left: -42%;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--leaf) 26%, transparent), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .pitch-sweep { animation: pitch-scan 6.5s linear infinite; }
  @keyframes pitch-scan { to { left: 120%; } }
}
@media (prefers-reduced-motion: reduce) {
  .pitch-ball, .pitch-sweep { display: none; }
}
