html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

body {
  position: fixed;
  inset: 0;
}

a-scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.video-source {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.start-button {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: block;
  width: 100vw;
  height: 100vh;
  border: 0;
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
  font: 600 18px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.start-button.is-visible {
  display: block;
}

.start-button.is-hidden {
  display: none;
}

body:not(.debug-mode) .mindar-ui-overlay,
body:not(.debug-mode) .mindar-ui-loading,
body:not(.debug-mode) .mindar-ui-scanning {
  display: none !important;
}

.debug-panel {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  max-height: 45vh;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font: 12px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  white-space: pre-wrap;
}
