﻿        .archive-container {
            padding: 0 16px 100px;
        }
        
        /* 상단 헤더 */
        .archive-header {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 0;
            margin-bottom: 8px;
        }
        
        .btn-back {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-sub);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--text-main);
            cursor: pointer;
        }
        
        .archive-title {
            font-size: 20px;
            font-weight: 700;
        }
        
        /* 필터 탭 */
        .filter-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .filter-tab {
            padding: 8px 16px;
            background: var(--bg-sub);
            border: 1px solid var(--line);
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-sub);
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s ease;
        }
        
        .filter-tab.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .filter-tab:hover:not(.active) {
            background: var(--line);
        }
        
        /* 검색 바 */
        .search-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--white);
            border: 1px solid var(--line);
            border-radius: var(--radius-M);
            padding: 10px 14px;
            margin-bottom: 20px;
        }
        
        .search-bar i {
            color: var(--text-sub);
            font-size: 18px;
        }
        
        .search-bar input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 14px;
            color: var(--text-main);
            outline: none;
        }
        
        .search-bar input::placeholder {
            color: var(--text-sub);
        }
        
        /* 월별 그룹 */
        .month-group {
            margin-bottom: 24px;
        }
        
        .month-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 4px;
            margin-bottom: 12px;
            border-bottom: 1px solid var(--line);
        }
        
        .month-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
        }
        
        .month-count {
            font-size: 12px;
            color: var(--text-sub);
            background: var(--bg-sub);
            padding: 2px 8px;
            border-radius: 10px;
        }
        
        /* 뉴스 카드 */
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .news-card {
            background: var(--white);
            border-radius: var(--radius-M);
            padding: 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid var(--line);
        }
        
        .news-card:active {
            transform: scale(0.98);
        }
        
        .news-card.completed {
            opacity: 0.75;
            border-left: 3px solid #10b981;
        }
        
        .news-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            flex-shrink: 0;
            background: linear-gradient(135deg, #fa709a20, #fee14020);
        }
        
        .news-icon.completed {
            background: var(--accent);
            color: white;
        }
        
        .news-icon.has-thumb {
            width: 80px;
            height: 52px;
            border-radius: 8px;
            overflow: hidden;
            padding: 0;
            background: var(--bg-base);
        }
        
        .news-icon.has-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .news-info {
            flex: 1;
            min-width: 0;
        }
        
        .news-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-meta {
            font-size: 12px;
            color: var(--text-sub);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .news-badge {
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            background: #10b981;
            color: white;
        }
        
        /* 빈 상태 */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-sub);
        }
        
        .empty-state i {
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.3;
        }
        
        .empty-state p {
            font-size: 14px;
        }
        
        /* 로딩 */
        .loading-state {
            text-align: center;
            padding: 40px;
            color: var(--text-sub);
        }
        
        .loading-state i {
            font-size: 24px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        /* 더 불러오기 버튼 */
        .load-more-btn {
            width: 100%;
            padding: 14px;
            background: var(--bg-sub);
            border: 1px dashed var(--line);
            border-radius: var(--radius-M);
            color: var(--text-sub);
            font-size: 14px;
            cursor: pointer;
            margin-top: 16px;
            transition: all 0.2s ease;
        }
        
.load-more-btn:hover {
    background: var(--line);
}
