/* Shared geometry in both themes; coastal accents never replace readable labels. */
.shared-rating{padding:14px 16px;border-radius:16px;background:var(--surface-soft);color:var(--text);margin:12px 0;min-width:0}.shared-rating h3{font-size:15px;margin:0 0 10px}.shared-rating-totals{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shared-rating-totals span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.shared-rating-totals strong{font-size:13px;font-weight:650;display:block;overflow-wrap:anywhere}.shared-rating-context,.rating-message{font-size:12px;line-height:1.45;color:var(--muted);margin:9px 0 0}.shared-rating fieldset{border:0;padding:0;margin:10px 0 0;min-width:0}.shared-rating legend{font-size:12px;font-weight:650}.shared-stars{display:flex;gap:0;max-width:250px}.shared-stars label{position:relative;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;flex:0 0 44px}.shared-stars input{position:absolute;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.shared-stars span[aria-hidden]{font-size:28px;color:var(--text)}.shared-stars input:focus-visible+span{outline:2px solid var(--text);outline-offset:4px;border-radius:4px}.shared-rating fieldset:disabled{opacity:.55}.shared-rating fieldset:disabled label,.shared-rating fieldset:disabled input{cursor:default}.shared-rating-actions button{min-height:44px;background:transparent;border:0;color:var(--text);font:inherit;font-size:12px;padding:8px 0;text-decoration:underline}.food-rating-line{font-size:12px;color:var(--muted);margin:8px 0 0}.food.food-text-only{padding:18px 16px!important;background:var(--surface);border-radius:16px;box-shadow:0 2px 12px #00000008;border:0;position:relative}.food.food-text-only .food-title{font-size:17px;font-weight:700;letter-spacing:-.25px;line-height:1.35;display:block}.food.food-text-only .meta{margin:6px 0 0;font-size:12px;line-height:1.4;color:var(--muted)}.food.food-text-only .food-main{flex:1;min-width:0}.food.food-text-only .tags{margin-top:9px}.food.food-text-only .food-actions{justify-content:space-between;padding:0}.food.food-text-only .heart{background:transparent;border:0;min-width:44px;min-height:44px}.food-grid{row-gap:10px!important}[data-theme=dark] .food.food-text-only{box-shadow:0 2px 12px #0008}
@media(max-width:540px){.shared-rating{padding:13px 14px}.food.food-text-only{padding:16px 14px!important}.shared-rating-totals{gap:8px}}

.shared-rating{padding:0;background:transparent;margin:8px 0}.shared-rating-totals{display:flex;flex-wrap:wrap;gap:6px 16px}.shared-rating-totals>div{display:flex;gap:5px;align-items:baseline}.shared-rating-totals span{margin:0;font-size:11px}.shared-rating-totals strong{font-size:12px}.shared-rating-editor{margin:0 0 8px;min-width:0;color:var(--text)}.shared-rating-editor button{font:inherit;color:inherit;min-height:44px;min-width:44px;border:0;background:transparent;border-radius:12px;padding:8px 12px}.shared-rating-editor .rating-toggle{font-size:13px;font-weight:650;background:var(--surface-soft)}.rating-compose:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:0;margin-top:4px}.rating-compose[hidden]{display:none}.rating-compose fieldset{border:0;padding:0;margin:0;min-width:0}.rating-compose .rating-message{flex-basis:100%;margin:2px 0 0}.rating-compose .rating-submit{font-size:22px;background:var(--surface-soft)}.rating-compose .rating-submit:disabled{opacity:.4}.rating-compose .rating-remove{font-size:12px}.shared-rating-editor button:focus-visible{outline:2px solid var(--text);outline-offset:2px}.shared-rating-editor fieldset:disabled{opacity:.45}

/* Small, honest aggregate states; zero is distinct from unavailable. */
.shared-rating-totals strong{font-size:11px}.shared-rating-totals span{font-size:10px}.shared-rating-totals{gap:4px 12px}.shared-rating .rating-empty,.shared-rating [data-retry-ratings]{font:inherit;font-size:11px;font-weight:550;color:var(--muted);border:0;background:transparent;min-height:44px;padding:0;cursor:pointer}.shared-rating .rating-empty{text-decoration:underline;text-underline-offset:3px}.rating-unavailable{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted);min-height:24px}.shared-rating [data-retry-ratings]{min-width:44px;font-size:16px}.shared-rating button:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:4px}.shared-rating button:disabled{cursor:default;opacity:.5}

