/* What’s On: broadcast schedule and competition directory. */
html:has(.whats-on-page) { height:100%; }
body.whats-on-page { height:100dvh; min-height:0; overflow:hidden; background:var(--bg); }
.whats-on-page::before,.whats-on-page::after { display:none; }
.whats-container { height:100%; display:flex; flex-direction:column; }
.whats-on-page .public-site-nav { flex:none; width:calc(100% - 64px); max-width:1600px; margin:0 auto; }
.whats-main { width:calc(100% - 64px); max-width:1600px; margin:0 auto; flex:1; min-height:0; display:flex; flex-direction:column; gap:22px; padding:24px 0 18px; font-family:"Segoe UI",system-ui,sans-serif; }
.whats-main :is(h1,h2,h3,p,a,button,input,strong,span) { text-shadow:none; letter-spacing:normal; }
.hub-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; flex:none; }
.hub-heading h1 { margin:0; font:750 clamp(1.8rem,2.8vw,2.5rem)/1.1 "Segoe UI",system-ui,sans-serif; }
.hub-heading>p { color:var(--muted); font-size:.9rem; line-height:1.5; max-width:460px; }
.hub-content { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:32px; flex:1; min-height:0; }
.hub-panel { min-width:0; min-height:0; display:flex; flex-direction:column; gap:14px; }
.panel-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; min-height:38px; flex:none; }
.panel-heading h2 { font:650 1.1rem/1.2 "Segoe UI",system-ui,sans-serif; margin:0; }
.hub-filters { display:flex; flex-wrap:wrap; gap:4px; flex:none; }
.hub-filters button { display:flex; align-items:center; justify-content:center; gap:6px; padding:8px 10px; font:550 .8rem/1.2 "Segoe UI",system-ui,sans-serif; color:var(--muted); border:1px solid transparent; border-radius:6px; background:transparent; cursor:pointer; }
.hub-filters button>span { font-size:.72rem; opacity:.8; }
.hub-filters button[aria-pressed=true] { background:var(--panel2); color:var(--text); border-color:var(--border); }
#competitionFilters { border-bottom:1px solid var(--border); padding-bottom:12px; }
#competitionFilters button { padding:7px 8px; }
#competitionFilters button[aria-pressed=true] { background:var(--blue); color:var(--bg); border-color:var(--blue); }
.hub-search input { width:190px; max-width:100%; color:var(--text); background:var(--panel); border:1px solid var(--border); border-radius:7px; padding:9px 12px; font:400 .8rem/1.2 "Segoe UI",system-ui,sans-serif; }
.hub-action,.hub-empty button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid var(--border); border-radius:6px; color:var(--text); background:var(--panel); padding:9px 12px; font:600 .8rem/1.2 "Segoe UI",system-ui,sans-serif; cursor:pointer; text-decoration:none; white-space:nowrap; }
.hub-action:hover,.hub-filters button:hover { border-color:var(--blue); }
.hub-action.primary-action { background:var(--blue); color:var(--bg); border-color:var(--blue); }
.whats-main :is(a,button,input):focus-visible { outline:2px solid var(--blue2); outline-offset:3px; }
.broadcast-grid { display:flex; flex-direction:column; gap:10px; min-height:0; }
.broadcast-card { min-width:0; border:1px solid var(--border); border-radius:10px; background:var(--bg2); overflow:hidden; padding:14px 18px; }
.broadcast-card:first-child { padding:20px 24px; border-top:3px solid var(--blue); background:linear-gradient(125deg,var(--panel2),var(--bg2)); }
.broadcast-meta { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:.72rem; }
.broadcast-meta>a { color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600; }
.status-pill { display:inline-flex; align-items:center; flex:none; gap:5px; color:var(--text); font-size:.7rem; font-weight:600; line-height:1.4; }
.broadcast-card:first-child .status-pill { color:var(--blue2); }
.live-pill { color:var(--danger) !important; }
.live-pill::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.match-teams { display:grid; grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr); gap:12px; align-items:center; padding:22px 0; }
.match-teams>div { display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0; text-align:center; }
.match-teams img { height:68px; width:84px; object-fit:contain; }
.match-teams strong { color:var(--text); font:650 1.15rem/1.2 "Segoe UI",system-ui,sans-serif; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.versus { color:var(--muted); font-size:.65rem; text-align:center; }
.broadcast-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.match-time { color:var(--text); font-size:.82rem; font-weight:600; line-height:1.3; }
.channel-name { color:var(--muted); font-size:.75rem; line-height:1.3; margin-top:4px; }
.broadcast-card:not(:first-child) { display:grid; grid-template-columns:1fr auto; gap:9px 16px; }
.broadcast-card:not(:first-child) .broadcast-meta { grid-column:1/-1; }
.broadcast-card:not(:first-child) .status-pill { display:none; }
.broadcast-card:not(:first-child) .match-teams { padding:0; gap:8px; grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr); }
.broadcast-card:not(:first-child) .match-teams>div { flex-direction:row; text-align:left; gap:8px; }
.broadcast-card:not(:first-child) .match-teams>div:last-child { flex-direction:row-reverse; text-align:right; }
.broadcast-card:not(:first-child) .match-teams img { width:28px; height:28px; flex:none; }
.broadcast-card:not(:first-child) .match-teams strong { font-size:.85rem; }
.broadcast-card:not(:first-child) .broadcast-bottom { display:contents; }
.broadcast-card:not(:first-child) .broadcast-bottom>div { grid-column:1; }
.broadcast-card:not(:first-child) .match-time { font-size:.72rem; color:var(--muted); font-weight:400; }
.broadcast-card:not(:first-child) .channel-name { display:none; }
.broadcast-card:not(:first-child) .hub-action { grid-column:2; grid-row:2/4; align-self:center; padding:8px; font-size:.73rem; }
.competition-grid { display:grid; grid-template-columns:1fr; gap:16px; min-height:0; }
.competition-card { min-width:0; overflow:hidden; background:var(--bg2); border:1px solid var(--border); border-radius:10px; }
.competition-art { position:relative; display:block; height:88px; background:var(--panel2); overflow:hidden; }
.competition-banner { height:100%; width:100%; object-fit:cover; object-position:center; opacity:.5; }
.competition-art::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,var(--bg2),transparent); }
.competition-logo { position:absolute; z-index:1; left:18px; bottom:6px; width:62px; height:62px; object-fit:contain; filter:drop-shadow(0 2px 5px var(--bg)); }
.competition-body { padding:12px 18px 16px; display:flex; flex-direction:column; gap:10px; }
.competition-top { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.competition-name { min-width:0; }
.competition-name h3 { font:650 1.1rem/1.25 "Segoe UI",system-ui,sans-serif; margin:4px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.event-meta { font-size:.68rem; line-height:1.4; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.event-summary { color:var(--muted); font-size:.8rem; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.competition-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.competition-bottom>span { font-size:.72rem; color:var(--muted); }
.competition-bottom>div { margin-left:auto; display:flex; flex-wrap:wrap; gap:8px; }
.hub-pager { display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--muted); font-size:.74rem; padding:0 2px; flex:none; }
.hub-pager>div { display:flex; gap:6px; }
.hub-pager button { border:1px solid var(--border); background:var(--panel); color:var(--text); border-radius:6px; width:32px; height:30px; cursor:pointer; font-size:1.2rem; }
.hub-pager button:disabled { opacity:.3; cursor:default; }
.hub-empty { min-height:180px; display:grid; place-content:center; padding:24px; background:var(--panel); border:1px dashed var(--border); border-radius:10px; color:var(--muted); font-size:.9rem; line-height:1.5; }
.hub-footer { display:flex; justify-content:space-between; gap:16px; color:var(--muted); font-size:.7rem; flex:none; }
.hub-footer a { color:var(--muted); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
html.bracketr-theme-light #competitionFilters button[aria-pressed=true] { background:var(--light-action); color:var(--light-paper); border-color:var(--light-action); }
html.bracketr-theme-light .broadcast-card:first-child .status-pill { color:var(--light-action); }
html.bracketr-theme-light .whats-main :is(a,button,input):focus-visible { outline-color:var(--light-focus); }
@media(min-width:1000px) and (max-height:849px) {
 .whats-main { padding-top:18px; gap:16px; }
 .broadcast-card:first-child { padding:16px 20px; }
 .broadcast-card:first-child .match-teams { padding:14px 0; }
 .broadcast-card:first-child .match-teams img { height:52px; width:66px; }
 .competition-art { height:100px; }
}
@media(max-width:1100px) and (min-width:1000px) {
 .hub-content { gap:20px; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
 .panel-heading h2 { font-size:1rem; }
 .hub-search input { width:150px; }
 .broadcast-meta { font-size:.65rem; }
}
@media(max-width:999px) {
 .whats-main { width:calc(100% - 32px); padding:16px 0 12px; gap:14px; }
 .hub-heading>p { display:none; }
 .hub-content { grid-template-columns:1fr; gap:20px; align-content:start; }
 .hub-panel { gap:10px; }
 .panel-heading { min-height:30px; }
 .hub-heading h1 { font-size:1.7rem; }
 .broadcast-card:first-child { padding:14px 18px; }
 .match-teams { padding:12px 0; }
 .match-teams>div { flex-direction:row; gap:12px; text-align:left; }
 .match-teams>div:last-child { flex-direction:row-reverse; text-align:right; }
 .match-teams img { height:44px; width:50px; flex:none; }
 .match-teams strong { font-size:1rem; }
 .competition-card { display:grid; grid-template-columns:96px minmax(0,1fr); }
 .competition-art { height:100%; min-height:150px; }
 .competition-banner { opacity:.3; }
 .competition-logo { width:64px; height:64px; left:16px; top:calc(50% - 32px); bottom:auto; }
 .competition-body { padding:14px; gap:10px; }
 .competition-top { align-items:start; }
 .competition-top .status-pill { font-size:.65rem; }
 .competition-name h3 { font-size:1rem; }
 #competitionFilters { padding-bottom:8px; }
 .hub-search input { width:185px; }
}
@media(max-width:760px) {
 body.whats-on-page .whats-container>.public-site-nav { width:calc(100% - 24px); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:6px 8px; padding:8px; margin:0 auto; }
 body.whats-on-page .whats-container>.public-site-nav .brand img { width:138px !important; height:auto !important; max-width:100%; }
 .whats-on-page .public-site-nav .site-brand { grid-column:1; grid-row:1; }
 .whats-on-page .public-site-nav .viewer-userbar-mount { grid-column:2; grid-row:1; min-width:0; }
 .whats-on-page .public-site-nav .site-links { grid-column:1; grid-row:2; gap:0; }
 .whats-on-page .public-site-nav .site-links a { padding:0 5px; font-size:.72rem; min-height:32px; }
 .whats-on-page .public-site-nav .public-language-selector { grid-column:2; grid-row:2; margin:0; width:100%; }
 .whats-on-page .public-site-nav .public-language-selector select { max-width:100%; width:100%; font-size:.68rem; min-height:32px; }
 .whats-main { width:calc(100% - 28px); gap:12px; padding:14px 0 12px; }
 .hub-heading h1 { font-size:1.55rem; }
 .hub-content { gap:16px; }
 .hub-panel { gap:8px; }
 .panel-heading h2 { font-size:1rem; }
 .hub-filters button { padding:7px 9px; font-size:.75rem; }
 #competitionFilters button { padding:6px 7px; font-size:.72rem; }
 .broadcast-card:first-child { padding:14px; }
 .broadcast-meta { font-size:.68rem; }
 .broadcast-meta .status-pill { font-size:.65rem; }
 .match-teams { gap:8px; grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr); padding:16px 0; }
 .match-teams>div { flex-direction:column; text-align:center; gap:8px; }
 .match-teams>div:last-child { flex-direction:column; text-align:center; }
 .match-teams img { height:44px; width:52px; }
 .match-teams strong { font-size:.95rem; }
 .match-time { font-size:.72rem; }
 .channel-name { font-size:.68rem; }
 .hub-action { padding:8px 10px; font-size:.73rem; }
 .hub-pager { font-size:.68rem; }
 .hub-pager button { height:26px; width:30px; }
 .hub-search input { width:165px; font-size:.75rem; padding:8px 10px; }
 .competition-card { grid-template-columns:70px minmax(0,1fr); }
 .competition-art { min-height:154px; }
 .competition-logo { width:48px; height:48px; left:11px; top:calc(50% - 24px); }
 .competition-body { padding:12px; gap:8px; }
 .competition-top { flex-wrap:wrap; gap:5px; }
 .competition-name h3 { font-size:1rem; }
 .event-meta { font-size:.63rem; }
 .event-summary { font-size:.73rem; line-height:1.4; -webkit-line-clamp:2; }
 .competition-bottom>div { gap:6px; }
 .competition-bottom .hub-action { font-size:.68rem; padding:7px 8px; }
 .hub-footer { font-size:.63rem; }
}
@media(max-height:760px) and (max-width:999px) {
 .whats-main { padding-top:10px; gap:10px; }
 .hub-content { gap:12px; }
 .match-teams { padding:10px 0; }
 .match-teams img { height:32px; width:40px; }
 .match-teams strong { font-size:.85rem; }
 .competition-art { min-height:130px; }
 .event-summary { -webkit-line-clamp:1; }
 .competition-body { gap:6px; }
}
/* Keep controls reachable in very short windows and at high zoom. */
@media(max-height:650px) { body.whats-on-page { height:auto; min-height:100dvh; overflow-y:auto; } .whats-container { min-height:100dvh; } .hub-content { flex:none; } }
@media(min-width:1000px) {
 .broadcast-card:first-child .match-teams { padding:18px 0; }
 .broadcast-card:first-child .match-teams img { width:90px; height:76px; }
 .broadcast-card:first-child .match-teams strong { font-size:1.3rem; }
 .broadcast-card:not(:first-child) .match-teams strong { font-size:.94rem; }
}
@media(min-width:1000px) and (max-height:849px) {
 .broadcast-card:first-child .match-teams { padding:12px 0; }
 .broadcast-card:first-child .match-teams img { width:66px; height:50px; }
 .broadcast-card:first-child .match-teams strong { font-size:1.1rem; }
 .competition-art { height:48px; }
 .competition-logo { width:40px; height:40px; bottom:0; }
 .competition-body { padding:10px 14px; gap:8px; }
 .competition-name h3 { font-size:1rem; }
 .event-summary { -webkit-line-clamp:1; }
 .competition-bottom .hub-action { padding:8px 10px; font-size:.73rem; }
}
@media(max-width:760px) {
 html.bracketr-theme-light body.whats-on-page .public-site-nav .site-brand { background-size:contain !important; background-position:left center !important; padding:0 !important; }
 body.whats-on-page .public-site-nav .site-brand { max-width:138px; min-width:0; height:32px; }
 body.whats-on-page .public-site-nav .bracketr-userbar--signed-out { gap:4px; flex-shrink:1; }
 body.whats-on-page .public-site-nav .bracketr-userbar__login { min-height:32px; padding:0 8px; font-size:.68rem; font-weight:650; }
}
html.bracketr-theme-light .match-teams img { filter:drop-shadow(0 1px 1px var(--muted)); }
/* Lists retain intrinsic height so card actions can never be clipped by flex sizing. */
.broadcast-grid,.competition-grid { flex:none; }
@media(max-height:760px) and (max-width:999px) {
 .whats-main { padding:8px 0; gap:8px; }
 .hub-content { gap:10px; }
 .hub-panel { gap:6px; }
 .broadcast-card:first-child { padding:10px; }
 .channel-name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:135px; }
}
.match-countdown { color:var(--blue2); font-size:.8rem; font-weight:650; font-variant-numeric:tabular-nums; white-space:nowrap; flex:none; }
.broadcast-meta>a { min-width:0; }
html.bracketr-theme-light .match-countdown { color:var(--light-action); }
@media(max-width:760px) { .match-countdown { font-size:.68rem; } }
.match-countdown { display:inline-flex; gap:4px; line-height:1; }
.countdown-box { display:flex; flex-direction:column; align-items:center; gap:3px; min-width:38px; padding:4px 5px; border:1px solid var(--border); border-radius:5px; background:var(--panel); color:var(--text); }
.countdown-box b { font-size:15px; font-weight:700; font-variant-numeric:tabular-nums; line-height:1; }
.countdown-box small { font-size:8px; font-weight:500; color:var(--muted); line-height:1; }
.broadcast-links { display:flex; justify-content:flex-end; gap:14px; font-size:.72rem; line-height:1.2; margin-top:8px; }
.broadcast-links a { color:var(--muted); }
.broadcast-links a:hover { color:var(--text); }
.broadcast-card:not(:first-child) { padding-top:7px; padding-bottom:7px; row-gap:5px; }
.broadcast-card:not(:first-child) .broadcast-links { grid-column:1/-1; margin-top:0; font-size:.68rem; }
.broadcast-card:first-child { padding-top:12px; padding-bottom:12px; }
.broadcast-card:first-child .match-teams { padding-top:12px; padding-bottom:12px; }
@media(max-width:760px) {
 .countdown-box { min-width:28px; padding:3px; gap:2px; }
 .countdown-box b { font-size:12px; }
 .countdown-box small { font-size:7px; }
 .match-countdown { gap:3px; }
 .broadcast-card:first-child { padding:8px; }
 .broadcast-card:first-child .match-teams { padding:8px 0; }
 .broadcast-links { font-size:.68rem; margin-top:6px; gap:12px; }
}
@media(max-width:760px) {
 .broadcast-card:first-child .channel-name { display:none; }
 .broadcast-card:first-child .match-teams { padding:6px 0; }
 .broadcast-links { margin-top:4px; }
}
/* Use each featured competition's approved banner as decoration, with readable surfaces. */
.has-broadcast-backdrop { position:relative; isolation:isolate; }
.has-broadcast-backdrop>.broadcast-backdrop { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:.6; pointer-events:none; }
.has-broadcast-backdrop::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,var(--bg2),transparent 75%),linear-gradient(0deg,var(--bg2),transparent 80%); pointer-events:none; }
.has-broadcast-backdrop>:not(.broadcast-backdrop) { position:relative; z-index:2; }
html.bracketr-theme-light .has-broadcast-backdrop>.broadcast-backdrop { opacity:.2; }
@media(forced-colors:active) { .has-broadcast-backdrop>.broadcast-backdrop,.has-broadcast-backdrop::before { display:none; } }
/* Clear reading order: matchup, start/countdown, then grouped actions. */
.hub-heading h1 { font-size:clamp(1.6rem,2.1vw,2rem); }
.has-broadcast-backdrop>.broadcast-backdrop { left:auto; right:0; top:0; bottom:auto; width:65%; height:100%; opacity:.14; }
.has-broadcast-backdrop::before { background:linear-gradient(90deg,var(--bg2) 5%,transparent 90%),linear-gradient(0deg,var(--bg2),transparent 90%); }
html.bracketr-theme-light .has-broadcast-backdrop>.broadcast-backdrop { opacity:.09; }
.broadcast-card,.broadcast-card:first-child { padding:16px 18px; border-top-width:1px; background-color:var(--bg2); }
.broadcast-card:first-child { border-top:2px solid var(--blue); }
.broadcast-identity { min-width:0; display:flex; align-items:center; gap:10px; overflow:hidden; }
.broadcast-identity>a { flex:none; color:var(--text); font-size:.75rem; font-weight:650; }
.broadcast-round { color:var(--muted); font-size:.7rem; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.broadcast-meta .status-pill { display:inline-flex !important; font-size:.68rem; padding:3px 7px; border-radius:4px; background:var(--panel); color:var(--muted); }
.broadcast-card:first-child .match-teams { padding:14px 0; }
.broadcast-card:first-child .match-teams img { width:66px; height:56px; }
.broadcast-card:first-child .match-teams strong { font-size:1.18rem; }
.broadcast-schedule { display:flex; align-items:center; justify-content:space-between; gap:14px; border-top:1px solid var(--border); padding:10px 0; }
.start-label { display:block; color:var(--muted); font-size:.66rem; margin-bottom:4px; }
.broadcast-card .match-time { color:var(--text); font-weight:550; font-size:.81rem; }
.countdown-box { min-width:38px; padding:4px; border-color:var(--border); background:var(--panel); }
.countdown-box b { font-size:16px; }
.countdown-box small { font-size:8px; }
.broadcast-card .broadcast-bottom { display:block; }
.broadcast-actions { display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:10px 16px; margin:0; font-size:.75rem; }
.broadcast-actions .view-match-link { font-size:.75rem; padding:8px 10px; }
.broadcast-actions :is(.broadcast-channel,.broadcast-discord) { color:var(--muted); text-decoration:none; }
.broadcast-actions :is(.broadcast-channel,.broadcast-discord):hover { color:var(--text); text-decoration:underline; }
.broadcast-card:not(:first-child) { display:block; padding:10px 14px; }
.broadcast-card:not(:first-child) .match-teams { display:grid; grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr); padding:10px 0; }
.broadcast-card:not(:first-child) .match-teams img { width:28px; height:28px; }
.broadcast-card:not(:first-child) .match-teams strong { font-size:.9rem; }
.broadcast-card:not(:first-child) .broadcast-bottom { display:block; }
.broadcast-card:not(:first-child) .broadcast-schedule { padding:7px 0; }
.broadcast-card:not(:first-child) .start-label { display:none; }
.broadcast-card:not(:first-child) .countdown-box { padding:2px 4px; min-width:32px; }
.broadcast-card:not(:first-child) .countdown-box b { font-size:13px; }
.broadcast-card:not(:first-child) .countdown-box small { font-size:7px; }
.broadcast-card:not(:first-child) .broadcast-actions { margin:0; font-size:.72rem; gap:8px 14px; }
.broadcast-card:not(:first-child) .hub-action { padding:0; background:transparent; border:0; font-size:.72rem; }
.competition-art { height:54px; }
.competition-logo { width:42px; height:42px; bottom:0; }
.competition-name h3 { font-size:1.1rem; }
.competition-body { padding:12px 16px 14px; }
@media(min-width:1000px) and (max-height:849px) {
 .broadcast-card:first-child .match-teams { padding:10px 0; }
 .broadcast-card:first-child .match-teams img { height:44px; width:56px; }
 .broadcast-card:first-child .match-teams strong { font-size:1.05rem; }
 .broadcast-card,.broadcast-card:first-child { padding:10px 14px; }
 .broadcast-schedule { padding:6px 0; }
 .broadcast-card:not(:first-child) { padding:8px 12px; }
 .broadcast-card:not(:first-child) .match-teams { padding:6px 0; }
 .broadcast-card:not(:first-child) .broadcast-schedule { padding:5px 0; }
}
@media(max-width:999px) {
 .competition-art { height:100%; }
 .competition-logo { top:calc(50% - 24px); width:48px; height:48px; left:11px; bottom:auto; }
}
@media(max-width:760px) {
 .broadcast-card,.broadcast-card:first-child { padding:10px; }
 .broadcast-meta { gap:8px; }
 .broadcast-identity { display:block; }
 .broadcast-round { display:block; font-size:.62rem; margin-top:3px; }
 .broadcast-identity>a { font-size:.68rem; }
 .broadcast-card:first-child .match-teams { padding:10px 0; }
 .broadcast-card:first-child .match-teams img { height:36px; width:44px; }
 .broadcast-card:first-child .match-teams strong { font-size:.9rem; }
 .broadcast-schedule { padding:8px 0; gap:8px; }
 .start-label { font-size:.6rem; }
 .broadcast-card .match-time { font-size:.68rem; }
 .countdown-box { min-width:26px; padding:3px; }
 .countdown-box b { font-size:12px; }
 .countdown-box small { font-size:7px; }
 .broadcast-actions { gap:7px 10px; font-size:.68rem; }
 .broadcast-actions .view-match-link { font-size:.68rem; padding:7px 8px; }
 .competition-body { padding:10px 12px; }
 .competition-name h3 { font-size:1rem; }
}
@media(max-height:760px) and (max-width:999px) {
 .broadcast-card,.broadcast-card:first-child { padding:8px; }
 .broadcast-card:first-child .match-teams { padding:6px 0; }
 .broadcast-card:first-child .match-teams img { height:30px; width:38px; }
 .broadcast-card:first-child .match-teams strong { font-size:.84rem; }
 .broadcast-round { display:none; }
 .start-label { display:none; }
 .broadcast-schedule { padding:6px 0; }
 .broadcast-actions { gap:6px 8px; font-size:.64rem; }
 .broadcast-actions .view-match-link { padding:6px; font-size:.64rem; }
}
@media(min-width:1000px) and (max-height:849px) {
 .broadcast-card .broadcast-meta .status-pill { padding:1px 6px; }
 .broadcast-card:first-child .match-teams { padding:8px 0; }
 .broadcast-card:not(:first-child) { padding-top:6px; padding-bottom:6px; }
 .broadcast-card:not(:first-child) .match-teams { padding:4px 0; }
}
@media(max-height:760px) and (max-width:999px) { .broadcast-card .broadcast-meta .status-pill { padding:1px 5px; } }
/* Fixed featured game plus an expandable chronological schedule. */
.broadcast-grid { flex:1; min-height:0; gap:12px; }
.broadcast-featured { flex:none; }
.broadcast-featured .broadcast-card { position:relative; isolation:isolate; }
.broadcast-featured .broadcast-card::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.24; background-image:repeating-linear-gradient(120deg,transparent 0 7px,var(--border) 8px 9px),repeating-linear-gradient(30deg,transparent 0 7px,var(--border) 8px 9px); background-size:18px 18px; }
.broadcast-queue { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; border:1px solid var(--border); border-radius:8px; background:var(--bg2); scrollbar-width:thin; }
.broadcast-queue:empty { display:none; }
.broadcast-list-item { border-bottom:1px solid var(--border); }
.broadcast-list-item:last-child { border-bottom:0; }
.broadcast-list-item>summary { list-style:none; display:grid; grid-template-columns:minmax(0,1fr) auto 12px; align-items:center; gap:4px 12px; padding:10px 12px; cursor:pointer; }
.broadcast-list-item>summary::-webkit-details-marker { display:none; }
.broadcast-list-item>summary:hover { background:var(--panel); }
.broadcast-list-item>summary:focus-visible { outline:2px solid var(--blue2); outline-offset:-3px; }
.queue-teams { grid-column:1; grid-row:1; display:flex; align-items:center; gap:8px; min-width:0; }
.queue-teams>span:not(.queue-vs) { display:flex; align-items:center; gap:6px; min-width:0; }
.queue-teams img { width:22px; height:22px; object-fit:contain; flex:none; }
.queue-teams strong { font-size:.8rem; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.queue-vs { font-size:.6rem; color:var(--muted); flex:none; }
.queue-start { grid-column:1; grid-row:2; color:var(--muted); font-size:.68rem; }
.broadcast-list-item>summary>.match-countdown,.broadcast-list-item>summary>.status-pill { grid-column:2; grid-row:1/3; }
.broadcast-list-item .countdown-box { min-width:30px; padding:2px 4px; }
.broadcast-list-item .countdown-box b { font-size:12px; }
.broadcast-list-item .countdown-box small { font-size:7px; }
.queue-chevron { grid-column:3; grid-row:1/3; font-size:1.3rem; color:var(--muted); text-align:center; }
.broadcast-list-item[open] .queue-chevron { transform:rotate(90deg); }
.queue-details { padding:2px 12px 12px; }
.queue-full-title { font-size:.82rem; font-weight:600; margin-bottom:4px; }
.queue-meta { color:var(--muted); font-size:.7rem; margin-bottom:8px; }
.queue-meta>a { color:var(--muted); }
.queue-details .broadcast-actions { font-size:.72rem; margin:0; }
.queue-details .view-match-link { padding:5px 8px; font-size:.72rem; }
.hub-mobile-views { display:none; }
@media(max-width:999px) {
 .hub-mobile-views { display:flex; flex:none; gap:6px; }
 .hub-mobile-views button { color:var(--muted); background:var(--panel); border:1px solid var(--border); border-radius:6px; padding:8px 10px; font:600 .75rem/1.2 "Segoe UI",system-ui,sans-serif; cursor:pointer; }
 .hub-mobile-views button[aria-pressed=true] { background:var(--blue); border-color:var(--blue); color:var(--bg); }
 .hub-mobile-views button:focus-visible { outline:2px solid var(--blue2); outline-offset:2px; }
 .hub-content { display:flex; flex-direction:column; gap:0; }
 .hub-panel { flex:1; min-height:0; }
 [data-mobile-view=broadcasts] .competition-panel,[data-mobile-view=competitions] .broadcast-panel { display:none; }
 .broadcast-grid { gap:8px; }
 .broadcast-list-item>summary { gap:3px 6px; padding:7px 8px; grid-template-columns:minmax(0,1fr) auto 10px; }
 .queue-teams { gap:4px; }
 .queue-teams>span:not(.queue-vs) { gap:4px; }
 .queue-teams img { width:17px; height:17px; }
 .queue-teams strong { font-size:.7rem; }
 .queue-start { font-size:.62rem; }
 .broadcast-list-item .countdown-box { min-width:24px; padding:2px; }
 .broadcast-list-item .countdown-box b { font-size:11px; }
 .broadcast-list-item .countdown-box small { font-size:6px; }
 .queue-details { padding:2px 8px 8px; }
 .queue-details .broadcast-actions { font-size:.68rem; gap:6px 10px; }
}
html.bracketr-theme-light .hub-mobile-views button[aria-pressed=true] { background:var(--light-action); border-color:var(--light-action); color:var(--light-paper); }
@media(forced-colors:active) { .broadcast-featured .broadcast-card::before { display:none; } }
.broadcast-identity { flex-wrap:wrap; gap:3px 8px; }
.broadcast-game { display:inline-flex; color:var(--text); background:var(--panel); border:1px solid var(--border); border-radius:4px; padding:3px 6px; font-size:.65rem; font-weight:600; }
.queue-context { grid-column:1; grid-row:2; min-width:0; line-height:1.3; }
.queue-competition { display:block; color:var(--muted); font-size:.62rem; }
.queue-context .queue-start { display:block; margin-top:2px; }
.competition-card { position:relative; }
.competition-game-label { position:absolute; top:10px; right:10px; padding:4px 7px; border:1px solid var(--border); border-radius:4px; background:var(--panel); color:var(--text); font-size:.68rem; font-weight:600; }
@media(max-width:999px) {
 .competition-game-label { position:static; grid-column:2; grid-row:1; justify-self:start; margin:10px 12px 0; }
 .competition-art { grid-column:1; grid-row:1/3; }
 .competition-body { grid-column:2; grid-row:2; }
 .queue-competition { font-size:.59rem; }
 .queue-context .queue-start { font-size:.6rem; }
 .broadcast-game { padding:2px 5px; font-size:.6rem; }
 .broadcast-identity { display:flex; }
}
@media(min-width:1000px) and (max-height:849px) {
 .broadcast-list-item>summary { padding:6px 10px; row-gap:2px; }
 .broadcast-featured .broadcast-card { padding:8px 12px; }
 .broadcast-featured .match-teams { padding:6px 0; }
 .broadcast-featured .match-teams img { width:44px; height:34px; }
 .broadcast-featured .match-teams strong { font-size:1rem; }
}
@media(min-width:1000px) and (max-height:849px) {
 .broadcast-featured .broadcast-card .match-teams { padding:4px 0; }
 .broadcast-featured .broadcast-card .match-teams img { height:30px; width:40px; }
 .broadcast-featured .broadcast-card .match-teams strong { font-size:1rem; }
}
.broadcast-queue { flex:0 1 auto; }
.hub-pager[hidden] { display:none; }
html.bracketr-theme-light .queue-teams img { filter:drop-shadow(0 1px 1px var(--muted)); }
