.article-comments {
    box-sizing: border-box;
    margin: 24px 0;
    padding: 26px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 10px 28px rgba(30, 41, 59, .06);
}

.article-comments *,
.article-comments *::before,
.article-comments *::after {
    box-sizing: border-box;
}

.article-comments-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f5;
}

.article-comments-heading h2 {
    margin: 3px 0 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.35;
}

.article-comments-heading h2 span {
    display: inline-flex;
    min-width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 13px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
}

.article-comments-heading p,
.article-comment-login p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.article-comments-kicker {
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.article-comment-form,
.article-comment-login {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    background: #f8fafc;
}

.article-comment-identity {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 13px;
}

.article-comment-identity strong {
    color: #334155;
}

.article-comment-form textarea {
    display: block;
    width: 100%;
    min-height: 112px;
    resize: vertical;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: #172033;
    font: inherit;
    line-height: 1.7;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.article-comment-form textarea:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}

.article-comment-form-footer,
.article-comment-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.article-comment-form-footer {
    margin-top: 12px;
}

.article-comment-form-footer span {
    color: #94a3b8;
    font-size: 12px;
}

.article-comment-form button,
.article-comment-login button,
.article-comments-more {
    min-height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #4f46e5;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, opacity .2s ease;
}

.article-comment-form button:hover,
.article-comment-login button:hover,
.article-comments-more:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.article-comment-form button:disabled,
.article-comments-more:disabled {
    cursor: wait;
    opacity: .58;
    transform: none;
}

.article-comment-feedback {
    min-height: 20px;
    margin: 8px 0 -6px;
    color: #dc2626;
    font-size: 13px;
}

.article-comment-feedback.is-success {
    color: #059669;
}

.article-comments-list {
    margin-top: 8px;
}

.article-comment-item {
    display: flex;
    gap: 13px;
    padding: 20px 0;
    border-bottom: 1px solid #edf0f5;
}

.article-comment-avatar {
    display: flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #eef2ff, #ddd6fe);
    color: #4f46e5;
    font-size: 14px;
    font-weight: 800;
}

.article-comment-main {
    min-width: 0;
    flex: 1;
}

.article-comment-main header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.article-comment-main strong {
    overflow-wrap: anywhere;
    color: #25324a;
    font-size: 14px;
}

.article-comment-main time {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 12px;
}

.article-comment-content {
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.article-comments-empty {
    margin: 20px 0 0;
    padding: 26px 16px;
    border-radius: 10px;
    background: #f8fafc;
    color: #94a3b8;
    text-align: center;
}

.article-comments-more {
    display: block;
    margin: 18px auto 0;
    border: 1px solid #d8deea;
    background: #fff;
    color: #475569;
}

.article-comments-more:hover {
    border-color: #a5b4fc;
    background: #eef2ff;
    color: #4338ca;
}

.article-comments-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .article-comments {
        margin: 18px 0;
        padding: 19px 16px;
        border-radius: 10px;
    }

    .article-comments-heading,
    .article-comment-login {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-comments-heading p {
        display: none;
    }

    .article-comment-form {
        padding: 14px;
    }

    .article-comment-form-footer {
        align-items: flex-end;
    }

    .article-comment-main header {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
}
