/* ==================== 有趣的数特定样式 ==================== */

/* 聊天统计容器样式 - 应用到有趣的数第二页 */
.chat-stats-container {
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 24px;
}

.slide-description .chat-stats-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%) !important;
    padding: 20px !important;
}

.slide-description .chat-stats-container .stats-header,
.slide-description .chat-stats-container .stats-grid,
.slide-description .chat-stats-container .final-stat-card {
    background: transparent !important;
    padding: 0 !important;
}

.chat-stats-container .stats-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 35px 25px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15), rgba(135, 206, 235, 0.15));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.chat-stats-container .stats-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFB6C1, #87CEEB, #FFB6C1);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.chat-stats-container .header-icon {
    font-size: 56px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.chat-stats-container .stats-title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B9D, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 12px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.chat-stats-container .stats-subtitle {
    font-size: 17px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    opacity: 0.85;
}

.chat-stats-container .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

/* 拟态化卡片样式 */
.chat-stats-container .stat-card {
    text-align: center;
}

.chat-stats-container .neumorphic-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    box-shadow: 6px 6px 20px rgba(163, 177, 198, 0.5),
                -6px -6px 20px rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 30px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.chat-stats-container .neumorphic-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 12px 12px 30px rgba(163, 177, 198, 0.6),
                -12px -12px 30px rgba(255, 255, 255, 0.95);
}

.chat-stats-container .neumorphic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFB6C1, #87CEEB, #FFB6C1);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

/* 图标包装器样式 */
.chat-stats-container .stat-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 6px 6px 12px rgba(163, 177, 198, 0.4),
                -6px -6px 12px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.chat-stats-container .stat-icon-wrapper:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 8px 8px 16px rgba(163, 177, 198, 0.5),
                -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.chat-stats-container .stat-icon-wrapper.heart-icon {
    background: linear-gradient(145deg, #ffe4e9, #ffc4d6);
}

.chat-stats-container .stat-icon-wrapper.heart-icon .stat-icon-svg {
    color: #FF6B9D;
}

.chat-stats-container .stat-icon-svg {
    width: 40px;
    height: 40px;
    color: #87CEEB;
    transition: all 0.3s ease;
}

/* 数字样式 */
.chat-stats-container .stat-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #FF6B9D, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -2px;
    line-height: 1.1;
}

.chat-stats-container .stat-number陪伴 {
    font-size: 42px;
    background: linear-gradient(135deg, #FF6B9D, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* 标签样式 */
.chat-stats-container .stat-label {
    font-size: 15px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0.7;
}

/* 图标容器样式 */
.chat-stats-container .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 12px rgba(163, 177, 198, 0.4),
                -4px -4px 12px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.chat-stats-container .stat-icon svg {
    width: 32px;
    height: 32px;
    color: #87CEEB;
    transition: all 0.3s ease;
}

.chat-stats-container .stat-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 6px 6px 16px rgba(163, 177, 198, 0.5),
                -6px -6px 16px rgba(255, 255, 255, 0.9);
}

.chat-stats-container .stat-icon:hover svg {
    color: #FF6B9D;
}

/* 内容容器样式 */
.chat-stats-container .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 副标题样式 */
.chat-stats-container .stat-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* 分隔线样式 */
.chat-stats-container .stat-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFB6C1, #87CEEB, transparent);
    margin: 20px 0;
    opacity: 0.6;
}

/* 描述文字样式 */
.chat-stats-container .stat-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
    font-weight: 500;
}

.chat-stats-container .stat-desc-secondary {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.85;
    font-weight: 400;
}

.chat-stats-container .stat-desc-tertiary {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    opacity: 0.7;
    font-weight: 400;
}

/* 高亮文字样式 */
.chat-stats-container .highlight-text {
    color: #FF6B9D;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.25), rgba(135, 206, 235, 0.25));
    padding: 3px 8px;
    border-radius: 6px;
}

