/* QA49: distinct visible effects without hiding existing battlefield or buttons. */
#battle.qa49-fx-active .enemyicon,#battle.qa49-fx-active .battlehero{position:relative;overflow:visible!important;isolation:isolate}
#battle .qa49-fx{position:absolute;inset:0;pointer-events:none;z-index:15;display:flex;align-items:center;justify-content:center;animation:qa49-fx-appear .65s ease-out both}
#battle .qa49-fx.qa49-star{--qa49-fx-color:#8dd5ff}
#battle .qa49-fx.qa49-sand{--qa49-fx-color:#f5c47b}
#battle .qa49-fx.qa49-slash{--qa49-fx-color:#fff2db}
#battle .qa49-fx.qa49-heal{--qa49-fx-color:#85ebad}
#battle .qa49-fx.qa49-hurt{--qa49-fx-color:#ff858f}
#battle .qa49-fx.qa49-shield{--qa49-fx-color:#9fe5e9}
#battle .qa49-ring{position:absolute;width:78%;aspect-ratio:1;border:5px solid var(--qa49-fx-color);border-radius:50%;box-shadow:0 0 24px var(--qa49-fx-color),inset 0 0 22px var(--qa49-fx-color);transform:scale(.3);animation:qa49-expand .66s ease-out both}
#battle .qa49-slash .qa49-ring{border-radius:2%;aspect-ratio:2;width:90%;height:16%;transform:rotate(-37deg) scale(.3);animation:qa49-cut .52s ease-out both}
#battle .qa49-shield .qa49-ring{border-radius:20% 20% 45% 45%;height:90%;width:50%;border-width:3px}
#battle .qa49-spark{position:absolute;left:50%;top:50%;width:7px;height:7px;background:var(--qa49-fx-color);border-radius:50%;box-shadow:0 0 12px 3px var(--qa49-fx-color);animation:qa49-particle .58s ease-out both;transform:translate(-50%,-50%) rotate(var(--a)) translateY(-6px)}
#battle .qa49-number{font:900 clamp(18px,3.5vw,34px)/1 system-ui,sans-serif;position:absolute;top:8%;z-index:3;color:var(--qa49-fx-color);-webkit-text-stroke:1px #091323;text-shadow:0 0 8px #000,0 0 18px var(--qa49-fx-color);animation:qa49-float .68s ease-out both;white-space:nowrap}
#battle .qa49-screen{pointer-events:none;position:absolute;inset:0;z-index:12;opacity:0;animation:qa49-flash .35s ease-out both}
#battle .qa49-screen-star{background:radial-gradient(ellipse at 50% 51%,#65b9f344,transparent 62%)}
#battle .qa49-screen-sand{background:radial-gradient(ellipse at 50% 51%,#e0aa6940,transparent 62%)}
#battle .qa49-screen-slash{background:radial-gradient(ellipse at 50% 51%,#fff7ca38,transparent 62%)}
#battle .qa49-screen-heal{background:radial-gradient(ellipse at 50% 51%,#73eab82a,transparent 62%)}
#battle .qa49-screen-hurt{background:radial-gradient(ellipse at 50% 51%,#ed49602e,transparent 62%)}
@keyframes qa49-fx-appear{0%{opacity:0}18%{opacity:1}72%{opacity:.95}100%{opacity:0}}
@keyframes qa49-expand{0%{transform:scale(.25);opacity:0}25%{opacity:1}100%{transform:scale(1.55);opacity:0}}
@keyframes qa49-cut{0%{transform:rotate(-37deg) scale(.1);opacity:0}30%{opacity:1}100%{transform:rotate(-37deg) scale(1.6);opacity:0}}
@keyframes qa49-particle{0%{opacity:0;transform:translate(-50%,-50%) rotate(var(--a)) translateY(-4px)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) rotate(var(--a)) translateY(calc(-1 * var(--d)))}}
@keyframes qa49-float{0%{transform:translateY(10px) scale(.8);opacity:0}22%{opacity:1}100%{transform:translateY(-26px) scale(1.2);opacity:0}}
@keyframes qa49-flash{0%{opacity:0}28%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){#battle .qa49-fx,#battle .qa49-screen,#battle .qa49-number,#battle .qa49-ring,#battle .qa49-spark{animation:none;opacity:.45}}
