/* 更新日志：纵向时间线（仅用全局设计令牌，徽章类复用 components.css） */

/* 导语（本页使用，避免缺样式） */
.lead {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: var(--sp-4);
}

/* 时间线容器：左侧留出轴线空间 */
.timeline {
    position: relative;
    padding-left: 28px;
}

/* 单个时间线节点 */
.timeline__item {
    position: relative;
    padding-bottom: var(--sp-4);
}

/* 连接竖线（贯穿整条轴线） */
.timeline__item::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

/* 末节点不向下延伸竖线 */
.timeline__item:last-child::before {
    display: none;
}

/* 圆点 */
.timeline__item::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
}

/* 元信息（日期 / 版本 / 徽章） */
.timeline__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
}

.timeline__date {
    color: var(--muted);
    font-size: 14px;
}

.timeline__version {
    color: var(--brand);
    font-weight: 700;
    font-size: 15px;
}

/* 卡片化内容 */
.timeline__body {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--sp-3) var(--sp-4);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: .2s;
}

.timeline__body:hover {
    box-shadow: var(--shadow);
}

.timeline__body h3 {
    font-size: 18px;
    margin-bottom: var(--sp-2);
    color: var(--ink);
}

.timeline__body ul {
    list-style: none;
}

.timeline__body li {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.8;
}

.timeline__body li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

/* 小屏：压缩内边距，保持单列 */
@media (max-width: 640px) {
    .timeline {
        padding-left: 22px;
    }

    .timeline__body {
        padding: var(--sp-3);
    }
}
