.nttt-ar-box {
    margin: 32px 0 24px;
    padding: 22px 24px;
    border: 1px solid #e2e7ec;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.nttt-ar-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.35;
}

.nttt-ar-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.nttt-ar-average-stars {
    --nttt-ar-percent: 0%;
    position: relative;
    display: inline-block;
    font-size: 23px;
    line-height: 1;
    letter-spacing: 2px;
}

.nttt-ar-average-stars::before,
.nttt-ar-average-stars::after {
    content: "★★★★★";
}

.nttt-ar-average-stars::before {
    color: #d8dde3;
}

.nttt-ar-average-stars::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--nttt-ar-percent);
    overflow: hidden;
    color: #f5a623;
    white-space: nowrap;
}

.nttt-ar-summary-text {
    font-size: 15px;
}

.nttt-ar-question {
    margin: 0 0 8px;
}

.nttt-ar-vote {
    display: inline-flex;
    flex-direction: row;
    gap: 3px;
}

.nttt-ar-star {
    appearance: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #c6ccd3;
    font: inherit;
    font-size: 34px;
    line-height: 44px;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease, background-color .15s ease;
}

.nttt-ar-star:hover,
.nttt-ar-star:focus-visible {
    outline: none;
    background: #fff7e8;
    transform: translateY(-1px);
}

.nttt-ar-star.is-active {
    color: #f5a623;
}

.nttt-ar-star:disabled {
    cursor: wait;
    opacity: .7;
}

.nttt-ar-status,
.nttt-ar-noscript {
    min-height: 22px;
    margin: 10px 0 0;
    font-size: 14px;
}

.nttt-ar-box.is-submitting {
    opacity: .85;
}

@media (max-width: 600px) {
    .nttt-ar-box {
        margin: 24px 0 18px;
        padding: 18px 14px;
    }

    .nttt-ar-title {
        font-size: 20px;
    }

    .nttt-ar-star {
        width: 40px;
        height: 42px;
        font-size: 31px;
        line-height: 42px;
    }
}
