.amvc-comment-rating{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:5px 9px;
  margin-top:14px;
  padding:10px 16px;
  border-radius:999px;
  background:#42d49e;
  color:#fff;
  box-shadow:0 14px 32px rgba(0,0,0,.22);
  max-width:100%;
}
.amvc-comment-rating *{ box-sizing:border-box; }
.amvc-comment-rating__stars{
  display:inline-flex;
  align-items:center;
  gap:1px;
  line-height:1;
}
.amvc-star-button{
  appearance:none;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.52);
  width:20px;
  height:22px;
  display:inline-grid;
  place-items:center;
  padding:0;
  margin:0;
  font-size:19px;
  line-height:1;
  cursor:pointer;
  transition:color .15s ease, transform .15s ease;
}
.amvc-star-button:hover,
.amvc-star-button:focus-visible,
.amvc-star-button.is-active{
  color:#fff;
}
.amvc-star-button:hover,
.amvc-star-button:focus-visible{
  transform:translateY(-1px) scale(1.06);
  outline:none;
}
.amvc-star-button:disabled{
  cursor:default;
  transform:none;
  opacity:1;
}
.amvc-rating-meta{
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  white-space:nowrap;
}
.amvc-rating-message{
  flex:1 0 100%;
  color:rgba(255,255,255,.9);
  font-size:10px;
  font-weight:800;
  text-align:center;
  line-height:1.2;
}

/* Integración con Astra Web 2 Child */
body.aw2-theme .aw2-comment-card{
  padding-bottom:58px;
}
body.aw2-theme .aw2-comment-card .amvc-comment-rating{
  position:absolute;
  right:22px;
  bottom:-19px;
  min-width:210px;
  margin-top:0;
  z-index:2;
}
body.aw2-theme .aw2-comment-list{
  gap:34px;
}
body.aw2-theme .aw2-comment-card__foot{
  padding-right:230px;
}
body.aw2-theme .aw2-comment-card__content + .amvc-comment-rating{
  margin-top:0;
}

@media (max-width: 640px){
  .amvc-comment-rating{
    width:100%;
    border-radius:18px;
    padding:10px 12px;
  }
  .amvc-rating-meta{
    font-size:11px;
  }
  body.aw2-theme .aw2-comment-card{
    padding-bottom:22px;
  }
  body.aw2-theme .aw2-comment-card .amvc-comment-rating{
    position:static;
    right:auto;
    bottom:auto;
    min-width:0;
    width:100%;
    margin-top:16px;
  }
  body.aw2-theme .aw2-comment-card__foot{
    padding-right:0;
  }
  body.aw2-theme .aw2-comment-list{
    gap:20px;
  }
}
