.post-ratings {
    padding: 20px 24px;
    border: 1px solid var(--color-border, #ddd);
    border-radius: var(--radius, 8px);
    background: #fff;
    text-align: center;
}

.post-ratings__summary {
    color: var(--color-text-muted, #666);
    margin-bottom: 6px;
}

.post-ratings__average {
    color: var(--color-dark, #222);
    font-size: 1.6rem;
}

.post-ratings__count,
.post-ratings__message {
    font-size: .82rem;
}

.post-ratings__input {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.post-ratings__star {
    appearance: none;
    padding: 2px;
    border: 0;
    background: transparent;
    color: var(--color-border, #ddd);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.post-ratings__star:hover,
.post-ratings__star:focus-visible,
.post-ratings__star.is-selected {
    color: var(--color-accent, #f2b134);
}

.post-ratings__star:hover,
.post-ratings__star:focus-visible {
    transform: scale(1.12);
    outline: none;
}

.post-ratings__star:disabled {
    cursor: wait;
    opacity: .65;
}

.post-ratings__message {
    min-height: 1.4em;
    margin: 8px 0 0;
    color: var(--color-text-muted, #666);
}

.post-ratings-summary {
    color: var(--color-accent, #c88b00);
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.post-ratings-summary small {
    color: var(--color-text-muted, #666);
    font-weight: 400;
}

.post-ratings-summary--empty {
    color: var(--color-text-muted, #777);
    font-weight: 400;
}

