/* A signed ELO change — the signature element. Mint for a gain, coral for a
   loss, on a tint with a halo. Dense tables drop the halo and keep the colour;
   a missing value is an em dash, never 0. */

.delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  font-variant-numeric: tabular-nums;
  border-radius: var(--radius-xs);
  padding: 2px 7px;
  min-width: 46px;
}

.delta--gain {
  color: var(--text-win);
  background: var(--surface-win);
  box-shadow: var(--halo-win);
}

.delta--loss {
  color: var(--text-loss);
  background: var(--surface-loss);
  box-shadow: var(--halo-loss);
}

.delta--none {
  color: var(--text-tertiary);
  background: transparent;
  box-shadow: none;
  font-weight: var(--weight-regular);
}

.delta--flat {
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-width: 0;
}
