/* LEGACY SPORTS — 2027 GAME SCHEDULE
   Same dark broadcast look as the Draw page. Two games per round side by side,
   stacked on phones. Crest styles live in event_hub.css. */

.sched-page {
  min-height: calc(100vh - 120px);
  padding: 64px 16px 56px;
  color: #f7f5f2;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(187, 8, 11, .30), transparent 55%),
    linear-gradient(160deg, #0b0c0e 0%, #151a1f 55%, #1e2023 100%);
  font-family: "Sofia Sans", sans-serif;
}

.sched-shell {
  max-width: 1080px;
  margin: 0 auto;
}

/* ---------- TITLE ---------- */
.sched-header {
  margin-bottom: 44px;
  text-align: center;
}

.sched-kicker {
  display: block;
  margin-bottom: 12px;
  color: #e0383b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.sched-header h1 {
  margin: 0 0 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sched-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #b9b6b1;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- ROUNDS ---------- */
.sched-round {
  margin-bottom: 30px;
}

.sched-round-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sched-time {
  color: #e0383b;
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
}

.sched-round-head h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sched-stage {
  margin-left: auto;
  color: #8d8a85;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sched-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ---------- GAME CARD ---------- */
.sched-game {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(21, 26, 31, .85);
}

.sched-game.is-live {
  border-color: rgba(224, 56, 59, .7);
  box-shadow: 0 0 0 1px rgba(224, 56, 59, .35);
}

.sched-game-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .04);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sched-court {
  padding: 3px 8px;
  border-radius: 4px;
  background: #bb080b;
  color: #fff;
}

.sched-label {
  color: #b9b6b1;
}

.sched-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #8d8a85;
}

.sched-status--live {
  color: #ff5a5d;
}

.sched-status--live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5a5d;
  animation: sched-pulse 1.4s ease-in-out infinite;
}

.sched-status--final {
  color: #f7f5f2;
}

@keyframes sched-pulse {
  50% { opacity: .3; }
}

.sched-side {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.sched-team {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sched-team.is-tbd {
  color: #8d8a85;
  font-weight: 600;
}

.sched-seed {
  color: #77736e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sched-score {
  margin-left: auto;
  min-width: 32px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  font-weight: 400;
  text-align: right;
}

.sched-side.is-winner .sched-team,
.sched-side.is-winner .sched-score {
  color: #ff5a5d;
}

.sched-note {
  max-width: 720px;
  margin: 36px auto 0;
  color: #8d8a85;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* "Live Scores" links in the intro and the note (default blue is unreadable on the dark page) */
.sched-header p a,
.sched-note a {
  color: #ff5a5e;
  font-weight: 700;
}

@media (max-width: 720px) {
  .sched-page {
    padding-top: 44px;
  }

  .sched-games {
    grid-template-columns: 1fr;
  }

  .sched-stage {
    display: none;
  }
}
