.statsContainer {
  background: #a0a0a022;
  border-radius: 8px;
  transition: border-radius 0.3s step-end;
  overflow: hidden;
}

.toggleButton {
  width: 100%;
  padding: 0.5em;
  overflow: hidden;
}

.toggleButton button {
  background: none;
  border: none;
  font-weight: 600;
  color: inherit;
}

.stats {
  padding: 1em 0.5em;
}

.stats dl {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: row wrap;
  gap: 1em;
  align-items: center;
  justify-content: center;
}

.stats dl > div {
  box-shadow: 0 2px 6px 0 var(--color-shadow);
  border-radius: 8px;
  width: 45%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.stats dt,
.stats dd {
  margin: 0;
  padding: 0.5em;
  font-weight: 600;
  font-size: 14px;
  flex-grow: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  transition:
    background-color var(--trans-dur),
    color var(--trans-dur);
}

.stats dt {
  border-radius: 8px 0 0 8px;
}

.stats dd {
  border-radius: 0 8px 8px 0;
}

.stats :is(dt, dd):not(.statPill) {
  background-color: var(--color-surface);
  color: var(--color-text);
}

.statPill {
  color: var(--color-text-dark);
}

.wide {
  flex-grow: 0.9;
}

.infoIcon {
  color: var(--color-primary);
}

.spacer {
  margin: 1em;
}
