/* CollabMY Step 04A — Shared role identity header layout hotfix.
   Design: Soft Aurora Glass + Soft Motion (unchanged).
   This file only changes header identity presentation; profile data/API unaffected. */
body.collab-shell header.header .profile-identity { display:flex; align-items:center; gap:10px; position:relative; flex:none; margin-left:auto; min-width:0; }
body.collab-shell .profile-header-link { display:flex; align-items:center; gap:9px; padding:6px 10px 6px 7px; min-height:45px; max-width:244px; box-sizing:border-box; border:1px solid rgba(255,255,255,.76); border-radius:50px; background:rgba(255,251,255,.57); color:#514353; text-decoration:none; box-shadow:0 5px 22px rgba(98,64,95,.08); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); transition:transform .35s ease,box-shadow .35s ease; }
body.collab-shell .profile-header-link:hover { transform:translateY(-2px); box-shadow:0 9px 26px rgba(98,64,95,.14); }
body.collab-shell .profile-header-avatar { display:grid; place-items:center; width:35px; height:35px; border-radius:50%; flex:none; overflow:hidden; background:linear-gradient(140deg,#f5ccdf,#e9d7ec); color:#ae5385; font-weight:800; font-size:14px; border:1px solid rgba(255,255,255,.8); }
body.collab-shell .profile-header-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
/* Name and role MUST be a column; previously the two inline spans ran together. */
body.collab-shell .profile-header-meta { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:3px; flex:0 1 auto; min-width:0; max-width:145px; line-height:1.15; text-align:left; }
body.collab-shell .profile-header-name { display:block; width:100%; font-weight:800; font-size:12px; line-height:1.3; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
body.collab-shell .profile-header-role { display:block; width:100%; font-size:10px; font-weight:500; color:#9b7b91; line-height:1.3; white-space:nowrap; }
body.collab-shell .profile-header-link .fa-angle-down { display:block; flex:none; color:#9b7b91; font-size:14px; margin-right:1px; }
/* Match the site's 760px mobile breakpoint; remove the entire text wrapper,
   not just its inner spans, so the avatar is precisely centered in a circle. */
@media (max-width:760px) {
  body.collab-shell header.header .profile-identity { margin-left:auto; }
  body.collab-shell .profile-header-link { display:grid; place-items:center; flex:none; gap:0; width:48px; height:48px; max-width:none; min-width:48px; min-height:48px; padding:5px; border-radius:50%; aspect-ratio:1/1; }
  body.collab-shell .profile-header-avatar { width:35px; height:35px; }
  body.collab-shell .profile-header-meta,
  body.collab-shell .profile-header-link > .fa-angle-down { display:none!important; }
}
/* Collaborations adds a fifth destination. Keep mobile tabs equally spaced. */
@media (max-width:880px) { body.collab-shell .shell-dock { grid-template-columns:repeat(5,minmax(0,1fr))!important; } }
@media (max-width:390px) { body.collab-shell .shell-dock .shell-link { font-size:10px!important; letter-spacing:-.02em; } }
@media (prefers-reduced-motion:reduce) { body.collab-shell .profile-header-link { transition:none; } body.collab-shell .profile-header-link:hover { transform:none; } }

@media(max-width:760px){body.collab-shell .shell-dock .shell-link{min-width:0!important;padding-inline:1px!important;gap:3px!important}body.collab-shell .shell-dock .shell-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(8px,2.3vw,11px)!important}body.collab-shell .shell-dock .shell-link i{font-size:16px!important}}

/* Step07: six dock destinations for Creator only; other roles retain five. */
@media(max-width:880px){body.collab-shell .shell-dock.has-earnings-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
