/* Scoped to the existing world clock. Other pages retain their styles. */
.map-polish #world-clock{position:relative;display:block;border-color:#365365;border-radius:16px;background:#0b1e2c;box-shadow:0 16px 45px #020b1326;isolation:isolate}
.map-polish #world-clock .mapbox{padding:0;background:radial-gradient(ellipse at 48% 30%,#163b50,#071b29 85%)}
.map-polish #world-clock .maptools{padding:16px 20px;border-bottom:1px solid #34526466;margin:0;flex-wrap:wrap;gap:14px}
.map-polish .maptools>span{font-size:12px;letter-spacing:1.5px;color:#afc9d6;white-space:nowrap}
.map-polish #world-clock .maptools>div{gap:7px;align-items:center}
.map-polish #world-clock .maptools button{min-height:44px;font-size:14px;letter-spacing:0;background:#142e3e;border:1px solid #456475;border-radius:8px;padding:9px 12px}
.map-polish #world-clock .maptools button:hover{background:#204355;border-color:#8edacb}
.map-polish #world-clock #zoomout,.map-polish #world-clock #zoomin{font-size:20px;padding:4px 14px}
.map-polish #world-clock #map-fullscreen{background:#83ddca;color:#102b35;border-color:#83ddca;font-weight:600}
.map-polish #world-clock #map-selection-toggle[aria-expanded=true]{border-color:#ebc77f;color:#f5d69b}
.map-polish #world-clock .mapscroll{border-radius:0;padding:12px 0 0;min-height:0}
.map-polish #world-clock #map{display:block;width:100%;aspect-ratio:1200/560;min-height:0}
.map-polish #map-land-base path{fill:#264653;fill-rule:evenodd}
.map-polish #grid{opacity:.4;pointer-events:none}
.map-polish #land path{stroke:#9bc5d3;stroke-opacity:.65;stroke-width:.6;vector-effect:non-scaling-stroke}
.map-polish #daynight{opacity:.84}
.map-polish .tz-region{stroke:#66919a;stroke-opacity:.26;vector-effect:non-scaling-stroke}
.map-polish .tz-region:hover,.map-polish .tz-region:focus{stroke:#b8eddf;stroke-opacity:.85;stroke-width:1.2;filter:none}
.map-polish .zone-label rect{fill:#091e2b;fill-opacity:.9;stroke:#6593a3;stroke-opacity:.45;stroke-width:1}
.map-polish .zone-label text{font-family:Arial,Helvetica,sans-serif;fill:#f0fafc;font-size:14px!important;font-weight:500;font-variant-numeric:tabular-nums}
.map-polish .zone-label text:last-child{fill:#b5ccd8;font-size:12px!important;font-weight:400}
.map-polish .map-badge-hidden{display:none}
.map-polish .port-marker .port-symbol{fill:#f2cd80;stroke:#112d3b;stroke-width:1.5}
.map-polish .port-marker .port-hit{r:12}
.map-polish .port-marker text{display:none;font-size:13px!important;font-weight:500;fill:#dbeef4;stroke:none}
.map-polish .port-marker text[data-maptime]{font-size:13px!important;fill:#a8c9d8;font-variant-numeric:tabular-nums}
.map-polish .port-label-back{display:none;fill:#0c2533;fill-opacity:.96;stroke:#567785;stroke-width:1;pointer-events:none}
.map-polish .port-marker.map-label-visible text,.map-polish .port-marker.map-label-visible .port-label-back{display:block}
.map-polish .port-marker.selected .port-symbol,.map-polish .port-marker:focus .port-symbol{fill:#fff1c7;stroke:#f5d388;stroke-width:2.5}
.map-polish .port-marker.selected .port-label-back{stroke:#e4c484}
.map-polish .port-marker.selected text{fill:#ffe5b5}
.map-polish .hide-port-names .port-label-back,.hide-port-names .map-polish .port-label-back{display:none!important}
.map-polish #world-clock .maplegend{padding:14px 20px;margin:0;border-top:1px solid #34526466;font-size:12px;line-height:1.6;color:#b3cbd7}
.map-polish .map-offsets{padding:0 20px 12px;margin:0;font-size:13px;color:#b3cbd7}
.map-polish .map-offsets summary{cursor:pointer;padding:10px 0;min-height:40px;width:max-content;max-width:100%}
.map-polish #world-clock #offsetlegend{margin:0;padding:8px 0 0;max-height:100px;overflow:auto}
.map-polish #world-clock #offsetlegend button{min-height:36px;font-size:12px;letter-spacing:0}
.map-polish #world-clock #fullmap-status{margin:0;padding:0 20px;font-size:13px}.map-polish #world-clock #fullmap-status:not(:empty){padding-top:12px}
.map-polish #world-clock #maperror{margin:0;padding:12px 20px}
.map-polish #world-clock>aside{display:none;position:absolute;right:20px;top:var(--map-card-top,92px);width:285px;max-width:calc(100% - 40px);max-height:calc(100% - var(--map-card-top,92px) - 16px);overflow:auto;padding:20px;background:#102a39;border:1px solid #65838c;border-radius:12px;box-shadow:0 12px 35px #020c1970;z-index:3;color:#e8f1f8}
.map-polish #world-clock.map-card-open>aside{display:block}
.map-polish #world-clock aside>.eyebrow{font-size:11px;letter-spacing:1.2px;display:block;margin:4px 40px 16px 0;color:#b3cbd6}
.map-polish #world-clock aside .map-card-close{position:absolute;top:10px;right:10px;padding:8px;font-size:12px;min-height:40px;background:transparent;border:0}
.map-polish #world-clock aside h2{font-size:23px;line-height:1.3;margin:8px 0 3px;overflow-wrap:anywhere}
.map-polish #map-country-flag{display:inline-block;object-fit:contain;vertical-align:middle;margin:0 0 4px;border-radius:2px}.map-polish #map-country-flag[hidden],.map-polish #map-country-name[hidden]{display:none}
.map-polish #map-country-name{font-size:13px;margin:0 0 14px;color:#bbd0da}
.map-polish #world-clock #clock{font-size:36px;line-height:1.2;letter-spacing:0;margin-top:12px}
.map-polish #world-clock #citydate{font-size:14px;margin:8px 0}.map-polish #world-clock #offset{font-size:13px;margin-top:10px}
.map-polish #world-clock #diff,.map-polish #world-clock #sunstatus{font-size:13px;line-height:1.6}
.map-polish .map-zone-details{border-top:1px solid #476171;margin-top:16px;padding-top:12px;font-size:13px}
.map-polish .map-zone-details summary{cursor:pointer;min-height:30px}.map-polish .map-zone-details .rule{display:none}
.map-polish .map-zone-details .eyebrow{display:none}.map-polish #world-clock .map-zone-details #iana{display:block;font-size:14px;margin:6px 0}
.map-polish #world-clock .map-zone-details small{display:block;font-size:12px;line-height:1.6}
.map-polish #world-clock.fullmap-expanded{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);border-radius:0;background:#081c29}
.map-polish #world-clock.fullmap-expanded .mapbox{min-height:0}
.map-polish #world-clock.fullmap-expanded #map{min-height:120px}
.map-polish #world-clock.fullmap-expanded .mapscroll{min-height:150px;padding:0}
.map-polish #world-clock.fullmap-expanded>aside{top:auto;bottom:28px;max-height:calc(100% - 210px)}
.map-polish #world-clock.fullmap-saving>aside{display:block}
.map-polish #world-clock.fullmap-saving .map-zone-details,.map-polish #world-clock.fullmap-saving aside .map-card-close{display:none}
.map-polish #world-clock.fullmap-saving.fullmap-idle .map-offsets{visibility:hidden;pointer-events:none}
.map-polish #world-clock.fullmap-saving.fullmap-idle>aside{box-shadow:none}
[data-theme=light] .map-polish #world-clock .mapbox{background:radial-gradient(ellipse at center,#d9edf2,#c4dee8)}
[data-theme=light] .map-polish #map-land-base path{fill:#f3f1e9}
[data-theme=light] .map-polish #land path{stroke:#476d7a;stroke-opacity:.65}
[data-theme=light] .map-polish #grid{opacity:.3}
[data-theme=light] .map-polish #world-clock .maptools>span,[data-theme=light] .map-polish #world-clock .maplegend,[data-theme=light] .map-polish .map-offsets{color:#284959}
[data-theme=light] .map-polish #world-clock .maptools button{background:#eaf4f5;color:#173d4b}
[data-theme=light] .map-polish .zone-label rect,[data-theme=light] .map-polish .port-label-back{fill:#f5fafb;stroke:#6c939f}
[data-theme=light] .map-polish .zone-label text,[data-theme=light] .map-polish .port-marker text{fill:#153d50}
[data-theme=light] .map-polish .zone-label text:last-child,[data-theme=light] .map-polish .port-marker text[data-maptime]{fill:#405d6c}
[data-theme=light] .map-polish #world-clock>aside{background:#f4fafb;color:#153445}
[data-theme=light] .map-polish #world-clock aside :is(p,small,.eyebrow){color:#405d6c}
.embedded .map-polish #world-clock>aside,.embedded .map-polish #map-selection-toggle,.embedded .map-polish .maptools [data-open]{display:none!important}
@media(max-width:760px){.map-polish #world-clock .maptools{padding:12px;gap:9px}.map-polish #world-clock .maptools>div{justify-content:flex-start;gap:6px}.map-polish #world-clock .maptools button{font-size:12px;padding:8px 10px}.map-polish #world-clock .maptools>span{font-size:11px}.map-polish #world-clock .mapscroll{min-height:0}.map-polish #world-clock #map{min-height:0}.map-polish #world-clock>aside{position:relative;inset:auto;width:auto;max-width:none;max-height:none;margin:0;padding:18px;border-radius:0;border-width:1px 0 0;box-shadow:none}.map-polish #world-clock aside h2{font-size:22px}.map-polish #world-clock #clock{font-size:32px}.map-polish #world-clock .maplegend{padding:12px;font-size:11px}.map-polish .map-offsets{padding:0 12px 6px}.map-polish #world-clock.fullmap-expanded.map-card-open,.map-polish #world-clock.fullmap-saving{grid-template-rows:auto minmax(140px,1fr) auto}.map-polish #world-clock.fullmap-expanded>aside{position:relative;inset:auto;max-height:170px;overflow:auto;padding:12px 18px;margin:0}.map-polish #world-clock.fullmap-expanded aside>.eyebrow,.map-polish #world-clock.fullmap-expanded #map-country-name,.map-polish #world-clock.fullmap-expanded .map-zone-details{display:none}.map-polish #world-clock.fullmap-expanded aside h2{display:inline;font-size:18px}.map-polish #world-clock.fullmap-expanded #map-country-flag{margin-right:8px}.map-polish #world-clock.fullmap-expanded #clock{font-size:26px;margin-top:6px}.map-polish #world-clock.fullmap-expanded #citydate,.map-polish #world-clock.fullmap-expanded #diff{margin:3px 0;font-size:12px}.map-polish #world-clock.fullmap-expanded #offset{position:absolute;right:16px;top:45px}.map-polish #world-clock.fullmap-expanded #sunstatus{display:none}.map-polish #world-clock.fullmap-expanded .map-offsets{display:none}}
@media print{.map-polish #world-clock>aside{position:static;display:block;width:auto;max-height:none}.map-polish #world-clock .maptools,.map-polish .map-card-close{display:none}}

.map-polish #world-clock.fullmap-saving.fullmap-idle :is(.maptools,.map-offsets,.maplegend,#fullmap-status){display:none}
