.crux-touch-ripples {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  contain: layout paint;
  /* The light and dark text tokens used by TouchRippleOverlay. */
  color: #161616;
  color: light-dark(#161616, #fff);
}

:where(:root[data-theme='light']) .crux-touch-ripples {
  color: #161616;
}

:where(:root[data-theme='dark']) .crux-touch-ripples {
  color: #fff;
}

.bd-stage .crux-touch-ripples,
.bd-sheet .crux-touch-ripples {
  color: #161616;
}

:root[data-bd-look='B'] .bd-stage .crux-touch-ripples {
  color: #fff;
}

.crux-touch-ripples > span {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 128px;
  height: 128px;
  border: 1.25px solid currentColor;
  border-radius: 50%;
  offset-rotate: 0deg;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .crux-touch-ripples > span {
    /* Suppress the scale of a ripple already in flight when the setting changes. */
    transform: none !important;
  }
}
