/* Shared community presentation styles: canonical VCR-level table.
   Used by the community widget and by the public community preview modal. */
.vcr-community-levels-col{width:100%;display:flex;justify-content:center;margin-top:4px}
.vcr-community-levels{border-collapse:collapse;font-size:10px;background:#0d1117;border:1px solid #21262d;border-radius:8px;width:100%}
.vcr-community-levels td{padding:2px 8px;border-top:1px solid #21262d;vertical-align:middle;white-space:nowrap}
.vcr-community-levels td:first-child{text-align:left}
.vcr-community-levels tr:first-child td{border-top:none}
.vcr-community-levels td.qty{text-align:right;color:#e6edf3;font-weight:800;width:22px}
.vcr-community-levels .vcr-level-badge{display:inline-flex;align-items:center;padding:0;border:none;font-size:10px;font-weight:700;background:transparent}

/* Canonical member card base identity: shared by the private community page
   members grid and the public preview Members tab. Surface-specific slots
   (team, social, moderation, score) stay styled by their own surface CSS. */
.vcrcp-member-card{position:relative;display:flex;align-items:stretch;background:#fff;border-radius:12px;overflow:hidden;min-height:156px;min-width:0;box-sizing:border-box}
.vcrcp-member-avatar-wrap{position:relative;flex:0 0 143px;width:143px;background:#30363d;align-self:stretch}
.vcrcp-member-avatar-wrap img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;display:block}
.vcrcp-member-avatar-fallback{position:absolute;top:0;left:0;width:100%;height:100%;align-items:center;justify-content:center;background:#30363d;color:#8b949e;font-size:32px;font-weight:700}
.vcrcp-badge-staff{position:absolute;bottom:6px;left:6px;background:#f97316;color:#fff;font-size:9px;font-weight:700;padding:2px 6px;border-radius:6px;text-transform:uppercase;letter-spacing:.03em;line-height:1.4;z-index:2}
/* Bottom padding reserves space for the absolutely positioned score badge
 * so a full info column (team + badges + socials) can never slide under it. */
.vcrcp-mcard-info{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;padding:10px 34px 32px 14px;min-width:0;gap:2px}
.vcrcp-mcard-name{font-size:15px;font-weight:700;color:#111827;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vcrcp-mcard-role{font-size:12px;color:#6b7280;overflow-wrap:anywhere}

/* Canonical member-card display: same team block, badges, social row and
 * score footer on the private roster and the public preview. Private-only
 * controls (team link, edit/moderation buttons, actions row) stay in the
 * page stylesheet. */
.vcrcp-mcard-team{display:flex;align-items:center;gap:5px;margin-bottom:2px;min-width:0}
.vcrcp-mcard-team-logo{width:16px;height:16px;border-radius:4px;object-fit:cover;flex:0 0 16px}
.vcrcp-mcard-team-acronym{font-size:11px;font-weight:700;color:#111827;flex:0 0 auto}
.vcrcp-mcard-team-name{font-size:11px;font-weight:400;color:#111827;background:#f3f4f6;padding:1px 6px;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vcrcp-mcard-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
/* Scoped profile-badge base styles: the public card never loads the private
 * profile-modal stylesheet, so the same badge look is defined here. */
.vcrcp-mcard-badges .vcr-cprofile-tier{align-self:flex-start;padding:2px 8px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;border:1px solid #30363d;color:#c9d1d9}
.vcrcp-mcard-badges .vcr-cprofile-tier.premium{color:#c9a5ff;border-color:#9f7aea66}
.vcrcp-mcard-badges .vcr-cprofile-tier.gold{color:#ffd700;border-color:#ffd70055}
.vcrcp-mcard-badges .vcr-cprofile-level{display:inline-flex;align-items:center;align-self:flex-start;padding:1px 7px;border-radius:10px;font-size:9px;font-weight:600;border:1px solid;white-space:nowrap}
.vcrcp-mcard-badges .vcr-cprofile-level svg{margin-right:2px;vertical-align:middle}
.vcrcp-mcard-badges .vcr-cprofile-level{background:#21262d!important}
.vcrcp-mcard-badges .vcr-cprofile-tier{background:#21262d!important}
.vcrcp-mcard-badges .vcr-cprofile-tier.premium{background:#3a2d5c!important}
.vcrcp-mcard-badges .vcr-cprofile-tier.gold{background:#4a3d0a!important}
.vcrcp-mcard-social{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.vcrcp-badge-score{position:absolute;bottom:8px;right:8px;font-size:11px;font-weight:700;padding:2px 7px;border-radius:6px;z-index:2;background:transparent;color:#111827}
.vcrcp-badge-score.gold{background:#ffd700;color:#111827}
.vcrcp-badge-score.silver{background:#c0c0c0;color:#fff}
.vcrcp-badge-score.bronze{background:#cd7f32;color:#111827}
