#vectr-preflight,
#vectr-input-shield,
#vectr-render-error {
  position: fixed;
  inset: 0;
}

#vectr-preflight {
  z-index: 100000;
  background: #d0e1eb;
}

#vectr-input-shield {
  z-index: 100001;
  background: transparent;
  cursor: default;
  touch-action: none;
}

#vectr-render-error {
  z-index: 100002;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 32px;
  color: #1d1d1f;
  text-align: center;
  background: #d0e1eb;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

#vectr-render-error[hidden] {
  display: none;
}

#vectr-render-error strong {
  font-size: clamp(24px, 4vw, 48px);
}

#vectr-render-error span {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.5;
}

html[data-vectr-intro='loading'],
html[data-vectr-intro='playing'] {
  overscroll-behavior: none;
  scroll-behavior: auto !important;
  scrollbar-width: none;
}

html[data-vectr-intro='playing'] {
  overflow-y: auto !important;
}

html[data-vectr-intro='loading']::-webkit-scrollbar,
html[data-vectr-intro='playing']::-webkit-scrollbar {
  width: 0;
  height: 0;
}
