/* =========================================================
   ST7D v7.9.1 - PROFILE STUDIO SIMPLIFICATION + DIRECTORY FRAME GUARD
   One preview, clear core controls, optional extras collapsed.
   ========================================================= */

/* Never let cinematic/profile-card media inherit circular avatar-frame treatment. */
.member-directory-banner.st7d-no-profile-frame,
.member-directory-banner[data-st7d-user-id]{
  border-radius:0!important;
  clip-path:none!important;
  outline:0!important;
  box-shadow:none!important;
  transform:none!important;
}
.member-directory-banner.st7d-no-profile-frame:before,
.member-directory-banner.st7d-no-profile-frame:after{display:none!important}

.profile-studio-v791 .section-title{margin-bottom:14px}
.profile-v791-start-here{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}
.profile-v791-start-here article{display:flex;gap:11px;align-items:center;padding:12px 14px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.018)}
.profile-v791-start-here article>b{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:999px;background:rgba(255,52,58,.12);border:1px solid rgba(255,52,58,.24);color:#ff6e73;font:900 15px/1 Inter,sans-serif}
.profile-v791-start-here span{display:grid;gap:2px}.profile-v791-start-here strong{font-size:12px}.profile-v791-start-here small{color:#837d79;font-size:10px;line-height:1.35}

.profile-studio-v791 .profile-studio-layout{align-items:start}
.profile-studio-v791 .profile-studio-form{display:grid;gap:13px}
.profile-studio-v791 .profile-v791-core-group{border-color:rgba(255,255,255,.10);background:linear-gradient(145deg,rgba(255,255,255,.024),rgba(255,255,255,.012))}
.profile-studio-v791 .profile-form-heading{display:flex;align-items:center;gap:8px}
.profile-studio-v791 .profile-form-heading>b{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:rgba(255,52,58,.11);color:#ff676c;font:900 11px/1 Inter,sans-serif}
.profile-v791-label{display:flex;justify-content:space-between;gap:12px;align-items:end;margin:4px 0 8px}
.profile-v791-label>strong{font-size:12px}.profile-v791-label>small{color:#77716d;font-size:9.5px}

/* Only usable themes belong in the normal editor. Locked themes remain visible in Cosmetic Collection. */
.profile-studio-v791 #profileThemePicker label.locked{display:none!important}

/* The old completion score rewarded optional fields and made the editor feel like a checklist. */
.profile-studio-v791 .profile-completion{display:none!important}
.profile-studio-v791 .profile-studio-preview-wrap{top:92px}
.profile-studio-v791 #profileStudioPreview .profile-preview-selection-grid,
.profile-studio-v791 #profileStudioPreview .profile-preview-media-grid,
.profile-studio-v791 #profileStudioPreview .profile-preview-meta{display:none!important}
.profile-studio-v791 #profileStudioPreview .profile-live-preview-head{margin-bottom:8px}
.profile-studio-v791 #profileStudioPreview .profile-live-preview-head small{max-width:310px}
.profile-studio-v791 #profileStudioPreview .profile-mini-preview{margin:0}
.profile-studio-v791 #profileStudioPreview .profile-mini-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}

.profile-v791-options{border:1px solid rgba(255,255,255,.075);border-radius:13px;background:#0c0c0f;overflow:hidden}
.profile-v791-options>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none;user-select:none}
.profile-v791-options>summary::-webkit-details-marker{display:none}
.profile-v791-options>summary>span{display:grid;gap:2px}.profile-v791-options>summary strong{font-size:12px}.profile-v791-options>summary small{color:#7f7975;font-size:10px;line-height:1.4}
.profile-v791-options>summary>b{color:#8e8783;font-size:8.5px;letter-spacing:.11em}
.profile-v791-options>summary:after{content:'+';display:grid;place-items:center;width:23px;height:23px;border-radius:999px;background:rgba(255,255,255,.045);color:#b9b2ad;font-weight:900}
.profile-v791-options[open]>summary:after{content:'–'}
.profile-v791-options[open]>summary{border-bottom:1px solid rgba(255,255,255,.07)}
.profile-v791-options-body{display:grid;gap:12px;padding:14px}
.profile-v791-subsection{padding:13px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:rgba(255,255,255,.012)}
.profile-v791-subsection h3{margin:0 0 4px;font:900 17px/1 Barlow Condensed,sans-serif;text-transform:uppercase}.profile-v791-subsection>p{margin:0 0 11px;color:#817b77;font-size:10px;line-height:1.5}
.profile-v791-public-toggle span{display:grid;gap:2px}.profile-v791-public-toggle small{color:#817b77;font-size:9.5px}
.profile-v791-advanced{border-style:dashed;background:rgba(255,255,255,.008)}
.profile-v791-advanced>summary>b{color:#b79a65}
.profile-v791-legacy-fields{display:none!important}
.profile-studio-v791 .profile-studio-actions .btn-primary span{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:6px;border-radius:999px;background:rgba(0,0,0,.22);font-size:10px}

/* Cosmetic Collection replaces the old second-preview workbench. */
.member-identity-vault-v791{padding:0!important;border:0!important;background:none!important}
.profile-cosmetic-collection{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:linear-gradient(145deg,#101013,#09090b);overflow:hidden}
.profile-cosmetic-collection>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;cursor:pointer;list-style:none;user-select:none}
.profile-cosmetic-collection>summary::-webkit-details-marker{display:none}
.profile-cosmetic-collection>summary>span{display:grid;gap:4px}.profile-cosmetic-collection>summary .section-kicker{font-size:9px}.profile-cosmetic-collection>summary strong{font:900 24px/1 Barlow Condensed,sans-serif;text-transform:uppercase}.profile-cosmetic-collection>summary small{max-width:680px;color:#837d79;font-size:10.5px;line-height:1.45}
.profile-cosmetic-collection>summary>b{white-space:nowrap;color:#a59e99;font-size:9px;letter-spacing:.12em}
.profile-cosmetic-collection>summary:after{content:'+';display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:999px;background:rgba(255,255,255,.05);font-size:18px;color:#d3ccc7}
.profile-cosmetic-collection[open]>summary:after{content:'–'}
.profile-cosmetic-collection[open]>summary{border-bottom:1px solid rgba(255,255,255,.07)}
.profile-cosmetic-collection-body{padding:18px}
.profile-v791-cosmetic-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 14px;padding:11px 13px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:rgba(255,255,255,.014)}
.profile-v791-cosmetic-toolbar>div{display:grid;gap:2px}.profile-v791-cosmetic-toolbar strong{font-size:11px}.profile-v791-cosmetic-toolbar small{color:#7e7874;font-size:9.5px;line-height:1.4}.profile-v791-cosmetic-toolbar label{display:flex;gap:7px;align-items:center;white-space:nowrap;color:#b7b0ab;font-size:10px;font-weight:700}
.member-identity-vault-v791 .identity-vault-workbench{display:block!important}
.member-identity-vault-v791 .identity-vault-catalog{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.member-identity-vault-v791 .identity-vault-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.member-identity-vault-v791 #memberIdentityVault.profile-v791-hide-locked .identity-vault-item.locked{display:none!important}
.member-identity-vault-v791 #memberIdentityVault.profile-v791-hide-locked .identity-vault-group[data-v791-all-locked="1"]{display:none!important}
.member-identity-vault-v791 .identity-vault-preview-dock,#identityVaultPreview{display:none!important}

@media(max-width:900px){
 .profile-v791-start-here{grid-template-columns:1fr}
 .member-identity-vault-v791 .identity-vault-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 .profile-v791-label{display:grid;gap:3px}
 .profile-v791-options>summary,.profile-cosmetic-collection>summary{align-items:flex-start}
 .profile-v791-options>summary>b,.profile-cosmetic-collection>summary>b{display:none}
 .profile-v791-cosmetic-toolbar{display:grid}.profile-v791-cosmetic-toolbar label{white-space:normal}
 .member-identity-vault-v791 .identity-vault-catalog,.member-identity-vault-v791 .identity-vault-summary{grid-template-columns:1fr!important}
}
