/*
 * GPS speedometer: unit pills, the big number, then the trip figures.
 * Shared controls are in /css/tool-ui.css.
 */

.speedometer-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(260px, 72vw);
  aspect-ratio: 1;
  margin: 4px auto 20px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), inset 0 0 0 10px var(--surface-soft);
}

.speedometer-value {
  color: var(--ink);
  font-size: clamp(64px, 22vw, 104px);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.speedometer-unit {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 500;
}
