/* V1308.54 — padronizacao visual do onboarding de perfil (avatar, regiao, gostos). */
#profileSetupModal.profile-setup-backdrop{
  background:rgba(1,8,20,.78);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  padding:32px 20px;
}
#profileSetupModal .profile-setup-shell{
  width:min(100%, 1080px);
  min-height:620px;
  margin:0 auto;
  padding:28px 28px 24px;
  border-radius:28px;
  border:1px solid rgba(84,145,206,.28);
  background:
    radial-gradient(circle at 16% 12%, rgba(26,103,173,.34), transparent 34%),
    linear-gradient(180deg, rgba(10,33,59,.96), rgba(4,16,33,.98));
  box-shadow:0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  color:#f2f7ff;
  display:flex;
  flex-direction:column;
  gap:18px;
  overflow:hidden;
}
#profileSetupModal .profile-setup-brand{
  width:156px;
  max-width:42vw;
  opacity:.94;
}
#profileSetupModal .profile-setup-progress{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  margin:-2px auto 6px;
}
#profileSetupModal .profile-setup-progress i{
  display:block;
  width:132px;
  max-width:18vw;
  height:1px;
  background:rgba(125,175,220,.38);
  margin:0 10px;
}
#profileSetupModal .profile-step-dot{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:14px;
  font-weight:800;
  color:#a8c0df;
  background:rgba(9,26,49,.82);
  border:1px solid rgba(91,142,191,.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
#profileSetupModal .profile-step-dot.active{
  color:#fff;
  background:linear-gradient(180deg,#2aa5ff,#1974e6);
  border-color:rgba(96,194,255,.95);
  box-shadow:0 0 0 4px rgba(45,156,255,.18);
}
#profileSetupModal .profile-setup-page{
  display:none;
  width:100%;
  max-width:960px;
  margin:0 auto;
  min-height:430px;
}
#profileSetupModal .profile-setup-page.active{
  display:flex;
  flex-direction:column;
}
#profileSetupModal .profile-setup-page .eyebrow{
  display:block;
  margin-bottom:8px;
  font-size:14px;
  line-height:1.2;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#d7e2ef;
  font-weight:800;
}
#profileSetupModal .profile-setup-page h2{
  margin:0 0 8px;
  font-size:clamp(28px,3.3vw,52px);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.03em;
  color:#f7fbff;
}
#profileSetupModal .profile-setup-page p{
  margin:0 0 26px;
  max-width:880px;
  color:#c0d2e6;
  font-size:18px;
  line-height:1.5;
}
#profileSetupModal .profile-field{display:block;width:100%;}
#profileSetupModal .profile-field span{
  display:block;
  margin:0 0 8px;
  color:#d2deec;
  font-size:14px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
#profileSetupModal .profile-field input,
#profileSetupModal .profile-field select{
  width:100%;
  height:58px;
  border-radius:14px;
  border:1px solid rgba(76,125,176,.65);
  background:rgba(5,25,48,.72);
  color:#f6fbff;
  font-size:22px;
  padding:0 18px;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
#profileSetupModal .profile-field input::placeholder{color:#8fa5bb;opacity:1;}
#profileSetupModal .profile-field input:focus,
#profileSetupModal .profile-field select:focus{
  border-color:#27a7ff;
  box-shadow:0 0 0 3px rgba(39,167,255,.17), inset 0 1px 0 rgba(255,255,255,.05);
}

