/* Sable FC v5.63 — one-line desktop header; mobile chat unchanged. */
body .sfc-blue-header.sfc-hide-direct .sfc-header-controls .cta,
body .sfc-blue-header.sfc-hide-social .sfc-social-strip{display:none!important}
@media(min-width:851px){
 body .sfc-blue-header .navinner{
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;max-width:1920px!important;min-height:var(--sfc-head-height,78px)!important;
  box-sizing:border-box;padding:6px clamp(16px,2vw,38px)!important;margin:0 auto!important;gap:clamp(12px,1.5vw,25px)!important;position:relative!important;
 }
 body .sfc-blue-header .sfc-new-brand{display:flex!important;flex:0 0 auto!important;align-self:center;margin:0!important;padding:0!important;width:min(var(--sfc-head-logo,190px),clamp(140px,13vw,240px))!important;max-width:none!important;min-width:0!important}
 body .sfc-blue-header .sfc-header-logo{display:block!important;width:100%!important;max-width:100%!important;max-height:calc(var(--sfc-head-height,78px) - 25px)!important;height:auto!important;object-fit:contain!important;object-position:left center!important}
 body .sfc-blue-header .sfc-header-controls{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:9px!important;margin:0!important;min-width:0!important;order:0!important;position:static!important}
 body .sfc-blue-header .sfc-header-controls .cta{flex:0 0 auto!important;display:inline-flex;align-items:center;justify-content:center;font-size:11px!important;line-height:1.2!important;padding:7px 12px!important;min-height:30px!important;border-radius:7px!important;letter-spacing:.015em!important;white-space:nowrap!important;margin:0!important}
 body .sfc-blue-header .sfc-utility-languages .sfc-language-picker select{width:105px!important;max-width:105px!important;min-height:30px!important;height:30px!important;padding:4px 16px 4px 7px!important;font-size:11px!important;line-height:1.2!important}
 body .sfc-blue-header .sfc-social-strip{top:3px!important;left:auto!important;right:clamp(16px,2vw,38px)!important;gap:9px!important;z-index:2!important}
 /* Leave a small top margin for the optional social icons, never over the main line. */
 body .sfc-blue-header:not(.sfc-hide-social) .navinner{padding-top:19px!important;padding-bottom:6px!important}
 body .sfc-blue-header .links{display:flex!important;flex:1 0 auto!important;position:static!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:min(var(--sfc-head-gap,17px),clamp(8px,calc(1.6vw - 10px),26px))!important;width:auto!important;min-width:max-content!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;background:transparent!important;padding:0!important;order:0!important;margin:0!important}
 body .sfc-blue-header .links>a,body .sfc-blue-header .sfc-nav-dropdown-trigger{font-size:min(var(--sfc-head-font,12px),clamp(10px,calc(1vw - 1px),14px))!important;line-height:1.35!important;letter-spacing:.015em!important;padding:5px 0!important;white-space:nowrap!important;display:inline-flex;align-items:center;min-width:0;text-decoration:none;flex:0 0 auto!important}
 body .sfc-blue-header .links>a:hover,body .sfc-blue-header .sfc-nav-dropdown-trigger:hover{color:#ffdd43!important}
 body .sfc-blue-header .links>a:focus-visible,body .sfc-blue-header .sfc-nav-dropdown-trigger:focus-visible{outline:2px solid #ffdc43;outline-offset:3px;border-radius:2px}
 body .sfc-blue-header .hamb{display:none!important}
 body .sfc-blue-header .sfc-nav-dropdown{position:relative!important;display:inline-flex;align-items:center;flex:0 0 auto!important}
 body .sfc-blue-header .sfc-nav-submenu{position:absolute!important;top:100%;left:0;z-index:110;min-width:200px;padding:6px!important;background:#0b2752!important;border:1px solid #416ca8;border-radius:8px;box-shadow:0 10px 26px #0004}
 body .sfc-blue-header .sfc-nav-submenu a{display:block!important;padding:9px 12px!important;font-size:12px!important;color:white!important;white-space:normal!important}
}
/* Small desktop/tablet: keep the logo and controls on one line and expose all links via menu. */
@media(min-width:851px) and (max-width:1100px){
 body .sfc-blue-header .navinner{justify-content:flex-start!important;gap:16px!important}
 body .sfc-blue-header .sfc-header-controls{margin-left:auto!important}
 body .sfc-blue-header .sfc-social-strip{display:none!important}
 body .sfc-blue-header:not(.sfc-hide-social) .navinner{padding-top:6px!important}
 body .sfc-blue-header .hamb{display:block!important;flex:none!important;min-width:40px;min-height:38px}
 body .sfc-blue-header .links{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:auto!important;min-width:0!important;max-height:calc(100vh - 80px)!important;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:12px 22px!important;background:#073a97!important;box-shadow:0 10px 25px #0004!important;z-index:110!important}
 body .sfc-blue-header .links.open{display:flex!important}
 body .sfc-blue-header .links>a,body .sfc-blue-header .sfc-nav-dropdown-trigger{padding:11px 7px!important;width:100%;font-size:13px!important}
 body .sfc-blue-header .sfc-nav-dropdown{display:block!important}
 body .sfc-blue-header .sfc-nav-submenu{position:static!important;box-shadow:none!important}
}
/* At extreme settings/longer translations, JS measures the actual row and uses the accessible menu rather than clipping. */
@media(min-width:1101px){
 body .sfc-blue-header.sfc-header-overflow .navinner{justify-content:flex-start!important}
 body .sfc-blue-header.sfc-header-overflow .sfc-header-controls{margin-left:auto!important}
 body .sfc-blue-header.sfc-header-overflow .hamb{display:block!important;flex:none!important;min-width:40px;min-height:38px}
 body .sfc-blue-header.sfc-header-overflow .links{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:auto!important;min-width:0!important;max-height:calc(100vh - 80px)!important;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:12px 22px!important;background:#073a97!important;box-shadow:0 10px 25px #0004!important;z-index:110!important}
 body .sfc-blue-header.sfc-header-overflow .links.open{display:flex!important}
 body .sfc-blue-header.sfc-header-overflow .links>a,body .sfc-blue-header.sfc-header-overflow .sfc-nav-dropdown-trigger{padding:11px 7px!important;width:100%;font-size:13px!important}
 body .sfc-blue-header.sfc-header-overflow .sfc-nav-dropdown{display:block!important}
 body .sfc-blue-header.sfc-header-overflow .sfc-nav-submenu{position:static!important;box-shadow:none!important}
}
/* Desktop mouse/trackpad only. Preserve all phone touch layouts including landscape. */
@media(min-width:851px) and (hover:hover) and (pointer:fine){
 body.sfc-watch-page .sfc-watch-layout{align-items:stretch!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-live-stage{align-self:start!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat{align-self:stretch!important;display:flex!important;flex-direction:column!important;height:100%!important;min-height:calc(var(--sfc-chat-desktop-height,520px) + 230px)!important;max-height:none!important;box-sizing:border-box;overflow:hidden!important;gap:0!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat-feed{flex:1 1 0!important;height:0!important;min-height:var(--sfc-chat-desktop-height,520px)!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;gap:3px!important;padding:6px!important;scroll-padding-bottom:0!important;font-size:var(--sfc-chat-desktop-font,12px)!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-comment{flex:0 0 auto!important;position:relative;padding:3px 6px!important;line-height:1.2!important;border-radius:6px!important;font-size:var(--sfc-chat-desktop-font,12px)!important;overflow-wrap:anywhere}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-comment b{font-size:var(--sfc-chat-desktop-font,12px)!important;margin-right:5px!important;color:#ffe184!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-comment small{font-size:10px!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-comment p{display:inline;font-size:var(--sfc-chat-desktop-font,12px)!important;line-height:1.3!important;margin:0 4px 0 0!important;white-space:pre-wrap!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-comment .sfc-tv-reply-link{display:inline!important;font-size:10px!important;padding:1px 2px!important;line-height:1.2!important;vertical-align:baseline!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat form{flex:0 0 auto!important;margin-top:auto!important;position:relative!important}
 body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat-head,body.sfc-watch-page .sfc-watch-layout .sfc-tv-chat-state{flex:0 0 auto!important}
}
