/* ---------- taktický souboj ---------- */
.cast { position: relative; height: 15px; margin: 3px 0; background: #1a1010; border: 1px solid #ff9a2f; }
.cast > i { display: block; height: 100%; background: linear-gradient(90deg, #ff9a2f, #ffd23f); transition: width .3s linear; }
.cast > span { position: absolute; inset: 0; font-size: 10px; line-height: 13px; text-align: center; color: #fff; text-shadow: 1px 1px 0 #000; white-space: nowrap; overflow: hidden; }
.cast.unint { border-color: #ff4f4f; } .cast.unint > i { background: linear-gradient(90deg, #a01818, #ff4f4f); }
.cast.atme { animation: pulse .6s infinite alternate; }
.fighter.casting { box-shadow: 0 0 12px #ff9a2f88; }
.fighter.enraged { border-color: #ff4f4f; box-shadow: 0 0 14px #ff4f4faa; }
.fighter .wr { display: flex; justify-content: center; gap: 3px; font-size: 12px; min-height: 16px; }
.fighter .wr .weak { color: var(--good); border: 1px solid var(--good); padding: 0 2px; }
.fighter .wr .res { opacity: .45; text-decoration: line-through; padding: 0 2px; }
.warn { text-align: center; color: #fff; background: #5a1414; border: 2px solid #ff4f4f; padding: 6px; margin: 6px 0; font-weight: bold; animation: pulse .5s infinite alternate; }
.counter-note { text-align: center; color: #ffd23f; font-weight: bold; text-shadow: 0 0 8px #ffd23f88; }
.btn.def { min-width: 110px; border-color: #3f6f9f; }
.btn.good { border-color: var(--good); box-shadow: 0 0 8px #5fd36a66; }
.btn.counter { border-color: #ffd23f; box-shadow: 0 0 8px #ffd23f88; }
.btn .key { display: inline-block; min-width: 14px; font-size: 10px; color: var(--muted); margin-right: 4px; border: 1px solid #4a4160; padding: 0 2px; }
.skills.defs { margin-bottom: 0; }
@keyframes pulse { from { filter: brightness(1); } to { filter: brightness(1.5); } }
.fighter.shake { animation: shake .3s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-5px); background: #5a1414; } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.fighter.glow { animation: glow .5s; }
@keyframes glow { 0% { box-shadow: 0 0 18px #5fd36a; } 100% { box-shadow: none; } }
#fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.float { position: fixed; transform: translate(-50%, 0); font-weight: bold; font-size: 18px; text-shadow: 2px 2px 0 #000, 0 0 6px #000; animation: floatup 1.1s ease-out forwards; white-space: nowrap; }
@keyframes floatup { 0% { opacity: 1; margin-top: 0; transform: translate(-50%, 0) scale(1.2); } 100% { opacity: 0; margin-top: -55px; transform: translate(-50%, 0) scale(1); } }
.f-dmg { color: #ff6a5a; } .f-crit { color: #ffd23f; font-size: 26px; } .f-heal { color: #5fd36a; }
.f-dodge, .f-miss { color: #9ad0ff; } .f-block { color: #7fa8ff; } .f-weak { color: #5fd36a; font-size: 14px; }
.f-resist { color: #8a8398; font-size: 13px; } .f-interrupt { color: #ff9a2f; font-size: 20px; } .f-counter { color: #ffd23f; font-size: 16px; }
.f-stun { color: #e080ff; } .f-death { color: #ff4f4f; font-size: 28px; } .f-enrage { color: #ff4f4f; font-size: 22px; } .f-spawn { color: #ff9a2f; }
