/* Putt: off-course boxes are holes in the screen. The game marks them with data-out; the empty ones are
   hidden (not faded: per-box opacity is a GPU layer each). */
.toy.putt .scr input[data-out]:disabled {
  visibility: hidden;
}

.toy.putt .putt-screen.pt-aim {
  cursor: crosshair;
}

.toy.putt .putt-screen.pt-drag {
  cursor: grabbing;
}

.toy.putt .putt-screen.pt-shake {
  animation: putt-shake 0.32s linear;
}

@keyframes putt-shake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-4px, 2px);
  }
  40% {
    transform: translate(4px, -2px);
  }
  60% {
    transform: translate(-3px, 1px);
  }
  80% {
    transform: translate(2px, -1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .toy.putt .putt-screen.pt-shake {
    animation: none;
  }
}
