/* Optional motion for app/art.js pictures. Everything is still under prefers-reduced-motion, and any
 * picture inside an element with class "art-still" never moves. */
@media (prefers-reduced-motion: no-preference) {
  .art-mascot .m-bird { animation: art-bob 3.4s ease-in-out infinite; }
  .art-mascot .m-eye { transform-box: fill-box; transform-origin: center; animation: art-blink 5.2s infinite; }
  .art-mascot .m-eye-r { animation-delay: .04s; }
  .art-mascot .m-wave { animation: art-wave 1.1s ease-in-out infinite alternate; }
  .art-mascot .m-flap { animation: art-flap .6s ease-in-out infinite alternate; }
  .art-mascot .m-tail { animation: art-tail 2.6s ease-in-out infinite; }
  .art-mascot.m-cheer .m-bird { animation: art-hop .9s ease-in-out infinite; }
  .art-mascot.m-sleep .m-bird { animation: art-breathe 4s ease-in-out infinite; }
  .art-mascot .m-extra { animation: art-float 3s ease-in-out infinite; }
  .art-scene-celebrate { animation: art-pop .5s ease-out both; }
  .art-still *, .art-still { animation: none !important; }
}
@keyframes art-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes art-hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
@keyframes art-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: translateY(1px) scale(1.01, .99); } }
@keyframes art-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes art-wave { from { transform: rotate(-14deg); } to { transform: rotate(12deg); } }
@keyframes art-flap { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
@keyframes art-tail { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes art-float { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-4px); opacity: .85; } }
@keyframes art-pop { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .art-mascot *, .art-scene { animation: none !important; }
}
