.studio-profile{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.studio-profile h2{margin:0 0 8px}.studio-avatar{position:relative;box-sizing:border-box;width:94px;height:94px;border:3px solid #d6a9bf;border-radius:50%;background:#efd8e4;display:grid;place-items:center;flex:none;color:#a76c89;font-size:32px}.studio-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.studio-avatar.pearl{border:7px solid #e9d1ce}.studio-avatar i{position:absolute;left:50%;top:50%;width:9px;height:9px;border-radius:50%;background:radial-gradient(circle at 30% 25%,white,#fff5e9 45%,#bc8f9e);border:1px solid #c39eaf;box-sizing:border-box;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-44px)}.studio-badge{display:inline-block;padding:3px 8px;border:1px solid #d8b5c6;background:#f3dce7;color:#92516f;font:italic bold 13px Georgia,serif}.studio-badge.founding{background:linear-gradient(#fff9f1,#ebc9e3 45%,#c79bc9 50%,#f3d8e9);border:1px solid #b18bb9;box-shadow:inset 0 0 0 2px #fff9f3;color:#75476e}.studio-badge.admin{background:#854761;color:white}.profile-copy{white-space:pre-wrap;overflow-wrap:anywhere}.signature{font-style:italic;border-top:1px solid #d8b5c6;padding-top:10px}.account-panel textarea{display:block;width:100%;box-sizing:border-box;min-height:65px}.account-panel input[type=checkbox]{width:auto;display:inline}.account-panel input[type=file]{max-width:100%}

/* Profile card: vintage forum styling */
.account-panel:has(.profile-card){max-width:660px;padding:22px 18px 12px;box-sizing:border-box;font-size:14px;color:#80546a}.profile-card{background:#fff9fc;border:1px solid #d8b5c6;padding:22px;box-shadow:inset 0 0 0 3px #fff;box-sizing:border-box}.profile-card .studio-profile{align-items:center;gap:20px;flex-wrap:nowrap;padding:4px 0 18px}.profile-identity{min-width:0;flex:1}.profile-card .studio-profile h2{font:italic normal 30px/1.15 Georgia,serif;color:#854761;margin:0 0 8px;overflow-wrap:anywhere}.profile-card .studio-profile p{font-size:13px;line-height:1.5;margin:5px 0;color:#80546a}.profile-card .studio-profile .tiny{font-size:12px;color:#987587}.profile-card .profile-link{background:none;border:0;box-shadow:none;padding:0;margin:5px 0;color:#965773;text-decoration:underline;font:inherit;cursor:pointer}.profile-card .studio-avatar{width:94px;height:94px}.profile-about{border-top:1px solid #d8b5c6;padding:15px 0 8px}.profile-caption{font:italic 16px Georgia,serif;color:#854761}.profile-card .profile-copy{margin:8px 0;line-height:1.6}.profile-card .empty{font:italic 14px Georgia,serif;color:#987587}.profile-card .signature{border-top:1px dotted #d8b5c6;font:italic 14px Georgia,serif}.profile-footer{border-top:1px solid #d8b5c6;margin-top:12px;padding-top:9px}.profile-card .studio-badge{margin:0 0 5px;padding:5px 12px}.profile-card .studio-badge.founding{font-size:16px}.account-panel:has(.profile-card) #account-message:empty{display:none}@media(max-width:480px){.account-panel:has(.profile-card){padding:12px}.profile-card{padding:14px}.profile-card .studio-profile{gap:14px}.profile-card .studio-profile h2{font-size:25px}}

/* Full-width member page, no nested card */
.account-panel:has(.profile-card){max-width:none;width:100%;margin:0;padding:0;background:#fff9fc;box-sizing:border-box}.profile-card{width:100%;max-width:none;margin:0;padding:16px 18px 20px;border:0;box-shadow:none;background:transparent}.profile-card .studio-profile{align-items:flex-start;gap:14px;padding:0 0 18px}.profile-card .studio-profile h2{font-size:28px}.profile-about{padding:18px 0 12px}.profile-footer{margin-top:18px;padding-top:14px}.account-panel:has(.profile-card) #account-message:not(:empty){padding:0 18px 12px}@media(max-width:480px){.account-panel:has(.profile-card){padding:0}.profile-card{padding:14px 12px}.profile-card .studio-profile h2{font-size:24px}}

.studio-avatar.owner-avatar{border:2px solid #c5a16e;margin-bottom:23px;overflow:visible}.studio-avatar.owner-avatar .owner-locket{position:absolute;inset:-5px auto auto -5px;width:100px;height:126px;max-width:none;object-fit:contain;border-radius:0;pointer-events:none;filter:drop-shadow(0 1px 1px #ad829644)}

.profile-card .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}.owner-glint,.owner-chain-glint{position:absolute;z-index:3;pointer-events:none;color:#fff;font:20px/1 Georgia,serif;text-shadow:0 0 3px #fff,0 0 5px #d4aa64;opacity:0;animation:owner-jewel-glint 4s ease-in-out infinite}.owner-glint{left:55px;top:94px}.owner-chain-glint{left:10px;top:68px;font-size:15px;animation-delay:1.5s}@keyframes owner-jewel-glint{0%,65%,100%{opacity:0;transform:scale(.4) rotate(-15deg)} 76%{opacity:1;transform:scale(1.1) rotate(12deg)} 88%{opacity:0;transform:scale(.5) rotate(35deg)}}@media(prefers-reduced-motion:reduce){.owner-glint,.owner-chain-glint{animation:none;opacity:0}}
