.buzzeur-weather{position:relative;inline-size:100%;max-inline-size:100%;color:var(--fg)}
.buzzeur-weather-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-block-size:36px;padding:4px 5px;max-inline-size:100%;border:1px solid transparent;border-radius:9px;list-style:none;cursor:pointer;font-size:13px;line-height:1.2;white-space:nowrap;transition:background .18s,border-color .18s}
.buzzeur-weather-toggle::-webkit-details-marker{display:none}
.buzzeur-weather-toggle:hover,.buzzeur-weather[open]>.buzzeur-weather-toggle{background:var(--surface-soft);border-color:var(--rule-soft)}
.buzzeur-weather-toggle:focus-visible,.buzzeur-weather-panel select:focus-visible,.buzzeur-weather-panel a:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
.buzzeur-weather-symbol{display:inline-flex;flex:none;color:var(--accent-text)}
.buzzeur-weather-icon{inline-size:20px;block-size:20px;flex:none}
.buzzeur-weather-temperature{font-weight:800;font-variant-numeric:tabular-nums;flex:none}
.buzzeur-weather-city{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:var(--muted)}
.buzzeur-weather-panel{position:fixed;z-index:130;inset:auto;inline-size:min(310px,calc(100vw - 24px));padding:17px;border:1px solid var(--rule);border-radius:14px;background:var(--surface);color:var(--fg);box-shadow:0 12px 36px #0002,0 2px 8px #0001;display:grid;gap:11px;text-align:start;white-space:normal;overflow:auto;overscroll-behavior:contain;font-family:var(--body);font-size:13px;line-height:1.5}
.buzzeur-weather:not([open])>.buzzeur-weather-panel{display:none}
.buzzeur-weather-label{display:grid;gap:5px;font-weight:700}
.buzzeur-weather-select{position:relative;display:block;min-inline-size:0}
.buzzeur-weather-panel select{appearance:none;-webkit-appearance:none;display:block;inline-size:100%;min-inline-size:0;min-block-size:40px;padding-block:8px;padding-inline:12px 44px;border:1px solid var(--rule);border-radius:8px;background:var(--bg);color:var(--fg);font:inherit;cursor:pointer;text-overflow:ellipsis}
.buzzeur-weather-select>svg{position:absolute;inset-inline-end:16px;inset-block-start:50%;transform:translateY(-50%);inline-size:16px;block-size:16px;pointer-events:none;color:var(--fg)}
.buzzeur-weather-select:has(select:disabled)>svg{opacity:.5}
.buzzeur-weather-panel p{margin:0}
.buzzeur-weather-status{border-block:1px solid var(--rule-soft);padding-block:11px;display:grid;gap:5px;min-block-size:48px}
.buzzeur-weather-status strong{display:block;font-size:15px;font-weight:700}
.buzzeur-weather-status p{font-size:12px}
.buzzeur-weather-default,.buzzeur-weather-time-note,.buzzeur-weather-source,.buzzeur-weather-location-note{color:var(--muted);font-size:11px;line-height:1.5}
.buzzeur-weather-source a{text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.buzzeur-weather-source a:hover{color:var(--accent-text)}
.buzzeur-weather-status time{unicode-bidi:isolate}
[data-theme="dark"] .buzzeur-weather-panel{box-shadow:0 12px 36px #0007,0 2px 8px #0005}
.is-compact .buzzeur-weather-toggle{font-size:12px;gap:4px}
.is-compact .buzzeur-weather-city{font-size:11px}
@media(max-width:760px){.is-compact .buzzeur-weather-toggle{min-block-size:32px;padding:3px}.is-compact .buzzeur-weather-city{display:none}.is-compact .buzzeur-weather-icon{inline-size:18px;block-size:18px}}
/* Keep the mobile popup inside the layout viewport, including RTL scrollbars. */
@media(max-width:520px){.buzzeur-weather-panel{inset-inline:12px!important;inline-size:auto;max-inline-size:310px;margin-inline:auto}}
@media(prefers-reduced-motion:reduce){.buzzeur-weather-toggle{transition:none}}
