/* ============================================
   自装宝典 - 纵向时间轴（内容区，与首页一体化画框对齐）
   ============================================ */

/* 内容区：滚动 + 占满 topbar 下方空间 */
.guide-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #F5F5F7;
    padding: 16px;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-item {
    display: flex;
    align-items: stretch;
    position: relative;
    min-height: 64px;
}

.timeline-dot {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #34C759;
    margin-top: 22px;
    margin-left: 5px;
    position: relative;
    z-index: 1;
}

.timeline-card {
    flex: 1;
    margin-left: 12px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: background 0.15s ease;
    margin-bottom: 12px;
}

.timeline-card:hover,
.timeline-card:active {
    background: #F5F5F7;
}

.timeline-name {
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1F;
}

.timeline-arrow {
    font-size: 20px;
    line-height: 1;
    color: #86868B;
    margin-left: 8px;
}

/* 节点之间的连线（最后一个节点除外）*/
.timeline-item:not(.timeline-item-last)::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 36px;
    bottom: -6px;
    width: 2px;
    background: #E5E5EA;
    z-index: 0;
}

/* 最后一个节点：无底部空间 */
.timeline-item-last {
    min-height: 0;
}

.timeline-item-last .timeline-card {
    margin-bottom: 0;
}
