@charset "utf-8";
/* ===================================================== */
/* ФИШКИ ДЛЯ ПОЛНОЙ СТАТЬИ — уникальные классы .full-* */
/* ===================================================== */
/* ========================================= */
/* ВИЗУАЛЬНОЕ РАЗДЕЛЕНИЕ БЛОКОВ */
/* ========================================= */

/* Breadcrumbs */
.full-breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.full-breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.full-breadcrumbs a:hover {
    color: var(--primary);
}

/* БЛОК 1: Статья */
.article-block {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px var(--shadow);
    border: 1px solid var(--border);
}

/* Микро-CTA после статьи */
.micro-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.04));
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin: 2rem 0 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.micro-cta svg {
    color: var(--primary);
    flex-shrink: 0;
}

.micro-cta.telegram-cta {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.08), rgba(0, 136, 204, 0.04));
    border-left-color: #0088cc;
}

.micro-cta.telegram-cta svg {
    color: #0088cc;
}

.micro-cta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--primary);
}

.micro-cta a:hover {
    border-bottom-color: transparent;
}

/* БЛОК 2: Теги */
.tags-block {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border);
    position: relative;
}

.tags-block::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.tags-block__header {
    margin-bottom: 1.5rem;
}

.tags-block__header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* БЛОК 3: Похожие материалы */
.related-block {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 2px 8px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.related-block::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--success), transparent);
    border-radius: 2px;
}

.related-block__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.related-block__header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.5rem 0;
}

.related-block__subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* БЛОК 4: Комментарии */
.comments-block {
    background: rgba(59, 130, 246, 0.02);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.comments-block::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.comments-block__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.comments-block__header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.75rem 0;
}

.comments-block__stats {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.comments-cta {
    background: var(--bg-white);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text);
}

.comments-cta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--primary);
}

.comments-cta a:hover {
    border-bottom-color: transparent;
}

/* ========================================= */
/* АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ */
/* ========================================= */

@media (max-width: 768px) {
    .article-block,
    .related-block,
    .comments-block {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }

    .tags-block {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }

    .micro-cta {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .related-block__header h2 {
        font-size: 1.6rem;
    }

    .comments-block__header h2 {
        font-size: 1.5rem;
    }

    /* Убираем декоративные линии на мобильных */
    .tags-block::before,
    .related-block::before,
    .comments-block::before {
        display: none;
    }
}

/* ========================================= */
/* READER MODE - скрываем блоки */
/* ========================================= */

body.reader-mode .tags-block,
body.reader-mode .related-block,
body.reader-mode .comments-block,
body.reader-mode .micro-cta {
    display: none !important;
}
/* Прогресс-бар чтения */
.full-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    width: 0%;
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Плавающие инструменты (внизу справа) — с шарингом */
/* Прогресс-бар чтения */
.full-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    width: 0%;
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Плавающие инструменты (по центру снизу) */
.full-tools {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    z-index: 998;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light)); /* Красивый градиент */
    backdrop-filter: blur(10px); /* Размытие для современного вида */
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 12px var(--shadow);
    transition: opacity 0.3s ease; /* Для пропадания */
    opacity: 1;
}

.full-tools.hidden {
    opacity: 0;
    pointer-events: none;
}

.full-tool-btn {
    width: 52px;
    height: 52px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: 0 4px 12px var(--shadow);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.full-tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
    background: var(--bg-light);
}

/* Выпадашка шаринга */
.full-share-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 0.75rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow);
    border: 1px solid var(--border);
    display: none;
    flex-direction: column;
    min-width: 200px;
    overflow: hidden;
}

.full-share-dropdown.active {
    display: flex;
}

.full-share-link {
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.full-share-link:hover {
    background: var(--bg-light);
}

.full-share-copy {
    border-top: 1px solid var(--border);
}

/* Контейнер статьи */
/*.full-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}*/

/* Заголовок и мета */
.full-article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.full-article-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Содержимое статьи (основные стили) */
.full-article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

/* Изображения в статье */
.full-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px var(--shadow);
    text-decoration: none;
    cursor: zoom-in;
    transition: transform 0.2s;
}

.full-article-content .highslide {
    border-bottom: hidden;
    text-decoration: none;
}

.full-article-content img:hover {
    transform: scale(1.02);
}

