/* ================================================================
   321 PRAY V84 — HEAVEN FIRST / CLEAR GLASS RESET
   Purpose: strip back V82/V83 heavy purple layers.
   Heaven is the page. Panels are only faint readability frames.
   Keeps V79 one-screen geometry, V80 Living Word, 777 Scriptures,
   Today archive, sharing, Explore and Home App install behaviour.
   ================================================================ */
:root{
  --v84-ink:#2b1d66;
  --v84-ink-deep:#21134f;
  --v84-gold:#e7c478;
  --v84-gold-light:#f7dfa5;
  --v84-white:#fffdf8;
  --v84-line:rgba(255,255,255,.52);
  --v84-gold-line:rgba(231,196,120,.48);
  --v84-clear:rgba(255,255,255,.045);
  --v84-clear-2:rgba(226,211,255,.035);
  --v84-button-top:rgba(112,49,199,.93);
  --v84-button-bottom:rgba(72,27,151,.95);
}

/* ---------------- HOME: HEAVEN IS THE DOMINANT SURFACE ---------------- */
body.book-heaven.v70-living-heaven[data-page="launcher"]{
  background:#8f80ba!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"]>.celestial-world-bg{
  opacity:1!important;
  filter:none!important;
  transform:none!important;
  animation:none!important;
  background-image:url("v71-assets/living-heaven-mockup-bg.jpg")!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}
@media (orientation:portrait){
  body.book-heaven.v70-living-heaven[data-page="launcher"]>.celestial-world-bg{
    background-image:url("v71-assets/living-heaven-mockup-bg-portrait.jpg")!important;
    background-position:center center!important;
    background-attachment:scroll!important;
  }
}

