#weather-effects{position:relative;isolation:isolate;overflow:hidden;min-height:240px;margin:18px 0;padding:26px;border:1px solid #ffffff30;border-radius:22px;background:linear-gradient(125deg,#16476a,#2688aa);color:#fff;box-sizing:border-box;transition:background 1s}#weather-effects[data-night=yes]{background:linear-gradient(125deg,#111b3b,#30396a)}#weather-effects[data-weather=rain],#weather-effects[data-weather=fog],#weather-effects[data-weather=cloud]{background:linear-gradient(125deg,#263d52,#607d8e)}#weather-effects[data-weather=snow]{background:linear-gradient(125deg,#284762,#789eb5)}.wx-copy{position:relative;z-index:2;max-width:65%;text-shadow:0 1px 5px #142b45}.wx-copy small{letter-spacing:.13em;color:#c9f4ff}.wx-copy h2{font-size:clamp(22px,4vw,36px);margin:12px 0}.wx-copy p{font-size:14px;line-height:1.5}.wx-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.wx-meta span{background:#0b203b77;border:1px solid #ffffff30;border-radius:10px;padding:8px;font-size:12px}.wx-scene{position:absolute;inset:0 0 0 55%;pointer-events:none;overflow:hidden}.wx-orb{position:absolute;top:24px;right:20%;width:85px;height:85px;border-radius:50%;background:#ffe18a;box-shadow:0 0 45px #ffd875;animation:wxglow 4s ease-in-out infinite alternate}.wx-orb:after{content:'';position:absolute;inset:-15px;border:4px dashed #ffe7a0;border-radius:50%;animation:wxspin 22s linear infinite}.wx-cloud{position:absolute;width:112px;height:36px;background:#e3f1fa;border-radius:40px;right:10%;top:100px;animation:wxdrift 9s ease-in-out infinite alternate;box-shadow:0 8px 25px #18344a33}.wx-cloud:before,.wx-cloud:after{content:'';position:absolute;background:inherit;border-radius:50%;width:52px;height:52px;bottom:8px;left:15px}.wx-cloud:after{width:68px;height:68px;left:40px}.wx-cloud.b{top:158px;right:48%;opacity:.55;transform:scale(.65);animation-duration:14s}.wx-stars,.wx-fog,.wx-particles{display:none}.wx-stars{position:absolute;inset:10px;color:#e0e9ff;letter-spacing:15px;font-size:24px;animation:wxglow 3s infinite alternate}#weather-effects[data-night=yes] .wx-orb{background:#dce7ff;box-shadow:0 0 30px #b5c9ff77}#weather-effects[data-night=yes] .wx-orb:after{inset:-5px -13px 10px 20px;background:#30396a;border:0;animation:none}#weather-effects[data-night=yes] .wx-stars{display:block}#weather-effects[data-weather=rain] .wx-orb,#weather-effects[data-weather=snow] .wx-orb,#weather-effects[data-weather=cloud] .wx-orb,#weather-effects[data-weather=fog] .wx-orb,#weather-effects[data-weather=unknown] .wx-scene{display:none}#weather-effects[data-weather=rain] .wx-particles,#weather-effects[data-weather=snow] .wx-particles{display:block;position:absolute;inset:135px 8% 0 15%;overflow:hidden}.wx-particles i{position:absolute;top:-20px;width:2px;height:18px;background:#b3e7ff;animation:wxfall .8s linear infinite}#weather-effects[data-weather=snow] .wx-particles i{width:6px;height:6px;border-radius:50%;background:white;animation-duration:3s}#weather-effects[data-weather=fog] .wx-fog{display:block;position:absolute;inset:35% -20% 0;background:repeating-linear-gradient(0deg,transparent 0 15px,#e6f3ff88 25px,transparent 50px);filter:blur(8px);animation:wxdrift 8s infinite alternate}body.wx-night{background:linear-gradient(135deg,#080f22,#202b4b)}@keyframes wxspin{to{transform:rotate(360deg)}}@keyframes wxglow{to{opacity:.75}}@keyframes wxdrift{to{translate:25px -7px}}@keyframes wxfall{to{transform:translate(-12px,150px)}}@media(max-width:600px){#weather-effects{padding:18px;min-height:260px}.wx-copy{max-width:75%}.wx-scene{inset:0 0 0 58%;opacity:.7}.wx-orb{width:50px;height:50px}.wx-cloud{scale:.65}.wx-meta{gap:5px}}@media(prefers-reduced-motion:reduce){#weather-effects *{animation:none!important;transition:none!important}}
