/* The public sidebar contains only the member's chosen profile and published activity. */
.kscg-profile-card.kscg-member-card{padding:26px 24px;background:var(--surface);border-radius:24px;overflow:hidden}
.kscg-member-card .kscg-profile-heading{align-items:center;gap:15px;margin:0 0 22px}
.kscg-member-card .kscg-profile-heading .kscg-avatar{width:72px;height:72px;font-size:36px;background:#edf0e8}
.kscg-member-card .kscg-profile-heading h2{font-size:22px;line-height:1.25}
.kscg-member-card .kscg-profile-heading p{font-size:15px;line-height:1.45;margin:6px 0 0}
.kscg-member-card .kscg-profile-heading small{display:block;font-size:15px;line-height:1.45;margin-top:2px}
.kscg-member-card .kscg-profile-numbers{padding:0;gap:10px;background:none;margin:0 0 23px;color:var(--muted);font-size:14px}
.kscg-member-card .kscg-profile-numbers>span{display:block;min-width:0;padding:13px 8px;background:var(--soft);border-radius:13px}
.kscg-member-card .kscg-profile-numbers strong{font-size:29px;line-height:1.15;margin-bottom:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.kscg-member-card .kscg-bio{font-size:16px;line-height:1.65;margin:0 0 22px}
.kscg-member-card .kscg-profile-actions{display:grid;gap:3px;margin-bottom:22px}
.kscg-member-card .kscg-profile-actions .kscg-outline{min-height:46px;font-size:15px!important;padding:12px 14px;border:0;text-decoration:none;text-align:center}
.kscg-member-card .kscg-profile-actions .kscg-share{width:100%;display:block;margin:0;padding:10px 0;font-size:14px;line-height:1.4}
.kscg-profile-card.kscg-member-card .kscg-profile-stats{display:grid;gap:15px;padding:21px 0 0;margin:0;border-top:1px solid var(--line);font-size:15px;line-height:1.5}
.kscg-member-card .kscg-profile-stats>div{margin:0;display:flex;align-items:start;gap:12px;justify-content:space-between}
.kscg-member-card .kscg-profile-stats dt{display:flex;align-items:start;gap:9px;min-width:0;color:var(--muted)}
.kscg-member-card .kscg-profile-stats dt svg{width:19px;height:19px;flex:none;margin-top:2px;color:var(--ink)}
.kscg-member-card .kscg-profile-stats dd{flex:none;font-weight:550;font-variant-numeric:tabular-nums}
.kscg-member-card .kscg-earned-section{padding-top:24px;margin-top:23px;border-top:1px solid var(--line)}
.kscg-member-card .kscg-earned-heading{display:flex;align-items:baseline;gap:9px;margin-bottom:14px}
.kscg-member-card .kscg-earned-heading h3{font-size:28px;line-height:1.1;margin:0}
.kscg-member-card .kscg-earned-heading>span{font:27px/1.1 var(--display);color:var(--muted)}
.kscg-member-card .kscg-earned-mini{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.kscg-member-card .kscg-earned-medal{display:block;aspect-ratio:1;min-width:0;--badge-tint:#f1f2ea}
.kscg-member-card .kscg-earned-medal svg{display:block;width:100%;height:auto;max-width:100%;filter:none;opacity:1}
.kscg-member-card .kscg-earned-section .kscg-text-link{font-size:14px;margin-top:17px}
.kscg-profile-card.kscg-member-card .kscg-level-help{display:block;margin-top:23px;font-size:14px;line-height:1.55}
.kscg-member-card .kscg-level-help summary{cursor:pointer;color:var(--muted)}
.kscg-member-card .kscg-level-help p{margin:10px 0 0}
@media(max-width:760px){
 .kscg-profile-card.kscg-member-card{padding:21px;border-radius:21px}
 .kscg-member-card .kscg-profile-heading{margin-bottom:18px}
 .kscg-member-card .kscg-profile-heading .kscg-avatar{width:64px;height:64px;font-size:32px}
 .kscg-member-card .kscg-profile-heading h2{font-size:22px}
 .kscg-member-card .kscg-profile-numbers{margin-bottom:18px}
 .kscg-member-card .kscg-profile-numbers>span{padding:11px 8px}
 .kscg-member-card .kscg-bio{font-size:16px;margin-bottom:17px}
 .kscg-member-card .kscg-profile-actions{margin-bottom:17px}
 .kscg-profile-card.kscg-member-card .kscg-profile-stats{gap:11px;padding-top:17px}
 .kscg-member-card .kscg-earned-section{padding-top:19px;margin-top:18px}
 .kscg-member-card .kscg-earned-mini{grid-template-columns:repeat(auto-fill,minmax(43px,1fr));gap:10px}
 .kscg-member-card .kscg-earned-medal{max-width:55px}
}
/* Keep the member profile on the page canvas; only its counters are small panels. */
.kscg-member .kscg-profile-card.kscg-member-card{padding:0;background:none;border-radius:0;overflow:visible}
.kscg-member .kscg-profile-card.kscg-member-card .kscg-profile-numbers>span{background:var(--surface)}
