/* Scores Option B — compact Clubhouse rows; existing Scores logic is unchanged. */
#scores-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;
}
#scores-page .scores-shell { max-width: 920px; }
#scores-page .scores-heading { margin-bottom: 20px; }
#scores-page .scores-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
#scores-page .scores-brand img { flex: 0 0 auto; width: 88px; height: 88px; object-fit: contain; }
#scores-page .scores-brand > div { display: flex; flex-direction: column; min-width: 0; }
#scores-page .scores-brand span { color: var(--tw-muted); font-size: 13px; font-weight: 850; letter-spacing: .09em; }
#scores-page .scores-brand strong { color: var(--tw-text); font-size: clamp(23px,6vw,35px); font-weight: 850; letter-spacing: -.05em; line-height: 1.14; overflow-wrap: anywhere; }
#scores-page .scores-heading h1 { padding: 0; margin: 0; color: var(--tw-text); font-size: clamp(30px,7vw,40px); font-weight: 850; }
#scores-page .scores-carousel {
    position: static; display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px; padding: 0 0 16px; margin: 0;
    border: 0; background: transparent;
}
#scores-page .scores-carousel-btn {
    min-height: 44px; padding: 9px 4px; border-radius: 11px;
    border: 1px solid var(--tw-border); background: var(--tw-surface-soft);
    color: var(--tw-text); font: inherit; font-size: 13px; font-weight: 750;
}
#scores-page .scores-carousel-btn.active { background: #0aa9e6; border-color: #0aa9e6; color: #062035; font-weight: 850; }
#scores-page :is(.scores-carousel-btn,.score-card,.scores-later-toggle):focus-visible { outline: 3px solid var(--tw-accent); outline-offset: 3px; }
#scores-page .scores-list, #scores-page .scores-later-list { display: flex; flex-direction: column; gap: 8px; padding: 0; min-width: 0; }
#scores-page .score-card {
    display: block; width: 100%; min-width: 0; border: 1px solid var(--tw-border);
    border-radius: 13px; background: var(--tw-surface); box-shadow: var(--tw-shadow);
    color: var(--tw-text); cursor: pointer; opacity: 1; overflow: hidden;
}
#scores-page .score-card.tw-game { border-left: 3px solid var(--tw-accent); }
#scores-page .score-card:active { opacity: .83; }
#scores-page .sc-row { display: grid; grid-template-columns: minmax(0,1fr) auto 12px; gap: 10px; align-items: center; padding: 13px 12px; min-height: 84px; }
#scores-page .sc-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 9px; align-items: center; min-width: 0; }
#scores-page .sc-team { display: flex; align-items: center; gap: 7px; min-width: 0; }
#scores-page .sc-team:last-child { flex-direction: row-reverse; text-align: right; }
#scores-page .sc-logo { display: block; width: 34px; height: 34px; padding: 2px; object-fit: contain; flex-shrink: 0; background: transparent; }
#scores-page .sc-city { color: var(--tw-muted); font-size: 12px; font-weight: 700; text-align: inherit; max-width: none; line-height: 1.25; overflow-wrap: anywhere; }
#scores-page .sc-team.sc-winner .sc-city { color: var(--tw-text); font-weight: 850; }
#scores-page .sc-match-score { display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#scores-page .sc-score { min-width: 0; font-size: 22px; color: var(--tw-muted); font-weight: 850; }
#scores-page .sc-score.sc-winner { color: var(--tw-text); }
#scores-page .sc-separator { color: var(--tw-muted); font-size: 13px; font-weight: 700; }
#scores-page .sc-status-wrap { display: flex; flex-direction: column; align-items: end; justify-content: center; min-width: 0; }
#scores-page .sc-status { white-space: normal; overflow-wrap: anywhere; font-size: 10px; line-height: 1.25; font-weight: 800; text-align: center; padding: 6px 7px; border-radius: 7px; }
#scores-page .sc-status.final { color: #f2fff7; background: #117b4e; }
#scores-page .sc-status.live { color: #fff; background: #c12f42; }
#scores-page .sc-status.upcoming { color: #083657; background: #a6def9; }
#scores-page .sc-chevron { display: block; width: 8px; height: 8px; border-top: 2px solid var(--tw-muted); border-right: 2px solid var(--tw-muted); transform: rotate(45deg); }
#scores-page .scores-later-wrap { margin: 20px 0 0; border: 0; background: none; overflow: visible; }
#scores-page .scores-later-toggle {
    width: 100%; min-height: 44px; padding: 10px 4px;
    border: 0; border-bottom: 1px solid var(--tw-border); border-radius: 0;
    color: var(--tw-accent); background: transparent; font-size: 13px; font-weight: 850;
}
#scores-page .scores-later-list { margin-top: 12px; }
#scores-page .loading-message { color: var(--tw-muted); }
@media (max-width: 390px) {
    #scores-page { padding-inline: 12px; }
    #scores-page .sc-row { grid-template-columns: minmax(0,1fr) 55px 10px; gap: 5px; padding: 11px 8px; }
    #scores-page .sc-teams { gap: 4px; }
    #scores-page .sc-team { flex-direction: column; gap: 4px; text-align: center; }
    #scores-page .sc-team:last-child { flex-direction: column; text-align: center; }
    #scores-page .sc-city { font-size: 10px; text-align: center; }
    #scores-page .sc-logo { width: 31px; height: 31px; }
    #scores-page .sc-score { font-size: 19px; }
    #scores-page .sc-status { font-size: 9px; padding: 5px 3px; }
}
@media (min-width: 720px) { #scores-page { padding: 30px 28px 40px; } }
@media (prefers-reduced-motion: reduce) { #scores-page .score-card { transition: none; } }

/* This Week — a separate Atlantic-calendar-week summary below daily scores. */
#scores-page .scores-week { margin-top: 22px; }
#scores-page .scores-week h2 { margin: 0; color: var(--tw-accent); font-size: 16px; font-weight: 850; letter-spacing: .02em; }
#scores-page .scores-week-range { margin: 5px 0 12px; color: var(--tw-muted); font-size: 12px; }
#scores-page .scores-week-list { display: flex; flex-direction: column; gap: 9px; min-width: 0; color: var(--tw-muted); font-size: 13px; }
#scores-page .scores-week-date { display: block; padding: 9px 12px 0; color: var(--tw-accent); font-size: 11px; font-weight: 850; }
#scores-page .scores-week-list .sc-row { padding-top: 8px; }
#scores-page .scores-week-note { padding: 10px 0; color: var(--tw-muted); font-size: 12px; }

/* Scores mockup fidelity: strong hierarchy, date rail, compact matchup rows. */
#scores-page .scores-group-heading { margin: 16px 0 8px; color: var(--tw-accent); font-size: 13px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
#scores-page #scores-current-heading { margin: 0 0 6px; }
#scores-page .scores-week { margin-top: 24px; }
#scores-page .scores-week h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
#scores-page .score-card { border-radius: 13px; }
#scores-page .sc-row { display: grid; grid-template-columns: minmax(0,1fr) 78px 10px; gap: 8px; padding: 12px 10px; align-items: center; min-height: 88px; }
#scores-page .sc-teams { gap: 7px; }
#scores-page .sc-team { flex-direction: column; justify-content: center; text-align: center; gap: 5px; }
#scores-page .sc-team:last-child { flex-direction: column; text-align: center; }
#scores-page .sc-city { font-size: 11px; font-weight: 700; text-align: center; }
#scores-page .sc-logo { width: 41px; height: 41px; }
#scores-page .sc-match-score { gap: 6px; }
#scores-page .sc-score { font-size: 25px; }
#scores-page .sc-status-wrap { align-items: center; }
#scores-page .sc-status { min-width: 58px; font-size: 10px; }
#scores-page .scores-week-list .score-card { display: grid; grid-template-columns: 66px minmax(0,1fr); }
#scores-page .scores-week-date { padding: 0 8px; align-self: center; justify-self: center; text-align: center; line-height: 1.35; }
#scores-page .scores-week-list .sc-row { padding-top: 12px; }
#scores-page .scores-list { gap: 9px; }
#scores-page .scores-list .scores-group-heading { margin-top: 13px; }
@media (max-width: 390px) {
  #scores-page .sc-row { grid-template-columns: minmax(0,1fr) 59px 8px; gap: 4px; padding: 10px 7px; }
  #scores-page .sc-logo { width: 32px; height: 32px; }
  #scores-page .sc-score { font-size: 20px; }
  #scores-page .sc-city { font-size: 10px; }
  #scores-page .scores-week-list .score-card { grid-template-columns: 53px minmax(0,1fr); }
  #scores-page .scores-week-date { font-size: 10px; padding-inline: 4px; }
  #scores-page .sc-status { min-width: 0; }
}
