/* 展开更多按钮样式覆盖（Tailwind 之外的最小样式） */
#toggleOlderBtn {
    transition: all .2s ease;
}
#toggleOlderBtn:hover {
    filter: brightness(1.05);
}
/* 版本更新历史页面样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
}

/* 头图样式 */
.hero-banner {
    width: 100%;
    aspect-ratio: 2/1;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 32px;
}

/* 时间线样式 */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #8b5cf6, #a78bfa, #c4b5fd);
}

.version-item {
    position: relative;
    margin-left: 60px;
    margin-bottom: 32px;
}

.version-icon {
    position: absolute;
    left: -48px;
    top: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 10px;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    z-index: 10;
}

/* 版本卡片样式 */
.version-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.version-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.version-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.version-number {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.version-date {
    color: #64748b;
    font-size: 14px;
}

.version-content {
    padding: 24px;
}

/* 更新内容样式 */
.update-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.update-item:last-child {
    margin-bottom: 0;
}

.update-bullet {
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 50%;
    margin-top: 8px;
    margin-right: 16px;
    flex-shrink: 0;
}

.update-text {
    color: #374151;
    line-height: 1.6;
    flex: 1;
}

.update-notes {
    margin-top: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #8b5cf6;
    overflow: hidden;
}

.notes-toggle {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.notes-toggle:hover {
    background: rgba(139, 92, 246, 0.05);
}

.notes-toggle i {
    font-size: 12px;
    color: #8b5cf6;
    transition: transform 0.2s ease;
}

.notes-toggle.expanded i {
    transform: rotate(180deg);
}

.notes-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.notes-content.expanded {
    max-height: 500px; /* 足够大的值以容纳内容 */
}

.notes-content-inner {
    padding: 0 16px 16px 16px;
}

.notes-content-inner p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    top: 24px;
    left: 24px;
    background: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 50;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .version-item {
        margin-left: 48px;
    }
    
    .version-icon {
        left: -40px;
        width: 40px;
        height: 40px;
        font-size: 8px;
    }
    
    .hero-banner {
        margin-bottom: 24px;
    }
    
    .version-header {
        padding: 20px;
    }
    
    .version-content {
        padding: 20px;
    }
    
    .version-number {
        font-size: 20px;
    }
    
    .back-button {
        top: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
    
    .notes-toggle {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .notes-content-inner {
        padding: 0 14px 14px 14px;
    }
    
    .notes-content-inner p {
        font-size: 13px;
    }
} 