/** A date toolbar and aligned game cells, using the existing ticker controls. */
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scoreboard {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 44px 80px;
  height: 124px;
  background: #8c162c;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scoreboard-label {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--hh-polish-bg);
  border: 0;
  border-bottom: 1px solid #2c4359;
}
body.habs-design-2026 #masthead .habs-league-scoreboard-slot .habs-league-scoreboard-label > .hh-scores-label {
  max-width: none;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  text-align: left;
}
body.habs-design-2026 #masthead .habs-league-scoreboard-slot .habs-league-scoreboard-label .hh-score-dates {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: 44px;
  flex: 0 1 194px;
  width: 194px;
  min-width: 188px;
  margin-left: auto;
  column-gap: 0;
}
body.habs-design-2026 #masthead .hh-score-dates .hh-score-date-picker {
  grid-column: 2;
  grid-row: 1;
  min-width: 100px;
  min-height: 44px;
  justify-content: center;
  gap: 5px;
  color: #fff;
}
body.habs-design-2026 #masthead .hh-score-dates .hh-score-date-picker > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
}
body.habs-design-2026 #masthead .hh-score-dates .hh-score-date-picker svg { width: 10px; }
body.habs-design-2026 #masthead .hh-score-dates button {
  grid-row: 1;
  width: 44px;
  height: 44px;
  color: #fff;
  background: transparent;
  border: 0;
}
body.habs-design-2026 #masthead .hh-score-dates button[data-habs-league-day="previous"] { grid-column: 1; }
body.habs-design-2026 #masthead .hh-score-dates button[data-habs-league-day="next"] { grid-column: 3; }
body.habs-design-2026 #masthead .habs-league-scoreboard-label .hh-scores-today {
  position: static;
  flex: 0 0 auto;
  order: 1;
  min-width: 60px;
  min-height: 44px;
  max-width: 76px;
  padding: 0 4px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
