/* World of Simulation V276 — World Cup team badges.
   The circular badge contains only a complete, centered flag. Country-code or
   regional-indicator text is never painted below/over the image. */
.clubLogo.wcFlagLogo,
.teamLogo.wcFlagLogo,
.pickLogo.wcFlagLogo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.3), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(4,16,29,.9)) !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  box-shadow: 0 7px 18px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.09) !important;
}

.clubLogo.wcFlagLogo > img.flagInLogo,
.teamLogo.wcFlagLogo > img.flagInLogo,
.pickLogo.wcFlagLogo > img.flagInLogo {
  display: block !important;
  width: 86% !important;
  height: 62% !important;
  max-width: 86% !important;
  max-height: 62% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 2px 5px rgba(0,0,0,.24) !important;
  filter: none !important;
}

.clubLogo.wcFlagLogo > span,
.teamLogo.wcFlagLogo > span,
.pickLogo.wcFlagLogo > span,
.clubLogo.wcFlagLogo.hasFlagText > span,
.teamLogo.wcFlagLogo.hasFlagText > span {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
}

/* Keep the World Cup rows circular too; the flag itself remains uncropped. */
.plHubGroupRow .clubLogo.wcFlagLogo {
  width: 18px !important;
  height: 18px !important;
  aspect-ratio: 1 / 1;
}

.wcFlagLogo.flagLoadFailed::after {
  content: "";
  width: 58%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
