/* PopeX v141 — uninterrupted NEXT membrane breathing + smooth rotation morphology.
   A tap rotates the shape and interpolates border-radius on the SAME pseudo-element.
   Do not replace the 7s animation with a 240ms effect, which produced the snap. */
#gameStage>#rack>.piece:not(.used)::before {
  transition:border-radius .38s cubic-bezier(.22,.72,.23,1), border-color .15s ease!important;
}
/* Earlier :active and .tap-rotated styles replaced the long-running keyframes.
   Match the base animation's LONGHANDS, preserving child-specific delay/phase. */
#gameStage>#rack>.piece:not(.used):active::before,
#gameStage>#rack>.piece.tap-rotated::before {
  animation-name:pw137PocketBreath!important;
  animation-duration:7s!important;
  animation-timing-function:cubic-bezier(.42,0,.58,1)!important;
  animation-iteration-count:infinite!important;
  animation-direction:normal!important;
  animation-fill-mode:none!important;
}
/* A tiny touch-only highlight, rather than overriding the transform. */
#gameStage>#rack>.piece:not(.used):active::before {
  border-color:rgba(243,249,255,.82)!important;
}
@media(prefers-reduced-motion:reduce){
  #gameStage>#rack>.piece:not(.used)::before{
    animation:none!important;transition:none!important;transform:none!important;
  }
}
