/* ==== SCORES PAGE LAYOUT ==== */

.scores-page {
    max-width: 1420px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
  }
  
  .scores-page-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
  }
  
  .scores-page-header p {
    margin: 0;
    color: var(--dark-grey);
    font-size: 0.95rem;
  }
  
  /* ==== FILTERS BAR ==== */
  
  .scores-filters {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  /* Date strip */
  
  .scores-date-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
  
  .scores-date-pill {
    flex: 0 0 auto;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--grey-200);
    background-color: var(--white);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-dark);
    white-space: nowrap;
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  }
  
  .scores-date-pill:hover {
    border-color: var(--light-blue);
  }
  
  .scores-date-pill.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--stay-white);
  }
  
  /* Date + sport row */
  
  .scores-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: flex-end;
  }
  
  .scores-date-form,
  .scores-sport-form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .scores-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-grey);
  }
  
  .scores-date-form input[type="date"],
  .scores-sport-form select {
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--grey-300);
    font-size: 0.9rem;
    background-color: var(--white);
    color: var(--text-dark);
  }
  
  /* ==== SCORES LIST & CARDS ==== */
  
  .scores-section {
    margin-top: 1rem;
  }
  
  .scores-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  
  .scores-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .scores-card {
    display: block;
    background-color: var(--white);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--grey-200);
    transition:
      transform 0.12s ease,
      box-shadow 0.12s ease,
      border-color 0.12s ease;
  }
  
  .scores-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
    border-color: var(--light-blue);
  }
  
  /* Header row: date + time */
  
  .scores-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: var(--dark-grey);
  }
  
  .scores-date {
    font-weight: 600;
    color: var(--primary-blue);
  }
  
  .scores-time {
    font-weight: 500;
  }
  
  /* Body */
  
  .scores-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  
  /* Main row: teams + result badge */
  
  .scores-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  
  /* Teams column */
  
  .scores-teams {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .scores-team-line {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
  }
  
  .scores-team-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
  }
  
  .scores-team-score {
    min-width: 1.8rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background-color: #e5e7eb;
    color: #111827;
  }
  
  .scores-team-score--win {
    background-color: #dcfce7;  /* green-100 */
    color: #166534;             /* green-700 */
  }
  
  .scores-team-score--loss {
    background-color: #fee2e2;  /* red-100 */
    color: #b91c1c;             /* red-700 */
  }
  
  .scores-team-score--tie {
    background-color: #e5e7eb;  /* gray-200 */
    color: #374151;             /* gray-700 */
  }
  
  /* Result badge */
  
  .scores-result-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0.3rem 0.7rem;
    border-radius: 10px;
    min-width: 4.5rem;
    text-align: right;
    background-color: #e5e7eb;
    color: var(--text-dark);
  }
  
  .scores-result-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.9;
  }
  
  .scores-result-sub {
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  /* Variants */
  
  .scores-result-badge--win {
    background-color: #dcfce7;
    color: #166534;
  }
  
  .scores-result-badge--loss {
    background-color: #fee2e2;
    color: #b91c1c;
  }
  
  .scores-result-badge--tie {
    background-color: #e5e7eb;
    color: #374151;
  }
  
  .scores-result-badge--upcoming {
    background-color: #dbeafe;
    color: #1d4ed8;
  }
  
  /* Meta row (kickoff for upcoming) */
  
  .scores-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--dark-grey);
  }
  
  .scores-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background-color: #eef2ff;
    color: var(--primary-blue);
  }
  
  .scores-meta-value {
    font-weight: 500;
  }
  
  /* Footer */
  
  .scores-card-footer {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--dark-grey);
  }
  
  .scores-location::before {
    content: "📍";
    margin-right: 0.25rem;
  }
  
  /* Empty state */
  
  .scores-empty {
    margin-top: 1rem;
    color: var(--dark-grey);
    font-size: 0.95rem;
  }
  