.chat-stats-container .number-highlight {
    color: #87CEEB;
    font-weight: 800;
    font-size: 1.15em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 特殊卡片样式 */
.chat-stats-container .special-card {
    background: linear-gradient(145deg, #fff5f7, #ffe4e9);
    box-shadow: 8px 8px 24px rgba(255, 107, 157, 0.25),
                -8px -8px 24px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 182, 193, 0.3);
}

.chat-stats-container .special-card::before {
    background: linear-gradient(90deg, #FF6B9D, #FFB6C1, #FF6B9D);
}

/* 最终卡片样式 */
.chat-stats-container .final-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    padding: 40px 35px;
    margin-top: 40px;
    box-shadow: 10px 10px 30px rgba(163, 177, 198, 0.6),
                -10px -10px 30px rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.chat-stats-container .final-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 8px 8px 16px rgba(163, 177, 198, 0.5),
                -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.chat-stats-container .final-icon-svg {
    width: 45px;
    height: 45px;
    color: #87CEEB;
}

.chat-stats-container .final-content {
    margin-bottom: 24px;
}

.chat-stats-container .final-text {
    font-size: 20px;
    color: #475569;
    margin-bottom: 12px;
    font-weight: 600;
}

.chat-stats-container .final-highlight {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B9D, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

/* 装饰元素样式 */
.chat-stats-container .final-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.chat-stats-container .decoration-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB6C1, #87CEEB);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-stats-container .decoration-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #FFB6C1, #87CEEB);
    opacity: 0.6;
}

/* 书籍封面样式 */
.chat-stats-container .book-cover {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 8px 8px 24px rgba(163, 177, 198, 0.5),
                -8px -8px 24px rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.chat-stats-container .book-cover:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 32px rgba(163, 177, 198, 0.6),
                -12px -12px 32px rgba(255, 255, 255, 0.95);
}

.chat-stats-container .book-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 12px rgba(163, 177, 198, 0.4),
                -4px -4px 12px rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.chat-stats-container .book-icon svg {
    width: 40px;
    height: 40px;
    color: #87CEEB;
}

.chat-stats-container .book-info {
    flex: 1;
}

.chat-stats-container .book-title {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B9D, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.chat-stats-container .book-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    opacity: 0.8;
}

/* 引用框样式 */
.chat-stats-container .quote-box {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 28px 32px;
    margin-top: 30px;
    box-shadow: 6px 6px 18px rgba(163, 177, 198, 0.4),
                -6px -6px 18px rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.chat-stats-container .quote-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFB6C1, #87CEEB, #FFB6C1);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

.chat-stats-container .quote-icon {
    width: 32px;
    height: 32px;
    color: #FFB6C1;
    margin-bottom: 16px;
    opacity: 0.6;
}

.chat-stats-container .quote-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
    font-style: italic;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .chat-stats-container {
        padding: 15px;
    }

    .chat-stats-container .stats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .chat-stats-container .stat-number {
        font-size: 48px;
    }

    .chat-stats-container .stats-title {
        font-size: 28px;
    }

    .chat-stats-container .stats-header {
        padding: 25px 20px;
    }

    .chat-stats-container .header-icon {
        font-size: 48px;
    }

    .chat-stats-container .stat-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .chat-stats-container .stat-icon-svg {
        width: 35px;
        height: 35px;
    }

    .chat-stats-container .final-card {
        padding: 30px 25px;
    }

    .chat-stats-container .final-highlight {
        font-size: 22px;
    }

    .chat-stats-container .book-cover {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .chat-stats-container .book-icon {
        width: 60px;
        height: 60px;
    }

    .chat-stats-container .book-title {
        font-size: 18px;
    }

    .chat-stats-container .book-subtitle {
        font-size: 13px;
    }

    .chat-stats-container .quote-box {
        padding: 24px 20px;
    }

    .chat-stats-container .quote-text {
        font-size: 14px;
    }
    
    /* 时间轴移动端响应式 */
    .timeline-container {
        gap: 1.5%;
        padding: 0.5%;
    }
    
    .timeline-item {
        gap: 1.5%;
        flex-direction: column; /* 小屏幕垂直排列 */
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
    }
    
    .timeline-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .timeline-content {
        padding: 3%; /* 移动端增加padding比例 */
        font-size: clamp(8px, 2vw, 12px); /* 更小的响应式字体 */
    }
    
    .timeline-content .timeline-date,
    .timeline-content .timeline-main-text,
    .timeline-content .timeline-highlight,
    .timeline-content .timeline-days,
    .timeline-content .timeline-note {
        font-size: clamp(8px, 2vw, 12px);
    }
    
    .timeline-content .days-number {
        font-size: clamp(12px, 2.5vw, 18px);
    }
    
    .timeline-content .realtime-section {
        font-size: clamp(7px, 1.5vw, 10px);
    }
    
    .timeline-content .countdown-value {
        font-size: clamp(10px, 2vw, 16px);
    }
}

/* ==================== 时间轴样式 ==================== */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 2%; /* 使用百分比，按比例缩放 */
    padding: 1%; /* 使用百分比，按比例缩放 */
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* 防止内容溢出 */
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2%; /* 使用百分比，按比例缩放 */
    width: 100%;
    max-width: 100%;
}

.timeline-icon {
    margin-top: 5px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.timeline-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-icon-img:hover {
    transform: scale(1.1);
}

.large-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.large-image-overlay.active {
    opacity: 1;
    visibility: visible;
}

.large-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
}

.timeline-content {
    flex: 1;
    min-width: 0; /* 允许flex子项缩小 */
    width: 100%; /* 确保宽度自适应 */
    background: linear-gradient(145deg, #eff6ff 0%, #fce7f3 100%);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 2%; /* 使用百分比padding，按比例缩放 */
    text-align: center;
    box-shadow:
        inset 6px 6px 12px rgba(209, 217, 230, 0.3),
        inset -6px -6px 12px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    box-sizing: border-box; /* 确保padding包含在宽度内 */
    overflow-wrap: break-word; /* 长文本自动换行 */
    word-break: break-word; /* 强制换行 */
    aspect-ratio: auto; /* 允许内容自然调整高度 */
}

/* 内部元素使用相对字体大小，随容器缩放 */
.timeline-content .timeline-date,
.timeline-content .timeline-main-text,
.timeline-content .timeline-highlight,
.timeline-content .timeline-days,
.timeline-content .timeline-note {
    font-size: clamp(10px, 1.5vw, 16px); /* 响应式字体大小 */
}

.timeline-content .days-number {
    font-size: clamp(14px, 2vw, 24px); /* 响应式字体大小 */
}

/* 实时动态区域响应式 */
.timeline-content .realtime-section {
    font-size: clamp(8px, 1.2vw, 14px);
}

.timeline-content .countdown-value {
    font-size: clamp(12px, 1.8vw, 20px);
}

.timeline-content:hover {
    transform: rotateY(5deg) rotateX(2deg);
}

.timeline-content.popped {
    box-shadow:
        8px 8px 16px rgba(209, 217, 230, 0.5),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    z-index: 100;
}

.timeline-date {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    background: linear-gradient(-45deg, #FFB6C1, #87CEEB, #FFB6C1, #87CEEB);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 5s ease infinite, breathe 3s ease-in-out infinite;
    display: inline-block;
    transform-origin: left center;
}

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

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.timeline-text {
    color: #4A5568;
    font-size: 16px;
    margin-bottom: 8px;
}

.timeline-highlight {
    color: #667EEA;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-highlight:hover {
    transform: scale(1.05);
}

.timeline-highlight.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.timeline-days {
    color: #4A5568;
    font-size: 20px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-days:hover {
    transform: scale(1.05);
}

.timeline-days.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.days-number {
    color: #FF6B9D;
    font-size: 24px;
    font-weight: 700;
}

.timeline-note {
    color: #94A3B8;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-note:hover {
    transform: scale(1.05);
}

.timeline-note.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-header:hover {
    transform: scale(1.05);
}

.timeline-header.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.timeline-icon-small {
    font-size: 16px;
    color: #FF6B9D;
}

.timeline-main-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-main-text:hover {
    transform: scale(1.05);
}

.timeline-main-text.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.timeline-icon-inline {
    font-size: 14px;
    color: #87CEEB;
    flex-shrink: 0;
}

.timeline-highlight .timeline-icon-inline {
    color: #FFD700;
}

.timeline-days .timeline-icon-inline {
    color: #FF6B9D;
}

.timeline-note .timeline-icon-inline {
    color: #94A3B8;
    font-size: 12px;
}

.timeline-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 182, 193, 0.3), rgba(135, 206, 235, 0.3), transparent);
    margin: 20px 0;
    border-radius: 1px;
}

.realtime-section {
    margin-top: 20px;
    padding-top: 20px;
}

.realtime-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #667EEA;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.realtime-title:hover {
    transform: scale(1.05);
}

.realtime-title.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.realtime-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.realtime-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #87CEEB;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.realtime-date:hover {
    transform: scale(1.05);
}

