/* ================================================================
   寻水脉 · 页面样式（作用域限定 body.map-page）
   ================================================================ */

/* ---- 页面级设计令牌（覆盖共享变量，仅作用于本页） ---- */
body.map-page {
  --paper:        #F4F1E8;
  --paper-warm:   #E5EFEC;
  --paper-deep:   #DDE8E2;
  --ink:          #202B29;
  --ink-soft:     #173B39;
  --ink-mid:      #687471;
  --ink-light:    #98A29F;
  --jade:         #145B54;
  --jade-deep:    #173B39;
  --jade-light:   #4F8FA3;
  --gold:         #C5A15A;
  --gold-light:   #D8BE85;
  --gold-muted:   rgba(197, 161, 90, 0.14);
  --blue-ink:     #2D4A5C;
  --vermillion:   #B5453A;
  --border-soft:  rgba(20, 91, 84, 0.14);
  --r-md:         12px;
  --r-lg:         20px;
  --motion-fast:  180ms;
  --motion-base:  320ms;
  --motion-slow:  620ms;
  background: var(--paper);
  color: var(--text);
}

body.map-page::before {
  background:
    radial-gradient(ellipse at 12% 22%, rgba(20, 91, 84, 0.035) 0%, transparent 48%),
    radial-gradient(ellipse at 88% 76%, rgba(79, 143, 163, 0.03) 0%, transparent 46%);
}

/* 焦点可见 */
.map-page :focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

