/* Data-rain background layers. Colours come from CSS variables so the theme can retune them. */
:root{
  --dr-bg-0:#050708; --dr-bg-1:#07090a; --dr-bg-2:#0b1110;
  --dr-calm:#5fe08a; --dr-mid:#8da6ff; --dr-hot:#c5f24b; --dr-core:#f3f6f4;
  --dr-vignette:.55; --dr-grain:.045; --dr-bloom-blur:9px; --dr-bloom-opacity:.65;
}
.dr-root{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;contain:strict;transform:translateZ(0);
  background:radial-gradient(120% 90% at 50% 0,var(--dr-bg-2),var(--dr-bg-1) 55%,var(--dr-bg-0));
  animation:dr-fade-in 1.4s ease both}
.dr-root canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* the bloom canvas is tiny and upscaled, so it is already soft: no CSS blur, no blend mode (both force a full-screen recomposite every frame) */
.dr-bloom{opacity:var(--dr-bloom-opacity);image-rendering:auto}
.dr-main{opacity:.8}
.dr-vignette{display:none}
.dr-grain{position:absolute;inset:0;opacity:calc(var(--dr-grain) * .6);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
@keyframes dr-fade-in{from{opacity:0}to{opacity:1}}
@media(max-width:700px){.dr-main{opacity:.65}.dr-bloom{--dr-bloom-opacity:.45}}
@media(prefers-reduced-motion:reduce){.dr-root{animation:none}}