/* Теги — красивые бейджи */
.full-article-tags {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.full-article-tags a {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    margin: 0.5rem 0.5rem 0.5rem 0;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px var(--shadow);
}

.full-article-tags a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Похожие материалы */
.full-related-news {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.full-related-news h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Читательский режим */
body.reader-mode .header,
body.reader-mode .nav,
body.reader-mode .sidebar,
body.reader-mode .full-related-news,
body.reader-mode .comments,
body.reader-mode .breadcrumbs,
body.reader-mode .footer {

    display: none !important;
}

/* Панель инструментов остаётся видна в reader-mode */
body.reader-mode .full-tools {
    display: flex !important;
}

body.reader-mode .full-progress-bar {
    top: 0;
}

body.reader-mode .full-article-container {
    max-width: 900px;
    padding: 4rem 2rem;
}

body.reader-mode .full-article-content {
    font-size: 1.35rem;
    line-height: 1.9;
}

body.reader-mode .full-article-title {
    font-size: 3rem;
}

/* Lightbox */
#fullSimpleLightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

#fullSimpleLightbox.active {
    display: flex;
}

.full-lightbox-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 12px;
}

.full-lightbox-close,
.full-lightbox-prev,
.full-lightbox-next {
    position: absolute;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.full-lightbox-close:hover,
.full-lightbox-prev:hover,
.full-lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.full-lightbox-close { top: 2rem; right: 2rem; }
.full-lightbox-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.full-lightbox-next { right: 2rem; top: 50%; transform: translateY(-50%); }

/* ========================================= */
/* КРАСИВОЕ ОФОРМЛЕНИЕ КОНТЕНТА СТАТЬИ ({full-story}) */
/* ========================================= */

/* Заголовки */
.full-article-content h2,
.full-article-content h3,
.full-article-content h4,
.full-article-content h5,
.full-article-content h6 {
    color: var(--dark);
    margin: 2.5rem 0 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.full-article-content h2 {
    font-size: 2.2rem;
    line-height: 3rem;
    border-bottom: 3px solid var(--primary);
    text-align: left;
    text-decoration: none;
}

.full-article-content h3 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary);
}

.full-article-content h4 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.full-article-content h5 {
    font-size: 1.3rem;
    color: var(--primary);
}

.full-article-content h6 {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
}

/* Списки */
.full-article-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
	border: none;
}

.full-article-content ul li {
    position: relative;
    line-height: 1.8;
}

.full-article-content ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    padding-right: 0.8rem;
    left: 0;
    font-size: 1.4rem;
}

.full-article-content ol {
    counter-reset: ol-counter;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.full-article-content ol li {
    counter-increment: ol-counter;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    list-style: none;
}

.full-article-content ol li::before {
    content: counter(ol-counter) ".";
    color: var(--primary);
    font-weight: 700;
    position: absolute;
    left: -2rem;
    width: 2rem;
    text-align: right;
}

/* Цитаты (blockquote) */
.quote {
    background: var(--bg-light);
    border-left: 6px solid var(--primary);
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text);
    position: relative;
    box-shadow: 0 4px 12px var(--shadow);
}

.quote::before {
    content: "“";
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: -1rem;
    left: 1rem;
    line-height: 1;
}

.full-article-content blockquote p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.full-article-content blockquote footer {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: normal;
    text-align: right;
}

.full-article-content blockquote footer::before {
    content: "— ";
}

/* Код и преформатированный текст */
.full-article-content pre {
    background: #1e1e1e;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 4px 12px var(--shadow);
}

.full-article-content code {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.full-article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Таблицы */
.full-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.full-article-content th,
.full-article-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.full-article-content th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--dark);
}

.full-article-content tr:hover {
    background: var(--bg-light);
}

/* Абзацы и горизонтальная линия */
.full-article-content p {
    margin: 0.2rem 0;
    line-height: 1.8;
}

.full-article-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 3rem 0;
    border-radius: 2px;
}

/* Ссылки внутри контента */
.full-article-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary);
    transition: all 0.2s;
}

.full-article-content a:hover {
    color: var(--primary-dark);
    border-bottom-color: transparent;
}

/* ========================================= */
/* ПЕЧАТЬ — локально только для статьи */
/* ========================================= */