.map-page ::selection { background: rgba(20, 91, 84, 0.16); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   通用区块标题
   ================================================================ */
.map-page .mp-section-head {
  text-align: left;
  margin-bottom: 36px;
}
.map-page .mp-routes .mp-section-head,
.map-page .mp-logic .mp-section-head,
.map-page .mp-map .mp-section-head,
.map-page .mp-reflection .mp-section-head,
.map-page .mp-imprint .mp-section-head {
  text-align: center;
}
/* ================================================================
   Hero（与首页首屏一致的代码结构：文字部分完全相同，仅右侧无图片）
   ================================================================ */
.map-page .mp-hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-space) 0 calc(var(--section-space) - 24px);
  background:
    radial-gradient(900px 420px at 6% 0%, rgba(23, 101, 95, 0.05) 0%, transparent 62%),
    radial-gradient(720px 360px at 94% 100%, rgba(198, 161, 91, 0.07) 0%, transparent 64%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--border-soft);
  min-height: clamp(560px, 74vh, 680px);
  display: grid;
  align-items: center;
}
.map-page .mp-hero-inner {
  display: grid;
  grid-template-columns: 54fr 46fr;
  gap: clamp(36px, 4vw, 56px);
  align-items: center;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 0 var(--space-lg);
}
.map-page .mp-hero-copy {
  max-width: 560px;
  justify-self: start;
  padding-inline: 4px;
}
.map-page .mp-hero-kicker {
  margin-bottom: 20px;
  animation: mpHeroFadeUp 480ms var(--ease-out) 0ms both;
}
.map-page .mp-hero-title {
  margin: 0 0 20px;
}
.map-page .mp-hero-line {
  display: inline;
}
.map-page .mp-hero-line-1 {
  animation: mpHeroFadeUp 520ms var(--ease-out) 80ms both;
}
.map-page .mp-hero-line-2 {
  animation: mpHeroFadeUp 520ms var(--ease-out) 200ms both;
}
.map-page .mp-hero-sub {
  margin-bottom: 14px;
  animation: mpHeroFadeUp 520ms var(--ease-out) 340ms both;
}
.map-page .mp-hero-desc {
  max-width: 540px;
  margin-bottom: 30px;
  animation: mpHeroFadeUp 520ms var(--ease-out) 420ms both;
}
.map-page .mp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: mpHeroFadeUp 520ms var(--ease-out) 520ms both;
}
.map-page .mp-hero-btn { min-height: 44px; border-radius: 8px; }
.map-page .mp-hero-btn-ghost {
  background: transparent;
  color: var(--jade);
  border: 1px solid var(--border-soft);
}
.map-page .mp-hero-btn-ghost:hover {
  border-color: var(--jade);
}
/* 右侧占位：与首页首屏配图同尺寸（不可见），保证文字位置与首页完全一致 */
.map-page .mp-hero-spacer {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  visibility: hidden;
}
.map-page .mp-hero-spacer-media {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.map-page .mp-hero-spacer-ripple {
  height: 34px;
  margin-top: 2px;
}
.map-page .mp-hero-spacer-caption {
  height: 22.4px;
  margin-top: 10px;
}
@keyframes mpHeroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.map-page .mp-sidebar,
.map-page .mp-status-bar,
.map-page .mp-detail {
  font-family: var(--font-body);
  border-radius: 12px;
  box-shadow: none;
}
.map-page .mp-sidebar-title,
.map-page .mp-detail-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.map-page .mp-sidebar-title::after,
.map-page .mp-detail-title::after {
  content: '';
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.map-page .mp-search input,
.map-page .mp-filter-tag,
.map-page .mp-status-item strong,
.map-page .mp-status-item span,
.map-page .mp-point-item-name,
.map-page .mp-point-item-meta,
.map-page .mp-point-item-cats,
.map-page .mp-detail-summary,
.map-page .mp-meta-chip,
.map-page .mp-observe p,
.map-page .mp-reflection-stage,
.map-page .mp-reflection-question,
.map-page .mp-reflection-conclusion {
  font-family: var(--font-body);
}

/* ================================================================
   统一微交互（作用于本页按钮 / 链接）
   ================================================================ */
.map-page .btn {
  transition: transform var(--motion-fast) var(--ease-out),
    background-color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out);
}
.map-page .btn:active { transform: none; }
.map-page .btn-primary:hover {
  background: var(--jade-deep);
  box-shadow: none;
  transform: translateY(-2px);
}
.map-page .btn-outline:hover {
  background: transparent;
  border-color: var(--jade);
  color: var(--jade);
  transform: none;
}

/* ---- 关系图：底图元素（首屏关系图已移除，保留样式供历史参考） ---- */
.map-page .mpv-ripple ellipse {
  fill: none;
  stroke: rgba(20, 91, 84, 0.14);
  stroke-width: 1.2;
}
.map-page .mpv-linework {
  fill: none;
  stroke: rgba(20, 91, 84, 0.22);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.map-page .mpv-linework-shore { stroke-dasharray: 3 6; }

/* ---- 关系图：路径与流动虚线 ---- */
.map-page .mpv-path,
.map-page .mpv-flow {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.map-page .mpv-path[data-route="yangtze"],
.map-page .mpv-flow[data-route="yangtze"] { stroke: #203E4D; }
.map-page .mpv-path[data-route="qinhuai"],
.map-page .mpv-flow[data-route="qinhuai"] { stroke: #124E47; }
.map-page .mpv-path[data-route="lakes"],
.map-page .mpv-flow[data-route="lakes"] { stroke: #87702F; }
.map-page .mpv-path[data-route="city-water"],
.map-page .mpv-flow[data-route="city-water"] { stroke: #93382E; }

.map-page .mpv-flow {
  stroke-width: 2.4;
  stroke-dasharray: 2 14;
  opacity: 0;
  transition: opacity var(--motion-base);
  pointer-events: none;
}
.map-page #mpVein[data-active-route="yangtze"] .mpv-flow[data-route="yangtze"],
.map-page #mpVein[data-active-route="qinhuai"] .mpv-flow[data-route="qinhuai"],
.map-page #mpVein[data-active-route="lakes"] .mpv-flow[data-route="lakes"],
.map-page #mpVein[data-active-route="city-water"] .mpv-flow[data-route="city-water"] {
  opacity: 0.55;
  animation: mpvFlowDash 6s linear infinite;
}
@keyframes mpvFlowDash { to { stroke-dashoffset: -160; } }

/* 非激活路径在选定路径后弱化 */
.map-page #mpVein[data-active-route] .mpv-path {
  opacity: 0.28;
  transition: opacity var(--motion-base);
}
.map-page #mpVein[data-active-route="yangtze"] .mpv-path[data-route="yangtze"],
.map-page #mpVein[data-active-route="qinhuai"] .mpv-path[data-route="qinhuai"],
.map-page #mpVein[data-active-route="lakes"] .mpv-path[data-route="lakes"],
.map-page #mpVein[data-active-route="city-water"] .mpv-path[data-route="city-water"] {
  opacity: 1;
}

/* ---- 关系图：描边入场动画 ---- */
.map-page .mpv-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: mpvDraw 0.55s var(--ease-out) forwards;
}
.map-page .mpv-path[data-route="yangtze"] { animation-delay: 0s; }
.map-page .mpv-path[data-route="qinhuai"] { animation-delay: 0.35s; }
.map-page .mpv-path[data-route="lakes"] { animation-delay: 0.7s; }
.map-page .mpv-path[data-route="city-water"] { animation-delay: 1.05s; }
@keyframes mpvDraw { to { stroke-dashoffset: 0; } }

/* ---- 关系图：节点 ---- */
.map-page .mpv-nodes { transition: transform var(--motion-base); }
.map-page .mpv-node { cursor: pointer; }
.map-page .mpv-node .mpv-ring {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  transition: r var(--motion-base), stroke-width var(--motion-base);
}
.map-page .mpv-node .mpv-core { fill: currentColor; }
.map-page .mpv-node .mpv-num {
  font-size: 12px;
  font-weight: 700;
  fill: var(--ink-soft);
  text-anchor: middle;
  pointer-events: none;
}
.map-page .mpv-node[data-route="yangtze"] { color: #2D4A5C; }
.map-page .mpv-node[data-route="qinhuai"] { color: #1A5C52; }
.map-page .mpv-node[data-route="lakes"] { color: #B49A5A; }
.map-page .mpv-node[data-route="city-water"] { color: #B5453A; }

.map-page .mpv-node {
  opacity: 0;
  animation: mpvNodeIn 0.5s var(--ease-out) forwards;
  animation-delay: calc(0.5s + var(--n) * 0.07s);
}
@keyframes mpvNodeIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.map-page .mpv-node:hover .mpv-ring {
  stroke-width: 2.6;
}
.map-page .mpv-node:hover .mpv-ring,
.map-page .mpv-node.is-active .mpv-ring {
  r: 13;
}

/* 激活路径的节点呼吸（transform 驱动，性能友好） */
.map-page #mpVein[data-active-route="yangtze"] .mpv-node[data-route="yangtze"] .mpv-ring,
.map-page #mpVein[data-active-route="qinhuai"] .mpv-node[data-route="qinhuai"] .mpv-ring,
.map-page #mpVein[data-active-route="lakes"] .mpv-node[data-route="lakes"] .mpv-ring,
.map-page #mpVein[data-active-route="city-water"] .mpv-node[data-route="city-water"] .mpv-ring {
  animation: mpvBreathe 3.2s ease-in-out infinite;
}
@keyframes mpvBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

.map-page #mpVein[data-active-route] .mpv-node {
  opacity: 0.35;
}
.map-page #mpVein[data-active-route="yangtze"] .mpv-node[data-route="yangtze"],
.map-page #mpVein[data-active-route="qinhuai"] .mpv-node[data-route="qinhuai"],
.map-page #mpVein[data-active-route="lakes"] .mpv-node[data-route="lakes"],
.map-page #mpVein[data-active-route="city-water"] .mpv-node[data-route="city-water"] {
  opacity: 1;
}

/* ================================================================
   文化观察路径
   ================================================================ */
.map-page .mp-routes {
  padding: 56px 0 64px;
  background: var(--paper-warm);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.map-page .mp-route-stage {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
/* 统一分隔：不再使用通栏装饰波浪线 */
.map-page .mp-route-wave {
  display: none;
}
.map-page .mp-route-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.map-page .mp-route-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px 16px;
  background: transparent;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--motion-fast);
}
.map-page .mp-route-tab:hover { background: rgba(20, 91, 84, 0.05); }
.map-page .mp-route-index {
  /* 排版与金色序号由 .ds-num 提供 */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--paper);
  transition: border-color var(--motion-base), color var(--motion-base), transform var(--motion-base);
}
/* 双层水纹环（transform/opacity 驱动） */
.map-page .mp-route-index::before,
.map-page .mp-route-index::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(197, 161, 90, 0.55);
  opacity: 0;
  pointer-events: none;
}
.map-page .mp-route-tab[aria-selected="true"] .mp-route-index::before {
  animation: mpRingPulse 2.8s ease-out infinite;
}
.map-page .mp-route-tab[aria-selected="true"] .mp-route-index::after {
  animation: mpRingPulse 2.8s ease-out 1.4s infinite;
}
@keyframes mpRingPulse {
  0% { transform: scale(1); opacity: 0.55; }
  75%, 100% { transform: scale(1.55); opacity: 0; }
}
.map-page .mp-route-tab[aria-selected="true"] .mp-route-index {
  color: var(--gold);
  border-color: var(--gold);
}
.map-page .mp-route-tab:hover .mp-route-index {
  color: var(--gold);
  border-color: rgba(197, 161, 90, 0.7);
  transform: scale(1.05);
}
.map-page .mp-route-tab:hover .mp-route-index::after {
  animation: mpRingPulse 0.9s ease-out infinite;
}
.map-page .mp-route-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 1px;
  transition: color var(--motion-fast);
}
.map-page .mp-route-tab[aria-selected="true"] .mp-route-name { color: var(--ink-soft); }
.map-page .mp-route-theme {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 2px;
}
.map-page .mp-route-panels { margin-top: 24px; }
.map-page .mp-route-panel {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 24px 28px;
  text-align: center;
  animation: mpPanelIn var(--motion-base) var(--ease-out) both;
}
@keyframes mpPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.map-page .mp-route-question {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.map-page .mp-route-desc {
  font-size: 14px;
  color: var(--jade);
  letter-spacing: 1px;
}

/* ================================================================
   从生态智慧到和平品格
   ================================================================ */
.map-page .mp-logic { padding: 32px 0 36px; }
.map-page .mp-logic .mp-section-head { margin-bottom: 22px; }
.map-page .mp-logic-lead {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 16px;
}
.map-page .mp-logic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  overflow-x: clip;
}
.map-page .mp-logic-item {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--motion-base), border-color var(--motion-base), box-shadow var(--motion-base);
}
.map-page .mp-logic-item:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 91, 84, 0.32);
  box-shadow: var(--shadow-card-hover);
}
.map-page .mp-logic-rail {
  position: absolute;
  top: 50%;
  left: -16px;
  right: -16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20, 91, 84, 0.4), transparent);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity var(--motion-base);
}
.map-page .mp-logic-item:hover .mp-logic-rail { animation: mpRailGlow 1.4s ease-in-out infinite; }
@keyframes mpRailGlow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}
.map-page .mp-logic-grid .mp-logic-item:first-child .mp-logic-rail,
.map-page .mp-logic-grid .mp-logic-item:last-child .mp-logic-rail { display: none; }
.map-page .mp-logic-grid .mp-logic-item:nth-child(2) .mp-logic-rail { right: 0; }
.map-page .mp-logic-grid .mp-logic-item:nth-child(3) .mp-logic-rail { left: 0; }
.map-page .mp-logic-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--jade);
}
.map-page .mp-logic-item h3 {
  margin-bottom: 8px;
}
.map-page .mp-logic-item p {
  /* 排版由 .ds-body-sm 提供 */
  max-width: 220px;
  margin: 0 auto;
}

