/* ClubOS 6.9.1 — historique des modifications de commentaires. */
.blog-comment-history-dialog {
    width: min(680px, calc(100vw - 32px));
    max-height: min(82vh, 780px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #111827);
    box-shadow: 0 28px 80px rgba(2, 6, 23, .38);
    overflow: hidden;
}
.blog-comment-history-dialog::backdrop {
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(2px);
}
.blog-comment-history-shell {
    display: flex;
    flex-direction: column;
    max-height: min(82vh, 780px);
}
.blog-comment-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--bs-border-color, #d9dee7);
}
.blog-comment-history-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 750;
}
.blog-comment-history-close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(127, 127, 127, .14);
    color: inherit;
    font-size: 1.35rem;
    line-height: 1;
}
.blog-comment-history-close:hover,
.blog-comment-history-close:focus-visible {
    background: rgba(127, 127, 127, .24);
    outline: 2px solid rgba(37, 99, 235, .35);
    outline-offset: 2px;
}
.blog-comment-history-body {
    overflow: auto;
    padding: 1rem 1.1rem .6rem;
}
.blog-comment-history-state {
    padding: 1.5rem .5rem;
    color: var(--bs-secondary-color, #64748b);
    text-align: center;
}
.blog-comment-history-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .65rem;
    margin-bottom: .9rem;
}
.blog-comment-history-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 750;
}
.blog-comment-history-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-comment-history-bubble {
    min-width: 0;
    padding: .65rem .78rem;
    border-radius: 17px;
    background: #f0f2f5;
}
.blog-comment-history-author {
    display: block;
    margin-bottom: .15rem;
    font-weight: 750;
}
.blog-comment-history-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.38;
}
.blog-comment-history-text.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}
.blog-comment-history-more {
    margin-top: .2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 750;
}
.blog-comment-history-more:hover,
.blog-comment-history-more:focus-visible {
    text-decoration: underline;
}
.blog-comment-history-date {
    display: block;
    margin-top: .25rem;
    color: var(--bs-secondary-color, #64748b);
    font-size: .78rem;
}
.blog-comment-history-current {
    margin-left: .4rem;
    color: var(--bs-primary, #2563eb);
    font-weight: 700;
}
.blog-comment-history-footer {
    padding: .75rem 1.1rem 1rem;
    border-top: 1px solid var(--bs-border-color, #d9dee7);
    color: var(--bs-secondary-color, #64748b);
    font-size: .8rem;
    font-weight: 600;
}
:root[data-theme="dark"] .blog-comment-history-bubble {
    background: #263246;
}
@media (max-width: 575.98px) {
    .blog-comment-history-dialog {
        width: calc(100vw - 16px);
        max-height: 90vh;
        border-radius: 14px;
    }
    .blog-comment-history-shell { max-height: 90vh; }
    .blog-comment-history-body { padding-inline: .75rem; }
}
