/* ============================================================================
   灵川全境 · 3D 立体纸艺活地图样式（透明叠加在 Three.js 宣纸立雕沙盘之上）
   ============================================================================ */

@font-face {
  font-family: 'DuomeiFrB';
  src: url('../f/fr-bold.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'DuomeiFrL';
  src: url('../f/fr-light.woff') format('woff');
  font-display: swap;
}

:root {
  --lc-paper: #F5F0E3;
  --lc-paper-hi: rgba(252, 248, 240, 0.94);
  --lc-ink: #1C1916;
  --lc-ink-soft: #5A5147;
  --lc-ink-mute: #8C8176;
  --lc-celadon: #1F5E5B;
  --lc-celadon-soft: rgba(31, 94, 91, 0.11);
  --lc-verm: #B3261E;
  --lc-verm-soft: rgba(179, 38, 30, 0.10);
  --lc-line: rgba(28, 25, 22, 0.11);
}

/* ==================== 现网同款清爽顶栏与返回键 ==================== */
.top-bar {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 10px !important;
}

.dm-home-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 2px 10px 2px 4px;
  text-decoration: none;
  color: var(--ui-fg, #1C1916);
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  white-space: nowrap;
}
.dm-home-back:hover { opacity: 0.78; }
.dm-home-back:active { transform: scale(0.96); }
.dm-hb-arrow {
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  opacity: 0.72;
  margin-top: -1px;
}
.dm-hb-stack {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.02;
}
.dm-hb-stack strong {
  font-family: 'DuomeiFrB', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: inherit;
}
.dm-hb-stack em {
  font-style: normal;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  opacity: 0.72;
  margin-top: 2px;
}

body[data-mode="map"] .dm-home-back {
  color: var(--lc-ink);
}
body[data-mode="map"] .mode-switch {
  background: rgba(255, 252, 245, 0.88);
  box-shadow: inset 0 0 0 1px rgba(28, 25, 22, 0.10), 0 4px 16px rgba(28, 25, 22, 0.06);
}
body[data-mode="map"] .mode-btn {
  color: var(--lc-ink-soft);
}
body[data-mode="map"] .mode-btn.active {
  color: #FAF6EE;
}
body[data-mode="map"] .mode-pill-bg {
  background: var(--lc-celadon);
}
body[data-mode="map"] .stamp-pill,
body[data-mode="map"] .gyro-btn {
  background: rgba(255, 252, 245, 0.88);
  color: var(--lc-ink-soft);
  box-shadow: inset 0 0 0 1px rgba(28, 25, 22, 0.10), 0 4px 14px rgba(28, 25, 22, 0.06);
}
body[data-mode="map"] .gyro-btn {
  display: none;
}

.mode-switch {
  grid-template-columns: 1fr 1fr 1fr !important;
}
.mode-pill-bg {
  width: calc(33.333% - 3px) !important;
}
body[data-mode="map"] .mode-pill-bg { transform: translateX(0) !important; }
body[data-mode="walk"] .mode-pill-bg { transform: translateX(100%) !important; }
body[data-mode="depth"] .mode-pill-bg { transform: translateX(200%) !important; }
.mode-btn {
  padding: 7px 14px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .top-bar {
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    row-gap: 8px !important;
    column-gap: 8px !important;
    top: max(10px, env(safe-area-inset-top)) !important;
    left: max(14px, env(safe-area-inset-left)) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
  }
  .top-bar .brand { grid-column: 1; grid-row: 1; gap: 6px !important; }
  .top-bar .brand-seal,
  .top-bar .brand-text { display: none !important; }
  .top-bar .top-right { grid-column: 2; grid-row: 1; }
  .top-bar .mode-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(312px, 100%);
  }
  .mode-btn { padding: 6.5px 10px !important; font-size: 12px !important; }
  #sub-bar { top: calc(max(10px, env(safe-area-inset-top)) + 92px) !important; }
}

/* ==================== 3D 沙盘舞台与透明 HUD 叠层 ==================== */
/* 关键：map 模式下 #stage 保持完全可见可触，承载 Three.js 3D 宣纸立雕沙盘！ */
#map-stage {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: none;
  pointer-events: none;
}
body[data-mode="map"] #map-stage {
  display: block;
  pointer-events: none;
}
body[data-mode="map"] #stage {
  visibility: visible !important;
  pointer-events: auto !important;
}
body.lc-zoom-open #map-stage {
  z-index: 14;
}
body.lc-zoom-open .top-bar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body[data-mode="map"] #tag-layer,
body[data-mode="map"] #walk-dock,
body[data-mode="map"] #depth-dock,
body[data-mode="map"] #sub-bar,
body[data-mode="map"] #vignette {
  visibility: hidden !important;
  pointer-events: none !important;
}

.lc-atlas-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "PingFang SC", serif;
  color: var(--lc-ink);
  -webkit-font-smoothing: antialiased;
}