/* ================================================================
   数字地图探索
   ================================================================ */
.map-page .mp-map {
  padding: 56px 0 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--border-soft);
}
.map-page .mp-map-container { max-width: 1520px; }
.map-page .mp-map-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 400px;
  grid-template-rows: 720px;
  gap: 16px;
}

/* ---- 左侧目录 ---- */
.map-page .mp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper-warm);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 18px;
  min-height: 0;
  overflow: hidden;
}
.map-page .mp-detail-title {
  margin-bottom: 14px;
}
.map-page .mp-search input {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--motion-fast);
}
.map-page .mp-search input:focus { border-color: var(--jade); }
.map-page .mp-search input::placeholder { color: var(--ink-light); }
.map-page .mp-filter-blocks { display: flex; flex-direction: column; gap: 12px; }
.map-page .mp-filter-block { display: flex; flex-direction: column; gap: 8px; }
.map-page .mp-filter-label {
  /* 排版与胶囊样式由 .ds-tag 提供 */
}
.map-page .mp-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.map-page .mp-filter-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--jade);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  cursor: pointer;
  letter-spacing: 1px;
  align-items: center;
  justify-content: space-between;
}
.map-page .mp-filter-toggle::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--jade);
  transition: transform var(--motion-fast);
}
.map-page .mp-filter-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

