/* V0.3 Fix 7.1 — Battle presentation feedback overlays */
.battle-creature{position:relative}
.battle-skill-cast{position:absolute;z-index:8;left:50%;top:48%;transform:translate(-50%,-50%);min-width:116px;max-width:88%;padding:7px 9px;border:1px solid rgba(255,209,102,.55);border-radius:12px;background:linear-gradient(180deg,rgba(28,24,10,.94),rgba(8,18,28,.94));box-shadow:0 0 26px rgba(255,209,102,.22),0 8px 20px rgba(0,0,0,.38);text-align:center;pointer-events:none;animation:battle-skill-flash .58s ease-out both}
.battle-skill-cast span,.battle-skill-cast strong,.battle-skill-cast b{display:block}.battle-skill-cast span{font-size:6px;letter-spacing:.16em;color:var(--gold);font-weight:1000}.battle-skill-cast strong{margin:2px 0;font-size:11px;line-height:1.15;color:#fff4c8;text-shadow:0 0 10px rgba(255,209,102,.24);overflow-wrap:anywhere}.battle-skill-cast b{font-size:8px;color:var(--accent)}
@keyframes battle-skill-flash{0%{opacity:0;transform:translate(-50%,-42%) scale(.82)}28%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}100%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.battle-outcome-badge{position:absolute;z-index:9;left:50%;bottom:14%;transform:translateX(-50%);min-width:108px;padding:7px 10px;border-radius:999px;text-align:center;font-size:9px;font-weight:1000;letter-spacing:.08em;pointer-events:none;box-shadow:0 8px 20px rgba(0,0,0,.34);animation:battle-outcome-pop .46s ease-out both}.battle-outcome-badge.is-win{border:1px solid rgba(255,209,102,.72);background:linear-gradient(180deg,rgba(108,78,10,.95),rgba(54,38,7,.96));color:#fff1ae;text-shadow:0 0 12px rgba(255,209,102,.34)}.battle-outcome-badge.is-loss{border:1px solid rgba(255,120,120,.48);background:linear-gradient(180deg,rgba(78,29,34,.95),rgba(37,18,23,.96));color:#ffc3c3}
@keyframes battle-outcome-pop{0%{opacity:0;transform:translateX(-50%) scale(.78)}65%{opacity:1;transform:translateX(-50%) scale(1.06)}100%{opacity:1;transform:translateX(-50%) scale(1)}}
.result-pet-visual{position:relative;min-height:145px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:2px}.result-pet-visual .battle-outcome-badge{bottom:9px}.result-pet-visual .battle-pet-placeholder{margin:auto}
@media(max-width:560px){.battle-skill-cast{min-width:102px;padding:6px 7px}.battle-skill-cast strong{font-size:9.5px}.battle-outcome-badge{min-width:94px;font-size:8px;padding:6px 8px}.result-pet-visual{min-height:125px}}
@media(max-width:390px){.battle-skill-cast{top:52%;max-width:94%}.battle-skill-cast span{font-size:5.5px}.battle-skill-cast strong{font-size:9px}.battle-outcome-badge{bottom:10%;min-width:86px;font-size:7.5px}}
