/* Pose atlases advance in whole cells. Travel, rotation and impact run on a
   separate continuous timeline so feet and props can hit their original cues. */
@import url("./frames.css");
@import url("./pets.css");

@media (prefers-reduced-motion:no-preference) {
  .passer.ochre b {animation-name:walk-ochre;animation-timing-function:step-end}
  .passer.rust b {animation-name:walk-rust;animation-timing-function:step-end}
  .dumpster-raccoon {animation-name:dumpster-peek,look-around}
  .squirrel {animation-name:scamper;animation-timing-function:step-end}
  #stage:not(.dinner-bell) .barn-cow {animation-name:chew-cud}
  .barn-guest[data-animal=hen] i {animation-name:hen-pecks}
  .barn-guest[data-animal=pig] i {animation-name:pig-runs;animation-timing-function:step-end}
  .barn-guest[data-animal=hen].sprint i {animation:hen-runs .36s step-end infinite}
  .barn-pigeon[data-action=shuffle] i {animation:pigeon-shuffle .74s step-end both}
  .barn-pigeon[data-action=flight] i {animation:pigeon-flight 2.18s step-end both}
  .dog {animation-name:run,max-stride;animation-timing-function:linear,step-end}
  .dog-stride {animation-name:max-stride;animation-timing-function:step-end}
  .swat-strike {animation-name:quick-taps,paw-bat}
  .spray-pull {animation-name:spray-yank,pull-paw}
  .paw {animation:swat .24s 2 alternate both,quick-taps .48s step-end both}
  .recoil {animation:yank .38s both,pull-paw .24s step-end both}
  [data-act=fetch] .pet-figure {animation-name:max-stride,lobby-chase}
  .laser-runner {background-image:url("./laser.webp");background-size:1600% 900%}
  .triggered-effect.cat-pose.icon-nap {transform-origin:50% 85%;animation:nap-settle .65s both}
  @keyframes nap-settle {
    0% {transform:translateY(-7%) rotate(10deg) scale(.96,1.05)}
    50% {transform:rotate(-4deg) scale(1.06,.92)}
    76% {transform:rotate(1.5deg) scale(.99,1.02)}
    100% {transform:none}
  }
}