@media print {
    .header,
    .nav,
    .sidebar,
    .full-progress-bar,
    .full-tools,
    .comments,
    .full-related-news,
    .breadcrumbs,
    .footer {
        display: none !important;
    }

    .container {
        display: block !important;
        max-width: none;
        padding: 0;
        margin: 0;
    }

    .full-article-container {
        max-width: none;
        padding: 2cm;
        margin: 0;
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.6;
    }

    .full-article-title {
        font-size: 24pt;
        color: black !important;
        page-break-after: avoid;
    }

    .full-article-meta {
        font-size: 10pt;
        color: #555;
        margin-bottom: 20pt;
    }

    .full-article-content {
        font-size: 12pt;
        line-height: 1.6;
        color: black !important;
    }

    .full-article-content img {
        max-width: 100% !important;
        page-break-inside: avoid;
        page-break-after: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
    }

    .full-article-content a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #555;
    }

    .full-article-tags {
        display: none;
    }
}

/* Мобильная адаптация */
@media (max-width: 767px) {
   

    .full-article-title {
        font-size: 2rem;
    }

    body.reader-mode .full-article-content {
        font-size: 1.2rem;
    }

    body.reader-mode .full-article-container {
        padding: 2rem 1rem;
    }

    .full-article-content h2 {
        font-size: 1.9rem;
        line-height: 2.2rem;
    }

    .full-article-content h3 {
        font-size: 1.6rem;
    }

    .full-article-content blockquote {
        padding: 1.25rem 1.5rem;
        margin: 2rem 0;
    }

    .full-article-content pre {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .full-article-content table {
        font-size: 0.9rem;
    }

    .full-article-content th,
    .full-article-content td {
        padding: 0.75rem;
    }
}

@media (max-width: 767px) {
    .full-tools {
        bottom: 1rem;
    /*    right: 1rem;*/
        flex-direction: row;
        gap: 1rem;
    }

    .full-tool-btn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

 .full-share-dropdown {
        bottom:100%;
        top:  auto;
        margin-top: 0.75rem;
        right: 50%;
        transform: translateX(50%);
    }

    .full-article-title {
        font-size: 2rem;
    }

    body.reader-mode .full-article-content {
        font-size: 1.2rem;
    }

    body.reader-mode .full-article-container {
        padding: 2rem 1rem;
    }

    .full-article-content h2 {
        font-size: 1.9rem;
        line-height: 2.2rem;
    }

    .full-article-content h3 {
        font-size: 1.6rem;
    }

    .full-article-content blockquote {
        padding: 1.25rem 1.5rem;
        margin: 2rem 0;
    }

    .full-article-content pre {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .full-article-content table {
        font-size: 0.9rem;
    }

    .full-article-content th,
    .full-article-content td {
        padding: 0.75rem;
    }
}

/* ============================================
   COMMENTS - Древовидные комментарии
   ============================================ */

.turbo-comment {
	background: var(--bg-white);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-left: 3px solid transparent;
	transition: all 0.2s;
	position: relative;
}

.turbo-comment:hover {
	border-left-color: var(--primary);
	box-shadow: 0 2px 8px var(--shadow);
}

//* ============================================
   COMMENTS - Древовидные комментарии DLE
   ============================================ */
/* Убираем цифры списка */
ol.comments-tree-list {
	list-style-type: none !important;
}

.comments-tree-item {
	list-style-type: none !important;
}

/* Скрываем чекбоксы массовых действий */
/*.turbo-comment input[type="checkbox"] {
	display: none;
}*/

/* Или если нужны чекбоксы, стилизуй их: */
.turbo-comment input[type="checkbox"] {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 18px;
	height: 18px;
	cursor: pointer;
}
/* Сбрасываем стили списков */
.comments-tree-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comments-tree-item {
	margin: 0;
	padding: 0;
	position: relative;
}

/* Основной комментарий */
.turbo-comment {
	background: var(--bg-white);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.25rem;
	margin-bottom: 1rem;
	position: relative;
	transition: all 0.2s;
}

.turbo-comment:hover {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	border-color: var(--primary);
}

/* ============================================
   ДРЕВОВИДНОСТЬ - ПРАВИЛЬНАЯ!
   ============================================ */

/* Вложенный список (ответы на комментарий) */
.comments-tree-item > .comments-tree-list {
	margin-left: 50px; /* Отступ для вложенности */
	margin-top: 1rem;
	padding-left: 20px; /* Место для линии */
	border-left: 2px solid var(--border);
	position: relative;
}

/* Линия соединения (вертикальная) */
.comments-tree-item > .comments-tree-list::before {
	content: '';
	position: absolute;
	left: -2px;
	top: 0;
	bottom: 1rem;
	width: 2px;
	background: var(--border);
}

/* Горизонтальная черточка к каждому вложенному комментарию */
.comments-tree-item > .comments-tree-list > .comments-tree-item::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 30px;
	width: 18px;
	height: 2px;
	background: var(--border);
	z-index: 1;
}

/* Альтернативный фон для уровня 1 вложенности */
.comments-tree-item > .comments-tree-list > .comments-tree-item .turbo-comment {
	background: rgba(59, 130, 246, 0.02);
	border-left: 3px solid rgba(59, 130, 246, 0.3);
}

/* Уровень 2 вложенности */
.comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list {
	margin-left: 40px;
}

.comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list > .comments-tree-item .turbo-comment {
	background: rgba(16, 185, 129, 0.02);
	border-left: 3px solid rgba(16, 185, 129, 0.3);
}

/* Уровень 3+ - ограничиваем */
.comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list {
	margin-left: 30px;
}

.comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list > .comments-tree-item .turbo-comment {
	background: rgba(245, 158, 11, 0.02);
	border-left: 3px solid rgba(245, 158, 11, 0.3);
}

/* ============================================
   LAYOUT
   ============================================ */

.turbo-comment__wrapper {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 1rem;
	align-items: start;
}

/* AVATAR */
.turbo-comment__avatar {
	position: relative;
	width: 48px;
	height: 48px;
}

.turbo-comment__avatar a {
	display: block;
}

.turbo-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, #3B82F6, #2563EB);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 2px solid var(--border);
	position: relative;
}

