* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #111;
  color: #eee;
  font-family: system-ui, sans-serif;
  overflow: hidden;
}

#wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#screen {
  touch-action: none;
  max-width: 100%;
  max-height: 100%;
  background: #000;
  cursor: pointer;
}

#overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
}

#overlay .warn {
  color: #fa0;
}

#unsupported {
  display: none;
  padding: 2rem;
  text-align: center;
  max-width: 480px;
}

#unsupported a {
  color: #6af;
}