/* A quiet action beneath the photo, with the same generous hit target. */
.shared-rating-editor .rating-toggle{display:inline-flex;align-items:center;gap:6px;background:transparent;border:0;box-shadow:none;padding:0 4px;min-height:44px;border-radius:4px;font-size:13px;font-weight:550;color:var(--muted)}
.shared-rating-editor .rating-toggle>span{font-size:19px;line-height:1;color:var(--text)}

/* One native half-step range overlays five visible stars; the whole 44px-high
   track is one keyboard/touch control, without tiny half-star targets. */
.rating-stars-control{position:relative;width:220px;max-width:100%;min-height:66px;padding-bottom:20px;box-sizing:border-box}.rating-stars-icons{display:flex;height:44px;align-items:center;pointer-events:none}.rating-stars-icons svg{width:44px;height:34px;flex:1;overflow:visible}.rating-star-empty{fill:var(--surface);stroke:var(--muted);stroke-width:1.2}.rating-star-filled{fill:var(--accent,var(--text));stroke:var(--accent,var(--text));stroke-width:1.2}.rating-stars-control input[type=range]{position:absolute;inset:0 0 auto;width:100%;height:44px;margin:0;opacity:0;cursor:pointer;touch-action:pan-y}.rating-stars-control:has(input:focus-visible){outline:2px solid var(--text);outline-offset:3px;border-radius:8px}.rating-stars-control:has(input:disabled){opacity:.55}.rating-stars-value{position:absolute;left:0;bottom:0;font-size:12px;color:var(--muted)}

/* Location ratings sit beside their action, outside the venue photograph. */
.venue-community-rating{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:0;padding:8px 24px;min-height:64px;box-sizing:border-box;color:var(--text)}
.venue-community-rating .shared-rating-venue{grid-column:1;grid-row:1;margin:0;min-height:44px;display:flex;align-items:center}
.venue-community-rating>.shared-rating-editor{display:contents}
.venue-community-rating .rating-toggle{grid-column:2;grid-row:1;white-space:nowrap;color:var(--green,var(--text));font-size:14px;font-weight:650}
.venue-community-rating .rating-compose{grid-column:1/-1;grid-row:3}
.venue-rating-score{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:14px}
.venue-rating-score>span,.venue-rating-visit,.venue-rating-status{color:var(--muted);font-size:12px;line-height:1.4}
.venue-rating-visit{grid-column:1/-1;grid-row:2;margin:0}
.venue-rating-status{grid-column:1/-1;grid-row:1/3;margin:0;min-height:44px;display:flex;align-items:center}
@media(max-width:360px){.venue-community-rating{padding-inline:16px;column-gap:8px}.venue-rating-score{font-size:13px}.venue-community-rating .rating-toggle{font-size:13px}}

.venue-rating-score+.venue-rating-notice{margin:0;font-size:12px;color:var(--muted);line-height:1.4;flex-basis:100%}
.venue-community-rating .shared-rating-venue{flex-wrap:wrap}
.venue-community-rating .venue-rating-choose-meal{grid-column:2;grid-row:1;min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--green,var(--text));font:inherit;font-size:14px;font-weight:650;white-space:nowrap}
.venue-rating-choose-meal:focus-visible{outline:2px solid var(--text);outline-offset:3px}

.venue-community-rating .rating-compose.is-confirmed{margin-top:0}

/* One compact, interactive venue summary; preserve space while genuine scores load. */
.venue-rating-score>button[data-venue-review-summary],.venue-rating-loading{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.venue-rating-review-label,.venue-rating-loading>span:last-child{font-size:12px;color:var(--muted)}.venue-rating-skeleton{display:inline-block;width:112px;height:14px;border-radius:5px;background:var(--line);opacity:.65}.venue-rating-score [data-retry-ratings]{min-width:44px;min-height:44px;border:0;background:transparent;color:var(--text);font:inherit}.venue-kind-rating{display:flex;align-items:center;gap:8px;min-height:20px}.venue-card-rating{min-inline-size:70px;min-height:16px;display:inline-flex;align-items:center;font-size:12px;white-space:nowrap}.venue-card-rating[data-rating-loading]::before{content:"";display:block;width:70px;height:11px;background:var(--line);border-radius:4px;opacity:.55}.venue-community-rating{padding-block:4px;min-height:56px}.venue-rating-score button:focus-visible,.venue-rating-loading:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:6px}

.venue-rating-score [data-venue-review-summary] strong{white-space:nowrap}