.turbo-avatar__letter {
	color: white;
	font-weight: 700;
	font-size: 1.25rem;
	text-transform: uppercase;
	line-height: 1;
}

/* Если есть background-image - скрываем букву */
.turbo-avatar[style*="background-image"] .turbo-avatar__letter {
	opacity: 0;
}

.turbo-online {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 12px;
	height: 12px;
	background: var(--success);
	border: 2px solid var(--bg-white);
	border-radius: 50%;
	font-size: 0;
	animation: pulse-online 2s infinite;
	z-index: 2;
}

@keyframes pulse-online {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.7; }
}

/* CONTENT */
.turbo-comment__content {
	min-width: 0; /* Для правильного переноса текста */
}

/* HEADER */
.turbo-comment__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
}

.turbo-comment__author {
	color: var(--text);
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

.turbo-comment__author a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s;
}

.turbo-comment__author a:hover {
	color: var(--primary);
}

.turbo-comment__date {
	color: var(--text-light);
	font-size: 0.875rem;
}

.turbo-comment__online-text {
	color: var(--success);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* BODY */
.turbo-comment__body {
	margin-bottom: 0.75rem;
}

.turbo-comment__text {
	color: var(--text);
	line-height: 1.7;
	font-size: 0.95rem;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.turbo-comment__text p {
	margin: 0 0 0.75rem 0;
}

.turbo-comment__text p:last-child {
	margin-bottom: 0;
}

/* News link (для последних комментариев) */
.turbo-comment__news-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--primary);
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.75rem;
	padding: 0.5rem 0.75rem;
	background: rgba(59, 130, 246, 0.08);
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.turbo-comment__news-link:hover {
	background: rgba(59, 130, 246, 0.15);
}

/* Images */
.turbo-comment__images {
	margin-top: 1rem;
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.turbo-comment__images img {
	max-width: 200px;
	height: auto;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.2s;
}

.turbo-comment__images img:hover {
	transform: scale(1.05);
}

/* Signature */
.turbo-comment__signature {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--border);
	color: var(--text-light);
	font-size: 0.875rem;
	font-style: italic;
}

/* FOOTER */
.turbo-comment__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
	flex-wrap: wrap;
}

/* Actions */
.turbo-comment__actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.turbo-comment__actions a {
	text-decoration: none;
}

.turbo-action-btn {
	background: none;
	border: none;
	color: var(--text-light);
	cursor: pointer;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s;
	font-family: inherit;
}

.turbo-action-btn:hover {
	background: var(--bg-light);
	color: var(--text);
}

.turbo-action-btn--reply:hover {
	background: rgba(59, 130, 246, 0.1);
	color: var(--primary);
}

.turbo-action-btn--danger:hover {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.turbo-action-btn svg {
	flex-shrink: 0;
}

/* ============================================
   RATING - Все типы рейтинга
   ============================================ */

.turbo-comment__rating {
	display: flex;
}

.turbo-comment__rating:empty {
	display: none;
}

.turbo-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Общие кнопки */
.turbo-rating__btn {
	background: none;
	border: none;
	color: var(--text-light);
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 6px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.turbo-rating__btn:hover {
	background: var(--bg-light);
}

.turbo-rating__btn--like:hover {
	color: var(--success);
	background: rgba(16, 185, 129, 0.1);
}

.turbo-rating__btn--dislike:hover {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.1);
}

.turbo-rating__btn--heart:hover {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.1);
}

