/* StreetTasker stage M9: the rating badge (js/rating-badge.js). Tokens only. Link this file on any page that shows a badge. */
.rating-badge { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-xs); font-weight: 700; line-height: 1; color: var(--color-text); white-space: nowrap; vertical-align: middle; }
.rating-badge-star { color: var(--color-warning); font-size: var(--text-sm); line-height: 1; }
.rating-badge-count { font-weight: 500; color: var(--color-text-muted); }
[data-rating-user]:not(:empty) { margin-inline-start: var(--space-2); }
.rating-badge.is-new { font-weight: 600; color: var(--color-text-muted); }
.rating-badge[hidden], [data-rating-user]:empty { display: none; }