.realtime-date.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.realtime-time-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #FF6B9D;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.realtime-time-value:hover {
    transform: scale(1.05);
}

.realtime-time-value.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.realtime-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: scale(1.05);
}

.countdown-item.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.countdown-label {
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 4px;
    font-weight: 500;
}

.countdown-value {
    font-size: 24px;
    font-weight: 700;
    color: #87CEEB;
    min-width: 40px;
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #87CEEB, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-separator {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B9D;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ==================== 统计项容器样式 ==================== */
.stat-item-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    box-shadow:
        4px 4px 8px rgba(209, 217, 230, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow:
        6px 6px 12px rgba(209, 217, 230, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.9);
}

/* 等号点击效果 */
.equal-sign {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 12px;
    border-radius: 8px;
    background: linear-gradient(145deg, #FFB6C1, #87CEEB);
    color: white;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 2px 2px 6px rgba(255, 107, 157, 0.3);
}

.equal-sign:hover {
    transform: scale(1.2) rotate(180deg);
    box-shadow: 3px 3px 8px rgba(255, 107, 157, 0.5);
}

.equal-sign:active {
    transform: scale(1.1) rotate(360deg);
}

/* ==================== 聊天对话框样式 ==================== */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.my-message {
    justify-content: flex-start;
    flex-direction: row;
}

.your-message {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB6C1 0%, #87CEEB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px !important;
    flex-shrink: 0;
    box-shadow:
        4px 4px 8px rgba(255, 182, 193, 0.3),
        -4px -4px 8px rgba(135, 206, 235, 0.3);
}

.my-message .message-avatar {
    margin-right: 12px;
}

.your-message .message-avatar {
    margin-left: 12px;
}

.message-content {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.message-content:hover {
    transform: scale(1.05);
}

.message-content.enlarged {
    transform: scale(1.3);
    z-index: 100;
}

.my-message .message-content.enlarged {
    transform: scale(1.3) translateX(20%);
}

.your-message .message-content.enlarged {
    transform: scale(1.3) translateX(-20%);
}

.my-message .message-content {
    align-items: flex-start;
}

.your-message .message-content {
    align-items: flex-end;
}

.message-text {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    color: #4A5568;
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.3);
}

.message-time {
    color: #94A3B8;
    font-size: 12px;
    text-align: inherit;
}

.my-message .message-text {
    background: rgba(135, 206, 235, 0.3);
}

.your-message .message-text {
    background: rgba(255, 182, 193, 0.3);
}

.message-time {
    color: #94A3B8;
    font-size: 12px;
}

.my-message .message-text {
    border-bottom-left-radius: 6px;
}

.my-message .message-image {
    border-bottom-left-radius: 6px;
}

.your-message .message-text {
    border-bottom-right-radius: 6px;
}

/* 确保所有对话框高度一致 */
.message-text {
    min-height: 45px;
    display: flex;
    align-items: center;
}

.message-image {
    background: rgba(135, 206, 235, 0.3);
    border-radius: 18px;
    padding: 12px;
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.3);
}

.message-image img {
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* ==================== 词云图卡片样式 ==================== */
.wordcloud-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 8px 8px 16px rgba(209, 217, 230, 0.5),
                -8px -8px 16px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.wordcloud-card.light-blue {
    background: linear-gradient(145deg, #eff6ff, #f0f9ff);
}

.wordcloud-card.pink-purple {
    background: linear-gradient(145deg, #fdf4ff, #fae8ff);
}

.wordcloud-card.blue-cyan {
    background: linear-gradient(145deg, #eff6ff, #e0f7ff);
}

.wordcloud-card.pink-purple-gradient {
    background: linear-gradient(145deg, #fdf4ff, #fae8ff);
}

.wordcloud-card.green-teal {
    background: linear-gradient(145deg, #f0fdf4, #f0fdf9);
}

.wordcloud-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.wordcloud-card h3 i {
    margin-right: 8px;
    color: #FF6B9D;
}

.wordcloud-card p {
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 12px;
}

.wordcloud-card .highlight-keywords {
    font-weight: bold;
}

.wordcloud-card .highlight-keywords-mine {
    color: #60a5fa;
    font-weight: bold;
}

.wordcloud-card .highlight-keywords-yours {
    color: #f9a8d4;
    font-weight: bold;
}

.wordcloud-card .highlight-keywords-main {
    background: linear-gradient(90deg, #f9a8d4, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    display: block;
    text-align: center;
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
}

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

.emoji-img-small {
    width: 35% !important;
    margin: 0 auto;
    display: block;
}

/* 词云图容器 */
.wordcloud-container {
    position: relative;
    height: 288px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
}

.wordcloud-bg-heart {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.05;
}

.wordcloud-bg-heart i {
    font-size: 300px;
    color: #ec4899;
}

.wordcloud-words {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 16px 24px;
}

.wordcloud-word {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-weight: 500;
}

/* 关键词表格样式 */
.keyword-table-wrapper {
    position: relative;
}

.keyword-table-container {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 360px;
    border-radius: 12px;
}

.keyword-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0;
    table-layout: fixed;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
}

.keyword-table thead {
    border-radius: 12px 12px 0 0;
}

.keyword-table thead tr {
    position: sticky;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 4px 4px 8px #ffffff, -4px -4px 8px #d1d9e6;
    margin: 0;
}

.keyword-table thead tr:first-child {
    top: 0;
    z-index: 100;
    border-radius: 12px 12px 0 0;
}

.keyword-table thead tr:nth-child(2) {
    top: 33px;
    z-index: 99;
}

.keyword-table th {
    padding: 6px 4px;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
    color: #1e40af;
    border-right: 1px solid #e5e7eb;
    word-wrap: break-word;
}

.keyword-table thead tr:first-child th {
    border-bottom: 1px solid #e5e7eb;
}

.keyword-table thead tr:first-child th:first-child {
    border-radius: 12px 0 0 0;
}

.keyword-table thead tr:first-child th:last-child {
    border-radius: 0 12px 0 0;
    border-right: none;
}

.keyword-table td {
    padding: 8px 4px;
    text-align: center;
    font-size: 11px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    word-wrap: break-word;
    height: 28px;
}

.keyword-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.3);
}

.keyword-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}

.keyword-table tbody tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

.keyword-table .pink-bold {
    color: #ec4899;
    font-weight: bold;
}

.keyword-table .blue-medium {
    color: #3b82f6;
    font-weight: 500;
}

.scroll-hint {
    position: absolute;
    bottom: 35px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #22c55e;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* 底部装饰元素 */
.bottom-decoration {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 12px;
}

.bottom-dots {
    display: flex;
    gap: 12px;
}

.bottom-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bottom-dot.dot1 {
    background: linear-gradient(to right, #ec4899, #8b5cf6);
    animation: scaleDot 2s infinite ease-in-out 0s;
}

.bottom-dot.dot2 {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    animation: scaleDot 2s infinite ease-in-out 0.3s;
}

.bottom-dot.dot3 {
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    animation: scaleDot 2s infinite ease-in-out 0.6s;
}

@keyframes scaleDot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ==================== Emoji卡片兼容样式 ==================== */
.corner-icon {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 10;
}

/* 修复wordcloud-card.summary-card的布局问题 */
.wordcloud-card.summary-card {
    display: block !important;
    text-align: center;
    padding: 25px;
    margin-bottom: 20px;
}

/* 修复summary-card中的summary-icon位置 */
.wordcloud-card.summary-card .summary-icon {
    margin: 0 auto 15px;
}

/* 修复summary-card中的段落间距 */
.wordcloud-card.summary-card p {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.5;
}

/* 最活跃一天卡片样式 */
.wordcloud-card .active-day-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.wordcloud-card .active-day-content p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
}

.wordcloud-card .active-day-content i {
    font-size: 18px;
    flex-shrink: 0;
}

.wordcloud-card .highlight-date {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 2px 8px;
    border-radius: 6px;
}

/* 消息信息容器样式 */
.wordcloud-card .message-info-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* 最长消息卡片图标样式优化 */
.wordcloud-card .info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
}

.wordcloud-card .info-item i {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.wordcloud-card .info-label-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.wordcloud-card .info-label {
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
}

.wordcloud-card .info-value {
    flex-shrink: 0;
    text-align: right;
    font-weight: 600;
}

.wordcloud-card .info-item-with-margin {
    margin-top: 16px;
}

.wordcloud-card .content-summary {
    display: block;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
}

.wordcloud-card .content-summary .summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.wordcloud-card .content-summary i {
    display: block;
    font-size: 18px;
    margin-bottom: 0;
}

.wordcloud-card .summary-label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0;
    font-size: 14px;
}

.wordcloud-card .summary-content {
    display: block;
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
}

/* 响应式设计 - 手机端适配 */
@media (max-width: 767px) {
    .wordcloud-card {
        padding: 12px 8px;
    }

    .wordcloud-card h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .wordcloud-card .message-info-container {
        padding: 12px;
        gap: 10px;
    }

    /* 手机端卡片向左移动 */
    .stat-card-right-shift {
        transform: translate(-15%, -50%) !important;
    }

    .wordcloud-card .info-item {
        gap: 6px;
        font-size: 13px;
    }

    .wordcloud-card .info-item i {
        font-size: 16px;
        width: 20px;
    }

    .wordcloud-card .info-label {
        font-size: 13px;
    }

    .wordcloud-card .info-value {
        font-size: 13px;
    }

    .wordcloud-card .summary-label {
        font-size: 13px;
    }

    .wordcloud-card .summary-content {
        font-size: 14px;
    }

    /* Grid布局优化 - 保持左右排列 */
    .wordcloud-card .grid {
        gap: 6px;
    }

    /* 统计卡片样式优化 - 超紧凑布局 */
    .stat-item {
        padding: 6px 4px;
    }

    .stat-item h4 {
        font-size: 10px;
        white-space: nowrap;
        line-height: 1.2;
    }

    .stat-item .stat-value {
        font-size: 12px;
        line-height: 1.2;
    }

    .stat-item .flex {
        gap: 2px;
    }

    .stat-item .w-8 {
        width: 18px;
        height: 18px;
    }

    .stat-item .w-10 {
        width: 20px;
        height: 20px;
    }

    .stat-item .text-xs {
        font-size: 8px;
    }

    .stat-item .mr-2 {
        margin-right: 2px;
    }

    .stat-item .mb-2 {
        margin-bottom: 2px;
    }
}

/* 最长消息卡片图标样式优化 */
.wordcloud-card .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wordcloud-card .content-summary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wordcloud-card .summary-label {
    display: inline-block;
}

.image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(236, 72, 153, 0.3), rgba(94, 129, 244, 0.3));
    backdrop-filter: blur(3px);
    z-index: 10;
    pointer-events: none;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #5E81F4, #7C3AED);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 5px 0;
}

.text-gray-700 {
    color: #475569;
}

.icon-yellow {
    color: #fbbf24;
}

.icon-green {
    color: #10b981;
}

.icon-purple {
    color: #8b5cf6;
}

/* 小红花特效样式 */
.flower-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

.flower-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flower-center {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flower-petals {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.flower-petals::before,
.flower-petals::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    border-radius: 50% 50% 50% 50%;
    box-shadow: 0 4px 8px rgba(236, 72, 153, 0.3);
}

.flower-petals::before {
    top: 0;
    left: 0;
    transform: rotate(0deg);
}

.flower-petals::after {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.flower-center-core {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #fbbf24 0%, #f472b6 70%, #ec4899 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4),
                0 0 40px rgba(236, 72, 153, 0.2);
    animation: flower-glow 2s ease-in-out infinite alternate;
}

.flower-inner-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.6), rgba(236, 72, 153, 0.3));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: inner-pulse 1.5s ease-in-out infinite;
}

.flower-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8),
                0 0 12px 4px rgba(255, 255, 255, 0.6);
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 15%;
    left: 70%;
    animation-delay: 0.3s;
}

