.photo-preview-notice{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;background:var(--surface-soft);border-radius:12px;padding:12px 14px;margin:12px 0 16px;font-size:12px;line-height:1.45}.photo-preview-notice strong{font-size:13px}.photo-preview-notice span{flex:1;min-width:190px;color:var(--muted)}.photo-preview-notice button{border:0;background:transparent;color:var(--green);text-decoration:underline;font:inherit;min-height:44px;padding:8px}
.sample-food-photo{width:108px;height:108px;flex:0 0 108px;background-image:url('preview-assets/sample-food-atlas-v1.png');background-size:200% 200%;border-radius:14px;position:relative;overflow:hidden;order:1;align-self:center}.sample-food-photo>span{position:absolute;bottom:0;left:0;right:0;background:#000c;color:#fff;font-size:10px;font-weight:650;text-align:center;padding:4px}.food:has(.sample-food-photo) .food-main{flex:1}.food:has(.sample-food-photo) .food-actions{order:2}.menu-photo-rail{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 0 14px;margin:0 0 24px}.menu-photo-rail>.food{flex:0 0 245px;display:flex;flex-direction:column;align-items:stretch;padding:0 0 12px;min-width:0;background:var(--surface);border:0;border-radius:16px;overflow:hidden;scroll-snap-align:start;position:relative;gap:0}.menu-photo-rail .sample-food-photo{width:100%;height:auto;aspect-ratio:1;flex:none;order:0;border-radius:16px}.menu-photo-rail .food-main{order:1;padding:12px 12px 0}.menu-photo-rail .food-actions{position:absolute;right:8px;top:8px;z-index:2}.menu-photo-rail .food-actions .heart{background:var(--surface);box-shadow:var(--tile-shadow)}.menu-photo-rail .food-chevron{display:none}.menu-photo-rail .food-title{font-size:17px}.menu-photo-rail .tags{display:none}.menu-photo-rail .food .meta{font-size:12px}.photo-rail-heading{margin:20px 0 12px}
@media(max-width:380px){.sample-food-photo{width:80px;height:80px;flex-basis:80px}.food:has(.sample-food-photo){gap:8px}.food:has(.sample-food-photo) .food-title{font-size:15px}}

.photo-preview-notice{background:var(--coast-sand)}
.photo-preview-notice{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:8px 12px}.photo-preview-notice strong{grid-row:1;grid-column:1;align-self:center}.photo-preview-notice span{grid-row:2;grid-column:1/-1;min-width:0;font-size:11px}.photo-preview-notice button{grid-row:1;grid-column:2;padding:4px;min-height:44px}.menu-photo-rail{scrollbar-width:none}.menu-photo-rail::-webkit-scrollbar{display:none}

/* Shared atlas is downloaded once and browser-cached; each slot reserves its size. */
.sample-detail-display .sample-food-photo{width:min(100%,320px);height:auto;aspect-ratio:1;flex:none;border-radius:12px;order:0}.sample-detail-display>[data-photo-open]{margin:8px 0 12px}.sample-food-photo{background-repeat:no-repeat}

.photo-preview-notice .sample-photo-levels{grid-column:1/-1;display:flex;gap:4px;flex-wrap:wrap}.photo-preview-notice .sample-photo-levels button{padding:6px 12px;min-height:44px;text-decoration:none;border-radius:999px;color:var(--text);background:transparent}.photo-preview-notice .sample-photo-levels button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 4px #0001;font-weight:650}.photo-preview-notice .sample-photo-levels button:focus-visible{outline:2px solid var(--text);outline-offset:2px}
/* A constant, neutral photo-overlay favorite keeps contrast in either theme. */
.venue-page .menu-photo-rail .food-actions .heart{width:44px;height:44px;min-width:44px!important;min-height:44px!important;padding:0;border:1px solid #d2d7d3;border-radius:50%;background:#fff;color:#174c37;box-shadow:0 1px 5px #0003}.venue-page .menu-photo-rail .food-actions .heart.saved{background:#fff;color:#174c37;border-color:#174c37}.venue-page .menu-photo-rail .food-actions .heart:focus-visible{outline:3px solid #174c37;outline-offset:2px;box-shadow:0 0 0 5px #fff}
