/* v278 — global melee attack layers (see js/melee/README.md). Drawn inside .bu-vfx (battle_ui.css). */
.bu-vfx .bm-ghost,.bu-vfx .bm-after{position:absolute;display:block;max-width:none;pointer-events:none;transform-origin:50% 92%;will-change:transform}
.bu-vfx .bm-ghost{z-index:3;filter:drop-shadow(0 0 1cqh rgba(255,224,150,.55))}
.bu-vfx .bm-after{z-index:2;filter:brightness(1.6) saturate(.5) drop-shadow(0 0 1cqh rgba(255,255,255,.7))}
.bu-vfx .bm-fx{position:absolute;z-index:4;pointer-events:none;will-change:transform,opacity;opacity:0}
.bu-vfx .bm-fx svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 .8cqh var(--c1,#ffe07a))}
.bu-fighter.bm-hit img,.bu-boss.bm-hit img{filter:brightness(1.45) saturate(1.2)}

/* v279 teleport sequence: dim, manga panels, clash lines, finisher */
.bu-vfx .bm-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.bu-vfx .bm-dim{position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 62% 45%,rgba(0,0,10,.35),rgba(0,0,10,.82));opacity:0}
.bu-vfx .bm-line{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible}
.bu-vfx .bm-mini{z-index:4}
.bu-vfx .bm-panel{position:absolute;z-index:6;filter:drop-shadow(0 .7cqh 1.2cqh rgba(0,0,0,.75));opacity:0}
.bu-vfx .bm-pf{position:absolute;inset:0;background:#fff}
.bu-vfx .bm-pin{position:absolute;inset:.9cqh;overflow:hidden}
.bu-vfx .bm-pin>svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.bu-vfx .bm-pin>svg.bm-sheen{mix-blend-mode:screen}
.bu-vfx .bm-psp{position:absolute;inset:0;background-repeat:no-repeat;filter:drop-shadow(0 0 1cqh rgba(0,0,0,.6))}
.bu-vfx .bm-word,.bu-vfx .bm-big{position:absolute;font-family:Bangers,Impact,'Arial Black',sans-serif;font-weight:900;line-height:1;letter-spacing:.06em;color:var(--c1,#ffe07a);
  -webkit-text-stroke:.45cqh #000;paint-order:stroke fill;text-shadow:0 .6cqh 0 #000,0 0 2cqh var(--c2,#ff9a2f);white-space:nowrap;pointer-events:none}
.bu-vfx .bm-word{right:7%;bottom:5%;font-size:6.2cqh;transform:rotate(-6deg)}
.bu-vfx .bm-big{z-index:8;font-size:15cqh;translate:-50% -50%;opacity:0}
.bu-vfx .bm-flash{position:absolute;inset:0;z-index:9;background:#fff;opacity:0}
.bu-vfx .bm-ghost{object-fit:contain;object-position:50% 100%}   /* v282: super-pose swap keeps its own aspect ratio inside the idle box */

/* v316: the canvas melee (js/melee/battle_melee_canvas.js). css/style.css hides every <canvas>, so this overrides it. */
.bu-vfx canvas.bmc-cv{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;pointer-events:none;object-fit:fill;z-index:7}
