/* HG 10F6: neutralized old recovery overlay. Stable B.css/B.js owns Bible behavior. */
.hg-smartpin-rect,.hg-smart-pin-rect,.hg-selection-rect,.hg-smartpin-layer,.hg-smart-pin-layer,.hg-yellow-pen,.hg-highlight-floating,.hg-smart-pin-floating{pointer-events:none!important}

/* =========================================================
   HG10G2 ANDROID HOLYGLOW SCROLL HOTFIX
   CSS-only. Does not touch Smart Pin, nav, read-aloud, or JS.
========================================================= */

body.holy-glow-active {
  overflow: hidden !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  touch-action: none !important;
}

body.holy-glow-active #app-content,
body.holy-glow-active #content {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: contain !important;
  touch-action: pan-y !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  z-index: 10 !important;
}

body.holy-glow-active #bible-text {
  position: relative !important;
  z-index: 25 !important;
  min-height: 160dvh !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
  padding-top: calc(60px + env(safe-area-inset-top)) !important;
  padding-bottom: calc(180px + env(safe-area-inset-bottom)) !important;
}

body.holy-glow-active #holy-bg-media,
body.holy-glow-active #holy-bg-video {
  pointer-events: none !important;
  z-index: 1 !important;
}

body.holy-glow-active #holy-controls,
body.holy-glow-active .holy-popup,
body.holy-glow-active #selection-modal,
body.holy-glow-active #ai-search-popup {
  pointer-events: auto !important;
}

body.holy-glow-active #holy-exit-area {
  pointer-events: auto !important;
  z-index: 100 !important;
}

