/* Mapy na podstawie ReparticionesDePolonia.svg, CC BY-SA 4.0. */
.partitions-map{background:#171a1b}
.map-backdrop{position:absolute;inset:0;background:radial-gradient(ellipse at 75% 40%,#2e3332 0,#1a1d1e 48%,#151515 90%)}
.partitions-map .slide-content{left:6.5vw;top:17%;width:35%;z-index:7}
.partitions-map h2{font-size:clamp(43px,5.1vw,102px);line-height:.97}
.partitions-map .eyebrow{font-size:9px;margin-bottom:23px;color:#b6b1a7}
.map-year{font-family:var(--serif);font-size:clamp(75px,8.5vw,170px);line-height:.9;letter-spacing:-.04em;color:#c28d86;margin-top:23px}
.map-year>span{display:block;font-family:var(--sans);font-size:12px;letter-spacing:.15em;margin-bottom:10px;color:#bfb3a3}
.map-description{font-size:clamp(14px,1.25vw,24px);line-height:1.65;color:#e5d9c7;margin:25px 0 0}
.map-figure{position:absolute;left:43vw;right:3.5vw;top:11%;height:76%;margin:0;z-index:6;display:flex;flex-direction:column;align-items:center}
.map-svg-holder{min-height:0;flex:1;width:100%;display:flex;align-items:center;justify-content:center}
.partition-map{height:100%;width:100%;overflow:hidden;filter:drop-shadow(0 20px 25px #0004)}
.partition-map .map-context rect{fill:#252b2d}
.partition-map .remaining{stroke:#e4d8be;stroke-width:.5}
.partition-map .new-territory{stroke:var(--territory-color);stroke-width:2.5}
.partition-map .old-territory{stroke:var(--territory-color);stroke-width:1;opacity:.48}
.map-figure figcaption{text-align:center;font-size:clamp(10px,.85vw,16px);color:#c0b5a4;margin:15px 0 8px;line-height:1.6}
.map-credit{color:#8d8980;font-size:clamp(8px,.58vw,11px);line-height:1.5;text-decoration:none;text-align:center;max-width:95%}
.map-credit:hover{color:#d1c3ad;text-decoration:underline}
.map-legend{margin-top:24px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;max-width:95%}
.map-legend button{background:transparent;padding:4px 0 7px;display:flex;gap:10px;align-items:center;font-size:clamp(14px,1.2vw,22px);color:#d9cfbd;border-bottom:1px solid transparent}
.map-legend button[aria-pressed=true]{border-bottom-color:#d9cfbd;color:#fff2d8}
.map-swatch{display:inline-block;width:13px;height:13px;border-radius:50%;flex:none;background:#d9cbb0}
.map-swatch.prusy{background:#839bb8}.map-swatch.rosja{background:#8ea78f}.map-swatch.austria{background:#c09b75}
.map-baseline{font-size:clamp(12px,1.05vw,21px);display:flex;align-items:center;gap:11px;color:#c8bfad;margin-top:26px}
.map-aside{font-size:clamp(11px,.95vw,18px);line-height:1.6;color:#b7a99c;margin-top:17px;max-width:90%}
.map-replay{display:block;background:transparent;color:#c69d93;font-size:clamp(11px,.88vw,17px);border-bottom:1px solid #765852;padding:7px 0;margin-top:20px}
.map-replay:disabled{opacity:.55;cursor:default}
.partition-map[data-focus=prusy] .territory:not(.owner-prusy):not(.remaining),.partition-map[data-focus=rosja] .territory:not(.owner-rosja):not(.remaining),.partition-map[data-focus=austria] .territory:not(.owner-austria):not(.remaining){opacity:.13!important}
.partition-map .territory{transition:opacity .4s ease}
.slide.active .partition-map .new-territory{animation:annex-territory 1.55s ease var(--map-delay) both}
.slide.active .partition-map.replay-reset .new-territory{animation:none}
@keyframes annex-territory{0%{fill:#e4d8be;stroke:#e4d8be;filter:brightness(1)}65%{fill:var(--territory-color);stroke:#f3debc;filter:brightness(1.24)}100%{fill:var(--territory-color);stroke:var(--territory-color);filter:brightness(1)}}
.motion-off .partition-map .new-territory{animation:none!important}
@media(prefers-reduced-motion:reduce){.partition-map .new-territory{animation:none!important}}
@media(max-width:1000px) and (min-width:651px){.partitions-map .slide-content{top:18%;left:5vw;width:37%}.partitions-map h2{font-size:5.3vw}.map-figure{left:43vw;right:2vw;top:12%;height:73%}.map-year{font-size:9vw;margin-top:15px}.map-description{font-size:14px;margin-top:17px}.map-legend{margin-top:18px;gap:9px 15px}.map-legend button{font-size:13px}.map-swatch{width:10px;height:10px}.map-aside{font-size:11px}.map-replay{font-size:11px;margin-top:12px}}
@media(max-width:650px){.partitions-map .slide-content{left:7vw;top:12%;width:87%}.partitions-map h2{font-size:10vw;line-height:.95}.partitions-map h2 br{display:none}.partitions-map .eyebrow{font-size:8px;margin-bottom:14px}.map-year{position:absolute;top:5px;right:0;font-size:15vw;margin:0}.map-year>span{font-size:8px;letter-spacing:.04em;margin-bottom:3px}.map-description{font-size:12px;line-height:1.5;margin-top:14px;max-width:72%}.map-description br{display:none}.map-legend{margin-top:12px;gap:8px 17px}.map-legend button{font-size:12px;gap:7px;padding:2px 0 5px}.map-swatch{width:9px;height:9px}.map-aside{font-size:10px;margin:8px 0;max-width:100%}.map-replay{font-size:10px;margin-top:8px;padding:3px 0}.map-baseline{font-size:11px;margin-top:10px}.map-figure{left:4vw;right:4vw;top:41%;height:45%;z-index:5}.map-figure figcaption{font-size:9px;margin:5px 0}.map-credit{font-size:7px}.partition-map .map-city text{font-size:28px}}
@media(max-height:650px) and (min-width:651px){.partitions-map .slide-content{top:16%}.partitions-map .eyebrow{margin-bottom:13px;font-size:8px}.partitions-map h2{font-size:4.5vw}.map-year{font-size:7.5vw;margin-top:13px}.map-description{font-size:14px;margin-top:14px;line-height:1.5}.map-legend{margin-top:12px}.map-legend button{font-size:13px}.map-replay{margin-top:10px;font-size:10px}.map-aside{font-size:10px;margin-top:10px}.map-figure{top:11%;height:74%}}
@media(max-width:650px){.partitions-map h2{max-width:62%}.partitions-map h2 br,.map-description br{display:initial}}

