/* Kruze Fam Vault — battle-scene extras (pairs with js/hero-fx.js). */
.hfx { position: absolute; pointer-events: none; z-index: 1; }

/* hover a name tag: that trainer + Pokémon grow from their feet (a masked copy of the art) */
.hfx-zoom { position: absolute; inset: 0; opacity: 0; transform: scale(1);
  transition: opacity .25s ease, transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s ease; will-change: transform, opacity; }
.hfx-zoom img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hfx-zoom.is-on { opacity: 1; transform: scale(1.12); filter: brightness(1.1) saturate(1.08) drop-shadow(0 10px 24px rgba(0, 0, 0, .55)); }

/* attack effects: light only */
.hfx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .95; }
.hero.fx-off .hfx-canvas { visibility: hidden; }

@media (hover: none) { .hfx-zoom { display: none; } }
@media (prefers-reduced-motion: reduce) { .hfx-canvas { display: none; } .hfx-zoom { transition: opacity .2s ease; } .hfx-zoom.is-on { transform: none; } }
