/* Earth + starry sky: visual background only; weather data untouched. */
html { min-height:100%; background:#06142d; }
body { min-height:100vh; position:relative; isolation:isolate; background:#06142d !important; }
body::before { content:""; position:fixed; inset:0; z-index:-2; pointer-events:none; background-image:linear-gradient(180deg,rgba(3,13,34,.16) 0%,rgba(3,13,34,.32) 38%,rgba(3,13,34,.68) 100%),url("earth-sky.jpg"); background-size:cover; background-position:center 48%; background-repeat:no-repeat; transform:scale(1.025); animation:ybSkyDrift 65s ease-in-out infinite alternate; }
body::after { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background-image:radial-gradient(2px 2px at 11% 12%,rgba(255,255,255,.9) 40%,transparent 70%),radial-gradient(2px 2px at 37% 20%,rgba(255,255,255,.8) 40%,transparent 70%),radial-gradient(3px 3px at 69% 8%,rgba(255,255,255,.85) 35%,transparent 70%),radial-gradient(2px 2px at 83% 26%,rgba(255,255,255,.8) 40%,transparent 70%),radial-gradient(2px 2px at 53% 16%,rgba(255,255,255,.7) 40%,transparent 70%); animation:ybStarTwinkle 5.8s ease-in-out infinite alternate; opacity:.65; }
@keyframes ybSkyDrift { from{transform:scale(1.025) translate3d(-.4%,0,0)} to{transform:scale(1.085) translate3d(.5%,-.7%,0)} }
@keyframes ybStarTwinkle { 0%{opacity:.15} 55%{opacity:.85} 100%{opacity:.35} }
/* Keep original YARLSRI navy/blue/yellow cards readable over the photo. */
.layout,main,footer { background:transparent !important; }
.panel, aside { box-shadow:0 9px 30px rgba(1,9,26,.34); }
@media (max-width:700px) { body::before { background-position:53% center; } }
@media (prefers-reduced-motion:reduce) { body::before,body::after { animation:none !important; } }
