/* index-bundle.css — 首页样式合并包（阶段3.1 渐进式手工合并，2026-10-04 m14）
   由 tools/merge_index_bundles.py 生成，勿直接编辑；改动源文件后重跑生成并 bump ?v=
   合并顺序 = index.html 原引用顺序，级联语义不变 */

/* ==== source: css/pages/index-search.css ==== */
/* 首页搜索栏样式（从 index.html 内联样式提取） */
.search-container {
            position: fixed;
            top: 10px;
            left: 20px;
            z-index: 1001;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
            padding: 5px 15px;
            border-radius: 5px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 5px rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(5px);
            /* 古典门窗特色边框 */
            border: 2px solid #8B4513;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%238B4513" stroke-width="1" stroke-dasharray="5,3"/></svg>');
            background-size: 20px 20px;
        }
        
        .search-input {
            border: none;
            outline: none;
            background: transparent;
            padding: 8px 15px;
            font-size: 14px;
            width: 200px;
            color: #333;
            font-family: "SimSun", serif;
        }
        
        .search-button {
            background: #8B4513;
            border: 1px solid #6D3510;
            outline: none;
            color: white;
            padding: 8px 15px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
            font-family: "SimSun", serif;
        }
        
        .search-button:hover {
            background: #6D3510;
        }
        
        .search-note {
            position: fixed;
            top: 55px;
            left: 20px;
            z-index: 1001;
            background: rgba(255, 255, 255, 0.8);
            padding: 5px 10px;
            border-radius: 8px;
            font-size: 12px;
            color: #666;
            white-space: nowrap;
        }
        
        /* 搜索结果下拉菜单 */
        .search-results {
            position: fixed;
            top: 60px;
            left: 20px;
            z-index: 1002;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            max-height: 200px;
            overflow-y: auto;
            width: 300px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .search-results.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .result-item {
            padding: 10px 15px;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .result-item:hover {
            background-color: #f8f8f8;
        }
        
        .result-item:last-child {
            border-bottom: none;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .search-container {
                left: 50%;
                transform: translateX(-50%);
                top: 120px;
                width: 90%;
                max-width: 300px;
                z-index: 1001;
            }
            
            .search-input {
                width: 100%;
            }
            
            .search-note {
                top: 175px;
                left: 50%;
                transform: translateX(-50%);
                z-index: 1001;
            }
            
            .search-results {
                top: 180px;
                left: 50%;
                transform: translateX(-50%);
                width: 90%;
                max-width: 300px;
                z-index: 1002;
            }
        }

/* ==== source: css/info-card-optimized.css ==== */
/*
 * 信息卡片优化版 CSS v3.0
 * 完美解决遮挡和美观问题
 */

/* ========== 信息卡片核心样式 ========== */
.info-card {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 82%;
  max-width: 1150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  backdrop-filter: blur(15px);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  min-width: 300px;
  min-height: 150px;
}

.info-card.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========== 唐风装饰元素 - 优化位置和透明度 ========== */
.info-card .right-decor {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #8B4513 0%, #DAA520 50%, #8B4513 100%);
  opacity: 0.55;
  z-index: 1;
}

.info-card .corner-tl,
.info-card .corner-bl {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid #8B4513;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.info-card .corner-tl {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.info-card .corner-bl {
  bottom: 15px;
  left: 15px;
  border-right: none;
  border-top: none;
}

/* ========== 图片容器 - 解决遮挡问题 ========== */
.info-image-container {
  width: 28%;
  min-width: 170px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 2;
}

.info-image {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* 地点名称徽章 - 优化位置和样式 */
.location-name-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 7px;
  z-index: 10;
}

.location-name {
  display: block;
  font-size: 19px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.location-pinyin {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-top: 3px;
}

/* ========== 内容容器 - 优化间距 ========== */
.info-content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
}

.info-content {
  padding: 22px 32px;
  overflow-y: auto;
  max-height: 370px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* 内容滚动条美化 */
.info-content::-webkit-scrollbar {
  width: 5px;
}

.info-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb {
  background: rgba(139, 69, 19, 0.2);
  border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 69, 19, 0.35);
}

/* ========== 内容排版 - 优化层次感 ========== */
.info-title {
  font-size: 28px;
  margin-bottom: 8px;
  color: #333;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  letter-spacing: 0.5px;
}

.info-year {
  font-size: 14px;
  color: #777;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  font-style: italic;
}

.info-description {
  margin-bottom: 20px;
  line-height: 1.85;
  font-size: 16px;
  color: #444;
  text-indent: 2em;
  letter-spacing: 0.3px;
}

/* 诗词样式 - 优化外观 */
.info-poem {
  color: #6D3510;
  margin-bottom: 16px;
  padding: 14px 18px;
  background-color: #F5F9F0;
  border-radius: 8px;
  font-style: italic;
  border-left: 3px solid #8B4513;
  box-shadow: 0 2px 6px rgba(139, 69, 19, 0.06);
}

.poem-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  color: #6D3510;
  text-align: center;
  font-style: normal;
  letter-spacing: 1px;
}

/* 双语文字样式 */
.bilingual-text {
  margin-bottom: 8px;
}

.bilingual-item {
  margin-bottom: 12px;
}

.chinese-text {
  font-family: 'Microsoft YaHei', 'PingFang SC', serif;
  font-size: 16px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.english-text {
  font-family: 'Times New Roman', serif;
  font-size: 13px;
  color: #777;
  line-height: 1.55;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* ========== 控制按钮 - 优化位置和样式 ========== */
.info-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.15);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.info-close:hover {
  background-color: rgba(0, 0, 0, 0.3);
  transform: scale(1.08);
}

.info-close:focus {
  outline: 2px solid #8B4513;
  outline-offset: 2px;
}

/* 主折叠按钮 */
.card-main-toggle {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 15px;
  cursor: pointer;
  color: #8B4513;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 3px 9px;
  border-radius: 12px;
  z-index: 100;
}

.card-main-toggle:hover {
  background: #ffffff;
}

.card-main-toggle:focus {
  outline: 2px solid #8B4513;
  outline-offset: 2px;
}

.info-card.expanded .card-main-toggle {
  transform: translateX(-50%) rotate(180deg);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
  .info-card {
    width: 88%;
  }
  
  .info-image-container {
    width: 32%;
  }
}

@media (max-width: 768px) {
  .info-card {
    width: 94%;
    flex-direction: column;
    max-height: 50vh;
  }
  
  .info-image-container {
    width: 100%;
    min-width: 100%;
  }
  
  .info-image {
    min-height: 130px;
    max-height: 160px;
  }
  
  .info-content {
    padding: 14px 16px;
    max-height: 250px;
  }
  
  .info-title {
    font-size: 22px;
  }
  
  .info-description,
  .chinese-text {
    font-size: 15px;
  }
  
  .english-text {
    display: none;
  }
  
  .location-name-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
  }
  
  .location-name {
    font-size: 17px;
  }
  
  .location-pinyin {
    display: none;
  }
  
  .info-card .corner-tl,
  .info-card .corner-bl {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .info-card {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }
  
  .info-content {
    padding: 10px 13px;
    max-height: 220px;
  }
  
  .info-title {
    font-size: 19px;
  }
  
  .info-description,
  .chinese-text {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* ========== 可访问性优化 ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .info-card {
    border: 2px solid #333;
  }
  
  .info-close {
    background-color: #333;
  }
}

/* ==== source: css/pages/index-bottom-nav.css ==== */
/* 首页底部导航及杂项样式（从 index.html 内联样式提取） */
.tang-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 850;
      background: linear-gradient(to top, rgba(139, 69, 19, 0.98), rgba(160, 82, 45, 0.95));
      background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
      border-top: 4px solid #FFD700;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
      padding: 8px 0;
    }

    .bottom-nav-container {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 10px;
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 8px 10px;
      color: #FFD700;
      text-decoration: none;
      border-radius: 8px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 215, 0, 0.3);
      position: relative;
      overflow: hidden;
      font-family: "SimSun", "STSong", serif;
    }

    .nav-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    .nav-item:hover::before {
      left: 100%;
    }

    .nav-item:hover {
      background: linear-gradient(135deg, #DAA520, #FFD700);
      color: #5D4037;
      border-color: #FFD700;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }

    .nav-item.special-link {
      background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.3));
      border-color: #FFD700;
      animation: glow 2s infinite;
    }

    .nav-item.special-link:hover {
      background: linear-gradient(135deg, #FFD700, #FFA500);
      animation: none;
    }

    @keyframes glow {
      0%, 100% { box-shadow: 0 0 5px #FFD700; }
      50% { box-shadow: 0 0 20px #FFD700, 0 0 30px #FFA500; }
    }

    .nav-icon {
      font-size: 20px;
      margin-bottom: 2px;
      transition: transform 0.3s ease;
    }

    .nav-item:hover .nav-icon {
      transform: translateY(-2px) scale(1.1);
    }

    .nav-text {
      font-size: 11px;
      font-weight: 500;
      white-space: nowrap;
    }

    /* 当前页面选中态：金色下划线 */
    .nav-item.active,
    .nav-item[aria-current="page"] {
      border-bottom: 2px solid #FFD700;
      background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(218, 165, 32, 0.2));
    }

    /* 为页面内容添加底部间距，防止被导航栏遮挡 */
    body {
      padding-bottom: 90px;
    }

    #map {
      padding-bottom: 80px;
    }
    
    /* ====== 移动端底部导航栏优化 - 极简化不遮挡 ====== */
    @media (max-width: 768px) {
      .tang-bottom-nav {
        height: 50px; /* 更矮的高度 */
        padding: 4px 0; /* 减少内边距 */
        border-top-width: 2px; /* 更细的顶部边框 */
        background: rgba(139, 69, 19, 0.9); /* 半透明背景 */
        backdrop-filter: blur(3px);
      }
      
      .bottom-nav-container {
        gap: 4px; /* 更小的间距 */
        padding: 0 5px;
        justify-content: space-around; /* 平均分布 */
      }
      
      .nav-item {
        padding: 4px 6px; /* 更小的内边距 */
        min-width: 0; /* 允许缩小 */
        border-radius: 6px;
        border-width: 1px;
        background: rgba(255, 255, 255, 0.05);
      }
      
      .nav-icon {
        font-size: 14px; /* 更小的图标 */
        margin-bottom: 1px;
      }
      
      .nav-text {
        font-size: 9px; /* 更小的文字 */
        display: block; /* 保持显示 */
      }
      
      /* 移动端：隐藏特殊链接装饰动画 */
      .nav-item.special-link {
        animation: none;
      }
      
      /* 移动端减少底部间距 */
      body {
        padding-bottom: 55px;
      }
      
      #map {
        padding-bottom: 45px;
      }
    }
    
    /* 超小屏幕底部导航栏进一步简化 */
    @media (max-width: 480px) {
      .tang-bottom-nav {
        height: 40px;
        padding: 3px 0;
      }
      
      .bottom-nav-container {
        gap: 2px;
      }
      
      .nav-item {
        padding: 3px 4px;
      }
      
      .nav-icon {
        font-size: 12px;
      }
      
      .nav-text {
        font-size: 8px;
      }
      
      body {
        padding-bottom: 45px;
      }
      
      #map {
        padding-bottom: 35px;
      }
    }
    
    /* ========================================
       手机端快速进入模式（mobile-fast-mode）已于 2026-10-06 移动端五星优化中整体删除：
       该模式将地图固定全屏导致下方内容不可达，"隐藏工具/显示工具"按钮一并移除
       ======================================== */

