/* ── Post Rating Widget ── */
@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@400;600;700;800&family=Rubik:wght@400&display=swap');

.pr-widget {
    --pr-bg: #ffffff;
    --pr-text: #000000;
    --pr-radius: 20px;
    font-family: 'Catamaran', sans-serif;
    background: var(--pr-bg);
    margin: 0 auto 1.25rem;
    text-align: center;
}

.pr-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pr-text);
    margin: 0 0 10px;
}

.pr-subtitle {
    font-size: 1.125rem;
    color: var(--pr-text);
    margin: 0 0 24px;
    font-family: 'Rubik', sans-serif;
}

/* ── Faces ── */
.pr-faces {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pr-face {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform .18s ease;
}

.pr-face:focus-visible {
    border-radius: 50%;
}

.pr-face:disabled {
    cursor: default;
}

/* ── Imagem SVG ── */
.pr-face-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    transition:
        transform .2s cubic-bezier(.34, 1.56, .64, 1),
        filter .2s;
    user-select: none;
    -webkit-user-drag: none;
    opacity: 0.5;
}

.pr-face:not(:disabled):hover .pr-face-img {
    opacity: 1;
}

.pr-face--active .pr-face-img {
    opacity: 1;
}

.pr-face:not(.pr-face--active):disabled .pr-face-img {
    filter: grayscale(1);
}

.pr-label {
    font-size: .82rem;
    list-style: 1.2;
    font-weight: 400;
    color: var(--pr-text);
    transition: color .2s;
}

/* ── Feedback ── */
.pr-thanks {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--pr-text);
    padding: 15px 0 71px;
}

@media (max-width: 480px) {

    .pr-face-img {
        width: 24px;
        height: 24px;
    }

    .pr-faces {
        gap: 15px;
    }

    .pr-subtitle {
        font-size: 1rem;
        line-height: 1.2;
    }
}