.map-page .mp-filter-tag {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 14px;
  color: var(--ink-mid);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color var(--motion-fast), color var(--motion-fast), background var(--motion-fast);
}
.map-page .mp-filter-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background var(--motion-fast);
}
.map-page .mp-filter-tag:hover { border-color: rgba(20, 91, 84, 0.4); color: var(--jade); }
.map-page .mp-filter-tag.active {
  border-color: var(--jade);
  color: var(--jade);
  background: rgba(20, 91, 84, 0.05);
}
.map-page .mp-filter-tag.active::before { background: var(--gold); }
.map-page .mp-sidebar-count {
  font-size: 12px;
  color: var(--ink-mid);
}
.map-page .mp-sidebar-count strong { color: var(--jade); }
.map-page .mp-point-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}
.map-page .mp-point-list::-webkit-scrollbar { width: 5px; }
.map-page .mp-point-list::-webkit-scrollbar-thumb { background: rgba(20, 91, 84, 0.16); border-radius: 3px; }

.map-page .mp-point-item {
  position: relative;
  padding: 12px 12px 12px 16px;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  cursor: pointer;
  transition: transform var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.map-page .mp-point-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--route-color, var(--jade));
  opacity: 0.55;
  transition: opacity var(--motion-fast);
}
.map-page .mp-point-item:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 91, 84, 0.34);
  box-shadow: 0 4px 12px rgba(20, 91, 84, 0.08);
}
.map-page .mp-point-item.is-active {
  border-color: rgba(198, 161, 91, 0.45);
  background: rgba(198, 161, 91, 0.12);
}
.map-page .mp-point-item.is-active::before { opacity: 1; }
.map-page .mp-point-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
}
.map-page .mp-point-item-name .mp-point-num {
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 500;
  margin-right: 6px;
}
.map-page .mp-point-item-meta {
  font-size: 14px;
  color: var(--ink-mid);
  margin-top: 2px;
}
.map-page .mp-point-item-cats {
  font-size: 14px;
  color: var(--ink-light);
  margin-top: 2px;
}

