/* Keep the existing background and gradient layers. */
body {
  isolation: isolate;
}

body::before {
  z-index: -3;
}

body::after {
  z-index: -2;
}

/* Transparent particle layer over the background. */
#artifact-drift {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

/* Keep website content above the particles. */
body > :not(#artifact-drift):not(script) {
  position: relative;
  z-index: 1;
}

/* Accessibility preference.
@media (prefers-reduced-motion: reduce) {
  #artifact-drift {
    display: none;
  }
}
*/
