
#ai-community-comments {
    width: 100%;
    box-sizing: border-box;
    margin-top: 28px;
    padding: 26px;
    border: 1px solid #2d4057;
    border-radius: 18px;
    background: #0d1724;
    color: #edf3fa;
}

.ai-comments-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid #293b50;
    font-size: 22px;
    font-weight: 900;
}

.ai-comments-title span {
    color: #ff575e;
}

.ai-comment-form {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid #30475f;
    border-radius: 14px;
    background: #111e2d;
}

.ai-comment-form-top,
.ai-comment-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ai-comment-form-top {
    margin-bottom: 10px;
}

.ai-comment-form-top strong {
    font-size: 14px;
}

.ai-comment-length {
    color: #7f91a7;
    font-size: 12px;
}

.ai-comment-form textarea {
    display: block;
    width: 100%;
    min-height: 100px;
    box-sizing: border-box;
    padding: 13px;
    border: 1px solid #354d67;
    border-radius: 11px;
    outline: none;
    resize: vertical;
    background: #09131f;
    color: #edf4fb;
    font: inherit;
    font-size: 14px;
    line-height: 1.6;
}

.ai-comment-form textarea:focus {
    border-color: #ff575e;
}

.ai-comment-form-bottom {
    margin-top: 11px;
}

.ai-comment-message {
    color: #ff747a;
    font-size: 12px;
}

.ai-comment-submit {
    min-width: 100px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: #ff5058;
    color: #fff;
    font-weight: 900;
}

.ai-comment-submit:disabled {
    cursor: wait;
    opacity: .55;
}

.ai-comment-login,
.ai-comment-empty,
.ai-comment-loading,
.ai-comment-error {
    padding: 22px;
    border: 1px dashed #344a61;
    border-radius: 12px;
    color: #8395aa;
    text-align: center;
}

.ai-comment-error {
    color: #ff747a;
}

.ai-comment-item {
    padding: 19px 2px;
    border-bottom: 1px solid #27394d;
}

.ai-comment-item:last-child {
    border-bottom: 0;
}

.ai-comment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ai-comment-author {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.ai-comment-author strong {
    color: #f4f8fc;
    font-size: 14px;
}

.ai-comment-author time {
    color: #73869d;
    font-size: 12px;
}

.ai-comment-actions {
    display: flex;
    gap: 4px;
}

.ai-comment-action {
    padding: 4px 7px;
    border: 0;
    cursor: pointer;
    background: transparent;
    color: #8496ac;
    font-size: 12px;
}

.ai-comment-action:hover {
    color: #f1f5fa;
}

.ai-comment-delete:hover {
    color: #ff747a;
}

.ai-comment-content {
    color: #ced9e5;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    #ai-community-comments {
        margin-top: 20px;
        padding: 17px 13px;
        border-radius: 14px;
    }

    .ai-comments-title {
        font-size: 19px;
    }

    .ai-comment-form {
        padding: 13px;
    }

    .ai-comment-form textarea {
        min-height: 90px;
    }

    .ai-comment-submit {
        min-width: 85px;
        padding: 0 12px;
    }

    .ai-comment-head {
        gap: 6px;
    }
}
