
#today-schedule [hidden] { display: none !important; }

#today-schedule .mf-hs-calendar-actions,
#today-schedule .mf-hs-month-navigation,
#today-schedule .mf-hs-month-navigation__buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

#today-schedule .mf-hs-calendar-actions,
#today-schedule .mf-hs-month-navigation { justify-content: space-between; }

#today-schedule .mf-hs-schedule-controls { gap: 10px; }

#today-schedule .mf-hs-schedule-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 12px;
  align-items: start;
}

#today-schedule .mf-hs-schedule-body:not(:has(.mf-hs-month-panel:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
}

#today-schedule .mf-hs-schedule-coverage { grid-column: 1 / -1; }

#today-schedule .mf-hs-month-panel,
#today-schedule .mf-hs-calendar-agenda { min-width: 0; }

#today-schedule .mf-hs-month-panel {
  padding: 10px;
  border: 1px solid #385040;
  border-radius: 6px;
  background: #0d1811;
}

#today-schedule :is(#mf-hs-month-title, #mf-hs-agenda-title) { margin: 10px 0 5px; }

#today-schedule #mf-hs-month-note {
  margin: 0 0 8px;
  color: #becbc1;
  font-size: .82rem;
}

#today-schedule .mf-hs-month-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e2eae3;
  font-size: .82rem;
}

#today-schedule .mf-hs-month-jump input {
  color-scheme: dark;
  min-height: 40px;
  min-width: 0;
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid #486253;
  border-radius: 4px;
  color: #f3f6f3;
  background: #15251b;
  font: inherit;
}

#today-schedule .mf-hs-month-grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 4px;
}

#today-schedule .mf-hs-month-grid th {
  padding: 3px 0;
  text-align: center;
  color: #d5e0d8;
  font-size: .75rem;
}

#today-schedule .mf-hs-month-grid td { padding: 0; }

#today-schedule .mf-hs-calendar-day {
  display: grid;
  align-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 5px 6px;
  border: 1px solid #334c3d;
  border-radius: 4px;
  background: #14241b;
  color: #f3f6f3;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  text-align: start;
}

#today-schedule .mf-hs-calendar-day small {
  color: #f6d66b;
  font-size: .68rem;
  font-weight: 750;
  white-space: nowrap;
}

#today-schedule .mf-hs-calendar-day[data-hs-has-matches] { border-color: #547a56; }
#today-schedule .mf-hs-calendar-day:hover,
#today-schedule .mf-hs-month-grid td[aria-selected="true"] .mf-hs-calendar-day {
  border-color: #f3cd58;
  background: #293722;
}

#today-schedule .mf-hs-calendar-day[aria-current="date"] > span { color: #f6d66b; }

#today-schedule .mf-hs-calendar-day:focus-visible,
#today-schedule .mf-hs-month-jump input:focus-visible {
  outline: 2px solid #f3cd58;
  outline-offset: 1px;
}

#today-schedule .mf-hs-month-panel:not([hidden]) + .mf-hs-calendar-agenda .mf-hs-schedule-row {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 5px !important;
  padding: 9px !important;
}

#today-schedule .mf-hs-month-panel:not([hidden]) + .mf-hs-calendar-agenda .mf-hs-schedule-row__status {
  display: flex;
  align-items: baseline;
  gap: 5px 9px;
  flex-wrap: wrap;
}

#today-schedule .mf-hs-calendar-more { margin-top: 8px; }

@media (max-width: 760px) {
  #today-schedule .mf-hs-schedule-body { grid-template-columns: minmax(0, 1fr); }
  #today-schedule .mf-hs-month-panel { padding: 7px; }
  #today-schedule .mf-hs-calendar-day { min-height: 44px; padding: 4px; }
  #today-schedule .mf-hs-month-grid { border-spacing: 2px; }
  html:root body[data-stl-v3][data-stl-cleanup] main#main-content#main-content #today-schedule .mf-hs-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  #today-schedule .mf-hs-filter-grid > label:last-child { grid-column: 1 / -1; }
}



/* Reset the article-table and global button sizing inside the date grid. */
html:root body #main-content #today-schedule .mf-hs-month-grid :is(th, td) {
  padding: 0 !important;
  min-width: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: nowrap !important;
  text-align: center;
  vertical-align: top;
}

html:root body #main-content #today-schedule .mf-hs-month-grid th {
  padding-block: 5px !important;
}

html:root body #main-content #today-schedule .mf-hs-month-grid .mf-hs-calendar-day {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  justify-content: stretch !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  html:root body #main-content #today-schedule .mf-hs-month-grid .mf-hs-calendar-day {
    justify-items: center;
    padding-inline: 2px !important;
  }
}


