/* ZAGO.GR v0.39 – two discrete selectors, max/min by current temp, scoped typography. */
#weather .zago39-weather-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:9px}
#weather .zago39-weather-head>h2{flex:0 0 auto;margin:2px 0 0}
#weather .zago39-selector-stack{margin-left:auto;width:clamp(172px,40%,250px);max-width:100%;display:flex;flex-direction:column;gap:5px;min-width:0}
#weather .zago39-select-group{display:flex;flex-direction:column;gap:2px;min-width:0;position:relative}
#weather .zago39-select-group>label{font-size:10.5px;font-weight:600;color:var(--text);line-height:1.35}
#weather #city,#weather #zago39WorldButton{font:500 11.5px/1.4 Arial,sans-serif;width:100%;max-width:100%!important;min-height:30px;border:1px solid #507798;background:#2f5171;color:#fff;border-radius:5px;padding:5px 7px;box-sizing:border-box}
#weather #city{appearance:auto}
#weather #zago39WorldButton{display:flex;justify-content:space-between;align-items:center;gap:5px;text-align:left;cursor:pointer}
#weather #zago39WorldChosen{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#weather #zago39WorldButton:hover,#weather #city:hover{background:#375e82}
#weather .zago39-world-wrap{position:relative}
#weather .zago39-world-popup{z-index:80;position:absolute;top:calc(100% + 4px);right:0;width:min(310px,calc(100vw - 38px));padding:10px;background:var(--panel,#20364b);color:var(--text,#fff);border:1px solid #6482a4;border-radius:7px;box-shadow:0 9px 25px #071423ac}
#weather .zago39-world-popup[hidden]{display:none!important}
#weather .zago39-world-popup label{display:block;font-size:11px;font-weight:600;margin:8px 0 5px}
#weather #zago39WorldSearch{width:100%;min-height:36px;border:1px solid #7896b1;border-radius:4px;padding:7px;background:#f7fafd;color:#182d40;font-size:13px}
#weather #zago39WorldResults{max-height:235px;overflow-y:auto;overscroll-behavior:contain;margin-top:5px}
#weather .zago39-world-result{display:block;width:100%;text-align:left;font-size:12px;line-height:1.45;border:0;border-bottom:1px solid var(--line,#49617b);border-radius:0;background:transparent;color:var(--text,#fff);padding:8px 6px;cursor:pointer;overflow-wrap:anywhere}
#weather .zago39-world-result:hover,#weather .zago39-world-result:focus-visible{background:var(--tile,#385b78)}
#weather .zago39-world-hint{margin:7px 2px 0;font-size:10.5px;line-height:1.45;color:var(--muted,#b7c5d5)}
#weather #zago39WorldButton:focus-visible,#weather #city:focus-visible{outline:2px solid #ffbf74;outline-offset:2px}
#weather.zago39-global-active #zago39WorldButton{border-color:#ffc079;background:#3a5875}
/* Move original unchanged high/low data beside temperature, never in either selector. */
#weather .current{grid-template-columns:minmax(90px,1fr) auto minmax(0,2.1fr);column-gap:10px;row-gap:8px;align-items:center}
#weather .current>div:first-child{grid-column:1;grid-row:1;min-width:0}
#weather .current>.extremes{grid-column:2;grid-row:1;font-size:11px;line-height:1.65;min-width:70px;padding-left:9px;border-left:1px solid #6384a3}
#weather .current>.metrics{grid-column:3;grid-row:1;min-width:0}
#weather .current>.extremes .high{color:#ffaca3}
#weather .current>.extremes .low{color:#c0e1f8}
@media(max-width:1250px){#weather .current{grid-template-columns:minmax(0,1fr) auto}#weather .current>.metrics{grid-column:1/-1;grid-row:2}#weather .current>.extremes{grid-column:2;grid-row:1}}
@media(max-width:680px){#weather .zago39-selector-stack{width:min(240px,66%)}#weather .current{grid-template-columns:minmax(0,1fr) auto}#weather .current>.metrics{grid-column:1/-1;grid-row:2}#weather .current>.extremes{grid-column:2;grid-row:1}#weather .temp{font-size:clamp(25px,6vw,36px)}#weather .weathericon{font-size:clamp(25px,6vw,36px)}}
@media(max-width:340px){#weather .zago39-weather-head{flex-wrap:wrap}#weather .zago39-selector-stack{width:100%}#weather .current>.extremes{min-width:65px;font-size:10px}}
/* User-approved typography correction: bold PANEL headings, normal news/event content. */
#todayPanel>h3,#strikesPanel>h3{font-weight:700!important}
#strikesPanel #strikesTeaser .strike-entry>a,
#strikesPanel #strikesExpanded .zago16-result>a.history-headline,
#todayPanel #historyTeaser .history-entry>a,
#todayPanel #historyExpanded .history-text,
#strikesPanel #strikesExpanded .history-text{font-weight:400!important;line-height:1.5!important}
#todayPanel .history-year,#todayPanel .history-tag,#strikesPanel .source,#strikesPanel .small{font-weight:400}
#todayPanel .history-year,#todayPanel .history-tag{font-weight:600}
body.light #strikesPanel #strikesTeaser .strike-entry>a,body.light #todayPanel #historyTeaser .history-entry>a{color:#203b55!important}
body.light #weather .current>.extremes .high{color:#a2452f}
body.light #weather .current>.extremes .low{color:#285a84}
body.light #weather .zago39-select-group>label{color:#243f59}