/* ==================== 实时 3D->2D 投影层（12 乡镇 + 弹起立绘纸签） ==================== */
.lc-proj-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.lc-water-lbl {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(31, 94, 91, 0.74);
  font-style: italic;
  text-shadow: 0 0 6px rgba(245, 240, 227, 0.96);
  pointer-events: none;
  white-space: nowrap;
  will-change: transform, opacity;
}

.lc-water-lbl.is-lake {
  z-index: 3;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(252, 248, 240, 0.92);
  border: 0.8px solid rgba(31, 94, 91, 0.45);
  box-shadow: 0 2px 9px rgba(28, 25, 22, 0.12);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #1f5e5b;
  text-shadow: none;
}
.lc-pin {
  /* 落在签上的手指也交给地图做拖拽/捏合，不让浏览器整页缩放 */
  appearance: none;
  border: 0;
  background: none;
  padding: 5px;
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform, opacity;
  transition: opacity 0.24s ease;
}
.lc-pin.dir-left { flex-direction: row-reverse; }
.lc-pin.dir-top { flex-direction: column-reverse; gap: 3px; }
.lc-pin.dir-bottom { flex-direction: column; gap: 3px; }
.lc-pin.is-active { z-index: 8; }

.lc-pin-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  flex: none;
  background: var(--lc-celadon);
  box-shadow: 0 0 0 2.5px rgba(252, 248, 240, 0.94), 0 1px 4px rgba(28, 25, 22, 0.24);
}
.lc-pin.is-matched .lc-pin-dot {
  background: var(--lc-verm);
  box-shadow: 0 0 0 2.5px rgba(252, 248, 240, 0.96), 0 0 0 6px rgba(179, 38, 30, 0.16);
}
.lc-pin-tag {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(252, 248, 240, 0.90);
  border: 0.8px solid rgba(28, 25, 22, 0.16);
  box-shadow: 0 2px 9px rgba(28, 25, 22, 0.08);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--lc-ink);
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lc-pin.is-county .lc-pin-dot { background: #2C251F; width: 7.5px; height: 7.5px; }
.lc-pin.is-county .lc-pin-tag { border-color: rgba(28, 25, 22, 0.28); font-weight: 600; }
.lc-pin-far { display: none; }
.lc-atlas-hud[data-far="1"] .lc-pin-near { display: none; }
.lc-atlas-hud[data-far="1"] .lc-pin-far { display: inline; font-weight: 600; }
.lc-pin.is-county .lc-pin-tag em {
  font-style: normal; font-size: 9.5px; font-weight: 400; color: var(--lc-ink-mute);
}
.lc-pin.is-featured { z-index: 6; }
.lc-pin.is-featured .lc-pin-dot {
  width: 9px; height: 9px; background: var(--lc-verm);
  box-shadow: 0 0 0 3px rgba(252, 248, 240, 0.96), 0 0 0 7px rgba(179, 38, 30, 0.16);
  animation: lcSealPulse 2.6s ease-in-out infinite;
}
.lc-pin.is-featured .lc-pin-tag {
  background: rgba(254, 249, 242, 0.97);
  border: 1px solid rgba(179, 38, 30, 0.44);
  color: var(--lc-verm);
  font-weight: 600;
  font-size: 12px;
  padding: 3.5px 9px;
  box-shadow: 0 4px 14px rgba(179, 38, 30, 0.15);
}
.lc-pin-seal {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  height: 16px;
  border-radius: 2.5px;
  background: var(--lc-verm);
  color: #FAF5EC;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

@keyframes lcSealPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(252, 248, 240, 0.96), 0 0 0 6px rgba(179, 38, 30, 0.14); }
  50% { box-shadow: 0 0 0 3px rgba(252, 248, 240, 0.96), 0 0 0 11px rgba(179, 38, 30, 0.05); }
}

/* 弹起 3D 纸雕立绘头顶的防重叠宣纸浮签（纸艺长卷同款韵味） */
.lc-standee-tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 12;
  appearance: none;
  border: 0.9px solid rgba(31, 94, 91, 0.28);
  background: rgba(253, 250, 243, 0.95);
  color: var(--lc-ink);
  border-radius: 999px;
  padding: 4px 11px 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(28, 25, 22, 0.14);
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
  white-space: nowrap;
  will-change: transform, opacity;
  transition: opacity 0.2s ease;
}
.lc-standee-tag[hidden] { display: none !important; }
.lc-standee-tag.is-featured {
  border-color: rgba(179, 38, 30, 0.42);
}
.lc-st-tick {
  width: 3px;
  height: 11px;
  border-radius: 2px;
  background: var(--lc-celadon);
}
.lc-standee-tag.is-featured .lc-st-tick {
  background: var(--lc-verm);
}

