:root {
  color-scheme: light dark;
  --background: #f4f3ef;
  --foreground: #171717;
  --muted: #737373;
  --error: #8a2d2d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111111;
    --foreground: #f2f2ef;
    --muted: #969696;
    --error: #e09595;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

.status {
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  text-align: center;
}

.status__emoji {
  font-family:
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: clamp(9rem, 42vw, 28rem);
  line-height: 0.85;
  user-select: none;
  -webkit-user-select: none;
}

.status__updated {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.72rem, 1.7vw, 0.9rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status__updated time {
  letter-spacing: 0.04em;
  text-transform: none;
}

.status__error,
.noscript {
  margin: 0;
  color: var(--error);
  font-size: 0.85rem;
}

.noscript {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  text-align: center;
}
