.stream-team-league-match-gadget.is-card-row .stream-team-league-match-gadget__cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--lineup-gap, 12px);
    container-type: size;
}
.stream-team-league-match-gadget.is-card-row .team-league-broadcast-card,
.stream-lineup-placeholder {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 1 auto;
    width: min(calc((100cqw - (var(--lineup-count) - 1) * var(--lineup-gap)) / var(--lineup-count)), calc(100cqh * var(--player-card-aspect-width, 5) / var(--player-card-aspect-height, 7)));
    max-height: 100%;
    transform: none;
}
.stream-lineup-placeholder {
    aspect-ratio: 5 / 7;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #233344, #101923);
    border: 2px solid #7d91a5;
    border-radius: 12px;
    color: #bccbd8;
    font: 700 32px "Figtree", sans-serif;
}
.stream-team-league-match-gadget .team-league-broadcast-card {
    filter: drop-shadow(0 9px 10px rgba(0, 3, 14, .38));
}
.stream-team-league-match-gadget.is-active .team-league-broadcast-card {
    --draft-glow-color: #fff;
    isolation: isolate;
    filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .76));
}
.stream-team-league-match-gadget .team-league-broadcast-card .team-league-broadcast-card__shine {
    animation: none;
}
.team-league-broadcast-card__design:not([data-card-design-surface]) { display: contents; }
.team-league-broadcast-card__template-back { position: absolute; inset: 0; }
.team-league-broadcast-card__template-back .team-player-card { width: 100%; height: 100%; min-width: 0; max-width: none; margin: 0; aspect-ratio: auto; pointer-events: none; }
.team-league-broadcast-card__template-back .team-player-card__tilt,
.team-league-broadcast-card__template-back .team-player-card__flipper,
.team-league-broadcast-card__template-back .team-player-card__face { transform: none !important; }
.team-league-broadcast-card__design[data-card-design-surface] { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.stream-layout-body [data-team-league-cards-hidden="true"] .stream-team-league-match-gadget [data-team-league-card],
.stream-layout-body [data-team-league-cards-hidden="true"] .stream-team-league-match-gadget .stream-lineup-placeholder { opacity: 0; }
.broadcast-team-league-selection { display: grid; gap: 16px; margin-bottom: 24px; }
.broadcast-command-status { position: sticky; top: 8px; z-index: 5; min-height: 1.5em; margin: 0 0 8px; color: var(--muted); background: var(--panel, #101823); }
.broadcast-command-status.is-error { color: #ff9292; }
[data-broadcast-controls][aria-busy="true"] { cursor: progress; }
.broadcast-team-league-selection form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.broadcast-team-league-selection label { display: grid; gap: 6px; min-width: 0; flex: 1; }
.broadcast-team-league-selection select { width: 100%; min-width: 0; height: 48px; box-sizing: border-box; }
.broadcast-team-league-selection form > button { min-height: 48px; }
.broadcast-team-league-selection .broadcast-league-fixture-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.broadcast-league-week { grid-column: 1 / -1; }
#team-league-duel-selection > label:first-child { flex: 2; }
.broadcast-duel-maps { display: grid; gap: 12px; padding: 20px; border: 1px solid #304258; border-radius: 12px; }
.broadcast-duel-maps h3 { margin: 0; }
.broadcast-duel-rosters { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 20px; padding-bottom: 8px; }
.broadcast-duel-versus { align-self: center; color: var(--muted); }
.broadcast-duel-side { display: grid; gap: 12px; min-width: 0; }
.broadcast-duel-players { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.broadcast-duel-player { display: flex; align-items: center; gap: 8px; min-width: 0; }
.broadcast-duel-player__portrait { width: 42px; height: 48px; object-fit: cover; border-radius: 6px; }
.broadcast-duel-player__info { display: grid; gap: 4px; overflow-wrap: anywhere; }
.broadcast-duel-player__races, .broadcast-duel-player__played { display: flex; align-items: center; gap: 6px; }
.broadcast-team-league-selection .broadcast-replay-map { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 12px 0; border-top: 1px solid #304258; }
.broadcast-replay-map__info { display: grid; gap: 4px; }
.broadcast-replay-map__info small { color: var(--muted); }
.broadcast-replay-map__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.broadcast-replay-map__actions button { min-height: 44px; min-width: 160px; }
.broadcast-team-league-selection [hidden] { display: none !important; }
@media (max-width: 700px) {
    .broadcast-team-league-selection form > label,
    #team-league-duel-selection > label:first-child { flex-basis: 100%; }
    .broadcast-team-league-selection .broadcast-league-fixture-form,
    .broadcast-team-league-selection .broadcast-replay-map { grid-template-columns: minmax(0, 1fr); }
    .broadcast-replay-map__actions { justify-self: end; }
    .broadcast-duel-maps { padding: 12px; }
    .broadcast-duel-rosters { gap: 10px; }
}
[data-template-test-league-mock-control] { flex: 1 0 100%; grid-column: 1 / -1; display: grid; gap: 12px; }
[data-template-test-league-mock-fields]:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
[data-template-test-league-mock-fields] > small { grid-column: 1 / -1; }
.stream-team-standings { width: 100%; height: 100%; container-type: size; background: linear-gradient(135deg, #343434, #242424); color: inherit; font: inherit; white-space: normal; clip-path: polygon(4% 0,100% 0,100% 94%,96% 100%,0 100%,0 5%); }
.stream-team-standings table { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; font-family: inherit; font-weight: inherit; font-size: min(1em, calc((100cqh - 80px) / var(--standings-rows, 6) * .5)); text-align: center; }
.stream-team-standings th { height: 80px; color: #579eff; font-weight: 400; border-bottom: 1px solid #579eff; }
.stream-team-standings th:first-child { width: 8%; }
.stream-team-standings th:nth-child(2) { width: 35%; text-align: left; }
.stream-team-standings th:nth-child(3), .stream-team-standings th:nth-child(4) { width: 10%; }
.stream-team-standings th:nth-child(5) { width: 20%; }
.stream-team-standings td { padding: 8px 12px; overflow: hidden; }
.stream-team-standings .is-bottom { background: #940d32; }
.stream-team-standings__team { display: flex; align-items: center; gap: 20px; text-align: left; min-width: 0; }
.stream-team-standings__team > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stream-team-standings__team img, .stream-team-standings__missing-logo { width: min(76px, calc((100cqh - 80px) / var(--standings-rows, 6) - 16px)); height: min(76px, calc((100cqh - 80px) / var(--standings-rows, 6) - 16px)); object-fit: contain; flex-shrink: 0; }
.stream-team-standings--empty { display: grid; place-items: center; padding: 40px; box-sizing: border-box; }
.stream-ingame-players { display: grid; grid-template-rows: repeat(var(--player-count), minmax(0, 1fr)); width: 100%; height: 100%; min-width: 0; line-height: 1.1; }
.stream-ingame-players__row { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; font-size: min(1em, 12px); }
.stream-ingame-players__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; text-shadow: 0 1px 2px #000; }
.stream-ingame-players__position { flex: 0 0 auto; font-weight: 900; text-shadow: 0 1px 2px #000; }
.stream-ingame-players.is-single .stream-ingame-players__row { flex-direction: column; gap: 0; font-size: inherit; }
.stream-ingame-players.is-single .stream-ingame-players__name { display: flex; align-items: center; width: 100%; height: 41px; color: inherit; text-shadow: none; }
.stream-ingame-players.is-single .stream-ingame-players__position { display: flex; align-items: center; justify-content: center; height: 34px; font-size: 24px; }
.stream-ingame-players.is-single.is-away .stream-ingame-players__name { justify-content: flex-end; }
.stream-ingame-players.is-single.is-home .stream-ingame-players__position { align-self: flex-start; width: 65px; max-width: 100%; }
.stream-ingame-players.is-single.is-away .stream-ingame-players__position { align-self: flex-end; width: 65px; max-width: 100%; }
