.battle-arena{background:#152f43;color:#f6fcff;padding:18px 24px;border-radius:22px;margin:18px 24px 0;overflow:hidden;background-image:radial-gradient(ellipse at 50% 90%,#386168 0,transparent 65%)}.battle-topline,.battle-energy{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:800;letter-spacing:.5px}.battle-topline{color:#a7e9dc}.battle-field{display:grid;grid-template-columns:1fr 32px 1fr;align-items:center;max-width:600px;margin:auto;min-height:210px}.fighter{position:relative;text-align:center}.fighter .quest-creature{width:150px;height:150px;position:relative;z-index:1;filter:drop-shadow(0 12px 15px #081e3444);animation:battle-float 3s ease-in-out infinite}.foe .quest-creature{animation-delay:-1.5s;transform:scaleX(-1)}.fighter-label{display:grid;gap:6px;font-size:14px;max-width:190px;margin:12px auto 0}.fighter-label span{color:#ffb9b0;letter-spacing:3px}.fighter-platform{position:absolute;bottom:4px;left:15%;right:15%;height:25px;border:2px solid #93c8c159;background:#8fd5bc25;border-radius:50%}.battle-vs{font-weight:900;color:#d4edb1;font-size:18px}.enemy-health{height:10px;background:#ffffff24;border-radius:12px;overflow:hidden}.enemy-health i{display:block;height:100%;background:linear-gradient(90deg,#ffc678,#ff8b9d);transition:width .45s}.battle-energy{color:#ffe19c;border-top:1px solid #ffffff20;padding-top:12px}.battle-message{font-size:13px;line-height:1.5;min-height:40px;margin:12px 0 0;color:#d9edf0}.battle-command{text-align:center;padding:24px}.battle-command h2{margin:8px}.battle-command>p{color:#64726e;font-size:14px;line-height:1.6}.battle-moves{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.battle-moves button{font:inherit;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:168px;border:2px solid #ceded6;border-bottom:6px solid #9cafaa;border-radius:18px;background:#f7fcf7;color:#244c40;padding:16px 9px;cursor:pointer;touch-action:manipulation;transition:transform .15s,background .15s}.battle-moves button:hover:enabled{background:var(--move);transform:translateY(-3px)}.battle-moves button:active:enabled{transform:translateY(3px);border-bottom-width:3px}.battle-moves button>span{font-size:34px}.battle-moves button strong{font-size:17px}.battle-moves button b{font-size:12px}.battle-moves button small{font-size:11px;line-height:1.4}.battle-moves button:disabled{opacity:.4;cursor:default}.battle-help{text-align:left;border:1px solid #dbe4db;border-radius:12px;padding:14px;font-size:14px}.battle-help summary{cursor:pointer;font-weight:700}.battle-impact{display:none;position:absolute;left:40%;top:45%;font-size:70px;color:#ffe784;z-index:3}.battle-hit .battle-impact{display:block;animation:battle-burst .65s both}.battle-hit .quest-creature{animation:battle-shake .6s both}.battle-arena+.lesson-area{padding-top:22px}.battle-command .eyebrow{font-size:11px}.battle-banner{display:flex;gap:20px;align-items:center;background:#173747;color:white;border-radius:22px;padding:26px 30px;margin:0 0 24px}.battle-banner>span{font-size:45px}.battle-banner h2{margin:0 0 8px;color:#fff}.battle-banner p{margin:0;color:#cae1dc;line-height:1.6}.battle-banner button{margin-left:auto;flex-shrink:0}.battle-banner small{color:#f4d687}@keyframes battle-float{50%{translate:0 -6px}}@keyframes battle-burst{0%{opacity:0;scale:.3}40%{opacity:1;scale:1.4}100%{opacity:0;scale:1.8}}@keyframes battle-shake{25%,75%{translate:9px 0}50%{translate:-9px 0}}@media(max-width:600px){.battle-arena{margin:12px 12px 0;padding:14px}.battle-field{min-height:190px}.fighter .quest-creature{width:125px;height:140px}.fighter-label{font-size:12px}.battle-topline,.battle-energy{font-size:10px;letter-spacing:0}.battle-command{padding:20px 14px}.battle-moves{gap:7px}.battle-moves button{padding:12px 5px;min-height:165px}.battle-moves button strong{font-size:14px}.battle-moves button small{font-size:10px}.battle-banner{flex-wrap:wrap;padding:22px;gap:12px}.battle-banner>div{flex:1}.battle-banner h2{font-size:21px}.battle-banner button{width:100%;margin:0}}@media(prefers-reduced-motion:reduce){.fighter .quest-creature,.battle-impact{animation:none!important}.enemy-health i,.battle-moves button{transition:none}}

.fighter .quest-creature{max-width:100%}.battle-counter .quest-creature{animation:counter-lunge .6s both}.battle-hurt .quest-creature{animation:counter-hurt .7s both}@keyframes counter-lunge{40%{translate:-45px 0}100%{translate:0 0}}@keyframes counter-hurt{20%,60%{filter:drop-shadow(0 0 12px #ff6262);translate:-8px 0}40%,80%{opacity:.45;translate:8px 0}}
