body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Inter, sans-serif;
}

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

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

#reveal {
  width: min(100%, calc(100vh - 2rem), 1066px);
  width: min(100%, calc(100dvh - 2rem), 1066px);
  height: auto;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.3em;
}

#count {
  position: fixed;
  right: 0.75rem;
  bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

#camera,
.visually-hidden {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}