/* ==================== 左下书法落款（全境俯瞰可见，推近自动淡出） ==================== */
.lc-colophon-float {
  position: fixed;
  left: max(22px, env(safe-area-inset-left));
  bottom: 108px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lc-col-title {
  writing-mode: vertical-rl;
  font-family: var(--font-title, "Songti SC", "STSong", serif);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.22em;
  color: var(--lc-ink);
  line-height: 1.04;
}
.lc-col-sub {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--lc-ink-mute);
  line-height: 1.45;
  padding-bottom: 2px;
}
.lc-col-seal {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  background: var(--lc-verm);
  color: #FAF5EC;
  font-size: 10.5px;
  line-height: 11px;
  writing-mode: vertical-rl;
  display: grid;
  place-items: center;
  padding: 1px;
  box-shadow: 0 2px 6px rgba(179, 38, 30, 0.22);
  margin-bottom: 2px;
}

/* ==================== 轻巧 3D 缩放与复位钮 ==================== */
.lc-zoom-ctrls {
  position: fixed;
  right: 406px;
  bottom: 28px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}
.lc-zctrl-btn {
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(28, 25, 22, 0.14);
  background: rgba(252, 248, 240, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--lc-ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(28, 25, 22, 0.09);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.lc-zctrl-btn:active { transform: scale(0.94); }
.lc-zctrl-btn.is-reset {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lc-verm);
  border-color: rgba(179, 38, 30, 0.32);
}
.lc-zctrl-btn.is-folio-toggle {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lc-celadon);
  border-color: rgba(31, 94, 91, 0.28);
}
.lc-zctrl-btn[hidden] { display: none !important; }

/* 桌面端侧笺丝滑折叠：一键全屏畅游 3D 真实地形纸雕沙盘 */
.lc-zoom-ctrls {
  transition: right 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.lc-atlas-hud[data-folio-collapsed="1"] .lc-folio {
  transform: translateX(102%);
  pointer-events: none;
}
.lc-atlas-hud[data-folio-collapsed="1"] .lc-zoom-ctrls {
  right: 22px;
}

/* 实时真实地理比例尺与语义缩放倍率标尺 */
.lc-scale-bar {
  position: fixed;
  left: max(22px, env(safe-area-inset-left));
  bottom: 24px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(252, 248, 240, 0.84);
  border: 0.8px solid rgba(28, 25, 22, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 3px 12px rgba(28, 25, 22, 0.07);
  pointer-events: none;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}
.lc-scale-tier {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lc-celadon);
  font-weight: 600;
}
.lc-scale-rule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lc-scale-rule i {
  display: inline-block;
  width: 64px;
  height: 5px;
  border-bottom: 1.5px solid var(--lc-ink-soft);
  border-left: 1.5px solid var(--lc-ink-soft);
  border-right: 1.5px solid var(--lc-ink-soft);
  transition: width 0.16s ease;
}
.lc-scale-rule em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--lc-ink-soft);
}
@media (max-width: 919px) {
  .lc-zctrl-btn.is-folio-toggle { display: none; }
  .lc-pin-tag { font-size: 10.5px; padding: 2.5px 6.5px; }
  .lc-pin.is-featured .lc-pin-tag { font-size: 11px; padding: 2.5px 7.5px; }
  .lc-standee-tag { font-size: 11px; padding: 3px 9px 3px 7px; }
  .lc-scale-bar {
    left: max(12px, env(safe-area-inset-left));
    bottom: auto;
    top: calc(max(10px, env(safe-area-inset-top)) + 98px);
    padding: 3.5px 9px;
    gap: 7px;
  }
  .lc-scale-tier { font-size: 10px; }
  .lc-scale-rule em { font-size: 10px; }
}

