/* Final Home results geometry v14: the Nokia and exactly eight result cards fill the visible row.
   No extra scrollbar gutter, reserved row height, or partial ninth card may appear.

   Desktop keeps the current Nokia/card rendered size and the 38px white top breathing zone.
   The green Loser.BET banner stays in place, while the LAST RESULTS title and the complete
   results row are lowered by about 3 mm (11.34 CSS px). Card artwork remains untouched. */

@media(min-width:701px){
  #comp-home .home-results{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  #comp-home .home-results-frame{
    grid-template-columns:calc((100% - 64px)/12.4051460326) minmax(0,1fr)!important;
    gap:8px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    align-items:start!important;
    align-content:start!important;
  }
  #comp-home .home-results-frame>.home-nokia{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    align-self:start!important;
    aspect-ratio:1283 / 2140!important;
  }
  #comp-home .home-results-frame #homeResultsTrack{
    display:grid!important;
    grid-auto-flow:column!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    column-gap:8px!important;
    row-gap:0!important;
    grid-auto-rows:auto!important;
    grid-auto-columns:calc((100% - 56px)/8)!important;
    justify-content:start!important;
    align-self:start!important;
    align-items:start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:0!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-gutter:auto!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  #comp-home .home-results-frame #homeResultsTrack>*{scroll-snap-align:start!important}
  #comp-home .home-results-frame #homeResultsTrack::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:start!important;
    justify-self:stretch!important;
    aspect-ratio:1159 / 1356!important;
  }
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image>.nhl-official-canvas{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1159 / 1356!important;
  }
  /* Every NHL result card occupies the exact same carousel slot, including No Mercy. */
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image.home-result-card--nhl-no-mercy,
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image.home-result-card--nhl-no-mercy>.nhl-official-canvas{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1159 / 1356!important;
  }
}

@media(max-width:700px), (max-width:1000px) and (max-height:500px) and (orientation:landscape){
  #comp-home .home-results-frame{
    --home-result-height:176.4px;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    align-items:start!important;
    align-content:start!important;
  }
  #comp-home .home-results-frame>.home-nokia{
    height:var(--home-result-height)!important;
    min-height:var(--home-result-height)!important;
    max-height:var(--home-result-height)!important;
    margin:0!important;
    align-self:start!important;
  }
  #comp-home .home-results-frame #homeResultsTrack{
    width:100%!important;
    min-width:0!important;
    height:var(--home-result-height)!important;
    min-height:var(--home-result-height)!important;
    max-height:var(--home-result-height)!important;
    margin:0!important;
    padding:0!important;
    grid-auto-rows:var(--home-result-height)!important;
    grid-auto-columns:clamp(110.6px,70%,152.6px)!important;
    align-self:start!important;
    align-items:start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-gutter:auto!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  #comp-home .home-results-frame #homeResultsTrack::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image{
    height:var(--home-result-height)!important;
    min-height:var(--home-result-height)!important;
    max-height:var(--home-result-height)!important;
    margin:0!important;
    align-self:start!important;
  }
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image>.nhl-official-canvas{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
  }
  /* No Mercy uses the same mobile slot height and width as every standard NHL card. */
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image.home-result-card--nhl-no-mercy{
    height:var(--home-result-height)!important;
    min-height:var(--home-result-height)!important;
    max-height:var(--home-result-height)!important;
    aspect-ratio:auto!important;
  }
  #comp-home #homeResultsTrack .home-result-card--nhl-official-image.home-result-card--nhl-no-mercy>.nhl-official-canvas{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
  }
}

