/* Sable TV 5.69 — isolated viewport-aware layout; loaded after legacy rules. */
html.sfc-watch-root { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body.sfc-watch-page .sfc-watch-wrap > h1 { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0); white-space:nowrap; }
body.sfc-watch-page .sfc-watch-head-fixed { box-sizing:border-box; width:100%; max-width:100%; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full { min-width:0!important; width:100%!important; max-width:100%!important; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full .sfc-tv-screen { box-sizing:border-box!important; width:100%!important; max-width:100%!important; aspect-ratio:16 / 9!important; height:auto!important; min-height:0!important; max-height:none!important; padding:0!important; flex:0 0 auto!important; position:relative!important; overflow:hidden!important; background:#000; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-screen video,
body.sfc-watch-page .sfc-watch-layout .sfc-tv-screen iframe { position:absolute!important; top:0!important; left:0!important; right:0!important; bottom:0!important; width:100%!important; height:100%!important; max-width:100%!important; max-height:100%!important; display:block!important; border:0!important; object-fit:contain!important; margin:0!important; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-screen .sfc-tv-standby { position:absolute; inset:0; width:100%; height:100%; overflow:auto; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-teams { min-width:0; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-teams b { min-width:0; overflow-wrap:break-word; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-teams img { flex-shrink:0; }
/* Do not let the old landscape selector hide paid-access actions. */
body.sfc-watch-page .sfc-watch-layout .sfc-pass-actions { flex:0 0 auto; flex-wrap:wrap; }
@supports not (aspect-ratio:16 / 9) {
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full .sfc-tv-screen { height:0!important; padding-top:56.25%!important; }
}
/* Desktop: page in normal document flow, no fixed/sticky overlap. The available
   viewport height limits the overall width, retaining an actual 16:9 player.
   In unusually short windows the page scrolls naturally instead of clipping. */
@media (min-width:851px) {
 html.sfc-watch-root:not(.sfc-mobile-shell-ready), html.sfc-watch-root:not(.sfc-mobile-shell-ready) body.sfc-watch-page { height:auto!important; min-height:100vh; overflow-y:auto!important; }
 html.sfc-watch-root:not(.sfc-mobile-shell-ready) body.sfc-watch-page { margin:0!important; padding:0!important; position:static!important; }
 html.sfc-watch-root:not(.sfc-mobile-shell-ready) .sfc-watch-mobile-shell { display:block; position:static; width:100%; height:auto; overflow:visible; }
 body.sfc-watch-page .sfc-watch-head-fixed { position:relative!important; top:auto!important; left:auto!important; right:auto!important; height:auto!important; min-height:52px!important; display:flex!important; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:12px!important; padding:8px 20px!important; box-shadow:none!important; }
 body.sfc-watch-page .sfc-watch-head-fixed > a, body.sfc-watch-page .sfc-watch-head-fixed > span { flex:0 1 auto; min-width:0; }
 body.sfc-watch-page .sfc-watch-head-fixed .sfc-watch-head-tools { margin-left:auto; min-width:0; }
 body.sfc-watch-page .sfc-watch-head-fixed .sfc-watch-language { padding:5px 8px; }
 body.sfc-watch-page .sfc-watch-wrap { box-sizing:border-box!important; position:relative!important; width:100%!important; max-width:1480px!important; max-width:min(1600px,max(960px,calc(177.778vh - 85px)))!important; margin:0 auto!important; padding:12px 16px 16px!important; height:auto!important; min-height:0!important; overflow:visible!important; }
 body.sfc-watch-page .sfc-watch-wrap .sfc-watch-layout { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(300px,365px)!important; grid-template-columns:minmax(0,1fr) clamp(300px,26vw,390px)!important; align-items:stretch!important; gap:12px!important; height:auto!important; min-height:0!important; margin:0!important; padding:0!important; overflow:visible!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-live-stage { position:relative!important; top:auto!important; left:auto!important; right:auto!important; bottom:auto!important; align-self:start!important; width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; padding:0!important; z-index:1!important; overflow:visible!important; transform:none!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full { display:flex!important; flex-direction:column!important; height:auto!important; max-height:none!important; overflow:hidden!important; border-radius:14px!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full .sfc-tv-topline { flex:0 0 auto; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full .sfc-tv-matchbar { flex:0 0 auto; padding:8px 10px!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat { position:relative!important; inset:auto!important; transform:none!important; z-index:1!important; height:auto!important; min-height:340px!important; max-height:none!important; margin:0!important; align-self:stretch!important; padding:9px!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat-feed { flex:1 1 0!important; height:0!important; min-height:0!important; max-height:none!important; overflow-y:auto!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat form { margin-top:auto!important; }
}
/* Mobile/tablet: preserve 5.67 floating keyboard composer. Header stays in
   normal flow, so the sticky player never starts underneath it. */
@media (max-width:850px), (max-width:1100px) and (pointer:coarse) {
 body.sfc-watch-page .sfc-watch-head-fixed { position:relative!important; top:auto!important; left:auto!important; right:auto!important; min-height:48px!important; height:auto!important; padding:8px 10px!important; display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:8px!important; box-shadow:none!important; }
 body.sfc-watch-page .sfc-watch-head-fixed > span { display:none!important; }
 body.sfc-watch-page .sfc-watch-head-fixed > a { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 body.sfc-watch-page .sfc-watch-wrap { max-width:none!important; width:100%!important; margin:0!important; padding:0 0 12px!important; }
 body.sfc-watch-page .sfc-watch-wrap .sfc-watch-layout { display:flex!important; flex-direction:column!important; gap:8px!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-live-stage { position:sticky!important; top:0!important; align-self:auto!important; left:auto!important; right:auto!important; width:100%!important; height:auto!important; max-height:none!important; z-index:10!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat { min-height:0!important; height:auto!important; max-height:none!important; width:100%!important; }
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat-feed { flex:0 0 auto!important; height:var(--sfc-chat-height,320px)!important; min-height:var(--sfc-chat-height,320px)!important; max-height:var(--sfc-chat-height,320px)!important; }
}
/* Native fullscreen, including the Safari-prefixed implementation. Do not
   combine the selectors: some engines discard an entire unsupported list. */
body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full .sfc-tv-screen:fullscreen { width:100vw!important; max-width:none!important; height:100vh!important; max-height:none!important; aspect-ratio:auto!important; padding:0!important; }
body.sfc-watch-page .sfc-watch-layout .sfc-tv-widget-full .sfc-tv-screen:-webkit-full-screen { width:100vw!important; max-width:none!important; height:100vh!important; max-height:none!important; aspect-ratio:auto!important; padding:0!important; }
/* A tablet's wider portrait/landscape screen must not turn the sticky player
   into a wall covering the composer. The shell's stable height is frozen
   during keyboard input by the existing v5.67 chat script. */
@media (min-width:600px) and (max-width:1100px) and (pointer:coarse) {
 body.sfc-watch-page .sfc-watch-layout .sfc-live-stage { max-width:calc(105vh)!important; max-width:calc(var(--stable-height,100vh) * 1.05)!important; margin:0 auto!important; }
}
@media (max-width:850px) and (hover:hover) and (pointer:fine) {
 body.sfc-watch-page .sfc-watch-layout .sfc-live-stage { position:relative!important; top:auto!important; }
}
@media (min-width:1101px) and (pointer:coarse) {
 body.sfc-watch-page .sfc-watch-wrap { max-width:min(1600px,max(960px,calc(var(--stable-height,100vh) * 1.77778 - 85px)))!important; }
}
