/* Broadcast layouts follow the two supplied references, using the shared live HUD. */
.hud:is([data-league=ligue1],[data-league=ligamx]){overflow:visible}
.hud:is([data-league=ligue1],[data-league=ligamx]) :is(.tv-match,.tv-result){display:contents}
.hud:is([data-league=ligue1],[data-league=ligamx]) .tv-team img{display:none}
.hud[data-league=ligue1] .tv-season,.hud:is([data-league=ligue1],[data-league=ligamx]) #period{display:none}
.hud:is([data-league=ligue1],[data-league=ligamx]) .tv-team{min-width:0;width:auto;border:0;padding:0 .7cqw;justify-content:center}
.hud:is([data-league=ligue1],[data-league=ligamx]) .tv-team span{font:700 2.25cqw/1 Arial,sans-serif;letter-spacing:0}
.hud:is([data-league=ligue1],[data-league=ligamx]) .tv-result b{display:flex;align-items:center;justify-content:center;min-width:0;width:auto;padding:0;border:0;font:800 2.6cqw/1 Arial,sans-serif}
.hud[data-league=ligue1] .tv-board{display:grid;grid-template-columns:6cqw 7.6cqw 3.5cqw;grid-template-rows:3cqw 3cqw 2.8cqw;width:17.1cqw;height:8.8cqw;background:transparent;color:#fff;overflow:hidden}
.hud[data-league=ligue1] .tv-brand{grid-column:1;grid-row:1/3;display:flex;align-items:center;justify-content:center;min-width:0;width:auto;height:auto;padding:.3cqw;background:#075bff}
.hud[data-league=ligue1] .tv-brand img{width:4.5cqw;height:5.4cqw;object-fit:contain}
.hud[data-league=ligue1] .tv-team{grid-column:2;background:#282a2b;justify-content:flex-start}
.hud[data-league=ligue1] .tv-team-left{grid-row:1;border-bottom:1px solid #555}
.hud[data-league=ligue1] .tv-team-right{grid-row:2}
.hud[data-league=ligue1] .tv-result b{grid-column:3;background:#282a2b;border-right:.55cqw solid #075bff}
.hud[data-league=ligue1] #leftScore{grid-row:1;border-bottom:1px solid #555}
.hud[data-league=ligue1] #rightScore{grid-row:2;border-right-color:#ffdc00}
.hud[data-league=ligue1] .tv-dash{display:none}
.hud[data-league=ligue1] .tv-clock{grid-column:1/3;grid-row:3;justify-self:start;min-width:6cqw;padding:.15cqw .5cqw;background:#fff;color:#111;font:800 2.15cqw/1 Arial,sans-serif;letter-spacing:0}
.hud[data-league=ligamx] .tv-board{display:grid;grid-template-columns:4.8cqw 7.5cqw 7.5cqw 7.5cqw 9cqw;grid-template-rows:1.8cqw 3.2cqw;width:36.3cqw;height:5cqw;background:#082a2d;color:#74ee8b;overflow:hidden}
.hud[data-league=ligamx] .tv-brand{grid-row:1/3;grid-column:1;display:flex;align-items:center;justify-content:center;padding:.15cqw;min-width:0;width:auto;height:auto;background:#092a2c}
.hud[data-league=ligamx] .tv-brand img{width:4cqw;height:4.5cqw;object-fit:contain}
.hud[data-league=ligamx] .tv-season{display:flex;grid-column:2/6;grid-row:1;align-items:center;justify-content:flex-start;padding-left:.4cqw;font:700 1.04cqw/1 Arial,sans-serif;letter-spacing:.025cqw;color:#fff}
.hud[data-league=ligamx] .tv-team{grid-row:2;padding:0 .3cqw;color:#75eb8d;background:#082a2d}
.hud[data-league=ligamx] .tv-team-left{grid-column:2;border-left:.35cqw solid #ffff00}
.hud[data-league=ligamx] .tv-team-right{grid-column:4;border-right:.35cqw solid #d1ffe3}
.hud[data-league=ligamx] .tv-result{grid-column:3;grid-row:2}
.hud[data-league=ligamx] .tv-result b,.hud[data-league=ligamx] .tv-dash{grid-row:2;grid-column:3;background:#47fa57;color:#061e14;font:900 2.5cqw/1 Arial,sans-serif}
.hud[data-league=ligamx] #leftScore{width:38%;justify-self:start;z-index:1}
.hud[data-league=ligamx] #rightScore{width:38%;justify-self:end;z-index:1}
.hud[data-league=ligamx] .tv-dash{display:flex;align-items:center;justify-content:center;width:100%}
.hud[data-league=ligamx] .tv-clock{grid-row:2;grid-column:5;min-width:0;padding:0 .2cqw;background:#47fa57;color:#061e14;font:900 2.5cqw/1 Arial,sans-serif;letter-spacing:0;border-left:.5cqw solid #082a2d}

.libertadores-mexico-option{display:flex;align-items:center;gap:8px;margin:8px 0;color:#eee6b0}.libertadores-mexico-option input{width:18px;height:18px;accent-color:#d8b354}
/* Reuse only the logo regions of the user's broadcast references. CSS viewports
   keep the original pixels; match names, score, clock and header stay live. */
.hud[data-league=ligue1] .tv-brand{padding:0;background:#075bff url('../assets/ui/ligue1-reference.png') 7.627% 36.207%/290.323% 193.548% no-repeat}
.hud:is([data-league=ligue1],[data-league=ligamx]) .tv-brand img{visibility:hidden}
.hud[data-league=ligue1] .tv-team span{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-weight:400;font-size:2.35cqw}
.hud[data-league=ligue1] .tv-result b{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-weight:400;font-size:2.55cqw}
.hud[data-league=ligue1] .tv-clock{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-weight:400;min-width:6cqw;justify-content:flex-start;padding-left:.45cqw}
.hud[data-league=ligamx] .tv-brand{position:relative;background:#052b30;padding:0}
.hud[data-league=ligamx] .tv-brand::after{content:'';position:absolute;width:4.2cqw;height:4.68cqw;background:url('../assets/ui/ligamx-reference.png') 1.176% 24.528%/872.727% 208.163% no-repeat}
.hud[data-league=ligamx] .tv-season{background:#062b30;font-size:1.02cqw;letter-spacing:0;color:#ecf5ef}
.hud[data-league=ligamx] .tv-team span{font-size:2.25cqw;font-weight:400;color:#92e6a0;letter-spacing:-.05cqw}
.hud[data-league=ligamx] .tv-result b,.hud[data-league=ligamx] .tv-dash,.hud[data-league=ligamx] .tv-clock{background:#47ff50;color:#002612}
.hud[data-league=ligamx] .tv-clock{font-size:2.7cqw;letter-spacing:-.06cqw}
.hud[data-league=ligamx] .tv-result b[data-digits="2"]{font-size:2.2cqw}
.hud[data-league=ligamx] .tv-result b[data-digits="3"]{font-size:1.5cqw}
.hud[data-league=ligue1] .tv-result b[data-digits="3"]{font-size:1.7cqw}