html:root body main#main-content#main-content #today-schedule .mf-hs-month-grid .mf-hs-calendar-day {
  color: #f3f6f3 !important;
  background: #14241b !important;
  border: 1px solid #3b5747 !important;
}
html:root body main#main-content#main-content #today-schedule .mf-hs-month-grid .mf-hs-calendar-day[data-hs-has-matches] {
  border-color: #558761 !important;
}
html:root body main#main-content#main-content #today-schedule .mf-hs-month-grid .mf-hs-calendar-day:hover,
html:root body main#main-content#main-content #today-schedule .mf-hs-month-grid td[aria-selected="true"] .mf-hs-calendar-day {
  background: #2c3e23 !important;
  border-color: #f3cd58 !important;
}


/* Matchday layout is scoped to the school schedule. */
#today-schedule {
  --hs-board-surface: #0e1611;
  --hs-board-panel: #111c15;
  --hs-board-border: #355044;
  --hs-board-gold: #eacb49;
  --hs-board-green: #1ed760;
  --hs-board-muted: #b5c3bb;
}

#today-schedule .mf-hs-feed-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 10px;
  min-width: 0;
}

#today-schedule #mf-hs-schedule-update {
  margin: 0;
  color: var(--hs-board-muted);
  font-size: .78rem;
}

#today-schedule .mf-hs-matchday-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr);
  gap: 10px;
  align-items: start;
  margin-block: 0 10px;
}

#today-schedule :is(.mf-hs-scoreboard, .mf-hs-replay) {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hs-board-border);
  border-radius: 6px;
  background: var(--hs-board-surface);
}

#today-schedule .mf-hs-scoreboard { border-top: 2px solid var(--hs-board-green); }

#today-schedule .mf-hs-scoreboard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 10px;
  padding: 8px 12px;
}

#today-schedule :is(.mf-hs-scoreboard-head, .mf-hs-replay-caption) h3 {
  margin: 0;
  color: #eff1f2;
  font-weight: 850;
  line-height: 1.24;
}

#today-schedule .mf-hs-board-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid var(--hs-board-border);
  color: #eff1f2;
  text-decoration: none;
}

#today-schedule .mf-hs-board-game:is(:hover, :focus-visible) { background: var(--hs-board-panel); }

#today-schedule .mf-hs-board-game small {
  display: block;
  margin-bottom: 2px;
  color: var(--hs-board-muted);
  font-size: .72rem;
  line-height: 1.2;
}

#today-schedule .mf-hs-board-game strong { font-size: .91rem; line-height: 1.28; }
#today-schedule .mf-hs-board-game .mf-hs-team-vs { color: var(--hs-board-muted); font-weight: 500; }
#today-schedule .mf-hs-board-score { text-align: end; }
#today-schedule .mf-hs-board-score strong {
  color: var(--hs-board-gold);
  font-size: 1.06rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#today-schedule :is(.mf-hs-board-note, #mf-hs-scoreboard-games > a:not(.mf-hs-board-game)) {
  display: block;
  padding: 6px 12px 12px;
}

#today-schedule .mf-hs-replay-media {
  display: grid;
  place-items: center;
  position: relative;
  height: 145px;
  background: linear-gradient(0deg, rgba(2, 8, 5, .53), rgba(2, 8, 5, .12)),
    url("/assets/img/pathways/mf-pathway-high-school.webp") 50% 49% / cover no-repeat #14241b;
}

#today-schedule .mf-hs-replay-media:has(iframe) { height: auto; aspect-ratio: 16 / 9; }
#today-schedule .mf-hs-replay-media iframe { width: 100%; height: 100%; border: 0; }
#today-schedule .mf-hs-media-credit {
  position: absolute;
  top: 7px;
  left: 8px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(0,0,0,.66);
  color: #eff1f2;
  font-size: .64rem;
}

html:root body[data-stl-v3][data-stl-cleanup] main#main-content#main-content #today-schedule .mf-hs-replay .mf-hs-replay-play {
  min-height: 44px;
  padding-inline: 15px;
  border: 1px solid var(--hs-board-green) !important;
  border-radius: 5px !important;
  background: var(--hs-board-green) !important;
  color: #041009 !important;
  font: inherit;
  font-weight: 900 !important;
  cursor: pointer;
}

