.football-page {
  min-height: calc(100vh - 92px);
}

.football-panel {
  display: grid;
  gap: 14px;
  padding: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-soft),
    0 0 18px var(--shadow-soft);
}

.football-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.football-head h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.football-head span {
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.football-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.football-pager a,
.football-pager span,
.football-pager strong {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  color: var(--text-strong);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.football-pager strong {
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border-color: var(--accent-strong);
}

.football-pager .disabled {
  opacity: .45;
}

.football-pager a:hover,
.football-pager a:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--focus-ring);
  outline: none;
}

.football-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.football-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--surface-active), var(--surface-strong)),
    var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-soft),
    0 8px 18px var(--mobile-shadow);
}

.football-meta {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}

.football-meta strong {
  color: var(--text-strong);
  font-size: 13px;
  text-transform: uppercase;
}

.football-meta span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.football-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 150px;
  padding: 14px 10px;
}

.football-team {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.football-logo {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  color: var(--text-strong);
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  box-shadow: 0 8px 20px var(--shadow-soft);
  font-size: 15px;
  font-weight: 900;
}

.football-logo img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.football-team strong {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.football-versus {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border-radius: 50%;
  font-size: 11px;
  font-weight: 1000;
}

.football-markets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--border-soft);
}

.football-markets div {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 66px;
  padding: 7px 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.football-markets span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.football-markets strong {
  color: var(--text-strong);
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .football-panel {
    margin-left: -4px;
    margin-right: -4px;
    padding: 8px;
  }

  .football-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .football-grid {
    grid-template-columns: 1fr;
  }
}
