/* 首页主样式（从 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;
            }
            
            /* 移动端：控制按钮极简化 */
            .controls {
                position: fixed !important;
                top: auto !important;
                bottom: 15px !important;
                right: 8px !important;
                width: 38px !important;
                background: rgba(255, 255, 255, 0.85) !important;
                padding: 5px !important;
                border-radius: 19px !important;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
            }
            
            .control-btn {
                width: 32px !important;
                height: 32px !important;
                font-size: 14px !important;
            }
        }
        
        /* ====== 超小屏幕极致优化 ====== */
        @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;
            }
            
            .controls {
                width: 35px !important;
                padding: 4px !important;
                border-radius: 17px !important;
            }
            
            .control-btn {
                width: 28px !important;
                height: 28px !important;
                font-size: 12px !important;
            }
        }
        
        /* ====== 灯笼高亮动画效果 ====== */
        /* 灯笼基础样式 */
        .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-ui-toggle {
                background: linear-gradient(135deg, rgba(139, 69, 19, 0.92), rgba(160, 82, 45, 0.92));
                border: 1.5px solid #DAA520;
                box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
            }

            .mobile-ui-toggle:hover {
                background: linear-gradient(135deg, #8B4513, #A0522D);
            }
        }

        @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;
            }
        }
