academy-tutor-rating { --star-size:clamp(40px, 3.5vw, 44px); display:inline-flex; color:var(--cat-wine, #59132b); }
@media(max-width:600px) {
  .cat-footer-actions > academy-tutor-rating { --star-size:clamp(24px,6vw,28px); }
  .cat-footer-actions .rating-stars button { min-height:44px; }
}
.is-previewing .rating-read-star > span { visibility:hidden; }
.rating-stars { display: inline-flex; align-items: center; }
.rating-stars button, .rating-read-star {
  display: inline-grid; place-items: center; width: var(--star-size); height: var(--star-size);
  border: 0; padding: 0; background: transparent; color: inherit;
}
.rating-stars button { cursor: pointer; border-radius: 6px; }
.rating-stars svg { width: var(--star-size); height: var(--star-size); fill: transparent; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.rating-stars button svg { transition: transform .17s ease-out, fill .14s ease; transform: translateY(calc(-1 * var(--peek, 0px))); }
.rating-stars .is-preview svg,
.rating-read-star > span svg { fill: currentColor; }
.rating-stars button:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.rating-read-star { position: relative; width: var(--star-size); height: var(--star-size); }
.rating-read-star > span { position: absolute; left: 0; top: 0; height: var(--star-size); overflow: hidden; }
.rating-stars .is-committed svg { animation: tutor-rating-pop .25s ease-out; }
@keyframes tutor-rating-pop { 50% { transform: translateY(-4px) scale(1.18); } }
.rating-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (prefers-reduced-motion: reduce) {
  .rating-stars button svg { transition: none; animation: none; transform: none; }
  .rating-stars .is-committed svg { animation: none; }
}
