.comments-area.custom-comments-section{
    background:linear-gradient(180deg, #eef6ff 0%, #e9f3ff 100%);
    border:1px solid rgba(125, 164, 203, 0.20);
    border-radius:30px;
    padding:34px;
    box-shadow:0 18px 45px rgba(15,23,42,.05);
    overflow:hidden;
}

body.dark-mode .comments-area.custom-comments-section{
    background:linear-gradient(180deg, rgba(17,24,39,.92) 0%, rgba(12,18,30,.96) 100%);
    border-color:rgba(255,255,255,.06);
    box-shadow:0 20px 50px rgba(0,0,0,.28);
}

.comments-headline-wrap{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
    padding-bottom:18px;
    border-bottom:1px solid rgba(148,163,184,.16);
}

.comments-main-title{
    margin:0 0 8px 0;
    color:var(--text-matrix);
    font-weight:900;
}

.comments-subtitle{
    margin:0;
    color:var(--text-muted);
    line-height:1.8;
}

.comments-stats-badge{
    min-width:88px;
    height:88px;
    border-radius:24px;
    background:linear-gradient(135deg, rgba(16,185,129,.14), rgba(14,165,233,.14));
    border:1px solid rgba(16,185,129,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    font-weight:900;
    color:var(--text-matrix);
    flex-shrink:0;
}

.comments-stats-badge span{
    font-size:.8rem;
    color:var(--text-muted);
    font-weight:700;
}

.comments-list-shell{
    margin-bottom:26px;
}

.commentlist{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.sl-comment-item{
    list-style:none;
    margin:0;
    padding:0;
}

.comment-body-inner{
    background:linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    border:1px solid rgba(148,163,184,.16);
    border-radius:22px;
    padding:20px 22px 18px;
    transition:.2s ease;
    box-shadow:0 8px 22px rgba(15,23,42,.03);
}

body.dark-mode .comment-body-inner{
    background:linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.015));
    border-color:rgba(255,255,255,.06);
    box-shadow:none;
}

.comment-body-inner:hover{
    border-color:rgba(16,185,129,.22);
    box-shadow:0 14px 28px rgba(15,23,42,.05);
}

.comment-body-inner.is-reply-comment{
    background:linear-gradient(180deg, #f4fbff 0%, #eef7ff 100%);
    border-color:rgba(14,165,233,.18);
}

body.dark-mode .comment-body-inner.is-reply-comment{
    background:linear-gradient(180deg, rgba(14,165,233,.06), rgba(14,165,233,.03));
    border-color:rgba(14,165,233,.16);
}

.comment-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:12px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(148,163,184,.14);
}

.comment-author-side{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    flex-wrap:wrap;
}

.author-name{
    margin:0;
    color:#0f766e;
    font-weight:900;
    font-size:1.08rem;
    line-height:1.4;
}

body.dark-mode .author-name{
    color:#34d399;
}

.comment-reply-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:4px 10px;
    border-radius:999px;
    background:rgba(14,165,233,.1);
    color:#0284c7;
    font-size:.75rem;
    font-weight:800;
}

.comment-date{
    color:var(--text-muted);
    font-weight:700;
    font-size:.88rem;
    white-space:nowrap;
    flex-shrink:0;
}

.comment-replying-to{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:12px;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(14,165,233,.08);
    color:#0369a1;
    font-size:.82rem;
    font-weight:800;
    max-width:100%;
    flex-wrap:wrap;
}

.comment-replying-to span{
    color:#0f766e;
}

body.dark-mode .comment-replying-to{
    background:rgba(14,165,233,.12);
    color:#7dd3fc;
}

body.dark-mode .comment-replying-to span{
    color:#34d399;
}

.comment-text{
    color:var(--text-matrix);
    font-size:1.08rem;
    line-height:2;
    font-weight:500;
}

.comment-text p{
    margin:0 0 1rem 0;
}

.comment-text p:last-child{
    margin-bottom:0;
}

.comment-awaiting-moderation{
    margin:0 0 14px 0;
    padding:10px 14px;
    border-radius:14px;
    background:rgba(245,158,11,.1);
    color:#b45309;
    font-weight:700;
    font-size:.95rem;
    line-height:1.8;
}

.comment-actions{
    margin-top:16px;
    display:flex;
    justify-content:flex-start;
}

.reply-link-wrap a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 16px;
    border-radius:12px;
    background:#f3f8ff;
    border:1px solid rgba(148,163,184,.18);
    color:var(--text-matrix);
    font-weight:800;
    font-size:.92rem;
    transition:.2s ease;
}

body.dark-mode .reply-link-wrap a{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}

.reply-link-wrap a:hover{
    background:var(--accent-matrix);
    border-color:var(--accent-matrix);
    color:#fff;
}

.children{
    list-style:none;
    margin:14px 0 0 0;
    padding-right:24px;
    display:flex;
    flex-direction:column;
    gap:14px;
    position:relative;
}

