:root{--ui-scale: 1;--fs-base: clamp(15px, 1.85vw, 28px);--fs-sm: clamp(13px, 1.5vw, 23px);--fs-lg: clamp(20px, 2.8vw, 42px);--panel-bg: rgba(12, 18, 38, .92);--panel-border: #6da8ff;--panel-border-soft: rgba(109, 168, 255, .4);--accent: #ffe14d;--accent-2: #7ee0a0;--text: #eef3ff;--text-dim: #bcc9e4;--danger: #ff7a7a;--radius: 14px;--font: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;--safe-t: env(safe-area-inset-top, 0px);--safe-r: env(safe-area-inset-right, 0px);--safe-b: env(safe-area-inset-bottom, 0px);--safe-l: env(safe-area-inset-left, 0px)}*{box-sizing:border-box}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}body.app-window-inactive *,body.app-window-inactive *:before,body.app-window-inactive *:after{animation-play-state:paused!important}body.app-window-inactive #loading:not(.hidden) .loading-spinner{animation-play-state:running!important}html,body{margin:0;padding:0;height:100%;overflow:hidden;background:#05070d}body{font-family:var(--font);color:var(--text);font-size:var(--fs-base);-webkit-user-select:none;user-select:none;touch-action:none}body.touch,body.touch *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}body.touch canvas,body.touch img{-webkit-user-drag:none}#app{position:fixed;inset:0}#field-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}#ui-root{position:absolute;inset:0;pointer-events:none}#ui-root>*{pointer-events:auto}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 30%,#16224a,#05070d 75%);z-index:50}body.runtime-asset-recovering #loading{z-index:120}.runtime-asset-pending,.runtime-asset-failed{visibility:hidden}.loading-card{text-align:center}.loading-title{font-size:2rem;font-weight:800;letter-spacing:.12em;color:var(--accent);text-shadow:0 2px 12px rgba(255,225,77,.4)}.loading-spinner{width:42px;height:42px;margin:18px auto;border:4px solid var(--panel-border-soft);border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}.loading-text{color:var(--text-dim)}@keyframes spin{to{transform:rotate(360deg)}}.hidden{display:none!important}#hud{position:absolute;top:10px;left:10px;right:112px;display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;font-size:var(--fs-sm)}.hud-box{background:var(--panel-bg);border:2px solid var(--panel-border-soft);border-radius:12px;padding:6px 10px;backdrop-filter:blur(4px);display:flex;gap:clamp(8px,1.6vw,14px);align-items:center;flex-wrap:wrap;position:relative}.hud-area{max-width:60vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hud-stat{display:flex;flex-direction:column;line-height:1.15}.hud-stat .k{color:var(--text-dim);font-size:clamp(11px,1.15vw,18px)}.hud-stat .v{font-weight:700}.hud-bar{width:clamp(86px,12vw,190px);height:clamp(7px,.9vw,12px);background:#ffffff24;border-radius:4px;overflow:hidden;margin-top:3px}.hud-bar>i{display:block;height:100%;background:var(--accent-2);transition:width .45s ease-out}.hud-bar.mp>i{background:#6db3ff}.hud-stat.recovering .k,.hud-stat.recovering .v{animation:hudRecoverText .82s ease-out both}.hud-stat.recovering .hud-bar{animation:hudRecoverGlow .82s ease-out both}.hud-recovery-pop{position:absolute;left:50%;top:calc(100% + 6px);z-index:6;pointer-events:none;max-width:min(430px,calc(100vw - 24px));padding:3px 8px;border-radius:999px;background:#091812d6;color:#8cf08c;border:1px solid rgba(140,240,140,.45);font-weight:900;font-size:clamp(13px,1.45vw,19px);line-height:1.15;text-align:center;text-shadow:0 2px 5px #000,0 0 10px rgba(140,240,140,.45);transform:translate(-50%);animation:hudRecoverPop 1.05s ease-out forwards}@keyframes hudRecoverPop{0%{opacity:0;transform:translate(-50%,8px) scale(.8)}18%{opacity:1;transform:translate(-50%) scale(1.06)}to{opacity:0;transform:translate(-50%,-22px) scale(1)}}@keyframes hudRecoverGlow{0%{box-shadow:0 0 #8cf08c00;transform:scaleY(1)}28%{box-shadow:0 0 16px #8cf08cd1,0 0 0 2px #8cf08c47;transform:scaleY(1.45)}to{box-shadow:0 0 #8cf08c00;transform:scaleY(1)}}@keyframes hudRecoverText{0%{color:var(--text-dim);text-shadow:none}28%{color:#bcffbc;text-shadow:0 0 12px rgba(140,240,140,.85)}to{color:var(--text-dim);text-shadow:none}}.hp3{position:relative;overflow:visible}.hp3>.fill{position:absolute;left:0;top:0;bottom:0;background:var(--accent-2);border-radius:inherit}.hp3>.lost{position:absolute;right:0;top:0;bottom:0;background:repeating-linear-gradient(45deg,#ff5a5aa6,#ff5a5aa6 3px,#962828a6 3px 6px);border-radius:inherit}.hp3>.thr{position:absolute;left:50%;top:-1px;bottom:-1px;width:2px;background:#fff;opacity:.75}.hp3.danger>.fill{background:var(--danger);animation:blink .7s steps(2) infinite}.hud-area{color:var(--accent);font-weight:700}.panel{background:linear-gradient(165deg,#1c2646f2,#0d132af5 55%,#090d1ef7);border:1.5px solid var(--panel-border-soft);border-radius:var(--radius);box-shadow:0 14px 50px #0000008c,0 0 0 1px #0006,inset 0 1px #ffffff1a,inset 0 -1px #0000004d;backdrop-filter:blur(8px)}.dialog-layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px}.dialog{min-width:min(380px,92vw);max-width:92vw;max-height:86vh;overflow:auto;padding:18px 20px;scrollbar-width:thin;scrollbar-color:var(--panel-border-soft) rgba(0,0,0,.2)}.dialog::-webkit-scrollbar{width:10px}.dialog::-webkit-scrollbar-thumb{background:var(--panel-border-soft);border-radius:5px}.dialog::-webkit-scrollbar-track{background:#0003}.dialog h2{margin:0 0 14px;padding-bottom:10px;font-size:var(--fs-lg);font-weight:800;color:var(--accent);letter-spacing:.04em;text-shadow:0 1px 0 rgba(0,0,0,.5);border-bottom:1px solid var(--panel-border-soft)}.dialog-titlebar{display:flex;align-items:flex-start;gap:12px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--panel-border-soft)}.dialog-titlebar h2{flex:1;min-width:0;margin:0;padding-bottom:0;border-bottom:0}.dialog-close{flex:none;width:42px;height:42px;display:flex;align-items:center;justify-content:center;margin:-3px -4px 0 0;border-radius:10px;border:2px solid var(--panel-border-soft);background:#6da8ff24;color:var(--text);font-family:var(--font);font-size:1.25rem;font-weight:900;line-height:1;cursor:pointer;transition:background .12s,border-color .12s,color .12s,transform .06s}.dialog-close:hover,.dialog-close.sel{background:#ffe14d38;border-color:var(--accent);color:var(--accent);box-shadow:inset 0 0 0 1px #ffe14d59}.dialog-close:active{transform:scale(.94)}#message-window{position:absolute;left:12px;right:12px;bottom:calc(12px + var(--safe-b));pointer-events:auto;padding:16px 18px;min-height:92px;font-size:var(--fs-base);line-height:1.6}#message-window .speaker{color:var(--accent);font-weight:700;margin-bottom:4px}#message-window .msg-row{display:flex;gap:14px;align-items:flex-start}#message-window .msg-textcol{flex:1;min-width:0}#message-window .msg-body{position:relative;overflow:hidden;min-height:1.6em;white-space:pre-line}#message-window .msg-text{display:inline-block;max-width:100%}#message-window .msg-text-reserve{display:block;visibility:hidden;pointer-events:none}#message-window .msg-text-live{position:absolute;left:0;top:0;width:100%}#message-window .msg-body.new{animation:battleLogScrollIn .28s ease-out both}#message-window .msg-portrait{width:clamp(64px,14vw,120px);height:clamp(64px,14vw,120px);object-fit:contain;border-radius:12px;background:#6da8ff1f;border:2px solid var(--panel-border-soft);flex:none}#message-window .msg-scene{display:block;width:100%;max-height:38vh;object-fit:contain;border-radius:10px;margin-bottom:12px;border:2px solid var(--panel-border-soft);box-shadow:0 6px 20px #00000080;background:#0609128c}#message-window.with-scene{bottom:auto;top:50%;transform:translateY(-50%);max-height:88vh;overflow:auto}#message-window .more{position:absolute;right:16px;bottom:10px;color:var(--accent);animation:blink .9s steps(2) infinite}@keyframes blink{50%{opacity:.2}}.menu-list{list-style:none;margin:0;padding:2px}.menu-list li{padding:11px 16px 11px 46px;position:relative;border-radius:10px;color:var(--text);font-size:var(--fs-base);cursor:pointer;min-height:46px;display:flex;justify-content:space-between;align-items:center;gap:16px;transition:background .13s ease,box-shadow .13s ease,color .13s ease}.menu-list li:hover{background:#6da8ff1f}.menu-list li.sel{background:linear-gradient(90deg,#6da8ff57,#6da8ff14);box-shadow:inset 3px 0 0 0 var(--accent),inset 0 0 0 1px #6da8ff73;color:#fff}.menu-list li.sel:before{content:"▶";position:absolute;left:18px;color:var(--accent);filter:drop-shadow(0 0 5px rgba(255,225,77,.7));animation:curBob .9s ease-in-out infinite}@keyframes curBob{0%,to{transform:translate(0)}50%{transform:translate(2px)}}.menu-list li.disabled,.menu-list li.dimmed{color:var(--text-dim);opacity:.5}.menu-list li.disabled.sel:before,.menu-list li.dimmed.sel:before{animation:none}.menu-list li .right{color:var(--accent);flex:none;white-space:nowrap;font-weight:700}.menu-list li .mi-main{display:flex;flex-direction:column;gap:2px;min-width:0}.menu-list li .mi-desc{font-size:.72em;color:var(--text-dim);font-weight:400;line-height:1.25}.menu-list li.sel .mi-desc{color:#cdd8ee}#title-screen{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:calc(20px + var(--safe-t)) calc(16px + var(--safe-r)) calc(20px + var(--safe-b)) calc(16px + var(--safe-l));background:#05070d;text-align:center;z-index:30;overflow:hidden}#title-screen:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#05070d40,#05070d1a 38%,#05070d8c 78%,#05070dcc)}#title-screen .logo{display:block;width:min(92vw,980px);max-height:min(34vh,210px);object-fit:contain;margin:0 0 30px;filter:drop-shadow(0 7px 18px rgba(0,0,0,.78)) drop-shadow(0 0 18px rgba(255,225,77,.35))}#title-screen .title-menu{min-width:min(300px,80vw)}#title-screen .title-hint{margin-top:18px}#title-bg-art{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.92;z-index:-2}#battle-screen{--battle-ground-y: 50%;--battle-stage-ground-bottom: 15%;position:absolute;inset:0;display:flex;flex-direction:column;z-index:25;overflow:hidden;background:radial-gradient(120% 70% at 50% 18%,#ffffff1a,#fff0 55%),linear-gradient(180deg,#20407a 0%,#4a78b8 calc(var(--battle-ground-y) - 16%),#8fb4d8 var(--battle-ground-y),#4a7a4a var(--battle-ground-y),#2f5436 calc(var(--battle-ground-y) + 24%),#1a2f22 100%)}#battle-screen:before{content:"";position:absolute;left:-10%;right:-10%;top:calc(var(--battle-ground-y) - 6%);height:14%;background:radial-gradient(60% 100% at 50% 50%,#fff7dc8c,#fff7dc00 70%);filter:blur(6px);pointer-events:none;opacity:0}#battle-screen.bt-m0:before,#battle-screen.bt-m3:before{opacity:1}#battle-screen:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(130% 90% at 50% 42%,#0000 55%,#0000008c)}#battle-screen.bt-m0,#battle-screen.bt-m3{background:radial-gradient(120% 70% at 50% 18%,#ffffff1a,#fff0 55%),linear-gradient(180deg,#20407a 0%,#4a78b8 calc(var(--battle-ground-y) - 16%),#8fb4d8 var(--battle-ground-y),#4a7a4a var(--battle-ground-y),#2f5436 calc(var(--battle-ground-y) + 24%),#1a2f22 100%)}#battle-screen.bt-m1{background:radial-gradient(120% 60% at 50% 22%,#96aad21a,#0000 55%),linear-gradient(180deg,#0a0d14 0%,#1a2030 calc(var(--battle-ground-y) - 8%),#2a3344 var(--battle-ground-y),#1b2230 calc(var(--battle-ground-y) + 2%),#0a0d14 100%)}#battle-screen.bt-m2{background:radial-gradient(120% 60% at 50% 20%,#ffebbe1a,#0000 55%),linear-gradient(180deg,#2a2218 0%,#5a4e38 calc(var(--battle-ground-y) - 6%),#6e6048 var(--battle-ground-y),#4a3f2c calc(var(--battle-ground-y) + 2%),#221b12 100%)}#battle-screen.bt-m4{background:radial-gradient(120% 70% at 50% 16%,#ff5a5a24,#0000 55%),linear-gradient(180deg,#160a1e 0%,#34182e calc(var(--battle-ground-y) - 8%),#4a2436 var(--battle-ground-y),#2a1622 calc(var(--battle-ground-y) + 2%),#100810 100%)}#battle-screen.bt-boss:after{background:radial-gradient(120% 80% at 50% 30%,#ff785029,#0000 50%),radial-gradient(130% 90% at 50% 42%,#0000 50%,#28000099)}#battle-screen.bt-final:after{background:radial-gradient(120% 90% at 50% 28%,#ff282842,#0000 50%),radial-gradient(130% 95% at 50% 42%,#0000 45%,#3c0000b3)}.battle-stage:before{content:"";position:absolute;left:50%;bottom:var(--battle-stage-ground-bottom);width:56%;height:26%;transform:translate(-50%);background:radial-gradient(closest-side,#fff3,#fff0);pointer-events:none}#battle-screen.flash{animation:screenflash .18s}@keyframes screenflash{0%{filter:brightness(2.4)}to{filter:brightness(1)}}#battle-screen.shake{animation:screenflash .18s,btShake .32s ease-out}@keyframes btShake{0%,to{transform:scale(1.03) translate(0)}20%{transform:scale(1.03) translate(-6px,3px)}40%{transform:scale(1.03) translate(5px,-3px)}60%{transform:scale(1.03) translate(-4px,2px)}80%{transform:scale(1.03) translate(3px,-1px)}}.battle-stage{flex:1;position:relative;min-height:0}.enemy-holder{position:absolute;left:50%;bottom:var(--battle-stage-ground-bottom);transform:translate(-50%);display:flex;align-items:flex-end;justify-content:center;width:60%;height:52%}.battle-enemy{--battle-enemy-shadow: drop-shadow(0 16px 24px rgba(0,0,0,.6));max-width:100%;max-height:100%;image-rendering:auto;filter:var(--battle-enemy-shadow);transition:transform .1s}.battle-enemy.hit{animation:enemyhit .32s}.battle-enemy.entering,.battle-enemy-fallback.entering{animation:enemyEnter .7s cubic-bezier(.2,.9,.3,1.2) both}@keyframes enemyEnter{0%{opacity:0;transform:translateY(-40px) scale(.55);filter:var(--battle-enemy-shadow) brightness(2.2)}60%{opacity:1}to{opacity:1;transform:translateY(0) scale(1);filter:var(--battle-enemy-shadow)}}.enemy-holder.defeated{animation:enemydefeat .6s ease-in forwards}@keyframes enemydefeat{0%{opacity:1;transform:translate(-50%) scale(1);filter:none}30%{opacity:1;transform:translate(-50%) scale(1.05);filter:brightness(2.2) saturate(.4)}to{opacity:0;transform:translate(-50%) scale(1);filter:grayscale(1) brightness(.5)}}.dmg-popup{position:fixed;z-index:80;pointer-events:none;transform:translate(-50%);width:max-content;max-width:none;text-align:center;white-space:nowrap;line-height:1.05;overflow:visible;font-weight:900;font-size:clamp(24px,5vw,48px);text-shadow:0 2px 6px #000,0 0 14px rgba(0,0,0,.6);animation:dmgpop .9s ease-out forwards}.dmg-popup.dmg{color:#ffd24d}.dmg-popup.heal{color:#8cf08c}.dmg-popup.pow-loss{color:#9bd7ff;text-shadow:0 2px 6px #000,0 0 14px rgba(80,170,255,.74)}.dmg-popup.critical{color:#fff0a4;text-shadow:0 2px 6px #000,0 0 18px rgba(255,210,70,.96),0 0 34px rgba(255,80,42,.72)}.dmg-popup.critical .crit-value{display:block}.dmg-popup.critical .crit-label{position:absolute;left:50%;bottom:calc(100% + 6px);transform:translate(-50%);color:#fff;font-size:clamp(14px,2.2vw,24px);line-height:1;white-space:nowrap;letter-spacing:0;text-shadow:0 2px 5px #000,0 0 14px rgba(255,235,120,.95),0 0 26px rgba(255,86,38,.7)}.dmg-popup.overkill{color:#fff2a8;letter-spacing:0;text-shadow:0 2px 6px #000,0 0 18px rgba(255,210,77,.95),0 0 34px rgba(255,72,42,.68)}.dmg-popup.big{color:#ff8a3c;text-shadow:0 2px 6px #000,0 0 16px rgba(255,138,60,.9),0 0 30px rgba(255,90,30,.6);font-weight:900}@keyframes dmgpop{0%{opacity:0;transform:translate(-50%,10px) scale(.6)}20%{opacity:1;transform:translate(-50%,-6px) scale(1.15)}to{opacity:0;transform:translate(-50%,-60px) scale(1)}}@keyframes enemyhit{0%{transform:translate(0) scale(1);filter:none}15%{transform:translate(-12px) scale(1.04);filter:brightness(3.2) saturate(.3)}35%{transform:translate(10px);filter:brightness(.6)}55%{transform:translate(-7px);filter:brightness(2.6)}to{transform:translate(0) scale(1);filter:none}}.battle-impact{--impact-size: 48px;--impact-power: 0;--impact-outline: rgba(220, 224, 226, .9);--impact-fill: rgba(245, 245, 245, .055);--impact-glow: rgba(170, 174, 176, .18);--impact-highlight: rgba(255, 255, 255, .7);position:fixed;z-index:75;pointer-events:none;width:var(--impact-size);height:var(--impact-size);transform:translate(-50%,-50%);mix-blend-mode:screen}.battle-impact.light{--impact-outline: rgba(156, 181, 198, .92);--impact-fill: rgba(92, 120, 140, .07);--impact-glow: rgba(124, 156, 184, .16);--impact-highlight: rgba(222, 234, 242, .68)}.battle-impact.solid{--impact-outline: rgba(194, 168, 132, .93);--impact-fill: rgba(123, 96, 58, .08);--impact-glow: rgba(194, 150, 82, .18);--impact-highlight: rgba(244, 224, 188, .72)}.battle-impact.heavy{--impact-outline: rgba(210, 126, 108, .94);--impact-fill: rgba(125, 66, 52, .085);--impact-glow: rgba(220, 100, 72, .22);--impact-highlight: rgba(248, 198, 184, .74)}.battle-impact.full{--impact-outline: rgba(238, 208, 112, .96);--impact-fill: rgba(142, 112, 42, .095);--impact-glow: rgba(255, 190, 64, .28);--impact-highlight: rgba(255, 244, 190, .82)}.battle-impact .ring{position:absolute;inset:0;border-radius:50%;border:calc(1.5px + var(--impact-power) * 2.5px) solid var(--impact-outline);background:radial-gradient(circle,var(--impact-fill) 0%,rgba(255,255,255,0) 62%);box-shadow:0 0 calc(5px + var(--impact-power) * 12px) var(--impact-glow),inset 0 0 calc(4px + var(--impact-power) * 8px) var(--impact-fill);opacity:0;transform:scale(.52) rotate(var(--impact-rot, 0deg));animation:battleImpactRipple .58s cubic-bezier(.16,.72,.22,1) forwards}.battle-impact .ring:after{content:"";position:absolute;inset:18%;border-radius:50%;border-top:calc(1px + var(--impact-power) * 2px) solid var(--impact-highlight);transform:rotate(24deg);opacity:.72}.battle-impact .ring:nth-child(2){inset:7%;animation-delay:42ms}@keyframes battleImpactRipple{0%{opacity:calc(.52 + var(--impact-power) * .38);transform:scale(.46) rotate(var(--impact-rot, 0deg));border-width:calc(2px + var(--impact-power) * 3px)}42%{opacity:calc(.38 + var(--impact-power) * .26)}to{opacity:0;transform:scale(1.34) rotate(calc(var(--impact-rot, 0deg) + 12deg));border-width:1px}}.battle-impact.enemy-technique{z-index:76;overflow:visible;animation:enemyTechniqueFade .98s ease-out forwards}.battle-impact.enemy-technique span{position:absolute;display:block;pointer-events:none}@keyframes enemyTechniqueFade{0%{opacity:0}8%{opacity:1}82%{opacity:1}to{opacity:0}}.fx-poison-needle .needle{left:4%;top:48%;width:96%;height:5%;border-radius:999px;background:linear-gradient(90deg,#fff0,#e7fff0 10%,#94ff86 42%,#1d6f36 72%,#fff0);box-shadow:0 0 12px #60ff6eb3;transform-origin:50% 50%;animation:fxNeedle .72s cubic-bezier(.16,.72,.22,1) forwards}.fx-poison-needle .needle.main{transform:rotate(-18deg)}.fx-poison-needle .needle.glint{top:42%;height:2%;opacity:.85;transform:rotate(-18deg);animation-delay:50ms}.fx-poison-needle .drop{width:12%;height:12%;border-radius:50%;background:radial-gradient(circle,#d6ff54,#32d855 56%,#32d85500 72%);box-shadow:0 0 12px #46ff50b3;animation:fxDrop .76s ease-out forwards}.fx-poison-needle .drop.a{left:52%;top:36%}.fx-poison-needle .drop.b{left:68%;top:54%;animation-delay:70ms}@keyframes fxNeedle{0%{opacity:0;transform:translate(-46%,-18%) rotate(-18deg) scaleX(.42)}24%{opacity:1;transform:translate(0) rotate(-18deg) scaleX(1)}to{opacity:0;transform:translate(18%,4%) rotate(-18deg) scaleX(.72)}}@keyframes fxDrop{0%{opacity:0;transform:scale(.2)}34%{opacity:.95;transform:scale(1.05)}to{opacity:0;transform:translateY(22%) scale(.4)}}.fx-bomb .blast,.fx-death-missile .blast,.fx-meteor-missile .burst,.fx-meteor-shower .burst{inset:21%;border-radius:50%;animation:fxBlast .72s ease-out forwards}.fx-bomb .blast{background:radial-gradient(circle,#fff8b8,#ffb434 32%,#e0441c 58%,#e0441c00 72%);box-shadow:0 0 30px #ff8026d9}.fx-bomb .halo,.fx-death-missile .shock,.fx-death-electric .halo,.fx-meteor-missile .crater,.fx-meteor-shower .shock{inset:8%;border-radius:50%;border:calc(2px + var(--impact-power) * 3px) solid rgba(255,216,120,.88);box-shadow:0 0 18px #ffa04073;animation:fxHalo .8s ease-out forwards}.fx-bomb .halo.b{inset:24%;animation-delay:70ms;border-color:#ff682acc}.fx-bomb .smoke{width:34%;height:34%;border-radius:50%;background:radial-gradient(circle,#e6dcbeb3,#50463e2e 62%,#50463e00);filter:blur(1px);animation:fxSmokeCurl .9s ease-out forwards}.fx-bomb .smoke.a{left:6%;top:14%}.fx-bomb .smoke.b{right:4%;bottom:8%;animation-delay:70ms}.fx-bomb .spark,.fx-fire .spark{width:4%;height:28%;border-radius:999px;background:linear-gradient(180deg,#fff8b8,#ffd64200);transform-origin:50% 100%;animation:fxSpark .72s ease-out forwards}.fx-bomb .spark.a{left:48%;top:4%;--spark-rot: -24deg}.fx-bomb .spark.b{left:72%;top:36%;--spark-rot: 64deg;animation-delay:50ms}@keyframes fxBlast{0%{opacity:0;transform:scale(.16);filter:brightness(1.8)}18%{opacity:1;transform:scale(.82)}to{opacity:0;transform:scale(1.55);filter:brightness(.8)}}@keyframes fxHalo{0%{opacity:0;transform:scale(.28)}24%{opacity:.9}to{opacity:0;transform:scale(1.48)}}@keyframes fxSmokeCurl{0%{opacity:0;transform:scale(.35)}28%{opacity:.8}to{opacity:0;transform:translateY(-18%) scale(1.35)}}@keyframes fxSpark{0%{opacity:0;transform:rotate(var(--spark-rot, 0deg)) scaleY(.1)}24%{opacity:1}to{opacity:0;transform:rotate(var(--spark-rot, 0deg)) translateY(-42%) scaleY(.8)}}.fx-death-missile .target{inset:16%;border-radius:50%;border:2px solid rgba(255,76,76,.9);box-shadow:inset 0 0 0 1px #ffffff73,0 0 18px #ff2626a6;animation:fxTarget .72s ease-out forwards}.fx-death-missile .target:before,.fx-death-missile .target:after{content:"";position:absolute;left:50%;top:50%;background:#ffe6aadb;transform:translate(-50%,-50%)}.fx-death-missile .target:before{width:115%;height:2px}.fx-death-missile .target:after{width:2px;height:115%}.fx-death-missile .trail,.fx-meteor-missile .trail{left:-16%;top:18%;width:88%;height:13%;border-radius:999px;background:linear-gradient(90deg,#fff0,#ffecacd9,#ff422ab3);filter:blur(1px);transform:rotate(-28deg);animation:fxStreak .7s ease-out forwards}.fx-death-missile .missile{left:22%;top:35%;width:42%;height:13%;border-radius:999px 18% 18% 999px;background:linear-gradient(90deg,#e8eef5,#9fb0c0 56%,#ff4338 57%,#ffe082);box-shadow:0 0 16px #ff5232e6;transform:rotate(-28deg);animation:fxMissile .7s cubic-bezier(.18,.82,.24,1) forwards}.fx-death-missile .blast{background:radial-gradient(circle,#fff,#ffec88,#ff4141 48%,#78000000 74%)}.fx-death-missile .shock{border-color:#ff4141eb;animation-delay:.12s}@keyframes fxTarget{0%{opacity:0;transform:scale(1.35)}24%{opacity:1;transform:scale(.82)}to{opacity:0;transform:scale(1.05)}}@keyframes fxStreak{0%{opacity:0;transform:translate(-38%,-26%) rotate(-28deg) scaleX(.35)}28%{opacity:1}to{opacity:0;transform:translate(38%,22%) rotate(-28deg) scaleX(1)}}@keyframes fxMissile{0%{opacity:0;transform:translate(-78%,-48%) rotate(-28deg) scale(.55)}34%{opacity:1;transform:translate(8%,4%) rotate(-28deg) scale(1)}to{opacity:0;transform:translate(20%,10%) rotate(-28deg) scale(.2)}}.fx-death-electric .core{inset:28%;border-radius:50%;background:radial-gradient(circle,#fff,#bcf4ff 24%,#5892ff 54%,#5892ff00 74%);box-shadow:0 0 36px #48b4fff2,0 0 64px #9440ff99;animation:fxElectricCore .92s ease-out forwards}.fx-death-electric .bolt,.fx-thunder .bolt{width:18%;height:86%;background:linear-gradient(180deg,#fff,#72e8ff 42%,#7b4dff);clip-path:polygon(42% 0%,95% 0%,62% 38%,88% 38%,28% 100%,42% 54%,10% 54%);filter:drop-shadow(0 0 8px rgba(120,225,255,.95));animation:fxBolt .74s steps(2,end) forwards}.fx-death-electric .bolt.a{left:18%;top:2%;--bolt-rot: -18deg}.fx-death-electric .bolt.b{left:48%;top:5%;--bolt-rot: 13deg;animation-delay:50ms}.fx-death-electric .bolt.c{left:68%;top:9%;--bolt-rot: 28deg;animation-delay:.11s}.fx-death-electric .halo{border-color:#a0ebffe6;box-shadow:0 0 30px #78e1ffa6;animation-duration:1s}@keyframes fxElectricCore{0%{opacity:0;transform:scale(.18)}18%{opacity:1;transform:scale(1.1)}to{opacity:0;transform:scale(1.45)}}@keyframes fxBolt{0%{opacity:0;transform:translateY(-18%) scaleY(.35) rotate(var(--bolt-rot, 0deg))}20%{opacity:1}62%{opacity:1;filter:drop-shadow(0 0 16px rgba(255,255,255,.95))}to{opacity:0;transform:translateY(12%) scaleY(.9) rotate(var(--bolt-rot, 0deg))}}.fx-net .mesh{inset:9%;border:2px solid rgba(215,230,230,.9);border-radius:8px;background-image:linear-gradient(35deg,#e6f5f5d1 1px,#fff0 2px),linear-gradient(145deg,#e6f5f5d1 1px,#fff0 2px);background-size:18% 18%;box-shadow:0 0 16px #d2f0f066,inset 0 0 18px #8caaaa33;animation:fxNetDrop .86s cubic-bezier(.16,.72,.22,1) forwards}.fx-net .weight{width:9%;height:9%;border-radius:50%;background:radial-gradient(circle,#f4f4ed,#879494);box-shadow:0 0 8px #e6f5f58c;animation:fxWeight .86s ease-out forwards}.fx-net .weight.a{left:5%;top:5%}.fx-net .weight.b{right:5%;top:5%}.fx-net .weight.c{left:5%;bottom:5%}.fx-net .weight.d{right:5%;bottom:5%}@keyframes fxNetDrop{0%{opacity:0;transform:translateY(-58%) rotate(-14deg) scale(1.2)}36%{opacity:1;transform:translateY(0) rotate(-8deg) scale(1)}76%{opacity:.9;transform:translateY(0) rotate(-8deg) scale(.9)}to{opacity:0;transform:translateY(8%) rotate(-8deg) scale(.86)}}@keyframes fxWeight{0%{opacity:0;transform:translateY(-70%) scale(.6)}36%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(16%) scale(.8)}}.fx-smoke .puff{border-radius:50%;background:radial-gradient(circle,#f5f5e6c7,#848a8270 58%,#50585400);filter:blur(1.5px);animation:fxSmokePuff 1.05s ease-out forwards}.fx-smoke .puff.a{left:24%;top:32%;width:34%;height:34%}.fx-smoke .puff.b{left:44%;top:18%;width:38%;height:38%;animation-delay:60ms}.fx-smoke .puff.c{left:10%;top:50%;width:40%;height:40%;animation-delay:.11s}.fx-smoke .puff.d{left:54%;top:48%;width:42%;height:42%;animation-delay:.16s}.fx-smoke .puff.e{left:32%;top:58%;width:30%;height:30%;animation-delay:.21s}@keyframes fxSmokePuff{0%{opacity:0;transform:scale(.25)}28%{opacity:.92;transform:scale(1)}to{opacity:0;transform:translateY(-28%) scale(1.55)}}.fx-fire .flame{width:30%;height:58%;bottom:10%;border-radius:68% 32% 64% 36%;background:radial-gradient(circle at 48% 68%,#fff6a8,#ffbc32 34%,#ff4c25 64%,#ff4c2500 74%);filter:drop-shadow(0 0 12px rgba(255,96,36,.85));transform-origin:50% 86%;animation:fxFlame .82s ease-out forwards}.fx-fire .flame.a{left:18%;--flame-rot: -20deg}.fx-fire .flame.b{left:36%;height:70%;animation-delay:40ms}.fx-fire .flame.c{left:56%;--flame-rot: 19deg;animation-delay:80ms}.fx-fire .spark.a{left:30%;top:10%;--spark-rot: -18deg}.fx-fire .spark.b{left:66%;top:16%;--spark-rot: 28deg;animation-delay:70ms}@keyframes fxFlame{0%{opacity:0;transform:translateY(24%) scale(.35) rotate(var(--flame-rot, 0deg))}28%{opacity:1;transform:translateY(0) scale(1.04) rotate(var(--flame-rot, 0deg))}to{opacity:0;transform:translateY(-24%) scale(.7) rotate(var(--flame-rot, 0deg))}}.fx-ice .frost{inset:18%;border-radius:50%;background:radial-gradient(circle,#ffffffe0,#9ae6ff70 48%,#9ae6ff00 72%);box-shadow:inset 0 0 24px #ffffff8c,0 0 20px #80dcff8c;animation:fxFrost .9s ease-out forwards}.fx-ice .shard{width:12%;height:46%;background:linear-gradient(180deg,#fff,#a8efff 46%,#5eaaff1f);clip-path:polygon(50% 0%,100% 72%,50% 100%,0% 72%);filter:drop-shadow(0 0 8px rgba(150,230,255,.75));transform-origin:50% 72%;animation:fxShard .88s ease-out forwards}.fx-ice .shard.a{left:44%;top:0}.fx-ice .shard.b{left:16%;top:26%;--shard-rot: -58deg;animation-delay:50ms}.fx-ice .shard.c{left:70%;top:24%;--shard-rot: 56deg;animation-delay:90ms}.fx-ice .shard.d{left:44%;top:48%;--shard-rot: 180deg;animation-delay:.12s}@keyframes fxFrost{0%{opacity:0;transform:scale(.35)}26%{opacity:.95;transform:scale(1)}to{opacity:0;transform:scale(1.22)}}@keyframes fxShard{0%{opacity:0;transform:scale(.25) rotate(var(--shard-rot, 0deg))}30%{opacity:1;transform:scale(1) rotate(var(--shard-rot, 0deg))}to{opacity:0;transform:translateY(-8%) scale(.85) rotate(var(--shard-rot, 0deg))}}.fx-thunder .flash{inset:16%;border-radius:50%;background:radial-gradient(circle,#fffffff2,#96e8ff61 46%,#96e8ff00 74%);animation:fxThunderFlash .58s steps(2,end) forwards}.fx-thunder .bolt.a{left:38%;top:-4%;--bolt-rot: 3deg}.fx-thunder .bolt.b{left:18%;top:12%;--bolt-rot: -25deg;animation-delay:50ms}.fx-thunder .bolt.c{left:62%;top:10%;--bolt-rot: 24deg;animation-delay:90ms}@keyframes fxThunderFlash{0%{opacity:0;transform:scale(.75)}18%{opacity:1;transform:scale(1.08)}to{opacity:0;transform:scale(1.25)}}.fx-meteor-missile .meteor,.fx-meteor-shower .meteor{width:18%;height:18%;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff8c8,#ff9e3c 42%,#b51e1e 72%);box-shadow:0 0 16px #ff6c28e6;animation:fxMeteor .78s cubic-bezier(.18,.82,.24,1) forwards}.fx-meteor-missile .meteor{left:44%;top:32%}.fx-meteor-missile .trail{height:18%;background:linear-gradient(90deg,#fff0,#ffecacc7,#ff4e20db)}.fx-meteor-missile .burst{background:radial-gradient(circle,#fff8c8,#ff9a38 42%,#96181200 72%);animation-delay:.22s}.fx-meteor-missile .crater{border-color:#ff8436cc;animation-delay:.27s}.fx-meteor-shower .meteor.a{left:14%;top:20%;animation-delay:0ms}.fx-meteor-shower .meteor.b{left:42%;top:4%;animation-delay:90ms}.fx-meteor-shower .meteor.c{left:68%;top:24%;animation-delay:.15s}.fx-meteor-shower .burst{inset:16%;background:radial-gradient(circle,#fff,#ffdf72 22%,#ff6f30 48%,#8c121200 78%);animation-delay:.3s}.fx-meteor-shower .shock.a{border-color:#ffd45ee0;animation-delay:.33s}.fx-meteor-shower .shock.b{inset:20%;border-color:#ff5034d1;animation-delay:.41s}@keyframes fxMeteor{0%{opacity:0;transform:translate(-96%,-76%) scale(.42)}46%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(16%,12%) scale(.45)}}.fx-overkill{z-index:79}.fx-overkill .burst{inset:10%;border-radius:46%;background:radial-gradient(circle,#fffffffa,#ffec80db,#ff602a75 48%,#ff602a00 74%);box-shadow:0 0 36px #ffaa2ae0,0 0 62px #ff3e2475;animation:fxOverkillBurst .92s cubic-bezier(.14,.82,.24,1) forwards}.fx-overkill .ring{inset:4%;border-radius:50%;border:calc(2px + var(--impact-power) * 4px) solid rgba(255,238,150,.9);box-shadow:0 0 22px #ffc04094,inset 0 0 18px #ff7a3442;animation:fxOverkillRing .9s ease-out forwards}.fx-overkill .ring.b{inset:20%;border-color:#ff6638c7;animation-delay:90ms}.fx-overkill .slash{left:8%;top:47%;width:84%;height:8%;border-radius:999px;background:linear-gradient(90deg,#fff0,#fff7be 18%,#ffcf42 52%,#ff5838 82%,#ff583800);box-shadow:0 0 18px #ffce42d1;transform-origin:50% 50%;animation:fxOverkillSlash .74s cubic-bezier(.14,.78,.2,1) forwards}.fx-overkill .slash.a{transform:rotate(-24deg)}.fx-overkill .slash.b{transform:rotate(26deg);animation-delay:80ms}.fx-overkill .spark{width:16%;height:16%;clip-path:polygon(50% 0%,62% 36%,100% 50%,62% 64%,50% 100%,38% 64%,0% 50%,38% 36%);background:#fff2a8;filter:drop-shadow(0 0 8px rgba(255,196,54,.92));animation:fxOverkillSpark .82s ease-out forwards}.fx-overkill .spark.a{left:16%;top:18%}.fx-overkill .spark.b{left:72%;top:30%;animation-delay:70ms}.fx-overkill .spark.c{left:44%;top:68%;animation-delay:.12s}@keyframes fxOverkillBurst{0%{opacity:0;transform:scale(.34) rotate(-10deg)}18%{opacity:1;transform:scale(1.1) rotate(2deg)}to{opacity:0;transform:scale(1.46) rotate(10deg)}}@keyframes fxOverkillRing{0%{opacity:.94;transform:scale(.42)}to{opacity:0;transform:scale(1.46)}}@keyframes fxOverkillSlash{0%{opacity:0;transform:translate(-38%) scaleX(.34) rotate(var(--slash-rot, -24deg))}22%{opacity:1;transform:translate(0) scaleX(1) rotate(var(--slash-rot, -24deg))}to{opacity:0;transform:translate(18%) scaleX(.82) rotate(var(--slash-rot, -24deg))}}.fx-overkill .slash.a{--slash-rot: -24deg}.fx-overkill .slash.b{--slash-rot: 26deg}@keyframes fxOverkillSpark{0%{opacity:0;transform:scale(.28) rotate(0)}24%{opacity:1;transform:scale(1) rotate(18deg)}to{opacity:0;transform:translateY(-24%) scale(.36) rotate(80deg)}}.fx-weakly .sigil{inset:16%;border-radius:50%;background:radial-gradient(circle,#fff3,#a050ff0d 62%,#a050ff00),conic-gradient(from 20deg,#d296ff00,#d296ffd9,#5a46b440,#d296ff00);box-shadow:0 0 22px #a45aff9e;mask:radial-gradient(circle,rgba(0,0,0,0) 48%,#000 50%,#000 66%,rgba(0,0,0,0) 68%);animation:fxWeakSigil .96s ease-out forwards}.fx-weakly .veil{inset:5%;border-radius:45%;background:linear-gradient(180deg,#aa5fff70,#321e6400);filter:blur(2px);animation:fxWeakVeil .9s ease-out forwards}.fx-weakly .arrow{width:14%;height:34%;background:linear-gradient(180deg,#ecd2ffeb,#8448ffb8);clip-path:polygon(37% 0%,63% 0%,63% 54%,100% 54%,50% 100%,0% 54%,37% 54%);filter:drop-shadow(0 0 8px rgba(160,90,255,.78));animation:fxWeakArrow .86s ease-out forwards}.fx-weakly .arrow.a{left:22%;top:10%}.fx-weakly .arrow.b{left:44%;top:2%;animation-delay:60ms}.fx-weakly .arrow.c{left:66%;top:12%;animation-delay:.12s}@keyframes fxWeakSigil{0%{opacity:0;transform:rotate(-80deg) scale(.5)}30%{opacity:.9;transform:rotate(12deg) scale(1)}to{opacity:0;transform:rotate(72deg) scale(1.18)}}@keyframes fxWeakVeil{0%{opacity:0;transform:translateY(-14%) scale(.8)}32%{opacity:.85}to{opacity:0;transform:translateY(16%) scale(1.1)}}@keyframes fxWeakArrow{0%{opacity:0;transform:translateY(-40%) scale(.7)}34%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(48%) scale(.72)}}.battle-enemy-fallback{--battle-enemy-shadow: drop-shadow(0 16px 24px rgba(0,0,0,.6));width:180px;height:180px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#8ef,#36c);position:relative;filter:var(--battle-enemy-shadow)}.enemy-name{position:absolute;top:84px;left:0;right:0;text-align:center;font-size:var(--fs-lg);font-weight:800;color:var(--accent);text-shadow:0 2px 8px #000;line-height:1.1}#battle-screen.bt-boss .enemy-name{color:#ff9356;text-shadow:0 2px 8px #000,0 0 20px rgba(255,90,40,.75)}#battle-screen.bt-boss .enemy-name:before{content:"⚔ "}#battle-screen.bt-boss .enemy-name:after{content:" ⚔"}#battle-screen.bt-final .enemy-name{color:#ff5a5a;animation:bossPulse 1.3s ease-in-out infinite}@keyframes bossPulse{0%,to{text-shadow:0 2px 8px #000,0 0 16px rgba(255,60,40,.6)}50%{text-shadow:0 2px 8px #000,0 0 30px rgba(255,60,40,1)}}.enemy-hpbar{position:absolute;top:calc(92px + var(--fs-lg));left:50%;transform:translate(-50%);width:220px;max-width:70%;height:10px;background:#ffffff29;border-radius:5px;overflow:hidden;box-shadow:0 1px 4px #00000080}.enemy-hpbar>i{display:block;height:100%;background:var(--danger);transition:width .25s}.enemy-gauge{position:absolute;top:calc(108px + var(--fs-lg));left:50%;transform:translate(-50%);width:220px;max-width:70%;height:9px;background:#00000075;border:1px solid rgba(255,255,255,.22);border-radius:999px;overflow:visible;box-shadow:0 1px 4px #00000073}.enemy-gauge>i{display:block;height:100%;width:0%;border-radius:inherit;background:linear-gradient(90deg,#6db3ff,#c1ddff);transition:width .08s linear,background .12s}.enemy-gauge.danger>i{background:linear-gradient(90deg,#ffba63,#ff5f4d)}.enemy-gauge.warning{border-color:#ffd24de6;box-shadow:0 0 16px #ffaa3c6b,0 1px 4px #00000073}.enemy-gauge .lbl{position:absolute;inset:-1px 0 0;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:900;color:#ffffffdb;letter-spacing:.08em;text-shadow:0 1px 2px #000;pointer-events:none}.enemy-gauge .telegraph{position:absolute;left:50%;top:13px;transform:translate(-50%);width:min(420px,82vw);min-height:1.1em;color:#ffe36d;font-size:clamp(13px,1.6vw,20px);font-weight:900;line-height:1.1;text-align:center;text-shadow:0 2px 8px #000,0 0 14px rgba(255,150,60,.7);pointer-events:none}.enemy-gauge.warning .telegraph{animation:telegraphPulse .52s ease-in-out infinite alternate}@keyframes telegraphPulse{0%{opacity:.78;transform:translate(-50%) scale(.99)}to{opacity:1;transform:translate(-50%) scale(1.02)}}.battle-status{position:absolute;left:12px;top:12px;padding:8px 12px;min-width:190px;font-size:var(--fs-sm)}.battle-status.recovering{animation:battleStatusRecover .82s ease-out both}.battle-status .bs-row{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.battle-status .bs-k{color:var(--text-dim);font-size:.8em}.battle-status .bs-lv,.battle-status .bs-hp,.battle-status .bs-mp{font-weight:700;color:var(--text)}.battle-status .bs-bars{margin-top:5px;display:flex;flex-direction:column;gap:4px}.battle-status .bs-bar{height:8px;background:#ffffff24;border-radius:4px;overflow:hidden}.battle-status .bs-bar.hp3{overflow:visible}.battle-status .bs-bar>i{display:block;height:100%;transition:width .2s}.battle-status .bs-bar.mp>i{width:100%;background:#6db3ff}@keyframes battleStatusRecover{0%{box-shadow:0 14px 50px #0000008c,0 0 0 1px #0006,inset 0 1px #ffffff1a,inset 0 -1px #0000004d}28%{box-shadow:0 14px 50px #0000008c,0 0 0 2px #8cf08ce6,0 0 24px #8cf08c8c,inset 0 1px #ffffff2e,inset 0 -1px #0000004d}to{box-shadow:0 14px 50px #0000008c,0 0 0 1px #0006,inset 0 1px #ffffff1a,inset 0 -1px #0000004d}}.battle-result{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,88%);max-height:74%;display:flex;flex-direction:column;padding:14px 16px;z-index:5}.battle-result .br-head{font-size:var(--fs-lg);font-weight:800;color:var(--accent);text-align:center;margin-bottom:8px}.battle-result .br-log{flex:1;overflow-y:auto;white-space:pre-line;line-height:1.6;font-size:var(--fs-base);padding:6px 4px;border-top:1px solid var(--panel-border-soft);border-bottom:1px solid var(--panel-border-soft)}.battle-result .br-more{text-align:center;color:var(--accent);margin-top:8px;animation:blink .9s steps(2) infinite}.battle-bottom{padding:12px;display:flex;gap:10px;align-items:stretch}.battle-log{flex:1 1 auto;height:calc(6.2em + 24px);min-height:96px;max-height:calc(6.2em + 24px);padding:12px 14px;white-space:pre-line;line-height:1.55;font-size:var(--fs-base);overflow-y:auto;scroll-behavior:smooth}.battle-log:not(.result){display:flex;flex-direction:column;gap:2px}.battle-log-line{position:relative;flex:none;min-height:1.45em;overflow:hidden}.battle-log-line.hint{color:var(--accent)}.battle-log-text{display:inline-block;max-width:100%}.battle-log-line.new{animation:battleLogScrollIn .28s ease-out both}.battle-log-line.new .battle-log-text{animation:battleLogWipeIn .34s steps(28,end) both}.battle-log-line.new:after{content:"";position:absolute;left:0;top:0;bottom:0;width:36%;background:linear-gradient(90deg,#ffe14d00,#ffe14d47,#ffe14d00);transform:translate(-120%);pointer-events:none;animation:battleLogSweep .36s ease-out both}@keyframes battleLogScrollIn{0%{opacity:0;transform:translateY(.65em)}to{opacity:1;transform:translateY(0)}}@keyframes battleLogWipeIn{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}@keyframes battleLogSweep{0%{transform:translate(-120%)}to{transform:translate(320%)}}.battle-log.result{height:auto;min-height:30vh;max-height:44vh;cursor:pointer}#battle-screen.resolved .battle-bottom{flex:none}.battle-log::-webkit-scrollbar{width:10px}.battle-log::-webkit-scrollbar-thumb{background:var(--panel-border-soft);border-radius:5px}.battle-log::-webkit-scrollbar-track{background:#0003}.battle-commands{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(5,minmax(0,1fr));gap:8px;width:clamp(180px,28vw,220px);height:186px}.battle-commands .btn{min-height:0;padding:4px 10px;border-radius:8px;line-height:1.05;display:flex;align-items:center;justify-content:center;gap:6px;position:relative;overflow:hidden;flex-wrap:nowrap;white-space:nowrap}.battle-commands .btn .hint{display:inline;margin-top:0;white-space:nowrap}.pow-gauge{position:absolute;bottom:12px;left:50%;transform:translate(-50%);width:min(320px,82%);height:18px;--timing-x: 50%;--timing-mirror-x: 50%;background:#00000080;border:2px solid var(--panel-border-soft);border-radius:9px;overflow:hidden;transition:box-shadow .15s,border-color .15s}.pow-gauge.charging{box-shadow:0 0 18px #ffaa3cb3;border-color:var(--accent)}.pow-gauge.critical-window{box-shadow:0 0 20px #ffee78f5,0 0 36px #ff8236bd;border-color:#ffe87a}.pow-gauge.defending{box-shadow:0 0 18px #64cdff9e;border-color:#8ee7ff}.pow-gauge.fleeing{box-shadow:0 0 18px #a5ff8294;border-color:#b7ff83}.pow-gauge>i{display:block;height:100%;width:0%;background:linear-gradient(90deg,#ffd24d,#ff6a3d);transition:width .08s linear}.pow-gauge.defending>i{background:linear-gradient(90deg,#8ee7ff,#b7ffd5)}.pow-gauge.fleeing>i{background:linear-gradient(90deg,#b7ff83,#fff07a)}.pow-timing{position:absolute;inset:-8px 0 -5px;z-index:2;opacity:0;pointer-events:none;transition:opacity .12s}.pow-gauge.timing-visible .pow-timing{opacity:1}.pow-gauge.defending .pow-timing,.pow-gauge.fleeing .pow-timing{opacity:0}.pow-gauge.critical-window>i{filter:brightness(1.26) saturate(1.18)}.pow-gauge .timing-mark{position:absolute;top:0;bottom:0;width:4px;border-radius:999px;transform:translate(-50%);background:#fff7c8;box-shadow:0 0 8px #ffffffe6,0 0 14px #ffd444db,0 0 22px #ff69308c}.pow-gauge .timing-mark.live{left:var(--timing-x)}.pow-gauge .timing-mark.mirror{left:var(--timing-mirror-x);opacity:.66;background:#bde8ff;box-shadow:0 0 7px #d2f4ffd1,0 0 14px #5abaff9e}.pow-gauge .lbl{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:clamp(11px,1.3vw,18px);font-weight:800;letter-spacing:.14em;color:#fff;z-index:3;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000,0 2px 3px rgba(0,0,0,.7)}.btn{background:#6da8ff29;border:2px solid var(--panel-border-soft);color:var(--text);border-radius:11px;padding:11px 14px;font-size:var(--fs-sm);font-weight:700;font-family:var(--font);cursor:pointer;text-align:center;transition:background .12s,border-color .12s,box-shadow .12s,color .12s,transform .06s;min-height:44px}.btn:active{transform:scale(.96)}.btn.sel,.btn:hover{background:#6da8ff57;border-color:var(--panel-border)}.btn.primary{background:#ffe14d33;border-color:var(--accent);color:var(--accent)}.battle-commands .btn.attack{grid-column:1 / -1}.battle-commands .btn.sel{background:linear-gradient(90deg,#ffe14d61,#6da8ff4d 55%,#6da8ff2e);border-color:var(--accent);color:#fff;box-shadow:inset 4px 0 0 0 var(--accent),0 0 0 1px #ffe14d61,0 0 18px #ffe14d5c;text-shadow:0 1px 2px rgba(0,0,0,.85)}.battle-commands .btn.sel:before{content:"▶";position:absolute;left:8px;top:50%;transform:translateY(-50%);color:var(--accent);font-size:.82em;filter:drop-shadow(0 0 5px rgba(255,225,77,.72));animation:battleCmdCursorBob .9s ease-in-out infinite}@keyframes battleCmdCursorBob{0%,to{transform:translateY(-50%) translate(0)}50%{transform:translateY(-50%) translate(2px)}}.btn .hint{display:block;font-size:.72em;font-weight:600;color:var(--text-dim);margin-top:2px}.row{display:flex;gap:10px;flex-wrap:wrap}.row.end{justify-content:flex-end}.spacer{flex:1}.settings-dialog{min-width:min(460px,94vw);padding:16px 18px 18px}.settings-section+.settings-section{margin-top:14px}.section-title{display:flex;align-items:center;gap:8px;margin:4px 2px 6px;padding-bottom:5px;font-size:var(--fs-sm);font-weight:800;letter-spacing:.08em;color:var(--accent);border-bottom:1px solid var(--panel-border-soft)}.setting-row{display:flex;align-items:center;gap:12px;padding:9px 10px;min-height:50px;border-radius:11px;border:1.5px solid transparent;cursor:pointer;transition:background .13s ease,border-color .13s ease}.setting-row:hover{background:#6da8ff1a}.setting-row.sel{background:linear-gradient(90deg,#6da8ff4d,#6da8ff12);border-color:#6da8ff80;box-shadow:inset 3px 0 0 0 var(--accent)}.setting-row .sr-icon{flex:none;width:26px;text-align:center;font-size:1.15em;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}.setting-row .label{flex:1;min-width:0;color:var(--text);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.setting-row .sr-ctrl{flex:none;display:flex;align-items:center;justify-content:flex-end}.setting-row .sr-go{color:var(--accent);font-weight:800;font-size:1.1em;min-width:22px;text-align:center}.setting-row[data-key=reset] .sr-go{color:var(--danger)}.vol{display:flex;align-items:center;gap:10px}.vol-num{min-width:2.6ch;text-align:right;font-variant-numeric:tabular-nums;font-weight:800;color:var(--accent)}.vol-range{-webkit-appearance:none;appearance:none;width:clamp(120px,30vw,190px);height:22px;background:transparent;cursor:pointer;touch-action:none;margin:0}.vol-range:focus{outline:none}.vol-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--accent),0 2px 6px #00000080}.vol-range::-webkit-slider-runnable-track{height:8px;border-radius:6px;background:linear-gradient(90deg,var(--accent) 0%,var(--accent) var(--vol-fill, 0%),rgba(255,255,255,.16) var(--vol-fill, 0%),rgba(255,255,255,.16) 100%)}.vol-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;margin-top:-6px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,var(--accent) 72%);border:2px solid #fff;box-shadow:0 2px 6px #00000080,0 0 0 1px #00000040;transition:transform .08s,box-shadow .12s}.vol-range:hover::-webkit-slider-thumb{box-shadow:0 2px 12px #ffe14da6,0 0 0 1px #00000040}.vol-range:active::-webkit-slider-thumb{transform:scale(1.2)}.vol-range::-moz-range-track{height:8px;border-radius:6px;background:#ffffff29}.vol-range::-moz-range-progress{height:8px;border-radius:6px;background:var(--accent)}.vol-range::-moz-range-thumb{width:20px;height:20px;border-radius:50%;border:2px solid #fff;background:radial-gradient(circle at 35% 30%,#fff,var(--accent) 72%);box-shadow:0 2px 6px #00000080}.switch{display:inline-flex;align-items:center;gap:10px;padding:0;border:none;background:none;cursor:pointer;font-family:var(--font)}.switch-track{position:relative;width:50px;height:28px;border-radius:999px;background:#ffffff29;border:1.5px solid var(--panel-border-soft);transition:background .16s,border-color .16s}.switch-knob{position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:50%;background:#cdd6ea;box-shadow:0 2px 4px #00000080;transition:transform .16s ease,background .16s}.switch.on .switch-track{background:#7ee0a073;border-color:var(--accent-2)}.switch.on .switch-knob{transform:translate(22px);background:#fff}.switch-text{min-width:3ch;text-align:left;font-weight:800;font-size:var(--fs-sm);color:var(--text-dim);transition:color .16s}.switch.on .switch-text{color:var(--accent-2)}.cycle{display:inline-flex;align-items:center;gap:6px}.cyc-arrow{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#6da8ff29;border:1.5px solid var(--panel-border-soft);color:var(--accent);font-size:.85em;cursor:pointer;font-family:var(--font);transition:background .12s,transform .06s}.cyc-arrow:hover{background:#6da8ff57;border-color:var(--panel-border)}.cyc-arrow:active{transform:scale(.9)}.cyc-val{min-width:5ch;text-align:center;font-weight:800;color:var(--text)}#touch-controls{position:absolute;inset:0;pointer-events:none;z-index:20;display:none}body.touch #touch-controls{display:block}.dpad{position:absolute;left:18px;bottom:calc(24px + var(--safe-b));width:150px;height:150px;pointer-events:auto}.dpad .dbtn{position:absolute;width:50px;height:50px;background:var(--panel-bg);border:2px solid var(--panel-border-soft);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:1.2rem;pointer-events:none;transition:background .08s}.dpad .dbtn.active{background:#ffe14d57;border-color:var(--accent)}.dpad .up{top:0;left:50px}.dpad .down{bottom:0;left:50px}.dpad .left{left:0;top:50px}.dpad .right{right:0;top:50px}.action-buttons{position:absolute;right:18px;bottom:calc(28px + var(--safe-b));display:flex;flex-direction:column;gap:12px;align-items:flex-end;pointer-events:auto}.action-buttons .abtn{width:64px;height:64px;border-radius:50%;background:var(--panel-bg);border:2px solid var(--panel-border);color:var(--accent);font-size:.9rem;font-weight:800;display:flex;align-items:center;justify-content:center}.action-buttons .abtn.b{width:56px;height:56px;border-color:var(--panel-border-soft)}.action-buttons .abtn.active{background:#ffe14d57;border-color:var(--accent);transform:scale(.94)}#quick-buttons{position:absolute;top:10px;right:10px;display:flex;gap:8px;z-index:22}#quick-buttons .qbtn{width:44px;height:44px;border-radius:10px;background:var(--panel-bg);border:2px solid var(--panel-border-soft);color:var(--text);font-size:1.2rem;display:flex;align-items:center;justify-content:center;cursor:pointer}#quick-buttons .qbtn:active{background:#ffe14d4d;border-color:var(--accent)}.status-grid{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;font-size:.96rem}.status-grid .k{color:var(--text-dim)}.status-grid .st-bar{grid-column:1 / -1;margin:-2px 0 4px}.st-gauge{width:100%;height:9px;background:#ffffff24;border-radius:4px;overflow:hidden}.st-gauge>i{display:block;height:100%;background:var(--accent-2)}.st-gauge.mp>i{background:#6db3ff}.center{text-align:center}.dim{color:var(--text-dim)}.gameover-big{font-size:clamp(2rem,8vw,3.6rem);font-weight:900;color:var(--danger);letter-spacing:.1em}#gameover-screen{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;background:radial-gradient(120% 90% at 50% 38%,#3a0d12,#14060a 55%,#05070d);animation:goFade 1.8s ease-out both}@keyframes goFade{0%{opacity:0}to{opacity:1}}#gameover-screen .go-veil{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 44%,transparent 38%,rgba(0,0,0,.6) 100%)}#gameover-screen .go-content{position:relative;text-align:center;padding:0 24px}#gameover-screen .gameover-big{font-size:clamp(2.6rem,11vw,6rem);letter-spacing:.2em;color:#e0555a;text-shadow:0 4px 24px rgba(0,0,0,.85),0 0 34px rgba(180,40,50,.5);animation:goTitle 2.3s ease-out both}@keyframes goTitle{0%{opacity:0;transform:scale(1.45);filter:blur(9px)}60%{opacity:1}to{opacity:1;transform:scale(1);filter:blur(0)}}#gameover-screen .go-msg{color:var(--text-dim);margin:22px 0 30px;font-size:var(--fs-base);animation:goFade 2.6s ease-out both}pre.help{white-space:pre-wrap;line-height:1.7;font-family:var(--font);font-size:var(--fs-base)}.ending-scroll{max-width:620px;line-height:2;font-size:1.05rem;text-align:center}.battle-hint{position:absolute;left:50%;bottom:44px;transform:translate(-50%);z-index:50;max-width:86%;text-align:center;padding:10px 16px;border-radius:12px;background:#0c1226f0;border:1.5px solid var(--accent);color:var(--text);font-size:var(--fs-sm);font-weight:700;box-shadow:0 8px 28px #00000080;animation:bhint 5.2s ease both;pointer-events:none}@keyframes bhint{0%{opacity:0;transform:translate(-50%,12px)}8%{opacity:1;transform:translate(-50%)}88%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-4px)}}.levelup-banner{position:absolute;left:50%;top:30%;transform:translate(-50%,-50%);z-index:40;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:4px;width:max-content;max-width:none;white-space:nowrap;overflow:visible;animation:luPop 2.6s ease-out forwards}.levelup-banner .lu-title{font-size:clamp(28px,7vw,56px);font-weight:900;letter-spacing:.08em;color:var(--accent);text-shadow:0 0 18px rgba(255,225,77,.8),0 3px 8px #000;white-space:nowrap}.levelup-banner .lu-lv{font-size:clamp(18px,4vw,32px);font-weight:800;color:#fff;text-shadow:0 2px 8px #000;white-space:nowrap}@keyframes luPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}14%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}24%{transform:translate(-50%,-50%) scale(1)}82%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-85%) scale(1)}}.autosave-ind{position:absolute;top:64px;right:12px;z-index:40;pointer-events:none;display:flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;background:#0c1226d1;border:1px solid var(--panel-border-soft);color:var(--text);font-size:var(--fs-sm);opacity:0;backdrop-filter:blur(4px)}.autosave-ind.show{animation:asFade 1.9s ease-out forwards}.autosave-ind .as-dot{width:8px;height:8px;border-radius:50%;background:var(--accent-2);box-shadow:0 0 8px var(--accent-2)}@keyframes asFade{0%{opacity:0;transform:translateY(-6px)}15%,70%{opacity:.95;transform:translateY(0)}to{opacity:0}}.screen-fx{position:absolute;inset:0;z-index:60;pointer-events:none}.screen-fx.flash{background:#fff;animation:fxFlash .55s ease-out forwards}@keyframes fxFlash{0%{opacity:0}12%{opacity:.95}26%{opacity:.2}40%{opacity:.85}60%{opacity:.1}to{opacity:0}}.screen-fx.fade{background:#05070d;animation:fxFade .6s ease-in-out forwards}@keyframes fxFade{0%{opacity:0}45%{opacity:1}to{opacity:0}}.screen-fx.fade-out{background:#05070d;opacity:1;animation:fxCoverOut .24s ease-in forwards}.screen-fx.fade-in{background:#05070d;opacity:0;animation:fxCoverIn .24s ease-out forwards}@keyframes fxCoverOut{0%{opacity:0}to{opacity:1}}@keyframes fxCoverIn{0%{opacity:1}to{opacity:0}}#ending-screen{position:absolute;inset:0;z-index:30;overflow:hidden;background:#0a1230;display:flex;justify-content:center;animation:edFade 2.5s ease-out both}@keyframes edFade{0%{opacity:0}to{opacity:1}}#ending-screen .ed-bg{position:absolute;inset:-4%;background-position:center;background-size:cover;background-repeat:no-repeat;animation:edPan 40s ease-in-out infinite alternate}@keyframes edPan{0%{transform:scale(1.04) translateY(0)}to{transform:scale(1.12) translateY(-2%)}}#ending-screen .ed-veil{position:absolute;inset:0;background:linear-gradient(180deg,#060a1c9e,#060a1c2e 38%,#060a1c4d 72%,#060a1cb8)}#ending-screen .ed-stage{position:absolute;inset:0;overflow:hidden}#ending-screen .ed-roll{position:absolute;left:0;right:0;top:0;padding:0 6vw;text-align:center;color:var(--text);animation:edRoll 84s linear forwards;text-shadow:0 2px 8px rgba(0,0,0,.85),0 0 18px rgba(0,0,0,.6)}@keyframes edRoll{0%{transform:translateY(100vh)}to{transform:translateY(-160%)}}#ending-screen .ed-logo{display:block;width:min(82vw,760px);aspect-ratio:5 / 1;max-height:min(24vh,170px);object-fit:contain;margin:6vh auto 0;filter:drop-shadow(0 7px 18px rgba(0,0,0,.78)) drop-shadow(0 0 18px rgba(255,225,77,.35))}#ending-screen .ed-sub{color:var(--text-dim);margin:12px 0 6vh;font-size:var(--fs-base)}#ending-screen .ed-body{max-width:680px;margin:0 auto;line-height:2.1;font-size:clamp(16px,2.2vw,26px)}#ending-screen .ed-montage{display:flex;flex-direction:column;align-items:center;gap:20px;margin:6vh 0}#ending-screen .ed-scene{width:min(80vw,460px);border-radius:12px;border:2px solid var(--panel-border-soft);box-shadow:0 10px 40px #0009}#ending-screen .ed-fin{font-size:clamp(2rem,7vw,3.6rem);font-weight:900;color:#fff;letter-spacing:.3em;margin:8vh 0 4vh;text-shadow:0 0 30px rgba(255,255,255,.4)}#ending-screen .ed-credit{color:var(--text-dim);margin-bottom:12vh}#ending-screen .ed-controls{position:absolute;left:0;right:0;bottom:calc(20px + var(--safe-b));display:flex;justify-content:center;z-index:2}.dialog h2{font-size:var(--fs-lg)}.menu-list li,.btn,#message-window{font-size:var(--fs-base)}@media (max-width: 640px),(orientation: portrait){.battle-bottom{flex-direction:column;padding:8px;gap:8px}.battle-commands{width:100%;height:148px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.battle-commands .btn{padding:4px 6px;gap:4px;font-size:14px}.battle-commands .btn.attack{grid-column:auto}.battle-commands .btn.sel:before{display:none}.battle-log:not(.result){flex:0 0 calc(6.2em + 24px)}.battle-status{min-width:0;left:8px;top:8px;right:8px;padding:6px 10px}.pow-gauge{bottom:8px}.enemy-gauge .telegraph{width:min(360px,78vw);font-size:clamp(12px,3.2vw,16px)}.dpad{left:12px;bottom:calc(18px + var(--safe-b))}.action-buttons{right:12px;bottom:calc(20px + var(--safe-b))}#hud{right:116px;gap:6px}.hud-area{max-width:34vw}}@media (max-width: 340px){.battle-commands .btn{padding:4px 5px;font-size:13px}}@media (max-height: 480px) and (orientation: landscape){#title-screen{display:grid;grid-template-columns:minmax(0,1fr) clamp(220px,32vw,340px);grid-template-rows:minmax(0,1fr) auto;align-content:center;align-items:center;justify-items:center;column-gap:clamp(18px,3vw,34px);row-gap:8px;padding:calc(18px + var(--safe-t)) calc(22px + var(--safe-r)) calc(14px + var(--safe-b)) calc(22px + var(--safe-l))}#title-screen .logo{grid-column:1;grid-row:1;align-self:center;justify-self:center;width:min(58vw,680px);max-height:42vh;margin:0}#title-screen .title-menu{grid-column:2;grid-row:1;align-self:center;justify-self:stretch;width:100%;min-width:0;max-width:100%}#title-screen .title-menu .dialog{width:100%;min-width:0;max-width:100%;padding:clamp(10px,2.6vh,16px) clamp(10px,1.8vw,16px);border-radius:12px}#title-screen .title-menu .menu-list li{min-height:clamp(32px,8.4vh,40px);padding:6px 10px 6px 30px;border-radius:8px;font-size:clamp(.82rem,4.5vh,1rem);line-height:1.15}#title-screen .title-menu .menu-list li.sel:before{left:12px}#title-screen .title-hint{grid-column:2;grid-row:2;align-self:start;justify-self:stretch;margin-top:6px;font-size:.78rem;line-height:1.2;text-align:center}#hud{font-size:11px}.dpad{transform:scale(.85);transform-origin:left bottom}.action-buttons{transform:scale(.85);transform-origin:right bottom}#message-window{left:calc(10px + var(--safe-l));right:calc(10px + var(--safe-r));bottom:calc(8px + var(--safe-b));min-height:min(34vh,128px);max-height:42vh;padding:10px 14px;line-height:1.45;overflow:auto}#battle-screen{--battle-stage-ground-bottom: clamp(22px, 6vh, 34px);display:grid;grid-template-columns:clamp(178px,28vw,270px) minmax(0,1fr) clamp(150px,23vw,230px);grid-template-rows:auto minmax(0,1fr);gap:8px clamp(8px,1.5vw,14px);padding:calc(8px + var(--safe-t)) calc(10px + var(--safe-r)) calc(8px + var(--safe-b)) calc(10px + var(--safe-l))}.battle-stage{grid-column:2;grid-row:1 / 3;min-width:0;min-height:0}.battle-stage:before{width:74%;height:31%}.battle-status{position:relative;grid-column:1;grid-row:1;left:auto;top:auto;right:auto;align-self:start;min-width:0;width:100%;padding:5px 8px;font-size:clamp(11px,2.7vh,13px);transform:none}.battle-status .bs-row{gap:5px 7px}.battle-status .bs-bars{margin-top:4px;gap:3px}.battle-status .bs-bar{height:6px}.enemy-name{top:0;left:0;right:0;text-align:center;font-size:clamp(1.1rem,8vh,2rem);line-height:1.05}.enemy-hpbar{top:calc(12px + clamp(1.1rem,8vh,2rem));left:50%;width:min(300px,64%);height:8px}.enemy-gauge{top:calc(24px + clamp(1.1rem,8vh,2rem));width:min(300px,64%);height:7px}.enemy-gauge .lbl{font-size:7px}.enemy-gauge .telegraph{top:11px;width:min(360px,76vw);font-size:clamp(11px,3vh,15px)}.enemy-holder{width:min(94%,520px);height:calc(100% - clamp(78px,18vh,96px))}.pow-gauge{bottom:0;width:min(330px,82%);height:14px;border-width:1.5px}.pow-gauge .lbl{font-size:10px}.battle-bottom{display:contents;padding:0}.battle-log{grid-column:1;grid-row:2;align-self:stretch;height:auto;min-height:0;max-height:none;padding:8px 10px;line-height:1.34;font-size:clamp(12px,3vh,14px)}.battle-log-line{min-height:1.3em}.battle-log:not(.result){flex:1 1 auto;justify-content:flex-end}.battle-commands{grid-column:3;grid-row:1 / 3;align-self:end;width:100%;height:auto;grid-template-columns:1fr;grid-template-rows:none;gap:6px}.battle-commands .btn{min-height:clamp(38px,10vh,50px);padding:6px 8px;border-radius:8px;line-height:1.05;font-size:clamp(13px,3.8vh,18px)}.battle-commands .btn.attack{grid-column:1}.battle-commands .btn .hint{display:none}.battle-hint{bottom:52px;padding:7px 12px;max-width:76%;font-size:12px}#battle-screen.resolved .battle-bottom{display:block;grid-column:1 / -1;grid-row:2;align-self:end}#battle-screen.resolved .battle-log.result{width:min(720px,86vw);min-height:30vh;max-height:48vh;margin:0 auto}}@media (prefers-reduced-motion: reduce){#battle-screen.flash,#battle-screen.shake,.battle-enemy.hit,.battle-log-line.new,.battle-log-line.new .battle-log-text,.battle-log-line.new:after,#message-window .msg-body.new,#ending-screen .ed-bg,#battle-screen.bt-final .enemy-name,#battle-screen.bt-boss .enemy-name,.menu-list li.sel:before,.battle-commands .btn.sel:before{animation:none!important}.battle-log-line.new .battle-log-text{clip-path:none!important}.screen-fx.flash{animation:rmCalmFlash .4s ease-out forwards!important}.battle-impact .ring{animation:battleImpactCalm .48s ease-out forwards!important}.battle-impact.enemy-technique{animation:enemyTechniqueCalm .5s ease-out forwards!important}.battle-impact.enemy-technique span{animation:battleTechniqueCalm .5s ease-out forwards!important}.enemy-gauge.warning .telegraph{animation:none!important}}@keyframes rmCalmFlash{0%{opacity:0}30%{opacity:.3}to{opacity:0}}@keyframes battleImpactCalm{0%{opacity:.52;transform:scale(.86) rotate(var(--impact-rot, 0deg))}to{opacity:0;transform:scale(1.05) rotate(var(--impact-rot, 0deg))}}@keyframes enemyTechniqueCalm{0%{opacity:.72}to{opacity:0}}@keyframes battleTechniqueCalm{0%{opacity:.72;transform:scale(.9)}to{opacity:0;transform:scale(1.04)}}
