/* Shared generated sprite; each frame occupies one quarter of the atlas. */
.parrot-instance { position:fixed; top:0; left:0; width:52px; height:52px; pointer-events:none!important; z-index:2147483647; will-change:transform; }
.parrot-instance[hidden] { display:none!important; }
.parrot-direction,.parrot-pose,.parrot-sprite { display:block; width:100%; height:100%; pointer-events:none!important; }
.parrot-pose { transform-origin:75% 48%; }
.parrot-sprite { background:url('./assets/parrot/lovebird-sprite-v1.webp') 0 0 / 200% 200% no-repeat; }
.parrot-instance[data-state="flying"] .parrot-sprite { animation:parrot-wings .24s steps(1,end) infinite; }
@keyframes parrot-wings { 0%,100% {background-position:100% 0;transform:translateY(0)} 33.333% {background-position:0 100%;transform:translateY(4.5px)} 66.667% {background-position:100% 100%;transform:translateY(4.5px)} }
@media (any-pointer:fine) {
  html.parrot-cursor-active,html.parrot-cursor-active * { cursor:none!important; }
  html.parrot-cursor-active :is(input,textarea,[contenteditable]:not([contenteditable="false"])) { cursor:text!important; }
  html.parrot-cursor-active select { cursor:default!important; }
  html.parrot-cursor-active [popover]:popover-open,
  html.parrot-cursor-active [popover]:popover-open * { cursor:auto!important; }
}
@media (prefers-reduced-motion:reduce) { .parrot-instance .parrot-sprite {animation:none!important;} }
