/* listing-reviews.css — prefix: lrv- */

.lrv-section {
    padding: 2rem 0;
    border-top: 1px solid var(--antologa-light-gray);
    width: 100%;
    min-width: 0;
}

.lrv-section--last {
    border-top: none;
}

.lrv-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--antologa-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.75rem;
}

.lrv-summary {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
    align-items: start;
}

.lrv-score {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--antologa-dark);
    line-height: 1;
}

.lrv-denom {
    font-size: 0.875rem;
    color: var(--antologa-gray);
    margin-left: 0.375rem;
    font-weight: 700;
}

.lrv-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.625rem;
}

.lrv-bars > div {
    font-size: 0.6875rem;
    color: var(--antologa-gray);
}

.lrv-bar-track {
    height: 0.1875rem;
    background: var(--antologa-light-gray);
    border-radius: 999rem;
    margin: 0.375rem 0 0.75rem;
    overflow: hidden;
}

.lrv-bar-fill {
    width: var(--lrv-bar-w, 0%);
    display: block;
    height: 100%;
    background: var(--antologa-terciary);
    border-radius: 999rem;
}

.lrv-bar-label {
    font-size: 0.6875rem;
    color: var(--antologa-gray);
}

.lrv-bar-score {
    font-size: 0.6875rem;
    color: var(--antologa-gray);
}

.lrv-review-sub {
    font-size: 0.6875rem;
    color: var(--antologa-gray);
    display: block;
    margin-bottom: 1rem;
}

.lrv-star-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.lrv-star-input {
    display: flex;
}

.lrv-star-btn {
    color: var(--antologa-light-gray) !important;
    padding: 0.2rem !important;
}

.lrv-star-btn--on {
    color: var(--antologa-contrast) !important;
}

.lrv-post-btn {
    height: 2.75rem !important;
    padding: 0 1rem !important;
    border-radius: 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
}

.lrv-review-field {
    width: 100%;
}

.lrv-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.lrv-sort-select {
    max-width: 12rem;
}

.lrv-comment {
    display: flex;
    gap: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(40,40,40,0.08);
    min-width: 0;
}

.lrv-comment:last-of-type {
    border-bottom: none;
}

.lrv-comment-avatar {
    flex-shrink: 0;
    border: 1px solid rgba(40,40,40,0.08);
}

.lrv-comment-body {
    flex: 1;
    min-width: 0;
}

.lrv-comment-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.lrv-comment-stars {
    display: flex;
    gap: 0.2rem;
}

.lrv-comment-star {
    color: var(--antologa-contrast);
}

.lrv-comment-date {
    font-size: 0.6875rem;
    color: var(--antologa-gray);
    display: block;
}

.lrv-comment-text {
    margin: 0.375rem 0 0.5rem;
    font-size: 0.75rem;
    color: var(--antologa-gray);
    line-height: 1.7;
    word-break: break-word;
}

.lrv-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.6875rem;
    color: var(--antologa-gray);
}

.lrv-action-btn {
    color: var(--antologa-primary) !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    padding: 0 !important;
    min-width: unset !important;
}

.lrv-action-btn:hover {
    text-decoration: underline;
}

@media (max-width: 61.25rem) {
    .lrv-summary {
        grid-template-columns: 1fr;
    }

    .lrv-bars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 48rem) {
    .lrv-comment-top {
        flex-direction: column;
        align-items: flex-start;
    }
}
