.schedule-page {
  padding-bottom: 72px;
}

.schedule-main {
  display: grid;
  gap: 24px;
}

.schedule-glass {
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 42%, rgba(0,0,0,.22)),
    rgba(7,17,31,.66);
  border: 1px solid var(--glass-line);
  border-radius: var(--card-radius);
  box-shadow: 0 22px 52px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.schedule-header-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 24px;
  padding: 22px 24px;
}

.section-kicker {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.schedule-header-card h1,
.schedule-card-header h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-shadow: 0 3px 8px rgba(0,0,0,.58);
}

.season-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.season-tab {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.20);
  color: #fff;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.season-tab:hover,
.season-tab.is-active {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: rgba(255,255,255,.44);
  box-shadow: inset 0 -3px 0 var(--orange);
}

.schedule-list-card {
  padding: 0;
}

.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background:
    linear-gradient(90deg, rgba(0,83,155,.82), rgba(0,52,95,.48) 58%, rgba(244,125,48,.38));
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.schedule-card-header p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.season-meta {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.season-meta span {
  min-width: 78px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.schedule-table-wrap {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 13px 12px;
  text-align: center;
  white-space: nowrap;
}

.schedule-table th {
  background: rgba(3,10,18,.72);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.schedule-table td {
  color: #111;
  font-size: 16px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.schedule-row.is-home {
  background: rgba(0,83,155,.52);
}

.schedule-row.is-away {
  background: rgba(255,255,255,.92);
}

.schedule-row.is-complete {
  box-shadow: inset 5px 0 0 #f6d63b;
}

.schedule-row:hover {
  background: rgba(244,125,48,.38);
}

.schedule-row.is-complete {
  cursor: pointer;
}

.highlights-play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,83,155,.18);
  color: #111;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.highlights-play-link:hover {
  background: rgba(244,125,48,.34);
}

.opponent-col {
  min-width: 320px;
}

.opponent-cell {
  text-align: left !important;
}

.opponent-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.opponent-lockup img,
.opponent-logo-fallback {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.42));
}

.opponent-logo-fallback {
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}

.opponent-lockup strong {
  display: block;
  color: #111;
  font-size: 17px;
}

.opponent-lockup span {
  display: block;
  margin-top: 4px;
  color: rgba(0,0,0,.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.time-result {
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
}

.win-result {
  color: #0f8f44 !important;
  font-size: 22px !important;
    text-shadow:
    -1px -1px 0 rgba(255,255,255,.9),
     1px -1px 0 rgba(255,255,255,.9),
    -1px  1px 0 rgba(255,255,255,.9),
     1px  1px 0 rgba(255,255,255,.9);
}

.loss-result {
  color: #c62828 !important;
  font-size: 22px !important;
  text-shadow:
    -1px -1px 0 rgba(255,255,255,.9),
     1px -1px 0 rgba(255,255,255,.9),
    -1px  1px 0 rgba(255,255,255,.9),
     1px  1px 0 rgba(255,255,255,.9);
}

.type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.08);
  color: #111;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.type-pill.final {
  background: rgba(246,214,59,.62);
  color: #111;
}

.type-pill.scheduled {
  background: rgba(0,83,155,.14);
}

.schedule-loading {
  padding: 30px !important;
  color: rgba(255,255,255,.76) !important;
  text-align: center !important;
}

@media (max-width: 1100px) {
  .schedule-header-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .season-tabs {
    justify-content: flex-start;
  }

  .schedule-table th:first-child,
.schedule-table td:first-child {
  display: none;
}

.opponent-lockup {
  justify-content: center;
    width: 36px;
  height: 36px;
}

.opponent-lockup > div {
  display: none;
}

.schedule-table .opponent-col,
.schedule-table td:nth-child(3) {
  width: 56px;
  min-width: 56px;
  max-width: 56px;
  text-align: center;
}

.schedule-table .opponent-col {
  font-size: 0;
}

.schedule-table .opponent-col::after {
  content: "OPP";
  font-size: 0.85rem;
}

/* Date */

.schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
  width: 94px;
  min-width: 94px;
  max-width: 94px;
  padding-left: 4px;
  padding-right: 4px;
}


/* Time / Result */

.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4) {
  width: 104px;
  min-width: 104px;
  max-width: 104px;
  padding-left: 4px;
  padding-right: 4px;
}

.schedule-table th:nth-child(4) {
  font-size: 0;
}

.schedule-table td.time-result {
  font-size: 18px !important;
}

.schedule-table td.time-result.win-result,
.schedule-table td.time-result.loss-result {
  font-size: 18px !important;
}

/* Location */

.schedule-table th:nth-child(5),
.schedule-table td:nth-child(5) {
display: none;
}

/* Status */

.schedule-table th:nth-child(6),
.schedule-table td:nth-child(6) {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  padding-left: 2px;
  padding-right: 2px;
}

.schedule-table td:nth-child(6) .highlights-play-link {
  margin-left: 4px;
}

.schedule-table {
  min-width: 0;
  width: auto;
}

.schedule-table-wrap {
  overflow-x: auto;
}

}
