/* Weather v1 — W1. Shared native Atlas typography, discreet groups, no invented layers. */
.country-view .atlas-weather {--w-paper:#fff;--w-sheet:#f2f3f5;--w-ink:#14171c;--w-muted:#667085;--w-line:#d5dbe4;--w-blue:#1967ea}
html[data-atlas-theme=night] .country-view .atlas-weather {--w-paper:#283344;--w-sheet:#1c2430;--w-ink:#f3f5f8;--w-muted:#b5c0cf;--w-line:#465366;--w-blue:#8ab9ff}
.country-view .atlas-weather[data-open=true] {z-index:180}
.country-view #atlasWeatherPanel {position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:90dvh;padding:0;border:0;border-radius:24px 24px 0 0;background:var(--w-sheet);color:var(--w-ink);box-shadow:0 -10px 45px #0003;overflow:hidden;display:flex;flex-direction:column;text-align:start;box-sizing:border-box}
.country-view #atlasWeatherPanel[hidden] {display:none}
.weather-head {flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 20px 12px}
.country-view .weather-head h2 {margin:0;font-size:22px;line-height:1.25;font-weight:750;color:var(--w-ink)}
.country-view .atlas-weather .weather-close {display:grid;place-items:center;flex:none;position:relative;width:44px;height:44px;min-height:44px;padding:6px;border:0;border-radius:50%;color:var(--w-ink);background:transparent;font-size:24px}
.weather-close span {display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e3e5e9}html[data-atlas-theme=night] .weather-close span {background:#354050}
.weather-scroll {padding:0 20px max(24px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;min-height:0}
.country-view .atlas-weather h3 {font-size:12.5px;font-weight:700;line-height:1.4;text-transform:uppercase;color:var(--w-muted);letter-spacing:.35px;margin:24px 0 8px}
.weather-now {display:grid;grid-template-columns:44px auto minmax(0,1fr);align-items:center;gap:10px;margin:0 0 12px}
.weather-now-icon {width:44px;height:48px}.weather-now-icon svg {width:100%;height:100%}
.country-view .weather-temperature,.country-view #atlasWeatherPanel #atlasWeatherTemperature {font-size:56px;font-weight:300;letter-spacing:-2px;line-height:1.1;white-space:nowrap;display:block;margin:0;color:var(--w-ink)}
.weather-now-description {min-width:0}.weather-now-description b {font-size:16px;line-height:1.3}.country-view .weather-now-description p {font-size:13px;line-height:1.4;color:var(--w-muted);margin:4px 0}
.weather-hours {display:flex;list-style:none;margin:0;padding:12px 8px;background:var(--w-paper);border-radius:14px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.weather-hours li {display:flex;flex-direction:column;align-items:center;gap:5px;flex:0 0 52px;font-size:14px;line-height:1.25}.weather-hour {font-size:12px;white-space:nowrap;color:var(--w-muted)}.weather-hour-icon,.weather-hour-icon svg {display:block;width:23px;height:23px}
.weather-risk {font-size:12px;line-height:16px;min-height:16px;color:var(--w-blue);font-variant-numeric:tabular-nums;white-space:nowrap}
.weather-days {list-style:none;margin:0;padding:0 12px;border-radius:14px;background:var(--w-paper)}
.weather-days li {display:grid;grid-template-columns:38px 38px 28px 1fr 28px;align-items:center;gap:6px;min-height:46px;font-size:14px;text-align:start}.weather-days li+li {border-top:1px solid var(--w-line)}.weather-days li>b {font-weight:650}.weather-days li>b:last-child {text-align:end}.weather-day-min {color:var(--w-muted);text-align:end}
.weather-range {position:relative;height:5px;border-radius:3px;background:var(--w-line);overflow:hidden}.weather-range i {position:absolute;top:0;bottom:0;border-radius:3px}
.weather-tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.weather-tile {border-radius:14px;padding:14px 12px;background:var(--w-paper);min-height:106px;box-sizing:border-box}
.country-view .weather-tile h4 {color:var(--w-muted);font-size:12px;line-height:1.4;font-weight:700;text-transform:uppercase;margin:0 0 5px}.weather-tile strong {display:block;font-size:20px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}.weather-tile small {display:block;margin-top:3px;color:var(--w-muted);font-size:12px;line-height:1.4}
.country-view #atlasWeatherDate {color:var(--w-muted);font-size:12px;line-height:1.5;margin-top:24px}
.weather-credit {color:var(--w-muted);font-size:11px;margin-top:6px}.country-view .weather-credit a {color:var(--w-muted)}
.country-view .weather-marine-credit{margin:10px 0 0;color:var(--w-muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.country-view .weather-marine-credit a{color:var(--w-blue);text-decoration:underline;text-underline-offset:2px;unicode-bidi:isolate}
.country-view .atlas-weather #atlasWeatherHide {font-size:13px;color:var(--w-blue);min-height:44px;margin-top:8px}
.country-view .atlas-weather :is(button,a):focus-visible {outline:3px solid var(--w-blue);outline-offset:3px}
.country-view #atlasWeatherStatus {font-size:13px;color:var(--w-muted)}
@media(min-width:780px){.country-view #atlasWeatherPanel {inset:16px 16px 16px auto;width:420px;max-height:calc(100dvh - 32px);border-radius:20px}}
/* W2 — a real touch hold, with a separate blurred backdrop. */
.country-view .atlas-weather .weather-preview-shade {position:fixed;inset:0;width:100vw;height:100dvh;border:0;border-radius:0;background:#17212d24;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:0;z-index:0}
.country-view .atlas-weather .weather-preview-shade[hidden],.weather-preview[hidden] {display:none}
.weather-preview {position:fixed;inset:auto 16px 116px;max-width:370px;margin-inline:auto;z-index:1;filter:drop-shadow(0 12px 30px #0003);text-align:start}
.weather-preview-card {padding:18px 16px 12px;border-radius:18px;background:var(--w-sheet);color:var(--w-ink)}.weather-preview-title {display:block;font-size:17px;margin-bottom:12px}
.weather-preview .weather-now {grid-template-columns:34px auto minmax(0,1fr);gap:8px}.weather-preview .weather-now-icon {width:34px;height:40px}
.weather-preview .weather-temperature {font-size:40px;font-weight:300;letter-spacing:-1px}.weather-preview .weather-now-description b {font-size:14px}.weather-preview .weather-now-description p {font-size:12px}
.weather-preview .weather-hours {padding:10px 0;background:transparent;border-radius:0}.weather-preview .weather-hours li {flex-basis:calc(100% / 6);min-width:0}
.weather-preview-menu {display:flex;flex-direction:column;margin-top:10px;border-radius:14px;background:var(--w-paper);overflow:hidden}
.country-view .atlas-weather .weather-preview-menu button {min-height:48px;border:0;border-radius:0;background:transparent;color:var(--w-ink);font-size:15px;font-weight:550;padding:12px 16px;text-align:start;box-shadow:none}
.country-view .atlas-weather .weather-preview-menu button+button {border-top:1px solid var(--w-line)}.country-view .atlas-weather .weather-preview-menu button:disabled {color:var(--w-muted);opacity:.6;cursor:default}
@media(min-width:780px){.weather-preview {inset:auto auto 108px 24px;width:360px;margin:0}}
/* W3 — fixed right-hand panel; the map keeps its full viewport and all layers. */
@media(min-width:780px){
 .country-view #atlasWeatherPanel .weather-tiles {grid-template-columns:repeat(3,minmax(0,1fr))}
 .country-view #atlasWeatherPanel .weather-head {padding:18px 20px 10px}
 .country-view #atlasWeatherPanel .weather-head h2 {font-size:22px}
 .weather-preview:not(.with-menu) {width:360px;max-width:calc(100vw - 48px)}
}
@media(min-width:780px){
 .country-view:has(#atlasWeatherPanel:not([hidden])) .national-sidebar.search-hub[data-home] {left:calc(50% - 220px)!important;width:min(670px,calc(100% - 488px))!important}
 .country-view:has(#atlasWeatherPanel:not([hidden])) .desk-dock {left:calc(50% - 220px)!important;max-width:calc(100% - 488px)}
 .country-view:has(#atlasWeatherPanel:not([hidden])) .public-map-controls {right:456px!important}
}
@media(min-width:780px) and (max-width:1100px){.country-view:has(#atlasWeatherPanel:not([hidden])) .desk-dock {display:none}}
/* Temperature increases in the reading direction of each language. */
.atlas-weather[dir=rtl] .weather-range {transform:scaleX(-1)}
