/* UAESA Smart Review 2.1.11: scoped, additive hover motion and modal avatar. */
.sprw-m3-header > .sprw-uaesa-modal-identity {
  order:0;box-sizing:border-box;display:inline-flex;align-items:center;
  justify-content:center;flex:0 0 48px;width:48px;height:48px;
  max-width:48px;min-width:48px;overflow:hidden;border-radius:50%;
  background:var(--sprw-m3-surface-container,#eff6f4);
  border:1px solid var(--sprw-m3-outline-variant,#c6d8d4);
}
.sprw-m3-header .sprw-uaesa-modal-identity > img.sprw-uaesa-review-avatar {
  box-sizing:border-box;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  display:block;object-fit:cover;object-position:center;
  border-radius:50%;margin:0!important;
}
.sprw-m3-header .sprw-uaesa-modal-identity > img.sprw-uaesa-review-avatar[hidden] {display:none!important;}
.sprw-m3-header .sprw-uaesa-modal-identity > .sprw-uaesa-modal-identity-fallback {
  width:100%;height:100%;align-items:center;justify-content:center;
}
.sprw-m3-header .sprw-uaesa-modal-identity-fallback:not([hidden]) {display:flex;}
.sprw-m3-header .sprw-uaesa-modal-identity-fallback[hidden] {display:none!important;}
.sprw-m3-header .sprw-uaesa-modal-identity img.sprw-uaesa-logo {
  width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;
  border-radius:50%;padding:3px;box-sizing:border-box;
}
.sprw-m3-header .sprw-uaesa-modal-identity-text {
  font:700 11px/1.2 Roboto,Arial,sans-serif;letter-spacing:.4px;
  color:var(--sprw-m3-primary,#008783);
}
@media(max-width:400px){
  .sprw-m3-header > .sprw-uaesa-modal-identity {
    flex-basis:40px;width:40px;height:40px;min-width:40px;max-width:40px;
  }
}
/* Every review modal star provides its own tooltip through the existing guide.
   This overrides only the former version's "icon-only" hover suppression. */
.sprw-m3-modal .sprw-uaesa-rating-icon-only .sprw-m3-stars > button.sprw-m3-rating-star {
  cursor:pointer;transform-origin:50% 60%;
  transition:transform .17s cubic-bezier(.2,.8,.2,1),background-color .17s ease!important;
}
@keyframes sprw-uaesa-star-hover-2111 {
  0% {transform:translateY(0) scale(1);}
  55% {transform:translateY(-4px) scale(1.17);}
  100% {transform:translateY(-2px) scale(1.12);}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .sprw-m3-modal .sprw-uaesa-rating-icon-only .sprw-m3-stars > button.sprw-m3-rating-star:hover:not(:disabled) {
    animation:sprw-uaesa-star-hover-2111 .3s cubic-bezier(.2,.8,.2,1) both!important;
    transform:translateY(-2px) scale(1.12)!important;
    background:rgba(239,136,0,.10)!important;box-shadow:none!important;
  }
}
.sprw-m3-modal .sprw-uaesa-rating-icon-only .sprw-m3-stars > button.sprw-m3-rating-star:focus-visible {
  transform:translateY(-2px) scale(1.1)!important;
  background:rgba(239,136,0,.10)!important;box-shadow:none!important;
}
/* Published review icons: hover/focus each icon, never its entire review card. */
.sprw-reviews .sprw-commentlist li .sprw-right-star-wrap .sprw-star-icon {
  display:inline-block;transform-origin:center;cursor:help;
  transition:transform .18s cubic-bezier(.2,.8,.2,1)!important;
  border-radius:4px;outline-offset:2px;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .sprw-reviews .sprw-commentlist li .sprw-right-star-wrap .sprw-star-icon:hover {
    animation:sprw-uaesa-star-hover-2111 .3s cubic-bezier(.2,.8,.2,1) both!important;
    transform:translateY(-2px) scale(1.12)!important;
  }
}
.sprw-reviews .sprw-commentlist li .sprw-right-star-wrap .sprw-star-icon:focus-visible {
  outline:2px solid var(--sprw-m3-primary,#008783);
  transform:translateY(-2px) scale(1.1)!important;
}
/* Also highlight the specific icon under the pointer in existing summary stars. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .sprw-reviews .sprw-average-rating-star .sprw-star-icon:hover {
    animation:sprw-uaesa-star-hover-2111 .3s cubic-bezier(.2,.8,.2,1) both!important;
    transform:translateY(-2px) scale(1.12)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .sprw-m3-modal .sprw-uaesa-rating-icon-only .sprw-m3-stars > button.sprw-m3-rating-star,
  .sprw-reviews .sprw-commentlist li .sprw-right-star-wrap .sprw-star-icon,
  .sprw-reviews .sprw-average-rating-star .sprw-star-icon {
    animation:none!important;transition:none!important;transform:none!important;
  }
}