/* ===== 音频控制面板（原内联 style 属性提取） ===== */
.audio-panel { margin-top: 15px; padding: 10px; background-color: #f5f5f5; border-radius: 8px; text-align: center; }
.audio-panel-title { font-size: 16px; margin-bottom: 8px; color: #333; }
.audio-panel-controls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.audio-panel-controls button { padding: 6px 12px; background-color: #2196F3; color: white; border: none; border-radius: 4px; cursor: pointer; }
.audio-current-name { font-size: 14px; color: #666; min-width: 120px; }

/* ===== 页脚备案（国家标准规范） ===== */
.site-footer {
    text-align: center;
    padding: 16px 20px 18px;
    font-size: 13px;
    color: #666;
    background: linear-gradient(135deg, #faf6ed 0%, #f0e8d6 100%);
    border-top: 2px solid #8B4513;
    line-height: 2;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'SimSun', serif;
}
.site-footer p { margin: 4px 0; }
.site-footer a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer a:hover {
    color: #DAA520;
    text-decoration: underline;
}
.site-footer .beian-badge {
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    margin-right: 3px;
    margin-top: -2px;
}
.site-footer .beian-sep {
    display: inline-block;
    margin: 0 12px;
    color: #c8b896;
}


/* ==== source: css/pages/index-main.css ==== */
/* 首页主样式（从 index.html 内联样式提取） */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        
        /* 只对特定元素应用过渡效果，避免全局过渡导致抖动 */
        header, .info-card, .control-btn, .search-button, .header-nav-link, 
        .zoom-btn, .info-close, .collapse-btn, .back-to-top, .result-item,
        .stage-item, .location-label {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        body {
            font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
            background-color: #f5f5f5;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
        }
        
        header {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 1200px;
            background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
            padding: 12px 20px;
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
            z-index: 940;
            backdrop-filter: blur(10px);
            border-radius: 0 0 20px 20px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.7);
        }
        
        header:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
            background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
        }
        
        .header-title-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            transition: transform 0.3s ease;
        }
        
        /* 头部主内容区域 */
        .header-main {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            width: 100%;
        }
        
        /* 折叠按钮样式 */
        .header-toggle-btn {
            background: transparent;
            border: none;
            font-size: 16px;
            cursor: pointer;
            color: #8B4513;
            transition: transform 0.3s ease;
            padding: 5px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .header-toggle-btn:hover {
            background: rgba(139, 69, 19, 0.1);
        }
        
        /* 折叠内容区域 */
        .header-folded-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.5s ease;
            opacity: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
        }
        
        /* 展开状态 */
        header.expanded .header-folded-content {
            max-height: 300px;
            opacity: 1;
        }
        
        header.expanded .header-toggle-btn {
            transform: rotate(180deg);
        }
        
        .poet-name {
            font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
            font-size: 32px;
            font-weight: bold;
            color: #2c3e50;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            letter-spacing: 2px;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .poet-name::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 10%;
            width: 80%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #8B4513, transparent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        header:hover .poet-name::after {
            transform: scaleX(1);
        }
        
        .header-title-chinese {
            font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
            font-style: italic;
            background: linear-gradient(90deg, #333, #8B4513, #333);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% auto;
            animation: textGradient 5s ease infinite;
        }
        
        @keyframes textGradient {
            0% {
                background-position: 0% center;
            }
            50% {
                background-position: 100% center;
            }
            100% {
                background-position: 0% center;
            }
        }
        
        .header-title-english {
            font-family: 'Times New Roman', serif;
            font-size: 16px;
            color: #666;
            font-style: italic;
            letter-spacing: 1px;
        }
        
        .header-note {
            font-size: 14px;
            color: #666;
            font-style: italic;
            margin-top: 5px;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        
        header:hover .header-note {
            opacity: 1;
        }
        
        /* 头部导航链接样式 */
        .header-nav {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 15px;
            padding-top: 10px;
            border-top: 1px solid rgba(139, 69, 19, 0.2);
            width: 100%;
        }
        
        .header-nav-link {
            background: #8B4513;
            color: white;
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-size: 14px;
            transition: background-color 0.3s;
            display: inline-block;
        }
        
        .header-nav-link:hover {
            background: #6D3510;
        }
        
        #mapLoader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }
        
        /* 移动端快速加载优化 */
        .mobile-device #mapLoader {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            transition: opacity 0.2s ease-out; /* 更快消失 */
        }
        
        .mobile-device .skeleton-container {
            display: none; /* 移动端隐藏骨架屏 */
        }
        
        .mobile-device .loader-spinner {
            width: 30px;
            height: 30px; /* 更小的加载图标 */
            border-width: 3px;
        }
        
        .mobile-device .loading-text {
            font-size: 16px;
        }
        
        .mobile-device .loading-progress {
            width: 150px; /* 更小的进度条 */
        }
        
        /* 骨架屏样式 */
        .skeleton-container {
            width: 80%;
            max-width: 600px;
            padding: 30px;
        }
        
        .skeleton-line {
            height: 20px;
            background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 8px;
            margin-bottom: 15px;
        }
        
        .skeleton-line.title {
            height: 40px;
            width: 60%;
        }
        
        .skeleton-line.subtitle {
            height: 25px;
            width: 40%;
        }
        
        .skeleton-line.text {
            height: 16px;
            width: 100%;
        }
        
        .skeleton-line.text.short {
            width: 75%;
        }
        
        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        .loader-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #8B4513;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        .loading-text {
            font-size: 18px;
            color: #333;
            margin-bottom: 10px;
            font-weight: 500;
        }
        
        .loading-progress {
            width: 200px;
            height: 4px;
            background: #e0e0e0;
            border-radius: 2px;
            overflow: hidden;
            margin-top: 10px;
        }
        
        .loading-progress-bar {
            width: 0; /* 初始宽度，JS 动态更新 */
            height: 100%;
            background: linear-gradient(90deg, #8B4513, #DAA520);
            border-radius: 2px;
            transition: width 0.3s ease;
        }
        
        .loading-subtitle {
            font-size: 14px;
            color: #666;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* 无障碍样式 - 跳转链接 */
        .skip-link {
            position: fixed;
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            background: #8B4513;
            color: white;
            padding: 10px 20px;
            border-radius: 0 0 8px 8px;
            z-index: 10000;
            text-decoration: none;
            font-weight: 500;
            transition: top 0.3s ease;
        }
        
        .skip-link:focus {
            top: 0;
            outline: 3px solid #333;
        }
        
        /* 屏幕阅读器专用 */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        #map {
            width: 100vw;
            height: 100vh;
            position: relative;
            margin-top: 60px;
            z-index: 1;
            touch-action: pan-x pan-y pinch-zoom;
            -webkit-user-drag: none;
            user-select: none;
        }
        
        /* 优化地图控件样式 */
        .leaflet-control-zoom {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .leaflet-control-zoom-in, .leaflet-control-zoom-out {
            background-color: rgba(255, 255, 255, 0.9) !important;
            color: #333 !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .leaflet-control-zoom-in:hover, .leaflet-control-zoom-out:hover {
            background-color: rgba(255, 255, 255, 1) !important;
            transform: scale(1.05);
        }
        
        .leaflet-control-zoom-in:active, .leaflet-control-zoom-out:active {
            transform: scale(0.95);
        }
        
        /* 信息卡片样式 - 优化透明度和布局以避免遮挡路径 */
        .info-card {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%) translateY(100%);
            width: 80%;
            max-width: 1200px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
            backdrop-filter: blur(12px);
            border-radius: 15px 15px 0 0;
            box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 900;
            display: flex;
            flex-direction: row;
            overflow: hidden;
            cursor: move;
            opacity: 0;
            border: 1px solid rgba(255, 255, 255, 0.3);
            min-width: 300px;
            min-height: 150px;
            user-select: none;
            touch-action: none;
            overflow: auto;
            resize: both;
        }
        
        /* 增加拖拽把手样式 */
        .card-header {
            position: relative;
            cursor: grab;
            width: 100%;
            padding: 8px 12px;
            background-color: rgba(139, 69, 19, 0.1);
            border-bottom: 1px solid rgba(139, 69, 19, 0.2);
            text-align: center;
            font-weight: bold;
            color: #8B4513;
            font-size: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .card-header:active {
            cursor: grabbing;
        }
        
        /* 缩放控制样式 */
        .resize-handle {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 20px;
            height: 20px;
            cursor: nwse-resize;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M15 5h5v5M0 15h5v5M15 15l5 5M0 0l5 5" stroke="%238B4513" stroke-width="2"/></svg>') center no-repeat;
            background-size: 15px 15px;
            opacity: 0.7;
            z-index: 10;
        }
        
        .resize-handle:hover {
            opacity: 1;
        }
        
        /* 卡片关闭按钮 */
        .card-close-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 20px;
            height: 20px;
            border: none;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #666;
            z-index: 10;
        }
        
        /* 缩放控制按钮样式 */
        .zoom-controls {
            position: absolute;
            top: 10px;
            right: 50px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            z-index: 10;
        }
        
        .zoom-btn {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: none;
            background-color: rgba(0, 0, 0, 0.2);
            color: white;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }
        
        .zoom-btn:hover {
            background-color: rgba(0, 0, 0, 0.4);
        }
        
        .info-card.active {
            opacity: 1;
        }
        
        /* 折叠按钮样式 */
        .collapse-btn {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 20px;
            background-color: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .collapse-btn:hover {
            background-color: rgba(255, 255, 255, 1);
        }
        
        .collapse-btn::before {
            content: '⌄';
            transition: transform 0.3s ease;
        }
        
        .info-card.collapsed .collapse-btn::before {
            transform: rotate(180deg);
        }
        
        /* 折叠状态的信息卡片 */
        .info-card.collapsed {
            max-height: 100px;
        }
        
        .info-card.collapsed .info-content {
            max-height: 60px;
        }
        
        /* 马标志样式 */
        .horse-marker {
            font-size: 40px !important; /* 增加马标志的尺寸，使其更加醒目 */
            text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
            transform-origin: center center;
            transition: transform 0.3s ease;
            display: inline-block;
        }
        
        /* 马标志跑动动画 - 替换原来的浮动动画 */
        .horse-moving {
            animation: horseRun 1s steps(4) infinite;
        }
        
        /* 马标志到达地点时的放大动画 */
        .horse-zooming {
            animation: zoomIn 0.6s ease-out;
        }
        
        @keyframes horseRun {
            0% { content: "🐴"; transform: translateX(0); }
            25% { content: "🏇"; transform: translateX(2px); }
            50% { content: "🐎"; transform: translateX(4px); }
            75% { content: "🏇"; transform: translateX(2px); }
            100% { content: "🐴"; transform: translateX(0); }
        }
        
        @keyframes zoomIn {
            0% { transform: scale(1); }
            50% { transform: scale(1.5) rotate(10deg); }
            100% { transform: scale(1); }
        }
        
        .horse-marker:hover {
            transform: scale(1.3) rotate(5deg);
        }
        
        /* 阶段指示器相关样式 */
        .stage-indicator {
            position: fixed;
            top: 100px;
            right: 20px;
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            z-index: 850;
            backdrop-filter: blur(8px);
            max-width: 250px;
        }
        
        .stage-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
            text-align: center;
            border-bottom: 2px solid #8B4513;
            padding-bottom: 10px;
        }
        
        .stage-colors {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .stage-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 12px;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
            opacity: 0.7;
        }
        
        .stage-item:hover {
            background-color: rgba(139, 69, 19, 0.1);
            opacity: 1;
            transform: translateX(-5px);
        }
        
        /* 阶段项动画 */
        .stage-item-animation {
            animation: fadeInRight 0.5s ease forwards;
            opacity: 0;
            transform: translateX(20px);
        }
        
        @keyframes fadeInRight {
            to {
                opacity: 0.8;
                transform: translateX(0);
            }
        }
        
        /* 活动状态的阶段项 */
        .stage-item-active {
            background-color: rgba(139, 69, 19, 0.2);
            opacity: 1 !important;
            box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
        }
        
        .stage-name-container {
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 1;
        }
        
        /* 脉动动画效果 */
        .pulse-animation {
            animation: pulse 2s ease-out;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(139, 69, 19, 0.7);
                transform: scale(1);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(139, 69, 19, 0);
                transform: scale(1.2);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(139, 69, 19, 0);
                transform: scale(1);
            }
        }
        
        .info-card.active {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
        
        /* 主折叠按钮样式 */
        .card-main-toggle {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            font-size: 16px;
            cursor: pointer;
            color: #8B4513;
            transition: transform 0.3s ease;
            padding: 5px 10px;
            border-radius: 15px;
            z-index: 100;
        }
        
        .card-main-toggle:hover {
            background: rgba(255, 255, 255, 1);
        }
        
        /* 图片容器 */
        .info-image-container {
            width: 25%;
            min-width: 150px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.5s ease;
            opacity: 0;
            position: relative;
        }
        
        /* 独立的图片区域 */
        .info-image {
            width: 100%;
            height: 300px; /* 增加图片高度 */
            aspect-ratio: 16/9; /* CLS防护：固定宽高比 */
            object-fit: cover;
            position: relative;
            border-radius: 15px 0 0 15px;
            transition: filter 0.3s ease;
            background-color: #f0f0f0; /* 占位背景色 */
        }
        
        .info-image:hover {
            filter: brightness(1.1);
        }
        
        /* 图片加载占位符 - CLS防护 */
        .info-image[src=""], .info-image:not([src]) {
            background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
        }
        
        /* 图片加载动画 */
        .image-loading::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            animation: shimmer 1.5s infinite;
        }
        
        @keyframes shimmer {
            to {
                left: 100%;
            }
        }
        
        /* 内容容器 */
        .info-content-container {
            width: 75%;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.5s ease;
            opacity: 0;
        }
        
        /* 独立的内容区域 */
        .info-content {
            padding: 20px;
            width: 100%;
            overflow-y: auto;
            max-height: 300px;
            position: relative;
            transition: max-height 0.5s ease;
        }
        
        /* 展开状态 */
        .info-card.expanded .card-main-toggle {
            transform: translateX(-50%) rotate(180deg);
        }
        
        .info-card.expanded .info-image-container {
            max-height: 350px;
            opacity: 1;
        }
        
        .info-card.expanded .info-content-container {
            max-height: 350px;
            opacity: 1;
        }
        
        /* 内容滚动条样式优化 */
        .info-content::-webkit-scrollbar {
            width: 8px;
        }
        
        .info-content::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 4px;
        }
        
        .info-content::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 4px;
        }
        
        .info-content::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.3);
        }
        
        /* 滚动内容容器优化 - 添加惯性滚动和will-change属性 */
        .info-content, .search-results, .stage-colors {
            will-change: transform;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }
        
        /* 滚动控制按钮 */
        .scroll-control {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            gap: 5px;
        }
        
        .scroll-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: none;
            background-color: rgba(255, 255, 255, 0.9);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .scroll-btn:hover {
            background-color: rgba(255, 255, 255, 1);
        }
        
        .info-title {
            font-size: 36px;
            margin-bottom: 12px;
            color: #333;
            text-align: center;
            font-weight: bold;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
            letter-spacing: 0.5px;
        }
        
        .info-year {
            font-size: 16px;
            color: #666;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
            text-align: center;
            font-style: italic;
        }
        
        .info-description {
            margin-bottom: 20px;
            line-height: 2.0;
            font-size: 25px;
            color: #333;
            text-indent: 2em;
            letter-spacing: 0.8px;
        }
        
        /* 优化诗句样式 */
        .info-poem {
            color: #8B4513;
            margin-bottom: 15px;
            padding: 15px;
            background-color: #F0F8E8;
            border-radius: 10px;
            font-style: italic;
            border-left: 4px solid #8B4513;
            box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
        }
        
        /* 双语文字样式优化 */
        .bilingual-text {
            margin-bottom: 10px;
        }
        
        .chinese-text {
            font-family: 'Microsoft YaHei', 'PingFang SC', serif;
            font-size: 25px;
            color: #333;
            line-height: 2.0;
            margin-bottom: 12px;
            letter-spacing: 0.8px;
        }
        
        .english-text {
            font-family: 'Times New Roman', serif;
            font-size: 20px;
            color: #555;
            line-height: 1.8;
            font-style: italic;
            letter-spacing: 0.5px;
        }
        
        .bilingual-item {
            margin-bottom: 15px;
        }
        
        .lang-label {
            font-weight: bold;
            color: #8B4513;
            margin-bottom: 5px;
            font-size: 14px;
        }
        
        /* 标题动画效果 */
        .title-animation {
            animation: fadeInScale 1s ease-out;
        }
        
        @keyframes fadeInScale {
            0% { opacity: 0; transform: scale(0.9); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        /* 高亮诗句样式 */
        .poem-highlight {
            background-color: rgba(139, 69, 19, 0.05);
            padding: 10px;
            border-radius: 8px;
            border-left: 4px solid #8B4513;
        }
        
        /* 诗题样式 */
        .poem-title {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 10px;
            color: #8B4513;
            text-align: center;
            font-style: normal;
            letter-spacing: 1px;
        }
        
        .info-close {
                position: absolute;
                top: 10px;
                right: 10px;
                width: 30px;
            height: 30px;
            background-color: rgba(0, 0, 0, 0.2);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }
        
        .info-close:hover {
            background-color: rgba(0, 0, 0, 0.4);
        }
        
        /* 控制按钮 */
        .controls {
            position: fixed;
            top: 100px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 1050;
            transition: transform 0.3s ease;
        }
        
        /* 控制按钮提示 */
        .control-btn::after {
            content: attr(data-tooltip);
            position: absolute;
            right: 100%;
            margin-right: 10px;
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .control-btn:hover::after {
            opacity: 1;
            visibility: visible;
        }
        
        /* 通用按钮触摸反馈 */
        .control-btn, .header-nav-link, .search-button, .zoom-btn, .info-close, .collapse-btn, .back-to-top {
            touch-action: manipulation;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .control-btn:active, .header-nav-link:active, .search-button:active, .zoom-btn:active, .info-close:active, .collapse-btn:active, .back-to-top:active {
            transform: scale(0.95);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        .control-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            background-color: rgba(255, 255, 255, 0.9);
            color: #333;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            backdrop-filter: blur(5px);
        }
        
        .control-btn:hover {
            background-color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* 阶段颜色指示器 */
        .stage-indicator {
            position: fixed;
            top: 140px;
            left: 0;
            right: 0;
            background-color: rgba(255, 255, 255, 0.95);
            padding: 10px 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            z-index: 800;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            backdrop-filter: blur(5px);
            transition: transform 0.3s ease;
        }
        
        .stage-title {
            font-weight: bold;
            color: #333;
            margin-right: 15px;
        }
        
        .stage-colors {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }
        
        .stage-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }
        
        .stage-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            border: 1px solid #ddd;
        }
        
        /* 地点名称标签样式 */
        .location-label-icon {
            background: transparent;
            border: none;
            box-shadow: none;
            padding: 0;
            /* 移除固定宽度，让标签自适应内容 */
        }
        
        .location-label {
            background-color: rgba(255, 255, 255, 0.9);
            padding: 4px 8px;
            border-radius: 15px;
            font-size: 14px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(3px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            /* 添加最大宽度限制，避免在小屏幕上过长 */
            max-width: 150px;
            /* 允许文本换行，确保在窄屏上显示完整 */
            white-space: normal !important;
            /* 保持内边距一致性 */
            word-wrap: break-word !important;
            /* 确保自动换行生效 */
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
            text-overflow: ellipsis;
        }
        
        /* 阶段名称双语显示样式 */
        .stage-name-container {
            display: flex;
            flex-direction: column;
        }
        
        .stage-name-zh {
            font-weight: bold;
            color: #333;
        }
        
        .stage-name-en {
            font-size: 12px;
            color: #666;
            font-style: italic;
        }
        
        /* 语言显示区域 - 调整为同时显示双语 */
        .lang-label {
            text-align: right;
            font-size: 12px;
            color: #999;
            margin-bottom: 5px;
        }
        
        .bilingual-item {
            margin-bottom: 15px;
        }
        
        .bilingual-text {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .chinese-text {
            font-size: 16px;
            color: #333;
        }
        
        .english-text {
            font-size: 14px;
            color: #666;
            font-style: italic;
        }
        
        /* 移除语言切换按钮 */
        .lang-switch {
            display: none;
        }
        
        /* 回到顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.9);
            color: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
            z-index: 950;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(5px);
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            transform: translateY(-3px);
            background-color: white;
        }
        
        /* 加载进度条 */
        .progress-bar {
            position: fixed;
            top: 60px;
            left: 0;
            height: 4px;
            background: linear-gradient(90deg, #8B4513, #DAA520, #F0D98C, #6D3510);
            width: 0%;
            z-index: 1001;
            transition: width 0.3s ease;
        }
        
        /* 适配移动端 - 整合并优化媒体查询 */
        @media(max-width:768px){
            /* 重置默认样式以避免冲突 */
            * {
                box-sizing: border-box;
            }
            
            /* 搜索栏优化 */
            .search-container {
                top: 110px !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                width: 90% !important;
                max-width: none !important;
                z-index: 950 !important;
            }
            
            .search-input {
                font-size: 16px !important; /* 防止iOS缩放 */
                line-height: 1.5 !important;
                letter-spacing: 0.5px !important;
            }
            
            .search-note {
                top: 165px !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                font-size: 12px !important;
                line-height: 1.4 !important;
                letter-spacing: 0.3px !important;
                white-space: normal !important;
                text-align: center !important;
                padding: 8px !important;
                max-width: 90% !important;
            }
            
            .search-results {
                top: 170px !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                width: 90% !important;
                max-width: none !important;
                z-index: 960 !important;
            }
            
            /* 头部样式优化 */
            header {
                width: 95% !important;
                padding: 8px 12px !important;
                font-size: 14px !important;
                z-index: 940 !important;
            }
            
            .header-title-container {
                gap: 6px !important;
                flex-direction: column !important;
            }
            
            .poet-name {
                font-size: 22px !important;
                letter-spacing: 1.5px !important;
                line-height: 1.3 !important;
            }
            
            .header-title-chinese {
                font-size: 16px !important;
                line-height: 1.4 !important;
                letter-spacing: 0.5px !important;
                text-align: center !important;
                white-space: normal !important;
            }
            
            .header-title-english {
                display: none !important; /* 完全隐藏英文标题 */
            }
            
            .header-note {
                display: none !important; /* 隐藏备注，节省空间 */
            }
            
            /* 头部导航响应式调整 */
            .header-nav {
                margin-top: 10px !important;
                padding-top: 8px !important;
                gap: 8px !important;
                flex-wrap: wrap !important;
            }
            
            .header-nav-link {
                padding: 6px 12px !important;
                font-size: 12px !important;
            }
            
            /* 地图样式调整 - 确保有足够空间且不被遮挡 */
            #map {
                margin-top: 180px !important; /* 减少顶部边距，为地图提供更多空间 */
                height: calc(100vh - 180px) !important;
                position: relative !important;
                z-index: 1 !important;
            }
            
            /* 信息卡片优化 - 固定在底部，避免遮挡地图 */
            .info-card {
                position: fixed !important;
                bottom: 0 !important; /* 固定在底部 */
                left: 50% !important;
                width: 90% !important;
                max-height: 250px !important; /* 限制最大高度 */
                min-height: 150px !important;
                z-index: 900 !important;
                transform: translateX(-50%) translateY(0) !important;
                flex-direction: column !important;
                background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 50%, rgba(255, 255, 255, 0.98) 100%) !important;
                border-radius: 20px 20px 0 0 !important;
                box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
                box-sizing: border-box !important;
                border: 1px solid rgba(255, 255, 255, 0.6) !important;
                backdrop-filter: blur(15px) saturate(180%) !important;
                -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
            }
            
            /* 信息卡片默认隐藏，点击地点才显示 */
            .info-card:not(.active) {
                display: none !important;
            }
            
            .info-image {
                width: 100% !important;
                height: 120px !important;
                border-radius: 18px 18px 0 0 !important;
                object-fit: cover !important;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
                box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
            }
            
            .info-content {
                max-height: 120px !important; /* 大幅减小内容区域高度 */
                width: 100% !important;
                padding: 8px !important;
                overflow-y: auto !important;
            }
            
            .info-title {
                font-size: 22px !important;
                line-height: 1.4 !important;
                letter-spacing: 0.5px !important;
                margin-bottom: 8px !important;
            }
            
            .info-year {
                font-size: 16px !important;
                line-height: 1.4 !important;
                letter-spacing: 0.3px !important;
                margin-bottom: 10px !important;
                padding-bottom: 4px !important;
            }
            
            .info-description {
                font-size: 13px !important;
                line-height: 1.6 !important;
                letter-spacing: 0.3px !important;
                margin-bottom: 10px !important;
                text-indent: 1.5em !important;
            }
            
            .chinese-text {
                font-size: 13px !important;
                line-height: 1.7 !important;
                letter-spacing: 0.3px !important;
                margin-bottom: 8px !important;
            }
            
            .english-text {
                display: none !important; /* 隐藏英文内容，节省空间 */
            }
            
            /* 控制按钮优化 - 移至地图右侧 */
            .controls {
                position: fixed !important;
                top: 50% !important;
                right: 10px !important;
                left: auto !important;
                bottom: auto !important;
                transform: translateY(-50%) !important;
                width: 50px !important;
                max-width: none !important;
                flex-direction: column !important;
                justify-content: center !important;
                gap: 10px !important;
                z-index: 920 !important;
                background: rgba(255, 255, 255, 0.9) !important;
                padding: 8px !important;
                border-radius: 25px !important;
            }
            
            /* 移动端触摸优化 */
            .control-btn {
                width: 45px !important;
                height: 45px !important;
                font-size: 18px !important;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
            }
            
            /* 隐藏控制按钮的工具提示，避免遮挡 */
            .control-btn::after {
                display: none !important;
            }
            
            /* 阶段指示器优化 - 默认隐藏，通过按钮控制显示 */
            .stage-indicator {
                position: fixed !important;
                top: 50% !important;
                left: 50% !important;
                transform: translate(-50%, -50%) !important;
                width: 90% !important;
                max-width: 300px !important;
                padding: 10px !important;
                z-index: 910 !important;
                display: none !important;
                background-color: white !important;
                border-radius: 15px !important;
            }
            
            /* 阶段指示器显示类 */
            .stage-indicator.show {
                display: block !important;
            }
            
            .stage-title {
                font-size: 14px !important;
                margin-right: 0 !important;
                margin-bottom: 10px !important;
                white-space: nowrap !important;
                text-align: center !important;
            }
            
            .stage-colors {
                flex-direction: column !important;
                gap: 8px !important;
                max-height: 200px !important;
                overflow-y: auto !important;
            }
            
            .stage-item {
                font-size: 12px !important;
                gap: 6px !important;
                padding: 6px 10px !important;
            }
            
            .stage-color {
                width: 16px !important;
                height: 16px !important;
            }
            
            /* 回到顶部按钮优化 */
            .back-to-top {
                position: fixed !important;
                bottom: 80px !important;
                right: 20px !important;
                width: 40px !important;
                height: 40px !important;
                z-index: 930 !important;
                background: rgba(255, 255, 255, 0.9) !important;
            }
            
            /* 缩放控制按钮位置调整 */
            .zoom-controls {
                position: fixed !important;
                top: 200px !important;
                right: 20px !important;
                z-index: 945 !important;
            }
            
            .zoom-btn {
                width: 35px !important;
                height: 35px !important;
                font-size: 20px !important;
                background: rgba(255, 255, 255, 0.9) !important;
                color: #333 !important;
                margin-bottom: 8px !important;
            }
            
            /* 信息卡片关闭按钮优化 */
            .info-close {
                position: absolute !important;
                top: 10px !important;
                right: 10px !important;
                width: 30px !important;
                height: 30px !important;
                font-size: 16px !important;
                background: rgba(255, 255, 255, 0.9) !important;
                border-radius: 50% !important;
            }
            
            /* 折叠按钮优化 */
            .collapse-btn {
                bottom: 8px !important;
                width: 50px !important;
                height: 25px !important;
                border-radius: 12px !important;
                background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%) !important;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
                border: 1px solid rgba(255, 255, 255, 0.7) !important;
            }
            
            /* 马标志大小调整 */
            .horse-marker {
                font-size: 24px !important;
            }
            
            /* 地点标签优化 */
            .location-label {
                font-size: 12px !important;
                padding: 2px 4px !important;
                background: rgba(255, 255, 255, 0.95) !important;
                border-radius: 4px !important;
                max-width: 120px !important;
                white-space: normal !important;
                word-wrap: break-word !important;
                display: -webkit-box !important;
                -webkit-line-clamp: 3 !important;
                -webkit-box-orient: vertical !important;
                overflow: hidden !important;
                line-height: 1.3 !important;
                text-overflow: ellipsis !important;
            }
            
            /* 加载动画调整 */
            #mapLoader {
                z-index: 9999 !important;
            }
        }
        
        /* 适配超小屏幕 */
        @media(max-width:480px){
            /* 进一步优化小屏幕显示 */
            .search-container {
                top: 100px !important;
            }
            
            .search-note {
                top: 155px !important;
                font-size: 12px !important;
            }
            
            .header-title-container {
                gap: 4px !important;
            }
            
            .poet-name {
                font-size: 18px !important;
            }
            
            .header-title-chinese {
                font-size: 14px !important;
            }
            
            #map {
                margin-top: 170px !important;
                height: calc(100vh - 170px) !important;
            }
            
            .info-card {
                max-height: 200px !important;
            }
            
            .info-image {
                height: 80px !important;
            }
            
            .info-content {
                max-height: 100px !important;
                padding: 6px !important;
            }
            
            .info-title {
                font-size: 14px !important;
            }
            
            .info-description, .chinese-text, .info-poem, .info-anecdote {
                font-size: 16px !important;
                line-height: 1.6 !important;
                letter-spacing: 0.3px !important;
            }
            
            .control-btn {
                width: 40px !important;
                height: 40px !important;
                font-size: 16px !important;
            }
            
            .zoom-controls {
                top: 190px !important;
            }
            
            .zoom-btn {
                width: 30px !important;
                height: 30px !important;
                font-size: 18px !important;
            }
        }
        
        /* 移动端触摸事件优化 */
        @media(hover:none) and (pointer:coarse) {
            /* 为触摸设备添加更大的点击区域 */
            .control-btn, .zoom-btn, .info-close, .back-to-top {
                touch-action: manipulation;
                -webkit-tap-highlight-color: transparent;
            }
            
            /* 优化触摸反馈 */
            .control-btn:active, .zoom-btn:active, .info-close:active, .back-to-top:active {
                transform: scale(0.95);
                transition: transform 0.1s;
            }
        }
        
        /* ====== 中国唐风美学空间布局优化 ====== */
        
        /* 唐风配色方案 */
        :root {
            --tang-red: #8B0000;
            --tang-gold: #DAA520;
            --tang-ink: #2F2F2F;
            --tang-paper: #F5F5DC;
            --tang-jade: #00A86B;
            --tang-brown: #8B4513;
        }
        
        /* Header 唐风优化 - 居中布局，避免与搜索框遮挡 */
        header {
            width: auto !important;
            max-width: 500px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            top: 10px !important;
            padding: 8px 25px !important;
            background: linear-gradient(180deg, 
                rgba(245,245,220,0.98) 0%, 
                rgba(245,245,220,0.92) 100%) !important;
            border-radius: 20px !important;
            box-shadow: 
                0 4px 20px rgba(139,69,19,0.15),
                0 2px 8px rgba(139,69,19,0.1),
                inset 0 -2px 10px rgba(255,255,255,0.5) !important;
            border: 2px solid rgba(139,69,19,0.3) !important;
            backdrop-filter: blur(15px) !important;
        }
        
        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 20px;
            right: 20px;
            height: 4px;
            background: linear-gradient(90deg, 
                transparent, 
                var(--tang-brown), 
                var(--tang-gold), 
                var(--tang-brown), 
                transparent);
            border-radius: 2px 2px 0 0;
        }
        
        .header-title-container {
            gap: 8px !important;
        }
        
        .poet-name {
            font-family: 'KaiTi', 'STKaiti', serif !important;
            font-size: 26px !important;
            color: var(--tang-ink) !important;
            letter-spacing: 6px !important;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
        }
        
        .poet-name::after {
            background: linear-gradient(90deg, 
                transparent, 
                var(--tang-brown), 
                var(--tang-gold), 
                var(--tang-brown), 
                transparent) !important;
        }
        
        .header-title-chinese {
            font-family: 'KaiTi', 'STKaiti', serif !important;
            font-size: 16px !important;
            color: var(--tang-brown) !important;
            background: none !important;
            -webkit-text-fill-color: var(--tang-brown) !important;
            animation: none !important;
            letter-spacing: 2px !important;
        }
        
        .header-toggle-btn {
            color: var(--tang-brown) !important;
        }
        
        .header-nav-link {
            background: linear-gradient(135deg, var(--tang-brown), #A0522D) !important;
            font-family: 'KaiTi', 'STKaiti', serif !important;
            letter-spacing: 2px !important;
            border-radius: 3px !important;
            box-shadow: 0 2px 5px rgba(139,69,19,0.3) !important;
        }
        
        .header-nav-link:hover {
            background: linear-gradient(135deg, #A0522D, var(--tang-brown)) !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 4px 10px rgba(139,69,19,0.4) !important;
        }
        
        /* 搜索框优化 - 移至右上角，不遮挡Header */
        .search-container {
            position: fixed !important;
            top: 10px !important;
            left: auto !important;
            right: 20px !important;
            width: auto !important;
            max-width: 280px !important;
            z-index: 950 !important;
            background: linear-gradient(135deg, 
                rgba(245,245,220,0.98) 0%, 
                rgba(253,245,230,0.95) 100%) !important;
            border: 2px solid var(--tang-brown) !important;
            border-radius: 20px !important;
            box-shadow: 0 4px 15px rgba(139,69,19,0.2) !important;
            padding: 8px 15px !important;
        }
        
        .search-input {
            font-family: 'KaiTi', 'STKaiti', serif !important;
            color: var(--tang-ink) !important;
            width: 180px !important;
        }
        
        .search-button {
            background: linear-gradient(135deg, var(--tang-brown), #A0522D) !important;
            font-family: 'KaiTi', 'STKaiti', serif !important;
            letter-spacing: 2px !important;
            border-radius: 15px !important;
        }
        
        .search-button:hover {
            background: linear-gradient(135deg, #A0522D, var(--tang-brown)) !important;
        }
        
        /* 搜索提示优化 */
        .search-note {
            top: 60px !important;
            left: auto !important;
            right: 20px !important;
            transform: none !important;
            z-index: 950 !important;
        }
        
        /* 搜索结果优化 */
        .search-results {
            top: 65px !important;
            left: auto !important;
            right: 20px !important;
            transform: none !important;
            z-index: 960 !important;
        }
        
        /* Info-card 唐风优化 - 左侧屏风式可推拉设计 */
        .info-card {
            width: 480px !important;
            max-width: 480px !important;
            min-width: 400px !important;
            top: 50% !important;
            left: 0 !important;
            bottom: auto !important;
            right: auto !important;
            transform: translateX(-100%) translateY(-50%) !important;
            background: linear-gradient(180deg, 
                rgba(245,245,220,0.98) 0%, 
                rgba(253,245,230,0.98) 50%,
                rgba(245,245,220,0.98) 100%) !important;
            border-radius: 0 20px 20px 0 !important;
            box-shadow: 
                8px 0 40px rgba(139,69,19,0.35),
                0 0 30px rgba(139,69,19,0.15) !important;
            border: 3px solid var(--tang-brown) !important;
            border-left: none !important;
            position: fixed !important;
            cursor: default !important;
            display: flex !important;
            flex-direction: column !important;
            max-height: 85vh !important;
            height: auto !important;
            z-index: 950 !important;
            overflow-y: auto !important;
        }
        
        /* 屏风顶部装饰 - 唐风云纹 */
        .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 8px;
            height: 25px;
            background: 
                linear-gradient(180deg, var(--tang-brown) 0%, #A0522D 50%, var(--tang-brown) 100%);
            border-radius: 0 15px 0 0;
            z-index: 1000;
        }
        
        /* 屏风右侧装饰条 */
        .info-card .right-decor {
            position: absolute;
            top: 0;
            right: 0;
            width: 8px;
            height: 100%;
            background: linear-gradient(90deg, 
                var(--tang-brown), 
                #A0522D, 
                var(--tang-brown));
            border-radius: 0 15px 15px 0;
            box-shadow: inset 0 0 8px rgba(0,0,0,0.3);
            z-index: 1000;
        }
        
        /* 屏风推拉把手 */
        .info-card::after {
            content: '›';
            position: absolute;
            top: 50%;
            right: -28px;
            transform: translateY(-50%);
            width: 35px;
            height: 80px;
            background: linear-gradient(90deg, 
                var(--tang-brown), 
                #A0522D,
                var(--tang-brown));
            border-radius: 0 20px 20px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: var(--tang-gold);
            cursor: pointer;
            box-shadow: 4px 0 15px rgba(139,69,19,0.4);
            z-index: 1001;
            transition: all 0.3s ease;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }
        
        .info-card:hover::after {
            background: linear-gradient(90deg, #A0522D, var(--tang-brown), #A0522D);
            width: 40px;
            right: -33px;
        }
        
        .info-card.active {
            transform: translateX(0) translateY(-50%) !important;
            opacity: 1 !important;
        }
        
        .info-card.active::after {
            content: '‹';
        }
        
        /* 唐风地图路线优化 */
        .leaflet-overlay-pane {
            z-index: 400 !important;
        }
        
        /* 唐风图片容器优化 */
        .info-image-container {
            width: 100% !important;
            padding: 100px 25px 15px 25px !important;
            position: relative !important;
            max-height: none !important;
            opacity: 1 !important;
            overflow: visible !important;
        }
        
        /* 地理名称标签 - 唐风徽章设计（更紧凑） */
        .location-name-badge {
            position: absolute !important;
            top: 17px !important;
            left: 35px !important;
            z-index: 25 !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 3px !important;
            background: linear-gradient(135deg, 
                rgba(139,69,19,0.96) 0%, 
                rgba(160,82,45,0.93) 50%,
                rgba(139,69,19,0.96) 100%) !important;
            padding: 6px 14px !important;
            border-radius: 6px !important;
            border: 2px solid var(--tang-gold) !important;
            box-shadow: 
                0 4px 15px rgba(139,69,19,0.45),
                inset 0 0 20px rgba(218,165,32,0.18) !important;
        }
        
        /* 地理名称 - 中文（更小） */
        .location-name {
            font-family: 'KaiTi', 'STKaiti', serif !important;
            font-size: 20px !important;
            color: var(--tang-gold) !important;
            font-weight: bold !important;
            letter-spacing: 3px !important;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
            line-height: 1.1 !important;
        }
        
        /* 地理名称 - 拼音/英文（更小） */
        .location-pinyin {
            font-family: 'Georgia', 'Times New Roman', serif !important;
            font-size: 12px !important;
            color: rgba(255,255,255,0.9) !important;
            letter-spacing: 1px !important;
            font-style: italic !important;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
            line-height: 1.1 !important;
        }
        
        .info-image-container::before {
            content: '';
            position: absolute;
            top: 30px;
            left: 20px;
            right: 20px;
            bottom: 10px;
            border: 3px double var(--tang-gold) !important;
            border-radius: 8px !important;
            pointer-events: none !important;
            z-index: 0 !important;
        }
        
        .info-card.expanded .info-image-container {
            max-height: 320px !important;
            opacity: 1 !important;
        }
        
        /* 唐风图片优化 */
        .info-image {
            width: 100% !important;
            height: 260px !important;
            object-fit: cover !important;
            border-radius: 5px !important;
            border: 3px solid var(--tang-brown) !important;
            box-shadow: 
                0 4px 15px rgba(139,69,19,0.25),
                inset 0 0 20px rgba(255,255,255,0.3) !important;
            position: relative !important;
            z-index: 20 !important;
        }
        
        /* 唐风内容容器优化 */
        .info-content-container {
            width: 100% !important;
            padding: 10px 30px 30px 30px !important;
            position: relative !important;
            max-height: none !important;
            opacity: 1 !important;
            overflow: visible !important;
        }
        
        .info-card.expanded .info-content-container {
            max-height: 400px !important;
            opacity: 1 !important;
        }
        
        /* 唐风标题优化 */
        .info-title {
            font-family: 'KaiTi', 'STKaiti', serif !important;
            font-size: 32px !important;
            color: var(--tang-ink) !important;
            letter-spacing: 8px !important;
            text-align: center !important;
            border-bottom: 3px double var(--tang-gold) !important;
            padding-bottom: 15px !important;
            margin-bottom: 15px !important;
            text-shadow: 1px 1px 2px rgba(139,69,19,0.1) !important;
        }
        
        /* 唐风年份优化 */
        .info-year {
            font-family: 'KaiTi', 'STKaiti', serif !important;
            font-size: 18px !important;
            color: var(--tang-brown) !important;
            text-align: center !important;
            padding: 10px 0 !important;
            margin: 0 0 15px 0 !important;
            border-top: 2px dotted rgba(139,69,19,0.2) !important;
            border-bottom: 2px dotted rgba(139,69,19,0.2) !important;
            letter-spacing: 3px !important;
        }
        
        /* 唐风描述优化 */
        .info-description {
            font-family: 'SimSun', 'STSong', serif !important;
            font-size: 17px !important;
            color: var(--tang-ink) !important;
            line-height: 2.5 !important;
            text-align: justify !important;
            padding: 10px 0 !important;
            text-indent: 2em !important;
        }
        
        /* 唐风中文文本优化 */
        .chinese-text {
            font-family: 'SimSun', 'STSong', serif !important;
            font-size: 17px !important;
            line-height: 2.5 !important;
            color: var(--tang-ink) !important;
            text-align: justify !important;
            text-indent: 2em !important;
        }
        
        /* 唐风诗句优化 */
        .info-poem {
            background: linear-gradient(135deg, 
                rgba(218,165,32,0.15), 
                rgba(139,69,19,0.08)) !important;
            border-left: 5px solid var(--tang-gold) !important;
            border-right: 2px solid var(--tang-gold) !important;
            border-radius: 8px !important;
            padding: 20px 25px !important;
            margin: 20px 0 !important;
            color: var(--tang-ink) !important;
            box-shadow: 
                inset 0 0 30px rgba(218,165,32,0.1),
                0 2px 10px rgba(139,69,19,0.1) !important;
        }
        
        /* 唐风诗句标题优化 */
        .poem-title {
            color: var(--tang-brown) !important;
            font-family: 'KaiTi', 'STKaiti', serif !important;
            font-size: 20px !important;
            text-align: center !important;
            letter-spacing: 4px !important;
            margin-bottom: 15px !important;
            padding-bottom: 10px !important;
            border-bottom: 1px dashed rgba(218,165,32,0.4) !important;
        }
        
        /* 唐风关闭按钮优化 */
        .info-close {
            background: linear-gradient(135deg, var(--tang-brown), #A0522D) !important;
            color: white !important;
            box-shadow: 0 3px 10px rgba(139,69,19,0.4) !important;
            border-radius: 50% !important;
            width: 36px !important;
            height: 36px !important;
            font-size: 20px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            top: 35px !important;
            right: 18px !important;
            z-index: 1002 !important;
        }
        
        .info-close:hover {
            background: linear-gradient(135deg, #A0522D, var(--tang-brown)) !important;
            transform: scale(1.15) rotate(90deg) !important;
        }
        
        /* 隐藏不必要的控制按钮 - 简化界面 */
        .card-main-toggle,
        .zoom-controls,
        .scroll-control,
        .collapse-btn {
            display: none !important;
        }
        
        /* 唐风内容区域优化 */
        .info-content {
            padding: 0 !important;
            max-height: 360px !important;
            overflow-y: auto !important;
        }
        
        /* 确保激活和展开状态下内容都可见 */
        .info-card.active .info-image-container,
        .info-card.expanded .info-image-container {
            max-height: none !important;
            opacity: 1 !important;
            overflow: visible !important;
        }
        
        .info-card.active .info-content-container,
        .info-card.expanded .info-content-container {
            max-height: none !important;
            opacity: 1 !important;
            overflow: visible !important;
        }
        
        .info-content::-webkit-scrollbar {
            width: 10px !important;
        }
        
        .info-content::-webkit-scrollbar-track {
            background: rgba(218,165,32,0.1) !important;
            border-radius: 5px !important;
        }
        
        .info-content::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--tang-brown), #A0522D) !important;
            border-radius: 5px !important;
        }
        
        /* 唐风边角装饰 - 左上角 */
        .info-card .corner-tl {
            position: absolute;
            top: 25px;
            left: 10px;
            width: 40px;
            height: 40px;
            border-top: 3px solid var(--tang-gold);
            border-left: 3px solid var(--tang-gold);
            z-index: 10;
            pointer-events: none;
        }
        
        /* 唐风边角装饰 - 左下角 */
        .info-card .corner-bl {
            position: absolute;
            bottom: 10px;
            left: 10px;
            width: 40px;
            height: 40px;
            border-bottom: 3px solid var(--tang-gold);
            border-left: 3px solid var(--tang-gold);
            z-index: 10;
            pointer-events: none;
        }
        
        /* 唐风云纹背景效果 */
        .info-card {
            background-image: 
                radial-gradient(ellipse at 20% 30%, rgba(218,165,32,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 70%, rgba(218,165,32,0.06) 0%, transparent 40%),
                linear-gradient(180deg, 
                rgba(245,245,220,0.98) 0%, 
                rgba(253,245,230,0.98) 50%,
                rgba(245,245,220,0.98) 100%) !important;
        }
        
        .card-main-toggle {
            background: linear-gradient(135deg, var(--tang-brown), #A0522D) !important;
            color: white !important;
            box-shadow: 0 2px 5px rgba(139,69,19,0.3) !important;
        }
        
        .card-main-toggle:hover {
            background: linear-gradient(135deg, #A0522D, var(--tang-brown)) !important;
        }
        
        .scroll-btn {
            background: linear-gradient(135deg, var(--tang-brown), #A0522D) !important;
            color: white !important;
            box-shadow: 0 2px 5px rgba(139,69,19,0.3) !important;
        }
        
        .scroll-btn:hover {
            background: linear-gradient(135deg, #A0522D, var(--tang-brown)) !important;
        }
        
        /* 地图优化 - 确保不被遮挡 */
        #map {
            margin-top: 80px !important;
            height: calc(100vh - 80px) !important;
        }
        
        /* 搜索栏唐风优化 */
        .search-container {
            background: linear-gradient(135deg, 
                rgba(245,245,220,0.98) 0%, 
                rgba(253,245,230,0.95) 100%) !important;
            border: 2px solid var(--tang-brown) !important;
            box-shadow: 0 4px 15px rgba(139,69,19,0.2) !important;
        }
        
        .search-input {
            font-family: 'KaiTi', 'STKaiti', serif !important;
            color: var(--tang-ink) !important;
        }
        
        .search-button {
            background: linear-gradient(135deg, var(--tang-brown), #A0522D) !important;
            font-family: 'KaiTi', 'STKaiti', serif !important;
            letter-spacing: 2px !important;
        }
        
        .search-button:hover {
            background: linear-gradient(135deg, #A0522D, var(--tang-brown)) !important;
        }
        
        /* ====== 响应式优化 - PC端保持唐风设计 ====== */
        @media (min-width: 1025px) {
            header {
                max-width: 700px !important;
                padding: 10px 30px !important;
            }
            
            .poet-name {
                font-size: 32px !important;
                letter-spacing: 10px !important;
            }
            
            .header-title-chinese {
                font-size: 20px !important;
            }
            
            .info-card {
                width: 520px !important;
                max-width: 520px !important;
                left: 0 !important;
                top: 50% !important;
                bottom: auto !important;
                transform: translateX(-100%) translateY(-50%) !important;
            }
            
            .info-card.active {
                transform: translateX(0) translateY(-50%) !important;
            }
            
            .info-card.expanded .info-image-container {
                max-height: 340px !important;
            }
            
            .info-image {
                height: 280px !important;
            }
            
            .info-card.expanded .info-content-container {
                max-height: 420px !important;
            }
            
            .info-content {
                max-height: 380px !important;
            }
            
            .info-title {
                font-size: 36px !important;
                letter-spacing: 10px !important;
            }
            
            .info-description, .chinese-text {
                font-size: 18px !important;
                line-height: 2.6 !important;
            }
            
            #map {
                margin-top: 90px !important;
                height: calc(100vh - 90px) !important;
            }
        }
        
        /* ====== 响应式优化 - 平板端适配 ====== */
        @media (min-width: 769px) and (max-width: 1024px) {
            header {
                max-width: 550px !important;
                padding: 8px 20px !important;
            }
            
            .poet-name {
                font-size: 26px !important;
                letter-spacing: 6px !important;
            }
            
            .info-card {
                width: 440px !important;
                max-width: 440px !important;
                left: 0 !important;
                top: 50% !important;
                bottom: auto !important;
                transform: translateX(-100%) translateY(-50%) !important;
            }
            
            .info-card.active {
                transform: translateX(0) translateY(-50%) !important;
            }
            
            .info-card.expanded .info-image-container {
                max-height: 300px !important;
            }
            
            .info-image {
                height: 240px !important;
            }
            
            .info-card.expanded .info-content-container {
                max-height: 360px !important;
            }
            
            .info-content {
                max-height: 320px !important;
            }
            
            .info-title {
                font-size: 30px !important;
                letter-spacing: 6px !important;
            }
            
            #map {
                margin-top: 85px !important;
                height: calc(100vh - 85px) !important;
            }
        }
        
        /* ====== 响应式优化 - 移动端优化 ====== */
        /* ====== 移动端极致优化 - 快速进入无遮挡体验 ====== */
        @media (max-width: 768px) {
            /* 移动端header极简化 - 默认最小化状态 */
            header {
                width: auto !important;
                max-width: 200px !important; /* 更小的宽度 */
                min-width: 120px !important;
                padding: 8px 15px !important;
                border-radius: 15px !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                top: 8px !important;
                z-index: 950 !important;
                background: rgba(255, 255, 255, 0.85) !important;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important; /* 更淡的阴影 */
                backdrop-filter: blur(5px) !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                transition: all 0.3s ease !important;
            }
            
            /* 移动端header点击可展开 */
            header:hover,
            header:focus-within {
                max-width: 90% !important;
                padding: 12px 20px !important;
                box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
            }
            
            header::before {
                display: none !important; /* 移除装饰线 */
            }
            
            .poet-name {
                font-size: 16px !important;
                letter-spacing: 1px !important;
                text-shadow: none !important;
                font-weight: bold !important;
            }
            
            .header-title-chinese {
                font-size: 12px !important;
                letter-spacing: 0.5px !important;
                opacity: 0.8 !important;
                max-width: 150px !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }
            
            .header-title-english,
            .header-note,
            .header-nav {
                display: none !important; /* 完全隐藏次要内容 */
            }
            
            /* 移动端header展开时显示更多内容 */
            header:hover .header-title-chinese {
                max-width: none !important;
                white-space: normal !important;
            }
            
            /* 移动端：信息卡片极简化 - 减少遮挡 */
            .info-card {
                width: 85% !important;
                max-width: 320px !important;
                min-width: 200px !important;
                max-height: 60vh !important; /* 限制最大高度 */
                top: auto !important;
                bottom: 0 !important;
                left: 50% !important;
                transform: translateX(-50%) translateY(100%) !important; /* 默认隐藏在底部 */
                border-radius: 12px 12px 0 0 !important;
                border: 2px solid rgba(139, 69, 19, 0.6) !important; /* 更淡的边框 */
                background: rgba(255, 255, 255, 0.92) !important;
                box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12) !important;
            }
            
            /* 移动端：简化装饰元素 */
            .info-card::before,
            .info-card::after,
            .info-card .right-decor,
            .info-card .corner-tl,
            .info-card .corner-bl {
                display: none !important; /* 移除所有装饰 */
            }
            
            .info-card.active {
                transform: translateX(-50%) translateY(0) !important; /* 滑入显示 */
            }
            
            /* 移动端：图片容器简化 */
            .info-image-container {
                padding: 15px !important;
                max-height: 180px !important; /* 限制图片高度 */
            }
            
            .info-image-container::before {
                display: none !important;
            }
            
            .info-image {
                height: 150px !important;
                border-radius: 8px !important;
                border: none !important;
            }
            
            /* 移动端：内容容器简化 */
            .info-content-container {
                padding: 10px 15px 15px !important;
                width: 100% !important;
            }
            
            .info-card.expanded .info-image-container {
                max-height: 180px !important;
            }
            
            .info-card.expanded .info-content-container {
                max-height: 250px !important;
            }
            
            .info-content {
                max-height: 200px !important;
                overflow-y: auto !important;
                padding: 0 !important;
            }
            
            .info-title {
                font-size: 20px !important;
                letter-spacing: 2px !important;
                margin-bottom: 8px !important;
            }
            
            .info-year {
                font-size: 14px !important;
                margin-bottom: 6px !important;
            }
            
            .info-description, .chinese-text {
                font-size: 14px !important;
                line-height: 1.8 !important;
            }
            
            .info-poem {
                padding: 10px 12px !important;
                margin: 10px 0 !important;
                border-radius: 8px !important;
            }
            
            .poem-title {
                font-size: 16px !important;
            }
            
            .info-close {
                top: 12px !important;
                right: 12px !important;
                width: 28px !important;
                height: 28px !important;
                font-size: 16px !important;
                border-radius: 50% !important;
                background: rgba(255, 255, 255, 0.9) !important;
            }
            
            /* 移动端：地图最大化显示 */
            #map {
                margin-top: 45px !important;
                height: calc(100vh - 45px) !important;
            }
            
            /* 移动端：搜索框极简化 */
            .search-container {
                top: 50px !important;
                width: 75% !important;
                max-width: 200px !important;
                right: auto !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                z-index: 940 !important;
                padding: 3px 8px !important;
                background: rgba(255, 255, 255, 0.9) !important;
                border-radius: 12px !important;
                border: 1px solid rgba(139, 69, 19, 0.4) !important;
            }
            
            .search-input {
                font-size: 13px !important;
                width: 120px !important;
            }
            
            .search-button {
                font-size: 12px !important;
                padding: 4px 8px !important;
            }
            
            .search-note {
                display: none !important; /* 移动端隐藏搜索提示 */
            }
            
            .search-results {
                top: 80px !important;
                width: 85% !important;
                max-width: 250px !important;
                z-index: 941 !important;
            }

            /* 移动端控制按钮（2026-10-06 五星优化）：
               统一由上方 max-width:768px 块的"地图右侧垂直居中"方案接管，
               此处旧 bottom:15px 右下角方案与统一浮动按钮组位置冲突，已删除 */
        }
        
        /* ====== 超小屏幕极致优化 ====== */
        @media (max-width: 480px) {
            header {
                max-width: 160px !important;
                min-width: 100px !important;
                padding: 6px 12px !important;
                top: 6px !important;
            }
            
            .poet-name {
                font-size: 14px !important;
            }
            
            .header-title-chinese {
                font-size: 12px !important;
                max-width: 120px !important;
            }
            
            .info-card {
                width: 90% !important;
                max-width: 280px !important;
                max-height: 50vh !important;
            }
            
            .info-image-container {
                max-height: 120px !important;
                padding: 10px !important;
            }
            
            .info-image {
                height: 100px !important;
            }
            
            .info-content-container {
                padding: 8px 12px 12px !important;
            }
            
            .info-content {
                max-height: 150px !important;
            }
            
            .info-title {
                font-size: 18px !important;
            }
            
            .info-description, .chinese-text {
                font-size: 13px !important;
                line-height: 1.6 !important;
            }
            
            #map {
                margin-top: 40px !important;
                height: calc(100vh - 40px) !important;
            }
            
            .search-container {
                top: 45px !important;
                max-width: 180px !important;
            }
            
            .search-input {
                font-size: 12px !important;
                width: 100px !important;
            }
            
            .search-button {
                font-size: 12px !important;
                padding: 3px 6px !important;
            }
            
            .search-results {
                top: 70px !important;
            }

            /* 超小屏控制按钮保持 44px 触控标准（原 28px 缩小方案已删，触达性优先） */
        }
        
        /* ====== 灯笼高亮动画效果 ====== */
        /* 灯笼基础样式 */
        .lantern-marker {
            font-size: 28px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
            transform-origin: center bottom;
        }
        
        /* 灯笼点亮状态 - 放大+发光效果 */
        .lantern-marker.lit {
            font-size: 48px !important;
            filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9)) 
                    drop-shadow(0 0 40px rgba(255, 165, 0, 0.7))
                    drop-shadow(0 0 60px rgba(255, 140, 0, 0.5));
            animation: lanternGlow 2s ease-in-out infinite alternate,
                       lanternFloat 3s ease-in-out infinite;
            z-index: 1000 !important;
        }
        
        /* 灯笼发光动画 */
        @keyframes lanternGlow {
            0% {
                filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)) 
                        drop-shadow(0 0 30px rgba(255, 165, 0, 0.6))
                        drop-shadow(0 0 45px rgba(255, 140, 0, 0.4));
            }
            100% {
                filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1)) 
                        drop-shadow(0 0 50px rgba(255, 165, 0, 0.8))
                        drop-shadow(0 0 75px rgba(255, 140, 0, 0.6));
            }
        }
        
        /* 灯笼漂浮动画 */
        @keyframes lanternFloat {
            0%, 100% {
                transform: translateY(0) scale(1);
            }
            50% {
                transform: translateY(-8px) scale(1.05);
            }
        }
        
        /* 灯笼诗句显示容器 */
        .lantern-poem-container {
            position: absolute;
            bottom: calc(100% + 15px);
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, 
                rgba(139, 0, 0, 0.95) 0%, 
                rgba(178, 34, 34, 0.9) 50%,
                rgba(139, 0, 0, 0.95) 100%);
            border: 3px solid #DAA520;
            border-radius: 15px;
            padding: 15px 20px;
            min-width: 200px;
            max-width: 320px;
            text-align: center;
            box-shadow: 
                0 0 30px rgba(255, 215, 0, 0.6),
                0 0 60px rgba(255, 165, 0, 0.4),
                inset 0 0 20px rgba(255, 215, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
        }
        
        /* 灯笼诗句显示 - 激活状态 */
        .lantern-marker.lit .lantern-poem-container {
            opacity: 1;
            visibility: visible;
            animation: poemFadeIn 0.5s ease-out;
        }
        
        /* 诗句淡入动画 */
        @keyframes poemFadeIn {
            0% {
                opacity: 0;
                transform: translateX(-50%) translateY(10px) scale(0.9);
            }
            100% {
                opacity: 1;
                transform: translateX(-50%) translateY(0) scale(1);
            }
        }
        
        /* 金色诗句文字 */
        .lantern-poem-text {
            color: #FFD700;
            font-size: 16px;
            font-weight: bold;
            line-height: 1.8;
            text-shadow: 
                0 0 10px rgba(255, 215, 0, 0.8),
                0 0 20px rgba(255, 165, 0, 0.6),
                1px 1px 2px rgba(0, 0, 0, 0.5);
            font-family: "SimSun", "STKaiti", "KaiTi", serif;
            letter-spacing: 2px;
        }
        
        /* 诗句标题 */
        .lantern-poem-title {
            color: #FFA500;
            font-size: 14px;
            margin-bottom: 8px;
            border-bottom: 1px solid rgba(218, 165, 32, 0.5);
            padding-bottom: 5px;
        }
        
        /* 灯笼底部小三角 */
        .lantern-poem-container::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-top: 12px solid #DAA520;
        }
        
        /* 灯笼熄灭过渡 */
        .lantern-marker.dimming {
            animation: lanternDim 1s ease-out forwards;
        }
        
        @keyframes lanternDim {
            0% {
                font-size: 48px;
                filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9)) 
                        drop-shadow(0 0 40px rgba(255, 165, 0, 0.7));
            }
            100% {
                font-size: 28px;
                filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
            }
        }
        
        /* ====== 国风路径样式优化 ====== */
        
        /* 唐风路径 - 丝绸卷轴般的质感 */
        .tang-path {
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* 水墨扩散效果 - 路径绘制动画 */
        @keyframes inkSpread {
            0% {
                stroke-dashoffset: 1000;
                opacity: 0;
            }
            50% {
                opacity: 0.8;
            }
            100% {
                stroke-dashoffset: 0;
                opacity: 1;
            }
        }
        
        /* 云纹流动动画 */
        @keyframes cloudFlow {
            0% {
                transform: translateX(-10px);
            }
            50% {
                transform: translateX(10px);
            }
            100% {
                transform: translateX(-10px);
            }
        }
        
        /* 路径光晕效果 - 唐风金辉 */
        .path-glow {
            filter: drop-shadow(0 0 8px rgba(218, 165, 32, 0.6))
                    drop-shadow(0 0 16px rgba(218, 165, 32, 0.4));
        }
        
        /* 地图路径容器优化 */
        .leaflet-overlay-pane svg path {
            stroke-linecap: round !important;
            stroke-linejoin: round !important;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .lantern-marker.lit {
                font-size: 36px !important;
            }

            .lantern-poem-container {
                min-width: 150px;
                max-width: 250px;
                padding: 10px 15px;
            }

            .lantern-poem-text {
                font-size: 14px;
            }
        }

        /* ============================================================
           盛唐金匾 · 首页 UI 创意升级（2026-08-14 m10）
           设计语汇：宣纸底 + 棕金描边 + 朱红印章 + 回纹檐口
           配色：#8B4513 棕 / #DAA520 金 / #c93033 朱
           ============================================================ */

        /* —— 头部：匾额化 —— */
        header {
            background: linear-gradient(160deg, rgba(253, 248, 239, 0.97) 0%, rgba(245, 236, 215, 0.94) 100%);
            border: 2px solid #8B4513;
            border-top: none;
            box-shadow:
                0 8px 32px rgba(139, 69, 19, 0.18),
                0 2px 8px rgba(139, 69, 19, 0.08),
                inset 0 0 0 3px rgba(218, 165, 32, 0.35);
        }

        /* 回纹檐口：匾额下缘的唐风连续纹样 */
        header::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 4px;
            height: 8px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="8" viewBox="0 0 24 8"><path d="M1 7V1h10v4H5V3h4v1H7v1zM13 7V1h10v4h-6V3h4v1h-2v1z" fill="%23DAA520" fill-opacity="0.55"/></svg>');
            background-repeat: repeat-x;
            background-size: 24px 8px;
            pointer-events: none;
        }

        header:hover {
            background: linear-gradient(160deg, rgba(253, 250, 243, 0.98) 0%, rgba(247, 239, 222, 0.96) 100%);
            box-shadow:
                0 12px 40px rgba(139, 69, 19, 0.22),
                0 4px 12px rgba(139, 69, 19, 0.1),
                inset 0 0 0 3px rgba(218, 165, 32, 0.5);
        }

        /* —— 诗人名：鎏金渐变字 + 朱红印章 —— */
        .poet-name {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(120deg, #8B4513 15%, #DAA520 50%, #8B4513 85%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: none;
            animation: tangGoldText 6s ease infinite;
        }

        @keyframes tangGoldText {
            0% { background-position: 0% center; }
            50% { background-position: 100% center; }
            100% { background-position: 0% center; }
        }

        /* 朱红印章：白文「诗」字方章 */
        .poet-name::before {
            content: '诗';
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            background: linear-gradient(145deg, #d43a3d, #b02830);
            color: #fff;
            -webkit-text-fill-color: #fff;
            font-size: 24px;
            font-weight: bold;
            font-family: "SimSun", serif;
            border-radius: 7px;
            border: 2px solid rgba(255, 255, 255, 0.85);
            box-shadow: 0 2px 6px rgba(176, 40, 48, 0.4), inset 0 0 4px rgba(255, 255, 255, 0.3);
            transform: rotate(-3deg);
        }

        /* 名下划线：金线扫过 */
        .poet-name::after {
            background: linear-gradient(90deg, transparent, #DAA520, transparent);
            height: 3px;
        }

        /* —— 诗句副标题：古铜金渐变 —— */
        .header-title-chinese {
            background: linear-gradient(90deg, #6D3510, #B8860B, #6D3510);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% auto;
            animation: textGradient 5s ease infinite;
        }

        /* 头部折叠按钮与导航：棕金系 */
        .header-toggle-btn { color: #8B4513; }
        .header-toggle-btn:hover { background: rgba(218, 165, 32, 0.15); }

        .header-nav { border-top: 1px solid rgba(139, 69, 19, 0.25); }

        .header-nav-link {
            background: linear-gradient(135deg, #8B4513, #A0522D);
            border: 1px solid #DAA520;
            border-radius: 20px;
        }

        .header-nav-link:hover {
            background: linear-gradient(135deg, #A0522D, #8B4513);
            box-shadow: 0 3px 10px rgba(139, 69, 19, 0.35);
        }

        /* —— 控制按钮：鎏金铜扣 —— */
        .control-btn {
            background: linear-gradient(150deg, #FDF8EF 0%, #F0E4C8 100%);
            border: 2px solid #B8860B;
            color: #8B4513;
            box-shadow: 0 4px 12px rgba(139, 69, 19, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.8);
        }

        .control-btn:hover {
            background: linear-gradient(150deg, #DAA520 0%, #B8860B 100%);
            color: #fff;
            border-color: #8B4513;
            box-shadow: 0 6px 16px rgba(139, 69, 19, 0.35);
        }

        /* —— 搜索框：聚焦时的金色描边 —— */
        .search-container:focus-within {
            border-color: #DAA520;
            box-shadow: 0 4px 20px rgba(139, 69, 19, 0.2), 0 0 0 3px rgba(218, 165, 32, 0.35);
        }

        .search-button {
            background: linear-gradient(135deg, #8B4513, #A0522D);
            border: 1px solid #DAA520;
        }

        .search-button:hover {
            background: linear-gradient(135deg, #A0522D, #8B4513);
        }

        /* —— 移动端适配 —— */
        @media (max-width: 768px) {
            header {
                border-width: 1.5px !important;
            }

            header::after {
                left: 8px;
                right: 8px;
                bottom: 3px;
                height: 6px;
                background-size: 18px 6px;
            }

            .poet-name {
                gap: 8px !important;
            }

            .poet-name::before {
                width: 30px;
                height: 30px;
                font-size: 17px;
                border-radius: 5px;
                border-width: 1.5px;
            }

            /* 控制按钮容器：唐风纸感竖排 */
            .controls {
                background: linear-gradient(160deg, rgba(253, 248, 239, 0.95), rgba(245, 236, 215, 0.92)) !important;
                border: 1.5px solid #B8860B !important;
                box-shadow: 0 4px 14px rgba(139, 69, 19, 0.25) !important;
            }

            .control-btn {
                border-width: 1.5px !important;
            }

            /* 触屏无 hover：保持纸感，点击态走 :active 缩放 */
            .control-btn:hover {
                background: linear-gradient(150deg, #FDF8EF 0%, #F0E4C8 100%);
                color: #8B4513;
                border-color: #B8860B;
                transform: none;
            }

            /* 快速切换按钮样式已随 mobile-fast-mode 一并删除（2026-10-06） */
        }

        @media (max-width: 480px) {
            .poet-name::before {
                width: 26px;
                height: 26px;
                font-size: 15px;
            }
        }

        /* 用户偏好减弱动画时，停用渐变流动 */
        @media (prefers-reduced-motion: reduce) {
            .poet-name,
            .header-title-chinese {
                animation: none;
            }
        }

/* ==== source: css/pages/index-hero.css ==== */
/* ============================================================
   index-hero.css — 首页卷轴式卷首（视觉焕新 · 规划阶段B）
   依赖：themes/colors.css 宋式质感 token（经 mobile-optimization.css 全局链）
   与 components/decorations.css（.title-brush / .seal-mark）
   层叠：#hero-scroll z-9300 —— 低于 #mapLoader(9999)，高于页内其余固定层
   切换：js/index/hero-scroll.js（CTA 展卷 / 左下角 合卷·展卷）
   ============================================================ */

/* ---------- 卷首覆盖层 ---------- */
#hero-scroll {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9300;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 16px 56px;
    box-sizing: border-box;
    background:
        linear-gradient(rgba(247, 243, 233, 0.90), rgba(247, 243, 233, 0.95)),
        url('../../images/changan.webp') center / cover no-repeat,
        var(--bg-paper, #F7F3E9);
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.9s ease;
}
#hero-scroll.hero-collapsed {
    transform: translateY(-103%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.9s ease,
                visibility 0s linear 0.9s;
}
#hero-scroll.hero-no-anim,
#hero-scroll.hero-no-anim .hero-quote {
    transition: none !important;
}
[data-night-mode="true"] #hero-scroll {
    background:
        linear-gradient(rgba(38, 33, 27, 0.92), rgba(38, 33, 27, 0.96)),
        url('../../images/changan.webp') center / cover no-repeat,
        #26211B;
}

/* 卷轴上下轴杆（鎏金） */
#hero-scroll::before,
#hero-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #6D3510, #C9A227 22%, #DAA520 50%, #C9A227 78%, #6D3510);
    box-shadow: 0 2px 6px rgba(43, 38, 32, 0.4);
}
#hero-scroll::before { top: 0; }
#hero-scroll::after { bottom: 0; }

/* ---------- 内层布局 ---------- */
.hero-inner {
    width: min(1080px, 92%);
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
}

/* 左：竖排书法标题（对联式两列） */
.hero-brand {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 20px;
    flex: 0 0 auto;
}
.hero-title {
    margin: 0;
    font-family: var(--font-family-brush, 'KaiTi', 'STKaiti', serif);
    font-weight: 400;
    writing-mode: vertical-rl;
    font-size: clamp(36px, 5.4vw, 58px);
    line-height: 1.28;
    letter-spacing: 0.16em;
    color: var(--ink-black, #2B2620);
    text-shadow: 0 2px 10px rgba(201, 162, 39, 0.28);
}
.hero-brand-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
}
.hero-brand-side .seal-mark {
    font-size: 13px;
}
.hero-title-sub {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--text-secondary, #666);
    writing-mode: vertical-rl;
}
.hero-title-en {
    margin: 0;
    max-width: 300px;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: var(--ink-black, #2B2620);
    opacity: 0.78;
}

/* 右：名句轮播 + CTA */
.hero-stage {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.hero-quotes-wrap {
    position: relative;
}
.hero-quotes {
    position: relative;
    min-height: 132px;
}
.hero-quote {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}
.hero-quote.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.hero-quote-text {
    font-family: var(--font-family-brush, 'KaiTi', 'STKaiti', serif);
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1.5;
    color: var(--ink-black, #2B2620);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.hero-quote-text:hover,
.hero-quote-text:focus-visible {
    color: var(--accent-cinnabar, #A63A2B);
    border-bottom-color: var(--gold-line, #C9A227);
}
.hero-quote-src {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--text-secondary, #666);
}

/* 圆点指示 */
.hero-dots {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(166, 58, 43, 0.22);
    border: 1px solid var(--gold-line, #C9A227);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot.active {
    background: var(--accent-cinnabar, #A63A2B);
    transform: scale(1.15);
}
.hero-dot:focus-visible {
    outline: 2px solid var(--accent-cinnabar, #A63A2B);
    outline-offset: 2px;
}

/* CTA */
.hero-cta {
    align-self: flex-start;
    font-family: var(--font-family-brush, 'KaiTi', 'STKaiti', serif);
    font-size: clamp(18px, 2.2vw, 24px);
    letter-spacing: 0.12em;
    color: #F7F3E9;
    background: linear-gradient(135deg, var(--accent-cinnabar, #A63A2B), #8A2A1E);
    border: 1px solid var(--gold-line, #C9A227);
    border-radius: var(--radius-lg, 15px);
    padding: 14px 36px;
    cursor: pointer;
    box-shadow: var(--shadow-ink, 0 6px 24px rgba(43, 38, 32, 0.18));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-cta:hover,
.hero-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(166, 58, 43, 0.35);
}
.hero-cta:focus-visible {
    outline: 3px solid var(--gold-line, #C9A227);
    outline-offset: 2px;
}
.hero-hint {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-secondary, #666);
}

/* ---------- 合卷 / 展卷按钮（左下角，避开右侧控制组与浮动按钮；下移让位语言切换按钮） ---------- */
#heroToggle {
    position: fixed;
    bottom: 76px;
    left: 20px;
    z-index: 9310;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--ink-black, #2B2620);
    background:
        linear-gradient(165deg, rgba(201, 162, 39, 0.06), rgba(201, 162, 39, 0) 42%),
        var(--bg-paper, #F7F3E9);
    border: 1px solid var(--gold-line, #C9A227);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#heroToggle:hover,
#heroToggle:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-ink, 0 6px 24px rgba(43, 38, 32, 0.18));
}
#heroToggle:focus-visible {
    outline: 2px solid var(--accent-cinnabar, #A63A2B);
    outline-offset: 2px;
}

/* ---------- 语言可见性（作用域限卷首与切换按钮；html[data-ts-lang] 由 lang-toggle.js 切换） ---------- */
#hero-scroll .lang-en,
#heroToggle .lang-en { display: none; }
html[data-ts-lang="en"] #hero-scroll .lang-zh,
html[data-ts-lang="en"] #heroToggle .lang-zh { display: none; }
html[data-ts-lang="en"] #hero-scroll .lang-en,
html[data-ts-lang="en"] #heroToggle .lang-en { display: block; }

/* ---------- seo-prose 雅集化（仅版式，文案与内链不动） ---------- */
.seo-prose {
    background:
        linear-gradient(165deg, rgba(201, 162, 39, 0.05), rgba(201, 162, 39, 0) 42%),
        repeating-linear-gradient(93deg, rgba(139, 69, 19, 0.012) 0 2px, rgba(139, 69, 19, 0) 2px 6px),
        var(--bg-paper, #F7F3E9);
    border: 1px solid var(--gold-line, #C9A227);
    border-radius: var(--radius-xl, 20px);
    box-shadow: var(--shadow-ink, 0 6px 24px rgba(43, 38, 32, 0.18));
    padding: 34px clamp(18px, 4vw, 44px);
    margin: 28px auto 44px;
    max-width: 1080px;
    box-sizing: border-box;
}
.seo-prose h2 {
    font-family: var(--font-family-brush, 'KaiTi', 'STKaiti', serif);
    font-size: 26px;
    color: var(--ink-black, #2B2620);
    padding-left: 14px;
    border-left: 4px solid var(--accent-cinnabar, #A63A2B);
}
.seo-prose h2::after {
    content: "";
    display: block;
    height: 18px;
    margin-top: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='20' viewBox='0 0 120 20'%3E%3Cpath d='M0 10 Q15 2 30 10 T60 10 T90 10 T120 10' fill='none' stroke='%23C9A227' stroke-width='1.6' opacity='.75'/%3E%3Cpath d='M0 15 Q15 8 30 15 T60 15 T90 15 T120 15' fill='none' stroke='%23C9A227' stroke-width='1' opacity='.35'/%3E%3C/svg%3E") center / auto 18px repeat-x;
}
.seo-prose h3 {
    color: var(--ink-black, #2B2620);
    border-bottom: 1px dashed var(--gold-line, #C9A227);
    padding-bottom: 4px;
}
.seo-prose .lead {
    font-size: 17px;
    color: var(--text-primary, #333);
}

/* ---------- 底部导航质感（结构不动） ---------- */
.tang-bottom-nav {
    border-top: 1px solid var(--gold-line, #C9A227);
}

/* ---------- 移动端 · 展卷仪式感（m16 视觉/触感/动效大改） ---------- */
@media (max-width: 768px) {
    /* 卷首：宣纸纤维噪点叠入既有背景（夜间同配噪点变体） */
    #hero-scroll {
        padding: 64px 16px 88px;
        align-items: flex-start;
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.16 0 0 0 0 0.13 0 0 0 0 0.09 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23p)' opacity='0.5'/%3E%3C/svg%3E") repeat,
            linear-gradient(rgba(247, 243, 233, 0.92), rgba(247, 243, 233, 0.96)),
            url('../../images/changan.webp') center / cover no-repeat,
            var(--bg-paper, #F7F3E9);
    }
    [data-night-mode="true"] #hero-scroll {
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.82 0 0 0 0 0.76 0 0 0 0 0.62 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23p)' opacity='0.5'/%3E%3C/svg%3E") repeat,
            linear-gradient(rgba(38, 33, 27, 0.93), rgba(38, 33, 27, 0.97)),
            url('../../images/changan.webp') center / cover no-repeat,
            #26211B;
    }

    /* 远山：双层淡墨视差（近山深、远山浅，极缓漂移） */
    .hero-mountains {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 40%;
        pointer-events: none;
        z-index: 0;
    }
    .hero-mountains::before,
    .hero-mountains::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 100%;
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: 220% 100%;
        -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 97%);
        mask-image: linear-gradient(180deg, #000 72%, transparent 97%);
        will-change: transform;
    }
    .hero-mountains::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 90' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C45,52 80,28 118,34 C156,40 175,68 210,62 C245,56 268,22 305,30 C338,37 362,66 390,58 L390,90 L0,90 Z' fill='%232B2620'/%3E%3C/svg%3E");
        opacity: 0.055;
        animation: tsDrift 46s ease-in-out infinite alternate;
    }
    .hero-mountains::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 90' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C60,44 92,14 132,22 C172,30 190,72 232,64 C270,57 296,30 330,40 C356,48 372,70 390,62 L390,90 L0,90 Z' fill='%232B2620'/%3E%3C/svg%3E");
        opacity: 0.09;
        animation: tsDrift 32s ease-in-out infinite alternate-reverse;
    }
    [data-night-mode="true"] .hero-mountains::before,
    [data-night-mode="true"] .hero-mountains::after {
        filter: invert(0.88);
        opacity: 0.07;
    }
    @keyframes tsDrift {
        from { transform: translateX(-1.8%); }
        to { transform: translateX(1.8%); }
    }

    /* 入场编排：依次浮现（行→印→副题→句→点→CTA→合卷） */
    @keyframes tsRise {
        from { opacity: 0; transform: translateY(18px); }
        to { opacity: 1; transform: none; }
    }
    @keyframes tsLineRise {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: none; }
    }
    @keyframes tsSeal {
        0% { opacity: 0; transform: scale(1.6) rotate(-9deg); }
        62% { opacity: 1; transform: scale(0.92) rotate(1.5deg); }
        100% { opacity: 1; transform: scale(1) rotate(0); }
    }
    .hero-inner {
        position: relative;
        z-index: 1;
        width: 100%;
        flex-direction: column;
        gap: 22px;
        margin-top: 3vh;
    }
    .hero-brand {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        animation: tsRise 0.7s 0.12s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
    }
    /* 卷首展开时隐藏右上角"今日诗签"悬浮入口（避免与大标题相碰），合卷后自动恢复 */
    #hero-scroll:not(.hero-collapsed) ~ .dpc-entry {
        display: none;
    }
    /* 卷首展开时地图不可见：隐藏地图控制键与全站浮动按钮组，还卷首一片净土（2026-10-06） */
    #hero-scroll:not(.hero-collapsed) ~ main .controls {
        opacity: 0;
        pointer-events: none;
    }
    main .controls {
        transition: opacity .3s ease;
    }
    #hero-scroll:not(.hero-collapsed) ~ .floating-actions {
        display: none;
    }
    .hero-title {
        writing-mode: horizontal-tb;
        text-align: center;
        font-size: clamp(34px, 10.4vw, 50px);
        line-height: 1.22;
        letter-spacing: 0.14em;
    }
    .ht-line {
        display: block;
        animation: tsLineRise 0.66s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
    }
    .ht-line + .ht-line {
        animation-delay: 0.24s;
    }
    .hero-brand-side {
        align-items: center;
        margin-top: 0;
    }
    .hero-brand-side .seal-mark {
        animation: tsSeal 0.6s 0.5s ease-out backwards;
    }
    .hero-title-sub {
        writing-mode: horizontal-tb;
        animation: tsRise 0.6s 0.4s ease backwards;
    }
    .hero-title-en {
        animation: tsRise 0.6s 0.48s ease backwards;
    }
    .hero-stage {
        width: 100%;
        animation: tsRise 0.7s 0.56s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
    }
    .hero-dots {
        animation: tsRise 0.6s 0.68s ease backwards;
    }
    .hero-cta {
        animation: tsRise 0.65s 0.74s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
    }
    .hero-hint {
        animation: tsRise 0.6s 0.9s ease backwards;
    }
    #heroToggle {
        animation: tsRise 0.6s 1.05s ease backwards;
    }

    /* 诗句：信笺竖线 + 墨晕切换（blur 消散、上浮落定） */
    .hero-quotes {
        min-height: 170px;
    }
    .hero-quote {
        transform: translateY(12px);
        filter: blur(4px);
        transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
    }
    .hero-quote.active {
        transform: none;
        filter: blur(0);
    }
    .hero-quote-text {
        display: block;
        position: relative;
        padding-left: 14px;
        font-size: clamp(17px, 4.6vw, 21px);
        line-height: 1.65;
        overflow-wrap: break-word;
        text-wrap: balance;
    }
    .hero-quote-text::before {
        content: "";
        position: absolute;
        left: 0;
        top: 4px;
        bottom: 4px;
        width: 3px;
        border-radius: 2px;
        background: linear-gradient(180deg,
            #C45C3E 0%,
            #D9A441 55%,
            #C9A227 100%);
        box-shadow: 0 0 6px rgba(201, 162, 39, 0.45);
        opacity: 0.95;
    }

    /* 圆点：朱砂弹性缩放 + 微光 */
    .hero-dot {
        transition: background 0.25s ease,
                    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                    box-shadow 0.25s ease;
    }
    .hero-dot.active {
        transform: scale(1.35);
        box-shadow: 0 0 10px rgba(166, 58, 43, 0.5);
    }
    .hero-dot:active {
        transform: scale(0.8);
        transition-duration: 0.08s;
    }

    /* CTA：朱漆描金 + 内高光 + 周期扫光 + 按压触感 */
    .hero-cta {
        position: relative;
        overflow: hidden;
        align-self: stretch;
        text-align: center;
        padding: 13px 26px;
        font-size: 16px;
        border: 1px solid #D9B24C;
        box-shadow: 0 8px 24px rgba(166, 58, 43, 0.34),
                    inset 0 0 0 1px rgba(255, 216, 130, 0.35),
                    inset 0 1px 0 rgba(255, 238, 206, 0.42),
                    inset 0 -8px 16px rgba(90, 20, 10, 0.28);
    }
    .hero-cta::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -60%;
        width: 45%;
        background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 244, 214, 0.22) 50%,
            transparent 100%);
        transform: skewX(-18deg);
        animation: tsShine 4.2s 2s ease-in-out infinite;
    }
    @keyframes tsShine {
        0%, 58% { left: -60%; }
        88%, 100% { left: 115%; }
    }
    .hero-cta:active {
        transform: scale(0.96);
        box-shadow: 0 3px 10px rgba(166, 58, 43, 0.4),
                    inset 0 1px 0 rgba(255, 238, 206, 0.3),
                    inset 0 -4px 8px rgba(90, 20, 10, 0.35);
        transition-duration: 0.1s;
    }
    .hero-hint {
        text-align: center;
    }

    /* 合卷按钮：按压反馈 */
    #heroToggle {
        bottom: 130px;
        left: 14px;
        transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
    }
    #heroToggle:active {
        transform: scale(0.92);
    }

    /* 收卷：带回弹的卷动曲线（移动端覆盖） */
    #hero-scroll.hero-collapsed {
        transition: transform 0.85s cubic-bezier(0.32, 0, 0.28, 1.04),
                    opacity 0.85s ease,
                    visibility 0s linear 0.85s;
    }

    /* 触感系统：所有交互元素按压态 */
    .hero-cta,
    .hero-dot,
    #heroToggle {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ---------- 动效弱化（无障碍） ---------- */
@media (prefers-reduced-motion: reduce) {
    @media (max-width: 768px) {
        #hero-scroll .hero-mountains::before,
        #hero-scroll .hero-mountains::after,
        #hero-scroll .hero-cta::after,
        #hero-scroll .hero-brand,
        #hero-scroll .ht-line,
        #hero-scroll .seal-mark,
        #hero-scroll .hero-title-sub,
        #hero-scroll .hero-title-en,
        #hero-scroll .hero-stage,
        #hero-scroll .hero-dots,
        #hero-scroll .hero-cta,
        #hero-scroll .hero-hint,
        #heroToggle {
            animation: none !important;
        }
    }
}

/* ---------- 动效弱化 ---------- */
@media (prefers-reduced-motion: reduce) {
    #hero-scroll,
    #hero-scroll.hero-collapsed {
        transition: opacity 0.2s ease, transform 0s, visibility 0s linear 0.2s;
    }
    .hero-quote,
    .hero-quote-text,
    .hero-cta,
    #heroToggle {
        transition: none;
    }
}

/* ==== source: css/pages/journey-gamify.css ==== */
/* ============================================================
   journey-gamify.css — 行迹漫游趣味化（足迹卷轴/知识条/朱印彩蛋）
   依赖：js/index/journey-gamify.js（m19）；配色与全站 token 对齐
   （纸 #F7F3E9 / 鎏金 #DAA520 / 朱砂 #C41E3A / 墨 #2B2620）
   ============================================================ */

/* ---------- 足迹卷轴条（地图右上角，PC/移动统一） ---------- */
#journeyGamifyBar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 14px 9px;
    background: linear-gradient(180deg, rgba(247, 243, 233, 0.96), rgba(240, 233, 216, 0.93));
    border: 1px solid rgba(201, 162, 39, 0.55);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(43, 38, 32, 0.22);
    font-family: "KaiTi", "STKaiti", serif;
    pointer-events: auto;
    max-width: 240px;
}

/* 卷轴上下鎏金细边 + 左右轴杆 */
#journeyGamifyBar::before,
#journeyGamifyBar::after {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    width: 5px;
    background: linear-gradient(180deg, #6D3510, #C9A227 30%, #DAA520 50%, #C9A227 70%, #6D3510);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(43, 38, 32, 0.35);
}
#journeyGamifyBar::before { left: -2px; }
#journeyGamifyBar::after { right: -2px; }

#journeyGamifyBar .jg-head {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2B2620;
}
#journeyGamifyBar .jg-lantern { font-size: 14px; line-height: 1; }
#journeyGamifyBar .jg-title {
    font-size: 13px;
    letter-spacing: 2px;
    color: #6D4C2F;
}
#journeyGamifyBar .jg-count {
    font-size: 13px;
    color: #A63A2B;
    font-weight: 700;
    letter-spacing: 1px;
}

#journeyGamifyBar .jg-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 208px;
}
#journeyGamifyBar .jg-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1.5px solid rgba(109, 53, 16, 0.35);
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    cursor: default;
}
#journeyGamifyBar .jg-dot.on {
    background: var(--c, #A63A2B);
    border-color: var(--c, #A63A2B);
    box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.28), 0 0 6px var(--c, rgba(166, 58, 43, 0.55));
    transform: scale(1.08);
}

/* 全收集态：鎏金焕新 + 朱印徽记 */
#journeyGamifyBar.jg-complete {
    border-color: rgba(218, 165, 32, 0.9);
    box-shadow: 0 2px 14px rgba(218, 165, 32, 0.4);
    animation: jgGlow 2.6s ease-in-out infinite alternate;
}
@keyframes jgGlow {
    from { box-shadow: 0 2px 10px rgba(218, 165, 32, 0.25); }
    to { box-shadow: 0 2px 18px rgba(218, 165, 32, 0.55); }
}
#journeyGamifyBar .jg-badge {
    align-self: center;
    padding: 2px 12px;
    font-size: 13px;
    letter-spacing: 4px;
    color: #F7F3E9;
    background: #A63A2B;
    border: 1px solid rgba(218, 165, 32, 0.75);
    border-radius: 3px;
    box-shadow: inset 0 0 6px rgba(43, 38, 32, 0.35);
    transform: rotate(-2deg);
}

/* 灯笼足迹徽记：右上角朱点 */
.lantern-marker.jg-visited::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #DAA520, #A63A2B 65%);
    box-shadow: 0 0 5px rgba(166, 58, 43, 0.8);
    z-index: 3;
}

/* ---------- 信息卡知识条 ---------- */
.jg-know {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 2px;
}
.jg-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.7;
    border-radius: 999px;
    font-family: "KaiTi", "STKaiti", serif;
    white-space: nowrap;
}
.jg-chip-stage {
    color: #F7F3E9;
    background: var(--c, #8B4513);
    box-shadow: 0 1px 4px rgba(43, 38, 32, 0.28);
}
.jg-chip-age {
    color: #6D4C2F;
    background: rgba(218, 165, 32, 0.18);
    border: 1px solid rgba(201, 162, 39, 0.55);
}
.jg-chip-now {
    color: #2B2620;
    background: rgba(43, 38, 32, 0.06);
    border: 1px dashed rgba(109, 53, 16, 0.4);
}

/* ---------- 姊妹站权威核查条 ---------- */
.jg-sister-wrap { margin: 10px 0 4px; }
.jg-sister {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    text-decoration: none;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(43, 38, 32, 0.92), rgba(77, 60, 38, 0.92));
    border: 1px solid rgba(218, 165, 32, 0.5);
    box-shadow: 0 2px 8px rgba(43, 38, 32, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.jg-sister:hover,
.jg-sister:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(218, 165, 32, 0.9);
    box-shadow: 0 4px 14px rgba(218, 165, 32, 0.35);
}
.jg-sister-mark { font-size: 16px; line-height: 1; }
.jg-sister-text {
    flex: 1 1 auto;
    font-size: 13px;
    letter-spacing: 1px;
    color: #F0E6D2;
    font-family: "KaiTi", "STKaiti", serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.jg-sister-go {
    flex: 0 0 auto;
    font-size: 12px;
    letter-spacing: 1px;
    color: #DAA520;
}

/* ---------- 全收集朱印彩蛋 ---------- */
.jg-seal-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 26px;
    background: linear-gradient(135deg, rgba(247, 243, 233, 0.98), rgba(240, 233, 216, 0.96));
    border: 1px solid rgba(201, 162, 39, 0.65);
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(43, 38, 32, 0.35), 0 0 0 6px rgba(218, 165, 32, 0.12);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    animation: jgSealIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s forwards;
    font-family: "KaiTi", "STKaiti", serif;
}
.jg-seal-toast.jg-out {
    animation: jgSealOut 0.45s ease forwards;
}
@keyframes jgSealIn {
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes jgSealOut {
    from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    to { transform: translate(-50%, -48%) scale(0.9); opacity: 0; }
}
.jg-seal-stamp {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 3px;
    font-weight: 700;
    color: #F7F3E9;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 55%),
        linear-gradient(145deg, #B03024, #8F2318);
    border: 3px solid rgba(247, 243, 233, 0.35);
    border-radius: 6px;
    box-shadow: inset 0 0 10px rgba(43, 38, 32, 0.5), 0 4px 12px rgba(143, 35, 24, 0.5);
    transform: rotate(-6deg);
    text-shadow: 0 1px 2px rgba(43, 38, 32, 0.4);
}
.jg-seal-body { display: flex; flex-direction: column; gap: 4px; }
.jg-seal-title {
    font-size: 19px;
    letter-spacing: 4px;
    color: #A63A2B;
}
.jg-seal-sub {
    font-size: 13px;
    letter-spacing: 2px;
    color: #6D4C2F;
}
.jg-seal-link {
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #8B6914;
    text-decoration: none;
    border-bottom: 1px dashed rgba(139, 105, 20, 0.55);
}
.jg-seal-link:hover,
.jg-seal-link:focus-visible { color: #A63A2B; }
.jg-seal-close {
    position: absolute;
    top: 4px;
    right: 8px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: rgba(109, 76, 47, 0.6);
    cursor: pointer;
    padding: 4px;
}
.jg-seal-close:hover { color: #A63A2B; }

/* ---------- 移动端适配（≤768px） ---------- */
@media (max-width: 768px) {
    /* fixed 常驻视口：展卷后页面滚动、地图全屏时避开 sticky 搜索坞（高123px），
       避免卷轴条上半部被搜索坞 chips 遮挡（bar 在 #map 内 z-index 1000 无法压过坞的 z=960 所在层） */
    #journeyGamifyBar {
        position: fixed;
        top: 131px;
        right: 8px;
        padding: 6px 10px 7px;
        max-width: 172px;
        gap: 5px;
    }
    #journeyGamifyBar .jg-title { font-size: 11px; letter-spacing: 1px; }
    #journeyGamifyBar .jg-count { font-size: 11px; }
    #journeyGamifyBar .jg-dots { gap: 3px; max-width: 150px; }
    #journeyGamifyBar .jg-dot { width: 9px; height: 9px; border-width: 1px; }
    #journeyGamifyBar .jg-badge { font-size: 11px; letter-spacing: 2px; padding: 1px 9px; }

    .jg-chip { font-size: 11px; padding: 1px 8px; }

    .jg-seal-toast { gap: 12px; padding: 14px 16px; max-width: calc(100vw - 48px); }
    .jg-seal-stamp { width: 64px; height: 64px; font-size: 20px; letter-spacing: 2px; }
    .jg-seal-title { font-size: 16px; letter-spacing: 2px; }
    .jg-seal-sub { font-size: 12px; }
    .jg-seal-link { font-size: 12px; }
}

/* 深色模式跟随 */
[data-night-mode="true"] #journeyGamifyBar {
    background: linear-gradient(180deg, rgba(52, 45, 36, 0.96), rgba(43, 38, 32, 0.94));
    border-color: rgba(201, 162, 39, 0.45);
}
[data-night-mode="true"] #journeyGamifyBar .jg-title { color: #D8C9A3; }
[data-night-mode="true"] #journeyGamifyBar .jg-dot { border-color: rgba(218, 165, 32, 0.4); background: rgba(255, 255, 255, 0.06); }
[data-night-mode="true"] .jg-chip-now { color: #E8DCC0; background: rgba(218, 165, 32, 0.1); }
[data-night-mode="true"] .jg-chip-age { color: #D8C9A3; background: rgba(218, 165, 32, 0.12); }
