/* NETBOM DZ V231 - final small polish: search X position, card size, profile button spacing */

/* Search overlay: keep title on the left, move the close button to the opposite side */
#nbSearchGenreHubV230 .nb-hub-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  grid-template-areas:"title close" "sub close"!important;
  column-gap:12px!important;
  align-items:center!important;
}
#nbSearchGenreHubV230 .nb-search-close-v230,
#nbSearchGenreHubV230 #nbSearchCloseV230{
  grid-area:close!important;
  justify-self:end!important;
  align-self:center!important;
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  border-radius:999px!important;
}
#nbSearchGenreHubV230 .nb-hub-title{
  grid-area:title!important;
  justify-self:start!important;
  text-align:left!important;
}
#nbSearchGenreHubV230 .nb-hub-sub{
  grid-area:sub!important;
  justify-self:start!important;
  text-align:left!important;
}

/* Search cards: match the Action/category page card sizing */
#nbSearchGenreHubV230 .nb-hub-row{
  gap:14px!important;
  padding:8px 4px 18px!important;
}
#nbSearchGenreHubV230 .nb-hub-card,
#nbSearchGenreHubV230 .nb-hub-skeleton-card{
  flex:0 0 clamp(145px,42vw,210px)!important;
  width:clamp(145px,42vw,210px)!important;
  min-width:clamp(145px,42vw,210px)!important;
  max-width:clamp(145px,42vw,210px)!important;
  aspect-ratio:2/3!important;
  border-radius:18px!important;
}
#nbSearchGenreHubV230 .nb-hub-card img{
  height:100%!important;
  aspect-ratio:2/3!important;
  border-radius:18px!important;
}
@media(max-width:640px){
  #nbSearchGenreHubV230 .nb-hub-top{
    grid-template-columns:minmax(0,1fr) 40px!important;
  }
  #nbSearchGenreHubV230 #nbSearchCloseV230{
    width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  }
  #nbSearchGenreHubV230 .nb-hub-card,
  #nbSearchGenreHubV230 .nb-hub-skeleton-card{
    flex-basis:44vw!important;
    width:44vw!important;
    min-width:44vw!important;
    max-width:44vw!important;
    border-radius:16px!important;
  }
  #nbSearchGenreHubV230 .nb-hub-card img{border-radius:16px!important;}
}

/* Profile/Edit buttons: consistent vertical spacing */
#profileContent .nb-btn,
#profileContent .nb-btn2,
#profileContent .nb-settings-btn,
#profileContent .nb-menu-delete-profile-v228,
#profileContent #nbEditCurrentProfileV47,
#profileContent #nbSwitchProfilesV47,
#profileContent button{
  margin-top:10px!important;
  margin-bottom:0!important;
}
#nbProfileEditV47 .nb-prof-edit-card-v47 button,
#nbProfileEditV47 .nb-prof-edit-card-v47 .nb-btn,
#nbProfileEditV47 .nb-prof-edit-card-v47 .nb-save-v47,
#nbProfileEditV47 .nb-prof-edit-card-v47 .nb-soft-v47{
  margin-top:10px!important;
  margin-bottom:0!important;
}

/* No save-success message after Save Changes / Save */
body.nb-silent-profile-save .nb-linked-green-msg-v157,
body.nb-silent-profile-save #nbEditMsgV47,
body.nb-silent-profile-save .nb-message,
body.nb-silent-profile-save .nb-note,
body.nb-silent-profile-save #netbomToast{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}

/* V232: hide titles/names inside SEARCH result cards only */
#nbSearchGenreHubV230 .nb-hub-card .nb-hub-info,
#nbSearchGenreHubV230 .nb-hub-card .nb-hub-card-title,
#nbSearchGenreHubV230 .nb-hub-card .nb-hub-card-meta,
#nbSearchHubV227 .nb-hub-card .nb-hub-info,
#nbSearchHubV227 .nb-hub-card .nb-hub-card-title,
#nbSearchHubV227 .nb-hub-card .nb-hub-card-meta,
#nbGenreHub.open.nb-search-mode-v228 .nb-hub-card .nb-hub-info,
#nbGenreHub.open.nb-search-mode-v228 .nb-hub-card .nb-hub-card-title,
#nbGenreHub.open.nb-search-mode-v228 .nb-hub-card .nb-hub-card-meta{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
#nbSearchGenreHubV230 .nb-hub-card,
#nbSearchHubV227 .nb-hub-card,
#nbGenreHub.open.nb-search-mode-v228 .nb-hub-card{
  padding:0!important;
}
