/* HW_CLAN_LEAGUE_SHIELD_LARGE_V96
   Enlarge only the current league shield in the season/standings header.
   Keep its layout box unchanged so the title/timer do not move. */
html body .rf5-board-head .rf5-badge,
html body .l2-board-head .l2-badge {
  width: 92px !important;
  height: 92px !important;
  min-width: 92px !important;
  min-height: 92px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  position: relative !important;
  left: -2px !important;
  top: -1px !important;
  margin: 0 !important;
  transform: scale(1.38) !important;
  transform-origin: center center !important;
  z-index: 3 !important;
  overflow: visible !important;
}

/* Some builds wrap the image in the badge node. Scale the image too only when
   the wrapper itself is not an IMG. This keeps the patch compatible with both
   RF5 and older L2 markup. */
html body .rf5-board-head .rf5-badge:not(img) > img,
html body .l2-board-head .l2-badge:not(img) > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

@media (max-width: 700px) {
  html body .rf5-board-head .rf5-badge,
  html body .l2-board-head .l2-badge {
    transform: scale(1.28) !important;
  }
}
