.campaign-map{position:relative;isolation:isolate;overflow:hidden;background:#c8c9b3;min-width:0;min-height:300px;user-select:none;-webkit-user-select:none}
.campaign-map::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 85px #23382b22;z-index:1}
.map-svg{display:block;width:100%;height:100%;min-height:300px;touch-action:none;cursor:grab;overflow:hidden;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.map-dragging .map-svg,.map-dragging .map-city,.map-dragging .map-army{cursor:grabbing}
.map-landscape,.map-roads{pointer-events:none}
.map-paper-grain{pointer-events:none;mix-blend-mode:multiply}
.map-region-names{fill:#455d48;opacity:.29;text-anchor:middle;font-family:"STKaiti","KaiTi","Noto Serif SC",serif;font-size:31px;letter-spacing:8px}
.map-water-names{fill:#54716e;opacity:.7;font-family:"STKaiti","KaiTi",serif;font-size:17px;letter-spacing:5px}
.map-cartouche{text-anchor:middle;fill:#536653;font-family:"STKaiti","KaiTi",serif;font-size:13px;letter-spacing:2px;opacity:.68}
.map-cartouche path{stroke:#536653;stroke-width:.65;opacity:.55}
.map-cartouche .map-cartouche-main{font-size:24px;letter-spacing:5px}
.map-cartouche rect{fill:none;stroke:#9c5e4b;stroke-width:1.5}
.map-cartouche .map-seal{font-size:15px;fill:#9c5e4b;letter-spacing:0}
.map-compass{stroke:#62745c;fill:none;opacity:.6;stroke-width:.8}
.map-compass path:first-of-type{fill:#71816a;stroke:none}
.map-compass text{fill:#52664c;stroke:none;text-anchor:middle;font-family:"KaiTi",serif;font-size:15px}
.map-road{fill:none;stroke:#7c7b60;stroke-width:1.7;stroke-dasharray:4 5;stroke-linecap:round;opacity:.46}
.map-road-active{stroke:#88683b;stroke-width:2.4;opacity:.8}
.map-road-target{stroke:#a66d2d;stroke-width:3;stroke-dasharray:7 5;opacity:1}
.map-city{cursor:pointer;outline:none}
.map-city-hit{fill:transparent;stroke:none}
.map-city-halo{fill:var(--map-faction);opacity:.1;stroke:none}
.map-city-selection{fill:none;stroke:var(--map-faction);stroke-width:2;opacity:0;stroke-dasharray:5 3}
.map-city:hover .map-city-selection,.map-city:focus-visible .map-city-selection{opacity:.8}
.map-city:hover .map-city-building,.map-city:focus-visible .map-city-building{filter:url(#map-shadow)}
.map-city-selected .map-city-halo{opacity:.24}
.map-city-selected .map-city-selection{opacity:1;stroke:#f9edc2;stroke-width:3;stroke-dasharray:none;filter:drop-shadow(0 0 2px #6d542b)}
.map-city-selected .map-city-building{filter:url(#map-shadow)}
.map-city-target .map-city-selection{opacity:.8;stroke:#a26e31;stroke-width:2}
.map-banner-pole{fill:none;stroke:#5a5541;stroke-width:1.8}
.map-banner-cloth{fill:var(--map-faction);stroke:#f0dec0;stroke-width:.6}
.map-banner text{font-family:"STKaiti","KaiTi",serif;font-size:14px;fill:#fff2d3;text-anchor:middle;font-weight:bold}
.map-city-label rect{fill:#e6dfc9;stroke:#8e967b;stroke-width:.7;opacity:.94}
.map-city-label text{fill:#303e2f;text-anchor:middle;font-family:"STKaiti","KaiTi","Microsoft YaHei",serif;font-size:18px;font-weight:600;letter-spacing:3px;paint-order:stroke;stroke:#e6dfc955;stroke-width:.7}
.map-city-owned .map-city-label rect{fill:#f0e8d1;stroke:var(--map-faction);stroke-width:1.2}
.map-city-selected .map-city-label rect{fill:#2d4035;stroke:#e6d7a6;stroke-width:1.3}
.map-city-selected .map-city-label text{fill:#f5e4ba;stroke:none}
.map-city-troops{fill:#405340;text-anchor:middle;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;paint-order:stroke;stroke:#d6d7bf;stroke-width:3;stroke-linejoin:round}
.map-action-used{fill:#536e55;stroke:#e3e0c6;stroke-width:1}
.map-action-check{fill:none;stroke:#f0edce;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.map-target-label{fill:#845b26;text-anchor:middle;font-size:13px;font-weight:700;paint-order:stroke;stroke:#e4ddc4;stroke-width:4;stroke-linejoin:round}
.map-army{cursor:pointer;outline:none;filter:url(#map-shadow)}
.map-army circle{fill:var(--map-faction);stroke:#f1e2bc;stroke-width:1.4}
.map-army:hover circle,.map-army:focus-visible circle{stroke:#fff8e2;stroke-width:3}
.map-army-spear{fill:none;stroke:#fff0c8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.map-army-direction{fill:#f2e1b3;stroke:#46513d;stroke-width:.5}
.map-army rect{fill:#263d32;stroke:#b8bb91;stroke-width:.7}
.map-army text{fill:#f1e3bc;text-anchor:middle;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.map-help{position:absolute;left:20px;bottom:15px;display:flex;align-items:center;gap:8px;pointer-events:none;color:#465b48;font:12px "Microsoft YaHei",sans-serif;letter-spacing:1px;opacity:.8}
.map-help-symbol{font-size:21px;line-height:1}
.map-help[hidden]{display:none}
.map-compact .map-city-label text{font-size:24px;letter-spacing:2px}
.map-compact .map-city-troops{font-size:16px;stroke-width:3.5}
.map-compact .map-target-label{font-size:17px}
.map-compact .map-army text{font-size:14px}
@media(max-width:700px){.map-help{left:12px;bottom:10px;font-size:11px}.map-help-symbol{font-size:18px}.campaign-map::after{box-shadow:inset 0 0 45px #23382b1a}}
@media(prefers-reduced-motion:reduce){.campaign-map *{animation:none!important;transition:none!important}}