.sparkle-3 {
    top: 35%;
    left: 45%;
    animation-delay: 0.6s;
}

.sparkle-4 {
    top: 60%;
    left: 75%;
    animation-delay: 0.9s;
}

.sparkle-5 {
    top: 75%;
    left: 30%;
    animation-delay: 1.2s;
}

@keyframes flower-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.4),
                    0 0 40px rgba(236, 72, 153, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(236, 72, 153, 0.5),
                    0 0 50px rgba(236, 72, 153, 0.3);
    }
}

@keyframes inner-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.flower-message {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(236, 72, 153, 0.2);
    animation: message-fade 3s ease-in-out infinite;
}

@keyframes message-fade {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* 响应式设计 - 手机端适配 */
@media (max-width: 767px) {
    .flower-container {
        padding: 30px 15px;
    }
    
    .flower-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .flower-center {
        width: 90px;
        height: 90px;
    }
    
    .flower-center-core {
        width: 60px;
        height: 60px;
    }
    
    .flower-petals::before,
    .flower-petals::after {
        width: 45px;
        height: 45px;
    }
    
    .flower-inner-glow {
        width: 45px;
        height: 45px;
    }
    
    .sparkle {
        width: 6px;
        height: 6px;
    }
    
    .flower-message {
        font-size: 0.9rem;
    }
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.w-8 {
    width: 32px;
}

.h-8 {
    height: 32px;
}

.rounded-full {
    border-radius: 50%;
}

.bg-gradient-to-br {
    background: linear-gradient(135deg, var(--from-color), var(--to-color));
}

.from-blue-300 {
    --from-color: #93c5fd;
}

.to-blue-400 {
    --to-color: #60a5fa;
}

.from-pink-300 {
    --from-color: #f9a8d4;
}

.to-pink-400 {
    --to-color: #f472b6;
}

.text-white {
    color: white;
}

.mr-2 {
    margin-right: 8px;
}

.text-xs {
    font-size: 0.75rem;
}

.wordcloud-card h3 {
    display: flex;
    align-items: center;
}

/* ==================== 时间线样式 ==================== */
.timeline {
    position: relative;
    height: 250px;
    margin-bottom: 20px;
}

.timeline-short {
    height: 140px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #10b981, #059669);
    border-radius: 2px;
}

.timeline-line-yellow {
    background: linear-gradient(to bottom, #fbbf24, #f59e0b);
}

.timeline-line-disconnect {
    height: calc(33% - 4px);
}

.timeline-line-disconnect.bottom {
    bottom: 0;
    top: auto;
    background: linear-gradient(to top, #fbbf24, #f59e0b);
}

.timeline-disconnect {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px dashed #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    z-index: 10;
}

.disconnect-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fbbf24;
}

.timeline-endpoint {
    position: absolute;
    left: 10px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.timeline-endpoint.bottom {
    top: auto;
    bottom: 0;
}

.timeline-endpoint-yellow {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.timeline-time {
    position: absolute;
    left: 50px;
    top: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
}

.timeline-time.bottom {
    top: auto;
    bottom: 5px;
}

.timeline-dot {
    position: absolute;
    left: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.stat-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-20%, -50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 特定卡片向右移动 */
.stat-card-right-shift {
    transform: translate(10%, -50%);
}

.stat-desc {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 8px;
}

.summary-card {
    text-align: center;
    padding: 25px;
}

.summary-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #5E81F4, #7C3AED);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.italic {
    font-style: italic;
}

/* ==================== 第八页样式 ==================== */
.corner-icon {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #5E81F4 0%, #7C3AED 100%);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 10;
}

.corner-icon-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.info-label {
    font-size: 0.9rem;
    color: #64748b;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}

.info-value-blue {
    color: #3b82f6;
}

.info-value-pink {
    color: #ec4899;
}

.word-count {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #5E81F4, #7C3AED);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.word-count-pink {
    background: linear-gradient(to right, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
}

.content-summary {
    margin-top: 15px;
}

.summary-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 8px;
}

.summary-content {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 15px;
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px #d1d9e6, inset -2px -2px 5px #ffffff;
    font-size: 0.9rem;
    color: #475569;
}

.chart-container {
    height: 200px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 15px;
    box-shadow: inset 2px 2px 5px #d1d9e6, inset -2px -2px 5px #ffffff;
}

.bar-chart {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 20px;
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 80px;
}

.bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
}

.bar-blue {
    background: #5E81F4;
}

.bar-pink {
    background: #FF6B8A;
}

.bar-label {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
}

.conclusion-card {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%);
}

.conclusion-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.conclusion-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
}

.highlight-text {
    color: #ec4899;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.message-bubbles {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    position: relative;
}

.message-bubble {
    border-radius: 20px 20px 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bubble-blue {
    width: 64px;
    height: 40px;
    background: linear-gradient(to right, #dbeafe 0%, #bfdbfe 100%);
    animation: bubble-animation 4s infinite;
}

.bubble-pink {
    width: 80px;
    height: 48px;
    background: linear-gradient(to right, #fce7f3 0%, #fbcfe8 100%);
    animation: bubble-animation 4s infinite 1s;
}

.bubble-purple {
    width: 48px;
    height: 32px;
    background: linear-gradient(to right, #f3e8ff 0%, #ede9fe 100%);
    animation: bubble-animation 4s infinite 2s;
}

@keyframes bubble-animation {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* ==================== 第九页样式 ==================== */
.contributor-info {
    display: flex;
    align-items: center;
}

.contributor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 0.9rem;
}

.avatar-blue {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
}

.avatar-pink {
    background: linear-gradient(135deg, #f9a8d4 0%, #f472b6 100%);
}

.contributor-name {
    font-weight: 500;
    color: #334155;
}

.contribution-data {
    text-align: right;
}

.contribution-data-item {
    font-size: 0.9rem;
    color: #475569;
}

.contribution-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
    margin-bottom: 15px;
}

.nested-pie-chart {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pie-svg {
    width: 100%;
    height: 100%;
}

.center-text {
    text-anchor: middle;
    dominant-baseline: middle;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2a4365;
}

.decorations {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 12px;
}

.decoration-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dot-purple-blue {
    background: linear-gradient(to right, #7C3AED, #5E81F4);
}

.dot-pink-purple {
    background: linear-gradient(to right, #ec4899, #7C3AED);
    animation-delay: 0.3s;
}

.dot-blue-cyan {
    background: linear-gradient(to right, #5E81F4, #06b6d4);
    animation-delay: 0.6s;
}

.dot-pink-orange {
    background: linear-gradient(to right, #ec4899, #f59e0b);
    animation-delay: 0.3s;
}

.highlight-number {
    display: inline-block;
    background: linear-gradient(to right, #FF6B8A, #5E81F4);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.875rem;
}

/* 第14页"200"数字单独放大 - 针对第14页的数字200 */
.highlight-number-large {
    font-size: 2.2rem !important;
}

.chart-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pie-chart {
    position: relative;
    width: 240px;
    height: 240px;
}

.pie-ring {
    position: absolute;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.pie-ring:hover {
    transform: scale(1.05);
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 0.875rem;
    color: #2a4365;
    font-weight: 500;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-legend p {
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.legend-row {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.late-night-date-card {
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.late-night-date-card:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
    min-width: 90px;
    justify-content: flex-start;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 6px;
    flex-shrink: 0;
}

.content-box {
    background: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px #d1d9e6, inset -2px -2px 5px #ffffff;
}

.clock-container {
    position: relative;
    width: 192px;
    height: 192px;
    margin: 0 auto;
}

.clock-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #ffffff, #f3e8ff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-mark {
    position: absolute;
    width: 4px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 2px;
    transform-origin: center 96px;
}

.clock-hand {
    position: absolute;
    border-radius: 9999px;
    transform-origin: bottom center;
    left: 50%;
    transform: translateX(-50%);
}

.hour-hand {
    width: 12px;
    height: 96px;
    background: #2563eb;
    bottom: 50%;
    transform: translateX(-50%) rotate(60deg);
}

.minute-hand {
    width: 8px;
    height: 128px;
    background: #db2777;
    bottom: 50%;
    transform: translateX(-50%) rotate(0deg);
}

.second-hand {
    width: 4px;
    height: 144px;
    background: #ef4444;
    bottom: 50%;
    transform: translateX(-50%) rotate(0deg);
}

.clock-center {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6b21a8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.time-display {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.time-display p {
    text-align: center;
    font-size: 1.125rem;
    font-weight: bold;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.info-value-green {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(to right, #10b981, #14b8a6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.info-value-red {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(to right, #ef4444, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.info-value-yellow {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(to right, #eab308, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bar-chart-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px;
}

.bar-item-horizontal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label-horizontal {
    width: 100px;
    font-size: 0.875rem;
    color: #64748b;
    text-align: right;
}

.bar-wrapper-horizontal {
    flex: 1;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.bar-fill-horizontal {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 0.875rem;
    font-weight: bold;
    color: white;
    transition: width 1s ease-out;
}

.bar-fill-blue {
    background: linear-gradient(to right, #5E81F4, #06b6d4);
}

.bar-fill-pink {
    background: linear-gradient(to right, #ec4899, #f59e0b);
}

.image-visualization {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

.image-visualization img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.stats-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.stat-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: inset 2px 2px 5px #d1d9e6, inset -2px -2px 5px #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-number-global {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(to right, #5E81F4, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}

.stat-label-global {
    font-size: 0.875rem;
    color: #64748b;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 12px 0;
}

@media (min-width: 640px) {
    .date-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.date-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 12px 8px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.date-item:hover {
    transform: scale(1.03);
    background-color: rgba(255, 255, 255, 0.8);
}

.date-item p {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

/* 年度洞察卡片h3样式调整 */
.card.insight-card h3 {
    margin: 4px 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #92400e;
    text-align: center;
}

/* 洞察图标样式调整 */
.insight-icon {
    margin-bottom: 6px !important;
}

/* 洞察内容间距调整 */
.card.insight-card .space-y-3 {
    margin-top: 0 !important;
    gap: 8px !important;
}

/* 洞察文字样式调整 */
.insight-text {
    margin: 0 !important;
    line-height: 1.4 !important;
}