body.habs-design-2026 #masthead .habs-league-scoreboard-label:has(.hh-scores-today:not([hidden])) .hh-score-dates { margin-left: auto; }
body.habs-design-2026 #masthead .habs-league-scoreboard-label:has(.hh-scores-today:not([hidden])) > .hh-scores-label { display: none; }
body.habs-design-2026 #masthead .habs-league-scoreboard-label .hh-score-dates { order: 2; }
body.habs-design-2026 #masthead .habs-league-scoreboard-label em {
  position: absolute;
  left: 12px;
  right: auto;
  bottom: 4px;
  color: #ffe5a8;
  font-size: 10px;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scoreboard.is-stale {
  height: 138px;
  grid-template-rows: 58px 80px;
}
body.habs-design-2026 .habs-league-scoreboard-viewport { background: #8c162c; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scroll { background: #8c162c; color: #fff; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scroll:hover:not(:disabled) { background: #a31b35; }
body.habs-design-2026 .habs-league-scoreboard .habs-league-scoreboard-track {
  height: 100%;
  min-height: 0;
  align-items: center;
  gap: 5px;
  padding: 4px;
}
body.habs-design-2026 .habs-league-scoreboard.is-empty .habs-league-scoreboard-track { padding-block: 0; }
body.habs-design-2026 .habs-league-scoreboard .habs-league-game {
  flex-basis: 144px;
  height: 72px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 20px minmax(0, 1fr);
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 22%);
  border-radius: 0;
  background: transparent;
}
body.habs-design-2026 .habs-league-scoreboard .habs-league-game-status {
  grid-column: 1;
  grid-row: 1;
  flex-direction: row;
  justify-content: flex-start;
  gap: 5px;
  padding: 3px 10px;
  background: transparent;
  border: 0;
  color: #f8dce3;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: left;
  white-space: nowrap;
}
body.habs-design-2026 .habs-league-scoreboard .habs-league-game.is-scheduled .habs-league-game-status { text-transform: none; }
body.habs-design-2026 .habs-league-game-teams {
  grid-column: 1;
  grid-row: 2;
  padding: 0 10px;
}
body.habs-design-2026 .habs-league-game-team { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 6px; }
body.habs-design-2026 .habs-league-team-logo { width: 24px; height: 24px; }
body.habs-design-2026 .habs-league-team-logo img { filter: none; }
body.habs-design-2026 .habs-league-game-team b {
  font-family: var(--global-heading-font-family, sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .035em;
}
body.habs-design-2026 .habs-league-game-team strong { font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
body.habs-design-2026 .habs-league-scoreboard .habs-league-game.is-montreal {
  background: transparent;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 22%);
  border-radius: 0;
  box-shadow: none;
}
body.habs-design-2026 .habs-league-scoreboard .habs-league-game.is-live .habs-league-game-status { color: #f5f4ee; }
body.habs-design-2026 .habs-league-game-status i {
  width: 5px;
  height: 5px;
  margin: 0;
  box-shadow: none;
  animation: none;
}
/* A live marker stays visible against the red strip; labels retain their data. */
body.habs-design-2026 .habs-league-game.is-live .habs-league-game-status i { background: #fff; }

/* Draw consistent chevrons without changing native controls or tap targets. */
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scroll { box-shadow: none; }
body.habs-design-2026 #masthead .hh-score-dates button > span,
body.habs-design-2026 #masthead .habs-league-scroll > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  transform: none;
}
body.habs-design-2026 #masthead .hh-score-dates button > span::before,
body.habs-design-2026 #masthead .habs-league-scroll > span::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
body.habs-design-2026 #masthead .hh-score-dates button[data-habs-league-day="previous"] > span::before,
body.habs-design-2026 #masthead .habs-league-scroll.is-previous > span::before { transform: rotate(225deg); }
body.habs-design-2026 #masthead .habs-league-scroll > span {
  width: 28px;
  height: 32px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 3px;
  background: rgb(0 0 0 / 10%);
}
body.habs-design-2026 #masthead .habs-league-scroll:hover:not(:disabled) > span { border-color: rgb(255 255 255 / 65%); }
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scoreboard.is-empty {
  height: 94px;
  grid-template-rows: 44px 50px;
}
body.habs-design-2026 .habs-league-scoreboard-empty { justify-content: flex-start; padding-inline: 16px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scoreboard.is-empty.is-stale {
  height: 108px;
  grid-template-rows: 58px 50px;
}
@media (min-width: 701px) {
  body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scoreboard-label { padding-inline: 24px; }
  body.habs-design-2026 #masthead .habs-league-scoreboard-label:has(.hh-scores-today:not([hidden])) > .hh-scores-label { display: block; }
  body.habs-design-2026 #masthead .habs-league-scoreboard-label .hh-scores-today { order: 3; max-width: none; }
}
@media (max-width: 360px) {
  body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot .habs-league-scoreboard-label { padding-inline: 14px; gap: 4px; }
  body.habs-design-2026 #masthead .habs-league-scoreboard-slot .habs-league-scoreboard-label > .hh-scores-label { font-size: 9px; letter-spacing: .09em; }
}

/* Finish the ticker as a distinct header module, then leave a navy gap. */
body.habs-design-2026.habs-has-league-scoreboard #masthead .habs-league-scoreboard-slot {
  border-bottom: 2px solid #c8102e;
}
body.habs-design-2026.habs-front-page.habs-has-league-scoreboard .entry-content > .habs-scoreboard {
  padding-top: 18px;
}

/* Older Customizer rules target .site-header-inner-wrap after plugin styles.
 * Keep the approved ticker geometry when those saved rules are still present. */
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-slot .habs-league-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 44px 80px;
  min-height: 124px;
  height: 124px;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-label {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  height: 44px;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--hh-polish-line);
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-label > .hh-scores-label {
  color: var(--hh-polish-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  text-align: left;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-score-dates {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: 44px;
  grid-auto-rows: 44px;
  flex: 0 1 194px;
  width: 194px;
  min-width: 188px;
  max-width: none;
  height: 44px;
  gap: 0;
  margin-left: auto;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-score-date-picker {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: auto;
  min-width: 100px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-score-date-picker > span,
body.habs-design-2026.habs-has-league-scoreboard #masthead #mobile-header .site-header-inner-wrap .hh-score-date-picker > span {
  font-size: 12px;
  font-weight: 600;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-score-date-picker > svg {
  display: block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-score-dates button {
  grid-row: 1;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-score-dates button[data-habs-league-day="previous"] { grid-column: 1; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-score-dates button[data-habs-league-day="next"] { grid-column: 3; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-scores-today:not([hidden]) {
  position: static;
  flex: 0 0 auto;
  order: 1;
  min-width: 60px;
  max-width: 76px;
  min-height: 44px;
  height: 44px;
  padding: 0 4px;
  color: var(--hh-polish-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-viewport {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  min-height: 80px;
  height: 80px;
  background-color: var(--hh-polish-red);
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scroll {
  width: 44px;
  min-width: 44px;
  height: 80px;
  min-height: 44px;
  padding: 0;
  background: transparent;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-track {
  align-items: center;
  gap: 5px;
  min-height: 0;
  height: 100%;
  padding: 4px;
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard .habs-league-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 20px minmax(0, 1fr);
  flex: 0 0 144px;
  max-width: 144px;
  min-width: 0;
  min-height: 72px;
  height: 72px;
  gap: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 22%);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard .habs-league-game-status {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 3px 10px;
  border: 0;
  font-size: 10.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game-teams {
  grid-column: 1;
  grid-row: 2;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-height: 0;
  padding: 0 10px;
  box-sizing: border-box;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game-team {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr);
  gap: 6px;
  min-height: 0;
  height: auto;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap :is(.habs-league-team-logo, .habs-league-team-logo img) {
  width: 24px;
  height: 24px;
  max-width: 24px;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game-team b { font-size: 15px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game-team strong { font-size: 18px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-stale { min-height: 138px; height: 138px; grid-template-rows: 58px 80px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-empty { min-height: 94px; height: 94px; grid-template-rows: 44px 50px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-empty.is-stale { min-height: 108px; height: 108px; grid-template-rows: 58px 50px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-stale .habs-league-scoreboard-label { min-height: 58px; height: 58px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-empty :is(.habs-league-scoreboard-viewport, .habs-league-scoreboard-track, .habs-league-scoreboard-empty) { min-height: 50px; height: 50px; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-empty .habs-league-scoreboard-viewport { grid-template-columns: minmax(0, 1fr); }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-empty .habs-league-scroll { display: none; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard.is-empty .habs-league-scoreboard-track { padding-block: 0; }
@media (min-width: 701px) {
  body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-label { padding-inline: 24px; }
  body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .hh-scores-today:not([hidden]) { order: 3; max-width: none; }
}
@media (max-width: 360px) {
  body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-label { padding-inline: 14px; gap: 4px; }
}

/* A lit red score rail: clearer crests and numbers, without separate navy tiles. */
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard-viewport {
  background-image: radial-gradient(ellipse at 40% 0%, #ff8ba333, transparent 65%), linear-gradient(180deg, #d51c3c, #c8102e 54%, #ae0d29);
  box-shadow: inset 0 1px 0 #ffb3c166, inset 0 -2px 0 #67071c4d;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard .habs-league-game {
  flex: 1 0 144px;
  max-width: 210px;
  border-right-color: #ffdce34d;
  background: linear-gradient(180deg, #ffffff0c, #43000d0d);
  box-shadow: inset 0 1px 0 #ffffff1f;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard .habs-league-scoreboard-track {
  justify-content: safe center;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scoreboard .habs-league-game-status {
  padding-top: 3px;
  border-bottom: 1px solid #ffdce31c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .035em;
  color: #fff1f4;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game-team {
  grid-template-columns: 26px minmax(0, 1fr) auto;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap :is(.habs-league-team-logo, .habs-league-team-logo img) {
  width: 26px;
  height: 26px;
  max-width: 26px;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game-team b { letter-spacing: .035em; }
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game-team strong {
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 2px #52001659;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-game.is-live .habs-league-game-status i {
  width: 6px;
  height: 6px;
  background: #b8ffe4;
  box-shadow: 0 0 0 2px #b8ffe41a, 0 0 7px #b8ffe480;
}
body.habs-design-2026.habs-has-league-scoreboard #masthead .site-header-inner-wrap .habs-league-scroll>span {
  border-radius: 6px;
  border-color: #ffdce366;
  background: #65071d33;
  box-shadow: inset 0 1px 0 #ffffff1f, 0 2px 5px #65071d33;
}
