        :root {
            --primary: #6366f1; --primary-dark: #4f46e5; --primary-light: #eef2ff;
            --accent: #f43f5e; --amber: #f59e0b; --green: #10b981; --red: #ef4444;
            --bg: #f1f5f9; --card: #ffffff; --text: #0f172a;
            --text-light: #475569; --text-lighter: #94a3b8; --border: #e2e8f0;
            --radius: 12px; --radius-sm: 8px; --radius-xs: 6px;
            --transition: all 0.2s ease;
        }
        
        .dark-mode {
            --bg: #0f172a; --card: #1e293b; --text: #f1f5f9;
            --text-light: #94a3b8; --text-lighter: #64748b; --border: #334155;
            --primary-light: #1e1b4b;
        }
        .dark-mode .header { background: rgba(15, 23, 42, 0.95) !important; }
        .dark-mode .search-section { background: var(--card); }
        .dark-mode .news-item:hover { background: rgba(255,255,255,0.03); }
        .dark-mode .stat-mini { background: rgba(255,255,255,0.05); }

        .dark-mode .sort-btn.active { background: var(--card); color: var(--text); }
        .dark-mode .btn-outline { background: var(--card); }
        .dark-mode .sidebar-card { background: var(--card); }
        .dark-mode .search-input { background: var(--card); }
        .dark-mode .search-select { background: var(--card); }
        .dark-mode .hero { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%); }
        .dark-mode .trending-card { background: var(--card); }
        .dark-mode .currency-item { background: var(--card); }
        .dark-mode .chart-bar { opacity: 0.8; }
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg); color: var(--text); line-height: 1.5;
            -webkit-font-smoothing: antialiased; transition: background 0.3s, color 0.3s;
        }
        
        .header {
            background: #ffffff; border-bottom: 1px solid var(--border);
            position: sticky; top: 0; z-index: 1000;
            backdrop-filter: blur(12px); background: rgba(255,255,255,0.95); transition: background 0.3s;
        }
        .header-inner {
            max-width: 1280px; margin: 0 auto; padding: 0 24px;
            height: 60px; display: flex; justify-content: space-between; align-items: center;
        }
        .logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
        .logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 18px; }
        .logo-text h1 { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
        .header-actions { display: flex; gap: 8px; align-items: center; }
        
        .btn { padding: 8px 16px; border-radius: var(--radius-xs); font-weight: 500; font-size: 13px; text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
        .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); }
        .btn-outline { border: 1px solid var(--border); color: var(--text); background: white; } .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
        .btn-ghost { color: var(--text-light); } .btn-ghost:hover { background: #f1f5f9; }
        
        .theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: var(--transition); }
        .theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
        .dark-mode .theme-toggle { background: var(--card); }
		
		.header-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
    background: var(--primary-light);
    border: 1px solid transparent;
	border-color: var(--border);
}

.header-link i {
    font-size: 14px;
    color: var(--text-lighter);
    transition: all 0.2s ease;
}



.header-link:hover i {
    color: var(--primary);
}

.header-link:active {
    transform: scale(0.96);
}

/* Активное состояние (если на странице архива) */
.header-link.active {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--primary);
}

.header-link.active i {
    color: var(--primary);
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 640px) {
    .header-link {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .header-link span {
        display: none;
    }
    
    .header-link i {
        font-size: 16px;
    }
}


/* Скрываем текст на мобильных, оставляем иконку */
@media (max-width: 640px) {
    .header-link-text {
        display: none;
    }
}

.header-link-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
}

		/* Профиль в шапке */
.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: white;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text);
    transition: var(--transition);
}
.user-dropdown-btn:hover { border-color: var(--primary); }
.dark-mode .user-dropdown-btn { background: var(--card); }

.user-avatar-mini {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; overflow: hidden; flex-shrink: 0;
}
.user-avatar-mini img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar-mini.large { width: 40px; height: 40px; font-size: 16px; }

.user-name-desktop { font-weight: 500; }

/* Выпадающее меню */
.user-dropdown-menu {
    position: absolute; top: 100%; right: 0; margin-top: 8px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 1000; overflow: hidden;
    animation: slideDown 0.2s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-dropdown-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; border-bottom: 1px solid var(--border);
}
.user-dropdown-header strong { display: block; font-size: 14px; }
.user-dropdown-header small { color: var(--text-lighter); font-size: 11px; }

