/* V7.2.x — scoped layout and club participation improvements */
/* The old .versus span selector made every team label look like a score. */
.matchcard .v722-match-versus{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;min-height:110px;max-width:100%;text-align:center}
.matchcard .v722-match-versus>.v667-team{display:block!important;min-width:0!important;max-width:100%!important;font-size:13px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere}
.matchcard .v722-match-versus .lwf-club-link{display:block!important;min-width:0!important;max-width:100%!important}
.matchcard .v722-match-versus .lwf-club-badge{display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important;min-width:0!important;max-width:100%!important}
.matchcard .v722-match-versus .lwf-club-badge>img,.matchcard .v722-match-versus .lwf-club-fallback{width:43px!important;height:43px!important;flex:0 0 43px!important;max-width:43px!important;padding:2px!important}
.matchcard .v722-match-versus .lwf-club-name{font-size:clamp(11px,1vw,13px)!important;font-weight:800!important;line-height:1.55!important;white-space:normal!important;overflow-wrap:anywhere!important;display:block!important;max-width:100%!important}
.matchcard .v722-match-versus>.v700-score{font-size:16px!important;line-height:1.2!important;background:#123d30!important;color:#fff!important;min-width:54px!important;padding:10px 8px!important;border-radius:9px!important;white-space:nowrap!important}
.matchcard .v672-match-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;font-size:12px}
.matchcard .v672-match-meta span{display:inline-flex;align-items:center;gap:4px;min-width:0}
.matchcard .v672-match-meta svg{width:16px!important;height:16px!important;flex:0 0 16px!important}
/* Sports admin: logos in the middle of a balanced three-column identity. */
.v722-sports-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;width:100%;min-width:280px;text-align:center}
.v722-sports-teams>div,.v722-sports-teams>span:not(.v722-sports-vs){min-width:0;text-align:center}
.v722-sports-teams .lwf-club-link{display:block;min-width:0}
.v722-sports-teams .lwf-club-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;max-width:100%}
.v722-sports-teams .lwf-club-name{white-space:normal;overflow-wrap:anywhere;max-width:160px;font-size:12px}
.v722-sports-teams .lwf-club-badge>img,.v722-sports-teams .lwf-club-fallback{width:34px;height:34px;flex-basis:34px}
.v722-sports-vs{display:inline-block!important;flex:0 0 auto;background:#123d30;color:#fff!important;padding:8px;border-radius:8px;font-weight:900;min-width:48px;font-size:14px;line-height:1.2;white-space:nowrap}
/* Rankings in RTL: crest at the right, name immediately to its left. */
.v722-ranking-club{text-align:right!important;min-width:190px}
.v722-ranking-club .lwf-club-link{display:inline-flex;vertical-align:middle;max-width:100%}
.v722-ranking-club .lwf-club-badge{display:inline-flex!important;flex-direction:row!important;align-items:center!important;direction:rtl!important;gap:8px!important;text-align:right!important}
.v722-ranking-club .lwf-club-badge img,.v722-ranking-club .lwf-club-fallback{width:32px;height:32px;flex-basis:32px}
.v722-ranking-identity{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.v722-withdrawn{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:2px 8px;border-radius:20px;background:#fff0ed;color:#963a2a;font-size:11px;font-weight:800;line-height:1.7;margin-inline-start:5px;white-space:normal}
/* Affiliate club listing filters */
.v722-club-filter{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:0 0 18px;padding:14px;border:1px solid #dae5df;border-radius:12px;background:#f7faf8}
.v722-club-filter label{font-size:12px;font-weight:800;min-width:190px;flex:1 1 200px}
.v722-club-filter label select{display:block;width:100%}
.v722-club-count{font-weight:700;color:#476357;font-size:12px}
.v722-missing-crest{display:grid;place-items:center;width:65px;height:65px;border-radius:10px;background:#edf3ef}.v722-missing-crest svg{width:28px;height:28px}
.v722-status-form{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:6px;min-width:260px}
.v722-status-form label{display:block;font-size:11px;font-weight:600}.v722-status-form input,.v722-status-form select{padding:5px 7px;min-height:36px;font-size:12px;width:100%;max-width:100%}.v722-status-form button{grid-column:1/-1}
/* Consistent small referee icons, no large emblems. */
.lwf-ref-crew svg,.lwf-ref-card .lwf-ref-crew .lwf-icon{width:17px!important;height:17px!important;vertical-align:middle;flex:0 0 17px!important}
.lwf-ref-matches .lwf-ref-card{min-width:0}
@media(max-width:640px){.v722-sports-teams{min-width:250px;gap:5px}.v722-sports-teams .lwf-club-name{font-size:11px}.v722-status-form{min-width:220px}.matchcard .v722-match-versus{gap:5px}.matchcard .v722-match-versus>.v700-score{min-width:42px;font-size:13px;padding:8px 5px}}

.matchcard .v722-match-versus .v722-withdrawn{font-size:10px!important;color:#963a2a!important;white-space:normal!important;font-weight:800!important;line-height:1.5!important}

/* V7.3.6 — Keep the withdrawal badge compact inside club cards. */
.clubcard > .v722-withdrawn{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  padding:4px 9px;
  font-size:11px!important;
  line-height:1.55!important;
  font-weight:800;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  flex:0 1 auto;
}
