.friend-predictions {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf4;
  padding: 10px;
}

.friend-predictions summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 900;
}

.friend-prediction-list,
.badge-list,
.weekly-standings,
.archive-list {
  display: grid;
  gap: 8px;
}

.friend-prediction-list {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.friend-prediction-list span,
.archive-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 10px;
}

.badge-list {
  grid-auto-flow: column;
  justify-content: start;
  margin-top: 6px;
}

.badge-list span {
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.weekly-standings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weekly-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  margin-bottom: 0;
}

.game-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.archive-heading,
.archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.archive-heading {
  gap: 12px;
  margin-top: 14px;
}

.archive-row {
  border: 1px solid var(--line);
}

.archive-row p {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .friend-prediction-list,
  .weekly-standings,
  .game-rules-grid {
    grid-template-columns: 1fr;
  }

  .weekly-card,
  .archive-heading,
  .archive-row {
    display: grid;
  }
}
