.home-fixtures {
  width: min(100%, 1180px);
  margin: 18px auto 4px;
  padding: 0 12px;
  color: #f7f9fa;
  font-family: Inter, Arial, sans-serif;
}

.home-fixtures__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.home-fixtures__head span {
  display: block;
  margin-bottom: 4px;
  color: #18d15b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-fixtures__head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.home-fixtures__head > a {
  color: #e6ebed;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.home-fixtures__grid {
  display: grid;
  grid-auto-columns: minmax(245px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 1px 9px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.home-fixture-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(225, 39, 47, 0.08), transparent 45%),
    #11191d;
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.home-fixture-card:hover,
.home-fixture-card:focus-visible {
  border-color: rgba(23, 209, 90, 0.62);
  outline: none;
  transform: translateY(-2px);
}

.home-fixture-card.is-live {
  border-color: rgba(18, 223, 78, 0.42);
  background:
    linear-gradient(135deg, rgba(18, 223, 78, 0.12), transparent 52%),
    #11191d;
}

.home-fixture-card.is-live .home-fixture-card__time {
  color: #35eb6b;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.home-fixture-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: #8f9ba0;
  font-size: 9px;
  font-weight: 750;
}

.home-fixture-card__meta span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-fixture-card__time {
  flex: 0 0 auto;
  color: #e3e8ea;
}

.home-fixture-card__team {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  color: #f6f8f9;
  font-size: 11px;
  font-weight: 850;
}

.home-fixture-card__crest {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.home-fixture-card__crest .fictional-club-crest {
  margin: 0;
}

.home-fixture-card__team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-fixture-card__odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.home-fixture-card__odd {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: #182329;
  color: #b9c3c7;
  font-size: 9px;
  font-weight: 800;
}

.home-fixture-card__odd strong {
  color: #58abff;
  font-size: 10px;
}

.home-fixture-card__odds.is-live-score {
  display: block;
}

.home-fixture-card__live-score {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(18, 223, 78, 0.24);
  border-radius: 8px;
  background: rgba(18, 223, 78, 0.08);
}

.home-fixture-card__live-score strong {
  color: #ffffff;
  font-size: 13px;
}

.home-fixture-card__live-score span {
  color: #8ef0aa;
  font-size: 9px;
  font-weight: 850;
}

@media (min-width: 900px) {
  .home-fixtures__grid {
    grid-auto-columns: minmax(245px, 0.33fr);
  }
}
