/* Animacions compartides (js/fx.js) */
.fx-shake { animation: fx-shake .35s ease-in-out; }
.fx-pop { animation: fx-pop .3s ease-out; }
@keyframes fx-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
@keyframes fx-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.fx-confetti-box { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 100; }
.fx-confetti {
  position: absolute; top: -10vh; width: 8px; height: 12px; border-radius: 2px;
  animation: fx-fall 1.4s ease-in forwards;
}
@keyframes fx-fall {
  to { transform: translate(var(--dx, 0), 115vh) rotate(var(--rot, 360deg)); opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-shake, .fx-pop, .fx-confetti { animation: none; }
  .fx-confetti-box { display: none; }
}
