.weather-controls{display:grid;grid-template-columns:1fr 1fr;gap:20px}.weather-controls label{margin:0}.weather-card{position:relative;isolation:isolate;overflow:hidden;min-height:390px;border-radius:20px;border:1px solid #7899ad;background:linear-gradient(140deg,var(--sky-top),var(--sky-bottom));color:#fff}.weather-card:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#162d43e6,#162d43bf);z-index:1}.weather-content{position:relative;z-index:2;padding:32px}.weather-content h2{font-size:26px;max-width:90%;line-height:1.5;overflow-wrap:anywhere}.weather-content time{font-size:18px;line-height:1.6}.weather-content strong{display:block;font-size:30px;margin:18px 0}.weather-content dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.weather-content dt{grid-row:1;color:#ecf0f6;line-height:1.6}.weather-content dd{grid-row:2;margin:0;font-size:24px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.weather-meta{font-size:12px;color:#53665e;line-height:1.7}.weather-art{position:absolute;inset:0;pointer-events:none}.weather-art i{position:absolute;display:block}.weather-orb{width:120px;height:120px;right:7%;top:12%;border-radius:50%;background:#ffeaa3;box-shadow:0 0 0 18px #ffeaa322}.weather-cloud{right:1%;top:43%;width:220px;height:60px;background:#f1f5ffcc;border-radius:60px;box-shadow:-45px 90px 0 8px #f1f5ff77}.weather-cloud:before,.weather-cloud:after{content:'';position:absolute;width:100px;height:100px;background:inherit;border-radius:50%;bottom:5px;left:20px}.weather-cloud:after{width:130px;height:120px;left:70px}.weather-fall{inset:25% 0 0 50%;display:none!important;background:repeating-linear-gradient(115deg,transparent 0 25px,#cae8ff88 26px 28px,transparent 29px 50px)}.weather-fog{inset:20% 0;background:repeating-linear-gradient(0deg,transparent 0 35px,#d2dce666 36px 55px);display:none!important}.weather-bolt{right:17%;top:42%;width:55px;height:110px;background:#fff1a1;clip-path:polygon(45% 0,100% 0,60% 40%,90% 40%,0 100%,25% 50%,0 50%);display:none!important}
[data-condition=clear] .weather-cloud{display:none}[data-condition=cloudy] .weather-orb,[data-condition=rain] .weather-orb,[data-condition=snow] .weather-orb,[data-condition=sleet] .weather-orb,[data-condition=fog] .weather-orb,[data-condition=thunder] .weather-orb,[data-condition=unknown] .weather-orb{display:none}[data-condition=unknown] .weather-cloud{display:none}[data-condition=rain] .weather-fall,[data-condition=snow] .weather-fall,[data-condition=sleet] .weather-fall{display:block!important}[data-condition=snow] .weather-fall{background:radial-gradient(circle,#fff 2px,transparent 3px) 0 0/38px 44px}[data-condition=sleet] .weather-fall{background:radial-gradient(circle,#fff 2px,transparent 3px) 0 0/38px 44px,repeating-linear-gradient(115deg,transparent 0 28px,#cae8ff88 29px 31px,transparent 32px 50px)}[data-condition=fog] .weather-fog{display:block!important}[data-condition=thunder] .weather-bolt{display:block!important}.weather-card[data-sky=night] .weather-orb{background:transparent;box-shadow:-20px 12px 0 0 #fff2c3;transform:scale(.75)}
@media(max-width:650px){.weather-controls{grid-template-columns:1fr;gap:18px}.weather-content{padding:22px}.weather-content h2{font-size:22px;max-width:100%}.weather-content dl{grid-template-columns:1fr}.weather-content dt,.weather-content dd{grid-row:auto}.weather-content dd{font-size:23px}.weather-card{min-height:460px}}@media(prefers-reduced-motion:reduce){.weather-art,.weather-art *{animation:none!important;transition:none!important}}
#weather-place{direction:ltr;unicode-bidi:isolate}[dir=rtl] #weather-place{text-align:right}.weather-controls .city-select:disabled{opacity:.6;cursor:default}
@media(min-width:651px){.weather-art{z-index:1;inset-inline-start:66%;overflow:hidden}.weather-card:before{z-index:0}.weather-content>h2,.weather-content>p,.weather-content>time,.weather-content>strong,.weather-content>dl{max-inline-size:65%}}
