:root {
  color-scheme: dark;
}

@media (min-width: 3000px) {
  html {
    font-size: 20px;
  }
}

html {
  scrollbar-gutter: auto;
}

html, body {
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

#main_canvas {
  position: fixed;
  image-rendering: pixelated;
}

#main_output {
  position: fixed;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  font-family: "Noto Sans JP Variable", var(--font-family-sans-serif);
}

#main_output span {
  position: absolute;
  white-space: pre;
  line-height: 1;
}

#header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--color-ink-mix);
  font-family: var(--font-family-monospace);
  font-size: 0.8125rem;
  line-height: 1;
}

#header button {
  min-width: var(--md-box-height);
}

#header_span-2 {
  white-space: pre;
  text-align: center;
}

body.kiosk #header {
  display: none;
}

body.kiosk {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
