.scene>.today-weather,.gw-scene>.today-weather{--weather-ink:#344f43;--weather-muted:#496352;--weather-soft:#52695b;--weather-accent:#48634e;--weather-line:#49635266;--weather-hover:#fffdf12e;--weather-high:#8a4d2d;--weather-low:#335f70;--weather-error:#87482f;--weather-shadow:0 1px 2px #fffdf180;position:absolute;z-index:6;top:54px;left:50%;transform:translateX(-50%);width:min(520px,calc(100% - 44px));min-width:0;min-height:104px;margin:0;padding:11px 14px 10px;border:1px solid transparent;border-radius:14px;background:transparent;box-shadow:none;color:var(--weather-ink);font-family:var(--sans);text-shadow:var(--weather-shadow);-webkit-backdrop-filter:none;backdrop-filter:none;container-type:inline-size;container-name:weather-panel}
/* Follow the visible artwork: an event backdrop does not change with the wish mode. */
.scene:is([data-event-theme=fireworks],[data-event-theme=festival],[data-event-theme=stars])>.today-weather,.scene[data-weather=night]:is([data-event-theme=window],:not([data-event-theme]))>.today-weather,.group-window[data-group-sky=night] .gw-scene>.today-weather{--weather-ink:#fff8e8;--weather-muted:#e2e7da;--weather-soft:#d4e0d6;--weather-accent:#ecebd4;--weather-line:#fff8e866;--weather-hover:#fff8e81f;--weather-high:#ffd2b0;--weather-low:#c2e4f2;--weather-error:#ffd8c2;--weather-shadow:0 1px 3px #102634d9,0 0 1px #102634d9}
.gw-scene>.today-weather{top:50px}
.today-weather [hidden]{display:none!important}
.weather-icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.weather-main{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"date place" "result result";align-items:center;gap:5px 8px}
.weather-date-block{grid-area:date;display:flex;flex-direction:column;gap:3px;min-width:0}
.weather-kicker{font-size:8px;line-height:1.3;letter-spacing:.12em;color:var(--weather-muted)}
.weather-date-block time{font-family:var(--serif);font-size:11px;line-height:1.5;letter-spacing:.015em;white-space:nowrap}
.weather-location-open{grid-area:place;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:7px 8px;border:1px solid var(--weather-line);border-radius:7px;background:transparent;color:var(--weather-ink);font-size:9px;line-height:1.5;white-space:nowrap;text-shadow:inherit}
.weather-location-open:hover{background:var(--weather-hover)}
.weather-location-open:focus-visible,.weather-retry:focus-visible{outline-color:var(--weather-ink)}
.weather-location-open>.weather-icon{width:12px;height:12px}
.weather-result{grid-area:result;display:flex;align-items:center;gap:9px;min-width:0}
.weather-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.weather-mark{width:35px;height:35px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--weather-accent);flex-shrink:0}
.weather-mark .weather-icon{width:24px;height:24px;stroke-width:1.25}
.weather-summary{min-width:0;flex:1}
.weather-place-line{display:flex;flex-wrap:wrap;align-items:center;column-gap:4px;row-gap:1px;font-size:9px;line-height:1.5;color:var(--weather-muted)}
#weather-place{font-weight:500;color:var(--weather-ink)}
.weather-place-dot{color:var(--weather-soft)}
.weather-temperature-line{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:4px;margin-top:3px}
.weather-temperature{font-family:Georgia,var(--serif);font-size:25px;line-height:1.1;letter-spacing:-.025em;font-variant-numeric:tabular-nums;white-space:nowrap}
.weather-temperature small{font-family:var(--sans);font-size:9px;margin-left:3px;letter-spacing:0;color:var(--weather-muted)}
.weather-range{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;font-size:8px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--weather-muted)}
.weather-range b{font-weight:400;font-size:9px}
#weather-high{color:var(--weather-high)}#weather-low{color:var(--weather-low)}
.weather-bottom{margin-top:7px;min-width:0}
.weather-attribution{display:flex;flex-wrap:wrap;align-items:center;gap:2px 5px;margin:0;font-size:8px;line-height:1.6;letter-spacing:0;color:var(--weather-soft)}
.weather-attribution a{color:var(--weather-muted);text-decoration:underline;text-underline-offset:3px}
.weather-attribution a:hover{color:var(--weather-ink)}
.weather-estimate{font-size:7px;line-height:1.5;padding:0 4px;border:1px solid var(--weather-line);border-radius:3px;color:var(--weather-soft)}
.weather-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:3px 7px;font-size:9px;line-height:1.7;letter-spacing:0;color:var(--weather-muted);max-width:100%;margin-top:5px;overflow-wrap:anywhere}
.today-weather[data-weather-state=error] .weather-feedback{color:var(--weather-error)}
.weather-retry{background:transparent;border:0;padding:3px 4px;color:var(--weather-ink);font-size:10px;line-height:1.7;text-decoration:underline;text-underline-offset:3px;min-height:30px;border-radius:4px;white-space:nowrap;text-shadow:inherit}
.weather-retry:disabled{opacity:.5;cursor:wait}
.weather-location-dialog{position:fixed;width:min(420px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:29px 28px 25px;margin:auto;overflow-y:auto;border:1px solid #d9ddcc;border-radius:15px;background:#f7f5ee;color:#53634b;box-shadow:0 25px 100px #253d3550;font-family:var(--sans);text-align:left;text-shadow:none}
.weather-location-dialog::backdrop{background:#304d4c59;backdrop-filter:blur(6px)}
.weather-location-close{position:absolute;right:9px;top:9px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#7b8870;font-size:25px;line-height:1}
.weather-location-close:hover{background:#e9eddf}
.weather-dialog-kicker{margin:0 40px 9px 0;font-size:10px;line-height:1.6;letter-spacing:.12em;color:#8b957e}
.weather-location-dialog h2{font-family:var(--serif);font-size:22px;font-weight:400;line-height:1.7;letter-spacing:.025em;margin:0 0 14px}
.weather-location-description{font-size:11px;line-height:1.9;color:#839076;margin:0 0 23px}
.weather-controls{display:flex;flex-direction:column;gap:0;min-width:0}
.weather-location-dialog .weather-field-label{font-size:11px;line-height:1.7;margin:0 0 8px;color:#687b5b}
.weather-city-field{position:relative;display:flex;align-items:center;min-width:0;min-height:46px;background:#fffef7;border:1px solid #d1dac3;border-radius:8px;color:#65745b}
.weather-city-field>.weather-icon{position:absolute;left:12px;top:14px;width:17px;height:17px;pointer-events:none}
.weather-city-field select{display:block;appearance:none;-webkit-appearance:none;width:100%;min-width:0;min-height:44px;padding:10px 33px 10px 39px;font-family:var(--sans);font-size:14px;line-height:1.5;color:#5c6b53;background:transparent;border:0;border-radius:7px;cursor:pointer}
.weather-city-field select:focus-visible{outline:2px solid #9b604c;outline-offset:4px}
.weather-chevron{position:absolute;right:13px;top:17px;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.2;pointer-events:none}
.weather-privacy{margin:22px 0 12px;padding:11px 13px;border-left:2px solid #c3ceb6;background:#e9eddf66;font-size:10px;line-height:1.9;color:#7a886e;letter-spacing:.015em}
.weather-locate{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 13px;background:transparent;border:1px solid #c9d4ba;border-radius:8px;color:#617255;font-size:12px;line-height:1.6;letter-spacing:.025em;white-space:nowrap;transition:background .2s,border-color .2s}
.weather-locate:hover{background:#e9eddf;border-color:#bdc9ad}
.weather-locate>.weather-icon{width:17px;height:17px}
.weather-locate:disabled{opacity:.65;cursor:wait}
.weather-dialog-status{margin:15px 0 0;font-size:10px;line-height:1.9;color:#7d8b72;overflow-wrap:anywhere}
.weather-dialog-status:empty{display:none}
.weather-location-done{display:block;width:100%;min-height:46px;margin-top:22px;padding:11px 16px;border:1px solid #65795a;border-radius:8px;background:#65795a;color:#fffdf3;font-size:12px;line-height:1.6;letter-spacing:.04em}
.weather-location-done:hover{background:#52694a}
@container weather-panel (min-width:440px){.weather-main{grid-template-columns:minmax(135px,.9fr) minmax(175px,1.2fr) auto;grid-template-areas:"date result place";column-gap:12px}.weather-date-block{gap:6px}.weather-date-block time{font-size:12px}.weather-kicker{font-size:9px}.weather-mark{width:38px;height:38px}.weather-temperature{font-size:27px}.weather-range{flex-direction:column;align-items:flex-start;gap:3px}.weather-bottom{margin-top:9px}.weather-attribution{font-size:8px}}
@media(max-width:420px){.scene>.today-weather,.gw-scene>.today-weather{padding:10px 11px 9px;border-radius:12px}.weather-date-block time{font-size:10.5px;letter-spacing:0}.weather-location-open{padding:7px 6px;gap:3px;font-size:8px}.weather-location-open>.weather-icon{width:11px;height:11px}.weather-temperature-line{column-gap:8px}.weather-range{column-gap:6px}.weather-location-dialog{padding:27px 22px 23px}.weather-location-dialog h2{font-size:20px}.weather-city-field select{font-size:16px}}
@media(max-width:360px){.weather-place-line{font-size:8.5px}.weather-temperature{font-size:23px}.weather-result{gap:7px}.weather-mark{width:31px;height:31px}.weather-mark .weather-icon{width:22px;height:22px}.weather-temperature-line{column-gap:7px}.weather-range{font-size:7.5px;gap:3px 5px}.weather-range b{font-size:8px}.weather-attribution{font-size:7.5px;column-gap:4px}.weather-feedback{font-size:8.5px}.weather-location-dialog h2{font-size:18px}.weather-location-description{font-size:10px}}
@media(prefers-reduced-motion:reduce){.weather-locate{transition:none}}
