
        .news-single-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }

        .news-header-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .back-link {
            color: var(--accent-primary);
            text-decoration: none;
            display: inline-block;
        }

        .back-link:hover {
            color: var(--accent-secondary);
        }

        .admin-actions {
            display: flex;
            gap: 10px;
        }

        .btn-sm {
            padding: 6px 12px;
            font-size: 0.9em;
        }

        .news-single {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 30px;
            backdrop-filter: blur(10px);
        }

        .news-header-image img {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .news-single h1 {
            color: var(--accent-primary);
            margin-bottom: 20px;
            font-size: 2em;
        }

        .news-meta {
            color: var(--text-muted);
            font-size: 0.9em;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
        }

        .status.draft {
            background: rgba(255, 165, 0, 0.2);
            color: #ffa500;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8em;
            font-weight: bold;
        }

        .language {
            background: rgba(0, 255, 255, 0.2);
            color: var(--accent-primary);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8em;
            font-weight: bold;
        }

        .news-content {
            line-height: 1.8;
            font-size: 1.1em;
            color: var(--text-secondary);
        }

        .news-reactions {
            margin: 30px 0;
            padding: 20px;
            background: var(--bg-secondary);
            border-radius: 10px;
            border: 1px solid var(--border-color);
        }

        .reactions-stats {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            font-size: 1.2em;
        }

        .likes-count {
            color: #00ff00;
            font-weight: bold;
        }

        .dislikes-count {
            color: #ff4444;
            font-weight: bold;
        }

        .reactions-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .reaction-btn {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 20px;
            background: var(--bg-card);
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.9em;
        }

        .reaction-btn.icon-reaction {
            padding: 8px 10px;
            min-width: auto;
        }

        .reaction-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .reaction-count {
            background: rgba(0, 0, 0, 0.1);
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 0.8em;
            font-weight: bold;
            min-width: 16px;
            text-align: center;
        }

        /* Цвета для активных реакций */
        .like-btn.active {
            background: rgba(0, 123, 255, 0.2);
            border-color: #007bff;
            color: #007bff;
        }

        .dislike-btn.active {
            background: rgba(220, 53, 69, 0.2);
            border-color: #dc3545;
            color: #dc3545;
        }

        .laugh-btn.active {
            background: rgba(255, 193, 7, 0.2);
            border-color: #ffc107;
            color: #ffc107;
        }

        .sad-btn.active {
            background: rgba(23, 162, 184, 0.2);
            border-color: #17a2b8;
            color: #17a2b8;
        }

        .wow-btn.active {
            background: rgba(111, 66, 193, 0.2);
            border-color: #6f42c1;
            color: #6f42c1;
        }

        .love-btn.active {
            background: rgba(232, 62, 140, 0.2);
            border-color: #e83e8c;
            color: #e83e8c;
        }

        .angry-btn.active {
            background: rgba(253, 126, 20, 0.2);
            border-color: #fd7e14;
            color: #fd7e14;
        }

        .reaction-text {
            font-weight: 500;
        }

        /* Для мобильных устройств */
        @media (max-width: 768px) {
            .reactions-buttons {
                gap: 5px;
            }

            .reaction-btn {
                padding: 6px 10px;
                font-size: 0.85em;
            }

            .reaction-btn.icon-reaction {
                padding: 6px 8px;
            }

            .reaction-text {
                display: none;
            }

            .reaction-btn:not(.icon-reaction) {
                min-width: auto;
                padding: 6px 10px;
            }
        }

        .auth-required {
            text-align: center;
            padding: 15px;
            background: rgba(0, 255, 255, 0.1);
            border-radius: 8px;
            border: 1px solid var(--accent-primary);
        }

        .news-comments {
            margin-top: 40px;
        }

        .news-comments h3 {
            color: var(--accent-primary);
            margin-bottom: 20px;
            font-size: 1.5em;
        }

        .comment-form {
            margin-bottom: 30px;
            padding: 20px;
            background: var(--bg-card);
            border-radius: 10px;
            border: 1px solid var(--border-color);
        }

        .comment-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            resize: vertical;
            font-family: inherit;
        }

        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .comment {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 15px;
            position: relative;
        }

        .comment.pending {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.02) 100%);
            border: 1px solid rgba(255, 193, 7, 0.2);
            border-left: 4px solid #ffc107;
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .comment-author {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
        }

        .comment-date {
            color: var(--text-muted);
            font-size: 0.9em;
        }

        .comment-content {
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .comment-actions {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .comment-reactions {
            display: flex;
            gap: 10px;
        }

        .comment-reaction-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 5px;
            border-radius: 4px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .comment-reaction-btn.active {
            color: var(--accent-primary);
        }

        .comment-reaction-btn.like.active {
            color: #00ff00;
        }

        .comment-reaction-btn.dislike.active {
            color: #ff4444;
        }

        .comment-reply-btn {
            background: none;
            border: none;
            color: var(--accent-primary);
            cursor: pointer;
            font-size: 0.9em;
        }

        .comment-replies {
            margin-left: 30px;
            margin-top: 15px;
            padding-left: 15px;
            border-left: 2px solid var(--border-color);
        }

        .reply-form {
            margin-top: 15px;
            padding: 15px;
            background: var(--bg-secondary);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .reply-comment-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: var(--bg-card);
            color: var(--text-primary);
            resize: vertical;
            font-family: inherit;
            font-size: 0.9em;
            line-height: 1.5;
            min-height: 80px;
            transition: all 0.3s ease;
        }

        .reply-comment-form textarea:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.1);
        }

        .reply-form .form-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .reply-form .btn-sm {
            padding: 8px 16px;
            font-size: 0.85em;
        }

        .no-comments {
            text-align: center;
            padding: 50px 20px;
            color: var(--text-muted);
            font-style: italic;
        }

        .no-comments i {
            font-size: 3em;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .no-comments p {
            margin: 0;
            font-size: 1.1em;
        }

        .comment-status {
            background: #ffc107;
            color: #000;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.8em;
            font-weight: bold;
        }

        /* Стили для оповещений о необходимости входа */
        .auth-required-reactions,
        .auth-required-comments {
            text-align: center;
            padding: 20px;
            background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            margin: 15px 0;
        }

        .auth-message {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .auth-message i {
            font-size: 1.5em;
            color: var(--accent-primary);
        }

        .message-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .message-text {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 1.1em;
        }

        .message-subtext {
            color: var(--text-muted);
            font-size: 0.9em;
            margin: 0;
        }

        .auth-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: var(--accent-primary);
            color: #000;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .auth-btn:hover {
            background: transparent;
            color: var(--accent-primary);
            border-color: var(--accent-primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 255, 255, 0.2);
        }

        /* Для мобильных устройств */
        @media (max-width: 768px) {
            .auth-message {
                flex-direction: column;
                text-align: center;
                gap: 12px;
            }

            .message-content {
                align-items: center;
            }

            .auth-btn {
                padding: 8px 16px;
                font-size: 0.9em;
            }
        }

        /* Добавляем стили для уведомления о модерации */
        .moderation-notice {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 20px;
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
            border: 1px solid rgba(255, 193, 7, 0.3);
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .moderation-notice i {
            font-size: 1.5em;
            color: #ffc107;
        }

        .notice-content {
            flex: 1;
        }

        .notice-content strong {
            color: #ffc107;
            display: block;
            margin-bottom: 5px;
        }

        .notice-content p {
            color: var(--text-muted);
            margin: 0;
            font-size: 0.9em;
        }


        .news-excerpt {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 15px;
            text-align: justify;
        }

        .news-excerpt::after {
            content: "...";
            color: var(--text-muted);
        }

        .news-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .news-header h1 {
            color: var(--accent-primary);
            margin: 0;
            font-size: 2.5em;
        }

        .no-news {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
            font-size: 1.2em;
        }

        .no-news .btn {
            margin-top: 20px;
        }

        .news-list {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .news-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 25px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            display: flex;
            gap: 20px;
            position: relative;
        }

        .news-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .news-image {
            flex: 0 0 200px;
        }

        .news-image img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 8px;
        }

        .news-content {
            flex: 1;
        }

        .news-header-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 10px;
            gap: 15px;
        }

        .news-content h2 {
            margin: 0;
            flex: 1;
        }

        .news-content h2 a {
            color: var(--accent-primary);
            text-decoration: none;
            font-size: 1.4em;
        }

        .news-content h2 a:hover {
            color: var(--accent-secondary);
        }

        .news-admin-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-edit {
            color: var(--accent-primary);
            text-decoration: none;
            padding: 5px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .btn-edit:hover {
            background: rgba(0, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }

        .status-dot.draft {
            background: #ffa500;
        }

        .language-badge {
            background: rgba(0, 255, 255, 0.2);
            color: var(--accent-primary);
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 0.7em;
            font-weight: bold;
            border: 1px solid var(--accent-primary);
        }

        .news-meta {
            color: var(--text-muted);
            font-size: 0.9em;
            margin-bottom: 15px;
        }

        .news-meta span {
            margin-right: 15px;
        }

        .news-excerpt {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .read-more {
            color: var(--accent-primary);
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .read-more:hover {
            color: var(--accent-secondary);
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 40px;
        }

        .pagination a {
            display: inline-block;
            padding: 8px 16px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            color: var(--text-primary);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .pagination a:hover,
        .pagination a.active {
            background: var(--accent-primary);
            color: #000;
            border-color: var(--accent-primary);
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--accent-primary);
            color: #000;
        }

        .btn-warning {
            background: #ffa500;
            color: #000;
        }

        .btn-secondary {
            background: #666;
            color: #fff;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* В разделе стилей добавьте: */
        .comment.level-2 {
            margin-left: 20px;
            background: var(--bg-secondary);
            border-left: 3px solid var(--accent-primary);
        }

        .comment.level-2 .comment-replies {
            margin-left: 15px;
        }

        /* Стили для неактивной кнопки ответа */
        .no-reply {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: var(--text-muted);
            cursor: not-allowed;
            opacity: 0.5;
            font-size: 0.9em;
            padding: 5px 10px;
            background: transparent;
            border: none;
        }

        @media (max-width: 768px) {
            .news-item {
                flex-direction: column;
            }

            .news-image {
                flex: none;
            }

            .news-image img {
                height: 200px;
            }

            .news-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .news-header-row {
                flex-direction: column;
                align-items: flex-start;
            }

            .news-admin-actions {
                align-self: flex-end;
                margin-top: 10px;
            }
        }
