/* Schedule page refresh: align its palette and controls with the scoreboard and standings. */
.schedule-body {
  background: var(--cchl-page-bg, #f4f7fb) !important;
  color: var(--cchl-copy, #334155);
}

.schedule-page {
  box-sizing: border-box;
  width: min(calc(100% - 32px), var(--cchl-content-width, 1284px));
  margin: 22px auto 36px;
  font-family: var(--cchl-body-font, Arial, sans-serif);
}

.schedule-card {
  overflow: hidden;
  border: 1px solid var(--cchl-border, #dbe3ec);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(21, 31, 49, .08);
}

.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-bottom: 4px solid var(--cchl-accent, #9b1b1e);
  background: radial-gradient(ellipse at 82% 0%, rgba(49, 86, 129, .55), transparent 48%), #14243b;
  color: #fff;
}

.schedule-heading { min-width: 220px; }
.schedule-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #a9c9ee;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.schedule-card-title {
  margin: 0;
  color: #fff;
  font-family: var(--cchl-heading-font, Arial, sans-serif);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.45px;
}
.schedule-heading p {
  margin: 7px 0 0;
  color: #c7d3e2;
  font-size: 13px;
}
.schedule-card-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.schedule-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.schedule-toggle,
.schedule-anchor-link {
  display: inline-flex;
  min-height: 38px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #e9f0f8;
  background: rgba(255, 255, 255, .08);
  font-family: var(--cchl-label-font, Arial, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.schedule-toggle:hover,
.schedule-anchor-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .15);
  color: #fff;
}
.schedule-toggle.is-active {
  border-color: var(--cchl-accent, #9b1b1e);
  background: var(--cchl-accent, #9b1b1e);
  color: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}
.schedule-anchor-link { background: transparent; }
.schedule-anchor-link.is-disabled {
  opacity: .48;
  cursor: default;
  pointer-events: none;
}
.schedule-anchor-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  font-size: 15px;
  line-height: 1;
}

.schedule-table-wrap {
  padding: 22px 24px 26px;
  background: #f4f7fb;
}
.schedule-table-shell {
  overflow: auto;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(21, 43, 69, .04);
  scrollbar-width: thin;
}
.STHSPHPSchedule_ScheduleTable {
  width: 100% !important;
  min-width: 780px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #fff;
  color: #24364d;
  font-family: var(--cchl-body-font, Arial, sans-serif);
  font-size: 13px;
  table-layout: auto;
}
.STHSPHPSchedule_ScheduleTable th,
.STHSPHPSchedule_ScheduleTable td {
  box-sizing: border-box;
  border: 0 !important;
}
.STHSPHPSchedule_ScheduleTable thead th {
  height: 42px;
  padding: 0 14px !important;
  border-bottom: 1px solid #273b54 !important;
  background: #192e47 !important;
  color: #dce6f1 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .1em;
  text-align: left;
  text-shadow: none !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}
.STHSPHPSchedule_ScheduleTable thead th.schedule-heading-result,
.STHSPHPSchedule_ScheduleTable thead th.schedule-heading-detail { text-align: center; }
.STHSPHPSchedule_ScheduleTable tbody td {
  height: 58px;
  padding: 9px 14px !important;
  border-bottom: 1px solid #e8eef5 !important;
  background: #fff !important;
  color: #33465e !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
}
.STHSPHPSchedule_ScheduleTable tbody tr:nth-child(even) td { background: #f8fafc !important; }
.STHSPHPSchedule_ScheduleTable tbody tr:hover td { background: #edf4fb !important; }
.STHSPHPSchedule_ScheduleTable tbody tr:last-child td { border-bottom: 0 !important; }
.schedule-row-date {
  width: 16%;
  color: #53677e !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .025em;
  white-space: nowrap;
}
.schedule-team-cell { width: 16%; text-align: left; white-space: nowrap; }
.schedule-team-link {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  color: #1c304a !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}
.schedule-team-link:hover { color: var(--cchl-link, #005ea8) !important; }
.schedule-team-link img {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
}
.schedule-at-cell {
  width: 4%;
  color: #8493a5 !important;
  font-size: 11px !important;
  font-weight: 800;
  text-align: center;
}
.schedule-result-cell { width: 28%; text-align: center !important; white-space: nowrap; }
.schedule-result-cell a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #64748b !important;
  font-size: 11px;
  text-decoration: none !important;
  white-space: nowrap;
}
.schedule-result-team { color: #64748b; font-weight: 700; }
.schedule-result-team.is-winner { color: #1f344d; font-weight: 800; }
.schedule-result-score { color: #64748b; font-size: 16px; font-variant-numeric: tabular-nums; }
.schedule-result-score.is-winner { color: var(--cchl-accent, #9b1b1e); }
.schedule-result-dash { color: #9aa7b7; }
.schedule-result-overtime {
  padding: 3px 6px;
  border-radius: 5px;
  background: #eef3f8;
  color: #586b82;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}
.schedule-game-status {
  padding: 5px 9px;
  border: 1px solid #dce5ef;
  border-radius: 999px;
  background: #f6f9fc;
  color: #60758d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.schedule-heading-detail { width: 12%; }
.schedule-detail-cell { text-align: center; }
.schedule-detail-cell a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid #d8e2ee;
  border-radius: 999px;
  background: #fff;
  color: #315d87 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .15s ease, border-color .15s ease;
}
.schedule-detail-cell a:hover { border-color: #a9c6e2; background: #edf5fc; }
.schedule-marker td {
  height: auto !important;
  padding: 10px 14px !important;
  border-top: 1px solid #d3dfeb !important;
  border-bottom: 1px solid #d3dfeb !important;
  background: #edf3f9 !important;
  color: #31516f !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
.schedule-marker-last-sim td {
  border-color: #b7dece !important;
  background: #edf8f3 !important;
  color: #24745e !important;
}
.schedule-table-shell :focus-visible,
.schedule-card-header-actions a:focus-visible {
  outline: 3px solid #68a8df;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .schedule-page { width: calc(100% - 20px); margin: 14px auto 24px; }
  .schedule-card-header { padding: 21px 20px; }
  .schedule-card-header-actions { width: 100%; justify-content: flex-start; }
  .schedule-table-wrap { padding: 16px 14px 18px; }
}
@media (max-width: 560px) {
  .schedule-page { width: calc(100% - 12px); }
  .schedule-card { border-radius: 14px; }
  .schedule-card-header { padding: 19px 16px; gap: 16px; }
  .schedule-card-title { font-size: 24px; }
  .schedule-heading p { font-size: 12px; }
  .schedule-card-header-actions { align-items: flex-start; flex-direction: column; }
  .schedule-toggles { width: 100%; }
  .schedule-toggle { flex: 1 1 auto; padding: 9px 10px; font-size: 9px; }
  .schedule-anchor-link { min-height: 36px; }
  .schedule-table-wrap { padding: 12px 8px 14px; }
  .STHSPHPSchedule_ScheduleTable { min-width: 740px; }
}
@media (prefers-reduced-motion: reduce) {
  .schedule-toggle, .schedule-anchor-link, .schedule-detail-cell a { transition: none; }
}
