/* Club emblems only. No profile avatars, league marks or brand assets. */
.team-logo{width:64px;height:64px;object-fit:contain;flex-shrink:0}
.arena-crest{width:128px;height:128px;max-width:100%;object-fit:contain}
.arena-club-orbit{width:152px;height:152px;top:-6px}
.battle-club{min-width:0;gap:14px}
.battle-club .team-logo,.battle-club .logo-fallback{width:80px;height:80px}
.battle-teams{padding-top:25px;padding-bottom:24px}

/* Table identities have their own space, rather than overlapping badges. */
.club-cell{min-width:0;gap:12px}
.club-cell .team-logo,.club-cell .logo-fallback{width:36px;height:36px;flex-shrink:0;margin:0}
.club-cell>span:last-child{min-width:0;overflow-wrap:anywhere}
.fixture-cell{gap:14px;min-width:0;align-items:center}
.fixture-cell>div{min-width:0}
.fixture-clubs,.fantasy-table .fixture-clubs,.history-table .fixture-clubs{display:flex;align-items:center;gap:8px;width:88px;min-width:88px;flex-shrink:0;padding:0}
.fixture-clubs .team-logo,.fixture-clubs .logo-fallback,
.fantasy-table .fixture-clubs .team-logo,.fantasy-table .fixture-clubs .logo-fallback,
.history-table .fixture-clubs .team-logo,.history-table .fixture-clubs .logo-fallback{width:40px;height:40px;min-width:40px;flex-shrink:0;margin:0}
.fixture-clubs>:last-child{margin-left:0;filter:none}
.fantasy-table .fixture-cell strong{max-width:none;overflow-wrap:anywhere}
.history-table .fixture-cell{min-width:285px}

/* Fantasy club filters and the confirmed candidate. */
.club-tabs{gap:21px}
.club-tabs button{gap:10px;min-height:53px}
.club-tabs .team-logo,.club-tabs .logo-fallback{width:32px;height:32px;flex-shrink:0;margin:0}
.picker-selected>.team-logo,.picker-selected>.logo-fallback{display:block;width:48px;height:48px;flex-shrink:0;margin:0}

/* Custom match controls: the two crests remain separate and readable. */
.gs-selected-match{gap:12px}
.gs-club-crests{gap:8px;flex-shrink:0}
.gs-club-crests img,.gs-selected-match .gs-club-crests img{width:34px;height:34px;object-fit:contain;flex-shrink:0}
.gs-match-panel .gs-option .gs-club-crests{gap:7px}
.gs-match-panel .gs-club-crests img{width:30px;height:30px}
.gs-match-panel .gs-option{min-height:87px}
.gs-match-panel .gs-match-names{gap:7px}
.gs-match-panel .gs-match-names>span{line-height:30px}
.gs-has-match .gs-trigger{min-height:66px}

/* Lineup controls and small pitch badges keep the number unobstructed. */
.lu-team-tab{gap:15px}
.lu-team-tab>.lu-crest{width:54px;height:54px;flex-shrink:0}
.lu-token>.lu-token-crest{width:27px;height:27px;right:-13px;top:-11px}
.center-match .team-logo,.center-match .logo-fallback{width:68px;height:68px;flex-shrink:0}
.center-match>div{gap:15px;min-width:0}
.quote-club-logo{width:34px;height:34px;object-fit:contain;flex-shrink:0}
.quote-column-heads>span{gap:10px}
.scorer-card>.team-logo,.scorer-card>.logo-fallback{width:54px;height:54px;flex-shrink:0;margin:0}
.form-team-header .club-cell{gap:12px}
.comparison-heading .club-cell .team-logo{width:36px;height:36px}

@media(max-width:760px){
  .battle-club .team-logo,.battle-club .logo-fallback{width:72px;height:72px}
  .center-match .team-logo,.center-match .logo-fallback{width:58px;height:58px}
  .lu-team-tab>.lu-crest{width:46px;height:46px}
  .scorer-card>.team-logo,.scorer-card>.logo-fallback{width:48px;height:48px}
}
@media(max-width:620px){
  .arena-crest{width:100px;height:100px}
  .arena-club-orbit{width:118px;height:118px;top:-4px}
  .battle-club .team-logo,.battle-club .logo-fallback{width:68px;height:68px}
  .battle-club{gap:13px}
  .battle-teams{padding-top:24px;padding-bottom:23px}
  .club-cell .team-logo,.club-cell .logo-fallback{width:32px;height:32px}
  .fixture-clubs,.fantasy-table .fixture-clubs,.history-table .fixture-clubs{display:flex;width:72px;min-width:72px;gap:8px}
  .fixture-clubs .team-logo,.fixture-clubs .logo-fallback,
  .fantasy-table .fixture-clubs .team-logo,.fantasy-table .fixture-clubs .logo-fallback,
  .history-table .fixture-clubs .team-logo,.history-table .fixture-clubs .logo-fallback{width:32px;height:32px;min-width:32px}
  .fixture-clubs>:last-child{margin-left:0}
  .fixture-cell{gap:11px}
  .history-table .fixture-cell{min-width:255px}
  .club-tabs{gap:16px}
  .club-tabs button{min-height:52px;gap:9px}
  .club-tabs .team-logo,.club-tabs .logo-fallback{width:30px;height:30px}
  .picker-selected{gap:8px}
  .picker-selected>.team-logo,.picker-selected>.logo-fallback{display:block;width:34px;height:34px}
  .gs-selected-match{gap:10px}
  .gs-selected-match .gs-club-crests{gap:7px}
  .gs-selected-match .gs-club-crests img{width:30px;height:30px}
  .gs-match-panel .gs-club-crests img{width:28px;height:28px}
  .gs-match-panel .gs-match-names>span{line-height:28px}
  .gs-match-panel .gs-option{min-height:83px}
  .gs-has-match .gs-trigger,.lu-toolbar>.gs-select .gs-trigger{min-height:66px}
  .center-match .team-logo,.center-match .logo-fallback{width:52px;height:52px}
  .center-match>div{gap:12px}
  .quote-club-logo{width:28px;height:28px}
  .quote-column-heads>span{gap:8px}
  .scorer-card>.team-logo,.scorer-card>.logo-fallback{width:44px;height:44px}
  .comparison-heading .club-cell .team-logo{width:32px;height:32px}
}
@media(max-width:480px){
  /* The existing Fantasy card keeps its date column; crests sit above its names. */
  .fantasy-table .fixture-cell{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
  .fantasy-table .fixture-cell>div{width:100%}
  .lu-team-tab{gap:10px}
  .lu-team-tab>.lu-crest{width:42px;height:42px}
  .lu-token>.lu-token-crest{width:21px;height:21px;right:-10px;top:-10px}
}
