﻿@charset "utf-8";
/* 归档页面特有样式 *
        
        /* 年度分组 */
        .year-group {
            margin-bottom: 32px;
        }
        
        .year-title {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--accent-red);
            border-left: 6px solid var(--accent-yellow);
            padding-left: 16px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            user-select: none;
        }
        
        .year-title:hover {
            opacity: 0.8;
        }
        
        .year-count {
            font-size: 0.8rem;
            background: var(--accent-yellow);
            padding: 4px 12px;
            border-radius: 40px;
            border: 2px solid var(--accent-dark);
        }
        
        .year-toggle {
            font-size: 0.9rem;
            background: var(--accent-yellow);
            padding: 2px 10px;
            border-radius: 20px;
            border: 2px solid var(--accent-dark);
        }
        
        .year-posts {
            display: block;
        }
        
        .year-posts.collapsed {
            display: none;
        }
        
        /* 文章卡片 */
        .archive-card {
            background: var(--card-bg);
            border: 4px solid var(--accent-dark);
            border-radius: 28px;
            padding: 16px 20px;
            margin-bottom: 16px;
            box-shadow: var(--shadow-black);
            transition: all 0.2s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
        }
        
        .archive-card:hover {
            box-shadow: 6px 6px 0px rgba(0,0,0,0.25);
            transform: translate(-2px, -2px);
        }
        
        .archive-info {
            flex: 1;
            min-width: 200px;
        }
        
        .archive-title-row {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 6px;
        }
        
        .archive-badge {
            font-size: 0.7rem;
            padding: 2px 10px;
            border-radius: 30px;
            font-weight: bold;
        }
        
        .badge-talk {
            background: var(--accent-yellow);
            color: var(--accent-dark);
            border: 1px solid var(--accent-dark);
        }
        
        .badge-diary {
            background: var(--accent-red);
            color: white;
            border: 1px solid var(--accent-dark);
        }
        
        .archive-title {
            font-size: 1rem;
            font-weight: 900;
            color: var(--accent-red);
        }
        
        .archive-date {
            font-size: 0.7rem;
            color: var(--text-secondary);
        }
        
        .archive-stats {
            display: flex;
            gap: 16px;
            font-size: 0.7rem;
            color: var(--text-secondary);
        }
        
        .archive-stats span {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        
        /* 热门日志卡片 */
.hot-list {
    list-style: none;
}

.hot-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 2px dashed var(--accent-dark);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 16px;
}

.hot-item:hover {
    background: rgba(255,107,91,0.15);
    transform: translateX(5px);
}

.hot-rank {
    width: 32px;
    height: 32px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    border: 2px solid var(--accent-dark);
    flex-shrink: 0;
}

.hot-rank.top1 {
    background: #FFD700;
}

.hot-rank.top2 {
    background: #C0C0C0;
}

.hot-rank.top3 {
    background: #CD7F32;
}

.hot-cover {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-dark);
    background: var(--bg-body);
}

.hot-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-info {
    flex: 1;
    min-width: 0;
}

.hot-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.hot-title {
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--accent-red);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.hot-stats {
    display: flex;
    gap: 10px;
    font-size: 0.6rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.hot-summary {
    font-size: 0.7rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    line-height: 1.4;
}
        
        /* 统计卡片 */
        .stats-two-columns {
            display: flex;
            gap: 16px;
            justify-content: center;
        }
        
        .stats-item {
            flex: 1;
            text-align: center;
            background: var(--bg-body);
            border-radius: 20px;
            padding: 12px 8px;
            border: 2px solid var(--accent-dark);
            transition: 0.1s;
        }
        
        .stats-item:hover {
            transform: translateY(-3px);
            box-shadow: 3px 3px 0 var(--accent-dark);
        }
        
        .stats-number {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--accent-red);
        }
        
        .stats-label {
            font-size: 0.7rem;
        }
        
        /* 最新评论卡片 */
        .comment-list {
            list-style: none;
        }
        
        .comment-item-sidebar {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-bottom: 2px dashed var(--accent-dark);
            cursor: pointer;
            transition: all 0.2s;
            border-radius: 16px;
        }
        
        .comment-item-sidebar:hover {
            background: rgba(255,107,91,0.15);
            transform: translateX(5px);
        }
        
        .comment-avatar-sidebar img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--accent-red);
        }
        
        .comment-content-sidebar {
            flex: 1;
            min-width: 0;
        }
        
        .comment-name-sidebar {
            font-weight: 900;
            font-size: 0.8rem;
            color: var(--accent-red);
        }
        
        .comment-text-sidebar {
            font-size: 0.7rem;
            color: var(--text-secondary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .comment-time-sidebar {
            font-size: 0.6rem;
            color: var(--text-secondary);
            white-space: nowrap;
        }
        
        
        @media (max-width: 768px) {
            .archive-card {
                flex-direction: column;
                align-items: flex-start;
            }
            .archive-stats {
                margin-top: 8px;
            }
        }