.map-page .mp-point-empty {
  padding: 28px 12px;
  text-align: center;
}
.map-page .mp-point-empty-title { font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.map-page .mp-point-empty-text { font-size: 12px; color: var(--ink-mid); }

/* ---- 地图 ---- */
.map-page .mp-map-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.map-page .mp-status-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper-warm);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  min-height: 48px;
}
.map-page .mp-status-item { display: flex; align-items: baseline; gap: 8px; }
.map-page .mp-status-label {
  /* 排版与胶囊样式由 .ds-tag 提供 */
}
.map-page .mp-status-item strong { font-size: 14px; color: var(--jade); }
.map-page .mp-status-spacer { flex: 1; }
.map-page #mpResetView {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-page .mp-map-canvas {
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #E8EDE6;
}
.map-page .mp-map-canvas .leaflet-container {
  font-family: var(--font-body);
  height: 100%;
  width: 100%;
}
.map-page .mp-map-canvas .leaflet-tile-pane {
  filter: saturate(0.72) contrast(0.92) brightness(1.04);
}
.map-page .mp-map-canvas .leaflet-control-zoom a {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  color: var(--jade);
  border-color: var(--border-soft);
}
.map-page .mp-map-canvas .leaflet-control-attribution {
  font-size: 12px;
  color: var(--ink-mid);
  background: rgba(244, 241, 232, 0.82);
}

/* ---- 地图 Marker ---- */
.map-page .leaflet-water-marker {
  background: transparent;
  border: none;
}
.map-page .wm {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--motion-base), opacity var(--motion-base);
}
.map-page .wm-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wm-color, var(--jade));
  opacity: 0;
  pointer-events: none;
}
.map-page .wm.is-active .wm-ripple { animation: wmRipple 1.8s ease-out infinite; }
@keyframes wmRipple {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.map-page .wm-inner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--wm-color, var(--jade));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--wm-color, var(--jade));
  box-shadow: 0 2px 8px rgba(20, 91, 84, 0.22);
  transition: transform var(--motion-base);
}
.map-page .wm:hover { transform: scale(1.08); }
.map-page .wm.is-active { transform: scale(1.14); }
.map-page .wm.is-active .wm-inner { transform: scale(1.05); }
.map-page .wm.is-dimmed { opacity: 0.55; }

.map-page .water-tooltip {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  box-shadow: 0 4px 14px rgba(20, 91, 84, 0.12);
  font-family: var(--font-body);
}
.map-page .water-tooltip .wm-tip-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.map-page .water-tooltip .wm-tip-sub {
  font-size: 12px;
  color: var(--ink-mid);
}

/* ---- 右侧证据链 ---- */
.map-page .mp-detail {
  background: var(--paper-warm);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 18px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.map-page .mp-detail-title {
  margin-bottom: 14px;
}
.map-page .mp-detail-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
}
.map-page .mp-detail-body::-webkit-scrollbar { width: 5px; }
.map-page .mp-detail-body::-webkit-scrollbar-thumb { background: rgba(20, 91, 84, 0.16); border-radius: 3px; }

.map-page .mp-detail-empty {
  margin: auto;
  text-align: center;
  padding: 60px 20px;
}
.map-page .mp-detail-empty-icon {
  width: 56px;
  height: 56px;
  color: rgba(20, 91, 84, 0.35);
  margin: 0 auto 16px;
}
.map-page .mp-detail-empty-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.map-page .mp-detail-empty-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 300px;
  margin: 0 auto;
}

