/* Focused mobile share/search/photo corrections. */
.app-loading{max-width:1080px;margin:clamp(28px,7vh,72px) auto;padding:0 20px;color:var(--text)}.app-loading h1{margin:0 0 7px;font-size:clamp(20px,4vw,28px)}.app-loading p{margin:0 0 22px;color:var(--muted);font-size:14px}.loading-skeleton{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.loading-skeleton i{display:block;height:clamp(112px,23vw,210px);border-radius:18px;background:linear-gradient(100deg,var(--surface-soft) 25%,color-mix(in srgb,var(--surface-soft) 58%,var(--surface)) 40%,var(--surface-soft) 55%);background-size:220% 100%;animation:menu-loading 1.25s linear infinite}.loading-skeleton i:first-child{grid-column:span 2}@keyframes menu-loading{to{background-position-x:-220%}}@media(max-width:600px){.app-loading{margin:28px auto;padding:0 16px}.loading-skeleton{grid-template-columns:1fr 1fr;gap:10px}.loading-skeleton i{height:130px;border-radius:14px}.loading-skeleton i:first-child{grid-column:span 2}}@media(prefers-reduced-motion:reduce){.loading-skeleton i{animation:none;background:var(--surface-soft)}}
.meal-share-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 28px));height:fit-content!important;min-height:0!important;max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text)}
.social-dialog-top{position:sticky;top:0;z-index:4;flex:none;display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0;border-bottom:1px solid var(--line);background:var(--surface)}
.social-dialog-top h2{min-width:0;flex:1;margin:0;font-size:clamp(17px,4vw,22px);line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.social-close{flex:none;width:42px;height:42px}
.share-dialog-scroll{min-height:0;flex:0 1 auto;max-height:min(58dvh,600px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px 16px 16px}
.share-card-live{width:min(100%,390px);border-radius:14px;box-shadow:0 2px 12px #0002}
.social-close:focus:not(:focus-visible){outline:none;box-shadow:none}.social-close:focus-visible{outline:2px solid var(--green);outline-offset:2px;box-shadow:none}
.share-card-live svg{display:block;width:100%;height:auto}
.share-design-picker{width:min(100%,390px);margin:9px auto 0;gap:7px}
.share-design-option{display:flex;justify-content:center;align-items:center;min-height:42px;padding:8px 5px;font-size:11px}
.share-expandable{width:min(100%,390px);margin:8px auto 0}
.social-share-controls{position:sticky;bottom:0;z-index:3;flex:none;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}
.social-share-controls .social-muted{margin:0 0 5px;text-align:center;font-size:11px;line-height:1.35}
.social-share-controls .social-share-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.social-share-controls .social-share-buttons button,.social-share-controls .social-share-buttons button[data-action=native]{grid-column:auto;min-height:42px;padding:8px 5px;border-radius:12px;font-size:12px}
.social-share-controls .social-share-buttons button[data-action=native]{background:var(--green);color:#fff;border-color:var(--green)}
.social-share-controls .social-status{position:absolute;left:12px;right:12px;bottom:100%;padding:5px 8px;margin:0;border-radius:8px;background:var(--surface);font-size:11px;line-height:1.3}
.share-design-option[data-style=sage]{border-style:dashed}.share-design-option[data-style=night]{font-weight:800;letter-spacing:.03em}
.search-location-option{gap:10px;padding:9px 0}.search-location-thumb{position:relative;display:grid;place-items:center;flex:0 0 54px;width:54px;height:42px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}
.search-location-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.search-location-fallback{display:block;width:15px;height:15px;border:2px solid var(--muted);border-radius:50%;opacity:.45}.search-location-option:has(img) .search-location-fallback{display:none}
.search-location-option>span:last-child{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--surface-soft);font-size:14px}
#discover-search-title{font-size:20px}.discover-search-body .food{padding:11px 0}.discover-search-body .food.food-compact .food-title{font-size:15px}.discover-search-body .food-actions .share-icon-button{width:36px;height:36px;min-width:36px;min-height:36px;flex-basis:36px}.discover-search-body .food.food-compact .meta{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4}
.food-photo-display:not(:has(img)){display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:0;padding:0;background:transparent;margin:8px 0;color:var(--muted)}.food-photo-display:not(:has(img)) p{margin:0;font-size:11px}.food-photo-display:not(:has(img)) [data-photo-open]{min-height:34px;padding:6px 10px;margin:0;font-size:12px}
@media(max-width:640px){.meal-share-dialog{width:calc(100vw - 20px);height:fit-content!important;min-height:0!important;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:18px}.social-dialog-top{padding:9px 12px}.share-dialog-scroll{padding:10px 12px 12px}.share-card-live{width:min(100%,360px)}.share-design-picker{width:min(100%,360px)}.social-share-controls{padding-left:8px;padding-right:8px}.social-share-controls .social-share-buttons{gap:5px}.social-share-controls .social-share-buttons button,.social-share-controls .social-share-buttons button[data-action=native]{font-size:11px}.discover-search-body{padding-left:14px;padding-right:14px}.search-location-option{gap:9px}.search-location-option strong{font-size:13px}.search-location-option small{font-size:10px}}
@media(max-width:380px){.share-design-option{font-size:10px}.social-share-controls .social-share-buttons button,.social-share-controls .social-share-buttons button[data-action=native]{font-size:10px;padding-left:3px;padding-right:3px}}
@media(prefers-reduced-motion:reduce){.share-dialog-scroll{scroll-behavior:auto}}

.search-count{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:4px;padding:0 6px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:11px;font-weight:700}.search-locations{margin:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.search-locations summary{display:flex;align-items:center;gap:8px;min-height:48px;cursor:pointer;list-style:none;font-size:14px;font-weight:700}.search-locations summary::-webkit-details-marker{display:none}.search-locations summary:after{content:"+";margin-left:auto;color:var(--muted);font-size:20px}.search-locations[open] summary:after{content:"−"}.search-locations .search-location-option:first-of-type{border-top:1px solid var(--line)}