@media(min-width:901px){
  .v15-sidebar .v15-brand,
  .v15-unified-sidebar .v15-brand{
    width:calc(100% + 20px)!important;
    margin-left:-10px!important;
    margin-right:-10px!important;
    padding:0 0 14px!important;
    overflow:visible!important;
  }
  .v15-sidebar .v15-brand img,
  .v15-unified-sidebar .v15-brand img{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
    margin:0 auto 8px!important;
  }

  #comp-home .home-results-partner-heading>.home-partner-banner{margin-right:8px!important}

  #comp-home .home-results-partner-heading>h2{
    position:relative!important;
    top:11.34px!important;
  }
  #comp-home .home-results-frame{margin-top:11.34px!important}

  #comp-home .home-results-heading{
    box-sizing:border-box!important;
    justify-content:flex-end!important;
  }
  #comp-home .home-results-heading>h2{
    margin-left:auto!important;
    margin-right:0!important;
    text-align:right!important;
  }
  #comp-home .home-results>.home-results-heading{
    width:100%!important;
    max-width:100%!important;
  }

  /* Restore the Featured heading inside its own block. Extending this row across the
     right-hand dashboard rail pushed the text underneath that rail, making it disappear. */
  #comp-home .home-featured{
    overflow:visible!important;
  }
  #comp-home .home-featured>.home-results-heading{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    position:relative!important;
    z-index:20!important;
    visibility:visible!important;
    opacity:1!important;
  }
  #comp-home #homeFeaturedTitle{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  #comp-home .home-beliefs>.home-results-heading{
    width:100%!important;
    max-width:100%!important;
    padding-right:6px!important;
  }
}

@media(min-width:901px){
  .v15-main,
  .v15-unified-main,
  .v15-tournament-main{
    margin-left:0!important;
    margin-right:0!important;
  }
  .v15-shell,
  .v15-unified-shell,
  .v15-tournament-shell{
    width:calc(107.63069938% - 507.2142272px)!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-top:38px!important;
  }
}
@media(max-width:900px){
  .v15-shell,
  .v15-unified-shell,
  .v15-tournament-shell{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    margin-top:0!important;
  }
  .v15-main,
  .v15-unified-main,
  .v15-tournament-main{
    margin-left:0!important;
    margin-right:0!important;
  }
  #comp-home .home-featured>.home-results-heading,
  #comp-home .home-beliefs>.home-results-heading,
  #comp-home .home-results>.home-results-heading{
    width:100%!important;
    max-width:100%!important;
    padding-right:0!important;
  }
}

/* Match the three main Home section titles exactly to the sidebar navigation typography. */
#comp-home .home-results-partner-heading>h2,
#comp-home #homeFeaturedTitle,
#comp-home #homeBeliefsTitle{
  font:400 14px/1 'Oswald',Arial,sans-serif!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
}

.v15-sidebar,
.v15-unified-sidebar,
.v15-sidebar-foot,
.v15-unified-sidebar .v15-sidebar-foot,
.v15-partner-lag,
.ll-site-footer,
#comp-nhl .nhl41-nav,
#comp-nhl .nhl41-subnav,
.v15-unified-local-nav,
.v15-local-nav,
.v15-local-nav.og26-local-nav{
  border:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  outline:0!important;
}
.v15-menu-sep{
  display:none!important;
  height:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}

/* ==========================================================
   NHL27 · GAME OF THE NIGHT · FINAL MOBILE OVERRIDE
   This catches both the legacy .nhl41-gotn marker and the newer
   .nhl41-gotn-v2 marker. Loaded last in <head>, so the old orange
   side-strip treatment cannot win the cascade on phones.
   ========================================================== */
