/* Statistics: four highlights in one grid, then plain rows. */

.stats-screen {
  padding-bottom: calc(var(--safe-bottom) + var(--space-5));
}

.stats-grid {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.stat-card {
  padding: var(--space-4);
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
}

.stat-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.stat-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat-card small {
  color: var(--muted);
  font-size: var(--text-small);
}

.stat-card strong {
  font-size: var(--text-h1);
  line-height: 1.2;
}

.stat-card em {
  color: var(--muted);
  font-size: var(--text-caption);
  font-style: normal;
}

.stats-list {
  margin-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.stats-list > div {
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.stats-list span {
  color: var(--ink-2);
}
