/* ═══════════════════════════════════════════
   归档页 & 说说页样式
   ═══════════════════════════════════════════ */

.archive-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* ── Archive ── */
.archive-year {
    margin-bottom: 40px;
}

.year-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.year-title i {
    color: var(--primary);
    font-size: 20px;
}

.year-title .article-count {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.archive-list {
    list-style: none;
    padding: 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.archive-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.archive-item:last-child {
    border-bottom: none;
}

.archive-item:hover {
    background: rgba(30,159,255,0.03);
}

.archive-date {
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 50px;
}

.archive-title {
    flex: 1;
    font-size: 15px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}

.archive-item:hover .archive-title {
    color: var(--primary);
}

.archive-meta {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.archive-meta i {
    margin-right: 2px;
    font-size: 12px;
}

/* ── Timeline (Moments) ── */
.timeline-list {
    position: relative;
    padding-left: 40px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--border));
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-dot i {
    font-size: 12px;
    color: var(--primary);
}

.timeline-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: var(--transition);
}

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

.timeline-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.timeline-time i {
    margin-right: 4px;
    font-size: 13px;
}

.timeline-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--primary);
}

.timeline-link i {
    font-size: 12px;
}

.timeline-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .archive-page { padding: 40px 20px; }
    .archive-item { padding: 12px 16px; gap: 10px; }
    .timeline-list { padding-left: 32px; }
    .timeline-dot { left: -25px; width: 22px; height: 22px; }
    .timeline-dot i { font-size: 10px; }
}
