.profile-badges{display:inline-flex;gap:5px;align-items:center;flex-shrink:0}
.profile-badges:empty{display:none}
.profile-badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font:700 13px/1 Arial,sans-serif}
.profile-badge.verified{color:#bfe8ed;background:#193f46}
.profile-badge.premium{color:#f3d18f;background:#46371e}
.work-meta .profile-badge{width:23px;height:23px;font-size:16px}
.male-photo-heading,.profile-publication{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px}
.male-photo-heading small{margin-left:6px}
.fld .male-required:not([hidden]){display:inline}
.profile-publication{padding-top:14px;border-top:1px solid rgba(235,213,229,.15);font-size:14px;color:var(--muted)}
.male-photos{grid-template-columns:repeat(3,minmax(0,96px));gap:12px;margin-bottom:12px}
.male-photos .mg{height:128px;width:100%;position:relative}
.male-photos .mg img{width:100%;height:100%;object-fit:cover;border-radius:12px}
#view-cabinet .male-photos .mg .del,#view-cabinet .male-photos .mg .mkava{min-width:44px;min-height:44px;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center}
#maleAbout{resize:vertical;min-height:96px}
#cabSaveStatus[data-state="error"]{color:var(--red-soft)}
#cabSaveStatus[data-state="saved"]{color:#b8d9c5}
#myAnketaCard .ank-saved:empty{display:none}
#maleProfileFields input,#maleProfileFields textarea{width:100%;box-sizing:border-box}
#fltGender{max-width:230px;min-height:44px}
#forumContent{max-width:1000px;margin:0 auto;padding:0 16px}
.rail + .rail:not(:has(.rail-head)){margin-top:24px}
@media(max-width:600px){
  .profile-publication{flex-wrap:wrap}
  #fltGender{flex:1;max-width:none;min-width:150px}
  .gal-filters .flt-age{flex:1;min-width:170px}
  .male-photos{grid-template-columns:repeat(2,minmax(0,1fr));max-width:350px}
  #forumContent{padding:0 4px}
}
.member-birth{border:0;min-width:0;padding:0;margin:16px 0}
.member-birth legend{padding:0;margin-bottom:8px;color:var(--member-muted,#c5b7c6);font-size:12px}
.member-birth-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr);gap:8px}
.member-birth-controls .fld{margin:0;min-width:0}
.member-birth-controls input{width:100%;min-width:0;box-sizing:border-box;font-variant-numeric:tabular-nums}
.member-identity-row{display:grid;grid-template-columns:minmax(0,176px) 64px;gap:12px;align-items:end;margin:14px 0}
.member-identity-row .member-birth{margin:0}
.member-identity-row .member-birth-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:6px}
.member-identity-row .fld{margin:0;min-width:0}
.member-identity-row :is(input,select){min-height:44px;padding-inline:8px;width:100%;box-sizing:border-box}
.member-identity-row .member-gender-field select{padding-inline:10px}
#cabContent>.cab-mail-status{margin:0 0 16px;padding:16px 18px;background:var(--member-surface-soft,#1c1524);border-color:var(--ember,#e7b479);color:var(--member-text,#f3e8ed)}
.cab-mail-title{display:block;margin-bottom:8px;color:var(--ember,#e7b479);font-size:18px;line-height:1.4}
#cabMailStatus .btn{min-height:44px;border-color:var(--ember,#e7b479)}
.cab-profile[data-member="true"]>.cab-person-fields{grid-template-columns:1fr}
.cab-profile[data-member="true"][data-extra="true"]>.cab-person-fields{grid-template-columns:minmax(0,1fr) 90px}
#maleProfileFields>.fld{margin-top:14px}
.member-fields-pair,.member-optional-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.member-fields-pair>.fld,.member-optional-fields>.fld{min-width:0}
.member-fields-pair :is(input,select),.member-optional-fields input{width:100%;min-width:0;box-sizing:border-box}
.member-optional{margin:12px 0;color:var(--member-muted,#c5b7c6);font-size:13px}
.member-optional summary{cursor:pointer;min-height:44px;padding:10px 0;box-sizing:border-box;width:fit-content}
.member-optional-fields{padding-top:8px}
.member-profile-selection{margin-bottom:16px}
.member-profile-selection select{width:100%;max-width:100%}
.member-publication-state{font-size:12px;line-height:1.5;margin:0 0 12px}
.member-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
#memberVerifyBox{margin:12px 0;padding:12px 0}
#memberVerifyBox b{color:var(--member-muted,#c5b7c6)}
#memberVerify{margin-top:8px}
.member-video-tag{position:absolute;bottom:6px;left:6px;padding:3px 8px;border-radius:6px;background:#100b17;color:#f4eff6;font-size:11px}
.male-photos .mg video{width:100%;height:100%;object-fit:cover;border-radius:12px}
.male-photos .ui-icon{width:18px;height:18px;pointer-events:none}
.cab-profile[data-member="true"] .cab-save-row{margin-bottom:14px}
@media(max-width:400px){
  .member-optional-fields{grid-template-columns:minmax(0,1fr)}
  .member-fields-pair{gap:10px}
  .cab-profile[data-member="true"] .cab-save-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .member-birth-controls input{padding-left:10px;padding-right:6px}
  #memberProfileActions .btn{width:100%}
}
