.league-display-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:12px 0;color:#315365}
.league-display-controls label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;min-height:40px;font-size:14px;font-weight:650}
.league-display-controls input{width:18px;height:18px;cursor:pointer}.league-display-controls small{font-size:12px;color:#627986}
.league-wrap.is-compact table{min-width:var(--compact-table-width)!important;width:100%;table-layout:fixed}
.league-wrap.is-compact col:first-child{width:var(--compact-team-width,80px)!important}.league-wrap.is-compact col[span]{width:40px!important}
.league-wrap.is-compact th,.league-wrap.is-compact td{padding:5px 3px!important;min-width:0!important;font-size:12px;vertical-align:middle}
.league-wrap.is-compact .team-cell,.league-wrap.is-compact .team-column{width:var(--compact-team-width,80px)!important;min-width:0!important}
.league-wrap.is-compact .team-name-full,.league-wrap.is-compact .team-name{font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.league-wrap.is-compact .team-name-short,.league-wrap.is-compact .team-short{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.league-wrap.is-compact .score,.league-wrap.is-compact .league-match{font-size:12px;margin:2px 0;padding:3px 0;white-space:normal;overflow-wrap:anywhere}
.league-wrap.is-compact .score a{font-size:12px}.league-wrap.is-compact .match-num{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.league-wrap.is-compact .league-match .small{display:none}.league-wrap.is-compact .cell-actions{justify-content:center}
.league-wrap.is-compact .btn{font-size:11px;padding:5px 6px}.league-wrap.is-compact .summary-column{width:40px!important}

.league-display-controls .league-display-toggle{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:8px 12px;border:1px solid #c5d7de;border-radius:8px;background:#fff;color:#315365;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.league-display-toggle .league-toggle-track{position:relative;width:30px;height:18px;flex:none;background:#9aadb5;border-radius:20px;transition:background .15s}
.league-display-toggle .league-toggle-track:after{content:'';position:absolute;width:12px;height:12px;left:3px;top:3px;border-radius:50%;background:white;transition:transform .15s}
.league-display-controls .league-display-toggle[aria-checked=true]{background:#e5f3ed;border-color:#70a68f;color:#185a42}
.league-display-toggle[aria-checked=true] .league-toggle-track{background:#23805a}.league-display-toggle[aria-checked=true] .league-toggle-track:after{transform:translateX(12px)}
.league-display-toggle:focus-visible{outline:2px solid #087d95;outline-offset:3px}
.league-wrap.highlight-wins .score:has([data-league-result=win]),.league-wrap.highlight-wins .league-match:has([data-league-result=win]){background:#dcf1e4;border-radius:4px;box-shadow:inset 0 0 0 1px #b6d9c4}
@media(prefers-reduced-motion:reduce){.league-display-toggle .league-toggle-track,.league-display-toggle .league-toggle-track:after{transition:none}}

.league-wrap.highlight-wins .score:has([data-league-result=lose]),.league-wrap.highlight-wins .league-match:has([data-league-result=lose]){background:#e7edf4;border-radius:4px;box-shadow:inset 0 0 0 1px #c9d5e2}
