/* Native weather structure is explicitly glass, not a full-window image overlay. */
#win-weather{background:linear-gradient(128deg,#d2efff24,transparent 60%),rgba(var(--adaptive-rgb,12,22,37),.25)!important;backdrop-filter:blur(18px) saturate(145%)!important;-webkit-backdrop-filter:blur(18px) saturate(145%)!important}
#win-weather>div:nth-child(2),#weather-root,#weather-content{background:transparent!important;background-image:none!important}
.weather-studio{display:flex;flex-direction:column;height:100%;min-height:0;color:var(--material-ink,#eef5ff);container-type:inline-size;font:12px/1.5 Inter,system-ui,sans-serif}
#weather-root .studio-app-heading{padding:20px 24px;flex-shrink:0;background:transparent!important}
#weather-root .studio-app-heading h2{font-size:28px;letter-spacing:-1px}
.weather-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 20px;border-bottom:1px solid var(--material-line-soft,#ffffff20);flex-shrink:0}
.weather-tools input{flex:1;min-width:100px;padding:8px 10px;border-radius:10px;background:#d7efff0b;border:1px solid var(--material-line,#ffffff30);color:inherit;font-size:12px}
.weather-status{margin:0;padding:8px 20px;color:var(--material-muted,#b5c5d9);font:10px/1.6 ui-monospace,monospace;flex-shrink:0}
#weather-locations{display:flex;gap:8px;flex-wrap:wrap;max-height:125px;overflow:auto;padding:0 20px;flex-shrink:0}
.weather-location-result{padding:8px 12px;border:1px solid var(--material-line-soft,#ffffff20);border-radius:12px;background:var(--material-hover,#d7efff10);text-align:left;color:inherit;cursor:pointer;margin-bottom:8px}
.weather-content{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 20px 24px;overscroll-behavior:contain;scrollbar-gutter:stable}
.weather-empty{max-width:460px;margin:45px auto;padding:26px;border:1px solid var(--material-line-soft,#ffffff20);border-radius:20px;background:#d7efff06;color:var(--material-muted);line-height:1.8}
.weather-empty h3{font-size:19px;letter-spacing:-.5px;color:var(--material-ink)}
.weather-now{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid var(--material-line-soft,#ffffff20);border-radius:22px;background:linear-gradient(130deg,#c7edff10,transparent)!important;box-shadow:inset 0 1px 0 #ffffff20}
.weather-eyebrow{font:9px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.14em;color:var(--material-muted)}
.weather-now h3{font-size:19px;letter-spacing:-.6px;margin:7px 0}
.weather-temperature{font-size:64px;font-weight:550;letter-spacing:-4px;line-height:1.25;font-variant-numeric:tabular-nums}
.weather-now p{font-size:12px;color:var(--material-muted)}
.weather-observed{display:flex;flex-direction:column;gap:7px;max-width:190px;font:10px/1.6 ui-monospace,monospace;color:var(--material-muted)}
.weather-observed strong{font-weight:500;color:var(--material-ink)}
.weather-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.weather-metric{padding:14px;border:1px solid var(--material-line-soft,#ffffff20);border-radius:15px;background:#d7efff05;min-width:0;overflow-wrap:anywhere}
.weather-metric span{display:block;font-size:10px;color:var(--material-muted);margin-bottom:7px}
.weather-metric strong{font-size:12px;font-weight:550}
.weather-section{margin:24px 0}.weather-section h3{font-size:15px;letter-spacing:-.3px;margin:0 0 4px}.weather-section>p{font-size:10px;color:var(--material-muted);margin:0 0 12px}
.weather-hours{display:flex;overflow-x:auto;gap:8px;padding-bottom:10px;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-gutter:stable}
.weather-hour{flex:0 0 83px;display:flex;flex-direction:column;gap:10px;text-align:center;padding:14px 8px;border-radius:14px;border:1px solid var(--material-line-soft,#ffffff20);background:#d7efff05}
.weather-hour time,.weather-hour span{font:10px/1.6 ui-monospace,monospace;color:var(--material-muted)}
.weather-hour strong{font-size:16px;font-weight:550}
.weather-days{border:1px solid var(--material-line-soft,#ffffff20);border-radius:16px;overflow:hidden}
.weather-day{display:grid;grid-template-columns:90px minmax(0,1fr) 120px 70px;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--material-line-soft,#ffffff20);font-size:11px}
.weather-day:last-child{border-bottom:0}.weather-day span{color:var(--material-muted)}.weather-day strong{font-weight:500;font-variant-numeric:tabular-nums}
.weather-attribution{font-size:10px;color:var(--material-muted);line-height:1.8}.weather-attribution a{text-decoration:underline}
#weather-root :is(input,button,a,[tabindex]):focus-visible{outline:2px solid #74ccef;outline-offset:-2px}
html[data-system-mode=day] #win-weather{background:linear-gradient(130deg,#ffffff30,transparent 65%),rgba(229,242,252,.4)!important}
html[data-glass-clarity=clear] #win-weather{background:rgba(var(--adaptive-rgb,12,22,37),.18)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
html[data-glass-clarity=solid] #win-weather{background:var(--material-solid,#142334)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@container(max-width:620px){.weather-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-now{padding:17px;align-items:flex-start}.weather-observed{max-width:125px;font-size:9px}.weather-temperature{font-size:50px}.weather-day{grid-template-columns:65px minmax(0,1fr);gap:7px}.weather-content{padding:10px 12px 24px}.weather-now h3{font-size:17px}#weather-root .studio-app-heading{padding:16px}.weather-tools{padding:10px 12px}}
@media(prefers-reduced-transparency:reduce){#win-weather{background:var(--material-solid,#142334)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(forced-colors:active){#win-weather{background:Canvas!important;color:CanvasText!important;backdrop-filter:none!important}.weather-studio{color:CanvasText}.weather-studio :is(p,span,time,strong,h3){color:CanvasText!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#win-weather{background:var(--material-solid,#142334)!important}}

/* Atmospheric condition illustration + a data-driven, accessible forecast plot. */
#weather-root .studio-app-heading{padding:14px 22px}
#weather-root .studio-app-heading h2{font-size:24px;margin:3px 0}
.weather-now{position:relative;min-height:226px;padding:26px 30px;overflow:hidden;border-radius:25px}
.weather-now>div:first-child{position:relative;z-index:2;flex:1;min-width:0}
.weather-now h3{font-size:24px;margin:5px 0;letter-spacing:-.8px}
.weather-temperature{font-size:78px;font-weight:450;letter-spacing:-5px}
.weather-now p{font-size:12px;margin-top:8px}
.weather-scene{position:relative;flex:0 1 245px;width:245px;height:180px;isolation:isolate;pointer-events:none;filter:drop-shadow(0 12px 25px #08223730)}
.weather-orb{position:absolute;left:65px;top:17px;width:106px;height:106px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fffbd9,#ffdc7c 45%,#efaa45 90%);box-shadow:0 0 45px #ffd37865,inset 0 2px 5px #fff8}
.weather-orb::after{content:'';position:absolute;inset:-18px;border-radius:50%;border:1px solid #ffdf8e22;box-shadow:0 0 0 13px #ffdf8e09}
.weather-cloud{position:absolute;left:57px;top:92px;width:158px;height:47px;border-radius:45px;background:linear-gradient(160deg,#f1f8ff,#9eb8d8);box-shadow:inset 0 2px 4px #fff9,0 13px 24px #12334a26;animation:weather-drift 8s ease-in-out infinite alternate}
.weather-cloud::before,.weather-cloud::after{content:'';position:absolute;border-radius:50%;background:linear-gradient(140deg,#edf7ff,#afc6e0)}
.weather-cloud::before{width:69px;height:69px;left:27px;bottom:10px}.weather-cloud::after{width:50px;height:50px;right:20px;bottom:9px}
.weather-cloud-back{left:16px;top:63px;transform:scale(.66);opacity:.55;animation-delay:-4s}
.weather-scene-sunny .weather-cloud,.weather-scene-night .weather-cloud{display:none}
.weather-scene-sunny .weather-orb{left:64px;top:31px;width:120px;height:120px}
.weather-scene-night .weather-orb{background:radial-gradient(circle at 25% 25%,#f4f7ff,#a9c4e8);box-shadow:0 0 50px #bdd8ff55;left:65px;top:35px}
.weather-scene-night .weather-orb::after{inset:12px 10px 36px 45px;border:0;background:#86a5cf38;box-shadow:-32px 40px 0 -5px #86a5cf28}
.weather-scene-cloudy .weather-orb,.weather-scene-fog .weather-orb,.weather-scene-rain .weather-orb,.weather-scene-storm .weather-orb,.weather-scene-snow .weather-orb{opacity:.2}
.weather-scene-storm .weather-cloud{background:linear-gradient(150deg,#b3c2d5,#62768c)}
.weather-scene-icon{display:none;position:absolute;width:65px;height:65px;left:95px;top:65px;color:#dceeff}
.weather-scene-unknown .weather-scene-icon{display:block}.weather-scene-unknown :is(.weather-orb,.weather-cloud){display:none}
.weather-scene-storm .weather-scene-icon{display:block;top:104px;left:106px;width:36px;height:50px;color:#ffe292;filter:drop-shadow(0 0 9px #ffdd6d)}
.weather-particles{display:none;position:absolute;left:57px;top:135px;width:155px;height:40px;overflow:hidden}
:is(.weather-scene-rain,.weather-scene-storm,.weather-scene-snow) .weather-particles{display:flex;justify-content:space-around}
.weather-particles b{display:block;width:2px;height:12px;background:#9bdcff;border-radius:3px;animation:weather-fall 1.5s linear infinite}
.weather-particles b:nth-child(3n){animation-delay:-.6s}.weather-particles b:nth-child(3n+1){animation-delay:-1.1s}
.weather-scene-snow .weather-particles b{width:4px;height:4px;border-radius:50%;background:#e8f6ff;animation-duration:3s}
.weather-scene-fog .weather-cloud{opacity:.65;filter:blur(3px)}
.weather-observed{font-size:9px;max-width:150px;position:relative;z-index:2;padding-left:18px;border-left:1px solid var(--material-line-soft,#ffffff20)}
.weather-chart-card{margin:16px 0;border:1px solid var(--material-line-soft,#ffffff20);border-radius:22px;padding:20px 20px 13px;background:linear-gradient(125deg,#c7edff07,transparent)!important;box-shadow:inset 0 1px 0 #ffffff15}
.weather-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.weather-chart-heading h3{font-size:18px;font-weight:550;letter-spacing:-.6px;margin:5px 0 0}
.weather-chart-legend{display:flex;gap:12px;font-size:9px;color:var(--material-muted)}.weather-chart-legend span:first-child{color:#f8d88e}.weather-chart-legend span:last-child{color:#91cdf3}
.weather-chart{display:block;width:100%;height:auto;max-height:250px;margin:10px 0 0;overflow:visible}
.weather-chart text{font:9px ui-monospace,monospace;fill:var(--material-muted,#c6d7e8)}
.weather-chart-grid{stroke:var(--material-line-soft,#d7efff20);stroke-width:1;stroke-dasharray:3 5}
.weather-temp-line{fill:none;stroke:#ffda89;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 7px #ffce5530)}
.weather-chart-point{fill:#ffdf9b;stroke:#59482966;stroke-width:1}.weather-rain-bar{fill:#88c9f3;opacity:.65}
.weather-chart-inspector{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;border-top:1px solid var(--material-line-soft,#ffffff20);font:10px/1.6 ui-monospace,monospace}
.weather-chart-inspector>span{color:var(--material-ink)}.weather-chart-inspector label{display:flex;align-items:center;gap:8px;color:var(--material-muted);font-size:9px;white-space:nowrap}.weather-chart-inspector input{accent-color:#ffda89;width:110px}
.weather-hour-selected{border-color:#ffda8980;box-shadow:inset 0 1px 0 #ffda8930;background:#ffda890c}
.weather-metric{position:relative;padding:15px 15px 15px 20px;border-radius:17px}.weather-metric::before{content:'';position:absolute;left:9px;top:19px;width:3px;height:18px;border-radius:3px;background:#88c9f366}.weather-metric:nth-child(3n)::before{background:#ffda8970}
.weather-day{grid-template-columns:72px minmax(0,1fr) 107px 100px 55px}.weather-day-condition{display:flex;align-items:center;gap:9px}.weather-day-condition svg{flex-shrink:0;width:19px;height:19px;color:#c3dff2}
.weather-day-range{height:5px;background:#c5e1f018;border-radius:8px;position:relative;overflow:hidden}.weather-day-range b{position:absolute;height:100%;border-radius:inherit;background:linear-gradient(90deg,#83bee7,#f4d18a)}
html[data-system-mode=day] .weather-chart-legend span:first-child{color:#896016}html[data-system-mode=day] .weather-chart-legend span:last-child{color:#24618c}html[data-system-mode=day] .weather-temp-line{stroke:#a6711c}html[data-system-mode=day] .weather-chart-point{fill:#a6711c}html[data-system-mode=day] .weather-rain-bar{fill:#327ba9}html[data-system-mode=day] .weather-day-condition svg{color:#3c6b8a}
@keyframes weather-drift{to{translate:7px -4px}}@keyframes weather-fall{from{translate:0 -15px;opacity:0}30%{opacity:1}to{translate:-10px 40px;opacity:0}}
@container(max-width:750px){.weather-observed{display:none}.weather-day{grid-template-columns:65px minmax(0,1fr) 100px 65px}.weather-day-range{display:none}.weather-scene{flex-basis:180px;scale:.85}.weather-chart-inspector{flex-wrap:wrap}.weather-chart-legend{flex-direction:column;gap:3px}}
@container(max-width:460px){.weather-now{padding:18px;gap:0;min-height:205px}.weather-now h3{font-size:19px}.weather-temperature{font-size:58px}.weather-scene{flex:0 0 120px;scale:.65;transform-origin:center}.weather-day{grid-template-columns:60px minmax(0,1fr);gap:7px}.weather-chart-card{padding:14px 10px}.weather-chart-heading h3{font-size:15px}.weather-chart-inspector label{width:100%;justify-content:space-between}.weather-chart-inspector input{flex:1}.weather-chart{min-height:145px}}
@media(prefers-reduced-motion:reduce){.weather-cloud,.weather-particles b{animation:none!important}.weather-particles b{opacity:.6}}
@media(forced-colors:active){.weather-temp-line,.weather-chart-point{stroke:CanvasText;fill:none}.weather-rain-bar{fill:Highlight}.weather-chart text{fill:CanvasText}.weather-chart-grid{stroke:GrayText}}