.user-dropdown-links { padding: 8px; }
.user-dropdown-links a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-xs);
    text-decoration: none; color: var(--text); font-size: 13px;
    transition: all 0.15s;
}
.user-dropdown-links a:hover { background: var(--primary-light); color: var(--primary); }
.user-dropdown-links a i { width: 18px; text-align: center; color: var(--text-lighter); }
.user-dropdown-links a:hover i { color: var(--primary); }

.user-dropdown-footer {
    padding: 8px; border-top: 1px solid var(--border);
}
.user-dropdown-footer a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-xs);
    text-decoration: none; color: var(--text-lighter); font-size: 13px;
}
.user-dropdown-footer a:hover { color: #ef4444; background: #fef2f2; }

/* Темная тема */
.dark-mode .user-dropdown-menu { background: var(--card); border-color: var(--border); }
.dark-mode .user-dropdown-links a:hover { background: rgba(255,255,255,0.05); }
.dark-mode .user-dropdown-footer a:hover { background: rgba(239,68,68,0.1); }

/* Скрытие на мобильных */
@media (max-width: 640px) {
    .user-name-desktop { display: none; }
    .user-dropdown-btn { padding: 4px; border: none; }
    .user-dropdown-btn .fa-chevron-down { display: none; }
    .btn span { display: none; }
    .btn .fa-chevron-down { display: none; }
}
        
        /* Hero */
        .hero { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%); padding: 40px 0; color: white; transition: background 0.3s; }
        .hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
        .hero-title { font-size: 32px; font-weight: 900; letter-spacing: -1px; line-height: 1.2; margin-bottom: 12px; background: linear-gradient(135deg, #fff, #c7d2fe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero-subtitle { color: #a5b4fc; font-size: 15px; }
        .hero-cards { display: flex; flex-direction: column; gap: 10px; }
        .hero-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); padding: 14px 18px; text-decoration: none; color: white; transition: var(--transition); display: flex; align-items: center; gap: 12px; backdrop-filter: blur(10px); }
        .hero-card:hover { background: rgba(255,255,255,0.18); transform: translateX(4px); }
        .hero-card-rank { font-size: 24px; font-weight: 900; color: #818cf8; min-width: 30px; }
        .hero-card-title { flex: 1; font-weight: 600; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .hero-card-badge { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: rgba(244, 63, 94, 0.3); color: #fecdd3; white-space: nowrap; }
        
        /* Поиск */
        .search-section { background: white; border-bottom: 1px solid var(--border); padding: 12px 0; position: sticky; top: 60px; z-index: 999; transition: background 0.3s; }
        .search-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; gap: 8px; align-items: center; }
        .search-input { flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-xs); font-size: 14px; background: var(--bg); transition: var(--transition); }
        .search-input:focus { outline: none; border-color: var(--primary); background: white; }
        .search-select { padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-xs); font-size: 14px; background: var(--bg); cursor: pointer; }
        .search-btn { padding: 10px 20px; background: var(--primary); color: white; border: none; border-radius: var(--radius-xs); font-size: 14px; font-weight: 500; cursor: pointer; } .search-btn:hover { background: var(--primary-dark); }
        .results-count { font-size: 13px; color: var(--text-lighter); white-space: nowrap; }
        
        /* Live индикатор */
        .live-indicator {
            display: none; align-items: center; gap: 8px; padding: 10px 16px;
            background: var(--primary-light); border-radius: 50px; font-size: 13px;
            margin-bottom: 0; cursor: pointer; animation: fadeIn 0.3s ease;
			width: 100%;
        }
        .live-indicator.show { display: inline-flex; }
        .live-dot { width: 8px; height: 8px; background: #ef4444; border-radius: 50%; animation: pulse 2s infinite; }
        @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.7); } 70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        
        /* Основной контент */
        .main-container { max-width: 1280px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
        

        .sort-btn { padding: 8px 16px; border: none; border-radius: var(--radius-xs); background: transparent; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-light); }
        .sort-btn.active { background: white; color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
        
        .news-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
        .news-item { background: var(--card); padding: 16px 20px; transition: var(--transition); display: flex; align-items: center; gap: 16px; cursor: pointer; text-decoration: none; color: inherit; }
        .news-item:hover { background: #f8fafc; }
        .news-icon { width: 36px; height: 36px; border-radius: var(--radius-xs); background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
        .news-icon img { width: 20px; height: 20px; object-fit: contain; border-radius: 3px; }
        .news-content { flex: 1; min-width: 0; }
        .news-title { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .news-item:hover .news-title { color: var(--primary); }
        .news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-lighter); flex-wrap: wrap; align-items: center; }
        .channel-badge { color: var(--primary); font-weight: 500; font-size: 11px; }
        .list-arrow { color: var(--text-lighter); font-size: 14px; transition: var(--transition); flex-shrink: 0; }
        .news-item:hover .list-arrow { color: var(--primary); }
        
        .trending-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; margin-right: 4px; }
        .trending-badge.hot { background: #fee2e2; color: #dc2626; }
        .trending-badge.popular { background: #fef3c7; color: #d97706; }
        .trending-badge.trending { background: #dbeafe; color: #2563eb; }
        .trending-badge.new { background: #d1fae5; color: #059669; }
        
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
        .news-item { animation: fadeInUp 0.2s ease-out backwards; }
        
        .loading-indicator { text-align: center; padding: 30px; display: none; } .loading-indicator.show { display: block; }
        .spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top: 3px solid var(--primary); border-radius: 50%; animation: spin 0.6s linear infinite; margin: 0 auto 10px; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        .no-more { text-align: center; padding: 20px; color: var(--text-lighter); font-size: 13px; display: none; } .no-more.show { display: block; }
        .date-divider { text-align: center; padding: 12px 0; font-size: 12px; color: var(--text-lighter); font-weight: 600; }
        
        /* Тренды */
        .trends-block { margin-bottom: 24px; }
        .trends-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
        .trends-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
        .trending-card {
            background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
            padding: 12px 14px; text-decoration: none; color: inherit; transition: var(--transition);
        }
        .trending-card:hover { border-color: var(--primary); transform: translateY(-1px); }
        .trending-card-title { font-size: 12px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
        .trending-card-meta { font-size: 10px; color: var(--text-lighter); display: flex; gap: 6px; }
        .trending-card-score { color: var(--accent); font-weight: 700; font-size: 11px; }
        
        /* Сайдбар */
        .sidebar { display: flex; flex-direction: column; gap: 16px; }
        .sidebar-card { background: var(--card); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); transition: background 0.3s; }
        .sidebar-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); }
        .stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
        .stat-mini { background: var(--bg); padding: 12px; border-radius: var(--radius-sm); text-align: center; }
        .stat-mini-value { font-size: 20px; font-weight: 800; color: var(--primary); }
        .stat-mini-label { font-size: 11px; color: var(--text-light); margin-top: 2px; }
        
        .channel-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
        .channel-item:last-child { border-bottom: none; }
        .channel-item a { color: var(--text); text-decoration: none; font-size: 13px; flex: 1; }
        .badge-count { background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
        .latest-news-item { padding: 8px 0; border-bottom: 1px solid var(--border); }
        .latest-news-item:last-child { border-bottom: none; }
        .latest-news-item a { color: var(--text); text-decoration: none; font-size: 13px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .latest-news-item a:hover { color: var(--primary); }
        .latest-news-meta { font-size: 11px; color: var(--text-lighter); margin-top: 2px; }
        .category-group-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--border); }
        .category-group-item:last-child { border-bottom: none; }
        .category-group-item:hover { color: var(--primary); }
        .group-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
        .group-count { margin-left: auto; font-size: 11px; color: var(--text-lighter); font-weight: 600; }
        
        /* Курсы валют */
        .currency-row { display: flex; gap: 8px; }
        .currency-item { flex: 1; background: var(--bg); padding: 10px; border-radius: var(--radius-sm); text-align: center; }
        .currency-name { font-size: 11px; color: var(--text-lighter); margin-bottom: 2px; }
        .currency-rate { font-size: 15px; font-weight: 700; color: var(--text); }
        .currency-change { font-size: 10px; font-weight: 600; margin-top: 2px; }
        .currency-change.up { color: var(--green); }
        .currency-change.down { color: var(--red); }
        
        /* График */
        .chart-mini { display: flex; align-items: flex-end; gap: 2px; height: 40px; padding: 4px 0; }
        .chart-bar { flex: 1; background: var(--primary); border-radius: 2px 2px 0 0; min-height: 2px; transition: height 0.3s; }
        .chart-labels { display: flex; justify-content: space-between; font-size: 9px; color: var(--text-lighter); margin-top: 4px; }
        
        /* Кнопка наверх */
        .scroll-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); display: flex; align-items: center; justify-content: center; font-size: 18px; }
        .scroll-to-top.show { opacity: 1; visibility: visible; }
        .scroll-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
        
        .footer { border-top: 1px solid var(--border); padding: 24px; text-align: center; color: var(--text-lighter); font-size: 13px; margin-top: 40px; }
        
        @media (max-width: 1024px) { .main-container { grid-template-columns: 1fr; } .hero-inner { grid-template-columns: 1fr; } }
        @media (max-width: 640px) { .header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; } .search-inner { flex-wrap: wrap; } .news-item { padding: 12px 14px; } .trends-grid { grid-template-columns: 1fr 1fr; } }
