/* FineME v351 — consistently spaced profile stats on full page and quick preview. */
.fm-profile-page .fm-profile-social-stats,
.fm-quick-profile .fm-profile-social-stats { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:18px; row-gap:10px; margin-top:12px; }
.fm-profile-page .fm-profile-social-stats > a,
.fm-profile-page .fm-profile-social-stats > span,
.fm-quick-profile .fm-profile-social-stats > a,
.fm-quick-profile .fm-profile-social-stats > span { display:inline-flex; flex:0 0 auto; align-items:baseline; gap:6px; white-space:nowrap; font-size:.87rem; text-decoration:none; line-height:1.5; }
.fm-profile-page .fm-profile-social-stats b,
.fm-quick-profile .fm-profile-social-stats b {font-size:1rem;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.5}
.fm-profile-page .fm-profile-owner-tools,
.fm-quick-profile .fm-profile-owner-tools {display:flex;flex-wrap:wrap;column-gap:14px;row-gap:7px;align-items:center}
.fm-profile-page .fm-profile-owner-tools a,
.fm-quick-profile .fm-profile-owner-tools a {display:inline-flex;max-width:100%;min-height:24px;align-items:center;white-space:normal}
/* The popup imports profile markup but not the full profile page's push(head) stylesheet. */
.fm-quick-profile .profile-hero{overflow:hidden;padding:0}
.fm-quick-profile .profile-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 18px 16px}
.fm-quick-profile .profile-copy{min-width:0;padding-top:0}
.fm-quick-profile .profile-copy h1{margin:3px 0 5px}
.fm-quick-profile .profile-write-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.fm-quick-profile .profile-write-actions form{margin:0}
.fm-quick-profile .fm-profile-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.fm-quick-profile .fm-profile-badge{border-radius:999px;background:#f0edff;color:#5532b5;padding:4px 9px;font-size:.8rem}
.fm-quick-profile .profile-cover{background-size:cover;background-position:center}
.fm-quick-profile .profile-copy p{margin:4px 0 8px;overflow-wrap:anywhere}
@media(max-width:760px){
 .fm-profile-page .fm-profile-social-stats,.fm-quick-profile .fm-profile-social-stats{column-gap:14px;row-gap:8px}
 .fm-quick-profile .profile-main{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:12px!important}
 .fm-quick-profile .profile-write-actions{grid-column:1/-1;justify-content:flex-start}
 .fm-quick-profile .fm-profile-owner-tools{gap:6px 12px}
}
@media(max-width:360px){.fm-profile-page .fm-profile-social-stats,.fm-quick-profile .fm-profile-social-stats{column-gap:11px}}
