/* The sanctuary holds the final frame of the entrance film. */
.hall-depth{inset:0;transform:translate(var(--look-x),var(--look-y)) scale(1)}
.hall-art,.hall-foreground{background-image:url('assets/film/hall-still.jpg');background-position:center;background-size:cover}
.hall-foreground{opacity:0}
body[data-view=home] .hall-depth{transform:translate(var(--look-x),var(--look-y)) scale(1);filter:none}
body[data-view=home] .scene-vignette{background:linear-gradient(0deg,#05090de5 0%,#05090d44 25%,transparent 52%,#02050833 100%),linear-gradient(90deg,#03060866,transparent 25%,transparent 75%,#03060855)}
body[data-view=home] .home-stage{width:100%;min-height:calc(100svh - 205px);display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
body[data-view=home] .deity-plaque{align-self:flex-end;max-width:360px;padding-bottom:2vh}
body[data-view=home] .deity-plaque .eyebrow{margin-bottom:8px;font-size:11px;color:#e6c897}
body[data-view=home] .deity-plaque h1{font-size:clamp(25px,2.8vw,40px);margin:0 0 7px;letter-spacing:.18em;text-shadow:0 2px 22px #000}
body[data-view=home] .deity-plaque p{margin:0;color:#dccbb0;font-size:13px;line-height:1.8}
body[data-view=home] .deity-plaque .text-button{font-size:12px;padding:8px 0;margin-top:5px}
body[data-view=home] .hall-center{min-width:220px;padding:0 0 2vh;text-align:center}
body[data-view=home] .hall-center p{font-size:13px;margin:0 0 12px;letter-spacing:.3em}
body[data-view=home] .hall-center .primary{font-size:16px;letter-spacing:.18em;min-width:190px}
body[data-view=home] .hall-center .text-button{font-size:12px;margin:11px auto 0}
body[data-view=ritual] .hall-depth{transform:translate(var(--look-x),-4vh) scale(1.1);filter:brightness(.36) blur(1.5px)}
body[data-view=ritual] .scene-vignette{background:radial-gradient(ellipse at center,#03050825,#020509aa 72%),linear-gradient(0deg,#020406ee,transparent 75%)}
body[data-view=ritual] .ritual-stage{width:min(760px,100%);padding-top:2vh}
body[data-view=ritual] .ritual-stage h1{font-size:clamp(29px,3vw,43px)}
body[data-view=ritual] .question-on-table{background:linear-gradient(100deg,#0b0d0de8,#28211aec,#0b0d0de8);border-block:1px solid #caa36b7a;box-shadow:0 12px 40px #0008}
body[data-view=ritual] .ritual-stage #cupStage{height:clamp(250px,35vh,380px);max-width:710px;margin:8px auto 4px;position:relative;overflow:visible;mask-image:none!important;filter:drop-shadow(0 18px 32px #000b)}
body[data-view=ritual] #cupStage canvas{position:relative;z-index:1}
body[data-view=ritual] #cupStage:before{content:"";position:absolute;z-index:0;inset:20% 6% 0;background:radial-gradient(ellipse at 50% 75%,#c392392b,transparent 58%);pointer-events:none}
body[data-view=ritual] #cupStage:after{content:"";position:absolute;z-index:2;left:22%;right:22%;bottom:12%;height:24%;border-radius:50%;border:1px solid #f1c77e;box-shadow:0 0 18px 7px #d99d484b,0 0 65px 20px #d99d4825;opacity:0;transform:scale(.55);pointer-events:none}
body[data-view=ritual] #cupStage.cup-landed:after{animation:cup-reverberation 1.1s ease-out both}
@keyframes cup-reverberation{0%{opacity:.9;transform:scale(.55)}55%{opacity:.45}100%{opacity:0;transform:scale(1.35)}}
body.casting-scene .ritual-light{opacity:.7;transition:opacity 1.2s}
body[data-view=result] .hall-depth{filter:brightness(.31) blur(1.2px);transform:translate(var(--look-x),var(--look-y)) scale(1.08)}
body[data-view=result] .result-stage #cupStage{width:min(410px,100%);height:175px;margin:0 auto 8px}
body[data-view=result] .reading-lead,body[data-view=result] .reading-simple{color:#f0e5d3}
body[data-view=return] .hall-depth,body[data-view=complete] .hall-depth{filter:brightness(.45);transform:translate(var(--look-x),var(--look-y)) scale(1.04)}
@media(max-width:650px){body[data-view=home] .home-stage{min-height:calc(100svh - 160px);display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:8px}body[data-view=home] .deity-plaque{align-self:flex-start;padding-bottom:0}body[data-view=home] .deity-plaque h1{font-size:27px}body[data-view=home] .deity-plaque p{font-size:11px}body[data-view=home] .hall-center{align-self:center;padding-bottom:0}body[data-view=home] .hall-center p{display:block;font-size:12px}body[data-view=ritual] .ritual-stage #cupStage{height:270px}body[data-view=ritual] .hall-depth{transform:translate(0,-2vh) scale(1.35)}body[data-view=result] .result-stage #cupStage{width:min(340px,100%);height:150px}}
@media(prefers-reduced-motion:reduce){body[data-view=ritual] #cupStage.cup-landed:after{animation:none}}
