/* poet-detail 页面样式 */

/* ======== 从 poet-detail.html 抽取的内联样式（2026-07-18） ======== */
/* 原 <style> 块 1 */
:root {
            --tang-brown: #8B4513;
            --tang-gold: #DAA520;
            --tang-ink: #2F2F2F;
            --tang-paper: #F5F5DC;
            --tang-red: #8B0000;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
            background-color: var(--tang-paper);
            color: var(--tang-ink);
            line-height: 1.6;
        }
        
        /* 头部样式 */
        header {
            background: linear-gradient(135deg, var(--tang-brown) 0%, #A0522D 100%);
            padding: 20px;
            color: white;
            text-align: center;
            position: relative;
            box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
        }
        
        header::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, transparent, var(--tang-gold), transparent);
        }
        
        .header-back {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            text-decoration: none;
            font-size: 24px;
            padding: 8px 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            transition: all 0.3s;
        }
        
        .header-back:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-50%) scale(1.1);
        }
        
        .poet-name {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 36px;
            font-weight: bold;
            letter-spacing: 8px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .poet-title {
            font-size: 16px;
            opacity: 0.9;
            margin-top: 5px;
            font-style: italic;
        }
        
        .poet-meta {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 15px;
            font-size: 14px;
        }
        
        .poet-meta span {
            background: rgba(255,255,255,0.15);
            padding: 5px 15px;
            border-radius: 15px;
        }
        
        /* 交叉链接 */
        .cross-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 15px 20px;
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(218, 165, 32, 0.05));
            border-bottom: 1px solid rgba(139, 69, 19, 0.1);
            flex-wrap: wrap;
        }
        
        .cross-link-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            background: white;
            color: var(--tang-brown);
            text-decoration: none;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: all 0.3s;
            border: 1px solid rgba(139, 69, 19, 0.2);
        }
        
        .cross-link-btn:hover {
            background: var(--tang-brown);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
        }
        
        /* 标签页导航 */
        .tabs {
            display: flex;
            justify-content: center;
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .tab {
            padding: 15px 30px;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
            font-weight: 500;
            color: #666;
        }
        
        .tab.active {
            border-bottom-color: var(--tang-brown);
            color: var(--tang-brown);
            background: rgba(139, 69, 19, 0.05);
        }
        
        .tab:hover {
            color: var(--tang-brown);
        }
        
        /* 移动端：tab 条横向滑动，防溢出破版（2026-08-03） */
        @media (max-width: 768px) {
            .tabs {
                overflow-x: auto;
                white-space: nowrap;
                justify-content: flex-start;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            .tabs::-webkit-scrollbar {
                display: none;
            }
            .tabs .tab {
                flex-shrink: 0;
                padding: 12px 20px;
            }
        }
        
        /* 内容区域 */
        .content-section {
            display: none;
            padding: 30px;
            animation: fadeIn 0.3s ease;
        }
        
        .content-section.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* 基本信息卡片 */
        .info-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            border: 2px solid var(--tang-brown);
            position: relative;
        }
        
        .info-card::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            border: 1px dashed var(--tang-gold);
            border-radius: 10px;
            pointer-events: none;
        }
        
        .info-section {
            margin-bottom: 25px;
        }
        
        .info-title {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 20px;
            color: var(--tang-brown);
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--tang-gold);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .info-title::before {
            content: '◆';
            color: var(--tang-gold);
        }
        
        .info-text {
            font-size: 16px;
            line-height: 2.0;
            text-indent: 2em;
        }
        
        /* 代表作品 */
        .poem-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .poem-card {
            background: linear-gradient(135deg, #fffef8 0%, #faf5f0 100%);
            border-left: 4px solid var(--tang-gold);
            border-radius: 0 10px 10px 0;
            padding: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
        
        .poem-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
        }
        
        .poem-title {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 18px;
            font-weight: bold;
            color: var(--tang-brown);
            margin-bottom: 8px;
        }
        
        .poem-preview {
            font-size: 14px;
            color: #666;
            line-height: 1.8;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .poem-meta {
            margin-top: 10px;
            font-size: 12px;
            color: #999;
            display: flex;
            justify-content: space-between;
        }
        
        .favorite-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            transition: transform 0.3s;
            color: #ccc;
        }
        
        .favorite-btn.favorited {
            color: #ff6b6b;
            transform: scale(1.2);
        }
        
        /* 地图区域 */
        #poet-map {
            height: 500px;
            width: 100%;
            border-radius: 15px;
            margin-top: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }
        
        /* 时间线 */
        .timeline {
            position: relative;
            padding-left: 40px;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 15px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(180deg, var(--tang-gold), var(--tang-brown));
            border-radius: 3px;
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 40px;
            animation: slideIn 0.5s ease backwards;
        }
        
        .timeline-item:nth-child(odd) { animation-delay: 0.1s; }
        .timeline-item:nth-child(even) { animation-delay: 0.2s; }
        
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        .timeline-dot {
            position: absolute;
            left: -31px;
            top: 5px;
            width: 15px;
            height: 15px;
            background: var(--tang-gold);
            border-radius: 50%;
            border: 3px solid var(--tang-brown);
            box-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
        }
        
        .timeline-year {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 20px;
            font-weight: bold;
            color: var(--tang-brown);
            margin-bottom: 8px;
        }
        
        .timeline-content {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }
        
        .timeline-location {
            font-weight: bold;
            color: var(--tang-red);
            margin-bottom: 5px;
        }
        
        .timeline-event {
            font-size: 15px;
            line-height: 1.8;
        }
        
        .timeline-poem {
            margin-top: 10px;
            padding: 10px;
            background: rgba(218, 165, 32, 0.1);
            border-radius: 5px;
            font-style: italic;
            font-size: 14px;
            color: var(--tang-brown);
        }
        
        /* 音频播放器 */
        .audio-player {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            border: 2px solid var(--tang-brown);
        }
        
        .audio-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .audio-icon {
            font-size: 48px;
            animation: pulse 2s ease-in-out infinite;
        }
        
        /* 诗人画像悬停展示 */
        .poet-portrait {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            cursor: pointer;
        }
        
        .poet-portrait img {
            width: 100%;
            height: auto;
            transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .poet-portrait:hover img {
            transform: scale(1.1);
        }
        
        .poet-portrait-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            padding: 30px 20px 20px;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }
        
        .poet-portrait:hover .poet-portrait-overlay {
            transform: translateY(0);
        }
        
        .portrait-quote {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 14px;
            font-style: italic;
            line-height: 1.6;
        }
        
        /* 时间轴交互增强 */
        .timeline-item {
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .timeline-item:hover {
            transform: translateX(10px);
        }
        
        .timeline-item:hover .timeline-dot {
            transform: scale(1.3);
            box-shadow: 0 0 20px rgba(218, 165, 32, 0.8);
        }
        
        .timeline-item.active {
            background: rgba(218, 165, 32, 0.08);
            border-radius: 10px;
            padding: 10px;
        }
        
        .timeline-scroll-indicator {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .scroll-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ccc;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .scroll-dot.active {
            background: var(--tang-brown);
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(139, 69, 19, 0.5);
        }
        
        /* 诗词卡片翻转动画 */
        .poem-card {
            perspective: 1000px;
        }
        
        .poem-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.6s;
            transform-style: preserve-3d;
        }
        
        .poem-card.flipped .poem-card-inner {
            transform: rotateY(180deg);
        }
        
        .poem-card-front,
        .poem-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 0 10px 10px 0;
        }
        
        .poem-card-back {
            background: linear-gradient(135deg, var(--tang-brown), #A0522D);
            color: white;
            transform: rotateY(180deg);
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        /* 标签页切换动画 */
        .tab {
            position: relative;
            overflow: hidden;
        }
        
        .tab::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--tang-brown);
            transition: width 0.3s ease;
        }
        
        .tab.active::after {
            width: 100%;
        }
        
        /* 统计数字动画 */
        .stat-number {
            animation: countUp 2s ease-out;
        }
        
        @keyframes countUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        .audio-info h3 {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 22px;
            color: var(--tang-brown);
        }
        
        .audio-info p {
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }
        
        .audio-controls {
            display: flex;
            align-items: center;
            gap: 15px;
            background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe5 100%);
            padding: 20px;
            border-radius: 10px;
        }
        
        .play-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--tang-brown), #A0522D);
            color: white;
            border: none;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(139, 69, 19, 0.5);
        }
        
        .progress-container {
            flex: 1;
            height: 8px;
            background: #ddd;
            border-radius: 4px;
            cursor: pointer;
            overflow: hidden;
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--tang-gold), var(--tang-brown));
            border-radius: 4px;
            transition: width 0.1s;
        }
        
        .time-display {
            font-size: 14px;
            color: #666;
            min-width: 80px;
            text-align: right;
        }
        
        .volume-control {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .volume-slider {
            width: 80px;
        }
        
        /* 学习进度 */
        .progress-section {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            border: 2px solid var(--tang-brown);
        }
        
        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .progress-title {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 22px;
            color: var(--tang-brown);
        }
        
        .progress-stats {
            display: flex;
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-value {
            font-size: 28px;
            font-weight: bold;
            color: var(--tang-gold);
        }
        
        .stat-label {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }
        
        .progress-chart {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .chart-item {
            background: linear-gradient(135deg, #fffef8 0%, #faf5f0 100%);
            padding: 20px;
            border-radius: 10px;
            text-align: center;
        }
        
        .chart-bar-container {
            height: 100px;
            background: #eee;
            border-radius: 5px;
            overflow: hidden;
            margin: 10px 0;
            position: relative;
        }
        
        .chart-bar {
            width: 100%;
            background: linear-gradient(180deg, var(--tang-gold), var(--tang-brown));
            border-radius: 5px;
            transition: height 1s ease;
            position: absolute;
            bottom: 0;
            left: 0;
        }
        
        .chart-label {
            font-size: 14px;
            color: #666;
        }
        
        .chart-value {
            font-weight: bold;
            color: var(--tang-brown);
        }
        
        /* 收藏列表 */
        .favorite-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .empty-state {
            text-align: center;
            padding: 60px;
            color: #999;
        }
        
        .empty-state i {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.5;
        }
        
        /* AI助手容器 */
        #ai-assistant-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .poet-name {
                font-size: 24px;
                letter-spacing: 4px;
            }
            
            .poet-meta {
                flex-wrap: wrap;
                gap: 10px;
            }
            
            .tab {
                padding: 12px 15px;
                font-size: 14px;
            }
            
            .content-section {
                padding: 15px;
            }
            
            .info-card {
                padding: 20px;
            }
            
            #poet-map {
                height: 350px;
            }
            
            .timeline {
                padding-left: 30px;
            }
            
            .timeline::before {
                left: 10px;
            }
            
            .timeline-dot {
                left: -26px;
            }
            
            .audio-controls {
                flex-wrap: wrap;
            }
            
            .volume-control {
                width: 100%;
                justify-content: center;
                margin-top: 10px;
            }
            
            .progress-stats {
                flex-wrap: wrap;
            }
        }
        
        /* ====== 增强交互效果 ====== */
        
        /* 时间轴动画增强 */
        .timeline-item {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .timeline-item:hover {
            transform: translateX(10px);
        }
        
        .timeline-item:hover .timeline-dot {
            transform: scale(1.5);
            box-shadow: 0 0 20px rgba(218, 165, 32, 0.8);
        }
        
        .timeline-content {
            transition: all 0.3s ease;
        }
        
        .timeline-item:hover .timeline-content {
            box-shadow: 0 8px 30px rgba(139, 69, 19, 0.2);
            border: 2px solid var(--tang-gold);
        }
        
        /* 时间线圆点脉冲效果 */
        .timeline-dot {
            animation: dotPulse 3s ease-in-out infinite;
        }
        
        @keyframes dotPulse {
            0%, 100% {
                box-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
            }
            50% {
                box-shadow: 0 0 20px rgba(218, 165, 32, 0.8);
            }
        }
        
        /* 诗人信息卡片入场动画 */
        .info-card {
            animation: cardSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @keyframes cardSlideIn {
            0% {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        /* 信息卡片悬浮效果 */
        .info-card {
            transition: all 0.3s ease;
        }
        
        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(139, 69, 19, 0.15);
        }
        
        /* 代表作品卡片3D翻转效果 */
        .poem-card {
            perspective: 1000px;
            transform-style: preserve-3d;
        }
        
        .poem-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transform-style: preserve-3d;
        }
        
        .poem-card:hover .poem-card-inner {
            transform: rotateY(180deg);
        }
        
        .poem-card-front,
        .poem-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 0 10px 10px 0;
            padding: 20px;
        }
        
        .poem-card-front {
            background: linear-gradient(135deg, #fffef8 0%, #faf5f0 100%);
            border-left: 4px solid var(--tang-gold);
        }
        
        .poem-card-back {
            transform: rotateY(180deg);
            background: linear-gradient(135deg, var(--tang-brown), #A0522D);
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        /* 标签页切换动画 */
        .tab {
            position: relative;
            overflow: hidden;
        }
        
        .tab::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--tang-gold);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .tab:hover::after {
            transform: scaleX(1);
        }
        
        .tab.active::after {
            transform: scaleX(1);
            background: var(--tang-brown);
        }
        
        /* 返回按钮波纹效果 */
        .header-back {
            position: relative;
            overflow: hidden;
        }
        
        .header-back::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.4s ease-out, height 0.4s ease-out;
        }
        
        .header-back:active::after {
            width: 200%;
            height: 200%;
        }
        
        /* 收藏按钮心跳动画 */
        .favorite-btn {
            transition: all 0.3s ease;
        }
        
        .favorite-btn.favorited {
            animation: heartBeat 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }
        
        @keyframes heartBeat {
            0% { transform: scale(1); }
            25% { transform: scale(1.4); }
            50% { transform: scale(1); }
            75% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        /* 音频图标跳动动画 */
        .audio-icon {
            animation: audioWave 1.5s ease-in-out infinite;
        }
        
        @keyframes audioWave {
            0%, 100% {
                transform: scale(1);
                opacity: 0.8;
            }
            25% {
                transform: scale(1.1);
                opacity: 1;
            }
            50% {
                transform: scale(0.95);
                opacity: 0.9;
            }
            75% {
                transform: scale(1.05);
                opacity: 1;
            }
        }
        
        /* 地图加载动画 */
        #poet-map {
            position: relative;
            overflow: hidden;
        }
        
        #poet-map::before {
            content: '加载地图中...';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--tang-brown);
            font-size: 16px;
            z-index: 1000;
            animation: mapLoading 1s ease-in-out infinite;
        }
        
        #poet-map.loaded::before {
            display: none;
        }
        
        @keyframes mapLoading {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }
        
        /* 内容区域滚动触发动画 */
        .content-section.active {
            animation: sectionFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @keyframes sectionFadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 年份高亮效果 */
        .timeline-year {
            transition: all 0.3s ease;
        }
        
        .timeline-item:hover .timeline-year {
            color: var(--tang-red);
            text-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
        }
        
        /* 诗句文字逐字显示 */
        .timeline-poem {
            overflow: hidden;
        }
        
        .timeline-poem-char {
            display: inline-block;
            opacity: 0;
            transform: translateY(5px);
            animation: charReveal 0.3s ease-out forwards;
        }
        
        @keyframes charReveal {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* ====== 增强交互效果 ====== */
        
        /* 页面标题动画 */
        .poet-name {
            animation: poetNameReveal 1s ease-out;
            background: linear-gradient(135deg, #8B4513, #DAA520, #FFD700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        @keyframes poetNameReveal {
            0% { opacity: 0; transform: translateY(-30px) scale(0.8); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }
        
        /* 诗人称号动画 */
        .poet-title {
            animation: titleFadeIn 0.8s ease-out 0.5s backwards;
        }
        
        @keyframes titleFadeIn {
            0% { opacity: 0; letter-spacing: 20px; }
            100% { opacity: 1; letter-spacing: normal; }
        }
        
        /* 诗人元信息动画 */
        .poet-meta {
            animation: metaFadeIn 0.6s ease-out 0.8s backwards;
        }
        
        @keyframes metaFadeIn {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        /* 返回按钮波纹 */
        .header-back {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        
        .header-back:hover {
            transform: translateX(-5px);
            color: #DAA520;
        }
        
        .header-back::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.4s ease-out, height 0.4s ease-out;
        }
        
        .header-back:active::after {
            width: 200%;
            height: 200%;
        }
        
        /* 诗人头像悬浮 */
        .poet-avatar {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: avatarReveal 1s ease-out 0.3s backwards;
        }
        
        @keyframes avatarReveal {
            0% { opacity: 0; transform: scale(0.8); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        .poet-avatar:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
        }
        
        /* 标签悬浮效果 */
        .poet-tag {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: tagFadeIn 0.5s ease-out backwards;
        }
        
        .poet-tag:nth-child(1) { animation-delay: 0.4s; }
        .poet-tag:nth-child(2) { animation-delay: 0.5s; }
        .poet-tag:nth-child(3) { animation-delay: 0.6s; }
        .poet-tag:nth-child(4) { animation-delay: 0.7s; }
        
        @keyframes tagFadeIn {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        .poet-tag:hover {
            transform: translateY(-3px) scale(1.05);
            background: #DAA520;
            color: #8B4513;
            box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
        }
        
        /* 统计卡片入场 */
        .stat-card {
            animation: statSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
        }
        
        .stat-card:nth-child(1) { animation-delay: 0.3s; }
        .stat-card:nth-child(2) { animation-delay: 0.4s; }
        .stat-card:nth-child(3) { animation-delay: 0.5s; }
        
        @keyframes statSlideIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        /* 统计卡片悬浮 */
        .stat-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .stat-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 10px 25px rgba(139, 69, 19, 0.15);
        }
        
        /* 统计数字渐变 */
        .stat-value {
            background: linear-gradient(135deg, #8B4513, #DAA520);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* 时间轴项入场 */
        .timeline-item {
            animation: timelineSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
        }
        
        @keyframes timelineSlideIn {
            0% { opacity: 0; transform: translateX(-20px); }
            100% { opacity: 1; transform: translateX(0); }
        }
        
        /* 时间轴悬浮增强 */
        .timeline-item {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .timeline-item:hover {
            transform: translateX(10px);
            border-left: 4px solid #DAA520;
        }
        
        /* 时间轴年份渐变 */
        .timeline-year {
            background: linear-gradient(135deg, #8B4513, #DAA520);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* 诗句卡片入场 */
        .poem-card {
            animation: poemCardSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
        }
        
        .poem-card:nth-child(1) { animation-delay: 0.2s; }
        .poem-card:nth-child(2) { animation-delay: 0.3s; }
        .poem-card:nth-child(3) { animation-delay: 0.4s; }
        .poem-card:nth-child(4) { animation-delay: 0.5s; }
        .poem-card:nth-child(5) { animation-delay: 0.6s; }
        
        @keyframes poemCardSlideIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        /* 诗句卡片悬浮 */
        .poem-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .poem-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(139, 69, 19, 0.15);
        }
        
        /* 诗句标题渐变 */
        .poem-card h4 {
            background: linear-gradient(135deg, #8B4513, #DAA520);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* 收藏按钮心跳 */
        .favorite-btn {
            transition: all 0.3s ease;
        }
        
        .favorite-btn:hover {
            transform: scale(1.2);
        }
        
        .favorite-btn.active {
            animation: heartBeat 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            color: #b91c1c;
        }
        
        @keyframes heartBeat {
            0% { transform: scale(1); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }
        
        /* 音频播放器动画 */
        .audio-player {
            animation: audioFadeIn 0.6s ease-out 0.5s backwards;
        }
        
        @keyframes audioFadeIn {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        /* 进度条流光 */
        .progress-bar {
            background: linear-gradient(90deg, #DAA520, #FFD700, #DAA520, #FFD700, #DAA520);
            background-size: 200% 100%;
            animation: progressFlow 2s linear infinite;
        }
        
        @keyframes progressFlow {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }
        
        /* 导航链接动画 */
        .nav-link {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #DAA520, #FFD700);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .nav-link:hover {
            color: #DAA520;
            transform: translateY(-2px);
        }
        
        /* 返回顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #8B4513;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            text-decoration: none;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .back-to-top.show {
            opacity: 1;
            animation: btnBounce 0.5s ease-out;
        }
        
        @keyframes btnBounce {
            0% { transform: scale(0); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .back-to-top:hover {
            background: #DAA520;
            transform: translateY(-5px);
        }
        
        /* 地图加载动画 */
        #poetMap {
            position: relative;
        }
        
        #poetMap::before {
            content: '绘制诗人足迹中...';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #8B4513;
            font-size: 14px;
            z-index: 1000;
            animation: mapLoading 1.5s ease-in-out infinite;
        }
        
        #poetMap.loaded::before {
            display: none;
        }
        
        @keyframes mapLoading {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }
        
        /* 地图标记动画 */
        .poet-marker {
            animation: markerBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }
        
        @keyframes markerBounce {
            0% { transform: scale(0); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }

/* 原内联 style 属性（已转为 class） */
.ih-1c1ityx {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.ih-1tgatbt {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ih-1iqntzy {
    height: 60%;
}

.ih-1iqmajg {
    height: 40%;
}

.ih-1iqn29p {
    height: 50%;
}

.ih-1iqolq7 {
    height: 70%;
}

.ih-mmh101 {
    background: #8B4513;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    transition: all 0.3s;
}
