/* TDE universal header: homepage presentation while retaining model-specific menus.
   Applies to NBA / First Basket, NHL / First Goal, NFL / First TD, Results, Edge Lab and ROI Zones. */
.tde-home-header,.tde-roi-header{
 width:100%!important;max-width:1330px!important;margin:0 auto 27px!important;
 padding:16px 10px!important;min-height:78px!important;
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
 gap:16px!important;flex-wrap:wrap!important;position:relative!important;z-index:300!important
}
.tde-home-header>.brand,.tde-roi-header .tde-top-brand{
 display:flex!important;align-items:center!important;gap:12px!important;white-space:nowrap!important;
 font-size:20px!important;line-height:1.25!important;font-weight:850!important;letter-spacing:-.03em!important;
 margin:0!important
}
.tde-home-header .brandmark,.tde-home-header .brand-badge,.tde-roi-header .brand-square{
 width:40px!important;height:40px!important;min-width:40px!important;border-radius:11px!important;
 display:grid!important;place-items:center!important;font-size:12px!important;font-weight:900!important;
 background:linear-gradient(135deg,#a855f7,#6d28d9)!important;box-shadow:none!important;
}
.tde-home-header .nav,.tde-roi-header .tde-top-nav{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 flex-wrap:wrap!important;gap:15px!important;width:auto!important;margin:0!important;
 overflow:visible!important;font-size:14px!important;font-weight:720!important;color:#e0e5ff!important
}
.tde-home-header .nav>a,.tde-roi-header .tde-top-nav>a{
 display:inline-flex!important;align-items:center!important;gap:5px!important;
 padding:9px 6px!important;min-height:40px!important;border-radius:10px!important;
 font-size:14px!important;line-height:1.25!important;font-weight:720!important;
 background:transparent!important;box-shadow:none!important;border:0!important;
 color:#e0e5ff!important;text-decoration:none!important;white-space:nowrap!important
}
.tde-home-header .nav>a:hover,.tde-roi-header .tde-top-nav>a:hover{
 color:#fff!important;background:rgba(124,58,237,.15)!important
}
.tde-home-header .nav>a.tde-header-home{display:none!important}
.tde-home-header .board-toggle,.tde-roi-header .tde-top-sports{
 display:inline-flex!important;align-items:center!important;flex-wrap:nowrap!important;
 width:auto!important;gap:3px!important;padding:7px 9px!important;
 border-radius:17px!important;border:1px solid rgba(167,139,250,.14)!important;
 background:#080f34!important;box-shadow:none!important;overflow:visible!important
}
.tde-home-header .board-toggle>.sport-menu{position:relative!important;flex:none!important;min-width:0!important}
.tde-home-header .sport-trigger,.tde-roi-header .tde-top-sports>a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:8px!important;min-height:39px!important;padding:9px 12px!important;
 background:transparent!important;color:#e5e8ff!important;border:0!important;
 box-shadow:none!important;border-radius:11px!important;white-space:nowrap!important;
 font:inherit!important;font-size:14px!important;font-weight:730!important;line-height:1.2!important;
 text-decoration:none!important
}
.tde-home-header .sport-trigger.active,.tde-home-header .sport-trigger:hover,
.tde-home-header .sport-menu.open>.sport-trigger,.tde-home-header .sport-menu:focus-within>.sport-trigger,
.tde-roi-header .tde-top-sports>a:hover{background:rgba(94,52,161,.42)!important;color:#fff!important}
.tde-home-header .sport-trigger img,.tde-roi-header .tde-top-sports img{
 display:inline-block!important;width:21px!important;height:21px!important;max-width:21px!important;object-fit:contain!important;flex:none!important
}
.tde-home-header .sport-dropdown{position:absolute!important;z-index:10000!important;top:100%!important;left:0!important;min-width:205px!important;background:#08112d!important;border:1px solid #4e3c78!important;border-radius:12px!important;box-shadow:0 15px 35px #0008!important}
.tde-home-header .tde-mobile-sports{display:none!important}
.tde-home-header .nav>a.roi-zones-nav-link,.tde-roi-header .tde-top-nav>a.active{
 color:#e6e8ff!important;background:transparent!important;border:0!important;font-size:14px!important;font-weight:750!important;
 padding:9px 6px!important;box-shadow:none!important
}
.tde-home-header .nav>a.roi-zones-nav-link:hover,.tde-roi-header .tde-top-nav>a.active:hover{background:rgba(124,58,237,.15)!important}
@media(max-width:1100px){
 .tde-home-header,.tde-roi-header{padding:12px 8px!important;gap:9px!important}
 .tde-home-header .nav,.tde-roi-header .tde-top-nav{gap:8px!important}
 .tde-home-header .nav>a,.tde-roi-header .tde-top-nav>a{font-size:12px!important;padding:8px 5px!important}
 .tde-home-header .sport-trigger,.tde-roi-header .tde-top-sports>a{padding:8px!important;font-size:12px!important}
}
@media(max-width:720px){
 .tde-home-header,.tde-roi-header{align-items:flex-start!important}
 .tde-home-header .nav,.tde-roi-header .tde-top-nav{width:100%!important;justify-content:flex-start!important;gap:5px!important}
 .tde-home-header .board-toggle,.tde-roi-header .tde-top-sports{flex-wrap:wrap!important;gap:2px!important;padding:4px!important}
 .tde-home-header .sport-trigger,.tde-roi-header .tde-top-sports>a{padding:7px 6px!important;font-size:12px!important}
 .tde-home-header .sport-dropdown{width:min(240px,calc(100vw - 28px))!important}
}

/* Mobile navigation has a full-width sport row, followed by utility links.
   Explicitly reset legacy column direction instead of inheriting it. */
@media(max-width:720px){
 header.tde-home-header,header.tde-roi-header{flex-direction:column!important;align-items:stretch!important;min-height:0!important;padding:0!important;gap:10px!important;margin-bottom:18px!important}
 header.tde-home-header .brand,header.tde-roi-header .tde-top-brand{white-space:normal!important;min-width:0!important;font-size:20px!important}
 header.tde-home-header .nav,header.tde-roi-header .tde-top-nav{width:100%!important;min-width:0!important;gap:4px!important;justify-content:flex-start!important}
 header.tde-home-header .board-toggle,header.tde-roi-header .tde-top-sports{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex-direction:row!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;gap:4px!important;padding:5px!important}
 header.tde-home-header .board-toggle>.sport-menu{display:block!important;min-width:0!important;width:100%!important}
 header.tde-home-header .board-toggle>.sport-menu>.sport-trigger,header.tde-home-header .board-toggle>.edge-lab-trigger,header.tde-roi-header .tde-top-sports>a{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;min-height:44px!important;gap:4px!important;padding:8px 2px!important;font-size:12px!important}
 header.tde-home-header .board-toggle>.edge-lab-trigger{grid-column:auto!important}
 header.tde-home-header .sport-trigger img,header.tde-roi-header .tde-top-sports img{width:18px!important;height:18px!important;max-width:18px!important;flex:0 0 18px!important}
 header.tde-home-header .nav>a,header.tde-roi-header .tde-top-nav>a{flex:0 0 auto!important;min-height:40px!important;padding:7px 8px!important;font-size:12px!important}
 header.tde-home-header .nav>a.roi-zones-nav-link{font-size:12px!important;padding:7px 8px!important}
 header.tde-home-header .sport-menu:nth-child(3).open>.sport-dropdown{left:auto!important;right:0!important}
}
