/* =========================================================
   NOVA PROFILE HEADER FIX V3
   ========================================================= */

body.nova-profile-v3 .npv3-hero{
  position:relative !important;
  display:grid !important;
  grid-template-columns:160px minmax(0,1fr) auto !important;
  grid-template-areas:"avatar info actions" !important;
  align-items:center !important;
  gap:28px !important;

  width:100% !important;
  min-height:250px !important;
  padding:34px 40px !important;
  margin:0 !important;

  overflow:hidden !important;
  box-sizing:border-box !important;

  border:1px solid rgba(0,234,212,.28) !important;
  border-radius:20px !important;

  background:
    linear-gradient(90deg,rgba(3,17,24,.90),rgba(4,20,27,.78)),
    var(--npv3-banner, none),
    linear-gradient(145deg,#08212b,#061821 62%,#05151d) !important;

  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}

body.nova-profile-v3 .npv3-hero::after{
  content:"";
  position:absolute;
  right:-80px;
  top:-120px;
  width:260px;
  height:260px;
  border:1px solid rgba(0,234,212,.08);
  border-radius:50%;
  box-shadow:
    0 0 0 42px rgba(0,234,212,.022),
    0 0 0 84px rgba(0,234,212,.014);
  pointer-events:none;
}

/* Bannerquelle inkl. Wrapper vollständig aus Layout nehmen */
body.nova-profile-v3 .npv3-banner-hidden{
  display:none !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

/* Avatar */
body.nova-profile-v3 .npv3-avatar{
  grid-area:avatar !important;
  position:relative !important;
  z-index:2 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:160px !important;
  min-width:160px !important;
  height:160px !important;

  margin:0 !important;
  padding:0 !important;

  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
}

body.nova-profile-v3 .npv3-avatar img{
  display:block !important;

  width:136px !important;
  height:136px !important;
  min-width:136px !important;
  min-height:136px !important;
  max-width:136px !important;
  max-height:136px !important;

  aspect-ratio:1 / 1 !important;

  margin:0 !important;
  padding:0 !important;

  border:2px solid rgba(0,234,212,.68) !important;
  border-radius:50% !important;

  object-fit:cover !important;
  object-position:center !important;

  background:#071923 !important;

  box-shadow:
    0 0 0 6px rgba(0,234,212,.055),
    0 18px 38px rgba(0,0,0,.25) !important;

  transform:none !important;
}

/* Profilinformationen */
body.nova-profile-v3 .npv3-info{
  grid-area:info !important;
  position:relative !important;
  z-index:2 !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;

  min-width:0 !important;
  width:100% !important;
  max-width:760px !important;

  margin:0 !important;
  padding:0 !important;

  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;

  text-align:left !important;
}

body.nova-profile-v3 .npv3-info h1,
body.nova-profile-v3 .npv3-info h2{
  margin:3px 0 9px !important;
  color:#f5f8f9 !important;

  font-size:clamp(36px,4vw,54px) !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
}

body.nova-profile-v3 .npv3-kicker{
  color:#6aa8b8 !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.15em !important;
  text-transform:uppercase !important;
}

body.nova-profile-v3 .npv3-badges{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:7px !important;
  margin:0 0 12px !important;
}

body.nova-profile-v3 .npv3-progress{
  width:min(100%,620px) !important;
  max-width:620px !important;
  margin-top:4px !important;
}

/* Aktionen */
body.nova-profile-v3 .npv3-actions{
  grid-area:actions !important;
  position:relative !important;
  z-index:2 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;

  width:auto !important;
  min-width:max-content !important;

  margin:0 !important;
  padding:0 !important;

  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
}

body.nova-profile-v3 .npv3-actions a,
body.nova-profile-v3 .npv3-actions button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  min-height:44px !important;
  padding:11px 18px !important;

  border:1px solid rgba(82,232,224,.72) !important;
  border-radius:10px !important;

  background:linear-gradient(135deg,#5ce9e1,#25d6d0) !important;

  color:#022127 !important;
  -webkit-text-fill-color:#022127 !important;

  opacity:1 !important;
  visibility:visible !important;

  font-size:12px !important;
  line-height:1 !important;
  font-weight:900 !important;

  text-decoration:none !important;
}

body.nova-profile-v3 .npv3-actions a *,
body.nova-profile-v3 .npv3-actions button *{
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
}

/* Alte Fix-Klassen vollständig neutralisieren */
body.nova-profile-v3 .nova-profile-fixed-hero,
body.nova-profile-v3 .nova-profile-avatar-wrap,
body.nova-profile-v3 .nova-profile-info-wrap,
body.nova-profile-v3 .nova-profile-actions-wrap,
body.nova-profile-v3 .npv2-hero,
body.nova-profile-v3 .npv2-avatar,
body.nova-profile-v3 .npv2-info,
body.nova-profile-v3 .npv2-actions{
  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
}

/* Tablet */
@media(max-width:900px){
  body.nova-profile-v3 .npv3-hero{
    grid-template-columns:150px minmax(0,1fr) !important;
    grid-template-areas:
      "avatar info"
      "actions actions" !important;
    gap:22px !important;
    padding:28px !important;
  }

  body.nova-profile-v3 .npv3-actions{
    justify-content:flex-start !important;
  }
}

/* Mobile */
@media(max-width:620px){
  body.nova-profile-v3 .npv3-hero{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "avatar"
      "info"
      "actions" !important;
    text-align:center !important;
  }

  body.nova-profile-v3 .npv3-avatar{
    justify-self:center !important;
  }

  body.nova-profile-v3 .npv3-info{
    align-items:center !important;
    text-align:center !important;
  }

  body.nova-profile-v3 .npv3-badges{
    justify-content:center !important;
  }

  body.nova-profile-v3 .npv3-actions{
    justify-content:center !important;
  }
}