/* ASTERVEIL Preview V10 — approved Freya & Abel attack art and 4 profile portraits.
   No production content, Supabase, scoring or registered characters are modified. */
body.av-ui-ready #battleStage.battle-command-v3 .stage-combatants .ally #battleHero.hero-sprite.has-warrior-frames{
 position:relative!important;
 isolation:isolate;
 background-image:none!important;
 background-color:transparent!important;
 background-size:contain!important;
 background-repeat:no-repeat!important;
 background-position:center bottom!important;
 -webkit-mask-image:none!important;
 mask-image:none!important;
 box-shadow:none!important;
}
body.av-ui-ready #battleStage.battle-command-v3 .stage-combatants .ally #battleHero.hero-sprite.has-warrior-frames .warrior-frame-canvas{
 display:block!important;
 position:absolute!important;
 inset:0;
 width:100%!important;
 height:100%!important;
 max-width:100%!important;
 max-height:100%!important;
 object-fit:contain;
 image-rendering:auto;
 opacity:1!important;
 visibility:visible!important;
 pointer-events:none;
 transform:none!important;
 filter:drop-shadow(0 7px 7px rgba(2,7,24,.36));
}
body.av-ui-ready #battleStage.battle-command-v3.attack.warrior .stage-combatants .ally #battleHero.hero-sprite.has-warrior-frames,
body.av-ui-ready #battleStage.battle-command-v3.miss.warrior .stage-combatants .ally #battleHero.hero-sprite.has-warrior-frames{
 animation:none!important;
}
body.av-ui-ready #battleStage.battle-command-v3 .hd2d-hero-portrait:not([hidden]){
 background-color:#172644!important;
 background-size:contain!important;
 background-repeat:no-repeat!important;
 background-position:center!important;
}
/* All six base class/gender portraits live in the same HUD slot. */
body.av-ui-ready #battleStage.battle-command-v3 .hd2d-hero-portrait:not([hidden]){
 flex-shrink:0;
}
/* Keep enemy damage reactions visible; only the 2-D hero frame sequence is owned by JS. */
@media(prefers-reduced-motion:reduce){
 body.av-ui-ready #battleStage.battle-command-v3 .stage-combatants .ally #battleHero.hero-sprite.has-warrior-frames{
  transition:none!important;
 }
}
