.sd-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 4px 0 20px; }
.sd-stats div { padding: 12px 14px; border-right: 1px solid var(--line); }
.sd-stats div:last-child { border-right: 0; }
.sd-stats b { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.sd-stats span { display: block; margin-top: 3px; font-size: 10px; line-height: 1.5; color: var(--ink-3); }
.sd-callout { border-left: 2px solid var(--red); background: var(--paper-2); padding: 11px 14px; margin: 0 0 12px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }
.sd-callout b { color: var(--ink); }
.sd-intro { margin: 0; font-size: 12px; line-height: 1.85; color: var(--ink-2); }
.sd-kicker { margin: 0 0 4px; font-family: var(--sans); font-size: 9px; letter-spacing: .14em; color: var(--red); }
.sd-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 9px; }
.sd-head h2 { margin: 0; }
.sd-head > p { max-width: 340px; margin: 0; font-size: 10px; line-height: 1.7; color: var(--ink-3); text-align: right; }
.sd-map-wrap { position: relative; border: 1px solid var(--line); background: #e6eee9; }
.sd-all-map { width: 100%; height: 560px; }
.sd-legend { position: absolute; left: 12px; bottom: 12px; z-index: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; background: rgba(251,246,234,.94); padding: 4px 8px; font-family: var(--sans); font-size: 8px; color: var(--ink-3); }
.sd-legend span { display: inline-flex; align-items: center; gap: 4px; }
.sd-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.sd-dot--culture { background: #8f3f31; }
.sd-dot--nature { background: #3f6655; }
.sd-dot--star { background: transparent; color: #a94738; font-size: 13px; line-height: 9px; width: auto; height: auto; }
.sd-line { width: 18px; height: 0; border-top: 2px dashed #8a6338; display: inline-block; }
.sd-map-note { margin: 6px 0 0; font-size: 9px; line-height: 1.6; color: var(--ink-3); }
.sd-route-strip { display: flex; flex-wrap: wrap; gap: 3px 8px; margin: 9px 0 0; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sd-route-strip span { font-size: 9px; line-height: 1.6; color: var(--ink-3); }
.sd-route-strip b { color: var(--ink-2); font-weight: 400; }
.sd-route-strip i { font-style: normal; color: var(--red); }
.sd-border-table { border-top: 1px solid var(--ink); }
.sd-border-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr 50px; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 10px; color: var(--ink-2); }
.sd-border-row.head { color: var(--ink-3); font-size: 8px; letter-spacing: .05em; }
.sd-border-row b { font-weight: 400; color: var(--ink); }
.sd-border-row em { font-style: normal; color: var(--red); font-size: 8px; }
.sd-country-block { margin-bottom: 20px; border-top: 1px solid var(--ink); padding-top: 8px; }
.sd-country-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sd-country-head h3 { margin: 0; font-family: var(--serif); font-size: 23px; }
.sd-country-head span { font-size: 9px; color: var(--ink-3); }
.sd-country-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; align-items: stretch; }
.sd-country-map { min-height: 260px; height: 100%; border: 1px solid var(--line); background: #e6eee9; z-index: 0; }
.sd-country-sites { display: grid; grid-template-columns: 1fr; gap: 3px; align-content: start; }
.sd-site { border-bottom: 1px solid var(--line-soft); padding: 4px 0 5px; }
.sd-site-top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--sans); font-size: 8px; color: var(--ink-3); }
.sd-site-top b { font-weight: 400; color: var(--red); }
.sd-site h4 { margin: 2px 0 1px; font-family: var(--serif); font-size: 13px; line-height: 1.4; }
.sd-site p { margin: 0; font-size: 8.5px; line-height: 1.55; color: var(--ink-3); }
.sd-site .en { color: var(--ink-3); font-size: 7.5px; }
.sd-badge { display: inline-block; margin-left: 4px; padding: 0 3px; border: 1px solid var(--line); font-family: var(--sans); font-size: 7px; color: var(--ink-3); vertical-align: 1px; }
.sd-china-lede { max-width: 880px; margin: 0 0 9px; font-size: 11.5px; line-height: 1.8; color: var(--ink-2); }
.sd-china-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sd-china-card { border: 1px solid var(--line); background: var(--paper); padding: 9px 11px; }
.sd-china-card-top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--sans); font-size: 8px; color: var(--ink-3); }
.sd-china-card-top b { font-weight: 400; color: var(--red); }
.sd-china-card h3 { margin: 3px 0 2px; font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.sd-china-card .where { margin: 0 0 4px; color: var(--red); font-size: 9px; }
.sd-china-card p { margin: 0; font-size: 9.5px; line-height: 1.65; color: var(--ink-3); }
.sd-china-card .access { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-soft); color: var(--ink-3); font-size: 8.5px; }
.sd-notes { margin: 0; padding-left: 18px; }
.sd-notes li { margin: 0 0 6px; font-size: 11px; line-height: 1.75; color: var(--ink-2); }
.sd-sources { margin: 10px 0 0; padding-left: 18px; }
.sd-sources li { margin: 0 0 5px; font-size: 10px; line-height: 1.7; }
.sd-sources a { color: var(--red); }
.sd-pin-wrap { background: transparent; border: 0; }
.sd-pin { display: flex; align-items: center; justify-content: center; width: 23px; height: 23px; border-radius: 50%; border: 1.5px solid #fff; background: var(--pin, #8f3f31); color: #fff; font-family: var(--mono); font-size: 7px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.sd-star { font-size: 22px; color: #a94738; text-shadow: 0 1px 2px #fff, 0 0 4px #fff; line-height: 22px; }
.leaflet-popup-content { font: 11px/1.65 var(--sans); }
.leaflet-popup-content b { font-family: var(--serif); font-size: 15px; }
.sd-pop-meta { color: #6b6258; font-size: 9px; margin: 2px 0 5px; }
@media (max-width: 900px) {
  .sd-country-body { grid-template-columns: 1fr; }
  .sd-country-map { height: 300px; min-height: 0; }
}
@media (max-width: 760px) {
  .sd-stats { grid-template-columns: 1fr 1fr; }
  .sd-stats div:nth-child(2) { border-right: 0; }
  .sd-stats div:nth-child(1), .sd-stats div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .sd-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .sd-head > p { text-align: left; }
  .sd-all-map { height: 420px; }
  .sd-china-grid { grid-template-columns: 1fr; }
  .sd-border-row { grid-template-columns: 1fr 1fr; }
  .sd-border-row span:nth-child(3), .sd-border-row em { display: none; }
}

.sd-ming-lede, .sd-china-lede, .sd-zh-lede { max-width: 900px; margin: 0 0 9px; font-size: 11.5px; line-height: 1.8; color: var(--ink-2); }
.sd-ming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sd-ming-card { border: 1px solid var(--line); background: var(--paper); padding: 9px 11px; }
.sd-ming-card span { font-family: var(--sans); font-size: 8px; color: var(--red); }
.sd-ming-card h3 { margin: 3px 0 2px; font-family: var(--serif); font-size: 16px; }
.sd-ming-card p { margin: 0; font-size: 9.5px; line-height: 1.65; color: var(--ink-3); }
.sd-ming-route { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.sd-ming-route div { background: var(--paper-2); padding: 8px 9px; }
.sd-ming-route span { display: block; font-family: var(--sans); font-size: 8px; color: var(--ink-3); }
.sd-ming-route b { display: block; margin: 2px 0; font-family: var(--serif); font-size: 12px; line-height: 1.45; }
.sd-ming-route p { margin: 0; font-size: 8.5px; line-height: 1.55; color: var(--ink-3); }
.sd-link { display: inline-block; margin-top: 10px; padding: 7px 10px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 10px; }
.sd-link:hover { color: var(--red); border-color: var(--red); }
.sd-zh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.sd-zh-card { border: 1px solid var(--line); background: var(--paper); padding: 8px 10px; }
.sd-zh-card span { display: block; font-family: var(--sans); font-size: 8px; color: var(--ink-3); }
.sd-zh-card h3 { margin: 2px 0; font-family: var(--serif); font-size: 14px; }
.sd-zh-card p { margin: 0; font-size: 8.5px; line-height: 1.55; color: var(--ink-3); }
.sd-zh-note { margin: 7px 0 0; font-size: 9px; line-height: 1.65; color: var(--ink-3); }
.sd-zh-note a { color: var(--red); }
@media (max-width: 900px) {
  .sd-ming-route, .sd-zh-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .sd-ming-grid, .sd-ming-route, .sd-zh-grid { grid-template-columns: 1fr; }
}