/* Remove any dark world tint/pseudo layers left by earlier versions. */
body.book-heaven.v70-living-heaven[data-page="launcher"]::before,
body.book-heaven.v70-living-heaven[data-page="launcher"]::after{
  opacity:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Header: visible, but not a purple slab. */
body.book-heaven.v70-living-heaven[data-page="launcher"] .header.v26-header{
  display:grid!important;
  grid-template-columns:minmax(102px,1fr) auto minmax(102px,1fr)!important;
  grid-template-areas:"tools brand nav"!important;
  align-items:center!important;
  background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.035))!important;
  border:1px solid rgba(255,255,255,.30)!important;
  border-left:0!important;border-right:0!important;
  box-shadow:0 6px 22px rgba(52,34,104,.08)!important;
  backdrop-filter:blur(2px) saturate(1.03)!important;
  -webkit-backdrop-filter:blur(2px) saturate(1.03)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .brand.v26-brand{
  grid-area:brand!important;
  justify-self:center!important;
  color:var(--v84-ink-deep)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.9),0 0 12px rgba(255,255,255,.75),0 0 22px rgba(231,196,120,.28)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .brand-emblem{
  display:grid!important;
  color:#fff9e7!important;
  border:1px solid rgba(231,196,120,.60)!important;
  background:rgba(59,37,119,.22)!important;
  box-shadow:0 0 18px rgba(255,241,194,.28)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .brand-words strong{
  color:var(--v84-ink-deep)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:500!important;
  letter-spacing:.10em!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .brand-words small{
  color:rgba(43,29,102,.76)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v52-nav{grid-area:nav!important;justify-self:end!important}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v83-home-tools{
  grid-area:tools!important;justify-self:start!important;display:flex!important;align-items:center!important;gap:6px!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v83-install-app,
body.book-heaven.v70-living-heaven[data-page="launcher"] .share-top.v26-heart,
body.book-heaven.v70-living-heaven[data-page="launcher"] .header.v26-header .v52-nav>[data-v52-open="explore"]{
  color:#fff!important;
  background:linear-gradient(180deg,var(--v84-button-top),var(--v84-button-bottom))!important;
  border:1px solid rgba(255,235,178,.72)!important;
  box-shadow:0 5px 16px rgba(62,30,126,.16),inset 0 1px rgba(255,255,255,.22)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v83-install-app{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  height:36px!important;min-height:36px!important;padding:0 10px!important;border-radius:14px!important;
  font:800 .72rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;white-space:nowrap!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .share-top.v26-heart{width:38px!important;min-width:38px!important;height:36px!important;min-height:36px!important}

/* The two devotional areas are frames — not filled cards. */
body.book-heaven.v70-living-heaven[data-page="launcher"] .celestial-page-panel.launcher-panel,
body.book-heaven.v70-living-heaven[data-page="launcher"] .launcher-page{
  background:transparent!important;
  box-shadow:none!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-panel{
  background:linear-gradient(145deg,var(--v84-clear),var(--v84-clear-2))!important;
  border:1px solid rgba(255,255,255,.48)!important;
  box-shadow:0 10px 34px rgba(54,35,104,.07),inset 0 1px rgba(255,255,255,.32)!important;
  backdrop-filter:blur(.6px) saturate(1.01)!important;
  -webkit-backdrop-filter:blur(.6px) saturate(1.01)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-panel::before,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-panel::after{
  opacity:0!important;background:transparent!important;box-shadow:none!important;
}

/* No giant glow discs behind the copy. The lettering carries the light. */
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-quote-stage::before,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-today-body::before{
  opacity:0!important;background:transparent!important;filter:none!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-eyebrow,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-title,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-today-date,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-prayer-label,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-hint{
  color:var(--v84-ink)!important;
  text-shadow:0 1px rgba(255,255,255,.88),0 0 9px rgba(255,255,255,.62)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-quote-stage blockquote{
  color:var(--v84-ink-deep)!important;
  -webkit-text-fill-color:var(--v84-ink-deep)!important;
  text-shadow:0 1px 0 #fff,0 0 8px rgba(255,255,255,.98),0 0 18px rgba(255,244,197,.72),0 0 30px rgba(202,173,255,.30)!important;
  filter:none!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-quote-stage cite,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-today-reflection{
  color:#6a4a12!important;
  -webkit-text-fill-color:#6a4a12!important;
  text-shadow:0 1px #fff,0 0 9px rgba(255,244,198,.72)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-quote-position,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-today-prayer{
  color:var(--v84-ink-deep)!important;
  -webkit-text-fill-color:var(--v84-ink-deep)!important;
  text-shadow:0 1px #fff,0 0 7px rgba(255,255,255,.72)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-badge,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-today-ref{
  color:var(--v84-ink)!important;
  background:rgba(255,255,255,.19)!important;
  border-color:rgba(255,255,255,.48)!important;
  box-shadow:none!important;
  backdrop-filter:blur(1px)!important;-webkit-backdrop-filter:blur(1px)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-badge.live{color:#7a5410!important;border-color:rgba(231,196,120,.58)!important;background:rgba(255,245,208,.20)!important}

/* Buttons stay solid for usability; everything else stays transparent. */
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-actions button,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-actions a,
body.book-heaven.v70-living-heaven[data-page="launcher"] .v77-today-nav button{
  color:#fff!important;
  background:linear-gradient(180deg,var(--v84-button-top),var(--v84-button-bottom))!important;
  border:1px solid rgba(255,255,255,.30)!important;
  box-shadow:0 5px 14px rgba(68,30,139,.13)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-today-actions a{
  color:#4b2b82!important;
  background:linear-gradient(180deg,rgba(255,231,156,.95),rgba(239,199,108,.92))!important;
  border-color:rgba(255,250,227,.72)!important;
}
body.book-heaven.v70-living-heaven[data-page="launcher"] .v77-today-nav button:disabled{opacity:.46!important}

/* Landscape still has the open-Bible composition, but the centre spine is light only. */
body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-split::before{display:none!important}
@media (orientation:landscape){
  body.book-heaven.v70-living-heaven[data-page="launcher"]>.celestial-world-bg{
    background-image:url("theme-backgrounds/bright-gateway-world.jpg")!important;
    background-position:center center!important;
  }
  body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-split::before{
    display:block!important;content:"";position:absolute;z-index:0;top:5%;bottom:5%;left:50%;width:1px;transform:translateX(-50%);
    background:linear-gradient(180deg,transparent,rgba(255,249,220,.82) 22%,#fff8da 50%,rgba(255,232,163,.74) 78%,transparent)!important;
    box-shadow:0 0 8px rgba(255,247,204,.88),0 0 24px rgba(255,226,147,.52)!important;
    opacity:.72!important;pointer-events:none!important;
  }
}

/* PHONE: preserve one-screen layout and fit the compact utility row. */
@media (max-width:620px) and (orientation:portrait){
  body.book-heaven.v70-living-heaven[data-page="launcher"] .header.v26-header{
    grid-template-columns:minmax(78px,1fr) auto minmax(78px,1fr)!important;
    padding-left:6px!important;padding-right:6px!important;
  }
  body.book-heaven.v70-living-heaven[data-page="launcher"] .v83-install-app{height:34px!important;min-height:34px!important;padding:0 7px!important;font-size:.58rem!important}
  body.book-heaven.v70-living-heaven[data-page="launcher"] .v83-install-app .v83-install-long{display:none!important}
  body.book-heaven.v70-living-heaven[data-page="launcher"] .share-top.v26-heart{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
  body.book-heaven.v70-living-heaven[data-page="launcher"] .brand-emblem{width:32px!important;height:32px!important;min-width:32px!important}
  body.book-heaven.v70-living-heaven[data-page="launcher"] .brand-words small{display:none!important}
}

/* ---------------- SCRIPTURE REELS + TODAY: SAME CLEAR LANGUAGE ---------------- */
body.book-heaven.v70-living-heaven[data-page="quotes"]>.celestial-world-bg,
body.book-heaven.v70-living-heaven[data-page="today"]>.celestial-world-bg{
  opacity:1!important;filter:none!important;animation:none!important;
  background:url("v71-assets/living-heaven-mockup-bg.jpg") center/cover fixed no-repeat!important;
}
@media (orientation:portrait){
  body.book-heaven.v70-living-heaven[data-page="quotes"]>.celestial-world-bg,
  body.book-heaven.v70-living-heaven[data-page="today"]>.celestial-world-bg{
    background-image:url("v71-assets/living-heaven-mockup-bg-portrait.jpg")!important;
    background-attachment:scroll!important;
  }
}
body.book-heaven.v70-living-heaven[data-page="quotes"] .celestial-page-panel,
body.book-heaven.v70-living-heaven[data-page="today"] .celestial-page-panel{background:transparent!important;border:0!important;box-shadow:none!important}
body.book-heaven.v70-living-heaven[data-page="quotes"] .reels-head,
body.book-heaven.v70-living-heaven[data-page="quotes"] .tools,
body.book-heaven.v70-living-heaven[data-page="quotes"] .quote-card,
body.book-heaven.v70-living-heaven[data-page="today"] .daily-card{
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(226,211,255,.035))!important;
  border-color:rgba(255,255,255,.42)!important;
  box-shadow:0 10px 30px rgba(56,34,111,.07),inset 0 1px rgba(255,255,255,.28)!important;
  backdrop-filter:blur(.7px)!important;-webkit-backdrop-filter:blur(.7px)!important;
}
body.book-heaven.v70-living-heaven[data-page="today"] .scripture,
body.book-heaven.v70-living-heaven[data-page="today"] .prayer{background:transparent!important}

/* ---------------- OTHER DEVOTIONAL PAGES: LIGHT-TOUCH ONLY ---------------- */
body.book-heaven.v70-living-heaven[data-page="prayer-request"]>.celestial-world-bg,
body.book-heaven.v70-living-heaven[data-page="jesus"]>.celestial-world-bg,
body.book-heaven.v70-living-heaven[data-page="walk-with-jesus"]>.celestial-world-bg,
body.book-heaven.v70-living-heaven[data-page="saints"]>.celestial-world-bg{
  opacity:1!important;filter:saturate(1.03) brightness(.96)!important;
  background:url("theme-backgrounds/bright-gateway-world.jpg") center/cover fixed no-repeat!important;
}
body.book-heaven.v70-living-heaven[data-page="mary"]>.celestial-world-bg{
  opacity:1!important;filter:saturate(1.02) brightness(.98)!important;
  background:url("theme-backgrounds/mary-heaven.png") center top/cover fixed no-repeat!important;
}
body.book-heaven.v70-living-heaven[data-page="prayer-request"] .celestial-page-panel,
body.book-heaven.v70-living-heaven[data-page="jesus"] .celestial-page-panel,
body.book-heaven.v70-living-heaven[data-page="walk-with-jesus"] .celestial-page-panel,
body.book-heaven.v70-living-heaven[data-page="mary"] .celestial-page-panel,
body.book-heaven.v70-living-heaven[data-page="saints"] .celestial-page-panel{
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.32)!important;
  box-shadow:0 12px 40px rgba(45,26,95,.08)!important;
  backdrop-filter:blur(.8px)!important;-webkit-backdrop-filter:blur(.8px)!important;
}

/* Prayer Cards: remove the V83 dark world wash; keep its own card UI intact. */
body.v70-living-heaven .pc-bg{
  background:url("theme-backgrounds/bright-gateway-world.jpg") center/cover fixed no-repeat!important;
  filter:none!important;
}
body.v70-living-heaven .pc-header{background:rgba(255,255,255,.07)!important;border-bottom-color:rgba(255,255,255,.28)!important;backdrop-filter:blur(2px)!important;-webkit-backdrop-filter:blur(2px)!important}

/* Explore remains the one intentionally opaque layer so it stays readable. */
body.v52-menu-open .v52-menu-backdrop{z-index:2147483000!important}
body.v52-menu-open .v52-menu-panel{z-index:2147483001!important}

@media (prefers-reduced-transparency:reduce){
  body.book-heaven.v70-living-heaven[data-page="launcher"] .v76-home-panel,
  body.book-heaven.v70-living-heaven[data-page="quotes"] .quote-card,
  body.book-heaven.v70-living-heaven[data-page="today"] .daily-card{
    background:rgba(255,255,255,.40)!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
}
