/* A fixed crest slot keeps names stable while the optional CDN image loads. */
.club-label { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; vertical-align: middle; text-align: left; }
.club-name { min-width: 0; overflow-wrap: anywhere; }
.club-crest { --crest-size: 1.75rem; display: inline-grid; place-items: center; flex: 0 0 var(--crest-size); width: var(--crest-size); height: var(--crest-size); vertical-align: middle; border-radius: .3rem; background: #17304f; color: #b9d6ec; overflow: hidden; line-height: 1; }
.club-crest > * { grid-area: 1 / 1; }
.club-initials { font: 700 .7rem/1 system-ui, sans-serif; }
.club-crest img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.club-crest.has-club-image { background: transparent; }
.club-crest.has-club-image img { opacity: 1; }
.club-crest.has-club-image .club-initials { visibility: hidden; }
.club-crest.pool-crest { --crest-size: 2.5rem; width: var(--crest-size); height: var(--crest-size); }
.club-crest.pool-crest.has-club-image { clip-path: none; }
.pool-team .club-crest { margin-right: 0; }
.club-preview { display: flex; flex-wrap: wrap; gap: .6rem 1rem; padding: 0; list-style: none; }
.club-preview .club-label { font-size: .875rem; }
.broadcast-output .club-crest { --crest-size: 32px; }
.broadcast-output .wheel-legend .club-crest { --crest-size: 52px; }
.broadcast-output .pool-card li.club-label { display: flex; }
.broadcast-output .broadcast-draw-list li.club-label { display: list-item; }
.broadcast-output .broadcast-draw-list .club-crest { margin-right: 10px; }
.broadcast-output .broadcast-side li.club-label { display: flex; }
.wheel-result .club-label { justify-content: center; }
@media (max-width: 520px) {
  .club-crest { --crest-size: 1.5rem; }
  .league .club-label { white-space: normal; min-width: 7rem; }
}
