/* Ambient background is deliberately confined to the Weather view. */
@property --sky-top { syntax: '<color>'; inherits: true; initial-value: #101218; }
@property --sky-middle { syntax: '<color>'; inherits: true; initial-value: #151a27; }
@property --sky-bottom { syntax: '<color>'; inherits: true; initial-value: #1c2029; }
html.weather-atmosphere,html.weather-atmosphere body{
  background:linear-gradient(165deg,var(--sky-top) 0%,var(--sky-middle) 45%,var(--sky-bottom) 100%) fixed!important;
  transition:--sky-top 110s linear,--sky-middle 110s linear,--sky-bottom 110s linear;
}
html.weather-atmosphere body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(ellipse at 80% 7%,var(--sky-glow,transparent),transparent 53%),
             radial-gradient(ellipse at 12% 78%,var(--sky-haze,transparent),transparent 68%);
  opacity:.72;transition:background 110s linear;
}
html.weather-atmosphere body>main{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){html.weather-atmosphere,html.weather-atmosphere body{transition:none}}