.children::before{
    content:"";
    position:absolute;
    top:2px;
    right:8px;
    bottom:8px;
    width:3px;
    border-radius:999px;
    background:linear-gradient(180deg, rgba(16,185,129,.28), rgba(14,165,233,.08));
}

.comments-empty-state{
    margin-bottom:18px;
}

.compact-empty-state{
    padding:10px 14px;
    border-radius:14px;
    background:rgba(255,255,255,.7);
    border:1px dashed rgba(148,163,184,.24);
}

body.dark-mode .compact-empty-state{
    background:rgba(255,255,255,.03);
    border-color:rgba(255,255,255,.08);
}

.compact-empty-state p{
    margin:0;
    color:var(--text-muted);
    font-size:.95rem;
    font-weight:700;
    line-height:1.7;
}

.comment-form-box{
    margin-top:10px;
    padding-top:22px;
    border-top:1px solid rgba(148,163,184,.16);
}

.comment-form-note{
    margin:0 0 18px 0;
    color:#516173;
    font-weight:700;
}

body.dark-mode .comment-form-note{
    color:var(--text-muted);
}

.modern-comment-form .form-row{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:14px;
    margin-bottom:14px;
}

.modern-comment-form .form-group{
    min-width:0;
}

.modern-comment-form input,
.modern-comment-form textarea{
    width:100%;
    max-width:100%;
    border:1px solid rgba(120, 150, 185, 0.30);
    background:#ffffff;
    color:#0f172a;
    border-radius:18px;
    padding:16px 18px;
    transition:.2s ease;
    box-shadow:0 1px 0 rgba(255,255,255,.6) inset;
}

body.dark-mode .modern-comment-form input,
body.dark-mode .modern-comment-form textarea{
    background:rgba(255,255,255,.03);
    border-color:rgba(255,255,255,.07);
    color:var(--text-matrix);
    box-shadow:none;
}

.modern-comment-form input::placeholder,
.modern-comment-form textarea::placeholder{
    color:#64748b;
    opacity:1;
}

body.dark-mode .modern-comment-form input::placeholder,
body.dark-mode .modern-comment-form textarea::placeholder{
    color:#94a3b8;
}

.modern-comment-form textarea{
    min-height:150px;
    resize:vertical;
    background:#ffffff;
}

.modern-comment-form input:focus,
.modern-comment-form textarea:focus{
    border-color:rgba(16,185,129,.45);
    box-shadow:0 0 0 4px rgba(16,185,129,.08);
    background:#ffffff;
    outline:none;
}

body.dark-mode .modern-comment-form input:focus,
body.dark-mode .modern-comment-form textarea:focus{
    background:rgba(255,255,255,.04);
}

.submit-btn{
    width:100%;
    border:none;
    border-radius:18px;
    padding:16px 20px;
    background:linear-gradient(135deg, var(--accent-matrix), #0ea5e9);
    color:#fff;
    cursor:pointer;
    box-shadow:0 16px 28px rgba(16,185,129,.2);
}

.submit-btn:hover{
    transform:translateY(-1px);
}

.comment-navigation .nav-links,
.comments-pagination .nav-links{
    display:flex;
    gap:10px;
    margin-top:18px;
    flex-wrap:wrap;
}

.comment-navigation a,
.comments-pagination a,
.comment-navigation .page-numbers,
.comments-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:42px;
    padding:0 14px;
    border-radius:14px;
    background:#f3f8ff;
    border:1px solid rgba(148,163,184,.18);
    font-weight:800;
}

body.dark-mode .comment-navigation a,
body.dark-mode .comments-pagination a,
body.dark-mode .comment-navigation .page-numbers,
body.dark-mode .comments-pagination .page-numbers{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}

.comment-navigation .current,
.comments-pagination .current{
    background:var(--accent-matrix);
    color:#fff;
    border-color:var(--accent-matrix);
}

@media (max-width: 992px){
    .comments-area.custom-comments-section{
        border-radius:18px;
        padding:20px 12px;
        margin:0 8px;
    }

    .comments-headline-wrap{
        flex-direction:column;
        align-items:stretch;
        margin-bottom:18px;
        padding-bottom:16px;
    }

    .comments-stats-badge{
        width:100%;
        height:auto;
        min-width:0;
        padding:14px;
        border-radius:18px;
        flex-direction:row;
        gap:10px;
        justify-content:flex-start;
    }

    .comment-body-inner{
        padding:16px 14px 15px;
        border-radius:18px;
    }

    .comment-header{
        align-items:flex-start;
        gap:10px;
    }

    .author-name{
        font-size:1rem;
    }

    .comment-date{
        font-size:.82rem;
    }

    .comment-text{
        font-size:1rem;
        line-height:1.95;
    }

    .comment-replying-to{
        font-size:.78rem;
        line-height:1.7;
        padding:6px 10px;
    }

    .modern-comment-form .form-row{
        grid-template-columns:1fr;
    }

    .modern-comment-form input,
    .modern-comment-form textarea{
        border-radius:16px;
        padding:15px 16px;
    }

    .children{
        padding-right:14px;
    }

    .children::before{
        right:4px;
        width:2px;
    }
}