.turbo-rating__count {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--text);
}

/* Тип 1: Звёзды */
.turbo-rating--stars {
	color: var(--premium);
	font-size: 1.125rem;
}

.turbo-rating__stars {
	display: flex;
	gap: 2px;
}

/* Тип 2: Только лайки */
.turbo-rating--like-only .turbo-rating__btn {
	gap: 0.5rem;
}

/* Тип 3: Лайк/Дизлайк */
.turbo-rating--likedislike {
	gap: 0.5rem;
}

/* Тип 4: Детальный (раздельные счётчики) */
.turbo-rating--detailed {
	gap: 1rem;
}

.turbo-rating__group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.turbo-rating__count--positive {
	color: var(--success);
}

.turbo-rating__count--negative {
	color: #ef4444;
}

/* Dark theme */
[data-theme="dark"] .turbo-rating__btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   МАССОВЫЕ ДЕЙСТВИЯ (внизу)
   ============================================ */

/* Массовые действия */
.mass_comments_action {
	background: var(--bg-light);
	padding: 1rem 1.5rem;
	border-radius: 8px;
	margin-top: 2rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	border: 1px solid var(--border);
}

.mass_comments_action select {
	padding: 0.5rem 1rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--bg-white);
	font-size: 0.875rem;
	cursor: pointer;
}

.mass_comments_action input.bbcodes {
	padding: 0.5rem 1.5rem;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	font-size: 0.875rem;
}

.mass_comments_action input.bbcodes:hover {
	background: var(--primary-dark);
}

/* Чекбоксы для выбора комментариев */
.turbo-comment input[type="checkbox"][name^="selected_comments"] {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--primary);
}
/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	/* Уменьшаем отступы вложенности на мобильных */
	.comments-tree-item > .comments-tree-list {
		margin-left: 30px;
		padding-left: 15px;
	}
	
	.comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list {
		margin-left: 20px;
	}
	
	.comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list > .comments-tree-item > .comments-tree-list {
		margin-left: 15px;
	}

	.turbo-comment {
		padding: 1rem;
	}

	.turbo-comment__wrapper {
		grid-template-columns: 40px 1fr;
		gap: 0.75rem;
	}

	.turbo-comment__avatar,
	.turbo-avatar {
		width: 40px;
		height: 40px;
	}

	.turbo-avatar__letter {
		font-size: 1rem;
	}

	.turbo-comment__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	/* Скрываем текст кнопок, оставляем только иконки */
	.turbo-action-btn span {
		display: none;
	}

	.turbo-action-btn {
		padding: 0.5rem;
	}

	/* Скрываем горизонтальные черточки на мобильных */
	.comments-tree-item > .comments-tree-list > .comments-tree-item::before {
		display: none;
	}
}

/* ============================================
   DARK THEME
   ============================================ */

[data-theme="dark"] .turbo-comment {
	background: var(--dark-light);
	border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .turbo-comment:hover {
	border-color: var(--primary);
}

[data-theme="dark"] .turbo-avatar {
	border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .turbo-online {
	border-color: var(--dark-light);
}

[data-theme="dark"] .comments-tree-item > .comments-tree-list {
	border-left-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .comments-tree-item > .comments-tree-list::before,
[data-theme="dark"] .comments-tree-item > .comments-tree-list > .comments-tree-item::before {
	background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .comments-tree-item > .comments-tree-list > .comments-tree-item .turbo-comment {
	background: rgba(59, 130, 246, 0.05);
}

[data-theme="dark"] .mass_comments_action {
	background: var(--dark);
}

[data-theme="dark"] .mass_comments_action select {
	background: var(--dark-light);
	border-color: rgba(255, 255, 255, 0.1);
	color: white;
}

/* ========================================= */
/* PREMIUM CTA БЛОК (КОМПАКТНЫЙ) */
/* ========================================= */

.turbo-premium-cta--compact {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.02));
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.turbo-premium-cta--compact .turbo-premium-cta-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
}

.turbo-premium-cta--compact .turbo-premium-cta-header svg {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
}

.turbo-premium-cta--compact .turbo-premium-cta-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

/* Контент */
.turbo-premium-cta--compact .turbo-premium-cta-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.turbo-premium-cta--compact .turbo-premium-cta-desc {
    font-size: 0.95rem;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

/* Список фич (горизонтальный) */
.turbo-premium-features-compact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text);
}

.turbo-premium-features-compact span {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--bg-white);
    border-radius: 6px;
    font-weight: 500;
}

