/* ===== AFL Scores — matchup cards (matches home dashboard) ===== */

.scores-intro {
  margin-bottom: var(--size-500);
}
.scores-intro h1 {
  font-size: var(--fs-800);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  color: var(--color-neutral-900);
}
.scores-intro p {
  color: var(--color-neutral-600);
  margin-top: 0.25rem;
}

/* Responsive grid of week cards */
.scores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-500);
  align-items: start;
}
@media (min-width: 60em) {
  .scores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Card shell */
.home-card {
  background-color: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-300);
  border-radius: 14px;
  padding: var(--size-400) var(--size-500) var(--size-500);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.home-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--size-300);
  flex-wrap: wrap;
  padding-bottom: 0.6rem;
  margin-bottom: var(--size-400);
  border-bottom: 3px solid var(--color-primary-400);
}
.home-card-title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.home-card-title h2 {
  font-size: var(--fs-700);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-neutral-900);
}
.home-pill {
  font-size: var(--fs-300);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary-400);
  background-color: var(--color-primary-100);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* Matchup rows */
.mu-list {
  display: grid;
  gap: 0.6rem;
}
.mu {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--size-300);
  background-color: var(--color-neutral-250);
  border: 1px solid var(--color-neutral-300);
  border-radius: 10px;
  padding: 0.2rem 0.7rem;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.mu:hover {
  border-color: var(--color-primary-300);
  transform: translateY(-1px);
}
.mu-team {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--color-neutral-900);
  text-decoration: none;
  font-weight: var(--fw-bold);
}
.mu-right {
  justify-content: flex-end;
}
.mu-logo {
  width: 46px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.mu-abbr {
  font-size: var(--fs-600);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  text-transform: uppercase;
}
.mu-right .mu-abbr {
  text-align: right;
}
.mu-lose .mu-abbr {
  color: var(--color-neutral-600);
}
.mu-lose .mu-logo {
  opacity: 0.6;
}
.mu-center {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  min-width: 4.25rem;
}
.mu-score {
  font-size: var(--fs-700);
  font-weight: var(--fw-bold);
  color: var(--color-neutral-900);
}
.mu-dash {
  color: var(--color-neutral-600);
}
.mu-vs {
  font-size: var(--fs-500);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  color: var(--color-primary-400);
  border: 1px solid var(--color-primary-300);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
}

/* States */
.home-loading,
.home-empty {
  color: var(--color-neutral-600);
  font-size: var(--fs-400);
  padding: var(--size-400) 0.4rem;
  text-align: center;
}

/* upcoming matchup cards link to the comparison preview */
.mu-preview { cursor: pointer; text-decoration: none; color: inherit; }
.mu-preview:hover { border-color: var(--color-primary-400); }
.mu-preview .mu-center { flex-direction: column; gap: 0.15rem; }
.mu-preview-hint {
  font-size: var(--fs-300);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-400);
}
