/* PROFILE CUSTOMIZATION V3 */

.profile-v3-cover{
 position:relative;
 width:100%;
 min-height:180px;
 max-height:260px;
 aspect-ratio:auto;
 overflow:hidden;
 border:1px solid #63374e;
 border-bottom:0;
 border-radius:14px 14px 0 0;
 background:#211923;
}

.profile-v3-cover>img{
 display:block;
 width:100%;
 height:220px;
 object-fit:cover;
 object-position:center;
}

.profile-v3-cover input[hidden]{
 display:none!important;
}

.profile-v3-placeholder{
 position:absolute;
 inset:0;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:8px;
 background:
 repeating-linear-gradient(
  130deg,transparent 0 45px,
  #dd478320 46px 47px,transparent 48px
 ),
 linear-gradient(135deg,#251923,#6b2546,#201820);
}

.profile-v3-placeholder strong{
 font-size:clamp(14px,2vw,24px);
}

.profile-v3-placeholder small{
 color:#d5a5bf;
 font-size:12px;
}

.profile-v3-actions{
 position:absolute;
 top:12px;
 right:12px;
 display:flex;
 gap:8px;
 z-index:3;
 opacity:0;
 visibility:hidden;
 transform:translateY(-4px);
 transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.profile-v3-cover:hover .profile-v3-actions,
.profile-v3-cover:focus-within .profile-v3-actions{
 opacity:1;
 visibility:visible;
 transform:translateY(0);
}

.profile-v3-edit,
.profile-v3-pencil{
 box-sizing:border-box!important;
 display:grid!important;
 place-items:center!important;
 padding:0!important;
 color:#f5f5f5!important;
 background:rgba(24,22,29,.92)!important;
 border:1px solid #63535e!important;
 box-shadow:0 3px 12px #0005!important;
 cursor:pointer;
 transition:opacity .18s ease, transform .18s ease, visibility .18s ease,
 background .15s ease, border-color .15s ease;
}

.profile-v3-edit{
 width:34px!important;
 height:34px!important;
 min-height:0!important;
 border-radius:10px!important;
}

.profile-v3-edit svg{
 width:16px!important;
 height:16px!important;
 pointer-events:none;
}

.profile-v3-with-cover{
 border-radius:0 0 14px 14px!important;
 margin-top:0!important;
}

.profile-v3-avatar{
 position:relative!important;
 overflow:visible!important;
 border-radius:50%!important;
}

.profile-v3-avatar>img{
 width:100%!important;
 height:100%!important;
 object-fit:cover!important;
 border-radius:50%!important;
}

.profile-v3-avatar .profile-v3-pencil{
 position:absolute!important;
 inset:auto -3px -3px auto!important;
 width:27px!important;
 height:27px!important;
 min-width:27px!important;
 min-height:27px!important;
 margin:0!important;
 border-radius:50%!important;
 transform:translateY(4px)!important;
 z-index:5;
 opacity:0;
 visibility:hidden;
}

.profile-v3-avatar:hover .profile-v3-pencil,
.profile-v3-avatar:focus-within .profile-v3-pencil{
 opacity:1;
 visibility:visible;
 transform:translateY(0)!important;
}

.profile-v3-pencil svg{
 width:13px!important;
 height:13px!important;
 pointer-events:none;
}

.profile-v3-pencil:hover,
.profile-v3-edit:hover{
 background:#a9255c!important;
 border-color:#ef5c9d!important;
}

.profile-v3-pencil:focus-visible,
.profile-v3-edit:focus-visible{
 outline:2px solid #f36ba4;
 outline-offset:3px;
}

@media(max-width:900px){
 .profile-v3-cover>img{
  height:180px;
 }
}

@media(max-width:600px){
 .profile-v3-cover>img{
  height:150px;
 }

 .profile-v3-actions{
  top:8px;
  right:8px;
 }

 .profile-v3-edit{
  width:30px!important;
  height:30px!important;
 }
}
