/* The social layout is mobile-only; retain Fridge typography and colors. */
.profile-mobile-actions{display:none}
.profile-mobile-actions.profile-own-actions{display:flex;margin:12px 0}
body.my-profile-open{overflow:hidden}
.profile-own-recipe{min-width:0;display:flex;flex-direction:column;gap:5px}
.profile-own-recipe>.profile-recipe-card{width:100%;flex:1}
.profile-post-manage{width:100%;min-height:44px;border:1px solid #dce4d5;border-radius:8px;background:#f3f7ed;color:#385535;font:inherit;font-size:13px;cursor:pointer}
.profile-post-status{font-size:11px;text-align:center;color:#627062;overflow-wrap:anywhere}
.profile-load-more{justify-self:center;margin:16px}
@media(max-width:650px){
 #communityProfileDialog{box-sizing:border-box;position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:calc(64px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
 #communityProfileDialog::before{content:'Edit profile';position:fixed;box-sizing:border-box;top:0;left:0;right:0;height:calc(60px + env(safe-area-inset-top));padding:calc(20px + env(safe-area-inset-top)) 70px 16px 18px;background:#fffdf9;border-bottom:1px solid #e1e7dd;font-size:18px;font-weight:700;z-index:4}
 #communityProfileForm>.eyebrow,#communityProfileForm>h2{display:none}
 #communityProfileForm>.auth-copy{font-size:13px;line-height:1.5;color:#627062}
 #communityProfileDialog input[hidden]{display:none!important}
 #communityProfileDialog input,#communityProfileDialog textarea,#communityProfileDialog select{box-sizing:border-box;min-width:0;max-width:100%;font-size:16px}
 #communityProfileDialog .username-field{min-width:0}
 #communityProfileDialog #closeCommunityProfile{top:calc(8px + env(safe-area-inset-top));right:12px;width:44px;height:44px;position:fixed;z-index:5}
 #communityProfileDialog .profile-edit-avatar,#communityProfileDialog .post-form-grid{grid-template-columns:minmax(0,1fr)}
 #communityProfileDialog .profile-photo-editor{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:12px;padding:14px}
 #communityProfileDialog .profile-photo-preview{width:80px;height:80px}
 #communityProfileDialog .profile-photo-editor>div{min-width:0}
 #communityProfileDialog .profile-photo-editor button,#communityProfileDialog .profile-photo-editor label{white-space:normal;max-width:100%;min-height:44px}
 #communityProfileDialog [type=submit]{position:sticky;bottom:0;width:100%;min-height:48px}
 #profileDialog.profile-dialog{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;overflow:hidden}
 #profileDialog #profileDetail{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:16px;align-content:start;padding:0 16px calc(20px + env(safe-area-inset-bottom));overflow-y:auto}
 #profileDetail>*{grid-column:1/-1;min-width:0}
 #profileDialog .public-profile-mobile-bar{grid-row:1;grid-template-columns:42px minmax(0,1fr) 24px;box-shadow:none;margin-bottom:14px;min-height:56px}
 #profileDialog .public-profile-mobile-bar b{text-align:left;font-size:17px}
 #profileDialog .public-profile-head{display:contents}
 #profileDialog .public-profile-head>.profile-avatar{grid-column:1;grid-row:2;width:80px;height:80px;border-radius:50%;overflow:hidden;display:grid;place-items:center}
 #profileDialog .profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
 #profileDialog .profile-name-bio{grid-column:1/-1;grid-row:3;padding:14px 0 0}
 #profileDialog .profile-name-bio .eyebrow{display:none}
 #profileDialog .profile-name-bio h2{font-family:inherit;font-size:17px;line-height:1.3;margin:0 0 5px;overflow-wrap:anywhere}
 #profileDialog .profile-name-bio p{font-size:14px;line-height:1.5;margin:0;white-space:pre-line;overflow-wrap:anywhere}
 #profileDialog .public-profile-stats{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;gap:6px;border:0;padding:0;margin:0;text-align:center}
 #profileDialog .public-profile-stats span{border:0;background:none;border-radius:0;padding:0;min-width:0}
 #profileDialog .public-profile-stats b{font-family:inherit;font-size:18px;line-height:1.3}
 #profileDialog .public-profile-stats small{display:block;font-size:10px;line-height:1.4;text-transform:none;letter-spacing:0}
 #profileDialog .profile-chips{margin:10px 0 0;gap:5px;flex-wrap:wrap}
 #profileDialog .profile-chips span{font-size:11px;padding:4px 8px}
 #profileDialog .profile-mobile-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
 #profileDialog .profile-mobile-actions .follow-button{flex:1;min-width:0;padding:10px;min-height:44px;font-size:14px}
 #profileDialog .profile-mobile-actions .cloud-post-control{font-size:11px;min-height:44px}
 #profileDialog #profileDetail>[data-report-profile]{justify-self:end;font-size:11px;min-height:36px;margin:0}
 #profileDialog .profile-social-tabs{margin:14px 0 0;padding:0;border-top:1px solid #e1e7dd}
 #profileDialog .profile-social-tabs button{padding:12px;font-size:12px}
 #profileDialog .profile-recipe-head{display:none}
 #profileDialog .profile-recipes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:0 -12px;padding:0}
 #profileDialog .profile-recipe-card{border:0;border-radius:0;min-width:0;background:none}
 #profileDialog .profile-recipe-media{aspect-ratio:1/1;border-radius:0}
 #profileDialog .profile-recipe-copy{display:none}
 #profileDialog .profile-recipes>.search-empty{grid-column:1/-1;padding:18px}
}
