/* --------------------------
   CUSTOM CURSOR (DESKTOP ONLY)
   -------------------------- */
@media (hover: hover){
  html{
    cursor: url("cursor.png") 8 8, auto;
  }

  /* optional: treat links/buttons as pointer if you ever add UI */
  a, button, [role="button"]{
    cursor: url("cursor.png") 8 8, pointer;
  }
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;  /* no background */
  overflow: hidden;
}

/* centers the flipbook in the viewport */
#stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
  background: transparent;
}

.page {
  background: white;       /* your pages are white */
}

.page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

