.hsds-rating { display:flex; justify-content:center; margin:clamp(24px,4vw,54px) 16px; }
.hsds-rating.in-hero { margin:16px 0 0; justify-content:center; }
.hsds-rating-card { display:inline-flex; align-items:center; gap:12px; border:1px solid #dbe4ef; border-radius:18px; padding:12px 18px; color:#334155; background:#fff; font-size:.9rem; text-align:left; box-shadow:0 4px 18px #0b253010; }
.hsds-rating-icon { display:grid; place-items:center; background:#fff3d3; width:44px; height:44px; border-radius:50%; font-size:24px; }
.hsds-rating-stars { position:relative; display:inline-block; color:#cbd5e1; font:20px/1.3 system-ui,sans-serif; letter-spacing:2px; white-space:nowrap; }
.hsds-rating-stars > span { position:absolute; inset:0 auto 0 0; overflow:hidden; color:#b46504; }
.hsds-rating-form { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:10px 20px; margin:20px auto; padding:14px; background:#f7f9fd; border-radius:14px; }
.hsds-rating-form fieldset { margin:0; padding:0; border:0; }
.hsds-rating-form legend { font-weight:600; }
.hsds-rating-input { display:flex; color:#856c4c; }
.hsds-rating-input label { position:relative; cursor:pointer; font:28px/1.25 system-ui,sans-serif; padding:1px 3px; }
.hsds-rating-input input { position:absolute; opacity:0; width:1px; height:1px; }
.hsds-rating-input label:has(input:checked),.hsds-rating-input label:has(~ label input:checked) { color:#b46504; }
.hsds-rating-input label:has(input:focus-visible) { outline:2px solid #2456da; outline-offset:1px; border-radius:4px; }
.hsds-rating-input label:has(~ label input:checked) span:first-of-type,.hsds-rating-input label:has(input:checked) span:first-of-type { text-shadow:0 1px 1px #9e5f0020; }
.hsds-rating-input label:has(input:not(:checked)):not(:has(~ label input:checked)) span:first-of-type { color:transparent; -webkit-text-stroke:1px #896e43; }

.hsds-rating-reminder { display:flex; align-items:center; flex-wrap:wrap; gap:12px 16px; margin:16px 0 24px; padding:16px 20px; border:1px solid #cbdafa; border-radius:14px; background:#f4f8ff; color:#182846; }
.hsds-rating-reminder > span { color:#946208; font-size:1.5rem; }
.hsds-rating-reminder > div { flex:1 1 230px; overflow-wrap:anywhere; }
.hsds-rating-reminder p { margin:.25em 0 0; }
.hsds-rating-form[id] { scroll-margin-top:8rem; }