/* ---- 证据链详情卡片 ---- */
.map-page .mp-detail-card {
  animation: mpDetailIn var(--motion-base) var(--ease-out) both;
}
@keyframes mpDetailIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.map-page .mp-detail-media {
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--paper-deep);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-page .mp-detail-media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: 50% 0;
  display: block;
}
.map-page .mp-detail-media-fallback {
  font-size: 12px;
  color: var(--ink-mid);
  padding: 24px;
  text-align: center;
}
.map-page .mp-detail-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.map-page .mp-detail-summary {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.map-page .mp-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.map-page .mp-meta-chip {
  font-size: 14px;
  color: var(--jade);
  background: rgba(20, 91, 84, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
}
.map-page .mp-meta-chip.gold {
  color: #8a6a2f;
  background: rgba(197, 161, 90, 0.16);
}

/* ---- 关联水德（低调链接，跳转悟水德） ---- */
.map-page .mp-virtue-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-left: 2px solid rgba(197, 161, 90, 0.5);
  background: rgba(247, 243, 232, 0.55);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.map-page .mp-virtue-links-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink-mid);
  opacity: 0.75;
}
.map-page .mp-virtue-link {
  font-size: 12px;
  font-weight: 600;
  color: #8a6a2f;
  text-decoration: underline;
  text-decoration-color: rgba(138, 106, 47, 0.35);
  text-underline-offset: 3px;
  transition: color var(--motion-base) ease, text-decoration-color var(--motion-base) ease;
}
.map-page .mp-virtue-link:hover,
.map-page .mp-virtue-link:focus-visible {
  color: #5f4a1e;
  text-decoration-color: #5f4a1e;
}
.map-page .mp-virtue-link-plain {
  text-decoration: none;
}

/* ---- 证据链五步 ---- */
.map-page .mp-chain {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 4px 0 18px;
  position: relative;
}
.map-page .mp-chain::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: rgba(20, 91, 84, 0.14);
}
.map-page .mp-chain-fill {
  position: absolute;
  top: 13px;
  left: 12px;
  height: 2px;
  background: var(--jade);
  transition: width var(--motion-base) var(--ease-out);
}
.map-page .mp-chain-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.map-page .mp-chain-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid rgba(20, 91, 84, 0.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--motion-base);
}
.map-page .mp-chain-step.is-active .mp-chain-dot {
  background: var(--jade);
  border-color: var(--jade);
  color: #fff;
}
.map-page .mp-chain-step.is-done .mp-chain-dot {
  border-color: var(--jade);
  color: var(--gold);
}
.map-page .mp-chain-name {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 1px;
  transition: color var(--motion-fast);
}
.map-page .mp-chain-step.is-active .mp-chain-name { color: var(--jade); font-weight: 600; }

/* ---- 证据链面板 ---- */
.map-page .mp-chain-panel {
  animation: mpDetailIn var(--motion-base) var(--ease-out) both;
}
.map-page .mp-chain-panel p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-muted);
}
.map-page .mp-chain-panel .mp-subhead {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  margin: 16px 0 8px;
}
.map-page .mp-chain-panel .mp-subhead:first-child { margin-top: 0; }

.map-page .mp-expand-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: none;
  font-size: 12px;
  color: var(--jade);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-page .mp-expand-btn:hover { color: var(--jade-deep); }

/* ---- 文献 / 工程史料 / 传说 / 来源 ---- */
.map-page .mp-collapse {
  margin-top: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  background: var(--paper);
  overflow: hidden;
}
.map-page .mp-collapse summary {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jade);
  cursor: pointer;
  letter-spacing: 1px;
}
.map-page .mp-collapse[open] summary { border-bottom: 1px solid var(--border-soft); }
.map-page .mp-lit-list,
.map-page .mp-src-list {
  list-style: none;
  padding: 10px 14px;
}
.map-page .mp-lit-list li,
.map-page .mp-src-list li { margin-bottom: 10px; }
.map-page .mp-lit-list li:last-child,
.map-page .mp-src-list li:last-child { margin-bottom: 0; }
.map-page .mp-lit-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.map-page .mp-lit-meta {
  font-size: 12px;
  color: var(--ink-light);
  margin-left: 6px;
}
.map-page .mp-lit-text {
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-top: 4px;
}
.map-page .mp-src-title { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.map-page .mp-src-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--jade);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-page .mp-src-link:hover { color: var(--jade-deep); }
.map-page .mp-src-meta {
  font-size: 12px;
  color: var(--ink-light);
  display: block;
  margin-top: 2px;
}
.map-page .mp-src-pending {
  font-size: 12px;
  color: var(--ink-light);
  margin-left: 6px;
}
.map-page .mp-badge {
  font-size: 12px;
  border-radius: var(--r-sm);
  padding: 1px 8px;
  margin-left: 6px;
}
.map-page .mp-badge.note { background: rgba(79, 143, 163, 0.14); color: var(--jade-light); }
.map-page .mp-badge.warn { background: rgba(181, 69, 58, 0.12); color: var(--vermillion); }

