:root {
  color-scheme: dark;
  color: #c2efa6;
  background: #101412;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

body {
  margin: 0;
}

main {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.25rem;
}

h1 {
  margin: 0;
  font-size: clamp(1rem, 5.7vw, 3.125rem);
  font-weight: 500;
  line-height: 1.25;
}

button {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 180ms ease;
}

button.is-fragmented {
  color: transparent;
  transition: none;
}

button:focus-visible {
  outline: 1px dashed #c2efa6;
  outline-offset: 0.45rem;
}

#pixels {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }

  button:active {
    color: #fff;
  }
}
