#weather-open[data-active="true"]{background:#c4e5e030;color:#e3fbf3}
.weather-panel{position:absolute;z-index:12;top:max(86px,calc(env(safe-area-inset-top) + 66px));right:max(28px,env(safe-area-inset-right));width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - 115px);overflow:auto;overscroll-behavior:contain;padding:12px;border-radius:20px;background:#102e39f2;color:#f2f6eb;font-size:12px}
.weather-panel header{position:static;display:flex;align-items:center;justify-content:space-between;pointer-events:auto;text-shadow:none;margin-bottom:6px}
.weather-panel h2{margin:0 0 0 3px;font-size:16px;font-weight:650;letter-spacing:.05em}
.weather-panel button,.weather-pin{border:1px solid #b0d7d54d;background:#234651;color:#f0f6ee;border-radius:11px;padding:6px 9px}
.weather-panel button:hover,.weather-pin:hover{background:#345e69}
.weather-panel button[aria-pressed="true"]{background:#dfc797;border-color:#e7d3ab;color:#173735}
.weather-panel button:disabled{opacity:.48;cursor:default}
.weather-panel #weather-close{background:transparent;border-color:transparent;min-width:44px;font-size:22px;line-height:1}
.weather-choices,.weather-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.weather-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.weather-panel .weather-choices button,.weather-panel .weather-actions button{white-space:nowrap}
.weather-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin:7px 3px}
.weather-sliders label,.weather-volume{display:grid;grid-template-columns:1fr auto;align-items:center;line-height:1.2}
.weather-sliders output,.weather-volume output{color:#c5e4db;font-variant-numeric:tabular-nums}
.weather-panel input[type="range"]{grid-column:1/-1;width:100%;min-height:29px;margin:0;accent-color:#dfc797}
.weather-panel input:disabled{opacity:.48}
.weather-volume{margin:8px 3px 0}
.weather-audio-options{margin-top:6px}
.weather-audio-options summary{display:list-item;width:fit-content;padding:8px 3px;cursor:pointer;color:#c5dfdb}
.weather-audio-options summary:focus-visible{outline:2px solid #dfc797}
.weather-audio-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px}
#weather-status{min-height:16px;margin:6px 3px 0;color:#c5dfdb;line-height:1.45}
.weather-pin{position:absolute;z-index:3;transform:translate(-50%,-100%);padding:6px 12px;border-radius:16px;border-color:#b2dfd377;background:#183d48de;font-size:11px;white-space:nowrap;box-shadow:0 3px 12px #001b255e}
.weather-pin::after{content:"";position:absolute;left:50%;bottom:-5px;width:7px;height:7px;transform:translateX(-50%) rotate(45deg);background:#183d48;border-right:1px solid #b2dfd377;border-bottom:1px solid #b2dfd377}
@media(max-width:760px){
 .tools #weather-open{padding-inline:7px}
 .weather-panel{top:max(116px,calc(env(safe-area-inset-top) + 106px));right:12px;width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - 175px)}
 .weather-pin{padding-inline:9px;font-size:10px}
}
@media(max-height:520px) and (orientation:landscape){
 .weather-panel{top:66px;max-height:calc(100dvh - 125px)}
}
