/* Small artwork fills the same compact rectangles as the original bleed icon. */
#battle-root .spell-panel-battle .combat-effect-icon{box-sizing:border-box;min-width:28px;max-width:56px;height:22px;min-height:22px;gap:2px;padding:1px 2px;flex:0 0 auto}
#battle-root .spell-panel-battle .combat-effect-icon>img,#battle-root .spell-panel-battle .combat-effect-icon>.icon{width:18px;height:18px;flex:0 0 18px;padding:0;object-fit:contain}
#battle-root .spell-panel-battle .player-card-effects,#battle-root .spell-panel-battle .enemy-card-effects{height:21px;min-height:21px;max-height:21px;box-sizing:border-box;min-width:0;max-width:100%;margin-inline:0;padding:0 2px;gap:2px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
#battle-root .spell-panel-battle .player-card-effects::-webkit-scrollbar,#battle-root .spell-panel-battle .enemy-card-effects::-webkit-scrollbar{display:none}
#battle-root .spell-panel-battle .player-card-effects .combat-effect-icon,#battle-root .spell-panel-battle .enemy-card-effects .combat-effect-icon{height:19px;min-height:19px;min-width:25px;max-width:52px;padding:0 2px;gap:2px}
#battle-root .spell-panel-battle .player-card-effects .combat-effect-icon>img,#battle-root .spell-panel-battle .enemy-card-effects .combat-effect-icon>img{width:16px;height:16px;flex:0 0 16px;padding:0}
#battle-root .spell-panel-battle .combat-effect-icon .effect-duration{min-width:6px;font-variant-numeric:tabular-nums;flex:none}
#hero .v13-combat-numbers{gap:0}
#hero .v13-combat-numbers>button{display:grid;grid-template-columns:14px minmax(0,1fr);justify-content:stretch;gap:3px;padding-inline:3px;overflow:hidden}
#hero .v13-combat-numbers>button>.icon{font-size:14px;width:14px;flex:none}
#hero .v13-combat-numbers>button>span:not(.icon){min-width:0;width:100%}
#hero .v13-combat-numbers>button strong{white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.18;font-variant-numeric:tabular-nums}
#hero .v13-combat-numbers>button small{white-space:normal;font-size:7px;line-height:1.2}
.warrior-save-prompt{left:10px;right:10px;top:max(9px,env(safe-area-inset-top));max-width:340px;grid-template-columns:28px minmax(0,1fr);gap:5px 8px;padding:9px 11px 10px;border:1px solid #b8a078;border-radius:10px;background:linear-gradient(125deg,#fff8e8,#ebe9d6);box-shadow:0 4px 14px #253e3633;overflow:hidden}
.warrior-save-prompt:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:#9e7951;transform:scaleX(var(--save-progress,1));transform-origin:left;transition:transform .08s linear}
.warrior-save-prompt>img{width:27px;height:30px;grid-row:1;align-self:center}
.warrior-save-prompt strong{font:700 14px/1.25 Interface,sans-serif;color:#3f5d50}
.warrior-save-prompt p{font-size:11px;line-height:1.3;margin:2px 0;color:#756851;overflow-wrap:anywhere}
.warrior-save-prompt small{font-size:10px;line-height:1.2}
.warrior-save-prompt .warrior-save-actions{gap:6px;margin-top:2px}
.warrior-save-prompt .warrior-save-actions button{min-height:32px;padding:6px 8px;font-family:inherit;font-size:11px;border-radius:6px}
.warrior-save-prompt [data-save-error]{grid-column:1/-1;color:#9a4d48}
.warrior-save-prompt [data-save-error]:empty{display:none}
.warrior-ally-picker{max-width:350px;padding:11px;gap:7px;border-radius:11px;grid-template-columns:32px minmax(0,1fr)}
.warrior-ally-picker>img{width:32px;height:35px}.warrior-ally-picker strong{font-size:15px}.warrior-ally-picker p{font-size:12px}.warrior-ally-picker .warrior-save-actions button{min-height:34px;padding:7px;font-size:12px}
@media(max-width:350px){#hero .v13-combat-numbers>button{grid-template-columns:11px minmax(0,1fr);gap:2px;padding-inline:2px}#hero .v13-combat-numbers>button>.icon{font-size:11px;width:11px}#hero .v13-combat-numbers>button strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.warrior-save-prompt:after{transition:none}}