/* Кнопки компактные */
.turbo-premium-actions-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.turbo-premium-actions-compact .turbo-premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.turbo-premium-actions-compact .turbo-premium-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.turbo-premium-actions-compact .turbo-premium-btn--primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.turbo-premium-actions-compact .turbo-premium-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.turbo-premium-social-compact {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .turbo-premium-cta--compact {
        padding: 1rem;
    }

    .turbo-premium-actions-compact {
        flex-direction: column;
        align-items: stretch;
    }

    .turbo-premium-actions-compact .turbo-premium-btn {
        justify-content: center;
    }

    .turbo-premium-social-compact {
        text-align: center;
    }
}

/* DARK THEME */
[data-theme="dark"] .turbo-premium-cta--compact {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
}

[data-theme="dark"] .turbo-premium-cta--compact .turbo-premium-cta-title {
    color: white;
}

[data-theme="dark"] .turbo-premium-features-compact span {
    background: var(--dark-light);
}


/* ========================================= */
/* PREMIUM CTA - ОБНОВЛЁННАЯ ВЕРСИЯ */
/* СИНИЙ + ЗЕЛЁНЫЙ ПАЛИТРА */
/* ========================================= */

/* Цветовые переменные */
:root {
    --cta-blue: #3b82f6;
    --cta-blue-light: #60a5fa;
    --cta-green: #10b981;
    --cta-green-light: #34d399;
    --cta-green-dark: #059669;
    --cta-purple: #8b5cf6;
}

/* ========================================= */
/* БАЗОВЫЙ СТИЛЬ БЛОКА */
/* ========================================= */

.turbo-premium-cta--compact {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(239, 246, 255, 1) 0%,
        rgba(240, 253, 244, 0.5) 50%,
        rgba(239, 246, 255, 1) 100%
    );
    background-size: 200% 200%;
    border: 2px solid var(--cta-blue);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 2.5rem 0;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* ========================================= */
/* KEYFRAMES АНИМАЦИИ */
/* ========================================= */

@keyframes premium-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.008); }
}

@keyframes premium-glow-dual {
    0% {
        border-color: var(--cta-blue);
        box-shadow: 
            0 4px 20px rgba(59, 130, 246, 0.25),
            0 0 0px rgba(16, 185, 129, 0);
    }
    50% {
        border-color: var(--cta-green);
        box-shadow: 
            0 4px 15px rgba(59, 130, 246, 0.15),
            0 0 35px rgba(16, 185, 129, 0.35);
    }
    100% {
        border-color: var(--cta-blue);
        box-shadow: 
            0 4px 20px rgba(59, 130, 246, 0.25),
            0 0 0px rgba(16, 185, 129, 0);
    }
}

@keyframes premium-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes premium-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes premium-ripple {
    0% { width: 0; height: 0; opacity: 0.6; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

@keyframes premium-ripple-intense {
    0% { width: 0; height: 0; opacity: 0.8; }
    100% { width: 350px; height: 350px; opacity: 0; }
}

@keyframes premium-stripe {
    0% { background-position: 0% 0%; opacity: 0.6; }
    50% { background-position: 0% 100%; opacity: 1; }
    100% { background-position: 0% 0%; opacity: 0.6; }
}

@keyframes premium-button-shake {
    0%, 100% { transform: translateX(0) scale(1); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px) scale(1.05); }
    20%, 40%, 60%, 80% { transform: translateX(2px) scale(1.05); }
}

@keyframes premium-arrow-slide {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(4px); opacity: 0.7; }
}

/* ========================================= */
/* АКТИВНОЕ СОСТОЯНИЕ */
/* ========================================= */

.turbo-premium-cta--compact.is-visible {
    animation: 
        premium-pulse 3.5s ease-in-out infinite,
        premium-glow-dual 2.5s ease-in-out infinite,
        premium-gradient 5s ease infinite;
}

/* ========================================= */
/* ЗАГОЛОВОК */
/* ========================================= */

.turbo-premium-cta--compact .turbo-premium-cta-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.15);
}

