/* Only the warrior canvas changes. Formation, target rings and the console keep their geometry. */
#battle-root .spell-panel-battle .battle-hero-sprite.simple-warrior{
  --skill-size:calc(var(--actor-height) * var(--skill-scale));
  position:absolute;top:calc(var(--actor-height) - var(--skill-size) * var(--skill-foot));
  left:calc(50% - var(--skill-size) * (var(--skill-anchor,.5) - .5));
  width:var(--skill-size);height:var(--skill-size);transform:translateX(-50%);
  background-image:none!important;background-size:0 0!important;
}
#battle-root .spell-panel-battle .simple-warrior>.combat-frame-art{display:none!important}
#battle-root .spell-panel-battle .simple-warrior>.warrior-pose-art{
  position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;max-width:none;max-height:none;pointer-events:none;
}
#battle-root .combat-popup .combat-number-icon-wrap{
  position:relative;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;margin-right:1px;
}
#battle-root .combat-popup .combat-number-icon-wrap>img:first-child{width:15px;height:15px;object-fit:contain;margin:0}
#battle-root .combat-popup .combat-number-icon-wrap>img.combat-number-source{
  position:absolute!important;right:0!important;bottom:0;width:9px!important;height:10px!important;padding:0;
  background:#fff9e9;border:.6px solid #b6bea0;border-radius:2px;box-shadow:none;object-fit:contain;
}
#battle-root .combat-popup .combat-number-icon-wrap>img.combat-number-source:nth-of-type(3){right:-4px!important;bottom:2px}
#battle-root .combat-popup .combat-damage-art{width:20px;flex-basis:20px;margin-right:0}
#battle-root .combat-popup .combat-damage-art>img.combat-shield-badge{right:0;bottom:-1px;width:9px;height:10px}
.warrior-contact-fx{position:absolute;z-index:52;display:block;pointer-events:none;transform-origin:center;filter:drop-shadow(0 0 1px #fff9d8)}
.warrior-contact-fx svg{display:block;width:100%;height:100%;overflow:visible}

/* The modifier belongs to the event icon, with its own readable corner. */
#battle-root .combat-popup .combat-number-icon-wrap,#battle-root .combat-popup .combat-damage-art{position:relative;display:inline-block;width:24px;height:22px;flex:0 0 24px;margin-right:1px;vertical-align:middle;}
#battle-root .combat-popup .combat-number-icon-wrap>.combat-popup-glyph,#battle-root .combat-popup .combat-number-icon-wrap>img:first-child,#battle-root .combat-popup .combat-damage-art>img:first-child{position:absolute;left:0;top:0;width:18px;height:18px;margin:0;line-height:18px;object-fit:contain;}
#battle-root .combat-popup .combat-number-icon-wrap>img.combat-number-source,#battle-root .combat-popup .combat-damage-art>img.combat-shield-badge{position:absolute!important;right:0!important;left:auto!important;bottom:0!important;top:auto!important;width:13px!important;height:13px!important;margin:0;padding:0;border:0;border-radius:0;background:transparent;object-fit:contain;filter:drop-shadow(0 0 .5px #fff9e9);}
#battle-root .combat-popup .combat-number-icon-wrap>img.combat-number-source:nth-of-type(3){left:0!important;right:auto!important;bottom:0!important;}

#battle-root .combat-popup .combat-damage-art>.combat-popup-glyph{position:absolute;left:0;top:0;width:18px;height:18px;margin:0;line-height:18px;}
#battle-root .combat-popup .combat-number-icon-wrap>img.combat-number-source+.combat-number-source{left:0!important;right:auto!important;bottom:0!important;}

/* Never expose the legacy male sheet while the chosen female drawing decodes. */
#battle-root .battle-hero-sprite[data-gender="female"]{background-image:none!important;}
#battle-root .battle-hero-sprite[data-gender="female"]:not(.simple-warrior):not(.warrior-fallback-ready):not(.has-frame-art){visibility:hidden;}
