/* Optional Living Heavens: styles apply only while this expansion is open. */
#sealed-light .lh-visual{position:absolute;inset:0;z-index:0;overflow:hidden;isolation:isolate;background:#071525}
#sealed-light .lh-visual[hidden],#sealed-light .lh-sequence[hidden],#sealed-light .lh-restore[hidden]{display:none!important}
#sealed-light .lh-backdrop{position:absolute;inset:-2%;width:104%;height:104%;object-fit:cover;filter:brightness(.66) saturate(.85);transform:translate(var(--look-x,0),var(--look-y,0)) scale(1.04);transition:filter 2s;pointer-events:none}
#sealed-light .lh-mist{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 20%,transparent 5%,#08162d22 45%,#04101cbb 95%),linear-gradient(0deg,#061421c9,transparent 65%);pointer-events:none}
#sealed-light .lh-canopy{position:absolute;inset:-20%;background:repeating-conic-gradient(from 10deg at 50% 30%,#ffe9b31a 0deg 2deg,transparent 2deg 19deg);mix-blend-mode:screen;animation:lh-canopy 42s ease-in-out infinite alternate;pointer-events:none}
#sealed-light .lh-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y;cursor:crosshair}
#sealed-light .lh-active .seal-encounter-panel{z-index:2;bottom:max(15px,env(safe-area-inset-bottom,0px));max-height:43%;width:min(850px,94%);padding:15px 20px;background:linear-gradient(140deg,#08182ae8,#081b27df);backdrop-filter:blur(10px);border-color:#dfc17d77;box-shadow:0 14px 55px #0008,inset 0 0 30px #e7c87908}
#sealed-light .lh-active .seal-encounter-panel h3{font-size:clamp(24px,3.8vw,42px)}
#sealed-light .lh-active .seal-encounter-panel p{margin:6px auto}
#sealed-light .lh-active .seal-encounter-panel button{font-size:12px;min-height:44px;padding:8px 13px}
#sealed-light .lh-active .seal-encounter-actions{margin:8px 0;gap:4px}
#sealed-light .lh-active .seal-encounter-actions button[data-path]{border-color:#e2c689;background:#d6b67815}
#sealed-light .lh-active .seal-encounter-actions button[data-word]{font-family:Georgia;color:#f3dcac}
#sealed-light .lh-counter{color:#f5d694!important;font:12px/1.5 system-ui!important;letter-spacing:.04em}
#sealed-light .lh-sequence{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;border-top:1px solid #d6b56b33;margin-top:10px;padding-top:10px}
#sealed-light .lh-restore{position:absolute;right:20px;top:max(20px,env(safe-area-inset-top,0px));z-index:50;min-height:44px;border:1px solid #e2c78c88;border-radius:28px;padding:10px 18px;color:#fff0c6;background:#071727bf;backdrop-filter:blur(8px);cursor:pointer}
#sealed-light .lh-active .seal-world-geometry,#sealed-light .lh-active .seal-world-particles{visibility:hidden}
#sealed-light .lh-angels{position:absolute;inset:0;pointer-events:none;perspective:1000px}
#sealed-light .lh-angel{position:absolute;left:calc(5% + var(--a)*13%);top:calc(7% + var(--a)*2.5%);width:17%;height:25%;opacity:calc(.25 + var(--gathered,0)*.06);filter:drop-shadow(0 0 15px #f3e0af77);animation:lh-angel-arrival 8s ease-in-out infinite alternate;animation-delay:calc(var(--a)*-.8s);transform:scale(calc(.5 + var(--a)*.06))}
#sealed-light .lh-angel:nth-child(2n){top:8%}
#sealed-light .lh-wing{position:absolute;top:10%;left:0;width:50%;height:85%;transform-origin:100% 50%;animation:lh-wing-open 6s ease-in-out infinite alternate;animation-delay:calc(var(--a)*-.6s)}
#sealed-light .lh-wing:nth-child(2){left:50%;scale:-1 1;transform-origin:0 50%}
#sealed-light .lh-wing i{position:absolute;right:0;top:calc(4% + var(--f)*5%);width:calc(100% - var(--f)*4%);height:17%;border-radius:100% 10% 90% 20%;rotate:calc(var(--f)*-4deg);transform-origin:100% 45%;background:linear-gradient(165deg,#fff7daaa,#e5c78b35 60%,transparent);border-top:1px solid #fff7d488}
#sealed-light .lh-angel-light{position:absolute;left:47%;top:24%;width:6%;height:42%;border-radius:50%;background:linear-gradient(#ffffe5,#ead7ac44);box-shadow:0 0 20px 4px #fff2b755}
#sealed-light .lh-visual[data-kind="starriver"] .lh-angels,#sealed-light .lh-visual[data-kind="summit"] .lh-angels,#sealed-light .lh-visual[data-kind="constellation"] .lh-angels{display:none}
#sealed-light .lh-visual[data-kind="starriver"] .lh-backdrop{filter:brightness(.54) saturate(.85);object-position:center 65%}
#sealed-light .lh-visual[data-kind="starriver"] .lh-canopy{background:radial-gradient(ellipse at 50% 70%,#8ce4ff33,transparent 45%),repeating-conic-gradient(at 50% 40%,#9ce6f618 0deg 1deg,transparent 1deg 30deg)}
#sealed-light .lh-lion{display:none;position:absolute;inset:0}
#sealed-light .lh-lion img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 35%}
#sealed-light .lh-roar{opacity:0;transition:opacity 1.1s ease}
#sealed-light .lh-visual[data-kind="summit"] .lh-lion{display:block}
#sealed-light .lh-visual[data-roaring="true"] .lh-roar{opacity:1}
#sealed-light .lh-visual[data-kind="summit"] .lh-mist{background:linear-gradient(0deg,#061421f5,transparent 70%),radial-gradient(ellipse at 50% 18%,#ffd77813,transparent 60%)}
#sealed-light .lh-eagle{display:none;position:absolute;top:-3%;left:40%;width:min(48vw,600px);aspect-ratio:3/2;pointer-events:none;filter:drop-shadow(0 6px 8px #0009);transform-origin:50% 40%}
#sealed-light .lh-visual[data-flight="true"] .lh-eagle{display:block;animation:lh-eagle-flight 13s ease-in-out both}
#sealed-light .lh-eagle img{position:absolute;inset:0;width:100%;height:100%}
#sealed-light .lh-eagle-left{clip-path:polygon(0 0,47% 0,47% 40%,43% 61%,0 65%);transform-origin:46% 39%;animation:seal-real-wing-left 4.8s ease-in-out infinite}
#sealed-light .lh-eagle-right{clip-path:polygon(53% 0,100% 0,100% 65%,57% 61%,53% 40%);transform-origin:54% 39%;animation:seal-real-wing-right 4.8s ease-in-out infinite}
#sealed-light .lh-eagle-body{clip-path:polygon(43% 28%,57% 28%,60% 100%,40% 100%)}
#sealed-light .lh-visual[data-kind="constellation"] .lh-backdrop{filter:brightness(.2) saturate(.65)}
#sealed-light .lh-visual[data-kind="constellation"] .lh-canopy{background:radial-gradient(ellipse at 50% 28%,#e9c16c22,transparent 45%),repeating-conic-gradient(at 50% 30%,#e6bd6b0c 0deg 1deg,transparent 1deg 30deg)}
@keyframes lh-canopy{from{rotate:-5deg;opacity:.4}to{rotate:8deg;opacity:.8}}
@keyframes lh-angel-arrival{from{translate:0 14px;opacity:.2}to{translate:0 -10px;opacity:calc(.4 + var(--gathered,0)*.07)}}
@keyframes lh-wing-open{from{transform:rotate(-14deg) scaleY(.65)}to{transform:rotate(8deg) scaleY(1.05)}}
@keyframes lh-eagle-flight{0%{transform:translate(25%,-30%) scale(.12);opacity:0}15%{opacity:1}70%{transform:translate(-45%,12%) scale(1)}100%{transform:translate(-60%,0) scale(.85);opacity:1}}
#sealed-light .lh-visual[data-paused="true"] *,#sealed-light[data-running="false"] .lh-visual *{animation-play-state:paused!important}
#sealed-light .lh-visual[data-gentle="true"] *,#sealed-light:has(#seal-gentle:checked) .lh-visual *,body.reduced-motion #sealed-light .lh-visual *{animation:none!important;transition:none!important;transform:none!important;translate:none!important;rotate:none!important}
#sealed-light .lh-visual[data-gentle="true"] .lh-eagle{left:25%;top:0}
@media(prefers-reduced-motion:reduce){#sealed-light .lh-visual *{animation:none!important;transition:none!important;transform:none!important;translate:none!important;rotate:none!important}#sealed-light .lh-eagle{left:25%;top:0}}
@media(max-width:700px){#sealed-light .lh-active .seal-encounter-panel{max-height:49%;padding:12px}#sealed-light .lh-active .seal-encounter-panel h3{font-size:26px}#sealed-light .lh-active .seal-encounter-panel p{font-size:12px}#sealed-light .lh-angel{width:24%;height:22%;left:calc(-6% + var(--a)*13%)}#sealed-light .lh-lion img{object-position:58% 30%}#sealed-light .lh-eagle{width:65vw;left:32%;top:0}}
@media(max-height:500px) and (orientation:landscape){#sealed-light .lh-active .seal-encounter-panel{left:auto;right:12px;transform:none;width:46%;max-height:90%;bottom:12px}#sealed-light .lh-angels{width:60%}#sealed-light .lh-lion img{object-position:43% 30%}}
#sealed-light .seal-staying :is(button,details,.seal-cinema-caption,.seal-stage-title,.seal-stage-top,#seal-armour,#seal-shield-control,#seal-closing,.seal-constellation,.seal-world-content,.seal-world-controls,.seal-encounter-panel){visibility:hidden!important}
#sealed-light .seal-staying #seal-quiet-restore{visibility:visible!important}
#sealed-light #seal-quiet-restore{position:absolute;right:20px;top:max(20px,env(safe-area-inset-top,0px));z-index:80;min-height:44px;border:1px solid #e2c78c88;border-radius:28px;padding:10px 18px;color:#fff0c6;background:#071727bf;cursor:pointer}
#sealed-light #seal-quiet-restore[hidden]{display:none!important}
#sealed-light .lh-active .seal-quiet-stay-entry{display:none!important}
#sealed-light .lh-visual.lh-arriving{animation:lh-arrive 1.4s ease-out both}
@keyframes lh-arrive{from{opacity:.25}to{opacity:1}}
#sealed-light:has(#seal-gentle:checked) .lh-visual,body.reduced-motion #sealed-light .lh-visual{animation:none!important}
@media(prefers-reduced-motion:reduce){#sealed-light .lh-visual{animation:none!important}}
#sealed-light[data-running="true"] .seal-resume-experience,#sealed-light .lh-active .seal-resume-experience{display:none!important}
/* The Seal of Promise: a layered, original artistic medallion. */
#sealed-light .lh-promise-portal,#sealed-light .lh-promise-aura{display:none;pointer-events:none}
#sealed-light .lh-visual[data-kind="seal"]{perspective:850px;perspective-origin:50% 27%;background:#071321}
#sealed-light .lh-visual[data-kind="seal"] .lh-angels{display:none}
#sealed-light .lh-visual[data-kind="seal"] .lh-backdrop{filter:brightness(.3) saturate(.65);object-position:50% 24%}
#sealed-light .lh-visual[data-kind="seal"] .lh-mist{background:radial-gradient(ellipse at 50% 27%,#e8c8890a,transparent 43%),linear-gradient(0deg,#041321d9,transparent 70%)}
#sealed-light .lh-visual[data-kind="seal"] .lh-canopy{background:repeating-conic-gradient(from 0deg at 50% 27%,#e9d9b019 0deg 1deg,transparent 1deg 12deg);animation:lh-promise-rays 36s linear infinite}
#sealed-light .lh-visual[data-kind="seal"] .lh-promise-portal{display:block;position:absolute;inset:3% 0 auto;margin-inline:auto;width:min(48vh,56vw,560px);aspect-ratio:1;transform-style:preserve-3d;transform:translateZ(-30px) rotateY(-5deg) scale(.88);filter:drop-shadow(0 0 10px #e3d4a644) drop-shadow(0 0 35px #aaceed33);will-change:transform}
#sealed-light .lh-promise-medallion{display:block;width:100%;height:100%;overflow:visible}
#sealed-light .lh-seal-filigree{transform-origin:300px 300px;transform-box:view-box;animation:lh-promise-orbit 84s linear infinite}
#sealed-light .lh-seal-petals{transform-origin:300px 300px;transform-box:view-box;animation:lh-promise-orbit 110s linear infinite reverse}
#sealed-light .lh-seal-flame{filter:drop-shadow(0 0 7px #fff0bc);animation:lh-promise-flame 7s ease-in-out infinite alternate}
#sealed-light .lh-visual[data-kind="seal"] .lh-promise-aura{display:block;position:absolute;inset:-15%;background:radial-gradient(ellipse at 50% 33%,#d5c1ee15,transparent 38%),repeating-conic-gradient(from 10deg at 50% 33%,#cceaf113 0deg 1deg,transparent 1deg 30deg);mix-blend-mode:screen;animation:lh-promise-orbit 70s linear infinite reverse;opacity:.65}
#sealed-light .lh-visual[data-seal-phase="approach"] .lh-promise-aura{animation:lh-promise-bloom 8s ease-in-out both,lh-promise-orbit 70s linear infinite reverse}
#sealed-light .lh-visual[data-kind="seal"] .lh-projecting{animation:lh-promise-projection 8s cubic-bezier(.25,.1,.25,1) both}
#sealed-light .lh-visual[data-seal-phase="rest"] .lh-promise-portal{transform:translateZ(0) scale(.92);filter:drop-shadow(0 0 18px #e6d4a973) drop-shadow(0 0 48px #b6dbed44)}
#sealed-light .lh-active .seal-encounter-actions button[data-pattern]{font-size:11px;border-color:#c2bdd16b}
#sealed-light .lh-seal-note{font:11px/1.5 system-ui!important;color:#a9b9c8!important;border-top:1px solid #c6b47526;padding-top:9px}
#sealed-light .lh-promise-entry{border-color:#e4ca8b88;box-shadow:inset 0 0 20px #e5c4770d}
@keyframes lh-promise-orbit{to{transform:rotate(360deg)}}
@keyframes lh-promise-rays{from{rotate:-8deg;opacity:.4}to{rotate:8deg;opacity:.75}}
@keyframes lh-promise-flame{from{opacity:.82;filter:drop-shadow(0 0 5px #fff0bc)}to{opacity:1;filter:drop-shadow(0 0 12px #fff3c6)}}
@keyframes lh-promise-bloom{0%{opacity:.35}60%{opacity:.9}100%{opacity:.65}}
@keyframes lh-promise-projection{0%{transform:translateZ(-300px) rotateY(-10deg) rotateZ(-5deg) scale(.65)}40%{transform:translateZ(90px) rotateY(6deg) rotateZ(3deg) scale(1)}72%{transform:translateZ(420px) rotateY(0) rotateZ(0) scale(1.15)}100%{transform:translateZ(0) rotateY(0) rotateZ(0) scale(.92)}}
#sealed-light .lh-visual[data-gentle="true"] .lh-promise-portal,#sealed-light:has(#seal-gentle:checked) .lh-promise-portal,body.reduced-motion #sealed-light .lh-promise-portal{animation:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){#sealed-light .lh-promise-portal{animation:none!important;transform:none!important}}
@media(max-width:700px){#sealed-light .lh-visual[data-kind="seal"] .lh-promise-portal{width:min(46vh,84vw);top:3%}}
@media(max-height:500px) and (orientation:landscape){#sealed-light .lh-visual[data-kind="seal"]{perspective-origin:27% 46%}#sealed-light .lh-visual[data-kind="seal"] .lh-promise-portal{width:76vh;inset:5% auto auto 5%;margin:0}}
#sealed-light .lh-seal-knot{transform-origin:300px 300px;transform-box:view-box;animation:lh-promise-orbit 96s linear infinite}
#sealed-light .lh-seal-hebrew{filter:drop-shadow(0 0 5px #dac39566)}
/* Engraved glyph orientation is static artwork, preserved in gentle-motion mode. */
#sealed-light .lh-promise-medallion .lh-seal-inscription-glyph{transform:rotate(var(--glyph-angle))!important;transform-origin:var(--glyph-x) var(--glyph-y);transform-box:view-box}
/* v252: explicit layers keep procedural art above the painted background. */
#sealed-light .lh-visual .lh-backdrop,#sealed-light .lh-visual .lh-lion{z-index:0}
#sealed-light .lh-visual .lh-mist,#sealed-light .lh-visual .lh-canopy,#sealed-light .lh-visual .lh-angels,#sealed-light .lh-visual .lh-eagle{z-index:1}
#sealed-light .lh-active .lh-visual canvas.lh-canvas{z-index:2;opacity:1;pointer-events:auto}
#sealed-light .lh-visual .lh-promise-aura{z-index:3}
#sealed-light .lh-visual .lh-promise-portal{z-index:4}
#sealed-light .lh-brand{position:absolute;inset:max(12px,env(safe-area-inset-top,0px)) 16px auto;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;font:12px/1.3 Georgia;color:#f3ddb0;text-shadow:0 1px 8px #000}
#sealed-light .lh-brand[hidden],#sealed-light .lh-resting .lh-brand{display:none!important}
#sealed-light .lh-brand a{pointer-events:auto;min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box;padding:10px 15px;border:1px solid #d6c08377;border-radius:24px;background:#081824da;color:#f2deb1;text-decoration:none;font:12px/1.4 system-ui}
#sealed-light .lh-active .seal-encounter-panel{width:min(760px,92%);max-height:32%;padding:12px 16px;scrollbar-gutter:stable;overscroll-behavior:contain}
#sealed-light .lh-active .seal-encounter-panel h3{font-size:clamp(23px,3vw,31px);margin:0 0 5px}
#sealed-light .lh-active .seal-encounter-panel p{font-size:12px;line-height:1.45;margin:5px auto}
#sealed-light .lh-active .seal-encounter-panel .lh-sequence{margin-top:6px;padding-top:6px;align-items:start}
#sealed-light .lh-seal-extra>summary,#sealed-light .lh-word-choices>summary{min-height:44px;box-sizing:border-box;padding:11px 15px;border:1px solid #d6c08366;border-radius:23px;font:12px/1.5 system-ui;color:#f3dfb6;cursor:pointer;list-style:none}
#sealed-light .lh-seal-extra[open]{flex-basis:100%}
#sealed-light .lh-extra-body,#sealed-light .lh-word-choice-body{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;padding-top:8px}
#sealed-light .lh-seal-reading{font:12px/1.5 Georgia;color:#cbd8de}
#sealed-light .lh-seal-reading>summary{padding:5px 12px;cursor:pointer;color:#ead29d}
#sealed-light .lh-seal-reading[open]{border-top:1px solid #d6c08333;margin-top:6px}
#sealed-light .lh-playback-status,#sealed-light .lh-narration-status{font:11px/1.4 system-ui!important;color:#c9dcdf!important}
#sealed-light .lh-narration-status:empty{display:none}
#sealed-light .lh-word-choices{flex-basis:100%;max-width:100%}
#sealed-light .lh-active[data-scene="heavens-seal"] #seal-encounter-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:5px}
#sealed-light .lh-active[data-scene="heavens-seal"] #seal-promise-project{grid-column:1/-1;background:#d7c18e22;border-color:#eed8a299;font-weight:600}
#sealed-light .lh-active[data-scene="heavens-seal"] #seal-encounter-actions button{margin:0;width:100%;min-width:0;padding:8px 7px;white-space:normal}
#sealed-light .lh-active[data-scene="heavens-seal"] #seal-encounter-actions button:not([data-pattern]):not(#seal-promise-project){grid-column:auto;}
#sealed-light .lh-word-bloom{display:none;position:absolute;top:21%;left:5%;right:5%;z-index:3;text-align:center;font:clamp(28px,5vw,62px)/1.1 Georgia;color:#fff2c4;text-shadow:0 0 15px #fff0b688,0 0 45px #d3b97099;pointer-events:none}
#sealed-light .lh-visual[data-kind="constellation"] .lh-word-bloom:not(:empty){display:block}
#sealed-light .lh-word-reveal{animation:lh-word-reveal 3s ease-out both}
@keyframes lh-word-reveal{0%{opacity:0;transform:scale(.7);filter:blur(5px)}40%{opacity:1;transform:scale(1.08);filter:blur(0)}100%{opacity:0;transform:scale(1.2);filter:blur(2px)}}
#sealed-light .lh-white-beam{position:absolute;inset:0;z-index:5;opacity:0;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(ellipse at 50% 27%,#fff 0%,#ffffffef 4%,#eef8ff99 14%,#f7fbff44 31%,transparent 65%);transform-origin:50% 27%}
#sealed-light .lh-white-beam:before,#sealed-light .lh-white-beam:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#fff9,#ffffff14);clip-path:polygon(49% 26%,51% 26%,100% 100%,0 100%)}
#sealed-light .lh-white-beam:after{background:repeating-conic-gradient(from 0deg at 50% 27%,#ffffffbb 0deg 2deg,transparent 2deg 22deg);clip-path:none;opacity:.55}
#sealed-light .lh-beam-firing{animation:lh-white-beam 8s ease-in-out both}
@keyframes lh-white-beam{0%{opacity:0;transform:scale(.15)}22%{opacity:.22;transform:scale(.75)}48%{opacity:.82;transform:scale(1.35)}67%{opacity:.9;transform:scale(2)}100%{opacity:0;transform:scale(2.6)}}
#sealed-light .lh-visual[data-kind="seal"][data-seal-pattern="wheels"] .lh-canopy{background:repeating-conic-gradient(at 50% 27%,#e8f5ff55 0deg 1deg,transparent 1deg 7.5deg);animation-duration:24s}
#sealed-light .lh-visual[data-kind="seal"][data-seal-pattern="lattice"] .lh-canopy{background:repeating-linear-gradient(60deg,transparent 0 54px,#e9dbb52b 55px 56px,transparent 57px 110px),repeating-linear-gradient(-60deg,transparent 0 54px,#c5e4f42b 55px 56px,transparent 57px 110px);animation-duration:45s}
#sealed-light .lh-visual[data-kind="seal"][data-seal-pattern="rosette"] .lh-canopy{background:repeating-radial-gradient(ellipse at 50% 27%,transparent 0 35px,#edddb322 36px 37px,transparent 38px 72px),repeating-conic-gradient(at 50% 27%,#e9d9b022 0deg 1deg,transparent 1deg 30deg)}
#sealed-light .lh-visual[data-gentle="true"] .lh-white-beam,body.reduced-motion #sealed-light .lh-white-beam{animation:none!important;opacity:.12!important}
@media(prefers-reduced-motion:reduce){#sealed-light .lh-white-beam{animation:none!important;opacity:.12!important}}
@media(max-width:700px){#sealed-light .lh-active .seal-encounter-panel{max-height:34%;width:94%;padding:10px 12px}#sealed-light .lh-active .seal-encounter-panel h3{font-size:23px}#sealed-light .lh-brand{inset:8px 10px auto;font-size:11px}#sealed-light .lh-brand a{font-size:11px;padding:9px 12px}#sealed-light .lh-active .seal-encounter-panel button{font-size:11px;min-height:44px}}
@media(max-height:500px) and (orientation:landscape){#sealed-light .lh-active .seal-encounter-panel{width:44%;max-height:78%;bottom:10px;right:10px;left:auto;transform:none}#sealed-light .lh-brand{right:48%;font-size:11px}#sealed-light .lh-brand a{font-size:10px}}
#sealed-light .lh-white-beam{display:none}
#sealed-light .lh-visual[data-kind="seal"] .lh-white-beam{display:block}
#sealed-light .lh-visual[data-gentle="true"][data-seal-phase="idle"] .lh-white-beam{opacity:0!important}
#sealed-light .lh-visual[data-gentle="true"] .lh-word-bloom{display:none!important}
#sealed-light .lh-active[data-scene="heavens-seal"] #seal-heavens-play{margin:0;min-width:0;width:100%}
@media(prefers-reduced-motion:reduce){#sealed-light .lh-word-bloom{display:none!important}}
#sealed-light .seal-intro-copy h1{font-size:clamp(44px,5.8vw,84px);line-height:.98}
#sanctuary-of-light .sl-cinematic-entry{margin-top:16px;border-top:1px solid #d6c18344;padding-top:12px}
#sanctuary-of-light .sl-cinematic-entry summary{color:#eed6a1;font:14px/1.5 Georgia;cursor:pointer;padding:8px 0}
#sanctuary-of-light .sl-cinematic-entry button{margin:5px 6px 0 0;min-height:44px;font-size:12px;padding:9px 13px}
#sealed-light .lh-brand>span{flex:1;min-width:0}
#sealed-light .lh-brand .lh-scene-exit{pointer-events:auto;min-height:44px;padding:9px 13px;border-radius:23px;background:#081824da}
#sealed-light .lh-brand a{white-space:nowrap}
@media(max-width:700px){#sealed-light .lh-brand{gap:7px}#sealed-light .lh-brand .lh-scene-exit{font-size:11px;padding:9px 10px}}
/* v256: navigation never shares the Scripture scroll area. */
#sealed-light .lh-active>.lh-sequence{position:absolute;z-index:8;left:50%;right:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:min(760px,94%);box-sizing:border-box;margin:0;padding:10px;border:1px solid #d6bf8670;border-radius:16px;background:#071923f5;align-items:center}
#sealed-light .lh-active>.lh-sequence>button,#sealed-light .lh-active>.lh-sequence>details>summary{margin:0;min-width:0;min-height:44px;padding:9px 7px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;font:12px/1.3 system-ui;text-align:center;border-radius:24px;touch-action:manipulation}
#sealed-light .lh-active>.lh-sequence #seal-heavens-prev{grid-column:1}#sealed-light .lh-active>.lh-sequence #seal-heavens-play{grid-column:2/4}#sealed-light .lh-active>.lh-sequence #seal-heavens-next{grid-column:4/6}#sealed-light .lh-active>.lh-sequence #seal-heavens-menu{grid-column:1/4;grid-row:2}#sealed-light .lh-active>.lh-sequence #seal-heavens-more{grid-column:4/7;grid-row:2}
#sealed-light .lh-active>.lh-sequence #seal-heavens-next{grid-column:4/7}
#sealed-light .lh-sequence>.lh-playback-status{grid-column:1/-1;margin:0;font:11px/1.3 system-ui;text-align:center;color:#d1d9d6}
#sealed-light .lh-active>.seal-encounter-panel{bottom:calc(156px + env(safe-area-inset-bottom,0px));max-height:32%;scroll-padding:12px;z-index:6}
#sealed-light .lh-active .seal-encounter-panel h3{position:sticky;top:-12px;z-index:2;background:#0a1d2af5;padding:8px 0;margin-top:-8px}
#sealed-light .lh-active .seal-encounter-panel>#seal-encounter-reading,#sealed-light .lh-active>.seal-encounter-nav{display:none!important}
#sealed-light .lh-active>.lh-sequence .lh-seal-extra{position:static;width:auto;margin:0;border:0;padding:0;background:none}
#sealed-light .lh-active>.lh-sequence .lh-extra-body{display:none;position:absolute;bottom:calc(100% + 8px);left:0;right:0;max-height:min(60dvh,450px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:12px;background:#0a1c2afa;border:1px solid #d6bf86aa;border-radius:16px;box-shadow:0 10px 45px #0009;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
#sealed-light .lh-active>.lh-sequence .lh-seal-extra[open]>.lh-extra-body{display:grid}
#sealed-light .lh-extra-body button{margin:0!important;min-width:0;min-height:44px;white-space:normal}
#sealed-light .lh-extra-body #seal-heavens-options-close{grid-column:1/-1;position:sticky;top:-12px;z-index:2;background:#233b47}
#sealed-light .lh-extra-body .lh-seal-note{grid-column:1/-1}
#sealed-light .lh-brand{z-index:9;gap:8px;inset:8px 10px auto;align-items:center}
#sealed-light .lh-brand>span{font:12px/1.4 system-ui;max-width:45%;text-wrap:balance}
#sealed-light .lh-brand .lh-scene-exit{white-space:nowrap}
#sealed-light .lh-resting>.lh-sequence{display:none!important}
#sealed-light .lh-active[data-scene="heavens-menu"]>.seal-encounter-panel{bottom:calc(16px + env(safe-area-inset-bottom,0px));max-height:calc(100% - 86px)}
@media(max-width:700px){#sealed-light .lh-active>.seal-encounter-panel{bottom:calc(156px + env(safe-area-inset-bottom,0px));max-height:34%;padding:10px 12px}#sealed-light .lh-brand>span{font-size:11px}#sealed-light .lh-active>.lh-sequence>button,#sealed-light .lh-active>.lh-sequence>details>summary{font-size:11px}}
@media(max-height:520px) and (orientation:landscape){#sealed-light .lh-active>.seal-encounter-panel{left:auto;right:10px;transform:none;top:68px;bottom:calc(138px + env(safe-area-inset-bottom,0px));width:46%;max-height:none}#sealed-light .lh-active>.lh-sequence{left:auto;right:10px;transform:none;width:46%;bottom:calc(6px + env(safe-area-inset-bottom,0px));padding:6px;gap:4px}#sealed-light .lh-active>.lh-sequence .lh-extra-body{max-height:calc(100dvh - 154px)}#sealed-light .lh-brand{right:10px}#sealed-light .lh-brand>span{max-width:none}}
#sealed-light .lh-active>.lh-sequence #seal-heavens-prev{grid-column:1/3}#sealed-light .lh-active>.lh-sequence #seal-heavens-play{grid-column:3/5}#sealed-light .lh-active>.lh-sequence #seal-heavens-next{grid-column:5/7}
#sealed-light .lh-active>.seal-encounter-panel{bottom:calc(164px + env(safe-area-inset-bottom,0px))}
@media(max-width:700px){#sealed-light .lh-active>.seal-encounter-panel{bottom:calc(164px + env(safe-area-inset-bottom,0px))}}
@media(max-height:520px) and (orientation:landscape){#sealed-light .lh-active>.seal-encounter-panel{bottom:calc(164px + env(safe-area-inset-bottom,0px))}#sealed-light .lh-active>.lh-sequence .lh-extra-body{max-height:calc(100dvh - 176px)}}
#sealed-light .lh-active>.seal-encounter-panel{bottom:calc(var(--lh-dock-space,164px) + env(safe-area-inset-bottom,0px))}
#sealed-light .lh-active>.lh-sequence .lh-extra-body{max-height:min(60dvh,calc(100dvh - var(--lh-dock-space,164px) - 70px))}
