/* Schedule page */
.sched-banner { background: linear-gradient(160deg, var(--primary), #001c50); color: #fff; border-bottom: 4px solid var(--accent); }
.sched-banner-inner { display: flex; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.sched-banner img { width: 72px; height: auto; }
.sched-banner h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; }
.sched-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--accent); }

.sched { padding-top: 28px; }

/* Next game card */
.next-card { background: var(--dark); color: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.next-label { background: var(--accent); color: var(--dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 8px 16px; }
.next-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px 16px; text-align: center; }
.next-team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; }
.next-team img { width: 56px; height: auto; }
.next-team .opp-badge { width: 52px; height: 52px; font-size: 1rem; }
.next-at { font-size: 1.6rem; font-weight: 900; color: var(--accent); }
.next-date { font-weight: 700; }
.next-time { color: #cbd5e1; font-size: .95rem; }
.next-note { margin-top: 6px; display: inline-block; background: var(--accent); color: var(--dark); font-size: .75rem; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; }

/* Toolbar */
.sched-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg button { font: inherit; font-size: .9rem; font-weight: 700; border: 0; background: transparent; padding: 8px 14px; cursor: pointer; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--border); }
.seg button[aria-pressed="true"] { background: var(--primary); color: #fff; }

/* Month tabs */
.month-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.month-tabs button {
  font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem;
  background: none; border: 0; padding: 10px 14px; cursor: pointer; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap;
}
.month-tabs button[aria-pressed="true"] { color: var(--primary); border-bottom-color: var(--accent); }

/* Opponent badge */
.opp-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%; font-size: .66rem; font-weight: 900; letter-spacing: .02em;
  background: #e2e8f0; color: var(--dark);
}
.opp-badge.home { background: var(--primary); color: #fff; }
.opp-badge.away { background: var(--accent); color: var(--dark); }
.opp-badge.event { background: var(--dark); color: var(--accent); }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); background: var(--surface); }
.cal-dow { font-size: .75rem; font-weight: 800; text-transform: uppercase; text-align: center; padding: 8px 0; color: var(--muted); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #f1f5f9; }
.cal-cell { min-height: 110px; padding: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cal-cell.empty { background: #f8fafc; }
.cal-cell.home { background: var(--primary); color: #fff; }
.cal-cell.away { background: var(--accent); color: var(--dark); }
.cal-cell.event { background: var(--dark); color: #fff; }
.cal-cell.home .cal-day, .cal-cell.home .cal-time, .cal-cell.event .cal-day, .cal-cell.event .cal-time { color: rgba(255, 255, 255, 0.8); }
.cal-cell.away .cal-day, .cal-cell.away .cal-time { color: rgba(18, 24, 36, 0.75); }
.cal-cell.home .opp-badge, .cal-cell.event .opp-badge { background: #fff; color: var(--primary); }
.cal-cell.away .opp-badge { background: var(--dark); color: var(--accent); }
.cal-cell.home .cal-note, .cal-cell.event .cal-note { color: var(--accent); }
.cal-cell.away .cal-note { color: var(--primary); }
.cal-cell.past { opacity: .55; }
.cal-cell.today .cal-day { background: var(--accent); color: var(--dark); border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.cal-day { font-size: .8rem; font-weight: 700; color: var(--muted); }
.cal-game { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; }
.cal-opp { font-weight: 800; font-size: .85rem; line-height: 1.2; }
.cal-time { font-size: .78rem; color: var(--muted); }
.cal-note { font-size: .7rem; font-weight: 800; text-transform: uppercase; color: #b07d00; }
@media (max-width: 720px) {
  .cal-cell { min-height: 64px; padding: 4px; }
  .cal-game .opp-badge { width: 22px; height: 22px; font-size: .55rem; }
  .cal-text { display: none; }
  .cal-game { justify-content: center; }
}

/* List */
.list-month { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; margin: 20px 0 8px; }
.list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.list-row { display: grid; grid-template-columns: 110px 1fr 130px 90px; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); border-left: 4px solid transparent; }
.list-row:first-child { border-top: 0; }
.list-row { border-left-width: 6px; }
.list-row.home { border-left-color: var(--primary); background: rgba(0, 53, 148, 0.11); }
.list-row.away { border-left-color: var(--accent); background: rgba(255, 199, 44, 0.2); }
.list-row.event { border-left-color: var(--dark); }
.list-row.past { opacity: .55; }
.list-date { font-weight: 800; color: var(--primary); }
.list-date span { display: block; font-size: .72rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.list-opp { display: flex; align-items: center; gap: 10px; }
.list-match { font-weight: 800; }
.list-note { font-size: .75rem; font-weight: 800; text-transform: uppercase; color: #b07d00; }
.list-loc { color: var(--muted); font-size: .9rem; }
.list-time { font-weight: 700; text-align: right; }
@media (max-width: 600px) {
  .list-row { grid-template-columns: 70px 1fr auto; }
  .list-loc { display: none; }
}
.empty-note { color: var(--muted); }

.sched-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.sched-legend .sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--border); }
.sw.home { background: var(--primary); }
.sw.away { background: var(--accent); }
.sw.event { background: var(--dark); }
