/* Clubhouse Schedule Option A: only styles the Schedule page. */
#schedule-page {
    background: radial-gradient(ellipse at 80% 0%, rgba(50, 155, 211, .13), transparent 42%), var(--tw-page);
    color: var(--tw-text);
    padding: max(18px, env(safe-area-inset-top)) 16px 32px;
}
#schedule-page .schedule-heading { margin-bottom: 20px; }
#schedule-page .schedule-eyebrow { display: block; margin-bottom: 7px; color: var(--tw-accent); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
#schedule-page .schedule-heading h1 { margin: 0; color: var(--tw-text); font-size: clamp(30px, 7vw, 40px); font-weight: 850; letter-spacing: -.045em; }
#schedule-page .schedule-heading p { margin-top: 4px; color: var(--tw-muted); font-size: 14px; }
#schedule-page .filter-container { margin-bottom: 18px; }
#schedule-page .filter-select {
    display: block; width: 100%; min-height: 48px; padding: 10px 15px;
    background: var(--tw-surface); color: var(--tw-text); border: 1px solid var(--tw-border);
    border-radius: var(--tw-radius-control); box-shadow: var(--tw-shadow); font: inherit; font-size: 15px; cursor: pointer;
}
#schedule-page .filter-select:focus-visible, #schedule-page .game-card:focus-visible { outline: 3px solid var(--tw-accent); outline-offset: 3px; }
#schedule-page .schedule-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
#schedule-page .schedule-section-header {
    margin: 16px 0 0; padding: 10px 2px 8px;
    color: var(--tw-accent); border-bottom: 1px solid var(--tw-border);
    font-size: 12px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase;
}
#schedule-page .game-card {
    position: relative; display: block; min-width: 0; padding: 16px 16px 15px;
    background: linear-gradient(145deg, var(--tw-surface), var(--tw-surface-soft));
    border: 1px solid var(--tw-border); border-left: 4px solid var(--tw-accent);
    border-radius: 16px; box-shadow: var(--tw-shadow); color: var(--tw-text);
    cursor: pointer; opacity: 1; transition: border-color .15s ease, background .15s ease;
}
#schedule-page .game-card.past { border-left-color: var(--tw-muted); }
#schedule-page .game-card:hover { border-color: var(--tw-accent); }
#schedule-page .game-card:active { transform: none; }
#schedule-page .game-card::after {
    content: ''; position: absolute; top: 50%; right: 13px; width: 9px; height: 9px;
    border-right: 2px solid var(--tw-accent); border-top: 2px solid var(--tw-accent); transform: translateY(-50%) rotate(45deg);
}
#schedule-page .game-date {
    padding: 0 24px 11px 0; margin: 0; color: var(--tw-muted);
    font-size: 12px; font-weight: 750; line-height: 1.4; text-align: left; overflow-wrap: anywhere;
}
#schedule-page .game-matchup {
    display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px; align-items: center; margin: 0 14px 12px 0;
}
#schedule-page .matchup-team {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 7px; min-width: 0; text-align: center;
}
#schedule-page .matchup-team.away-team, #schedule-page .matchup-team.home-team { justify-content: center; }
#schedule-page .matchup-team.home-team .matchup-logo { order: -1; }
#schedule-page .matchup-logo {
    display: block; width: 56px; height: 56px; padding: 5px; object-fit: contain;
    flex-shrink: 0; border-radius: 12px; background: rgba(167, 208, 235, .13);
}
[data-theme="dark"] #schedule-page .matchup-logo { background: rgba(167, 208, 235, .13); }
#schedule-page .matchup-name { color: var(--tw-text); font-size: 13px; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
#schedule-page .matchup-team.is-tw .matchup-name { color: var(--tw-accent); font-weight: 850; }
#schedule-page .matchup-separator { color: var(--tw-muted); text-align: center; font-size: 13px; font-weight: 850; }
#schedule-page .game-location, #schedule-page .game-meta {
    margin: 0; padding-top: 11px; border-top: 1px solid var(--tw-border);
    color: var(--tw-muted); font-size: 12px; line-height: 1.5; text-align: center; overflow-wrap: anywhere;
}
#schedule-page .game-score-row { margin: 0 0 9px; gap: 10px; align-items: center; justify-content: center; }
#schedule-page .game-result { font-size: 12px; font-weight: 850; }
#schedule-page .game-result.win { color: #27a877; }
#schedule-page .game-result.loss { color: #d75c63; }
#schedule-page .game-final-score { color: var(--tw-text); font-size: 19px; font-weight: 850; }
#schedule-page .loading-message, #schedule-page .error-message { color: var(--tw-muted); padding: 32px 16px; }
#schedule-page .error-message { color: #d34b55; }
@media (min-width: 760px) {
    #schedule-page { padding: 30px 28px 40px; }
    #schedule-page .schedule-shell { max-width: 920px; }
    #schedule-page .schedule-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
    #schedule-page .schedule-section-header { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
    #schedule-page { padding-inline: 12px; }
    #schedule-page .game-card { padding: 13px 12px; }
    #schedule-page .game-matchup { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 5px; }
    #schedule-page .matchup-logo { width: 45px; height: 45px; }
    #schedule-page .matchup-name { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { #schedule-page .game-card { transition: none; } }

/* Option A mockup-level layout: date rail, centered matchup, grouped cards. */
#schedule-page .clubhouse-brand, #roster-page .clubhouse-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; min-width: 0; }
#schedule-page .clubhouse-brand img, #roster-page .clubhouse-brand img { width: 92px; height: 92px; object-fit: contain; flex-shrink: 0; }
#schedule-page .clubhouse-brand div, #roster-page .clubhouse-brand div { display: flex; flex-direction: column; min-width: 0; }
#schedule-page .clubhouse-brand span, #roster-page .clubhouse-brand span { color: var(--tw-muted); font-size: 13px; font-weight: 850; letter-spacing: .09em; }
#schedule-page .clubhouse-brand strong, #roster-page .clubhouse-brand strong { color: var(--tw-text); font-size: clamp(23px, 6vw, 35px); line-height: 1.14; letter-spacing: -.05em; overflow-wrap: anywhere; }
#schedule-page .schedule-filter-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
#schedule-page .schedule-filter-chip { flex: 1 1 auto; min-height: 42px; padding: 8px 9px; border-radius: 11px; border: 1px solid var(--tw-border); background: var(--tw-surface-soft); color: var(--tw-text); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
#schedule-page .schedule-filter-chip.active { background: #0aa9e6; border-color: #0aa9e6; color: #062035; font-weight: 850; }
#schedule-page .schedule-filter-chip:focus-visible { outline: 3px solid var(--tw-accent); outline-offset: 2px; }
#schedule-page .filter-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; margin: -1px; border: 0; }

#schedule-page .schedule-heading { margin-bottom: 18px; }
#schedule-page .schedule-list { gap: 10px; }
#schedule-page .game-card { display: grid !important; grid-template-columns: 83px minmax(0,1fr); align-items: stretch; gap: 12px; padding: 13px 27px 13px 12px; border: 1px solid var(--tw-border); border-radius: 14px; min-height: 128px; }
#schedule-page .game-card[style*="display: none"] { display: none !important; }
#schedule-page .schedule-date-block { display: flex; flex-direction: column; justify-content: center; padding-right: 11px; border-right: 1px solid var(--tw-border); text-align: center; min-width: 0; }
#schedule-page .game-date { padding: 0; font-size: 13px; font-weight: 850; text-align: center; color: var(--tw-text); line-height: 1.45; }
#schedule-page .schedule-game-status { color: var(--tw-accent); font-size: 11px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
#schedule-page .schedule-game-main { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
#schedule-page .game-matchup { margin: 0; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); }
#schedule-page .matchup-logo { width: 52px; height: 52px; }
#schedule-page .matchup-name { font-size: 12px; }
#schedule-page .game-location, #schedule-page .game-meta { padding: 0; border-top: 0; font-size: 11px; }
#schedule-page .game-score-row { margin: 0; }
@media (max-width: 370px) { #schedule-page .game-card { grid-template-columns: 64px minmax(0,1fr); gap: 8px; padding-right: 22px; } #schedule-page .matchup-logo { width: 42px; height: 42px; } #schedule-page .clubhouse-brand img { width: 76px; height: 76px; } }
@media (min-width: 760px) { #schedule-page .schedule-list { grid-template-columns: 1fr; } #schedule-page .game-card { max-width: 920px; } }
