.reaction-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 14px;
  z-index: 3;
  contain: layout style;
}
.reaction-ghost,
.reaction-fragment,
.reaction-ring {
  position: absolute;
  display: block;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center;
}
.reaction-ghost > .orb.virus,
.reaction-fragment > .orb.virus {
  width: 100%;
  height: 100%;
}
.reaction-ring {
  border: 2px solid var(--player);
  border-radius: 50%;
}
.reaction-infection {
  border-style: dashed;
}
.board.reacting .cell.burst:before {
  display: none;
}
.board.reacting .cell.pop .virus {
  animation: virus-land 240ms ease-out;
}
@keyframes virus-land {
  0% {
    transform: scale(0.65, 1.15);
  }
  55% {
    transform: scale(1.16, 0.83);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reaction-layer {
    display: none;
  }
}
