/* EIN.INK — Stage Host & Persistent Viewport Reset */
html {
  scroll-behavior: smooth;
  background-color: #020205;
  overflow-x: clip;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

body,
body.einink-body {
  overflow-x: clip;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

.einink-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background-color: var(--einink-void, #020205);
  color: var(--einink-ink, #f2f2f2);
  overflow-x: clip;
  opacity: 0;
  transition: opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.einink-stage.is-prewarming {
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.einink-stage.is-ready {
  opacity: 1;
}

.einink-stage[hidden] {
  display: none !important;
}