@container nhl41v (max-width:1000px){
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2{
    position:relative!important;
    isolation:isolate!important;
    overflow:visible!important;
    margin-top:24px!important;
    margin-bottom:9px!important;
    border-radius:0!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn::before,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2::before{
    content:'☆  GAME OF THE NIGHT'!important;
    position:absolute!important;
    z-index:30!important;
    top:0!important;
    left:50%!important;
    width:210px!important;
    max-width:calc(100% - 24px)!important;
    min-width:0!important;
    height:28px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 22px 1px 12px!important;
    transform:translate(-50%,-48%)!important;
    color:#f5cf63!important;
    background:linear-gradient(180deg,#161719 0%,#050607 100%)!important;
    border:1px solid #d4a12a!important;
    border-left:3px solid #f0bd43!important;
    border-radius:0!important;
    clip-path:polygon(0 0,calc(100% - 15px) 0,100% 50%,calc(100% - 15px) 100%,0 100%)!important;
    box-shadow:0 0 0 1px rgba(255,214,93,.10),0 5px 13px rgba(0,0,0,.35)!important;
    font:italic 700 10px/1 'Oswald',Arial,sans-serif!important;
    letter-spacing:.075em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:none!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn::after,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2::after{
    content:none!important;
    display:none!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-row,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-row{
    position:relative!important;
    z-index:1!important;
    overflow:hidden!important;
    min-height:134px!important;
    padding-top:24px!important;
    padding-bottom:10px!important;
    color:#f8fbfd!important;
    background:
      radial-gradient(circle at 10% -10%,rgba(248,191,54,.26) 0,rgba(248,191,54,.07) 16%,transparent 35%),
      radial-gradient(circle at 90% -10%,rgba(248,191,54,.24) 0,rgba(248,191,54,.06) 16%,transparent 35%),
      linear-gradient(180deg,rgba(3,10,17,.24) 0%,rgba(5,19,31,.72) 58%,rgba(3,18,29,.95) 100%),
      linear-gradient(90deg,#02070d 0%,#071522 25%,#091a29 50%,#071522 75%,#02070d 100%)!important;
    border-top:1px solid #d5a32b!important;
    border-bottom:1px solid #d5a32b!important;
    box-shadow:
      inset 3px 0 0 #e3a521,
      inset -3px 0 0 #e3a521,
      inset 0 1px 0 rgba(255,237,174,.16),
      inset 0 -30px 40px rgba(55,122,158,.09),
      0 5px 15px rgba(2,10,18,.15)!important;
    filter:none!important;
    opacity:1!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-row-team-main>b,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-row-team-main>b,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-row-personal,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-row-personal,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-row-rank,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-row-rank{
    color:#f8fbfd!important;
    text-shadow:0 1px 2px rgba(0,0,0,.70)!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-row-record,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-row-record{
    color:#dce7ee!important;
    text-shadow:0 1px 2px rgba(0,0,0,.68)!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-row-personal-record,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-row-personal-record{
    color:#9db8c9!important;
    text-shadow:0 1px 2px rgba(0,0,0,.68)!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-bet-partner::before,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-bet-partner::before,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-bet-partner::after,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-bet-partner::after{
    display:block!important;
    max-width:88px!important;
    font-size:6px!important;
    letter-spacing:.05em!important;
    white-space:normal!important;
    line-height:1.15!important;
    text-align:center!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-odds-badge,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-odds-badge{
    color:#fff!important;
    background:linear-gradient(180deg,#0b8d52 0%,#066d3d 100%)!important;
    border:1px solid #d9aa38!important;
    border-radius:5px!important;
    box-shadow:0 0 0 1px rgba(255,221,119,.10),0 0 10px rgba(223,177,49,.10)!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-bet-tagline,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-bet-tagline{
    color:#f2f6f9!important;
    text-shadow:0 1px 2px rgba(0,0,0,.70)!important;
  }

  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-bet-odd,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-bet-odd{
    color:#e8f6ff!important;
    text-shadow:0 0 8px rgba(116,196,238,.20),0 1px 2px rgba(0,0,0,.72)!important;
  }
}

@media(min-width:391px) and (max-width:480px){
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn::before,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2::before{
    width:224px!important;
    height:30px!important;
    font-size:10.5px!important;
    letter-spacing:.08em!important;
  }
}

@media(min-width:340px) and (max-width:390px){
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn::before,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2::before{
    width:184px!important;
    height:26px!important;
    padding-left:10px!important;
    padding-right:18px!important;
    font-size:8.5px!important;
    letter-spacing:.06em!important;
    clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%)!important;
  }
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn .nhl41-row,
  #comp-nhl #nhl41ScheduleBox .nhl41-row-wrap.nhl41-gotn-v2 .nhl41-row{
    min-height:128px!important;
    padding-top:21px!important;
    padding-bottom:9px!important;
    box-shadow:
      inset 2px 0 0 #e3a521,
      inset -2px 0 0 #e3a521,
      inset 0 1px 0 rgba(255,237,174,.14),
      inset 0 -26px 34px rgba(55,122,158,.08),
      0 4px 12px rgba(2,10,18,.14)!important;
  }
}