/* VEMNATV V1308.56 — perfil unico, desenho responsivo e avatares circulares.
   Atinge SOMENTE o modal de edicao/criacao de perfil, mantendo os dados intactos. */
#profileSetupModal.profile-setup-backdrop:not(.hidden){
  position:fixed!important;inset:0!important;display:block!important;
  width:100vw!important;height:100dvh!important;max-height:100dvh!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  background:#06121f!important;z-index:1200!important;
}
#profileSetupModal .profile-setup-shell{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  padding:20px max(22px,calc((100vw - 1190px)/2)) 32px!important;
  gap:0!important;margin:0!important;border:0!important;border-radius:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  background:radial-gradient(circle at 88% 0%,rgba(18,86,153,.21),transparent 43%),
             linear-gradient(155deg,#071b2d 0%,#071522 47%,#070e1d 100%)!important;
  box-shadow:none!important;scrollbar-color:#55555d transparent;
}
/* Um unico titulo/progresso: nao mostrar etapas numeradas. */
#profileSetupModal .profile-setup-progress{display:none!important;}
#profileSetupModal .profile-setup-brand{
  display:block!important;align-self:flex-start!important;flex:0 0 auto!important;
  width:145px!important;max-width:45vw!important;height:auto!important;
  margin:0 0 14px!important;object-fit:contain!important;
}
/* As tres secoes originais coexistem na mesma janela; botoes intermediarios ficam ocultos. */
#profileSetupModal .profile-setup-shell > .profile-setup-page,
#profileSetupModal .profile-setup-shell > .profile-setup-page:not(.active),
#profileSetupModal .profile-setup-shell > .profile-setup-page.active{
  display:flex!important;flex-direction:column!important;visibility:visible!important;opacity:1!important;
  position:relative!important;width:100%!important;max-width:1190px!important;
  min-height:0!important;height:auto!important;flex:0 0 auto!important;
  margin:0 auto!important;padding:0!important;overflow:visible!important;
}
#profileSetupModal .profile-setup-shell > .profile-setup-page[data-profile-step="1"]{
  padding-bottom:22px!important;
  border-bottom:1px solid rgba(121,167,208,.16)!important;
}
#profileSetupModal .profile-setup-shell > .profile-setup-page[data-profile-step="2"]{
  padding-top:20px!important;padding-bottom:22px!important;
  border-bottom:1px solid rgba(121,167,208,.16)!important;
}
#profileSetupModal .profile-setup-shell > .profile-setup-page[data-profile-step="3"]{
  padding-top:21px!important;padding-bottom:20px!important;
}
#profileSetupModal .profile-setup-page .eyebrow{display:none!important;}
#profileSetupModal .profile-setup-page h2{
  font-family:inherit!important;font-size:clamp(23px,2.5vw,34px)!important;
  line-height:1.16!important;letter-spacing:-.03em!important;
  font-weight:850!important;color:#f7faff!important;margin:0 0 6px!important;text-align:left!important;
}
#profileSetupModal .profile-setup-page p{
  max-width:none!important;color:#a8bfd7!important;font-size:14px!important;
  line-height:1.45!important;margin:0 0 15px!important;text-align:left!important;
}
/* Galeria de avatar flexivel, com grupos originais intactos. */
#profileSetupModal #avatarChoices.avatar-choices{
  box-sizing:border-box!important;display:flex!important;flex-flow:row wrap!important;
  align-content:flex-start!important;align-items:flex-start!important;
  width:100%!important;min-width:0!important;max-height:238px!important;
  margin:0!important;padding:10px 6px 12px!important;gap:12px 14px!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  border:1px solid rgba(105,151,193,.14)!important;border-radius:16px!important;
  background:rgba(3,14,28,.38)!important;
  scrollbar-color:#55555d transparent;
}
#profileSetupModal #avatarChoices > :not(.avatar-choice):not(.avatar-more){
  flex:1 0 100%!important;min-width:0!important;max-width:100%!important;
}
#profileSetupModal #avatarChoices .avatar-choice,
#profileSetupModal #avatarChoices .avatar-more{
  box-sizing:border-box!important;display:inline-flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;
  width:80px!important;min-width:80px!important;max-width:80px!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  flex:0 0 80px!important;gap:6px!important;margin:0!important;padding:2px!important;
  overflow:visible!important;border:0!important;border-radius:10px!important;
  background:transparent!important;box-shadow:none!important;
  cursor:pointer!important;vertical-align:top!important;
}
#profileSetupModal #avatarChoices .avatar-face,
#profileSetupModal #avatarChoices .avatar-more-plus,
#profileSetupModal #avatarChoices .avatar-choice > img{
  box-sizing:border-box!important;display:block!important;
  width:72px!important;height:72px!important;
  min-width:72px!important;max-width:72px!important;
  min-height:72px!important;max-height:72px!important;
  flex:0 0 72px!important;aspect-ratio:1/1!important;
  border-radius:50%!important;overflow:hidden!important;
  background-position:center!important;background-size:cover!important;
  object-fit:cover!important;object-position:center!important;
  border:2px solid rgba(95,145,190,.58)!important;
  transform:none!important;
}
#profileSetupModal #avatarChoices .avatar-face img,
#profileSetupModal #avatarChoices .avatar-face picture,
#profileSetupModal #avatarChoices .avatar-face picture img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;
  border-radius:50%!important;display:block!important;
}
#profileSetupModal #avatarChoices .avatar-choice.selected .avatar-face,
#profileSetupModal #avatarChoices .avatar-choice.selected > img{
  border-color:#ededf0!important;
  box-shadow:0 0 0 3px rgba(44,171,255,.36),0 6px 18px rgba(0,0,0,.25)!important;
}
#profileSetupModal #avatarChoices .avatar-choice.hidden,
#profileSetupModal #avatarChoices .avatar-more.hidden{display:none!important;}
#profileSetupModal #avatarChoices .avatar-choice small,
#profileSetupModal #avatarChoices .avatar-more small{
  font-size:11px!important;line-height:1.15!important;max-width:86px!important;
  text-align:center!important;white-space:normal!important;
}
#profileSetupModal [data-profile-step="1"] .profile-field{
  margin-top:14px!important;max-width:480px!important;width:100%!important;
}
#profileSetupModal .profile-field span{
  display:block!important;color:#bdd1e5!important;font-size:11px!important;line-height:1.2!important;
  letter-spacing:.045em!important;margin:0 0 6px!important;text-transform:uppercase!important;font-weight:750!important;
}
#profileSetupModal .profile-field input,
#profileSetupModal .profile-field select{
  box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;
  padding:0 13px!important;font-size:14px!important;line-height:1.3!important;
  border:1px solid #49494f!important;border-radius:10px!important;
  background:#242428!important;color:#f0f6ff!important;outline:0!important;
}
#profileSetupModal .profile-field input:focus,
#profileSetupModal .profile-field select:focus{
  border-color:#e5e5e7!important;box-shadow:0 0 0 3px rgba(41,166,248,.2)!important;
}
#profileSetupModal .profile-location-grid{
  display:flex!important;flex-flow:row wrap!important;align-items:flex-start!important;
  gap:13px 16px!important;width:100%!important;margin:1px 0 0!important;
}
#profileSetupModal .profile-location-grid > .profile-field{
  flex:1 1 240px!important;min-width:min(100%,210px)!important;max-width:none!important;
  margin:0!important;
}
#profileSetupModal .profile-location-grid > .profile-region-field{
  flex:1 1 240px!important;grid-column:auto!important;
}
#profileSetupModal .profile-location-grid > .profile-field.hidden{display:none!important;}
/* Gostos fluidos em chips; nao dependem de uma grade fixa. */
#profileSetupModal .profile-genre-grid{
  display:flex!important;flex-flow:row wrap!important;align-items:stretch!important;
  gap:9px!important;width:100%!important;margin:1px 0 0!important;
}
#profileSetupModal .profile-genre-grid > button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;flex:0 0 auto!important;
  width:auto!important;min-width:112px!important;max-width:100%!important;
  min-height:39px!important;height:39px!important;padding:8px 17px!important;
  font-size:13px!important;font-weight:700!important;line-height:1.15!important;
  color:#c6daed!important;background:#28282c!important;
  border:1px solid #505056!important;border-radius:999px!important;
  cursor:pointer!important;
}
#profileSetupModal .profile-genre-grid > button.selected,
#profileSetupModal .profile-genre-grid > button[aria-pressed="true"]{
  background:linear-gradient(160deg,#515158,#303035)!important;
  color:#fff!important;border-color:#ededf0!important;
  box-shadow:0 4px 12px rgba(0,112,210,.14)!important;
}
#profileSetupModal [data-profile-step="1"] > .profile-setup-actions,
#profileSetupModal [data-profile-step="2"] > .profile-setup-actions,
#profileSetupModal #profileNext1,
#profileSetupModal #profileNext2,
#profileSetupModal [data-profile-back]{display:none!important;}
#profileSetupModal [data-profile-step="3"] > .profile-setup-actions{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  padding:18px 0 0!important;margin:0!important;gap:12px!important;
}
#profileSetupModal #profileFinish{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:176px!important;height:46px!important;min-height:46px!important;
  padding:10px 22px!important;border:1px solid #d9d9de!important;
  border-radius:12px!important;color:#fff!important;
  background:linear-gradient(180deg,#59595f,#323237)!important;
  box-shadow:0 8px 25px rgba(4,106,215,.23)!important;
  font-size:14px!important;font-weight:800!important;cursor:pointer!important;
}
#profileSetupModal #profileSetupError{
  display:block!important;margin:8px 0 0!important;color:#ffb9b9!important;font-size:13px!important;
}
@media(max-width:750px){
  #profileSetupModal .profile-setup-shell{padding:17px 16px 30px!important;}
  #profileSetupModal .profile-setup-brand{width:127px!important;}
  #profileSetupModal #avatarChoices.avatar-choices{max-height:214px!important;gap:10px!important;}
  #profileSetupModal .profile-location-grid > .profile-field{flex:1 1 100%!important;}
  #profileSetupModal .profile-genre-grid > button{min-width:0!important;}
  #profileSetupModal .profile-setup-page h2{font-size:25px!important;}
}