#today-schedule .mf-hs-replay-caption { padding: 8px 12px 10px; }
#today-schedule .mf-hs-replay-caption p {
  margin: 3px 0 5px;
  color: var(--hs-board-muted);
  font-size: .77rem;
  line-height: 1.35;
}
#today-schedule :is(.mf-hs-media-links, .mf-hs-empty-actions) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
#today-schedule :is(.mf-hs-media-links, .mf-hs-coverage-row, .mf-hs-empty-actions) a {
  color: var(--hs-board-gold);
  text-underline-offset: .16em;
}

#today-schedule .mf-hs-empty--choices {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 7px 10px;
  padding: 10px !important;
  text-align: start;
}
#today-schedule .mf-hs-empty--choices :is(h3, p) { margin: 0; }
#today-schedule .mf-hs-empty--choices p { color: var(--hs-board-muted); }
#today-schedule .mf-hs-schedule-coverage { padding: 9px 12px; }
#today-schedule .mf-hs-schedule-coverage summary {
  cursor: pointer;
  color: var(--hs-board-gold);
  font-weight: 800;
  padding-block: 4px;
}
#today-schedule #mf-hs-schedule-coverage:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 12px;
  margin-bottom: 8px;
}
#today-schedule .mf-hs-coverage-row { padding-block: 6px; }
#today-schedule .mf-hs-coverage-row a { font-size: .77rem; }
#today-schedule .mf-hs-schedule-row time span:empty { display: none; }

@media (min-width: 1100px) {
  #today-schedule .mf-hs-month-panel[hidden] + .mf-hs-calendar-agenda .mf-hs-schedule-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  html:root body #main-content #today-schedule .mf-hs-month-panel[hidden] + .mf-hs-calendar-agenda .mf-hs-schedule-row {
    grid-template-columns: minmax(66px, .65fr) minmax(0, 1.65fr) minmax(86px, 1fr) !important;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  #today-schedule .mf-hs-matchday-grid { grid-template-columns: minmax(0, 1fr); }
  #today-schedule .mf-hs-feed-tools { justify-content: flex-start; }
  #today-schedule .mf-hs-board-game { padding-block: 7px; }
  #today-schedule #mf-hs-schedule-coverage:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #today-schedule .mf-hs-replay-media { height: clamp(116px, 38vw, 165px); }
}

html:root body[data-stl-v3][data-stl-cleanup] main#main-content#main-content #today-schedule .mf-hs-schedule-body {
  min-height: 0 !important;
  align-content: start;
}

#today-schedule .mf-hs-schedule-controls { padding: 8px; }
#today-schedule .mf-hs-schedule-coverage:not([open]) { min-height: 0; padding-block: 4px; }

@media (max-width: 760px) {
  #today-schedule .mf-hs-feed-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 8px;
  }
  #today-schedule #mf-hs-schedule-summary { width: auto !important; min-width: 0; justify-self: start; }
  #today-schedule [data-hs-refresh] { grid-column: 2; grid-row: 1; }
  #today-schedule #mf-hs-schedule-update { grid-column: 1 / -1; grid-row: 2; }
}

#today-schedule .mf-hs-teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 6px;
}
#today-schedule .mf-hs-team {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
#today-schedule .mf-hs-team-vs { color: var(--hs-board-muted); }
#today-schedule .mf-hs-school-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--hs-mark-size, 23px);
  height: var(--hs-mark-size, 23px);
  border-radius: 3px;
  background: #ecf0ea;
  color: #102317;
  font: 800 9px/1 system-ui, sans-serif;
}
#today-schedule .mf-hs-school-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#today-schedule .mf-hs-school-mark:has(img:not([hidden])) > span { display: none; }

#today-schedule .mf-hs-calendar-day[data-hs-has-matches] {
  align-content: start;
  gap: 3px;
}
#today-schedule .mf-hs-calendar-fixtures {
  display: grid;
  gap: 3px;
  width: 100%;
  min-width: 0;
  text-align: center;
}
#today-schedule .mf-hs-calendar-fixture {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 4px;
  padding: 2px 0;
  border-radius: 3px;
  background: #0b1911;
  font: 800 11px/1.15 system-ui, sans-serif;
}
#today-schedule .mf-hs-calendar-marks {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  --hs-mark-size: 14px;
}
#today-schedule .mf-hs-calendar-marks .mf-hs-school-mark { font-size: 7px; }
#today-schedule .mf-hs-calendar-kickoff { color: #f6d66b; }
#today-schedule .mf-hs-calendar-fixtures small { line-height: 1.15; }

@media (max-width: 760px) {
  #today-schedule .mf-hs-calendar-marks { --hs-mark-size: 12px; }
  #today-schedule .mf-hs-calendar-fixture { flex-direction: column; font-size: 9px; }
}
