.tn24-engage {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem 1rem;
    background: #f8f9fb;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
}

.tn24-engage__title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
}

.tn24-engage__reactions {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e6ea;
}

.tn24-engage__reaction-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tn24-engage__react {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.35rem 0.75rem;
    border: 1px solid #d0d7de;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.tn24-engage__react:hover {
    border-color: #b42318;
    transform: translateY(-1px);
}

.tn24-engage__react.is-active {
    border-color: #b42318;
    background: #fff5f5;
    box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.15);
}

.tn24-engage__react-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.tn24-engage__react-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.tn24-engage__login-hint,
.tn24-engage__guest {
    margin: 0.75rem 0 0;
    font-size: 0.92rem;
    color: #555;
}

.tn24-engage__login-hint a,
.tn24-engage__guest a {
    color: #b42318;
    font-weight: 600;
}

.tn24-engage__comments-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tn24-engage__comments-count {
    font-weight: 500;
    color: #666;
}

.tn24-engage__policy {
    font-size: 0.85rem;
    color: #666;
}

.tn24-engage__form {
    margin-bottom: 1rem;
}

.tn24-engage__form-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tn24-engage__form-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.tn24-engage__form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #ccd3da;
    border-radius: 6px;
    resize: vertical;
    font: inherit;
}

.tn24-engage__form-actions {
    margin-top: 0.5rem;
}

.tn24-engage__submit {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.4rem 1rem;
    border: 0;
    border-radius: 6px;
    background: #b42318;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.tn24-engage__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.tn24-engage__form-msg {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.tn24-engage__form-msg.is-error {
    color: #b42318;
}

.tn24-engage__form-msg.is-success {
    color: #0f7b4a;
}

.tn24-engage__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tn24-engage__item {
    display: flex;
    gap: 0.65rem;
}

.tn24-engage__item--reply {
    margin-left: 2.5rem;
}

.tn24-engage__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.tn24-engage__item-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    margin-bottom: 0.25rem;
}

.tn24-engage__item-head time {
    font-size: 0.82rem;
    color: #777;
}

.tn24-engage__item-text {
    margin: 0;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.tn24-engage__reply-btn {
    margin-top: 0.35rem;
    padding: 0;
    border: 0;
    background: none;
    color: #b42318;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.tn24-engage__replies {
    margin-top: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tn24-engage__empty {
    margin: 0;
    color: #666;
    font-style: italic;
}

@media (max-width: 575px) {
    .tn24-engage {
        padding: 1rem 0.75rem;
    }

    .tn24-engage__item--reply {
        margin-left: 1.25rem;
    }
}