#profileSetupModal .avatar-choices{
  display:grid;
  grid-template-columns:repeat(8, minmax(88px,1fr));
  gap:16px;
  align-items:start;
  width:100%;
  max-height:330px;
  padding:8px 8px 12px 0;
  overflow:auto;
  scrollbar-color:rgba(101,150,201,.7) transparent;
}
#profileSetupModal .avatar-choices::-webkit-scrollbar{width:10px;height:10px;}
#profileSetupModal .avatar-choices::-webkit-scrollbar-thumb{background:rgba(88,138,190,.65);border-radius:999px;}
#profileSetupModal .avatar-choice,
#profileSetupModal .avatar-more{
  appearance:none;
  background:transparent;
  border:0;
  padding:0;
  color:#e8f0fb;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
}
#profileSetupModal .avatar-face{
  width:84px;
  height:84px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:34px;
  font-weight:900;
  color:#fff;
  border:2px solid rgba(81,140,196,.7);
  background:linear-gradient(180deg, rgba(34,114,199,.28), rgba(11,36,65,.92));
  box-shadow:0 10px 20px rgba(0,0,0,.28);
}
#profileSetupModal .avatar-choice small,
#profileSetupModal .avatar-more small{
  font-size:13px;
  line-height:1.2;
  color:#d4e1ef;
  font-weight:700;
}
#profileSetupModal .avatar-choice.selected .avatar-face{
  border-color:#27a7ff;
  box-shadow:0 0 0 4px rgba(39,167,255,.18), 0 10px 20px rgba(0,0,0,.28);
  transform:translateY(-1px);
}
#profileSetupModal .avatar-more .avatar-more-plus{
  width:84px;
  height:84px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:50px;
  line-height:1;
  color:#e8f1ff;
  background:linear-gradient(180deg,#7542ff,#5224d6);
  border:2px solid rgba(156,123,255,.9);
  box-shadow:0 10px 20px rgba(48,21,130,.4);
}
#profileSetupModal [data-profile-step="1"] .profile-field{
  margin-top:10px;
  max-width:560px;
}
#profileSetupModal .profile-location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  width:100%;
}
#profileSetupModal .profile-location-grid .profile-region-field{grid-column:1/-1;}
#profileSetupModal .profile-genre-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
#profileSetupModal .profile-genre-grid button{
  min-height:54px;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid rgba(72,120,170,.68);
  background:rgba(5,24,47,.72);
  color:#dde8f5;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
}
#profileSetupModal .profile-genre-grid button.selected,
#profileSetupModal .profile-genre-grid button[aria-pressed="true"]{
  background:linear-gradient(180deg,#2aa5ff,#1d7ce8);
  color:#fff;
  border-color:#5cc0ff;
  box-shadow:0 0 0 2px rgba(41,165,255,.12) inset;
}
#profileSetupModal .profile-setup-actions{
  margin-top:auto;
  padding-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
#profileSetupModal .profile-primary,
#profileSetupModal .profile-secondary,
#profileSetupModal .profile-setup-actions button{
  min-width:146px;
  min-height:54px;
  padding:12px 24px;
  border-radius:14px;
  font-size:18px;
  font-weight:900;
  border:1px solid transparent;
  cursor:pointer;
}
#profileSetupModal .profile-primary{
  color:#fff;
  background:linear-gradient(180deg,#2aa5ff,#1f7be6);
  border-color:#4bb9ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
}
#profileSetupModal .profile-secondary{
  color:#dbe6f4;
  background:rgba(16,32,51,.82);
  border-color:rgba(83,110,143,.7);
}
#profileSetupModal .profile-setup-error{
  display:block;
  margin-top:12px;
  color:#ffd0d0;
  font-size:14px;
  font-weight:700;
}
#profileSetupModal .hidden{display:none !important;}

@media (max-width: 1100px){
  #profileSetupModal .avatar-choices{grid-template-columns:repeat(6,minmax(88px,1fr));}
}
@media (max-width: 860px){
  #profileSetupModal.profile-setup-backdrop{padding:14px;}
  #profileSetupModal .profile-setup-shell{
    width:100%;
    min-height:auto;
    padding:22px 18px 20px;
    border-radius:22px;
  }
  #profileSetupModal .profile-setup-progress i{width:84px;max-width:14vw;}
  #profileSetupModal .profile-setup-page h2{font-size:clamp(28px,6vw,40px);}
  #profileSetupModal .profile-setup-page p{font-size:16px;margin-bottom:20px;}
  #profileSetupModal .avatar-choices{grid-template-columns:repeat(4,minmax(78px,1fr));gap:14px;max-height:260px;}
  #profileSetupModal .avatar-face,
  #profileSetupModal .avatar-more .avatar-more-plus{width:76px;height:76px;}
  #profileSetupModal .profile-location-grid,
  #profileSetupModal .profile-genre-grid{grid-template-columns:1fr 1fr;}
  #profileSetupModal .profile-field input,
  #profileSetupModal .profile-field select{height:54px;font-size:18px;}
}
@media (max-width: 560px){
  #profileSetupModal .profile-setup-brand{width:130px;}
  #profileSetupModal .profile-setup-progress i{width:42px;margin:0 8px;}
  #profileSetupModal .profile-step-dot{width:30px;height:30px;font-size:13px;}
  #profileSetupModal .profile-setup-page{min-height:auto;}
  #profileSetupModal .avatar-choices{grid-template-columns:repeat(3,minmax(76px,1fr));gap:12px;max-height:240px;}
  #profileSetupModal .profile-location-grid,
  #profileSetupModal .profile-genre-grid{grid-template-columns:1fr;}
  #profileSetupModal .profile-setup-actions{flex-wrap:wrap;}
  #profileSetupModal .profile-setup-actions > *{flex:1 1 auto;}
  #profileSetupModal .profile-primary,
  #profileSetupModal .profile-secondary,
  #profileSetupModal .profile-setup-actions button{width:100%;}
}
