/* ============================================================
   [45] Nome do perfil no mobile — auto-fit real
   Impede que nome/coroa/verificado invadam Posts/Fã/Hate.
   ============================================================ */

.profile-v3 .profile-hero-inner .profile-info{
  min-width: 0 !important;
  overflow: hidden !important;
}

.profile-v3 .profile-hero-inner .profile-info h1,
.profile-v3 .profile-hero-inner .profile-info h1.profile-name-fit{
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  line-height: 1.05 !important;
  margin-bottom: 4px !important;
}

.profile-v3 .profile-hero-inner .profile-info h1 .uname{
  display: inline-block !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: var(--wz-name-max, 100%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  line-height: 1.08 !important;
  vertical-align: middle !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.profile-v3 .profile-hero-inner .profile-info h1 .verified-badge,
.profile-v3 .profile-hero-inner .profile-info h1 .premium-badge,
.profile-v3 .profile-hero-inner .profile-info h1 .admin-crown,
.profile-v3 .profile-hero-inner .profile-info h1 .crown-badge,
.profile-v3 .profile-hero-inner .profile-info h1 > svg{
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 1px !important;
  vertical-align: middle !important;
}

.profile-v3 .profile-hero-inner .profile-info .profile-stats-inline{
  flex: 0 0 auto !important;
  min-width: max-content !important;
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 640px){
  .profile-v3 .profile-hero-inner .profile-info{
    column-gap: 8px !important;
  }

  .profile-v3 .profile-hero-inner .profile-info h1,
  .profile-v3 .profile-hero-inner .profile-info h1.profile-name-fit{
    font-size: var(--wz-uname-size, 15px) !important;
    gap: 3px !important;
    min-height: 18px !important;
  }

  .profile-v3 .profile-hero-inner .profile-info h1 .uname{
    font-size: inherit !important;
  }

  .profile-v3 .profile-hero-inner .profile-info h1 .verified-badge,
  .profile-v3 .profile-hero-inner .profile-info h1 .verified-badge svg,
  .profile-v3 .profile-hero-inner .profile-info h1 .premium-badge,
  .profile-v3 .profile-hero-inner .profile-info h1 .premium-badge svg{
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
  }

  .profile-v3 .profile-hero-inner .profile-info h1 .admin-crown,
  .profile-v3 .profile-hero-inner .profile-info h1 .admin-crown svg,
  .profile-v3 .profile-hero-inner .profile-info h1 .crown-badge,
  .profile-v3 .profile-hero-inner .profile-info h1 .crown-badge svg,
  .profile-v3 .profile-hero-inner .profile-info h1 > svg{
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
  }

  .profile-v3 .profile-hero-inner .profile-stats-inline{
    gap: 8px !important;
  }

  .profile-v3 .profile-hero-inner .profile-stats-inline .stat strong{
    font-size: 15px !important;
  }

  .profile-v3 .profile-hero-inner .profile-stats-inline .stat span{
    font-size: 9px !important;
    letter-spacing: .25px !important;
  }
}

@media (max-width: 360px){
  .profile-v3 .profile-hero-inner .profile-info{
    column-gap: 6px !important;
  }

  .profile-v3 .profile-hero-inner .profile-info h1,
  .profile-v3 .profile-hero-inner .profile-info h1.profile-name-fit{
    font-size: var(--wz-uname-size, 14px) !important;
    gap: 2px !important;
  }

  .profile-v3 .profile-hero-inner .profile-stats-inline{
    gap: 6px !important;
  }

  .profile-v3 .profile-hero-inner .profile-stats-inline .stat strong{
    font-size: 14px !important;
  }
}
