/* Align the three ranked profile frames in the profile-frame chooser only. */
@media (min-width: 1024px) {
  [role="dialog"]:has(img:is([alt="Master cerceve"], [alt="Grandmaster cerceve"], [alt="Challenger cerceve"])) > .grid {
    grid-template-columns: minmax(0, 310px) minmax(0, 1fr) !important;
  }
}

[role="dialog"]:has(img:is([alt="Master cerceve"], [alt="Grandmaster cerceve"], [alt="Challenger cerceve"])) > .grid > div:first-child > .relative.mx-auto.w-fit {
  margin-top: 76px !important;
}

[role="dialog"]:has(img:is([alt="Master cerceve"], [alt="Grandmaster cerceve"], [alt="Challenger cerceve"])) > .grid > div:first-child > .relative.mt-4.text-center {
  margin-top: 30px !important;
}

[role="dialog"] img:is([alt="Master cerceve"], [alt="Grandmaster cerceve"], [alt="Challenger cerceve"]) {
  top: calc(50% - 39px) !important;
}

[role="dialog"] button img:is([src*="/frames/master.png"], [src*="/frames/grandmaster.png"], [src*="/frames/challenger.png"]) {
  width: 86px !important;
  height: 86px !important;
  max-width: none !important;
  max-height: none !important;
  flex: none;
  transform: translateY(-4px);
}
