/* Only event paint changes; the battle formation and console retain their sizes. */
#battle-root .spell-panel-battle .battle-hero-sprite.skill-pose.has-frame-art{background-size:0 0}
#battle-root .spell-panel-battle .battle-hero-sprite>.combat-frame-art{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain;pointer-events:none}
#battle-root .spell-panel-battle .battle-hero-sprite:not(.skill-pose)>.combat-frame-art{display:none}
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"]{
  border:1px solid #b5474d;
  background:linear-gradient(135deg,#fff5ef 0%,#e5b0aa 8%,#b86461 32%,#a84f53 100%);
  color:#fffdfa;
  box-shadow:0 4px 13px #71363d32,inset 0 0 0 1px #fff2eb42;
}
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"]::before{
  border-color:#b5474d;background:#bb6b67;
}
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"]>header{border-color:#fff4eb63}
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] h3,
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] h3 small,
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] .enemy-effect-copy,
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] .enemy-effect-copy p,
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] .enemy-effect-copy span,
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] .enemy-effect-copy small,
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] .icon-button{
  color:#fffdfa;text-shadow:0 1px 1px #6e2c3d80;
}
#battle-root .spell-panel-battle .enemy-effect-popover[data-effect-kind="invulnerable"] .effect-description-art{
  border-color:#b5474d;background:linear-gradient(135deg,#fff9f2,#e8b7ad);box-shadow:inset 0 0 0 1px #fff6e785;
}
#battle-root .spell-panel-battle .combat-effect-icon[data-effect-kind="invulnerable"]{
  border-color:#bd5558;background:linear-gradient(135deg,#fff9ef,#eed0c7);color:#9e434b;
}
#battle-root .spell-panel-battle .combat-effect-icon[data-effect-kind="invulnerable"][aria-expanded="true"]{
  border-color:#b5474d;background:linear-gradient(135deg,#fff6eb,#e8b3ab);box-shadow:inset 0 0 0 1px #c65d63;
}
#battle-root .spell-panel-battle .combat-effect-icon[data-effect-kind="invulnerable"]:focus-visible{outline:1px solid #b5474d;outline-offset:2px}
#battle-root .battle-log-toggle .journal-important-count{
  min-width:11px;height:11px;padding:0 2px;border-radius:3px;font:700 7px/1 Interface,sans-serif;
  gap:0;margin:0;letter-spacing:0;box-shadow:inset 0 0 0 .6px #a95852;
}
:is(#app,#modal-root) .v15-log-turn .log-entry.log-special[data-cue="habit"]{border-left-color:#b4574f;background:#f8ece4}
:is(#app,#modal-root) .v15-log-turn .log-entry.log-special[data-cue="habit"] p{color:#983f35}
#battle-root .combat-popup.habit,#battle-root .combat-popup.habit-hero{color:#983f35;border-color:#c98b7b;background:#fbefe7}
#battle-root .spell-panel-battle .battle-healing-aura{z-index:80;isolation:isolate;overflow:visible}
.battle-healing-aura .aura-floor{
  left:8%;right:8%;bottom:2%;height:17%;border:1.5px solid #83b568c9;
  background:radial-gradient(ellipse,#9ac9787a 0%,#7daf5b45 42%,transparent 73%);
  animation:valgard-heal-ground .8s ease-in-out both;
}
.battle-healing-aura .aura-breath{
  inset:8% 13% 7%;background:radial-gradient(ellipse at 50% 72%,#a0d17b80 0%,#94c6704f 38%,transparent 73%);
  animation:valgard-heal-breathe .8s ease-in-out both;
}
.battle-healing-aura .healing-flow{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible}
.battle-healing-aura .aura-ribbon{fill:none;stroke:#83b86aca;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:27 105;animation:valgard-heal-flow .8s ease-in-out both}
.battle-healing-aura .ribbon-two{stroke:#c7e4a5e6;stroke-width:1.3;animation-delay:.06s}
.battle-healing-aura.aura-renew .aura-ribbon{stroke:#86bd7cdb}
.battle-healing-aura .aura-thread{width:2px;height:5px;background:#b2db8fdb;animation:valgard-heal-thread .8s ease-out both}
@keyframes valgard-heal-ground{0%{opacity:0;transform:scale(.95)}22%,70%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.04)}}
@keyframes valgard-heal-breathe{0%{opacity:0;transform:translateY(4px)}28%,67%{opacity:1}100%{opacity:0;transform:translateY(-4px)}}
@keyframes valgard-heal-flow{0%{opacity:0;stroke-dashoffset:47;transform:translateY(5px)}25%,68%{opacity:1}100%{opacity:0;stroke-dashoffset:-47;transform:translateY(-6px)}}
@keyframes valgard-heal-thread{0%{opacity:0;transform:translateY(0)}25%{opacity:.9}100%{opacity:0;transform:translateY(-24px)}}
@media(prefers-reduced-motion:reduce){.battle-healing-aura i,.battle-healing-aura .aura-ribbon{animation:none}}
