.social-profile .social-bio{margin:12px 0;color:#91647a}.social-bio b{font:italic bold 15px Georgia}.social-actions{display:flex;gap:6px;flex-wrap:wrap}.social-actions button,.social-action,.social-tabs button{background:linear-gradient(#fff8fb,#e3bfd2);border:1px solid #c59ab0;color:#894760;font:bold 12px Georgia;padding:5px 10px;cursor:pointer;box-shadow:none;border-radius:3px}.social-tabs{display:flex;gap:3px;border-top:1px solid #d9b6c7;padding-top:10px;margin-bottom:12px}.social-tabs button{flex:1;border-radius:0;padding:9px}.social-tabs .selected{background:linear-gradient(#e7bdd1,#c68da8)}.social-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}.social-columns aside section{border:1px solid #d5b0c2;margin-bottom:10px}.social-columns h3.social-heading,.social-columns aside h3{background:linear-gradient(#f0d5e2,#ce9ab4);color:#79435e;font:bold 14px Georgia;margin:0;padding:8px}.social-columns aside p,.social-columns aside #social-friends,.social-empty{padding:6px 10px;margin:0;color:#91647a;font-size:13px}.social-columns aside #social-friends button{margin:3px}.social-directory-row{display:flex;align-items:center;gap:18px;padding:12px;border-bottom:1px solid #d5b0c2}.social-directory-row .studio-avatar{flex-shrink:0}.social-columns:has(#studio-notebook){display:block}.social-columns:has(#studio-notebook) aside{display:none}@media(max-width:550px){.social-columns{grid-template-columns:1fr}.social-actions button{padding:5px 7px}}
.social-profile .studio-profile{align-items:flex-start;flex-wrap:nowrap;margin-bottom:18px}.social-profile .profile-identity{min-width:0;flex:1}.social-profile .social-bio{margin:8px 0 12px}.social-profile .social-bio p{margin:4px 0;overflow-wrap:anywhere}.social-profile .social-tabs{justify-content:flex-start;gap:3px;padding-top:0;border-top:0;border-bottom:1px solid #c59ab0;margin-bottom:12px}.social-profile .social-tabs button{flex:0 1 auto;padding:7px 22px;border-bottom:0}.social-profile #social-content{min-width:0}.social-profile #social-content:has(.social-heading){border:1px solid #d5b0c2;min-height:240px;align-self:start;background:#fffafd}.social-profile .social-columns aside{min-width:0}.social-profile .social-columns aside section{background:#fffafd}.social-profile .social-columns aside p{border-bottom:1px solid #efdee7}.social-profile .social-columns aside p:last-child{border-bottom:0}.social-profile .social-columns aside h3,.social-profile .social-heading{background:linear-gradient(#fff5fa,#e9c5d8 48%,#d4a0ba 50%,#e4bbd0);border-bottom:1px solid #c59ab0}.social-profile .social-empty{padding:14px}.social-profile .social-actions button{font:bold 12px Georgia}.social-profile .social-tabs button.selected{color:#713a55;background:linear-gradient(#fff9fc,#eac8da)}@media(max-width:550px){.social-profile .studio-profile{flex-wrap:wrap}.social-profile .social-tabs button{padding:7px 10px}}

/* Regular membership badge only; founding and owner styles are unchanged. */
.studio-badge:not(.founding):not(.admin){display:inline-block;padding:3px 10px;border:1px solid #c69ab1;border-radius:7px;background:linear-gradient(180deg,#fff9fc 0%,#f5dce8 46%,#dfb5ca 50%,#f2d6e5 100%);box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #f9e9f1,0 1px 2px #a86e9026;color:#8b4969;font:italic bold 13px Georgia,serif;text-shadow:0 1px 0 #fff8;}

/* Regular member: pink enamel bangle, rose-gold edges. */
.studio-avatar.enamel-avatar{border:0;padding:7px;background:linear-gradient(135deg,#fff0e7 0%,#b97e75 24%,#f8d9cb 46%,#b77d76 75%,#ffece0 100%);box-shadow:0 1px 2px #946c7840;isolation:isolate}
.studio-avatar.enamel-avatar::before{content:"";position:absolute;inset:1.5px;border-radius:50%;border:4px solid #e8b5cb;box-shadow:inset 0 1px 0 #fff0f7,0 1px 0 #a96f7740;pointer-events:none;z-index:1}
.studio-avatar.enamel-avatar img{display:block;min-width:0;min-height:0}

.connection-stat,.connection-name,.connection-friend{border:0;background:none;color:#894760;font:inherit;text-decoration:underline;cursor:pointer;padding:0;box-shadow:none}.connection-row{display:flex;align-items:center;gap:14px;padding:15px 8px;border-bottom:1px solid #dfbfd0;flex-wrap:wrap}.connection-identity{flex:1;min-width:100px}.connection-name{font:italic bold 17px Georgia}.connection-identity small{display:block;color:#91647a;margin-top:4px}.connection-friends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.connection-friend{display:flex;flex-direction:column;align-items:center;overflow-wrap:anywhere;min-width:0}.connection-friend .studio-avatar{transform:scale(.65);margin:-12px}.connection-stat:hover,.connection-name:hover{color:#b75c89}

.account-panel:has(#connection-list){max-width:none;width:100%;margin:0;box-sizing:border-box;background:#fff9fc}.account-panel:has(#connection-list) #connection-back{margin:0 0 8px}.account-panel:has(#connection-list) #connection-list{max-width:660px}.connection-row{padding-left:0}
/* Reserve a full decoration footprint before the username. */
.social-profile #social-friends .connection-friends{gap:12px 8px;padding:8px 0 4px;align-items:start}
.social-profile #social-friends .connection-friend{margin:0;padding:0;gap:0;display:flex;align-items:center;min-width:0;text-align:center}
.social-profile #social-friends .connection-friend .studio-avatar{width:94px;height:94px;transform:scale(.62);transform-origin:top center;margin:0 0 -20px;flex:none}
.social-profile #social-friends .connection-friend>span{display:block;max-width:100%;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
.social-profile #social-friends .friends-all{display:block;margin:8px auto 3px;font-size:12px}
.blocked-panel{border:1px solid #d5b0c2;margin-top:20px;background:#fffafd}.blocked-panel h3{margin:0;padding:8px;background:linear-gradient(#fff5fa,#d4a0ba);font:bold 14px Georgia;color:#79435e}.blocked-panel>p,.blocked-panel #blocks{padding:10px;color:#91647a;font-size:13px}.blocked-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #efdee7}.blocked-row .studio-avatar{width:48px;height:48px;padding:4px}.blocked-row .studio-avatar.enamel-avatar::before{border-width:2px}.blocked-row>span{flex:1;overflow-wrap:anywhere;min-width:0}

/* Fixed-size gallery footprint includes the full scaled locket. */
.social-profile #social-friends .friend-avatar-slot{position:relative;width:64px;height:60px;flex:none;display:block;margin:0 auto}
.social-profile #social-friends .connection-friend .friend-avatar-slot .studio-avatar{position:absolute;top:0;left:3px;width:94px;height:94px;margin:0;transform:scale(.62);transform-origin:top left}
.social-profile #social-friends .connection-friend{gap:3px;width:100%;text-decoration:none}
.social-profile #social-friends .connection-friend>span{text-decoration:underline}
.social-profile #social-friends button.friends-all{display:block;margin:10px auto 4px;text-align:center;width:max-content;max-width:100%}
.studio-badge.admin{font:italic bold 15px Georgia,serif;color:#80506a;background:linear-gradient(180deg,#fffaf0,#f2d9d9 46%,#d9b8ae 50%,#fff0e7);border:1px solid #b99a65;border-radius:12px;box-shadow:inset 0 0 0 2px #fff5e4,0 1px 2px #b99a6540;padding:4px 12px}
.studio-badge.founding{font-size:16px}

.social-profile #social-friends .friend-avatar-slot.owner-slot{height:83px}
