/* Night is applied in the head before the first paint. Day styles stay available. */
html[data-theme=night]{background:#0b1026;color-scheme:dark}
html[data-theme=night] body{isolation:isolate;background:radial-gradient(ellipse at 9% 4%,#352653 0,transparent 42%),radial-gradient(ellipse at 94% 37%,#12384a 0,transparent 45%),linear-gradient(155deg,#111129,#0b172c 54%,#191329);color:#eee4f5}
html[data-theme=night] body::after{content:"";position:fixed;top:-12%;right:-10%;bottom:-12%;left:-10%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 16% 28%,#a16bd827 0,transparent 45%),radial-gradient(ellipse at 81% 64%,#63c6cf20 0,transparent 48%),radial-gradient(ellipse at 65% 9%,#e0b86b15 0,transparent 33%);animation:night-aurora-drift 26s ease-in-out infinite alternate}
html[data-theme=night] body::before{animation-duration:12s;opacity:.58}
html[data-theme=night] .hero-heading h1{color:#f4e9ff;text-shadow:0 2px 30px #c69df536}
html[data-theme=night] .hero-heading .refuge-heading{color:#f2cf90}
html[data-theme=night] .support-card,html[data-theme=night] .calm-music{border-color:#bda2d15c;box-shadow:0 16px 44px #0208194d,inset 0 1px 0 #f7e9ff12}
html[data-theme=night] .theme-toggle{box-shadow:0 0 24px #c590d431,inset 0 1px 0 #fff1d719}
html[data-theme=night] .hero-cinema{box-shadow:0 0 0 4px #d4b77c52,0 0 44px #a579b82e,0 18px 44px #03081d66}
@keyframes night-aurora-drift{from{transform:translate3d(-1.5%,-1%,0);opacity:.65}to{transform:translate3d(1.5%,1%,0);opacity:1}}
html[data-night-motion=paused] body::before,html[data-night-motion=paused] body::after{animation-play-state:paused}
html.legacy-layout body::before,html.legacy-layout body::after{animation:none}
@media(prefers-reduced-motion:reduce){html[data-theme=night] body::before,html[data-theme=night] body::after{animation:none}}
/* Retain a fallback for a failed enhancement, without flashing a second design. */
.language-reach-globe .language-motion-fallback{visibility:hidden}
.language-reach-globe[data-globe-failed=true] .language-motion-fallback{visibility:visible}
