
/*
 * Alternative cut-in: 神降臨 / Theophany
 * Retains the original PNG as an untouched <img> and preserves the existing
 * high-energy celebration as the default variation.
 */
.goddess-trial .goddess-variants{display:grid;gap:10px;margin:12px 0 0}
.goddess-trial .goddess-variant{border:1px solid #ddc58c87;border-radius:10px;padding:10px;background:#fff8e918;color:#fcf4d8}
.goddess-trial .goddess-variant.sacred-choice{background:linear-gradient(105deg,#12233caa,#5b5a5799);border-color:#f4e8be88}
.goddess-trial .goddess-variant strong{font-size:13px}
.goddess-trial .goddess-variant p{font-size:11px;line-height:1.5;margin:5px 0 9px}
.goddess-trial .goddess-variant .god-controls{margin:0}
.goddess-trial .goddess-variant.sacred-choice button[data-goddess-variant="sacred"]{background:linear-gradient(#fffdfa,#e8d2a2);border-color:#fff5e2;color:#243251}
.goddess-trial .goddess-variant.sacred-choice button[data-goddess-side="opponent"]{background:linear-gradient(#313d51,#151d30);border-color:#d5d0b1;color:#faf5dd}
#godStage .god-holy-architecture,#godStage .god-holy-sea,#godStage .god-holy-light,#godStage .god-holy-pulses,#godStage .god-holy-sanctum,#godStage .god-holy-glory{display:none}
/* Deliberately less explosive than Version A. Silence, scale, radiance, grace. */
#godStage.sacred{background:#030c1a}
#godStage.sacred .god-sky{background:linear-gradient(180deg,#030817 0%,#111d37 45%,#3c4963 78%,#d7c5a7 100%);animation:holySky 15.5s ease both}
#godStage.sacred .god-stars{display:none}
#godStage.sacred .god-doors{display:none}
#godStage.sacred .god-beam{display:none}
#godStage.sacred .god-holy-architecture{display:block;position:absolute;inset:-5%;opacity:0;pointer-events:none;
 background:
 linear-gradient(90deg,#101e36cc 0 7%,#f4e5c2ba 7.1% 7.7%,transparent 7.8% 92%,#f4e5c2ba 92.1% 92.7%,#101e36cc 92.8%),
 repeating-linear-gradient(90deg,transparent 0 15%,#d6c3963c 15.1% 15.3%,transparent 15.4% 25%),
 radial-gradient(ellipse at 50% -12%,#fbf3dfde,transparent 66%);
 transform:scale(1.04);transition:opacity 2.6s ease,transform 9s ease}
#godStage.sacred .god-holy-architecture:before,#godStage.sacred .god-holy-architecture:after{
 content:"";position:absolute;inset:8% 5% auto; height:60%;pointer-events:none;
 border:2px solid #f2dab275;border-bottom:none;border-radius:50% 50% 0 0 / 100% 100% 0 0;
 box-shadow:0 0 0 8px #d2bc8a18,0 0 0 18px #d2bc8a12,inset 0 5px 30px #fff8e415
}
#godStage.sacred .god-holy-architecture:after{inset:14% 16% auto;height:53%;border-color:#fbebbb66;opacity:.64}
#godStage.sacred .god-holy-sea{display:block;position:absolute;inset:36% -15% -20%;opacity:0;pointer-events:none;
 background:radial-gradient(ellipse at 50% 65%,#fff6dca8,transparent 56%),repeating-linear-gradient(175deg,transparent 0 33px,#ffedd337 34px 35px,transparent 36px 75px);
 filter:blur(15px);animation:holySeaDrift 18s ease-in-out infinite alternate;transition:opacity 4s}
#godStage.sacred .god-holy-light{display:block;position:absolute;inset:-20%;opacity:0;pointer-events:none;
 background:
 conic-gradient(from 175deg at 50% -8%,transparent 0deg,#fff7db56 9deg,transparent 15deg,#fff4d445 26deg,transparent 36deg,#fff6d84d 47deg,transparent 54deg),
 radial-gradient(ellipse at 50% 6%,#fffceaa3 0%,#f9e4a347 17%,transparent 62%);
 mix-blend-mode:screen;transform:translateY(-15%);transition:opacity 3s,transform 8s}
#godStage.sacred .god-ring{top:42%;width:min(79vmin,720px);border:1.5px solid #fff5d98f;outline:1px solid #e8d9ae96;outline-offset:27px;box-shadow:0 0 55px #fff6db50,inset 0 0 40px #fffad76f;
 transition:opacity 4s;animation:holyRing 42s linear infinite}
#godStage.sacred .god-ring:after{inset:8%;border:1px dashed #fff6e0bb}
#godStage.sacred .god-aura{top:42%;width:min(100vmin,1000px);background:radial-gradient(circle,#fffef485 0%,#fff6cf58 18%,#e4d1a62b 39%,transparent 73%);transition:opacity 3.3s}
#godStage.sacred .god-holy-pulses{display:block;position:absolute;left:50%;top:42%;width:min(82vmin,760px);aspect-ratio:1;border:1px solid #fff6cf80;border-radius:50%;
 transform:translate(-50%,-50%) scale(.35);opacity:0;box-shadow:0 0 20px #fff6d39a,inset 0 0 30px #fff4cb36;pointer-events:none}
#godStage.sacred .god-holy-sanctum{display:block;position:absolute;inset:0;opacity:0;pointer-events:none;
 background:linear-gradient(90deg,transparent 0 24%,#fdf3d60d 24% 26%,transparent 26% 74%,#fdf3d60d 74% 76%,transparent 76%);
 transition:opacity 4s}
#godStage.sacred .god-holy-glory{display:block;position:absolute;inset:0;pointer-events:none;background:#fffbe9;opacity:0}
#godStage.sacred .god-character{top:43%;width:min(71vmin,720px);max-height:68vh;transform:translate(-50%,-42%) scale(.84);
 filter:none!important;transition:opacity 3.2s,transform 5.5s cubic-bezier(.19,.7,.23,1)}
#godStage.sacred .god-overline{font:600 clamp(11px,1.6vw,18px)/1.4 Georgia,serif;letter-spacing:.52em;color:#fff9e5;text-shadow:0 0 20px #fbedd0}
#godStage.sacred .god-who{top:13%;font:600 clamp(12px,1.8vw,20px)/1.4 Georgia,serif;letter-spacing:.1em;color:#fbefd5}
#godStage.sacred .god-title{font-family:"Kaisei Tokumin",serif;font-size:clamp(26px,5.1vw,76px);font-weight:800;letter-spacing:.11em;bottom:18%;color:#fff9e8;text-shadow:0 1px 0 #a98949,0 0 20px #f7e6b6,0 0 45px #eee2c17e}
#godStage.sacred .god-result{bottom:8%;background:transparent;border-block:1px solid #f7e8c2a8;box-shadow:none;
 color:#fff9e9;text-shadow:0 1px 15px #f8ecca9c;font:800 clamp(23px,3.7vw,50px)/1.3 "Kaisei Tokumin",serif;
 padding:12px 0;max-width:650px;letter-spacing:.14em}
#godStage.sacred .god-finish{color:#f9eed5;background:#0c1a32b0;border-color:#efe1be7f}
#godStage.sacred .god-dot{background:#fffdf0;box-shadow:0 0 12px #fff9ee,0 0 28px #f5e2b2}
#godStage.sacred .god-dot.feather{background:linear-gradient(90deg,#fffef9,#ffe9b0);box-shadow:0 0 10px #fffef0}
#godStage.sacred.p1 .god-holy-architecture{opacity:.3}
#godStage.sacred.p2 .god-holy-architecture{opacity:.8;transform:scale(1)}
#godStage.sacred.p2 .god-holy-sea{opacity:.65}
#godStage.sacred.p2 .god-holy-light{opacity:.8;transform:translateY(0)}
#godStage.sacred.p3 .god-ring,#godStage.sacred.p3 .god-aura{opacity:.9}
#godStage.sacred.p3 .god-holy-pulses{animation:holyPulse 3.5s ease-out both}
#godStage.sacred.p3 .god-character{opacity:1;transform:translate(-50%,-45%) scale(1)}
#godStage.sacred.p3 .god-holy-sanctum{opacity:1}
#godStage.sacred.p4 .god-character{transform:translate(-50%,-48%) scale(1.025);transition:transform 4.5s ease}
#godStage.sacred.p4 .god-title{opacity:1;animation:holyText 3s ease both}
#godStage.sacred.p5 .god-holy-glory{animation:holyGlory 2.8s ease both}
#godStage.sacred.p5 .god-result{opacity:1;animation:holyText 2.3s ease both}
#godStage.sacred.p6 .god-title,#godStage.sacred.p6 .god-result{animation:holyBreathe 2.6s ease-in-out infinite alternate}
#godStage.sacred.p6 .god-holy-light{opacity:1}
@keyframes holySky{0%{filter:brightness(.03) saturate(.2)}50%{filter:brightness(.7)}100%{filter:brightness(1.1)}}
@keyframes holyRing{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes holyPulse{0%{opacity:0;transform:translate(-50%,-50%) scale(.25)}20%{opacity:.9}100%{opacity:0;transform:translate(-50%,-50%) scale(2.3)}}
@keyframes holySeaDrift{from{transform:translate3d(-4%,2%,0)}to{transform:translate3d(3%,-6%,0)}}
@keyframes holyText{0%{opacity:0;transform:translate(-50%,30px);filter:blur(8px)}100%{opacity:1;transform:translate(-50%,0);filter:blur(0)}}
@keyframes holyGlory{0%,100%{opacity:0}45%{opacity:.62}67%{opacity:.18}}
@keyframes holyBreathe{from{filter:brightness(.95)}to{filter:brightness(1.17);text-shadow:0 0 22px #fffde8,0 0 45px #ffebc7}}
@media(orientation:portrait){
 #godStage.sacred .god-character{width:min(94vw,650px);top:42%;max-height:58vh}
 #godStage.sacred .god-ring,#godStage.sacred .god-aura,#godStage.sacred .god-holy-pulses{top:40%;width:95vmin}
 #godStage.sacred .god-title{bottom:23%;font-size:clamp(20px,6.4vw,50px);letter-spacing:0}
 #godStage.sacred .god-result{bottom:14%;font-size:clamp(22px,6.8vw,42px)}
 #godStage.sacred .god-overline{top:9%;letter-spacing:.2em}
 #godStage.sacred .god-who{top:15%}
}
