.battle-stage { position: relative; isolation: isolate; }
.attack-caption, .attack-damage {
  position: absolute; z-index: 7; pointer-events: none;
  color: white; font-weight: 900; text-align: center;
}
.attack-caption {
  left: 50%; bottom: 12px; transform: translateX(-50%) skew(-7deg);
  padding: 3px 16px; color: var(--attack-color);
  background: #25261f; border-bottom: 3px solid var(--attack-color);
  font-size: clamp(15px, 1.5vw, 22px);
}
.attack-damage {
  transform: translate(-50%, -50%); font-size: clamp(25px, 3vw, 44px);
  line-height: 1; color: #fff5b0; -webkit-text-stroke: 3px #35272a;
  paint-order: stroke fill; text-shadow: 0 3px #35272a;
  animation: attack-score .26s ease-out both;
}
@keyframes attack-score {
  from { transform: translate(-50%, -20%) scale(.85); }
  to { transform: translate(-50%, -65%) scale(1); }
}
.battle-stage .pokemon-attack-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
}