/* ==================== 桌面宽屏右侧：随 3D 沙盘实时联动的宣纸风物侧笺 ==================== */
.lc-folio {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 386px;
  z-index: 8;
  pointer-events: auto;
  border-left: 1px solid var(--lc-line);
  padding: calc(max(12px, env(safe-area-inset-top)) + 60px) 28px 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  overflow-y: auto;
  background: rgba(248, 243, 233, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.lc-folio-cats,
.lc-cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lc-cat-btn {
  appearance: none;
  border: 1px solid rgba(28, 25, 22, 0.12);
  background: rgba(252, 248, 240, 0.86);
  color: var(--lc-ink-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lc-cat-btn.is-active {
  background: var(--lc-celadon);
  border-color: var(--lc-celadon);
  color: #FAF6EE;
}

.lc-folio-kicker {
  font-family: 'DuomeiFrL', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--lc-verm);
}
.lc-folio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
}
.lc-folio-head h2 {
  font-family: var(--font-title, "Songti SC", "STSong", serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0;
}
.lc-folio-region {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lc-celadon);
  background: var(--lc-celadon-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.lc-folio-tagline {
  margin: 9px 0 6px;
  font-size: 13px;
  color: var(--lc-ink);
  letter-spacing: 0.06em;
  line-height: 1.62;
}
.lc-folio-blurb {
  margin: 0;
  font-size: 12px;
  line-height: 1.78;
  letter-spacing: 0.04em;
  color: var(--lc-ink-soft);
}
.lc-folio-season {
  margin-top: 9px;
  display: flex;
  gap: 8px;
  font-size: 11.5px;
  color: var(--lc-ink-soft);
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(244, 238, 226, 0.85);
  border: 0.8px solid rgba(28, 25, 22, 0.08);
}
.lc-folio-season strong { color: var(--lc-celadon); flex: none; font-weight: 600; }

.lc-folio-villages { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.lc-fchip {
  padding: 3.5px 8.5px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(252, 248, 240, 0.88);
  border: 0.8px solid rgba(28, 25, 22, 0.13);
  color: var(--lc-ink-soft);
}
.lc-fchip.is-hi {
  background: var(--lc-verm-soft);
  border-color: rgba(179, 38, 30, 0.36);
  color: var(--lc-verm);
  font-weight: 600;
}
.lc-fchip.is-pending { border-style: dashed; color: var(--lc-ink-mute); }

.lc-folio-cards { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.lc-folio-acts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.lc-folio-primary,
.lc-folio-sec {
  appearance: none;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  touch-action: manipulation;
}
.lc-folio-primary {
  border: 0;
  background: var(--lc-celadon);
  color: #FAF6EE;
  box-shadow: 0 4px 12px rgba(31, 94, 91, 0.22);
}
.lc-folio-sec {
  border: 1px solid rgba(28, 25, 22, 0.18);
  background: rgba(252, 248, 240, 0.90);
  color: var(--lc-ink);
}

.lc-folio-share { padding-top: 10px; border-top: 1px solid var(--lc-line); }
.lc-folio-share-hd {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px;
}
.lc-folio-share-hd strong { font-size: 12px; letter-spacing: 0.14em; color: var(--lc-ink); }
.lc-folio-share-hd span { font-size: 10.5px; color: var(--lc-ink-mute); }
.lc-tpl-row { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-share-tpl {
  appearance: none;
  border: 1px solid rgba(28, 25, 22, 0.14);
  background: rgba(252, 248, 240, 0.9);
  color: var(--lc-ink-soft);
  border-radius: 999px;
  padding: 5.5px 10px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.lc-share-tpl:hover { border-color: var(--lc-verm); color: var(--lc-verm); }
.lc-folio-foot {
  padding-top: 8px;
  border-top: 1px solid var(--lc-line);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--lc-ink-mute);
}

/* ==================== 手机端轻透底栏 + 焦点乡镇风物浮条 ==================== */
.lc-mobile-dock {
  display: none;
}

@media (max-width: 919px) {
  .lc-folio { display: none; }
  .lc-colophon-float { left: 16px; bottom: 106px; }
  .lc-col-title { font-size: 25px; }

  .lc-zoom-ctrls {
    right: 14px;
    bottom: 126px;
  }
  .lc-atlas-hud[data-zoomed="1"] .lc-zoom-ctrls {
    bottom: 158px;
  }

  .lc-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(245, 240, 227, 0) 0%, rgba(245, 240, 227, 0.88) 28%, rgba(245, 240, 227, 0.97) 100%);
    pointer-events: auto;
  }

  /* 推近或点击某乡镇时轻柔浮出的焦点乡镇小条（绝不遮挡立起来的 3D 纸雕！） */
  .lc-focus-ribbon {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 16px;
    background: rgba(252, 248, 240, 0.94);
    border: 1px solid rgba(28, 25, 22, 0.12);
    box-shadow: 0 6px 20px rgba(28, 25, 22, 0.10);
  }
  .lc-atlas-hud[data-zoomed="1"] .lc-focus-ribbon {
    display: flex;
  }
  .lc-fr-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .lc-fr-info strong {
    font-size: 15px;
    letter-spacing: 0.1em;
    color: var(--lc-ink);
  }
  .lc-fr-info span {
    font-size: 11px;
    color: var(--lc-ink-mute);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lc-fr-acts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
  }
  .lc-fr-open,
  .lc-fr-share {
    appearance: none;
    border-radius: 999px;
    min-height: 34px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    cursor: pointer;
    touch-action: manipulation;
    white-space: nowrap;
  }
  .lc-fr-open {
    border: 0;
    background: var(--lc-celadon);
    color: #FAF6EE;
    font-weight: 600;
  }
  .lc-fr-share {
    border: 1px solid rgba(179, 38, 30, 0.34);
    background: rgba(179, 38, 30, 0.08);
    color: var(--lc-verm);
  }

  .lc-cat-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .lc-cat-strip::-webkit-scrollbar { display: none; }
  .lc-atlas-hud[data-zoomed="1"] .lc-cat-strip {
    display: none;
  }

  .lc-whisper-row {
    border-top: 1px solid var(--lc-line);
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .lc-whisper-hint {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--lc-ink-mute);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lc-whisper-acts {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
  }
  .lc-whisper-share,
  .lc-whisper-go {
    appearance: none;
    border: 0;
    background: none;
    padding: 4px 2px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    cursor: pointer;
    white-space: nowrap;
  }
  .lc-whisper-share { color: var(--lc-celadon); }
  .lc-whisper-go { color: var(--lc-verm); font-weight: 600; }
}

/* ==================== 按需展开的乡镇完整风物志详卷 ==================== */
.lc-zoom-panel[hidden],
.lc-share-studio[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.lc-zoom-panel {
  position: fixed;
  inset: 0;
  z-index: 32;
  background: radial-gradient(125% 95% at 48% 35%, #F6F1E5 0%, #F4EFE2 66%, #EEE7D7 100%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.lc-zoom-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.lc-zoom-top {
  position: relative;
  height: 44dvh;
  min-height: 235px;
  flex: none;
  overflow: hidden;
}
.lc-zoom-chrome {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lc-zoom-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(252, 248, 240, 0.90);
  border: 1px solid rgba(28, 25, 22, 0.12);
  box-shadow: 0 3px 12px rgba(28, 25, 22, 0.07);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lc-ink-soft);
}
.lc-zoom-crumb b { color: var(--lc-ink); font-weight: 600; }

.lc-zoom-close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(252, 248, 240, 0.96);
  border: 1px solid rgba(28, 25, 22, 0.18);
  box-shadow: 0 4px 16px rgba(28, 25, 22, 0.11);
  color: var(--lc-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  touch-action: manipulation;
}
.lc-zoom-close span { font-size: 19px; line-height: 1; color: var(--lc-ink-soft); }

.lc-zoom-stage {
  position: absolute;
  inset: 44px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lc-zoom-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.035) contrast(1.04);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.lc-zoom-stage.is-bespoke .lc-zoom-art { max-width: 760px; object-fit: cover; }
.lc-zoom-pins {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 760px;
  pointer-events: none;
}
.lc-zoom-pins .lc-pin { pointer-events: auto; transform: translate(-50%, -50%); }
.lc-focus-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
.lc-focus-pin .lc-pin-dot {
  width: 10px; height: 10px; background: var(--lc-verm);
  box-shadow: 0 0 0 3px rgba(252, 248, 240, 0.96), 0 0 0 9px rgba(179, 38, 30, 0.18);
}
.lc-focus-pin .lc-pin-tag {
  font-size: 13px; font-weight: 600; color: var(--lc-verm);
  border-color: rgba(179, 38, 30, 0.38); padding: 4px 11px;
}
.lc-focus-pin .lc-pin-tag em { font-style: normal; font-size: 10px; color: var(--lc-ink-mute); font-weight: 400; margin-left: 4px; }

.lc-zoom-sheet {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  background: rgba(252, 248, 241, 0.98);
  border-top: 1px solid rgba(28, 25, 22, 0.12);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 36px rgba(28, 25, 22, 0.09);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate3d(0, 26px, 0);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.lc-zoom-panel.open .lc-zoom-sheet { transform: translate3d(0, 0, 0); }

.lc-zoom-grab { flex: none; height: 22px; display: grid; place-items: center; touch-action: none; }
.lc-zoom-grab i { width: 40px; height: 4px; border-radius: 99px; background: rgba(28, 25, 22, 0.16); }

.lc-zoom-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 20px 12px;
  border-bottom: 1px solid var(--lc-line);
  touch-action: none;
}
.lc-zoom-title-group { min-width: 0; }
.lc-zoom-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#lc-zoom-title {
  margin: 0;
  font-family: var(--font-title, "Songti SC", "STSong", serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lc-ink);
}
.lc-zoom-badge {
  font-size: 11px; letter-spacing: 0.1em; color: var(--lc-verm);
  background: var(--lc-verm-soft); padding: 2.5px 9px; border-radius: 4px;
}
.lc-zoom-tagline { margin: 5px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--lc-ink-soft); }
.lc-zoom-head-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.lc-zoom-share-pill {
  appearance: none; border: 0; min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--lc-celadon); color: #FAF6EE; font-family: inherit; font-size: 12px;
  letter-spacing: 0.1em; cursor: pointer;
}
.lc-zoom-x {
  appearance: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(28, 25, 22, 0.16); background: #FAF5EC; color: var(--lc-ink);
  font-size: 20px; display: grid; place-items: center; cursor: pointer;
}

.lc-zoom-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lc-zoom-meta { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; }
.lc-meta-item {
  padding: 8px 11px; border-radius: 10px;
  background: rgba(244, 238, 226, 0.72); border: 0.8px solid rgba(28, 25, 22, 0.08);
  display: flex; flex-direction: column; gap: 2px;
}
.lc-meta-item em { font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; color: var(--lc-ink-mute); }
.lc-meta-item span { font-size: 12px; line-height: 1.45; color: var(--lc-ink); }
.lc-zoom-blurb { margin: 0; font-size: 13px; line-height: 1.82; letter-spacing: 0.04em; color: var(--lc-ink-soft); }
.lc-zoom-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-spec-tag {
  padding: 3px 9px; border-radius: 999px; background: var(--lc-celadon-soft);
  color: var(--lc-celadon); font-size: 11px; letter-spacing: 0.08em;
}
.lc-zoom-block { display: flex; flex-direction: column; gap: 8px; }
.lc-block-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lc-block-hd h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--lc-ink); }
.lc-block-hd span { font-size: 11px; color: var(--lc-ink-mute); }

.lc-village-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lc-vchip {
  appearance: none; padding: 5.5px 11px; border-radius: 8px;
  background: rgba(244, 238, 226, 0.85); border: 0.9px solid rgba(28, 25, 22, 0.13);
  font-family: inherit; font-size: 12px; letter-spacing: 0.06em; color: var(--lc-ink-soft);
  cursor: pointer; touch-action: manipulation;
}
.lc-vchip.is-hi { border-color: rgba(179, 38, 30, 0.36); color: var(--lc-verm); background: rgba(179, 38, 30, 0.07); }
.lc-vchip.is-pending { border-style: dashed; color: var(--lc-ink-mute); background: transparent; }
.lc-vchip.is-active { background: var(--lc-celadon); border-color: var(--lc-celadon); color: #FAF6EE; font-weight: 600; }
.lc-vchip.is-hi.is-active { background: var(--lc-verm); border-color: var(--lc-verm); color: #FAF6EE; }

.lc-village-note {
  padding: 10px 13px; border-radius: 12px;
  background: rgba(244, 238, 226, 0.86); border: 0.9px solid rgba(28, 25, 22, 0.10);
}
.lc-vn-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.lc-vn-top strong { font-size: 13px; color: var(--lc-ink); }
.lc-vn-go {
  appearance: none; border: 0; background: none; padding: 2px 4px;
  font-family: inherit; font-size: 11.5px; color: var(--lc-verm); font-weight: 600; cursor: pointer;
}
.lc-village-note p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--lc-ink-soft); }

.lc-zoom-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.lc-zoom-card {
  appearance: none; border: 0.9px solid rgba(28, 25, 22, 0.12); background: #FAF6EE;
  border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 78px 1fr;
  text-align: left; padding: 0; min-height: 78px; cursor: pointer; touch-action: manipulation;
}
.lc-zoom-card:active { transform: scale(0.985); }
.lc-zc-thumb { width: 78px; height: 100%; background: #F1E9D9; display: block; overflow: hidden; }
.lc-zc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-zc-body { padding: 9px 11px; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.lc-zc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.lc-zc-top strong { font-size: 13px; color: var(--lc-ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-zc-top em { font-style: normal; font-size: 10px; color: var(--lc-verm); flex: none; }
.lc-zc-body small {
  font-size: 11.5px; line-height: 1.45; color: var(--lc-ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.lc-zoom-foot {
  flex: none;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 1fr;
  gap: 8px;
  padding: 10px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--lc-line);
  background: rgba(250, 245, 236, 0.96);
}
.lc-zf-btn {
  appearance: none; border: 0; border-radius: 999px; min-height: 44px;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; cursor: pointer;
}
.lc-zf-btn.is-soft { background: rgba(28, 25, 22, 0.08); color: var(--lc-ink); }
.lc-zf-btn.is-celadon { background: var(--lc-celadon); color: #FAF6EE; }
.lc-zf-btn.is-dismiss { background: var(--lc-verm); color: #FAF6EE; }

@media (max-width: 919px) {
  .lc-zoom-top { height: 40dvh; min-height: 220px; }
  .lc-zoom-head { padding: 2px 16px 10px; }
  .lc-zoom-scroll { padding: 12px 16px 16px; }
  .lc-zoom-meta { grid-template-columns: 1fr; }
  .lc-zoom-cards { grid-template-columns: 1fr; }
  .lc-zoom-share-pill { display: none; }
}

/* ==================== 宣纸分享笺实时预览弹层 ==================== */
.lc-share-studio {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lc-share-studio.open { opacity: 1; pointer-events: auto; }
.lc-share-backdrop {
  position: absolute; inset: 0; background: rgba(24, 20, 16, 0.56);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lc-share-dialog {
  position: relative; z-index: 2; width: min(440px, 100%); max-height: 92dvh;
  background: #FAF5EC; border: 1px solid rgba(28, 25, 22, 0.14); border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 12, 8, 0.34); padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  color: var(--lc-ink); font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}
.lc-share-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lc-share-k { font-family: 'DuomeiFrL', Georgia, serif; font-size: 10.5px; letter-spacing: 0.26em; color: var(--lc-verm); }
.lc-share-head h3 { margin: 3px 0 0; font-size: 16px; font-weight: 500; letter-spacing: 0.08em; }
.lc-share-close {
  appearance: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(28, 25, 22, 0.16); background: #F4EEE2; color: var(--lc-ink);
  font-size: 22px; display: grid; place-items: center; cursor: pointer; flex: none;
}
.lc-share-stage {
  flex: 1 1 auto; min-height: 220px; max-height: 50dvh;
  display: flex; align-items: center; justify-content: center;
  background: #EFE8D8; border-radius: 14px; padding: 10px; overflow: hidden;
}
.lc-share-stage img { max-height: calc(50dvh - 20px); max-width: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 26px rgba(28, 25, 22, 0.16); display: block; }
.lc-share-tpls { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.lc-share-tpl-btn {
  appearance: none; border: 1px solid rgba(28, 25, 22, 0.15); background: #F6F0E3; color: var(--lc-ink-soft);
  border-radius: 999px; padding: 6px 12px; font-family: inherit; font-size: 11.5px; letter-spacing: 0.08em; cursor: pointer;
}
.lc-share-tpl-btn.is-active { background: var(--lc-celadon); border-color: var(--lc-celadon); color: #FAF6EE; }
.lc-share-status { margin: 0; text-align: center; font-size: 11.5px; color: var(--lc-ink-mute); }
.lc-share-foot { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 8px; }
.lc-share-save,
.lc-share-done {
  appearance: none; border: 0; border-radius: 999px; min-height: 46px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; cursor: pointer;
}
.lc-share-save { background: var(--lc-verm); color: #FAF6EE; }
.lc-share-done { background: rgba(28, 25, 22, 0.09); color: var(--lc-ink); }

/* ==================== 详情团扇册页手机大关闭钮 ==================== */
.card-close { min-width: 44px; min-height: 44px; width: 44px; height: 44px; font-size: 22px; }
.card-close-bar {
  display: none; position: sticky; bottom: 0; left: 0; right: 0;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, #F7F1E4 30%); z-index: 5;
}
.card-close-bar button {
  appearance: none; width: 100%; min-height: 48px; border: 0; border-radius: 999px;
  background: rgba(28, 25, 22, 0.10); color: #1C1916; font-family: inherit;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.14em; cursor: pointer; touch-action: manipulation;
}
@media (max-width: 720px) { .card-close-bar { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .lc-pin.is-featured .lc-pin-dot { animation: none; }
  .lc-zoom-art, .lc-zoom-sheet, .lc-zoom-panel { transition: none; }
}

/* ==================== 地域画境氛围层（海洋金秋 / 潮田桃花 / 大境雾凇 / 青绿岚气） ==================== */
.lc-atmo {
  --atmo-rgb: 220, 232, 226;
  --atmo-glow: 236, 244, 240;
  --atmo-a: 0;
  --tilt: 0;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lc-atmo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--atmo-a);
  transition: opacity 0.6s ease;
  background:
    linear-gradient(to bottom, rgba(var(--atmo-glow), 0.62) 0%, rgba(var(--atmo-glow), 0.18) 18%, rgba(var(--atmo-glow), 0) 34%),
    radial-gradient(130% 95% at 50% 46%, rgba(var(--atmo-rgb), 0) 52%, rgba(var(--atmo-rgb), 0.34) 82%, rgba(var(--atmo-rgb), 0.52) 100%),
    linear-gradient(to top, rgba(var(--atmo-glow), 0.42) 0%, rgba(var(--atmo-glow), 0) 20%);
}
/* 移轴景深：放大后上下两端轻微虚化，像微缩模型 */
.lc-tilt {
  position: absolute;
  left: 0;
  right: 0;
  opacity: var(--tilt);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.lc-tilt-top {
  top: 0;
  height: 30%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}
.lc-tilt-bot {
  bottom: 0;
  height: 22%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .lc-tilt { display: none; }
}
.lc-atmo-sweep {
  position: absolute;
  top: -20%;
  left: -60%;
  width: 70%;
  height: 140%;
  opacity: 0;
  background: linear-gradient(100deg, rgba(255, 236, 186, 0) 0%, rgba(255, 236, 186, 0.26) 45%, rgba(255, 246, 220, 0.34) 52%, rgba(255, 236, 186, 0) 100%);
  transform: translate3d(0, 0, 0) rotate(8deg);
  will-change: transform;
}
.lc-atmo[data-fx="ginkgo"] .lc-atmo-sweep {
  opacity: calc(1 * var(--atmo-a));
  animation: lc-atmo-sweep 11s ease-in-out infinite;
}
.lc-atmo[data-fx="petal"] .lc-atmo-sweep {
  opacity: calc(0.55 * var(--atmo-a));
  background: linear-gradient(100deg, rgba(255, 220, 230, 0) 0%, rgba(255, 226, 234, 0.28) 50%, rgba(255, 220, 230, 0) 100%);
  animation: lc-atmo-sweep 14s ease-in-out infinite;
}
@keyframes lc-atmo-sweep {
  0% { transform: translate3d(0, 0, 0) rotate(8deg); }
  60%, 100% { transform: translate3d(260%, 0, 0) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .lc-atmo-sweep { animation: none !important; opacity: 0 !important; }
}

/* 十二乡十二境：总览时乡签上方题一行境名，放大后隐去 */
.lc-pin-tag { position: relative; }
.lc-pin-epi {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  transform: translateX(-50%);
  font-family: 'MSZ', "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  white-space: nowrap;
  color: #5a4a3a;
  color: color-mix(in srgb, var(--epi, #8a7a6a) 58%, #2a2018);
  text-shadow: 0 0 3px rgba(252, 248, 240, 0.95), 0 0 6px rgba(252, 248, 240, 0.8);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lc-pin.dir-bottom .lc-pin-epi { bottom: auto; top: calc(100% + 3px); }
.lc-atlas-hud[data-zoomed="1"] .lc-pin-epi { opacity: 0; }
@media (max-width: 919px) {
  .lc-pin-epi { font-size: 9.5px; letter-spacing: 0.16em; }
}

/* 各境扫光 */
.lc-atmo[data-fx="redleaf"] .lc-atmo-sweep,
.lc-atmo[data-fx="blossom"] .lc-atmo-sweep,
.lc-atmo[data-fx="spark"] .lc-atmo-sweep,
.lc-atmo[data-fx="lantern"] .lc-atmo-sweep {
  opacity: calc(0.6 * var(--atmo-a));
  background: linear-gradient(100deg, rgba(255, 210, 170, 0) 0%, rgba(255, 214, 176, 0.26) 50%, rgba(255, 210, 170, 0) 100%);
  animation: lc-atmo-sweep 13s ease-in-out infinite;
}
.lc-atmo[data-fx="mist"] .lc-atmo-sweep,
.lc-atmo[data-fx="rain"] .lc-atmo-sweep,
.lc-atmo[data-fx="snow"] .lc-atmo-sweep {
  opacity: calc(0.5 * var(--atmo-a));
  background: linear-gradient(100deg, rgba(240, 246, 255, 0) 0%, rgba(244, 248, 255, 0.34) 50%, rgba(240, 246, 255, 0) 100%);
  animation: lc-atmo-sweep 18s ease-in-out infinite;
}

/* 底图数据署名（ODbL 要求） */
.lc-map-credit {
  font-size: 8.5px;
  letter-spacing: 0.02em;
  color: rgba(28, 25, 22, 0.42);
  white-space: nowrap;
}
.lc-map-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; pointer-events: auto; }
.lc-map-credit { transition: opacity 0.4s ease, max-width 0.4s ease; max-width: 320px; overflow: hidden; display: inline-block; }
.is-credit-folded .lc-map-credit { opacity: 0; max-width: 0; margin-left: -10px; pointer-events: none; }
.lc-zctrl-btn.is-info { width: 30px; height: 30px; font-size: 14px; align-self: center; color: var(--lc-ink-soft); opacity: 0.8; }
@media (max-width: 919px) {
  .lc-map-credit { font-size: 7.5px; }
}

/* 去游踪页 */
.lc-zctrl-btn.is-yz {
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  background: var(--lc-verm);
  color: #FBF4E8;
  font-family: 'MSZ', "Kaiti SC", "STKaiti", "KaiTi", serif;
  letter-spacing: 0.06em;
  font-size: 14px;
}

/* 自动漫游：按钮与到站题签 */
.lc-zctrl-btn.is-tour {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fff;
  background: #1F5E5B;
  border-color: rgba(31, 94, 91, 0.6);
}
.lc-zctrl-btn.is-tour.is-on {
  background: rgba(252, 248, 240, 0.92);
  color: var(--lc-verm, #B3261E);
  border-color: rgba(179, 38, 30, 0.36);
}
.lc-tour-cap {
  position: fixed;
  left: calc((100vw - 406px) / 2);
  bottom: 30px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(520px, calc(100vw - 520px));
  padding: 10px 18px 10px 12px;
  border-radius: 14px;
  background: rgba(252, 248, 240, 0.92);
  border: 1px solid rgba(28, 25, 22, 0.10);
  box-shadow: 0 10px 28px rgba(60, 44, 20, 0.16);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), left 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.lc-tour-cap.is-shown { opacity: 1; transform: translate(-50%, 0); }
.lc-atlas-hud[data-folio-collapsed="1"] .lc-tour-cap { left: 50vw; }
.lc-tc-seal {
  flex: none;
  writing-mode: vertical-rl;
  padding: 6px 4px;
  border-radius: 4px;
  background: var(--lc-verm, #B3261E);
  color: #FBF3E4;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
}
.lc-tc-head { display: flex; align-items: baseline; gap: 10px; }
.lc-tc-head b {
  font-family: var(--font-title, "Songti SC", "STSong", serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--lc-ink, #1C1916);
  letter-spacing: 0.06em;
}
.lc-tc-head em { font-style: normal; font-size: 12px; color: #1F5E5B; letter-spacing: 0.06em; }
.lc-tour-cap p { margin: 3px 0 0; font-size: 13px; line-height: 1.55; color: rgba(28, 25, 22, 0.72); }
@media (max-width: 919px) {
  .lc-tour-cap {
    left: 50vw;
    top: calc(env(safe-area-inset-top) + 138px);
    bottom: auto;
    max-width: calc(100vw - 32px);
    width: max-content;
    transform: translate(-50%, -8px);
  }
  .lc-tour-cap.is-shown { transform: translate(-50%, 0); }
  .lc-tc-head b { font-size: 19px; }
  .lc-tour-cap p { font-size: 12px; }
}
