.china-map-section{padding-block:35px 50px;scroll-margin-top:30px}.map-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.map-heading h2{font-size:32px;letter-spacing:3px;margin:12px 0 10px}.map-heading p{font-size:12px;letter-spacing:1px;color:#7c8d76}.map-list-link{font-size:11px;white-space:nowrap;border-bottom:1px solid #b9cbb0;padding-bottom:4px}.china-map-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(230px,1fr);border:1px solid #d4dfcd;background:#f1f4e9}.china-map-canvas{align-self:center;min-width:0}.china-map{width:100%;height:auto;display:block}.province-fill{fill:#b3c9a6;stroke:#f5f6e6;stroke-width:1.2;stroke-linejoin:round;transition:fill .18s;vector-effect:non-scaling-stroke}.map-region:nth-child(3n) .province-fill{fill:#c2d0ac}.map-region:nth-child(4n) .province-fill{fill:#a0bfa3}.map-region:hover .province-fill,.map-region:focus-visible .province-fill,.map-region.is-current .province-fill{fill:#56876e;stroke:#e9ead1;stroke-width:2}.map-region:focus-visible,.map-label-link:focus-visible{outline:none}.map-region:focus-visible .province-fill{stroke:#b36a49;stroke-width:3}.province-fill.unavailable{fill:#d5ddca;opacity:.6}.marine-boundary{fill:#6c8b73;stroke:#6c8b73;stroke-width:.6;pointer-events:none}.province-labels text{font:11px 'Microsoft YaHei',sans-serif;fill:#3e654f;paint-order:stroke;stroke:#d7e2cd;stroke-width:2px;stroke-linejoin:round}.map-label-link:hover text,.map-label-link:focus-visible text{fill:#9b573b;stroke:#f8f5dc}.map-label-link.is-current text{fill:#284d38;font-weight:bold}.map-leader{fill:none;stroke:#86a27f;stroke-width:1.2}.map-pin{fill:#668f70}.callout-bg{fill:#e4ebd8;stroke:#b1c4a7}.inset-title{font:10px 'Microsoft YaHei';fill:#5d7a5b}.map-compass text{font:11px Georgia;fill:#668262}.map-aside{padding:35px 26px;background:#f7f7ed;border-left:1px solid #d4dfcd;display:flex;flex-direction:column}.map-aside h3{font-size:23px;line-height:1.8;letter-spacing:2px;margin:16px 0}.map-aside>p{font-size:11px;color:#819074;min-height:40px}.map-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:300px;overflow:auto;scrollbar-width:thin}.map-shortcuts a{display:flex;justify-content:space-between;gap:3px;font-size:10px;padding:7px 8px;border:1px solid #dde4d1;white-space:nowrap}.map-shortcuts a span{color:#a1ad8f}.map-shortcuts a:hover{background:#e8eedd;border-color:#acbea0}.map-source{font-size:9px;color:#95a187;margin-top:auto;padding-top:20px}.map-source a{text-decoration:underline}
@media(max-width:1100px){.china-map-layout{grid-template-columns:minmax(0,1fr)}.map-aside{border-left:0;border-top:1px solid #d4dfcd;padding:20px}.map-aside h3{display:none}.map-aside>p{min-height:0;margin:10px 0}.map-shortcuts{grid-template-columns:repeat(8,minmax(0,1fr));max-height:none}.map-aside .eyebrow{display:none}}
@media(max-width:640px){.china-map-section{width:94%;padding-block:25px}.map-heading{align-items:start;gap:12px;padding:0 3%}.map-heading h2{font-size:24px;letter-spacing:1px;line-height:1.7}.map-heading p{font-size:10px;max-width:240px}.map-list-link{font-size:9px;margin-top:10px}.map-aside{padding:15px}.map-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.map-shortcuts a{font-size:11px;min-height:36px;align-items:center;padding:6px 8px}.province-labels text{font-size:12px}.map-source{padding-top:15px}.map-aside>p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.province-fill{transition:none}}
.sea-inset .province-fill{fill:#75936f;stroke:#75936f;stroke-width:.45}.sea-inset .marine-boundary{stroke-width:.8}
@media(max-width:640px){.map-shortcuts a{min-height:42px}}
.china-map-panel{min-width:0;position:relative}.map-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:10px 14px;background:#eaf0e3;border-bottom:1px solid #d5dfcb}.map-toolbar button{border:1px solid #b9cbb0;background:#f5f6e9;min-width:34px;height:32px;padding:2px 10px;font-size:13px}.map-toolbar button:disabled{opacity:.35;cursor:default}.map-toolbar span{font:10px Arial;color:#809376;min-width:34px;text-align:center}.china-map-canvas{overflow:auto;max-height:650px;overscroll-behavior:contain;scrollbar-width:thin}.china-map-canvas .china-map{width:calc(100% * var(--map-scale,1));max-width:none}.map-search{display:flex;flex-direction:column;gap:8px;margin:2px 0 14px}.map-search span{font-size:10px;color:#819575}.map-search input{width:100%;min-height:38px;background:#f4f6e9;border:1px solid #cbd9c0;padding:8px 10px;font-size:11px;color:#4e7153}.map-shortcuts a[hidden]{display:none}.map-region.is-hovered .province-fill,.map-region.is-search-match .province-fill{fill:#699274;stroke:#ecead0;stroke-width:2}.map-label-link.is-hovered text{fill:#945437;stroke:#f4f1d9}.map-shortcuts a.is-hovered{background:#dce8cf;border-color:#a4bd97}.sea-inset .map-region.is-hovered .province-fill{fill:#4d7759}
@media(max-width:640px){.china-map-canvas{max-height:65vh}.map-toolbar{padding:7px 10px}.map-toolbar button{height:36px;min-width:36px}.map-search{margin-bottom:10px}.map-search input{font-size:12px;min-height:42px}}

/* Illustrated 2D relief and selected-place preview. */
.terrain-relief{isolation:isolate}.is-flat-map .terrain-relief{display:none}
.china-map .province-shapes .province-fill{fill:#c3d3ad}
.china-map .map-region:hover .province-fill,.china-map .map-region:focus-visible .province-fill,.china-map .map-region.is-hovered .province-fill,.china-map .map-region.is-search-match .province-fill{fill:#a7c397}
.china-map .map-region.is-weather-selected .province-fill{fill:#dcd5aa;stroke:#a56745;stroke-width:2.5}
.china-map .map-selection-pin[hidden]{display:none}
.china-map .province-labels text{fill:#354e41;stroke:#f2efdc;stroke-width:3px;font-size:11px}
.map-layer-toggle{margin-right:auto!important;font-size:11px!important;color:#355b45}.map-layer-toggle[aria-pressed=true]{background:#d8e3cc;border-color:#8da47c}
.map-terrain-legend{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px 18px;border-top:1px solid #d4dfcd;color:#64785e;background:#edf1e3;font-size:11px}
.map-terrain-legend span{display:flex;align-items:center;gap:9px}.map-terrain-legend i{display:inline-block;width:70px;height:8px;border-radius:5px;background:linear-gradient(90deg,#c3d3ad,#d6c69d,#667f69)}.map-terrain-legend small{font-size:10px}
.map-place{padding-bottom:23px;margin-bottom:22px;border-bottom:1px solid #d1dcc7;scroll-margin-top:20px}.map-place[hidden]{display:none}.map-aside .map-place h3{display:block;font-size:29px;letter-spacing:2px;line-height:1.4;margin:10px 0}.map-place-heading>p{font-size:12px;line-height:1.9;color:#64785e;margin:0 0 16px}.map-place figure{margin:0}.map-place img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:3px;background:#e1e7d6}.map-place figcaption{font-size:9px;line-height:1.7;color:#7c8b71;margin:7px 0 14px}.map-place figcaption a{display:block;text-decoration:underline}.map-place figcaption a[hidden]{display:none}.map-place-explore{display:flex;justify-content:space-between;border:1px solid #a9b99b;padding:11px 14px;color:#41634e;font-size:12px;background:#ecf0e1}.map-place-explore:hover{background:#dce7cf}.map-place-explore:focus-visible,.map-toolbar button:focus-visible{outline:2px solid #a56745;outline-offset:3px}
.weather-map-section .map-aside{max-height:none}
@media(max-width:950px){.map-place{max-width:580px;width:100%;margin-inline:auto}.map-place .eyebrow{display:inline}.map-place img{max-height:240px}.map-terrain-legend{padding:12px;font-size:10px}.map-toolbar{flex-wrap:wrap}}

.is-flat-map .terrain-base{display:none}.terrain-borders{opacity:.65}.china-map .province-labels text{stroke:#fff8df;stroke-width:3.4px;fill:#213e32}.china-map .map-selection-pin{filter:drop-shadow(0 2px 2px #233e3377)}

/* ===== Flat 2D map: calm categorical palette, no shadows or relief ===== */
.is-flat-map .china-map{filter:none}
.is-flat-map .province-shapes .province-fill{stroke:#f7f8ea;stroke-width:1.1;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.is-flat-map .province-shapes .map-region:nth-child(5n+1) .province-fill{fill:#b7cdb2}
.is-flat-map .province-shapes .map-region:nth-child(5n+2) .province-fill{fill:#a7c4b3}
.is-flat-map .province-shapes .map-region:nth-child(5n+3) .province-fill{fill:#c6d2a9}
.is-flat-map .province-shapes .map-region:nth-child(5n+4) .province-fill{fill:#b2c7bd}
.is-flat-map .province-shapes .map-region:nth-child(5n+5) .province-fill{fill:#ccd6b3}
.is-flat-map .province-shapes .province-fill.unavailable{fill:#d9e0cf;opacity:.65}
.is-flat-map .map-region:hover .province-fill,
.is-flat-map .map-region:focus-visible .province-fill,
.is-flat-map .map-region.is-hovered .province-fill,
.is-flat-map .map-region.is-search-match .province-fill{fill:#83a98e;stroke:#eef0d8;stroke-width:1.6}
.is-flat-map .map-region:focus-visible .province-fill{stroke:#a56745;stroke-width:2.6}
.is-flat-map .map-region.is-weather-selected .province-fill{fill:#dcd5aa;stroke:#a56745;stroke-width:2.4}
.is-flat-map .terrain-borders{display:none}
.is-flat-map .unavailable-label{font:11px 'Microsoft YaHei',sans-serif;fill:#9aa794;paint-order:stroke;stroke:#eef1e6;stroke-width:2px}
/* English labels use a Latin font and sit slightly smaller. */
[data-lang="en"].is-flat-map .province-labels text,
.weather-map-section[data-lang="en"] .province-labels text{font-family:Arial,Helvetica,sans-serif;font-size:9.5px;letter-spacing:.2px}
/* Legend swaps between relief and flat wording. */
.flat-legend-label{display:none;font-size:11px;color:#5a735e}
.is-flat-map .relief-legend-label{display:none}
.is-flat-map .flat-legend-label{display:inline}
@media(max-width:640px){
 [data-lang="en"].is-flat-map .province-labels text{font-size:11px}
 .is-flat-map .unavailable-label{font-size:12px}
}

/* ===== Mobile height stability: some phone WebViews (WeChat X5, older Safari)
   collapse an auto-height SVG inside an overflow:auto, content-sized box.
   Give the SVG an intrinsic ratio so its height never depends on the box. ===== */
.china-map-canvas .china-map{height:auto;aspect-ratio:980/720}
@media(max-width:640px){
 .weather-map-section .china-map-panel .china-map-canvas{max-height:none}
 .china-map-canvas .china-map{width:100%;max-width:none}
}
@supports not (aspect-ratio:980/720){
 @media(max-width:640px){
  .china-map-canvas .china-map{height:69vw}
 }
}
