/* Keep detached hands hidden while their flight drawings warm up. */
#battle-root .monster-unit.eldar-hand[data-arrival-state="preparing"]{visibility:hidden!important}

#battle-root .combat-popup.healing-blocked{background:linear-gradient(125deg,#f3f7ed,#fbefeb);border:1px solid #92aa83;color:#6b7157;animation:valgard-heal-blocked-border 1.8s ease-in-out infinite}
@keyframes valgard-heal-blocked-border{0%,100%{border-color:#8faa81}50%{border-color:#bd8982}}
@media(prefers-reduced-motion:reduce){#battle-root .combat-popup.healing-blocked{animation:none;border-color:#ae9d83}}

#battle-root .combat-skill-notice{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:clip;white-space:nowrap}
#battle-root .combat-skill-notice>span{display:block;width:max-content;max-width:none;white-space:nowrap;will-change:transform}
#battle-root .combat-skill-cooldown{overflow:hidden;text-overflow:clip}

/* Selection belongs to the chosen model, with light/dark edges on arena art. */
#battle-root .spell-panel-battle .hero-unit .selection-floor,
#battle-root .spell-panel-battle .party-ally .selection-floor{
 opacity:0!important;left:9%;right:9%;height:9px;
 border:1.5px solid var(--member-color,#3d8177);background:#f4f7ed30;
 box-shadow:0 0 0 1px #f9fbf1e6,0 0 0 2px #304f4db3,0 2px 3px #203b352e;
 transition:opacity .15s ease;
}
#battle-root .spell-panel-battle .battle-unit.selection-selected:not(.fallen) .selection-floor{opacity:1!important}
#battle-root .spell-panel-battle .monster-unit .target-layer{
 border-width:1.5px;background:#f4f7ed1f;
 box-shadow:0 0 0 1px #f9fbf1e6,0 0 0 2px #304f4dad,0 2px 3px #203b352e;
}

#battle-root img{-webkit-user-drag:none;user-select:none}

/* 0.17.10: hide detached hand metadata until the entrance has ended. */
#battle-root .monster-unit.eldar-hand[data-arrival-state="flying"] .unit-health,
#battle-root .monster-unit.eldar-hand[data-arrival-state="flying"] .battle-enemy-number,
#battle-root .monster-unit.eldar-hand[data-arrival-state="flying"] .monster-control,
#battle-root .monster-unit.eldar-hand[data-arrival-state="flying"] .target-ring{visibility:hidden!important}
#battle-root .enemy-card[data-arrival-pending="true"]{visibility:hidden!important}
/* No change to the position or palette of effect descriptions. */
#battle-root .combat-popup.wait-resource{background:#edeee9f6;border:1px solid #666966;color:#383b39;box-shadow:0 1px 3px #2c333322}
#battle-root .combat-popup.wait-resource>img{width:14px;height:14px}
#battle-root .combat-popup.wait-resource .wait-resource-amount{display:inline-flex;align-items:center;gap:3px;font-weight:700;font-variant-numeric:tabular-nums}
#battle-root .combat-popup.wait-resource .wait-resource-amount img{width:14px;height:14px}
/* Eldar's accumulated bonuses: never clip multi-digit +N values. */
#battle-root .enemy-card-effects .combat-effect-icon[data-effect-kind="damageBonus"],
#battle-root .enemy-card-effects .combat-effect-icon[data-effect-kind="defenseBonus"]{flex:0 0 auto;min-width:31px;max-width:none;padding-inline:2px}
#battle-root .enemy-card-effects .combat-effect-icon[data-effect-kind="damageBonus"] .effect-duration,
#battle-root .enemy-card-effects .combat-effect-icon[data-effect-kind="defenseBonus"] .effect-duration{font-variant-numeric:tabular-nums;white-space:nowrap;overflow:visible;flex-shrink:0}
