html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: #0b1220;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
}

.clock {
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;

  /* CRITICAL: prevent vibration */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  min-width: 11ch;
}

.ms {
  font-size: 2rem;
  vertical-align: super;
}

.info {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.5;
}

a {
  color: #60a5fa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.controls {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.controls label {
  margin-right: 0.5rem;
}

.controls select {
  background: #0b1220;
  color: #e5e7eb;
  border: 1px solid #374151;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.ap {
  font-size: 1.5rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}


.dot {
  margin: 0 0.05em;
}

.ap {
  font-size: 1.5rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.ms {
  font-size: 2rem;
  vertical-align: super;
}