.turbo-premium-cta--compact .turbo-premium-cta-header svg {
    width: 22px;
    height: 22px;
    color: var(--cta-purple);
    flex-shrink: 0;
}

.turbo-premium-cta--compact.is-visible .turbo-premium-cta-header svg {
    animation: premium-icon-float 2.5s ease-in-out infinite;
}

.turbo-premium-cta--compact .turbo-premium-cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    transition: text-shadow 0.4s, opacity 0.3s;
}

.turbo-premium-cta--compact.is-visible .turbo-premium-cta-title {
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* ========================================= */
/* КОНТЕНТ */
/* ========================================= */

.turbo-premium-cta--compact .turbo-premium-cta-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ========================================= */
/* СЕКЦИИ */
/* ========================================= */

.turbo-premium-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.turbo-premium-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cta-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.turbo-premium-section-title svg {
    flex-shrink: 0;
}

/* ========================================= */
/* ИНФОРМАЦИЯ О ФАЙЛЕ */
/* ========================================= */

.turbo-premium-file-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s;
}

.turbo-premium-file-info svg {
    width: 28px;
    height: 28px;
    color: var(--cta-blue);
    flex-shrink: 0;
}

.turbo-premium-file-text {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.turbo-premium-file-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

.turbo-premium-file-text span {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
}

.turbo-premium-file-info:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateX(3px);
}

/* ========================================= */
/* ТАРИФЫ */
/* ========================================= */

.turbo-premium-tariffs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text);
}

.turbo-premium-tariffs span {
    font-weight: 500;
}

.turbo-premium-tariff-best {
    color: var(--cta-green);
    font-weight: 700;
    position: relative;
}

.turbo-premium-tariff-best::after {
    content: '⭐';
    margin-left: 0.25rem;
}

.turbo-premium-price-range {
    font-size: 0.95rem;
    color: var(--text);
    padding: 0.625rem 1rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.turbo-premium-price-range strong {
    color: var(--cta-green);
    font-weight: 700;
}

/* ========================================= */
/* КНОПКА ДЕЙСТВИЯ */
/* ========================================= */

.turbo-premium-actions-new {
    margin-top: 0.5rem;
}

.turbo-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.turbo-premium-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

/* Зелёная кнопка - ПРИНУДИТЕЛЬНЫЕ СТИЛИ */
.turbo-premium-btn--primary {
    background: linear-gradient(135deg, var(--cta-green), var(--cta-green-dark)) !important;
    color: white !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* Белый текст внутри span */
.turbo-premium-btn--primary span {
    color: white !important;
}

/* Белая иконка SVG */
.turbo-premium-btn--primary svg {
    color: white !important;
    stroke: white !important;
}

.turbo-premium-btn--primary svg path {
    stroke: white !important;
    fill: none !important;
}

/* Эффект волн на кнопке */
.turbo-premium-btn--primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.turbo-premium-cta--compact.is-visible .turbo-premium-btn--primary::before {
    animation: premium-ripple 2.5s ease-out infinite;
}

/* Стрелка после текста */
.turbo-premium-btn--primary span::after {
    content: ' →';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: inline-block;
    color: white !important;
}

/* ========================================= */
/* ФУТЕР */
/* ========================================= */

.turbo-premium-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.turbo-premium-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--cta-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    align-self: flex-start;
}

.turbo-premium-login-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.turbo-premium-login-link:hover {
    color: var(--cta-green);
    transform: translateX(3px);
}

.turbo-premium-social-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.turbo-premium-social-proof svg {
    width: 16px;
    height: 16px;
    color: var(--cta-green);
    flex-shrink: 0;
}

/* ========================================= */
/* ПОЛОСКА СБОКУ */
/* ========================================= */

.turbo-premium-cta--compact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        180deg,
        var(--cta-blue),
        var(--cta-green),
        var(--cta-blue)
    );
    background-size: 100% 200%;
    border-radius: 14px 0 0 14px;
    opacity: 0;
    transition: opacity 0.4s, background 0.3s;
}

.turbo-premium-cta--compact.is-visible::before {
    opacity: 1;
    animation: premium-stripe 3s ease-in-out infinite;
}

/* ========================================= */
/* HOVER НА БЛОК */
/* ========================================= */

.turbo-premium-cta--compact:hover {
    animation: none !important;
    transform: none;
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.25),
        0 4px 20px rgba(16, 185, 129, 0.15);
    border-color: var(--cta-green);
    cursor: pointer;
}

.turbo-premium-cta--compact:hover::before {
    animation: none !important;
    opacity: 1;
    background: var(--cta-green);
}

