.stat-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  box-shadow: -1px 0 0 var(--color-divider);
}

.stat:first-child {
  padding-left: 0;
  box-shadow: none;
}

.stat__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.stat__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--text-section);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.stat__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  min-height: 20px;
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.stat__note > .badge {
  flex: none;
}

@media (min-width: 1024px) {
  .stat-strip--wrap {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat-strip--wrap .stat:nth-child(4n + 1) {
    padding-left: 0;
    box-shadow: none;
  }

  .stat-strip--wrap .stat:nth-child(n + 5) {
    border-top: 1px solid var(--color-divider);
  }
}

@media (max-width: 1023.98px) {
  .stat-strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .stat {
    padding-left: 0;
    box-shadow: none;
  }
}

@media (max-width: 719.98px) {
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: var(--space-2) var(--space-3) var(--space-2) 0;
  }

  .stat__value {
    font-size: 18px;
  }
}

.split__detail .stat-strip,
.detail__aside .stat-strip {
  grid-auto-flow: row;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split__detail .stat:nth-child(odd),
.detail__aside .stat:nth-child(odd) {
  padding-left: 0;
  box-shadow: none;
}
