.post-rating,
.post-rating * {
  box-sizing: border-box;
}
.post-rating {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--bd-font-sans, sans-serif);
}
.post-rating-stars {
  display: flex;
  gap: 0;
}
.post-rating-star {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.post-rating-star-icon {
  width: 24px;
  height: 24px;
  fill: #fff8e7;
  stroke: #d8b75e;
  stroke-linejoin: round;
  stroke-width: 2.75;
  filter: drop-shadow(0 1px 1px rgb(123 83 12 / 35%));
  transition:
    fill 0.15s ease,
    stroke 0.15s ease,
    transform 0.15s ease;
}
.post-rating-star.is-selected .post-rating-star-icon {
  fill: #efd485;
  stroke: #cda550;
  stroke-width: 2.55;
  transform: scale(1.04);
}
/* Hovering a score previews the usual cumulative rating: every preceding star lights up too. */
.post-rating-star:hover ~ .post-rating-star.is-selected .post-rating-star-icon {
  fill: #fff8e7;
  stroke: #d8b75e;
  stroke-width: 2.75;
  transform: none;
}
.post-rating-star:hover .post-rating-star-icon,
.post-rating-star:has(~ .post-rating-star:hover) .post-rating-star-icon {
  fill: #efd485;
  stroke: #cda550;
  stroke-width: 2.55;
  transform: scale(1.04);
}
.post-rating-average {
  color: var(--bd-text, #3f3f46);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
