/* One organization-controlled palette for every client-facing rating star. */
html body .client-sidebar .header-rating,
html body .site-content .profile-page .profile-rating-stars,
html body .rating-star-icon,
html body .site-content .service-card__rating > span,
html body .site-content .marketplace .market-card__rating > span,
html body .site-content .marketplace .market-detail__social-proof a > span,
html body .site-content .order-review-state > span,
html body .appointment-review-platforms .rating-star-icon {
    color: var(--site-rating-star) !important;
}

html body .site-content .service-public-review__stars > span,
html body .site-content .service-history-review-stars > span,
html body .site-content .marketplace .market-review-stars > span,
html body .appointment-review-rating label,
html body .site-content .service-history-rating label,
html body .site-content .order-review-rating label,
html body .site-content .marketplace .market-detail__no-reviews b,
html body .site-content .marketplace .market-review-empty > span {
    color: color-mix(in srgb, var(--site-rating-star) 35%, var(--site-muted-text)) !important;
}

html body .site-content .service-public-review__stars > .is-active,
html body .site-content .service-history-review-stars > .is-active,
html body .site-content .marketplace .market-review-stars > .is-active,
html body .appointment-review-rating label:hover,
html body .appointment-review-rating label:hover ~ label,
html body .appointment-review-rating input:checked ~ label,
html body .site-content .service-history-rating label:hover,
html body .site-content .service-history-rating label:hover ~ label,
html body .site-content .service-history-rating input:checked ~ label,
html body .site-content .order-review-rating label:hover,
html body .site-content .order-review-rating label:hover ~ label,
html body .site-content .order-review-rating input:checked ~ label {
    color: var(--site-rating-star) !important;
    opacity: 1;
}

body[data-rating-icon="custom"] .custom-rating-icon {
    display: inline-block;
    width: .96em;
    height: .96em;
    flex: 0 0 .96em;
    vertical-align: -.1em;
    background-color: currentColor;
    -webkit-mask-image: var(--site-rating-icon);
    mask-image: var(--site-rating-icon);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body[data-rating-icon="custom"] .custom-rating-icon--empty {
    opacity: .35;
}
