/* Scoped restaurant detail: single cover, compact decision row, existing galleries. */
.restaurant-detail .restaurant-hero.photo-only{height:252px;position:relative;overflow:hidden;isolation:isolate}
.restaurant-detail .place-cover,.restaurant-detail .single-cover-image{display:block;width:100%;height:100%}
.restaurant-detail .single-cover-image{object-fit:cover;user-select:none}
.restaurant-detail .restaurant-hero:after{content:'';position:absolute;inset:25% 0 0;z-index:1;background:linear-gradient(transparent,rgba(0,0,0,.76));pointer-events:none}
.restaurant-detail .hero-caption{position:absolute;z-index:3;right:18px;left:18px;bottom:62px;color:#fff;pointer-events:none}
.restaurant-detail .hero-caption .hero-place-name{position:static!important;margin:0 0 5px!important;font-size:25px!important;line-height:1.45!important;overflow-wrap:anywhere;text-shadow:0 1px 5px #0006}
.restaurant-detail .hero-place-meta{font-size:12px;line-height:1.8;margin:0;color:#fff;overflow-wrap:anywhere}
.restaurant-detail .hero-place-meta .price-scale{font-size:13px;color:inherit;white-space:nowrap}
.restaurant-detail .hero-place-meta .price-scale .filled{color:#fff}
.restaurant-detail .hero-shortcuts{position:absolute;inset:auto auto 8px 12px;z-index:4;display:flex;direction:ltr;gap:8px}
.restaurant-detail .hero-shortcuts button{position:relative;inset:auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:10px;background:#0002;color:#fff;filter:none;cursor:pointer}
.restaurant-detail .hero-shortcuts .icon{width:25px;height:27px;stroke-width:1.7}
.restaurant-detail .hero-bookmark.selected .icon{fill:currentColor}
.restaurant-detail .hero-comments span{position:absolute;bottom:0;right:-4px;min-width:19px;height:19px;padding:0 3px;border-radius:12px;font-size:11px;font-weight:600;background:#fff;color:#333;line-height:19px;text-align:center}
.restaurant-detail .cover-control{width:44px;height:44px;min-width:44px;z-index:4}
.restaurant-detail .pick-badge{z-index:4}
.restaurant-detail .cover-placeholder{position:absolute;right:18px;bottom:8px;max-width:calc(100% - 130px);z-index:4;font-size:10px;color:#fff;line-height:1.5}
.restaurant-detail .place-body{padding:0 18px}
.restaurant-detail #recommendations{padding:16px 0 12px;border:0}
.restaurant-detail .roko-vote-panel{margin:0!important;padding:0!important;border:0;box-shadow:none;background:transparent}
.restaurant-detail .recommendation-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) 76px;align-items:center;gap:10px;direction:rtl}
.restaurant-detail .binary-votes{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;min-width:0;margin:0!important}
.restaurant-detail .roko-vote-panel .vote-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:78px;padding:8px 3px;border:1.5px solid transparent;border-radius:12px;box-shadow:none;font-size:11px;line-height:1.6;font-weight:600;transition:background-color .15s,border-color .15s}
.restaurant-detail .vote-choice.positive{background:#e5f2eb;color:#20574b}
.restaurant-detail .vote-choice.negative{background:#fae9eb;color:#842b43}
.restaurant-detail .vote-choice[aria-pressed=true]{border-color:currentColor}
.restaurant-detail .vote-choice.positive[aria-pressed=true]{background:#cce7d8}
.restaurant-detail .vote-choice.negative[aria-pressed=true]{background:#f1d2d8}
.restaurant-detail .vote-orb{display:grid;place-items:center;width:26px!important;height:26px!important;border:0!important;background:transparent!important;flex:none;color:inherit}
.restaurant-detail .vote-orb svg{width:25px;height:25px}
.restaurant-detail .recommendation-copy{margin:0;font-size:12px;line-height:1.85;color:var(--muted);overflow-wrap:anywhere}
.restaurant-detail .recommendation-copy strong{color:var(--ink);font-weight:700}
.restaurant-detail .recommendation-copy span{display:block;font-size:11px}
.restaurant-detail .recommendation-score{display:block;min-height:0;gap:0;margin:0;--score-color:#737c7c}
.restaurant-detail .score-high{--score-color:#2c774b}.restaurant-detail .score-good{--score-color:#73a37e}.restaurant-detail .score-mid{--score-color:#ad8624}.restaurant-detail .score-low{--score-color:#bd5860}.restaurant-detail .score-new{--score-color:#87928e}
.restaurant-detail .recommendation-circle{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:76px;height:76px;flex-basis:76px;border:2px solid #e6e9e7;color:var(--score-color);background:transparent;gap:1px}
.restaurant-detail .recommendation-progress{position:absolute;inset:-2px;width:76px;height:76px;color:var(--score-color)}
.restaurant-detail .recommendation-progress circle{stroke:currentColor;stroke-width:3;fill:none}
.restaurant-detail .recommendation-circle>strong{font-size:20px;color:var(--ink);line-height:1.2;z-index:1}
.restaurant-detail .score-caption{font-size:8.5px;line-height:1.5;color:var(--muted);z-index:1}
.restaurant-detail .recommendation-count{position:absolute;right:-3px;bottom:-5px;display:grid;place-items:center;height:23px;min-width:23px;padding:0 3px;border-radius:50%;font-size:10px;background:#15565b;color:#fff}
.restaurant-detail .remove-recommendation{margin:8px 0 0!important;padding:0 4px!important;min-height:32px;font-size:11px}
.restaurant-detail #food-experience{padding:12px 0 16px;scroll-margin-top:14px}
.restaurant-detail .place-section{padding:16px 0}
.restaurant-detail .place-section h2,.restaurant-detail .my-note h2{font-size:17px;line-height:1.6;margin:0 0 12px}
.restaurant-detail .place-section .section-top{margin-bottom:10px}.restaurant-detail .place-section .section-top h2{margin:0}
.restaurant-detail .detail-menu-photo{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.restaurant-detail .detail-menu-photo>a{display:block;width:86px;flex:0 0 86px}
.restaurant-detail .detail-menu-photo img{display:block;width:100%;height:86px;object-fit:contain;background:var(--wash);border:1px solid var(--line);border-radius:10px}
.restaurant-detail .detail-menu-photo h3{font-size:13px;margin:0}.restaurant-detail .detail-menu-photo p{font-size:12px;margin:3px 0}
.restaurant-detail .detail-empty{padding:7px 0;font-size:12px;margin:0 0 12px;color:var(--muted);background:none}
.restaurant-detail .food-suggestions-heading{margin-top:18px}
.restaurant-detail .food-without-photo{padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.restaurant-detail .popular-food h3{overflow-wrap:anywhere;font-size:13px}.restaurant-detail .popular-food p{font-size:12px}
.restaurant-detail .food-actions{flex-wrap:wrap;gap:8px}.restaurant-detail .food-actions .btn{min-height:44px;font-size:12px}
.restaurant-detail .uploaded-photos summary{min-height:44px;display:flex;align-items:center;font-size:12px}
.restaurant-detail .editorial-food-links{display:flex;gap:10px;overflow-x:auto;margin-top:10px;padding-bottom:6px}
.restaurant-detail .editorial-food-links a{display:flex;flex-direction:column;min-width:120px;max-width:160px;font-size:13px;gap:5px}
.restaurant-detail .editorial-food-links img{width:120px;height:90px;object-fit:cover;border-radius:10px}.restaurant-detail .editorial-food-links small{font-size:11px;color:var(--muted)}
.restaurant-detail .place-access{display:flex;align-items:flex-start;gap:10px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.restaurant-detail .place-access>.icon{width:20px;height:20px;flex:0 0 20px;margin-top:4px;color:var(--accent)}
.restaurant-detail .place-access>p{flex:1;min-width:0;font-size:12px;line-height:1.9;margin:0;overflow-wrap:anywhere}
.restaurant-detail .place-access>.btn{min-height:44px;padding:8px 12px;font-size:12px;flex-shrink:0}
.restaurant-detail .place-editorial p{font-size:13px;line-height:1.9;margin:0 0 6px;overflow-wrap:anywhere}
.restaurant-detail .editorial-caveat{color:var(--muted)}
.restaurant-detail #community{margin:0;padding:16px 0 0;scroll-margin-top:16px;outline-offset:3px}
.restaurant-detail .community-comments{padding-top:0}
.restaurant-detail .my-note{padding:0 0 16px;margin:0 0 16px}
.restaurant-detail .my-note .compose-prompt{margin:0;min-height:44px;padding:9px 14px;background:var(--accent);color:#fff;width:auto;font-size:13px;border-radius:10px}
.restaurant-detail .place-save-section{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:16px 0 20px}
.restaurant-detail .place-save-section h2{font-size:14px;margin:0}
.restaurant-detail .place-save-section .btn{display:flex;align-items:center;gap:7px;min-height:44px;font-size:12px}
.restaurant-detail .place-save-section .selected{color:var(--accent);background:var(--wash);border-color:var(--accent)}
.restaurant-detail .place-save-section .selected .icon{fill:currentColor}
@media(min-width:761px){.restaurant-detail .restaurant-hero.photo-only{height:310px}.restaurant-detail .hero-caption .hero-place-name{font-size:30px!important}.restaurant-detail .hero-place-meta{font-size:14px}.restaurant-detail .recommendation-row{grid-template-columns:240px minmax(130px,1fr) 90px;gap:18px;max-width:620px;margin:auto}.restaurant-detail .vote-choice{font-size:13px!important;min-height:86px!important}.restaurant-detail .recommendation-copy{font-size:14px}.restaurant-detail .recommendation-circle,.restaurant-detail .recommendation-progress{width:90px;height:90px}.restaurant-detail .recommendation-circle>strong{font-size:24px}.restaurant-detail .score-caption{font-size:10px}}
@media(max-width:370px){.restaurant-detail .place-body{padding-inline:14px}.restaurant-detail .recommendation-row{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) 70px;gap:7px}.restaurant-detail .recommendation-circle,.restaurant-detail .recommendation-progress{width:70px;height:70px}.restaurant-detail .recommendation-circle>strong{font-size:18px}.restaurant-detail .recommendation-copy{font-size:11px}.restaurant-detail .vote-choice{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.restaurant-detail .vote-choice{transition:none}}
/* Shared score presentation: cards and detail consume the same API summary. */
.recommendation-score{--score-color:#87928e}.score-high{--score-color:#2c774b}.score-good{--score-color:#73a37e}.score-mid{--score-color:#ad8624}.score-low{--score-color:#bd5860}.score-new{--score-color:#87928e}
.recommendation-score .recommendation-circle{display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--score-color);gap:1px}
.recommendation-score .recommendation-progress{color:var(--score-color)}.recommendation-score .recommendation-progress circle{stroke:currentColor}
.recommendation-score .score-caption{font-size:8px;line-height:1.5;color:var(--muted);z-index:1}.recommendation-score .recommendation-circle>strong{z-index:1}
.restaurant-card .recommendation-score{min-height:64px;margin:8px 0}.restaurant-card .recommendation-circle{width:62px;height:62px;flex-basis:62px}.restaurant-card .recommendation-circle>strong{font-size:18px}
.collection-place-heading .recommendation-circle{width:62px;height:62px;flex-basis:62px}.collection-place-heading .recommendation-score{min-height:64px}.collection-place-heading .recommendation-progress{width:62px;height:62px}
.restaurant-detail #food-experience{border-bottom:0;padding-bottom:12px}
.restaurant-detail #food-experience:empty{display:none}
.restaurant-detail .menu-food-heading{gap:10px;align-items:center;margin-bottom:10px}.restaurant-detail .menu-food-heading h2{font-size:16px}.restaurant-detail .menu-food-heading .btn{font-size:11px;min-height:44px;padding:5px 0;white-space:nowrap}
.restaurant-detail .menu-food-rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:0 0 6px;scrollbar-width:thin}
.restaurant-detail .menu-food-rail:empty{display:none}
.restaurant-detail .menu-food-card{flex:0 0 44%;min-width:0;scroll-snap-align:start;overflow-wrap:anywhere}
.restaurant-detail .menu-food-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:var(--wash)}
.restaurant-detail .menu-food-card h3{font-size:13px;line-height:1.7;margin:6px 0 1px}.restaurant-detail .menu-food-card p{font-size:11px;line-height:1.7;margin:0;color:var(--muted)}
.restaurant-detail .menu-gallery-open{display:block;width:100%;padding:0;border:0;background:none;color:inherit;text-align:start;font:inherit;cursor:pointer}
.restaurant-detail .menu-gallery-open img{object-fit:contain}
.menu-food-dialog{max-width:740px;width:calc(100% - 32px);max-height:88dvh;overflow:auto}.menu-food-dialog h2{font-size:18px}.menu-pages figure{margin:14px 0}.menu-pages img{display:block;width:100%;height:auto}.menu-pages figcaption,.menu-pages a{font-size:12px}.all-popular-foods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.all-popular-foods img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.all-popular-foods h3{font-size:14px;margin:5px 0}.all-popular-foods p{font-size:12px;color:var(--muted);margin:0}
@media(min-width:761px){.restaurant-detail .menu-food-card{flex-basis:180px}.restaurant-detail .menu-food-rail{gap:14px}}
/* Reference refinement: a responsive bottom row reserves real space for shortcuts. */
.restaurant-detail .hero-footer{position:absolute;inset:auto 16px 16px;z-index:4;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;direction:rtl}
.restaurant-detail .hero-footer .hero-caption{position:static;min-width:0;pointer-events:none}
.restaurant-detail .hero-footer .hero-place-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:24px!important;line-height:1.45!important;margin-bottom:4px!important}
.restaurant-detail .hero-footer .hero-place-meta{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:1.7}
.restaurant-detail .hero-footer .hero-shortcuts{position:static;display:flex;gap:6px;align-self:end}
.restaurant-detail .hero-footer .hero-shortcuts button{background:#0004;border-radius:50%;width:42px;height:44px}
.restaurant-detail .menu-food-card img,.all-popular-foods img{aspect-ratio:1;object-fit:cover}
.restaurant-detail .menu-gallery-open img{object-fit:cover}
.restaurant-detail .food-image-open{display:block;width:100%;padding:0;border:0;background:none;color:inherit;text-align:start;font:inherit;cursor:pointer}
.restaurant-detail .food-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.restaurant-detail .food-actions .btn{min-width:0;min-height:44px;font-size:12px;padding:8px 5px;white-space:normal}
@media(max-width:370px){.restaurant-detail .hero-footer{inset:auto 14px 14px;gap:8px}.restaurant-detail .hero-footer .hero-place-name{font-size:22px!important}.restaurant-detail .hero-footer .hero-place-meta{font-size:11px}}
@media(min-width:761px){.restaurant-detail .hero-footer{inset:auto 20px 20px;gap:20px}.restaurant-detail .hero-footer .hero-place-name{font-size:30px!important}.restaurant-detail .hero-footer .hero-place-meta{font-size:14px}}
.review-photo-picker{margin:10px 0;font-size:12px}.review-photo-picker label{font-size:12px}.review-photo-picker input{max-width:100%}.review-photo-previews,.review-photo-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.review-photo-previews>div{width:84px}.review-photo-previews img,.review-photo-thumbs img{display:block;width:76px;height:76px;object-fit:cover;border-radius:8px}.review-photo-previews button{min-height:36px;width:76px;font-size:11px;padding:3px;border:1px solid var(--line);border-radius:6px;background:white}.review-photo-thumbs button{padding:0;border:0;background:none;border-radius:8px;cursor:pointer}.review-photo-previews small{font-size:10px}.review-photo-picker [role=alert]{font-size:12px}.review-media-viewer{width:calc(100% - 24px);max-width:900px;max-height:94dvh;overflow:auto;padding:14px;border:0;border-radius:12px}.review-media-viewer::backdrop{background:#000b}.review-media-viewer img{display:block;width:100%;max-height:73dvh;object-fit:contain;margin:10px 0}.review-media-viewer .viewer-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.review-media-viewer .btn{min-height:44px}.review-media-viewer p{font-size:12px;margin:0}
