*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html {
  --page-bg: #000000;
  color-scheme: dark;
}

html[data-theme="light"] {
  --page-bg: #ffffff;
  color-scheme: light;
}

body {
  overflow: hidden;
  background: var(--page-bg);
  cursor: pointer;
}

#digit-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: manipulation;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
