/* Code rain stays along the viewport edges while the page scrolls. */
body > canvas.site-matrix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  pointer-events: none;
  opacity: .60;
  --matrix-edges: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 9%, transparent 23% 77%, rgba(0,0,0,.6) 91%, #000 100%);
  -webkit-mask-image: var(--matrix-edges);
  mask-image: var(--matrix-edges);
}
@media (max-width: 680px) {
  body > canvas.site-matrix {
    opacity: .49;
    --matrix-edges: linear-gradient(90deg, #000 0%, rgba(0,0,0,.45) 9%, transparent 19% 81%, rgba(0,0,0,.45) 91%, #000 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  body > canvas.site-matrix { display: none; }
}
