.timeline-wrapper {
    max-width: 480px;
    margin: 0 auto;
}
.timeline-header {
    text-align: center;
    margin-bottom: 24px;
}
.timeline-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}
.timeline-subtitle {
    font-size: 14px;
    color: #718096;
}
.timeline {
    position: relative;
    padding-left: 32px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}
.timeline-item {
    position: relative;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.timeline-dot {
    position: absolute;
    top: 12px;
    left: -26px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #f093fb;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.2);
}
.timeline-item:nth-child(even) .timeline-dot {
    border-color: #f17b3a;
    box-shadow: 0 0 0 4px rgba(240, 147, 251, 0.1);
}
.timeline-item:nth-child(even):hover .timeline-dot {
    box-shadow: 0 0 0 6px rgba(240, 147, 251, 0.2);
}
.timeline-card {
    background: #fff;
    border-radius: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    vertical-align: top !important
}
.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #703000 0%, #f17b3a 100%);
}
.timeline-item:nth-child(even) .timeline-card::before {
    background: linear-gradient(180deg, #f093fb 0%, #f5576c 100%);
}
.timeline-item:hover .timeline-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.timeline-date {
    font-size: 13px;
    font-weight: 600;
    color: #dd7eea;
    margin-bottom: 6px;
}
.timeline-item:nth-child(even) .timeline-date {
    color: #f5576c;
}
.timeline-event {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}
.timeline-desc {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
}

@media (max-width: 375px) {
    /* 触摸激活的样式（和PC hover一致） */
    .timeline-item.touched .timeline-dot {
        transform: scale(1.2);
        box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.2);
    }
    .timeline-item:nth-child(even).touched .timeline-dot {
        box-shadow: 0 0 0 6px rgba(240, 147, 251, 0.2);
    }
    .timeline-item.touched .timeline-card {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }            
    .timeline-title {
        font-size: 20px;
    }
    .timeline-event {
        font-size: 15px;
    }
    .timeline-desc {
        font-size: 13px;
    }
}