/* Matrix rain screensaver of the Terminal style (matrix-rain.js, 2026-11-21): a fixed layer over the page with one canvas. The backdrop is the
   original's black at 200/255; the characters are drawn by the script in the theme colour. The layer never takes pointer input (the script eats the
   first input itself), is hidden from assistive technology (aria-hidden) and is gone for reduced motion and for print. */
.matrix-rain{position:fixed;inset:0;z-index:200;pointer-events:none;background:rgb(0 0 0/.78);opacity:0;transition:opacity 2s ease-in-out;contain:strict}
.matrix-rain.is-on{opacity:1}
.matrix-rain.is-leaving{opacity:0;transition-duration:.5s;transition-timing-function:ease-out}
.matrix-rain canvas{display:block;width:100%;height:100%}
@media(prefers-reduced-motion:reduce){.matrix-rain{display:none}}
@media print{.matrix-rain{display:none}}
