/* v1.0.3.2 — Keep the approved Mei artwork AND carried prop(s) moving as one rig.
   Image source and aspect ratio are locked; no replacement character art. */
.scene-backdrop .world-plane .world-mei-rig .mei-visual {
  position:absolute;inset:0;width:100%;height:100%;
  transform-origin:50% 85%;pointer-events:none;
}
/* Pre-existing animation on the image alone makes held items float while Mei
   bobs. Animation is exclusively on the containing rig instead. */
.world .world-mei-rig .actor-mei-art {
 animation:none!important;transform:none!important;
}
.world[data-mei-frame="idle"] .world-mei-rig .mei-visual,
.world[data-mei-frame="lantern"] .world-mei-rig .mei-visual,
.world[data-mei-frame="flower"] .world-mei-rig .mei-visual {
 animation:meiIdentityIdle 3.5s ease-in-out infinite alternate;
}
.world[data-mei-frame="walk"] .world-mei-rig .mei-visual,
.world[data-mei-frame="run"] .world-mei-rig .mei-visual,
.world.world-just-traveled .world-mei-rig .mei-visual {
 animation:meiIdentityWalk .48s ease-in-out infinite alternate;
}
.world.spell-acting[data-action="carry-lantern"] .world-mei-rig .mei-visual,
.world.spell-acting[data-action="carry-flower"] .world-mei-rig .mei-visual {
 animation:meiIdentityReach .8s ease-in-out 1;
}
.world.spell-acting[data-action="cast"] .world-mei-rig .mei-visual,
.world.spell-acting[data-action="open"] .world-mei-rig .mei-visual {
 animation:meiIdentityCast 1s ease-out 1;
}
.world[data-mei-frame="celebrate"] .world-mei-rig .mei-visual {
 animation:meiIdentityCheer .6s ease-in-out 2;
}
/* The current asset anchors were checked against the original image. The
   lantern handle and blossom sit beside Mei's extended right hand. */
.world .world-mei-rig .mei-visual .hand-lantern {left:70%!important;top:50%!important;height:31%!important}
.world .world-mei-rig .mei-visual .hand-flower {left:69%!important;top:52%!important;height:20%!important}
body.reduce-motion .world .world-mei-rig .mei-visual {animation:none!important;transition:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){.world .world-mei-rig .mei-visual {animation:none!important;transition:none!important;transform:none!important}}
