/* BET NOVA 258 — V5.1 header repair.
   Intentionally scoped to the legacy header; sports ticket, market, account and admin markup is unchanged. */
body.bn5-site .header-main-wrap{position:relative!important;z-index:600!important;isolation:isolate}
body.bn5-site .header-pro{background:#101b2a!important}
body.bn5-site .header-pro>.header-pro-inside{
 display:grid!important;
 grid-template-columns:minmax(175px,1fr) max-content max-content max-content!important;
 align-items:center!important;
 gap:12px!important;
 width:min(1240px,calc(100% - 36px))!important;
 min-height:76px!important;
 padding:9px 0!important;
 margin:0 auto!important;
 float:none!important;
}
body.bn5-site .header-pro>.header-pro-inside>.top-logo-wrap{
 grid-column:1!important;grid-row:1!important;float:none!important;
 margin:0!important;padding:0!important;width:auto!important;min-width:0!important;
 display:flex!important;align-items:center!important;
}
body.bn5-site .header-pro .top-logo-wrap>a{display:inline-flex;align-items:center;max-width:100%;text-decoration:none}
body.bn5-site .header-pro>.header-pro-inside>.top-login-wrap{
 grid-column:2!important;grid-row:1!important;flex:none!important;
 width:auto!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important;
 position:relative;z-index:3;
}
body.bn5-site .header-pro .top-logged-in-wrap-right{float:none!important;margin:0!important;padding:0!important;width:auto!important;display:block}
body.bn5-site .header-pro .top-login-list{
 display:flex!important;align-items:center!important;flex-flow:row nowrap!important;
 gap:8px!important;float:none!important;margin:0!important;padding:0!important;
 list-style:none!important;white-space:nowrap!important;width:auto!important;
}
body.bn5-site .header-pro .top-login-list>li{float:none!important;display:block!important;position:relative!important;margin:0!important;width:auto!important;min-width:0!important;flex:0 0 auto!important}
body.bn5-site .header-pro .top-login-list>li>a.head-button,
body.bn5-site .header-pro .top-login-list>li>a.blue-button{
 width:auto!important;min-width:65px!important;height:38px!important;min-height:38px!important;
 padding:8px 13px!important;line-height:20px!important;box-sizing:border-box!important;
 font-size:12px!important;font-weight:600!important;white-space:nowrap!important;
 border:1px solid #35536d!important;color:#e7f2ff!important;
 display:inline-flex!important;justify-content:center!important;align-items:center!important;
 border-radius:9px!important;background:#182c41!important;
}
body.bn5-site .header-pro>.header-pro-inside>.top-lang-wrap{
 grid-column:3!important;grid-row:1!important;min-width:0!important;width:auto!important;
 margin:0!important;padding:0!important;float:none!important;
 position:relative!important;z-index:8!important;
}
body.bn5-site .header-pro .top-lang-wrap .btn-group{float:none!important;display:block!important;position:relative!important;width:auto!important;min-width:0!important}
body.bn5-site .header-pro .top-lang-wrap #lang_title{
 display:inline-flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;
 width:auto!important;max-width:none!important;min-width:126px!important;height:38px!important;
 padding:8px 12px!important;white-space:nowrap!important;box-sizing:border-box!important;
 margin:0!important;background:#162b40!important;border:1px solid #36536a!important;
 color:#e5f4ff!important;font-size:12px!important;font-weight:600!important;
 border-radius:9px!important;line-height:20px!important;
}
body.bn5-site .header-pro .top-lang-wrap #language{min-width:170px!important;right:0!important;left:auto!important;top:calc(100% + 6px)!important;z-index:910!important}
body.bn5-site .header-pro>.header-pro-inside>.top-watch-wrap{
 grid-column:4!important;grid-row:1!important;float:none!important;display:flex!important;
 align-items:center!important;min-width:63px!important;margin:0!important;padding:0!important;
 white-space:nowrap!important;color:#a8c3d7!important;font-size:12px!important;
}
/* The legacy navigation is allowed to grow; dropdowns must never be clipped. */
body.bn5-site .header-pro1>.header-pro-inside{
 width:min(1240px,calc(100% - 36px))!important;min-height:55px!important;
 margin:0 auto!important;float:none!important;display:flex!important;
 flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
 gap:18px!important;padding:5px 0!important;
}
body.bn5-site .header-pro1 .top-new-menu{float:none!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;overflow:visible!important}
body.bn5-site .header-pro1 .navpromain{float:none!important;display:flex!important;flex-flow:row wrap!important;min-width:0!important;width:auto!important;gap:4px 8px!important;margin:0!important;padding:0!important;align-items:center!important}
body.bn5-site .header-pro1 .navpromain>.dropdown{float:none!important;flex:0 0 auto!important;position:relative!important;margin:0!important;padding:0!important}
body.bn5-site .header-pro1 .navpromain .menubtn{min-height:40px!important;height:auto!important;max-width:100%;padding:7px 9px!important;line-height:1.25!important}
body.bn5-site .header-pro1 .navpromain .title{white-space:normal!important;line-height:1.2!important}
body.bn5-site .header-pro1 .top-live-support{flex:0 0 auto!important;float:none!important;margin:0!important;white-space:nowrap!important}
body.bn5-site .header-main-wrap .dropdown-menu{z-index:920!important}
/* Domain strip: close control stays at the right, never on top of the text. */
body.bn5-site #next-domain{clear:both!important}
body.bn5-site #next-domain>#bn51-domain-inner{position:relative!important;width:min(1240px,100%)!important;margin:0 auto!important;padding:8px 44px 8px 15px!important;font-size:12px!important;line-height:1.5!important;text-align:center!important;min-height:30px!important}
body.bn5-site #next-domain #close-next-domain{right:12px!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important}
body.bn5-site .header-pro .top-logo-wrap .bn5-brand{font-size:clamp(21px,2.3vw,28px)!important}
@media(max-width:1000px){
 body.bn5-site .header-pro>.header-pro-inside{grid-template-columns:minmax(160px,1fr) max-content max-content!important;gap:9px!important}
 body.bn5-site .header-pro>.header-pro-inside>.top-watch-wrap{display:none!important}
 body.bn5-site .header-pro1>.header-pro-inside{gap:9px!important}
 body.bn5-site .header-pro1 .top-live-support{display:none!important}
}
@media(max-width:740px){
 body.bn5-site .header-pro>.header-pro-inside{
  display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;
  gap:10px!important;width:calc(100% - 24px)!important;min-height:0!important;
  padding:12px 0!important;
 }
 body.bn5-site .header-pro>.header-pro-inside>.top-logo-wrap{grid-column:1 / -1!important;grid-row:1!important}
 body.bn5-site .header-pro>.header-pro-inside>.top-login-wrap{grid-column:1 / -1!important;grid-row:2!important;justify-self:start!important}
 body.bn5-site .header-pro>.header-pro-inside>.top-lang-wrap{display:block!important;grid-column:1 / -1!important;grid-row:3!important;justify-self:start!important}
 body.bn5-site .header-pro .top-login-list{gap:5px!important}
 body.bn5-site .header-pro .top-login-list>li>a.head-button,
 body.bn5-site .header-pro .top-login-list>li>a.blue-button{min-width:0!important;padding:7px 9px!important;height:36px!important;min-height:36px!important;font-size:11px!important}
 body.bn5-site .header-pro .top-logo-wrap .bn5-brand{font-size:19px!important}
 body.bn5-site .header-pro .top-logo-wrap .bn5-brand small{font-size:10px!important;margin-left:5px!important}
 body.bn5-site .header-pro1>.header-pro-inside{width:calc(100% - 24px)!important;flex-wrap:wrap!important;min-height:0!important;padding:7px 0!important}
 body.bn5-site .header-pro1 .top-new-menu{flex-basis:100%!important;overflow:visible!important}
 body.bn5-site .header-pro1 .navpromain{min-width:0!important;flex-wrap:wrap!important;gap:4px!important}
 body.bn5-site #next-domain>#bn51-domain-inner{text-align:left!important;padding:8px 36px 8px 12px!important;font-size:11px!important}
}
@media(max-width:390px){body.bn5-site .header-pro .top-logo-wrap .bn5-brand{font-size:17px!important}body.bn5-site .header-pro>.header-pro-inside{gap:6px!important}body.bn5-site .header-pro .top-login-list>li>a.head-button,body.bn5-site .header-pro .top-login-list>li>a.blue-button{padding:6px 7px!important}}
