/* ui.css: the page behaviors a native app does not have, switched off, and
   the hidden accessibility mirror. Link it from the page that boots the executor
   (exec/executor.mjs). */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  overscroll-behavior: none;          /* no pull-to-refresh, no page bounce */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, canvas, .ui-mirror, .ui-node {
  user-select: none;                  /* no text selection */
  -webkit-user-select: none;
  -webkit-touch-callout: none;        /* no long-press callouts */
  -webkit-tap-highlight-color: transparent; /* no tap highlight */
}
canvas.ui {
  position: fixed;
  inset: 0;
  display: block;
  touch-action: none;                 /* no scrolling, zoom, or tap delay: every touch is the UI's */
}
.ui-mirror {
  position: fixed;
  inset: 0;
  pointer-events: none;               /* touches go to the canvas; screen readers still find the nodes */
  opacity: 0;
  overflow: hidden;
}
.ui-node {
  position: absolute;
  left: 0;
  top: 0;
  color: transparent;
  overflow: hidden;
  font-size: 1px;
}
.ui-inputs {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.ui-input {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  caret-color: #fe2c55;
  font-family: Roboto, "Noto Sans", system-ui, sans-serif;
  pointer-events: auto;               /* the composer's field is a real input */
  touch-action: manipulation;
}
.ui-input::placeholder { color: #808086; }
