.trp-rating {
    box-sizing: border-box;
    width: 100%;
    margin: 24px 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    color: #19283d;
    font-family: Arial, Helvetica, sans-serif;
}

.trp-rating h3 {
    margin: 0 0 16px;
    font-size: 19px;
    line-height: 1.4;
}

.trp-rating-stars {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: min(100%, 460px);
    margin-bottom: 14px;
}

.trp-rating-stars button {
    border: 0;
    background: transparent;
    color: #b5bfcc;
    font-size: clamp(42px, 13vw, 72px);
    line-height: 1;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    cursor: pointer;
    padding: 5px 0;
    transition: color .15s ease;
}

.trp-star-glyph {
    display: inline-block;
    position: relative;
    color: #b5bfcc;
    line-height: 1;
}

.trp-star-glyph::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--trp-fill, 0%);
    overflow: hidden;
    white-space: nowrap;
    color: #e2a322;
}

.trp-rating-stars button:disabled {
    cursor: default;
}

.trp-rating-stars button:focus-visible {
    outline: 2px solid #173d73;
    border-radius: 5px;
}

.trp-rating-stats {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 17px;
}

.trp-rating-submit {
    border: 0;
    border-radius: 10px;
    background: #173d73;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 20px;
    min-height: 44px;
    cursor: pointer;
}

.trp-rating-submit:disabled {
    opacity: .45;
    cursor: default;
}

.trp-rating-message {
    margin: 14px 0 0;
    color: #53647a;
    font-size: 14px;
    line-height: 1.5;
}


/* TRP DESKTOP STAR SIZE FIX */
@media (min-width: 768px) {
    body:not(.trp-app-body) .trp-rating .trp-rating-stars button {
        font-size: 72px !important;
        line-height: 1 !important;
        min-height: 82px;
    }

    body:not(.trp-app-body) .trp-rating .trp-rating-stars .trp-star-glyph,
    body:not(.trp-app-body) .trp-rating .trp-rating-stars .trp-star-glyph::before {
        font-size: 72px !important;
        line-height: 1 !important;
        font-family: Arial, sans-serif !important;
    }
}


/* TRP MOBILE BROWSER STAR SIZE FIX */
@media (max-width: 767px) {
    body:not(.trp-app-body) .trp-rating .trp-rating-stars {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        width: min(100%, 380px) !important;
        gap: 4px !important;
        margin-left: auto;
        margin-right: auto;
    }

    body:not(.trp-app-body) .trp-rating .trp-rating-stars button {
        font-size: clamp(42px, 13vw, 60px) !important;
        line-height: 1 !important;
        min-height: 70px !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    body:not(.trp-app-body) .trp-rating .trp-rating-stars .trp-star-glyph,
    body:not(.trp-app-body) .trp-rating .trp-rating-stars .trp-star-glyph::before {
        font-size: inherit !important;
        font-family: Arial, sans-serif !important;
        line-height: 1 !important;
        letter-spacing: normal !important;
    }
}