/* Hero баннер */
.hero-banner-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    height: 200px;
    transition: transform 0.2s;
}

.hero-banner-card:hover {
    transform: scale(1.01);
}

.hero-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.hero-banner-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .hero-banner-card {
        height: 160px;
    }
}  
/* ============================================
   СВЕЖИЙ СЛАЙДЕР — МЯГКИЙ ДИЗАЙН
   ============================================ */
.fresh-slider-wrapper {
    padding: 16px 18px;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}



/* ===== ШАПКА ===== */
.fresh-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.fresh-slider-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: width 0.4s ease, left 0.4s ease;
}

.fresh-slider-wrapper:hover .fresh-slider-header::after {
    width: 80px;
}

.fresh-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fresh-title {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.4s ease;
    position: relative;
}

.fresh-title .title-icon {
    margin-right: 4px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.fresh-slider-wrapper:hover .fresh-title .title-icon {
    transform: scale(1.1) rotate(-5deg);
}

.fresh-title .title-text {
    background: linear-gradient(135deg, var(--text), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.fresh-title.active .title-text {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fresh-count {
    font-size: 10px;
    font-weight: 600;
    color: white;
    background: var(--primary);
    padding: 2px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.fresh-count::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.fresh-count.active {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
}

/* ===== НАВИГАЦИЯ ===== */
.fresh-nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.fresh-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--text-lighter);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.fresh-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fresh-nav-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.fresh-nav-btn:hover::before {
    opacity: 0.05;
}

.fresh-nav-btn:active {
    transform: scale(0.92);
}

.fresh-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.fresh-nav-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.fresh-nav-btn:hover i {
    transform: scale(1.15);
}

.fresh-prev:hover i {
    transform: translateX(-2px) scale(1.15);
}

.fresh-next:hover i {
    transform: translateX(2px) scale(1.15);
}

/* ===== КОНТЕЙНЕР НОВОСТЕЙ ===== */
.fresh-slider-container {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.fresh-slider-track {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ===== ЭЛЕМЕНТ НОВОСТИ ===== */
.fresh-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.fresh-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.fresh-item:hover {
    background: var(--primary-light);
  
}

.fresh-item:hover::before {
    opacity: 1;
}

.fresh-item:active {
    transform: scale(0.98);
}

.fresh-item-image {
    width: 52px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.fresh-item:hover .fresh-item-image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.fresh-item-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.fresh-item-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text);
}

.fresh-item:hover .fresh-item-title {
    color: var(--primary);
}

.fresh-item-meta {
    font-size: 10px;
    color: var(--text-lighter);
    margin-top: 4px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.fresh-item-meta .channel-name {
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.fresh-item:hover .fresh-item-meta .channel-name {
    color: #8b5cf6;
}

.fresh-item-meta .dot {
    color: var(--border);
}

.fresh-item-meta .time {
    transition: color 0.3s ease;
}

/* ===== НОМЕР ===== */
.fresh-item-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-lighter);
    min-width: 22px;
    flex-shrink: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.fresh-item:hover .fresh-item-number {
    color: var(--primary);
}

/* ===== ЗАГРУЗКА ===== */
.fresh-loader {
    text-align: center;
    padding: 30px 10px;
    color: var(--text-lighter);
    font-size: 13px;
}

.fresh-loader i {
    margin-right: 10px;
    font-size: 18px;
    color: var(--primary);
}

/* ===== ПУСТО ===== */
.fresh-empty {
    text-align: center;
    padding: 30px 10px;
    color: var(--text-lighter);
    font-size: 13px;
    background: var(--bg);
    border-radius: 10px;
}

/* ===== АНИМАЦИИ ПОЯВЛЕНИЯ ===== */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fresh-item {
    animation: slideUpFade 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.fresh-item:nth-child(1) { animation-delay: 0.04s; }
.fresh-item:nth-child(2) { animation-delay: 0.08s; }
.fresh-item:nth-child(3) { animation-delay: 0.12s; }
.fresh-item:nth-child(4) { animation-delay: 0.16s; }
.fresh-item:nth-child(5) { animation-delay: 0.20s; }

/* ===== ТЕМНАЯ ТЕМА ===== */
.dark-mode .fresh-slider-wrapper {
    background: var(--card);
    border-color: var(--border);
}

.dark-mode .fresh-slider-wrapper:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.dark-mode .fresh-nav-btn {
    background: var(--bg);
    color: var(--text-lighter);
}

.dark-mode .fresh-nav-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
}

.dark-mode .fresh-item:hover {
    background: rgba(99, 102, 241, 0.08);
}

.dark-mode .fresh-item:hover .fresh-item-title {
    color: #818cf8;
}

.dark-mode .fresh-item-meta .channel-name {
    color: #818cf8;
}

.dark-mode .fresh-item:hover .fresh-item-meta .channel-name {
    color: #a5b4fc;
}

.dark-mode .fresh-empty {
    background: var(--bg);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 480px) {
    .fresh-slider-wrapper {
        padding: 12px 14px;
    }
    
    .fresh-title {
        font-size: 12px;
    }
    
    .fresh-item {
        padding: 8px 10px;
    }
    
    .fresh-item-image {
        width: 44px;
        height: 36px;
    }
    
    .fresh-item-title {
        font-size: 11.5px;
    }
}



/* ============================================================
           ОСНОВНОЙ КОНТЕНТ
           ============================================================ */
        .main-container { max-width: 1280px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
        .breadcrumbs { display: flex; gap: 6px; margin-bottom: 20px; font-size: 13px; color: var(--text-lighter); flex-wrap: wrap; }
        .breadcrumbs a { color: var(--text-light); text-decoration: none; } .breadcrumbs a:hover { color: var(--primary); }

        /* Статья */
        .article { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 24px; }
        .article-header { padding: 32px 32px 0; }
        .article-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
        .article-category { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: var(--primary-light); color: var(--primary); border-radius: 50px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
        .article-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; }
        .badge-hot { background: #fee2e2; color: #dc2626; } .badge-popular { background: #fef3c7; color: #d97706; }
        .article h1 { font-size: 32px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; color: var(--text); letter-spacing: -0.8px; }
        .article-meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-light); }
        .meta-item { display: flex; align-items: center; gap: 8px; }
        .meta-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--primary); }
        .channel-favicon-img { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
        .meta-info .name { font-weight: 600; } .meta-info .detail { font-size: 12px; color: var(--text-lighter); }
		
		
        .article-stats {
    display: flex;
    gap: 24px;
    margin-left: auto;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 12px;
    border-radius: 8px;
    background: var(--bg);
    min-width: 60px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.stat-item:hover {
    border-color: var(--border);
    transform: translateY(-1px);
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.stat-icon {
    font-size: 13px;
    color: var(--text-lighter);
    opacity: 0.7;
}

.stat-label {
    font-size: 10px;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
    margin-top: 2px;
}

/* Адаптивность */
@media (max-width: 640px) {
    .article-stats {
        gap: 8px;
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .stat-item {
        padding: 4px 10px;
        min-width: 50px;
        flex-direction: row;
        gap: 6px;
        background: transparent;
    }
    
    .stat-item:hover {
        border-color: transparent;
        transform: none;
    }
    
    .stat-value {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 10px;
        text-transform: none;
        letter-spacing: 0;
    }
}
		
		
        .article-image-wrapper { margin: 24px 32px; border-radius: var(--radius-sm); overflow: hidden; }
        .article-image { width: 100%; max-height: 500px; object-fit: contain; display: block; background: #f8fafc; }
        .article-content { padding: 32px; }
        .article-text { font-size: 17px; line-height: 1.9; } .article-text p { margin-bottom: 20px; } .article-text img { max-width: 100%; border-radius: var(--radius-sm); margin: 20px 0; } .article-text a { color: var(--primary); text-decoration: underline; }

        /* Реакции */
        .reactions-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 16px 24px; border-top: 1px solid var(--border); background: #fafafa; }
        .reaction-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 50px; background: white; cursor: pointer; font-size: 13px; color: var(--text-light); font-family: 'Inter',sans-serif; white-space: nowrap; }
        .reaction-btn:hover { border-color: var(--primary); }
        .reaction-btn.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
        .reaction-btn.active .fa-heart { color: #ef4444; } .reaction-btn.active .fa-fire,.reaction-btn.active .fa-bookmark { color: #f97316; }
        @keyframes pop { 0%{transform:scale(0.5)} 50%{transform:scale(1.2)} 100%{transform:scale(1)} }
        .reaction-btn.popping { animation: pop 0.3s ease; }

        /* Шаринг */
        .share-wrapper { position: relative; margin-left: auto; }
        .share-menu { position: absolute; bottom: 100%; right: 0; margin-bottom: 8px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.15); min-width: 200px; z-index: 100; overflow: hidden; animation: slideUp 0.2s ease; }
        @keyframes slideUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
        .share-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--border); background: none; width: 100%; cursor: pointer; font-family: 'Inter',sans-serif; }
        .share-menu-item:last-child { border-bottom: none; } .share-menu-item:hover { background: #f8fafc; }

        .article-footer { padding: 16px 32px 24px; display: flex; gap: 10px; flex-wrap: wrap; }
        .source-info { padding: 14px 32px; background: #fffbeb; border-top: 1px solid #fde68a; font-size: 13px; color: #92400e; display: flex; align-items: center; gap: 8px; }

        /* ============================================================
           МОДАЛЬНОЕ ОКНО СТАТИСТИКИ
           ============================================================ */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
        .modal-overlay.show { display: flex; }
        .modal-content { background: var(--card); border-radius: var(--radius); max-width: 900px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
        .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--card); z-index: 1; border-radius: var(--radius) var(--radius) 0 0; }
        .modal-header h2 { font-size: 18px; font-weight: 700; }
        .modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-lighter); padding: 4px 8px; border-radius: var(--radius-xs); }
        .modal-close:hover { background: var(--border); color: var(--text); }
        .modal-body { padding: 24px; }
        .modal-spinner { text-align: center; padding: 40px; }

        /* ============================================================
           СЕКЦИИ НОВОСТЕЙ
           ============================================================ */
        .section-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
        .news-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 24px; }
        .news-item { background: var(--card); padding: 14px 18px; transition: var(--transition); display: flex; align-items: center; gap: 14px; cursor: pointer; text-decoration: none; color: inherit; }
        .news-item:hover { background: #f8fafc; }
        .news-icon { width: 32px; height: 32px; border-radius: var(--radius-xs); background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
        .news-icon img { width: 18px; height: 18px; object-fit: contain; border-radius: 3px; }
        .news-content { flex: 1; min-width: 0; }
        .news-title-text { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .news-item:hover .news-title-text { color: var(--primary); }
        .news-meta-row { display: flex; gap: 10px; font-size: 11px; color: var(--text-lighter); margin-top: 3px; flex-wrap: wrap; }
        @keyframes fadeInUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
        .news-item { animation: fadeInUp 0.2s ease-out backwards; }

        .loading-indicator { text-align: center; padding: 24px; display: none; } .loading-indicator.show { display: block; }
        .spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top: 3px solid var(--primary); border-radius: 50%; animation: spin 0.6s linear infinite; margin: 0 auto 8px; }
        @keyframes spin { 0%{transform:rotate(0)} 100%{transform:rotate(360deg)} }

        /* ============================================================
           КОММЕНТАРИИ — НОВЫЙ ДИЗАЙН
           ============================================================ */
        .comments-section { 
            margin-top: 32px;
            margin-bottom: 32px;
            background: var(--card);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 24px;
        }
        
        .comments-section .section-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 2px solid var(--border);
            padding-bottom: 12px;
        }
        
        .comments-section .section-title .comments-count {
            background: var(--primary-light);
            color: var(--primary);
            padding: 2px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
        }
        
        /* Форма комментария */
        .comment-form-wrapper {
            background: var(--bg);
            border-radius: var(--radius-sm);
            padding: 16px;
            margin-bottom: 24px;
        }
        
        .comment-form {
            display: flex;
            gap: 14px;
            align-items: flex-start;
        }
        
        .comment-form-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            flex-shrink: 0;
            overflow: hidden;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 16px;
            color: var(--primary);
            border: 2px solid var(--border);
        }
        
        .comment-form-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-form-input {
            flex: 1;
            min-width: 0;
        }
        
        .comment-form-input textarea {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-family: 'Inter', sans-serif;
            resize: vertical;
            min-height: 50px;
            background: var(--card);
            transition: all 0.2s ease;
            color: var(--text);
        }
        
        .comment-form-input textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }
        
        .comment-form-input textarea::placeholder {
            color: var(--text-lighter);
        }
        
        .comment-form-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .comment-form-actions .reply-info {
            display: none;
            font-size: 12px;
            color: var(--text-lighter);
            background: var(--primary-light);
            padding: 4px 12px;
            border-radius: 20px;
        }
        
        .comment-form-actions .reply-info.show {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .comment-form-actions .reply-info .cancel-reply {
            cursor: pointer;
            color: var(--text-lighter);
            font-weight: 700;
            padding: 0 4px;
        }
        
        .comment-form-actions .reply-info .cancel-reply:hover {
            color: #ef4444;
        }
        
        /* Логин-промпт */
        .comment-login-prompt {
            text-align: center;
            padding: 30px 20px;
            background: var(--bg);
            border-radius: var(--radius-sm);
            margin-bottom: 20px;
        }
        
        .comment-login-prompt p {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .comment-login-prompt a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
        }
        
        .comment-login-prompt a:hover {
            text-decoration: underline;
        }
        
        /* Список комментариев */
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        /* Один комментарий */
        .comment-item {
            padding: 16px 0;
            border-bottom: 1px solid var(--border);
            transition: all 0.2s ease;
        }
        
        .comment-item:last-child {
            border-bottom: none;
        }
        
        .comment-item:hover {
            background: var(--bg);
            margin: 0 -16px;
            padding: 16px 16px;
            border-radius: var(--radius-sm);
        }
        
        .comment-item.is-deleted {
            opacity: 0.6;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
            flex-wrap: wrap;
            gap: 6px;
        }
        
        .comment-author {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .comment-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            flex-shrink: 0;
            overflow: hidden;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 13px;
            color: var(--primary);
            border: 2px solid transparent;
            transition: border-color 0.2s ease;
        }
        
        .comment-item:hover .comment-avatar {
            border-color: var(--primary);
        }
        
        .comment-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-author-name {
            font-weight: 600;
            font-size: 14px;
            color: var(--text);
        }
        
        .comment-author-name .author-badge {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 9px;
            font-weight: 600;
            padding: 1px 8px;
            border-radius: 10px;
            margin-left: 6px;
            vertical-align: middle;
        }
        
        .comment-date {
            font-size: 11px;
            color: var(--text-lighter);
            white-space: nowrap;
        }
        
        .comment-text {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text);
            margin: 4px 0 8px;
            word-break: break-word;
            padding-left: 42px;
        }
        
        .comment-text.deleted-text {
            color: var(--text-lighter);
            font-style: italic;
        }
        
        .comment-actions {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            padding-left: 42px;
        }
        
        .comment-actions .btn {
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
            border: 1px solid var(--border);
            background: transparent;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.15s ease;
            font-family: 'Inter', sans-serif;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        
        .comment-actions .btn:hover {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary);
        }
        
        .comment-actions .btn-danger:hover {
            background: #fee2e2;
            border-color: #fecaca;
            color: #dc2626;
        }
        
        .comment-actions .btn-success:hover {
            background: #d1fae5;
            border-color: #a7f3d0;
            color: #065f46;
        }
        
        /* Ответы */
        .comment-replies {
            margin-left: 42px;
            padding-left: 16px;
            border-left: 2px solid var(--border);
            margin-top: 8px;
        }
        
        .comment-reply-item {
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
        }
        
        .comment-reply-item:last-child {
            border-bottom: none;
        }
        
        .comment-reply-item .comment-header {
            margin-bottom: 4px;
        }
        
        .comment-reply-item .comment-avatar {
            width: 24px;
            height: 24px;
            font-size: 10px;
        }
        
        .comment-reply-item .comment-author-name {
            font-size: 13px;
        }
        
        .comment-reply-item .comment-text {
            font-size: 13px;
            padding-left: 34px;
        }
        
        .comment-reply-item .comment-actions {
            padding-left: 34px;
        }
        
        /* Статусы */
        .comment-status {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 500;
        }
        
        .comment-status.pending {
            background: #fef3c7;
            color: #92400e;
        }
        
        .comment-status.deleted {
            background: #fee2e2;
            color: #dc2626;
        }
        
        .comment-status.approved {
            background: #d1fae5;
            color: #065f46;
        }
        
        .comment-edited-badge {
            font-size: 10px;
            color: var(--text-lighter);
            font-style: italic;
        }
        
        /* Пустое состояние */
        .no-comments {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-lighter);
        }
        
        .no-comments .no-comments-icon {
            font-size: 48px;
            color: #cbd5e1;
            display: block;
            margin-bottom: 12px;
        }
        
        .no-comments h4 {
            font-size: 16px;
            color: var(--text);
            margin-bottom: 6px;
        }
        
        /* ============================================================
           ПОХОЖИЕ НОВОСТИ (СПИСОК)
           ============================================================ */
        .similar-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 24px; }
        .similar-item { background: var(--card); padding: 14px 16px; display: flex; align-items: center; gap: 14px; cursor: pointer; text-decoration: none; color: inherit; animation: fadeInUp 0.2s ease-out backwards; }
        .similar-item:hover { background: #f8fafc; }
        .similar-item-icon { width: 34px; height: 34px; border-radius: var(--radius-xs); background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
        .similar-item-icon img { width: 20px; height: 20px; object-fit: contain; border-radius: 3px; }
        .similar-item-image { width: 60px; height: 60px; border-radius: var(--radius-xs); overflow: hidden; flex-shrink: 0; background: #f8fafc; }
        .similar-item-image img { width: 100%; height: 100%; object-fit: cover; }
        .similar-item-content { flex: 1; min-width: 0; }
        .similar-item-title { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .similar-item:hover .similar-item-title { color: var(--primary); }
        .similar-item-meta { display: flex; gap: 6px; font-size: 11px; color: var(--text-lighter); margin-top: 4px; flex-wrap: wrap; align-items: center; }
        .similar-item-arrow { color: var(--text-lighter); font-size: 12px; transition: all 0.2s; flex-shrink: 0; }
        .similar-item:hover .similar-item-arrow { color: var(--primary); transform: translateX(2px); }
        .similar-match-badge { color: var(--primary); font-weight: 600; font-size: 10px; background: var(--primary-light); padding: 1px 6px; border-radius: 8px; }

        /* Фильтр ключевых слов */
        .keywords-filter { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; margin: 10px 15px; padding: 8px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--border) transparent; white-space: nowrap; }
        .keywords-filter::-webkit-scrollbar { height: 4px; }
        .keywords-filter::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
        .filter-label { font-size: 11px; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; flex-shrink: 0; position: sticky; left: 0; background: var(--bg); padding-right: 8px; z-index: 1; }
        .kw-tag,.kw-tag-all { padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); cursor: pointer; font-size: 12px; font-weight: 500; color: var(--text-light); white-space: nowrap; flex-shrink: 0; font-family: 'Inter',sans-serif; margin-right: 8px; }
        .kw-tag:hover,.kw-tag-all:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
        .kw-tag.active { background: var(--primary); color: white; border-color: var(--primary); font-weight: 600; }
        .kw-tag-all { border-style: dashed; } .kw-tag-all.active { border-style: solid; background: var(--primary); color: white; }


/* ============================================================
           АДАПТИВНОСТЬ
           ============================================================ */
        @media (max-width: 1024px) { .main-container { grid-template-columns: 1fr; } .sidebar { position: static; } }
        @media (max-width: 640px) {
            .header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 8px; }
            .article-header { padding: 20px 20px 0; } .article h1 { font-size: 22px; }
            .article-content { padding: 20px; } .article-stats { display: none; }
            .reactions-bar { padding: 12px 16px; gap: 6px; }
            .reaction-btn { padding: 7px 11px; font-size: 12px; } .reaction-label { display: none; }
            .article-footer { padding: 12px 20px; flex-direction: column; }
            .similar-item { padding: 12px 14px; } .similar-item-image { width: 50px; height: 50px; }
            .comments-section { padding: 16px; }
            .comment-form { flex-direction: column; align-items: stretch; }
            .comment-text { padding-left: 0; }
            .comment-actions { padding-left: 0; }
            .comment-replies { margin-left: 12px; padding-left: 10px; }
            .comment-item:hover { margin: 0; padding: 16px 0; }
        }
		
		
		
/* ============================================================
   ВИДЕО-БЕЙДЖ
   ============================================================ */
.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    background: #e11d48;
    color: white;
}

.video-badge i {
    font-size: 9px;
}

/* Иконка видео на картинке */
.news-card-image-wrap {
    position: relative;
}

.news-card-image-wrap .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.news-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(225, 29, 72, 0.9);
}

/* Длительность видео */
.news-card-image-wrap .video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}


/* Видео-бейдж */
.trending-badge.video {
    background: #e11d48;
    color: white;
}

.trending-badge.video i {
    font-size: 10px;
    margin-right: 2px;
}