/* The game's screen filters (shaders/crt_filter.gdshader): scanlines, vignette, grain, and a red/cyan split at the edges. */
.crt-fx{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden;
  background:
    radial-gradient(ellipse at center,transparent 58%,rgba(0,0,0,.5) 130%),
    linear-gradient(90deg,rgba(255,40,90,.07),transparent 9%,transparent 91%,rgba(40,220,255,.07)),
    repeating-linear-gradient(0deg,rgba(0,0,0,.15) 0 1px,transparent 1px 3px)}
.crt-fx::after{content:"";position:absolute;inset:-50%;opacity:.05;animation:crt-grain .5s steps(4) infinite;
  background: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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
@keyframes crt-grain{25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-1%)}}
html:not(.no-crt) main :is(h1,h2,h3,p,li,b,em,span,figcaption,a,button){text-shadow:.7px 0 rgba(255,40,80,.3),-.7px 0 rgba(40,220,255,.3)}
html:not(.no-crt) .logo{text-shadow:2px 0 rgba(255,40,80,.35),-2px 0 rgba(40,220,255,.35)}
html.no-crt .crt-fx{display:none}
@media (prefers-reduced-motion:reduce){.crt-fx::after{animation:none}}
