/* Discovery is a portrait card, never a full-width desktop strip. */
.community-page.community-browse{gap:20px}
.community-page .people-discovery{width:100%;max-width:430px;margin-inline:auto;min-width:0}
.people-discovery .community-card{min-height:360px;gap:18px;padding:24px;border-radius:26px;background:radial-gradient(ellipse at 100% 0,#2b8a6530,transparent 65%),var(--surface);box-shadow:inset 0 1px #ffffff19,0 20px 50px #00150c16}
.people-discovery .community-person-head{flex-direction:column;text-align:center;gap:12px;padding:6px 0 2px}
.people-discovery .community-avatar{width:80px;height:80px;flex:0 0 auto;aspect-ratio:1;border-radius:24px;font-size:32px}
.community-avatar img{width:100%;height:100%;object-fit:cover;aspect-ratio:1}
.people-discovery .community-person-head>div{width:100%;min-width:0}
.people-discovery .community-person-head h2{font-size:24px;line-height:1.25;font-weight:500}
.people-discovery .community-bio{font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.people-discovery .community-tags{max-height:70px;overflow:hidden;justify-content:center}
.people-discovery .community-projects{max-height:none;overflow:visible}
.people-discovery .community-project-link small{-webkit-line-clamp:1}
.people-discovery .community-card-actions{margin-top:auto;padding-top:6px;justify-content:flex-end;gap:12px}
.people-discovery .community-more{margin-left:0}
.people-discovery .discovery-actions{gap:12px;margin-top:14px}
.people-discovery .discovery-actions>.btn{min-height:52px;border-radius:18px}
:root[data-theme=light] .people-discovery .community-card{background:radial-gradient(ellipse at 100% 0,#c4edde70,transparent 65%),#f7fbf8;box-shadow:inset 0 1px #fff,0 16px 40px #28563d0d}
:root[data-theme=light] .community-avatar{background:linear-gradient(145deg,#edf9f2,#d8eee2);color:#24563f}
.community-author-page>.community-card{width:100%;max-width:640px;margin-inline:auto}
.community-grid>.community-card{max-width:520px;width:100%;justify-self:center}
@media(min-width:1100px){
 .community-page.community-browse{grid-template-columns:minmax(0,1fr) minmax(0,430px);column-gap:48px;row-gap:22px;align-items:start}
 .community-browse>.community-intro{grid-column:1;grid-row:1;margin:0;gap:14px}
 .community-browse>.community-tabs{grid-column:1;grid-row:2}
 .community-browse>.community-search{grid-column:1;grid-row:3;width:100%}
 .community-browse>.community-consent-note{grid-column:1;grid-row:4;margin-top:4px}
 .community-browse>.community-status{grid-column:1;grid-row:5}
 .community-browse>.community-profile-editor{grid-column:1;grid-row:6;margin-top:0}
 .community-browse>.people-discovery{grid-column:2;grid-row:1 / span 7}
 .community-browse>.community-intro h1{font-size:40px}
 .community-browse>.community-intro p{font-size:15px;line-height:1.7}
 .community-browse>.community-tabs .btn{font-size:13px;padding-inline:12px}
}
@media(max-width:700px){
 .community-page.community-browse{gap:16px}
 .community-browse>.community-intro{margin-bottom:0!important}
 .community-browse>.community-tabs{margin-top:0}
 .people-discovery .community-card{min-height:360px;gap:16px;padding:20px}
 .people-discovery .community-person-head{padding-top:2px}
 .people-discovery .community-avatar{width:72px;height:72px;font-size:29px;border-radius:22px}
 .people-discovery .community-person-head h2{font-size:22px}
 .people-discovery .community-bio{-webkit-line-clamp:3}
 .people-discovery .community-card-actions .btn,.people-discovery .community-more{min-height:44px}
 .people-discovery>.small{font-size:11px}
}
@media(max-width:360px){
 .people-discovery .community-card{padding:18px;gap:14px}
 .people-discovery .discovery-actions>.btn{font-size:12px}
}
/* Metallic gold: narrow bright reflection, darker facets and fine brushed grain. */
.pro-crown .icon.metallic-crown,.community-pro-crown.metallic-crown{
 background-image:repeating-linear-gradient(0deg,#ffffff13 0px,#ffffff00 .7px,#5f381515 1.4px),linear-gradient(115deg,#805523 0%,#e5bd6b 15%,#fff1bd 26%,#a66c29 36%,#f6d589 46%,#fff9e4 49%,#cf9b45 53%,#82501c 64%,#f2d18b 79%,#a87832 100%);
 background-size:100% 100%,260% 100%;background-position:0 0,70% 0;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6l5 5 4-8 4 8 5-5-2 14H5z'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6l5 5 4-8 4 8 5-5-2 14H5z'/%3E%3C/svg%3E") center/contain no-repeat;
 filter:none;animation:crown-reflection 9s ease-in-out infinite;
}
.metallic-crown>path{opacity:0}
@keyframes crown-reflection{0%,28%,100%{background-position:0 0,70% 0}58%,70%{background-position:0 0,20% 0}}
.privileges-crown{display:flex;justify-content:center;margin:0 auto 20px}
.privileges-crown .pro-crown .icon{width:76px!important;height:76px!important}
@media(prefers-reduced-motion:reduce){.metallic-crown{animation:none!important}}
@media(forced-colors:active){.metallic-crown{background:none!important;mask:none!important;-webkit-mask:none!important}.metallic-crown>path{opacity:1;fill:CanvasText}}

/* Compact mobile header keeps the decision buttons within a short scroll. */
@media(max-width:700px){
 .people-discovery .community-person-head{flex-direction:row;text-align:left;gap:14px;align-items:center}
 .people-discovery .community-person-head>div{width:auto;flex:1}
 .people-discovery .community-avatar{width:64px;height:64px;border-radius:20px;font-size:27px}
 .people-discovery .community-person-head h2{font-size:20px}
 .people-discovery .community-bio{-webkit-line-clamp:2}
}
.profile-banner .profile-name>.pro-crown{display:inline-flex;vertical-align:baseline;margin-inline-start:5px}

.profile-name-tail{display:inline-block;white-space:nowrap}.profile-name-tail .pro-crown{vertical-align:baseline}
