/* Quiet cartography lets the approved castle illustrations carry the detail. */
.map-conquest-flag{pointer-events:none;filter:drop-shadow(0 2px 1px #07364080)}
.conquest-cloth{transform-origin:0 -54px;animation:conquestFlutter 3.8s ease-in-out infinite}
.estate-select{position:relative}
.estate-conquest-flag{position:absolute;right:8px;top:38px;width:57px;height:94px;overflow:visible;pointer-events:none;filter:drop-shadow(0 3px 2px #174e4440)}
@keyframes conquestFlutter{0%,100%{transform:skewY(-2deg) scaleX(.97)}50%{transform:skewY(2deg) scaleX(1)}}
.still-sea .conquest-cloth{animation:none}
@media(prefers-reduced-motion:reduce){.conquest-cloth{animation:none}}
.map-panel{border:1px solid #d2dcd9;background:#e2eceb;box-shadow:0 12px 28px #3c59500b;border-radius:20px;aspect-ratio:3/2}
#mapArt{width:100%;height:100%}
#mapArt .illustrated-map{display:block;width:100%;height:100%;overflow:hidden}
.illustrated-map .world-illustration{filter:saturate(.25) brightness(1.1);opacity:.46}
.illustrated-map .world-illustration,.illustrated-map .map-owned-regions,.illustrated-map .map-title-plaque,.illustrated-map .illustrated-legend,.illustrated-map .quiet-coast{pointer-events:none}
.illustrated-map .quiet-coast path{fill:#f4f4e9;stroke:#fffdf5;stroke-width:5;stroke-linejoin:round}
.illustrated-map .map-title-plaque path{stroke:#77938b;stroke-width:2}
.illustrated-map .illustrated-eyebrow{font-size:9px;fill:#748b85;letter-spacing:2.3px;font-weight:600}
.illustrated-map .illustrated-title{font-size:27px;fill:#354c46;font-weight:700;letter-spacing:-1.2px}
.illustrated-map .illustrated-subtitle{font-size:11px;fill:#7a8a81}
.illustrated-map .country-area-edge{fill:none;stroke:#8b9b91;stroke-width:2.5;stroke-linejoin:round;opacity:.48}
.illustrated-map .country-area{fill:var(--land-color);fill-opacity:.72;stroke:#fffdf3;stroke-width:1.3;stroke-linejoin:round}
.illustrated-map .country-area.owned-land-tint{fill:url(#capturedStripes);fill-opacity:1;stroke:#f4ffed}
.illustrated-map .illustrated-hit-land{fill:transparent;stroke:transparent;stroke-width:2;stroke-linejoin:round;transition:fill .18s,stroke .18s}
.illustrated-map .territory.selected .illustrated-hit-land{fill:#ffffff0d;stroke:#7b9386;stroke-width:2}
.illustrated-map .territory:hover .illustrated-hit-land{fill:#ffffff22;stroke:#769088}
.illustrated-map .territory:focus-visible{outline:none}
.illustrated-map .territory:focus-visible .illustrated-hit-land{stroke:#3d6c66;stroke-width:3;stroke-dasharray:5 3}
.illustrated-map .representative-castle{filter:drop-shadow(0 4px 3px #344d472b);pointer-events:none}
.illustrated-map .castle-selection-ring{fill:#ffffff35;stroke:#fffef4;stroke-width:1.5;opacity:0}
.illustrated-map .selected .castle-selection-ring{opacity:1}
.illustrated-map .chosen-arrow{fill:#527b6a;stroke:#fffdf6;stroke-width:1}
.illustrated-map .name-plaque{fill:#fffef8ed;stroke:#e5e9e1;stroke-width:.8;filter:drop-shadow(0 2px 3px #42564a14)}
.illustrated-map .selected .name-plaque{fill:#fffef9;stroke:#729487;stroke-width:1.2}
.illustrated-map .owned .name-plaque{fill:#f6fbf1f0;stroke:#8bab86;stroke-width:1}
.illustrated-map .territory-name{fill:#3e5149;font-size:17px;font-weight:700;letter-spacing:-.5px}
.illustrated-map .territory-status{fill:#849087;font-size:11px;font-weight:400}
.illustrated-map .owned .territory-status{fill:#587950;font-weight:600}
.illustrated-map .country-key{fill:var(--country-color);stroke:none}
.illustrated-map .owned .country-key{fill:#7ca376}
.illustrated-map .plaque-progress-base{stroke:#e7ede5;stroke-width:2;stroke-linecap:round}
.illustrated-map .plaque-progress{stroke:#8ba78b;stroke-width:2;stroke-linecap:butt}
.illustrated-map .illustrated-legend rect{fill:#f8faf666;stroke:none}
.illustrated-map .illustrated-legend text{font-size:11px;fill:#73887e}
.illustrated-map .illustrated-legend .illustrated-legend-note{font-size:9px;fill:#9aa79e}
.representative-estate img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px #50634915)}
.map-panel.zoomed #mapArt .illustrated-map{width:1200px;height:800px;max-width:none}
@media(max-width:650px){.map-panel{border-radius:15px;aspect-ratio:3/2}.illustrated-map .territory-name{font-size:19px}.illustrated-map .territory-status{font-size:13px}.map-panel.zoomed #mapArt .illustrated-map{width:900px;height:600px}}
@media(prefers-reduced-motion:reduce){.illustrated-map .illustrated-hit-land{transition:none}}
.illustrated-map .territory:focus,.illustrated-map .territory:focus-visible{outline:none}.illustrated-map .territory:focus-visible .name-plaque{stroke:#427467;stroke-width:2.5}
/* Hand-painted relief is visible; country washes no longer flatten the terrain. */
.illustrated-map .world-illustration{filter:none;opacity:1}
.map-panel{background:#478495;border-color:#a7b5a3;box-shadow:0 8px 24px #26454119}
.illustrated-map .country-area{fill-opacity:.17;stroke:#fff6da;stroke-width:1.2}
.illustrated-map .country-area-edge{stroke:#465f50;stroke-width:3.4;opacity:.48}
.illustrated-map .territory.selected .illustrated-hit-land{fill:#fff3c018;stroke:#f6e6b1;stroke-width:2.2}
.illustrated-map .territory:hover .illustrated-hit-land{fill:#fff4d020;stroke:#fff5d0}
.illustrated-map .map-title-plaque path{stroke:#ecdfb5;stroke-width:1.5}
.illustrated-map .illustrated-eyebrow{fill:#e0eee5;letter-spacing:2px}
.illustrated-map .illustrated-title{fill:#fff9e8;text-shadow:0 2px 5px #274c5470}
.illustrated-map .illustrated-subtitle{fill:#e2eeea;text-shadow:0 1px 3px #23495255}
.illustrated-map .name-plaque{fill:#fff9e8ec;stroke:#eadbc0;filter:drop-shadow(0 2px 4px #203f4233)}
.illustrated-map .representative-castle{filter:drop-shadow(0 5px 3px #263e4044)}
.illustrated-map .selected .name-plaque{fill:#fff7df;stroke:#ddc08b;stroke-width:1.4}
.illustrated-map .illustrated-legend rect{fill:#f4f5e9d9}
.illustrated-map .illustrated-legend text{fill:#536b62}
.illustrated-map .illustrated-legend .illustrated-legend-note{fill:#73877b}
.illustrated-map .living-sea{pointer-events:none}
.illustrated-map .ocean-current{transform-origin:450px 300px;animation:oceanSwell 21s ease-in-out infinite;opacity:.66;will-change:transform}
.illustrated-map .sea-glint{fill:none;stroke:#e6ffff;stroke-width:.75;stroke-linecap:round;opacity:0;animation:waterGlint var(--wave-time) var(--wave-delay) ease-in-out infinite}
.illustrated-map .shore-wash{fill:none;stroke:#e3faf0;stroke-linejoin:round;stroke-linecap:round;animation:shoreWash 8.5s ease-out infinite}
@keyframes oceanSwell{0%,100%{transform:translate(-1px,0) scale(1.003)}50%{transform:translate(1px,1.4px) scale(1.008)}}
@keyframes waterGlint{0%,100%{opacity:0;transform:translate(-4px,0)}40%{opacity:.35}70%{opacity:.12;transform:translate(7px,3px)}}
@keyframes shoreWash{0%,100%{stroke-width:1;opacity:.03}48%{stroke-width:7;opacity:.25}80%{stroke-width:11;opacity:0}}
.map-panel.still-sea .ocean-current,.map-panel.still-sea .sea-glint,.map-panel.still-sea .shore-wash{animation:none;will-change:auto}
.map-panel.still-sea .living-sea{display:none}
.map-tools{display:flex;gap:7px;align-items:center;flex-shrink:0}
#mapMotion{white-space:nowrap;font-size:10px;padding:8px 11px}
@media(max-width:650px){.map-tools{gap:4px}#mapMotion,#mapZoom{font-size:9px;padding:7px 8px}.illustrated-map .ocean-current{will-change:auto}}
@media(prefers-reduced-motion:reduce){.illustrated-map .ocean-current,.illustrated-map .sea-glint,.illustrated-map .shore-wash{animation:none;will-change:auto}.illustrated-map .living-sea{display:none}}
@media(max-width:650px){.section-line:has(.map-tools){flex-wrap:wrap;gap:10px}.section-line:has(.map-tools)>div:first-child{flex-basis:100%}.section-line:has(.map-tools) h2{word-break:keep-all}.map-tools{margin-left:auto}#mapMotion,#mapZoom{color:#617568;border-color:#cad3c0}}

.hero-sprite>.attack-frame{overflow:visible}
