/* Motion is on the outer holder, preserving the exact approved face and inner rig. */
.character-motion{position:relative;isolation:isolate;transform-origin:50% 80%}
.character-motion[data-motion-state=idle]{animation-duration:5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}
.character-motion[data-idle=flavio][data-motion-state=idle]{animation-name:idle-flavio;animation-duration:5.2s}
.character-motion[data-idle=nana][data-motion-state=idle]{animation-name:idle-nana;animation-duration:6s}
.character-motion[data-idle=coral][data-motion-state=idle]{animation-name:idle-coral;animation-duration:4.8s}
.character-motion[data-idle=kingston][data-motion-state=idle]{animation-name:idle-kingston;animation-duration:6.4s}
.character-motion[data-idle=juju][data-motion-state=idle]{animation-name:idle-juju;animation-duration:5.4s}
.character-motion[data-idle=amara][data-motion-state=idle]{animation-name:idle-amara;animation-duration:5.8s}
.character-motion[data-idle=shalala][data-motion-state=idle]{animation-name:idle-shalala;animation-duration:6.8s}
@keyframes idle-flavio{0%,100%{transform:rotate(-.6deg)}50%{transform:translateY(-1.5px) rotate(.8deg)}}
@keyframes idle-nana{0%,100%{transform:translateY(0)}40%{transform:translateY(-2px) rotate(.5deg)}70%{transform:rotate(-.5deg)}}
@keyframes idle-coral{0%,100%{transform:rotate(-.9deg)}35%{transform:rotate(.9deg) translateY(-1px)}65%{transform:rotate(.3deg)}}
@keyframes idle-kingston{0%,100%{transform:translateY(0) rotate(.3deg)}50%{transform:translateY(-2px) rotate(-.7deg)}}
@keyframes idle-juju{0%,100%{transform:scale(1) rotate(-.6deg)}50%{transform:scale(1.015) rotate(.6deg)}}
@keyframes idle-amara{0%,100%{transform:translateX(-.6px)}50%{transform:translateX(.6px) translateY(-1.5px) rotate(-.5deg)}}
@keyframes idle-shalala{0%,100%{transform:rotate(.4deg)}60%{transform:translateY(-1px) rotate(-.5deg) scale(1.008)}}
.character-motion .shalala-smoke-scene{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:hidden;border-radius:20%;pointer-events:none}
.smoke-hand{transform-origin:65px 100px}.lighter-hand{transform-origin:12px 105px}.smoke-exhale{transform-origin:43px 67px;opacity:0}.lighter-flame,.lighter-flame-core,.smoke-ember,.smoke-ash{opacity:0}
.character-motion[data-motion-state=win]>.crewfig{box-shadow:0 0 16px #ffd97880}
html[data-motion=off] .character-motion{animation:none!important;transform:none!important}
html[data-motion=off] .shalala-smoke-scene{display:none}
@media(prefers-reduced-motion:reduce){.character-motion{animation:none!important;transform:none!important}.shalala-smoke-scene{display:none}}

.taunt-stage .preview-character{width:220px;height:275px;z-index:1}.preview-character>.approved-portrait{width:100%;height:100%}