.map-page .mp-observe {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(197, 161, 90, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.map-page .mp-observe-label {
  font-size: 12px;
  color: #8a6a2f;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.map-page .mp-observe p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.map-page .mp-imprint-btn {
  margin-top: 16px;
  width: 100%;
}
.map-page .mp-imprint-btn.done {
  background: rgba(20, 91, 84, 0.12);
  color: var(--jade);
}

/* ================================================================
   路径阶段总结
   ================================================================ */
.map-page .mp-reflection {
  padding: 64px 0;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--border-soft);
}
.map-page .mp-reflection-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 36px 32px;
}
.map-page .mp-reflection-route {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.map-page .mp-reflection-stage {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-soft);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.map-page .mp-reflection-question {
  /* 排版由 .ds-body 提供 */
  margin-bottom: 10px;
}
.map-page .mp-reflection-count {
  font-size: 14px;
  color: var(--jade);
  margin-bottom: 10px;
}
.map-page .mp-reflection-conclusion {
  /* 排版由 .ds-body 提供 */
  margin-bottom: 20px;
}
.map-page .mp-reflection-conclusion.complete { color: var(--jade); }
.map-page .mp-reflection-cta { min-height: 44px; }

/* ================================================================
   我的水脉印记（默认压缩摘要）
   ================================================================ */
.map-page .mp-imprint { padding: 64px 0; }
.map-page .mp-imprint-sub {
  text-align: center;
  margin: -24px 0 30px;
  font-size: 16px;
}
.map-page .mp-imprint-summary {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper-warm);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.map-page .mp-imprint-total {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-soft);
  letter-spacing: 1px;
}
.map-page .mp-imprint-total strong { color: var(--jade); font-size: 20px; }
.map-page .mp-imprint-routes {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-page .mp-imprint-route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-mid);
}
.map-page .mp-imprint-route-name { width: 72px; flex-shrink: 0; }
.map-page .mp-imprint-route-bar {
  flex: 1;
  height: 6px;
  background: rgba(20, 91, 84, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.map-page .mp-imprint-route-fill {
  display: block;
  height: 100%;
  background: var(--jade);
  border-radius: 3px;
  transition: width var(--motion-base) var(--ease-out);
}
.map-page .mp-imprint-route-count {
  width: 46px;
  text-align: right;
  font-size: 12px;
  color: var(--jade);
  flex-shrink: 0;
}

.map-page .mp-imprint-expand {
  max-width: 900px;
  margin: 20px auto 0;
  animation: mpDetailIn var(--motion-base) var(--ease-out) both;
}
.map-page .mp-imprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.map-page .mp-imprint-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
}
.map-page .mp-imprint-cell-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cell-color, var(--jade));
  flex-shrink: 0;
}
.map-page .mp-imprint-cell-name { font-size: 12px; color: var(--ink-soft); flex: 1; }
.map-page .mp-imprint-cell-status {
  font-size: 12px;
  color: var(--ink-light);
}
.map-page .mp-imprint-cell-status.done { color: var(--jade); }
.map-page .mp-imprint-clear-wrap {
  margin-top: 18px;
  text-align: center;
}

/* ================================================================
   文化创造引导
   ================================================================ */
.map-page .mp-create {
  padding: 56px 0 72px;
  background: var(--paper-warm);
  border-top: 1px solid var(--border-soft);
}
.map-page .mp-create-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--motion-base), box-shadow var(--motion-base);
}
.map-page .mp-create-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.map-page .mp-create-figure {
  margin: 0;
  min-height: 260px;
  background: var(--paper-deep);
}
.map-page .mp-create-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.map-page .mp-create-copy {
  padding: 40px 44px 40px 8px;
}
.map-page .mp-create-copy h2 {
  /* 排版由 .ds-section-title 提供 */
  margin-bottom: 16px;
}
.map-page .mp-create-text {
  /* 排版由 .ds-body 提供 */
  margin-bottom: 26px;
}
.map-page .mp-create-cta { min-height: 44px; }

/* ================================================================
   入场显现（JS 注入 html.js 后才隐藏）
   ================================================================ */
