/* EZMAVIQUE CONNECT — Facebook-inspired creator profile refinement
   Matches the supplied owner-profile reference while retaining CONNECT identity. */
:root{
  --connect-fb-blue:#0866ff;
  --connect-fb-blue-soft:#e7f3ff;
  --connect-fb-canvas:#fff;
  --connect-fb-divider:#f0f2f5;
  --connect-fb-ink:#050505;
  --connect-fb-muted:#65676b;
  --connect-fb-green:#31a24c;
  --connect-fb-red:#e41e3f;
}
#profileScreen,#profileScreen #profileContent,
#profileScreen #profileContent .connect-profile,
#profileScreen #profileContent .connect-profile-body,
#profileScreen #profileContent .connect-profile-sidebar,
#profileScreen #profileContent .connect-profile-main{background:#fff!important;color:var(--connect-fb-ink)!important}
#profileScreen #profileContent .fb-profile-container{width:100%;max-width:100%;margin:0 auto;border-radius:0;overflow:visible}
#profileScreen #profileContent .fb-profile-header{border-radius:0!important}
#profileScreen #profileContent .fb-cover-banner{
  height:clamp(220px,62vw,360px)!important;min-height:220px!important;max-height:360px!important;
  border-radius:0!important;background-size:cover!important;background-position:center 35%!important;
  overflow:hidden!important;position:relative!important
}
#profileScreen #profileContent .profile-mobile-topbar{
  position:absolute!important;inset:0 0 auto!important;height:58px!important;padding:0 14px!important;
  background:linear-gradient(180deg,rgba(0,0,0,.46),transparent)!important;
  color:#fff!important;z-index:4!important
}
#profileScreen #profileContent .profile-mobile-topbar>span{display:none!important}
#profileScreen #profileContent .profile-mobile-topbar>button,
#profileScreen #profileContent .profile-mobile-topbar>div button{
  color:#fff!important;text-shadow:0 1px 4px #000!important;font-size:25px!important
}
#profileScreen #profileContent .fb-profile-content-wrapper{background:#fff!important}
#profileScreen #profileContent .fb-avatar-container .fb-avatar-wrapper{
  width:148px!important;height:148px!important;min-width:148px!important;min-height:148px!important;
  max-width:148px!important;max-height:148px!important;margin:-76px auto 12px!important;
  border:5px solid #fff!important;border-radius:50%!important;box-shadow:0 1px 3px #0002!important;
  overflow:visible!important;z-index:3!important
}
#profileScreen #profileContent .fb-avatar-wrapper .connect-profile-avatar,
#profileScreen #profileContent .fb-avatar-wrapper .connect-profile-avatar>.avatar,
#profileScreen #profileContent .fb-avatar-wrapper .connect-profile-avatar img{
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;border-radius:50%!important;object-fit:cover!important
}
#profileScreen #profileContent .profile-avatar-edit{
  right:0!important;bottom:0!important;width:40px!important;height:40px!important;
  border:3px solid #fff!important;border-radius:50%!important;background:#e4e6eb!important;
  color:#050505!important;display:grid!important;place-items:center!important;z-index:5!important
}
#profileScreen #profileContent .profile-thought-bubble{
  left:12%!important;top:-12px!important;max-width:190px!important;padding:10px 16px!important;
  border-radius:22px!important;background:#fff!important;color:#65676b!important;
  box-shadow:0 1px 5px #0002!important;font-size:14px!important;z-index:6!important
}
#profileScreen #profileContent .fb-identity-stack{width:100%!important;padding:0 16px!important;text-align:center!important}
#profileScreen #profileContent .fb-name-row{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
#profileScreen #profileContent .fb-profile-name{font-size:24px!important;font-weight:750!important;line-height:1.2!important;color:#050505!important}
#profileScreen #profileContent .profile-identity-menu{position:absolute!important;right:0!important}
#profileScreen #profileContent .fb-meta-counters{
  justify-content:center!important;gap:7px!important;margin:12px 0 8px!important;
  color:#050505!important;font-size:15px!important;font-weight:700!important
}
#profileScreen #profileContent .fb-meta-counters button{color:#050505!important;font-weight:700!important}
#profileScreen #profileContent .fb-mutual-friends{justify-content:center!important;margin:12px auto!important}
#profileScreen #profileContent .fb-profile-bio{
  font-family:Georgia,serif!important;font-size:16px!important;letter-spacing:.04em!important;
  line-height:1.4!important;color:#050505!important;margin:12px auto!important
}
#profileScreen #profileContent .fb-profile-subtitle{color:var(--connect-fb-muted)!important;font-size:14px!important}
#profileScreen #profileContent .fb-profile-utilities{padding:0 16px 12px!important;background:#fff!important}
#profileScreen #profileContent .fb-action-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0!important}
#profileScreen #profileContent .fb-action-grid button,
#profileScreen #profileContent .fb-action-grid a{min-height:48px!important;border-radius:9px!important;font-size:16px!important}
#profileScreen #profileContent .profile-dashboard-button{background:var(--connect-fb-blue)!important;color:#fff!important}
#profileScreen #profileContent .profile-create-button{background:#e4e6eb!important;color:#050505!important}
#profileScreen #profileContent .profile-intro-meta{display:none!important}
#profileScreen #profileContent .profile-tabs-facebook{
  position:relative!important;display:flex!important;overflow-x:auto!important;white-space:nowrap!important;
  border-top:0!important;border-bottom:1px solid #ddd!important;padding:4px 12px!important;
  gap:8px!important;scrollbar-width:none!important;background:#fff!important
}
#profileScreen #profileContent .profile-tabs-facebook::-webkit-scrollbar{display:none}
#profileScreen #profileContent .profile-tabs-facebook a{
  flex:0 0 auto!important;min-height:46px!important;padding:0 18px!important;border-radius:24px!important;
  color:#65676b!important;font-size:15px!important;font-weight:650!important
}
#profileScreen #profileContent .profile-tabs-facebook a.active{
  background:var(--connect-fb-blue-soft)!important;color:var(--connect-fb-blue)!important
}
#profileScreen #profileContent .profile-body-facebook{
  display:flex!important;flex-direction:column!important;gap:0!important;
  margin:0!important;padding:0!important;background:#fff!important
}
#profileScreen #profileContent .profile-body-facebook>.connect-profile-sidebar,
#profileScreen #profileContent .profile-body-facebook>.connect-profile-main{
  display:block!important;width:100%!important;padding:0!important;margin:0!important;background:#fff!important
}
#profileScreen #profileContent .profile-panel{
  border:0!important;border-radius:0!important;box-shadow:none!important;padding:16px 20px!important;
  margin:0!important;background:#fff!important
}
#profileScreen #profileContent .profile-panel-heading h3,
#profileScreen #profileContent .profile-post-heading h3{font-size:18px!important;font-weight:750!important;color:#050505!important}
#profileScreen #profileContent .profile-at-glance,
#profileScreen #profileContent .profile-friends-panel{border-bottom:7px solid var(--connect-fb-divider)!important}
#profileScreen #profileContent .profile-glance-rows{gap:15px!important}
#profileScreen #profileContent .profile-glance-row{font-size:15px!important;gap:14px!important;align-items:center!important}
#profileScreen #profileContent .profile-glance-row>span{font-size:22px!important;color:#050505!important}
#profileScreen #profileContent .profile-friends-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px 6px!important}
#profileScreen #profileContent .profile-friend-photo,
#profileScreen #profileContent .profile-friend-photo>.avatar{width:clamp(56px,17vw,76px)!important;height:clamp(56px,17vw,76px)!important}
#profileScreen #profileContent .profile-friend-photo>.avatar,
#profileScreen #profileContent .profile-friend-photo img{border-radius:50%!important;object-fit:cover!important}
#profileScreen #profileContent .profile-friend-tile>strong{
  width:100%!important;max-width:100%!important;white-space:normal!important;display:-webkit-box!important;
  -webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
  font-size:13px!important;line-height:1.3!important
}
#profileScreen #profileContent .profile-online-dot{background:var(--connect-fb-green)!important;border:2px solid #fff!important}
#profileScreen #profileContent .profile-post-composer{border-bottom:7px solid var(--connect-fb-divider)!important}
#profileScreen #profileContent .profile-composer-row{gap:10px!important}
#profileScreen #profileContent .profile-composer-row>.avatar{width:42px!important;height:42px!important;flex:0 0 42px!important}
#profileScreen #profileContent .profile-composer-prompt{
  background:#fff!important;border:1px solid #ccd0d5!important;color:#65676b!important;
  min-height:44px!important;border-radius:24px!important;font-size:15px!important
}
#profileScreen #profileContent .profile-composer-media{color:var(--connect-fb-green)!important;font-size:22px!important}
#profileScreen #profileContent .profile-composer-actions{
  display:flex!important;gap:10px!important;border-top:1px solid #e4e6eb!important;
  margin:12px -20px -16px!important;padding:10px 20px!important
}
#profileScreen #profileContent .profile-composer-actions button{
  flex:1!important;min-height:42px!important;border:1px solid #e4e6eb!important;
  border-radius:24px!important;background:#fff!important;color:#050505!important;font-weight:650!important
}
#profileScreen #profileContent .profile-composer-actions button span{color:var(--connect-fb-red)!important}
#profileScreen #profileContent .profile-post-heading{padding:14px 20px 8px!important}
#profileScreen #profileContent .profile-post-card,
#profileScreen #profileContent .post-card{border:0!important;border-radius:0!important;box-shadow:none!important}
#profileScreen #profileContent .post-media img,
#profileScreen #profileContent .post-media video,
#profileScreen #profileContent .post-attachments img,
#profileScreen #profileContent .post-attachments video{
  width:100%!important;max-height:min(125vw,720px)!important;aspect-ratio:4/5!important;
  object-fit:cover!important;background:#f0f2f5!important
}
@media(min-width:721px){
 #profileScreen #profileContent .fb-profile-container{max-width:1100px!important;margin:0 auto!important}
 #profileScreen #profileContent .fb-cover-banner{height:390px!important;max-height:390px!important;border-radius:0 0 10px 10px!important}
 #profileScreen #profileContent .profile-body-facebook{display:grid!important;grid-template-columns:minmax(300px,.85fr) minmax(0,1.4fr)!important;gap:16px!important;padding:16px!important}
 #profileScreen #profileContent .profile-body-facebook>.connect-profile-sidebar,
 #profileScreen #profileContent .profile-body-facebook>.connect-profile-main{min-width:0!important}
}
@media(max-width:380px){
 #profileScreen #profileContent .fb-profile-name{font-size:21px!important}
 #profileScreen #profileContent .profile-panel{padding-left:16px!important;padding-right:16px!important}
 #profileScreen #profileContent .profile-friends-grid-four{gap:10px 3px!important}
}
