.page-schedule {
  --schedule-panel: rgba(5, 22, 17, 0.9);
  --schedule-panel-deep: rgba(3, 14, 11, 0.94);
  --schedule-line: rgba(193, 125, 79, 0.55);
  --schedule-teal: #66c9bb;
  --schedule-cream: #eee8dc;
  --schedule-muted: #aaa99e;
}

.page-schedule .app { max-width: 1440px; }

.schedule-hero {
  position: relative;
  max-width: 900px;
  margin: 2.75rem auto 2rem;
  text-align: center;
}

.schedule-eyebrow {
  margin: 0 0 0.7rem;
  color: #e9a26f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.schedule-hero h1 {
  margin: 0;
  color: var(--schedule-cream);
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1;
}

.schedule-hero > p:not(.schedule-eyebrow) {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: #cbc8be;
  font-size: 1.08rem;
}

.schedule-now,
.schedule-next,
.schedule-season,
.schedule-source {
  border: 1px solid var(--schedule-line);
  border-radius: 20px;
  background: var(--schedule-panel);
}

.schedule-now,
.schedule-next,
.schedule-season { margin-top: 1.25rem; padding: clamp(1.2rem, 3vw, 2rem); }

.schedule-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}

.schedule-section-heading h2 { margin: 0; color: var(--schedule-cream); font-size: clamp(1.6rem, 3vw, 2.25rem); }
.schedule-section-heading > p { max-width: 520px; margin: 0; color: var(--schedule-muted); text-align: right; }
.schedule-countdown { color: var(--schedule-teal) !important; font-weight: 800; }

.schedule-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.schedule-format-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-height: 118px;
  padding: 0.8rem;
  border: 1px solid rgba(127, 184, 161, 0.22);
  border-radius: 16px;
  background: var(--schedule-panel-deep);
}

.schedule-format-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(193, 125, 79, 0.58);
  border-radius: 50%;
  background: rgba(193, 125, 79, 0.07);
}

.schedule-format-icon img { width: 46px; height: 46px; object-fit: contain; }
.schedule-format-content { min-width: 0; }
.schedule-format-content h3 { margin: 0; color: var(--schedule-cream); font-size: 1.15rem; line-height: 1.3; }
.schedule-card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.schedule-card-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(102, 201, 187, 0.35);
  border-radius: 8px;
  color: var(--schedule-teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.schedule-timeline { display: grid; gap: 0.7rem; }

.schedule-week {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 130px;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(127, 184, 161, 0.17);
  border-radius: 12px;
  background: rgba(3, 14, 11, 0.68);
}

.schedule-week.is-current { border-color: var(--schedule-line); background: rgba(18, 50, 39, 0.72); }
.schedule-week.is-past { opacity: 0.58; }
.schedule-week-date { color: var(--schedule-cream); font-weight: 850; }
.schedule-week-formats { color: #d3cfc5; }
.schedule-week-bonus { color: #e9a26f; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.schedule-week-state { color: var(--schedule-teal); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.schedule-week-markers { display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem; }

.schedule-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.25rem;
  padding: 1.25rem 1.4rem;
}

.schedule-source strong { color: var(--schedule-cream); }
.schedule-source p { max-width: 820px; margin: 0.3rem 0 0; color: var(--schedule-muted); }
.schedule-source a {
  flex: 0 0 auto;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--schedule-line);
  border-radius: 9px;
  color: var(--schedule-cream);
  font-weight: 850;
  text-decoration: none;
}

.schedule-source-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem; }

@media (max-width: 760px) {
  .schedule-section-heading,
  .schedule-source { align-items: flex-start; flex-direction: column; }
  .schedule-section-heading > p { text-align: left; }
  .schedule-week { grid-template-columns: 1fr; gap: 0.35rem; }
  .schedule-week-bonus,
  .schedule-week-state { justify-self: start; }
  .schedule-week-markers { justify-content: flex-start; }
  .schedule-source a { width: 100%; text-align: center; }
  .schedule-source-actions { width: 100%; }
}

@media (max-width: 440px) {
  .schedule-format-card { grid-template-columns: 58px minmax(0, 1fr); }
  .schedule-format-icon { width: 58px; height: 58px; }
  .schedule-format-icon img { width: 46px; height: 46px; }
}
