.profile-editable-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body .profile-content-action{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;min-height:34px;padding:7px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--primary)}
.profile-content-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body .profile-tab-manage{margin-left:auto}
.profile-tab-panel .product-card,.profile-tab-panel .marketplace-doll-card,.profile-look-grid>article{position:relative}
.profile-card-tools{position:absolute;top:12px;right:12px;z-index:3;display:flex;flex-direction:column;gap:7px}
body .profile-card-tools.profile-sale-actions{position:static;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;width:100%;margin-top:auto;padding-top:12px}
body .catalog-doll-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;width:100%;margin-top:auto;padding-top:12px}
body .catalog-doll-actions>.profile-content-action{width:34px;max-width:34px;min-width:34px;flex:0 0 34px;margin:0}
.profile-content-action:hover{border-color:var(--primary);background:var(--surface2)}
.profile-content-action:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
body .mp-profile .subscription-tabs.profile-tabs[role=tablist]:not([aria-orientation=vertical]){width:100%;box-sizing:border-box;background:var(--surface);border-color:var(--line)}
body .mp-profile .subscription-tabs.profile-tabs>.btn{flex:1 0 auto;background:var(--surface);color:var(--ink);box-shadow:none}
body .mp-profile .profile-tabs .btn[aria-selected=true]{background:#963e63;color:#fff;box-shadow:0 2px 6px #54223420}
body .mp-profile .profile-tabs .btn:hover:not([aria-selected=true]){background:var(--surface2);color:var(--primary)}
body[data-theme=dark] .mp-profile .profile-tabs .btn[aria-selected=true]{background:#e5a9c2;color:#321521}
.profile-doll-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;flex:none}
body .mp-doll-portrait.doll-photo-open{display:block;padding:0;border:0;box-shadow:none;background:none;cursor:zoom-in}
.doll-photo-open:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
.doll-photo-expanded{display:block;width:100%;max-height:70vh;object-fit:contain;border-radius:12px}
/* Keep the full photograph inside the space left by the viewer's header. */
body .modal.doll-photo-modal{display:flex;flex-direction:column}
.doll-photo-modal>.modal-head{flex:none}
.doll-photo-modal>.modal-content{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.doll-photo-modal .doll-photo-expanded{min-width:0;min-height:0}
.doll-photo-modal [hidden]{display:none}
.doll-photo-status{margin:12px 0;text-align:center;overflow-wrap:anywhere}
.doll-photo-modal .doll-photo-retry{align-self:center;flex:none;margin:0}
.doll-photo-modal .doll-photo-retry[aria-disabled=true]{opacity:.65;cursor:wait}
body .profile-doll-heading-actions>.profile-content-action{width:34px;height:34px;min-height:34px;padding:7px;margin:0;border-radius:50%}
body .profile-doll-heading-actions>.primary{background:var(--primary);border-color:var(--primary);color:white}
.profile-looks-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;flex:none}
body .profile-looks-actions>.btn{margin:0}
.profile-creations-panel>.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
body .profile-creations-panel>.section-head h2{font:400 28px/1.3 var(--font-display,Georgia,serif);margin:0;min-width:0}
.profile-creations-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}
body .profile-creations-actions>.btn{margin:0;flex:none}
.profile-creations-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:245px;padding:36px 24px;border:1px solid var(--line);border-radius:18px;background:var(--surface2);text-align:center}
body .profile-creations-empty>.profile-creations-empty-art{width:58px;height:58px}
body .profile-creations-empty h3{font:400 23px/1.4 var(--font-display,Georgia,serif);margin:0;color:var(--ink)}
.profile-creations-empty p{margin:0;max-width:46ch;font-size:14px;line-height:1.8;color:var(--ink)}
@media(max-width:600px){.profile-creations-panel>.section-head{align-items:flex-start;flex-direction:column;gap:16px}.profile-creations-actions{margin-left:0;max-width:100%}.profile-creations-empty{padding:28px 20px;min-height:230px}}
.profile-public-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:20px 24px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.profile-public-notice p{margin:0;font-size:13px;line-height:1.7}
.profile-public-notice>.btn{flex-shrink:0}
.profile-public-creations{margin-top:28px}
.profile-public-creations .card{overflow:hidden}
.profile-public-creations .art{height:230px;min-height:0}
@media(max-width:600px){.profile-public-notice{align-items:flex-start;flex-direction:column;padding:20px}.profile-public-creations .grid{grid-template-columns:minmax(0,1fr)}}
