#fdp-full-preview .banjo-motion {
  position:relative;width:100%;height:100%;
  transform-origin:50% calc(100% - 50px);
  transform:rotate(0deg);
  transition:transform 650ms cubic-bezier(.22,.68,.25,1);
  pointer-events:none;
}
/* Shared by desktop, tablet and phone; outer responsive scaling also scales
   this clearance. Keeps peak neck bounce within the original right boundary. */
#fdp-full-preview .banjo-motion.is-playing {transform:translateX(-180px) rotate(45deg)}
#fdp-full-preview .banjo-motion span {will-change:translate}
/* The top ring letter can travel 36px toward the neck. Reserve that
   excursion plus a visible gap without changing individual-letter bounce. */
#fdp-full-preview .banjo-motion .banjo-neck {transition:transform 180ms ease-out}
#fdp-full-preview .banjo-motion.is-playing .banjo-neck {transform:translateY(-48px)}
@media(prefers-reduced-motion:reduce){
  #fdp-full-preview .banjo-motion,#fdp-full-preview .banjo-motion span {transition:none!important;translate:none!important}
  #fdp-full-preview .banjo-motion.is-playing {transform:none}
}
