/* VELYRA v8.5 — Perfil: capa premium + ação editar fora da capa */
.vsl-profile-head-cover{
  min-height:320px!important;
  position:relative!important;
  overflow:hidden!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:#0e0b12!important;
  box-shadow:0 24px 80px rgba(0,0,0,.28)!important;
}
.vsl-profile-head-cover::before{
  content:"";position:absolute;inset:0;z-index:0;
  background-image:var(--vsl-profile-cover);
  background-size:cover;background-position:center 42%;
  filter:saturate(.82) contrast(1.04) brightness(.74);
  transform:scale(1.01);
}
.vsl-profile-head-cover::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg,rgba(7,6,9,.88) 0%,rgba(7,6,9,.56) 42%,rgba(7,6,9,.2) 70%,rgba(7,6,9,.38) 100%),
    linear-gradient(0deg,rgba(7,6,9,.86) 0%,transparent 52%);
  pointer-events:none;
}
.vsl-profile-cover-layer{position:absolute!important;inset:0!important;z-index:1!important;background:transparent!important}
.vsl-profile-head-cover .vsl-profile-person,
.vsl-profile-head-cover .vsl-profile-social{position:relative!important;z-index:2!important}
.vsl-profile-head-cover .vsl-profile-person{padding:135px 28px 30px!important;align-items:flex-end!important}
.vsl-profile-head-cover .vsl-profile-person>img,
.vsl-profile-head-cover .vsl-avatar-fallback{
  width:118px!important;height:118px!important;border-radius:26px!important;
  border:2px solid rgba(245,223,171,.72)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.5)!important;
  object-fit:cover!important;
}
.vsl-profile-head-cover .vsl-name-row{display:flex!important;align-items:flex-end!important;gap:12px!important}
.vsl-profile-head-cover .vsl-name-row h1{
  margin:0!important;font-size:clamp(2.55rem,4.8vw,4.7rem)!important;line-height:.92!important;
  letter-spacing:-.045em!important;text-shadow:0 3px 26px rgba(0,0,0,.48)!important;
}
.vsl-profile-head-cover .vsl-profile-identity>span{display:inline-block!important;margin-top:11px!important;color:#f3edf7!important;font-size:.98rem!important}
.vsl-profile-head-cover .vsl-profile-identity p{max-width:620px!important;color:rgba(255,255,255,.74)!important;line-height:1.55!important}
.vsl-profile-head-cover .vsl-profile-social{padding:0 26px 28px!important}
.vsl-profile-owner-actions{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  padding:12px 4px 4px!important;margin-top:2px!important;
}
.vsl-edit-profile-outside{
  display:inline-flex!important;align-items:center!important;gap:9px!important;
  min-height:42px!important;padding:9px 15px!important;border-radius:13px!important;
  border:1px solid rgba(223,181,79,.42)!important;
  background:linear-gradient(180deg,rgba(24,20,29,.96),rgba(14,12,18,.96))!important;
  color:#f2dfae!important;text-decoration:none!important;font-size:.83rem!important;font-weight:760!important;
  box-shadow:0 10px 28px rgba(0,0,0,.24)!important;transition:.18s ease!important;
}
.vsl-edit-profile-outside:hover{
  transform:translateY(-1px)!important;border-color:rgba(239,201,108,.78)!important;
  background:linear-gradient(180deg,rgba(38,30,25,.98),rgba(18,14,17,.98))!important;color:#fff3cc!important;
}
.vsl-edit-profile-outside-icon{
  width:26px;height:26px;display:grid;place-items:center;border-radius:8px;
  background:rgba(223,181,79,.1);border:1px solid rgba(223,181,79,.22);font-size:.85rem;
}
/* segurança: qualquer botão legado dentro da capa fica oculto */
.vsl-profile-head-cover .vsl-edit-profile-btn{display:none!important}

@media (max-width:900px){
  .vsl-profile-head-cover{min-height:360px!important}
  .vsl-profile-head-cover::before{background-position:center!important}
  .vsl-profile-head-cover .vsl-profile-person{padding:145px 18px 18px!important;align-items:flex-end!important}
  .vsl-profile-head-cover .vsl-profile-person>img,.vsl-profile-head-cover .vsl-avatar-fallback{width:98px!important;height:98px!important;border-radius:22px!important}
  .vsl-profile-head-cover .vsl-name-row h1{font-size:clamp(2.1rem,8vw,3.1rem)!important}
  .vsl-profile-owner-actions{padding:10px 0 2px!important}
}
@media (max-width:620px){
  .vsl-profile-head-cover{min-height:410px!important;border-radius:20px!important}
  .vsl-profile-head-cover::after{background:linear-gradient(0deg,rgba(7,6,9,.92) 0%,rgba(7,6,9,.48) 56%,rgba(7,6,9,.2) 100%)!important}
  .vsl-profile-head-cover .vsl-profile-person{padding:185px 16px 12px!important;align-items:flex-end!important;gap:13px!important}
  .vsl-profile-head-cover .vsl-profile-person>img,.vsl-profile-head-cover .vsl-avatar-fallback{width:84px!important;height:84px!important;border-radius:19px!important}
  .vsl-profile-head-cover .vsl-name-row h1{font-size:2.18rem!important;line-height:.98!important}
  .vsl-profile-head-cover .vsl-profile-social{padding:0 14px 18px!important}
  .vsl-profile-owner-actions{justify-content:stretch!important;padding:10px 0 0!important}
  .vsl-edit-profile-outside{width:100%!important;justify-content:center!important}
}
