/* One core for Community, resource and academy cards. Card chrome stays outside. */
.baize-identity-core { display:flex; flex-direction:column; gap:16px; width:100%; min-width:0; margin:8px 0 16px; color:var(--main-color,#203452); }
.baize-identity-core .baize-identity-core__head { display:flex; align-items:flex-start; gap:12px; min-width:0; }
.baize-identity-core .baize-identity-core__avatar { flex:0 0 62px; width:62px; height:62px; }
.baize-identity-core .baize-identity-core__avatar a { display:block; }
.baize-identity-core .baize-identity-core__avatar img { display:block; width:62px; height:62px; max-width:100%; border-radius:50%; object-fit:cover; }
.baize-identity-core .baize-identity-core__summary { flex:1; min-width:0; }
.baize-identity-core .baize-identity-core__name-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; min-width:0; }
.baize-identity-core .baize-identity-core__name { font-size:17px; font-weight:700; line-height:1.5; overflow-wrap:anywhere; min-width:0; }
.baize-identity-core .baize-identity-core__name a { color:inherit; }
.baize-identity-level { display:inline-flex; align-items:center; flex:none; gap:4px; color:#2878ed; font-size:12px; line-height:1.5; white-space:nowrap; }
.baize-identity-level img.baize-user-level-badge { display:block; flex:0 0 24px; width:24px; min-width:24px; max-width:24px; height:24px; min-height:24px; max-height:24px; padding:0; object-fit:contain; border-radius:0; }
.baize-identity-core .baize-identity-core__roles { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:6px; }
.baize-identity-core__role { display:inline-flex; align-items:center; gap:4px; max-width:100%; padding:3px 7px; border-radius:5px; font-size:12px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; }
.baize-identity-core__role.is-membership { color:#a66d13; background:#fff0ce; }
.baize-identity-core__role.is-normal { color:#64748b; background:#f0f4f8; }
.baize-identity-core__role.is-developer { color:#8655ed; background:#f0e9ff; }
.baize-identity-core__role img,.baize-identity-core__role svg { width:18px; height:18px; flex:none; object-fit:contain; border-radius:0; }
.baize-identity-core .baize-identity-core__medals { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; min-width:0; }
.baize-identity-core .baize-identity-core__medals > span { display:flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:36px; }
.baize-identity-core .baize-identity-core__medals img { display:block; width:32px; height:32px; max-width:32px; object-fit:contain; border-radius:0; }
.baize-identity-core p.baize-identity-core__bio { margin:0; color:var(--muted-color,#7a8ba5); font-size:14px; font-weight:400; line-height:1.65; overflow-wrap:anywhere; }
.sub-user-box.baize-header-user-panel .baize-identity-core__role { font-size:10px; padding:3px 7px; }
.sub-user-box.baize-header-user-panel .baize-identity-level { margin-left:0; }
.dark-theme .baize-identity-core__role.is-normal { background:rgba(148,163,184,.15); color:#b0bfd0; }
.dark-theme .baize-identity-core__role.is-membership { background:rgba(166,109,19,.2); color:#edc27b; }
.dark-theme .baize-identity-core__role.is-developer { background:rgba(134,85,237,.18); color:#bb9fff; }