.turbo-premium-cta--compact:hover .turbo-premium-cta-header svg {
    animation: none !important;
}

.turbo-premium-cta--compact:hover .turbo-premium-cta-title {
    opacity: 0.7;
}

.turbo-premium-cta--compact:hover .turbo-premium-section {
    opacity: 0.7;
}

.turbo-premium-cta--compact:hover .turbo-premium-btn--primary {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(16, 185, 129, 0.5),
        0 0 40px rgba(16, 185, 129, 0.3);
    animation: premium-button-shake 0.6s ease-in-out;
}

.turbo-premium-cta--compact:hover .turbo-premium-btn--primary svg {
    transform: scale(1.2);
    animation: premium-arrow-slide 1s ease-in-out infinite;
}

.turbo-premium-cta--compact:hover .turbo-premium-btn--primary span::after {
    opacity: 1;
    transform: translateX(0);
}

.turbo-premium-cta--compact:hover .turbo-premium-btn--primary::before {
    animation: premium-ripple-intense 1.5s ease-out infinite;
}

/* ========================================= */
/* HOVER НА КНОПКУ */
/* ========================================= */

.turbo-premium-btn--primary:hover {
    transform: scale(1.12) translateY(-4px) !important;
    box-shadow: 
        0 12px 32px rgba(16, 185, 129, 0.6),
        0 0 60px rgba(16, 185, 129, 0.4) !important;
    background: linear-gradient(135deg, var(--cta-green-light), var(--cta-green)) !important;
    cursor: pointer;
    color: white !important;
}

.turbo-premium-btn--primary:hover span {
    color: white !important;
}

.turbo-premium-btn--primary:hover svg {
    transform: scale(1.3) !important;
    color: white !important;
    stroke: white !important;
}

.turbo-premium-btn--primary:active {
    transform: scale(1.05) translateY(-1px) !important;
    transition: transform 0.1s !important;
    color: white !important;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 768px) {
    .turbo-premium-cta--compact {
        padding: 1.25rem 1rem;
    }

    .turbo-premium-cta-title {
        font-size: 1.125rem;
    }

    .turbo-premium-file-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .turbo-premium-tariffs {
        font-size: 0.85rem;
    }

    .turbo-premium-btn--primary {
        padding: 1rem 1.25rem;
    }

    .turbo-premium-footer {
        align-items: center;
    }

    .turbo-premium-login-link {
        align-self: center;
    }
}

/* ========================================= */
/* DARK THEME */
/* ========================================= */

[data-theme="dark"] .turbo-premium-cta--compact {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 1) 0%,
        rgba(6, 78, 59, 0.3) 50%,
        rgba(15, 23, 42, 1) 100%
    );
}

[data-theme="dark"] .turbo-premium-cta--compact .turbo-premium-cta-title {
    color: white;
}

[data-theme="dark"] .turbo-premium-file-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .turbo-premium-file-text strong {
    color: white;
}

[data-theme="dark"] .turbo-premium-file-text span {
    color: #cbd5e1;
}

[data-theme="dark"] .turbo-premium-price-range {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #cbd5e1;
}

[data-theme="dark"] .turbo-premium-social-proof {
    color: #94a3b8;
}



/* ========================================= */
/* ИЗБРАННОЕ (DLE) */
/* ========================================= */

/* Активное состояние (когда в избранном) */
.full-tool-btn--active {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4) !important;
}

.full-tool-btn--active:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.5) !important;
}

/* Иконка заполненная когда в избранном */
.full-tool-btn--active svg path {
    fill: currentColor;
}


/* ========================================= */
/* МЕТА-БЛОК */
/* ========================================= */

.full-article-meta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--border);
}

/* Автор */
.full-meta-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.full-meta-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.full-avatar-letter {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.full-meta-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.full-meta-author-info a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
	font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}


.full-meta-author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.full-meta-author-name:hover {
    color: var(--primary);
}

.full-meta-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.full-meta-date svg {
    flex-shrink: 0;
}

/* Статистика */
.full-meta-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.full-meta-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.full-meta-stat svg {
    flex-shrink: 0;
    color: var(--text-light);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .full-article-meta-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .full-meta-stats {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }

    .full-meta-stat {
        font-size: 0.85rem;
    }
}

/* DARK THEME */
[data-theme="dark"] .full-article-meta-block {
    background: var(--dark-light);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .full-meta-author-name {
    color: white;
}