/* Keep the original artwork and reserve the colored badges for clubs without a logo. */
img.club-mark.large,
img.mr-crest-image,
:is(.club-card, .club-choice-card header, .console-club-link, .console-detail-heading, .t526-club) > img.identity-image {
  background-color: transparent;
  border-radius: 0;
}

.cp-hero-crest {
  /* Keep the grid track within the frame even when the emblem is tall. */
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.cp-hero-crest > img {
  min-width: 0;
  min-height: 0;
  filter: drop-shadow(0 3px 6px #001b1666);
}

.club-title > img.club-mark.large {
  width: clamp(46px, 5vw, 64px);
  height: clamp(46px, 5vw, 64px);
}

.tt-refined .tt-crest,
.league-table.ov-standings .ov-club-info .ov-club-crest,
.overview-table .league-table .ov-club-info .ov-club-crest {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.tt-refined .tt-crest > img.club-mark.large {
  width: 100%;
  height: 100%;
}

.league-table.ov-standings .ov-club-info .ov-club-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.league-table.ov-standings .ov-club-crest > img.club-mark {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}

.mr-score-teams [data-mr-side] img.mr-crest-image {
  border: 0;
}