html.js .map-page [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
html.js .map-page [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ================================================================
   Toast
   ================================================================ */
.map-page .mp-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--ink-soft);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 14px;
  letter-spacing: 0.5px;
  z-index: 3000;
  opacity: 0;
  transition: opacity var(--motion-base), transform var(--motion-base);
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.map-page .mp-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================================================================
   减少动态效果
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .map-page *,
  .map-page *::before,
  .map-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .map-page [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .map-page .mpv-path {
    stroke-dashoffset: 0;
  }
  .map-page .mpv-node {
    opacity: 1;
    animation: none;
  }
}

/* ================================================================
   响应式
   ================================================================ */
@media (max-width: 1600px) {
  .map-page .mp-map-layout {
    grid-template-columns: 240px minmax(0, 1fr) 360px;
  }
}

@media (max-width: 1440px) {
  .map-page .mp-map-layout {
    grid-template-columns: 230px minmax(0, 1fr) 340px;
  }
}

@media (max-width: 1199px) {
  .map-page .mp-map-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-rows: auto 720px;
    grid-template-areas:
      "sidebar sidebar"
      "map detail";
  }
  .map-page .mp-sidebar { grid-area: sidebar; max-height: none; flex-direction: column; }
  .map-page .mp-map-col { grid-area: map; }
  .map-page .mp-detail { grid-area: detail; max-height: none; }
}

@media (max-width: 1024px) {
  .map-page .mp-hero {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .map-page .mp-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .map-page .mp-hero-copy {
    justify-self: center;
    text-align: center;
  }
  .map-page .mp-hero-kicker { justify-content: center; }
  .map-page .mp-hero-desc { max-width: 540px; margin-inline: auto; }
  .map-page .mp-hero-actions { justify-content: center; }
}

@media (max-width: 899px) {
  .map-page .mp-map-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "sidebar"
      "map"
      "detail";
  }
  .map-page .mp-map-canvas { height: 520px; flex: 0 0 auto; }
  .map-page .mp-detail { max-height: none; }
}

@media (max-width: 900px) {
  .map-page .mp-logic-grid { grid-template-columns: repeat(2, 1fr); }
  .map-page .mp-imprint-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .map-page .mp-hero {
    padding: 36px 0 32px;
  }
  /* 路径选择器改为横向滚动 */
  .map-page .mp-route-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 16px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .map-page .mp-route-tab {
    flex: 0 0 200px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 16px;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    background: var(--paper);
  }
  .map-page .mp-route-wave { display: none; }
  .map-page .mp-route-tab .mp-route-theme { margin-left: auto; }
  .map-page .mp-route-panel { padding: 18px 16px; }
  .map-page .mp-logic-grid { grid-template-columns: 1fr; }
  /* 文化逻辑纵向时间线：竖线 + 左对齐 */
  .map-page .mp-logic-grid { position: relative; }
  .map-page .mp-logic-grid::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: rgba(197, 161, 90, 0.35);
  }
  .map-page .mp-logic-item {
    text-align: left;
    padding-left: 56px;
  }
  .map-page .mp-logic-item .mp-logic-icon {
    position: absolute;
    left: 8px;
    top: 18px;
    margin: 0;
    width: 30px;
    height: 30px;
    background: var(--paper);
    z-index: 1;
  }
  .map-page .mp-logic-item p { max-width: none; }
  .map-page .mp-logic-rail { display: none; }
  /* 筛选器默认折叠 */
  .map-page .mp-filter-toggle { display: flex; }
  .map-page .mp-filter-blocks { display: none; }
  .map-page .mp-filter-blocks.open { display: flex; }
  /* 详情证据链改为手风琴（纵向） */
  .map-page .mp-chain {
    flex-direction: column;
    gap: 4px;
  }
  .map-page .mp-chain::before,
  .map-page .mp-chain-fill { display: none; }
  .map-page .mp-chain-step {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-sm);
    background: var(--paper);
  }
  .map-page .mp-chain-step .mp-chain-name { flex: 1; text-align: left; font-size: 12px; }
  .map-page .mp-map-canvas { height: 55vh; min-height: 420px; }
  .map-page .mp-create-card { grid-template-columns: 1fr; }
  .map-page .mp-create-copy { padding: 28px 24px; }
}

@media (max-width: 390px) {
  .map-page .mp-status-bar { flex-wrap: wrap; gap: 8px; }
  .map-page .mp-imprint-grid { grid-template-columns: 1fr; }
  .map-page .mp-section-head { margin-bottom: 26px; }
  .map-page .mp-route-tab { flex: 0 0 176px; }
  .map-page .btn { min-height: 44px; }
}

@media (max-width: 320px) {
  .map-page .mp-route-name { font-size: 14px; }
}
