/* NutriMaster Academy — Home isolated book cleanup v2.3
   Purpose: use the already-rendered transparent 3D book PNG/WebP assets as-is.
   The previous homepage CSS wrapped those assets inside a second simulated 3D book,
   which created visible translucent rectangular borders/spines around the artwork.
   This file removes ONLY those simulated frames while preserving all movement/positioning. */

/* 1) Logged-out hero diagonal wheel — keep the real transparent book only. */
.immersivePublicHome .nativeCollectionBook > span {
  display: none !important;
}
.immersivePublicHome .nativeCollectionBook img {
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* 2) 01 · LEARN orbit — remove the second CSS-generated cover/back/pages/spine. */
.immersivePublicHome .interactiveBookOrbit .orbitBookBack,
.immersivePublicHome .interactiveBookOrbit .orbitBookPages,
.immersivePublicHome .interactiveBookOrbit .orbitBookSpine {
  display: none !important;
}
.immersivePublicHome .interactiveBookOrbit .orbitBookFace {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}
.immersivePublicHome .interactiveBookOrbit .orbitBookFace::after {
  display: none !important;
  content: none !important;
}
.immersivePublicHome .interactiveBookOrbit .orbitBookFace img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.immersivePublicHome .interactiveBookOrbit[data-dragging="true"] .orbitBookFace {
  box-shadow: none !important;
}

/* 3) “Begin with the energy that powers everything.” — same principle. */
.immersivePublicHome .volumeBookBack,
.immersivePublicHome .volumeBookPages,
.immersivePublicHome .volumeBookSpine {
  display: none !important;
}
.immersivePublicHome .volumeBookCover {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}
.immersivePublicHome .volumeBookCover::after {
  display: none !important;
  content: none !important;
}
.immersivePublicHome .volumeBookCover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* The original parent transforms and animation stay active, so books still rotate/float. */


/* v2.4 — Volume 4 and 6 source artwork contains a black outer canvas.
   We do not alter the artwork itself: these two hero images are clipped to the
   real book area only. This applies only to the logged-out diagonal hero wheel. */
.immersivePublicHome .nativeHeroScene .nativeCollectionBook:nth-child(4) img {
  clip-path: inset(6.7% 9.4% 7.6% 9.8%) !important;
  transform: scale(1.18) !important;
  transform-origin: center center !important;
}
.immersivePublicHome .nativeHeroScene .nativeCollectionBook:nth-child(6) img {
  clip-path: inset(8% 10.6% 12.6% 10.5%) !important;
  transform: scale(1.20) !important;
  transform-origin: center center !important;
}
