/* R34 canonical signed-out opening choreography.
 * SAME declarations render the physical lock and the Studio preview.
 * Pure CSS: no second loader, no DOM reset, no WebAuthn/session touch. */
body[data-satron-opening-ms],.opening-preview[data-satron-opening-ms]{
 --sathron-opening-duration:700ms;
}
body[data-satron-opening-ms="300"],.opening-preview[data-satron-opening-ms="300"]{--sathron-opening-duration:300ms}
body[data-satron-opening-ms="500"],.opening-preview[data-satron-opening-ms="500"]{--sathron-opening-duration:500ms}
body[data-satron-opening-ms="700"],.opening-preview[data-satron-opening-ms="700"]{--sathron-opening-duration:700ms}
body[data-satron-opening-ms="900"],.opening-preview[data-satron-opening-ms="900"]{--sathron-opening-duration:900ms}
body[data-satron-opening-ms="1100"],.opening-preview[data-satron-opening-ms="1100"]{--sathron-opening-duration:1100ms}
body[data-satron-opening-ms="1300"],.opening-preview[data-satron-opening-ms="1300"]{--sathron-opening-duration:1300ms}
body[data-satron-opening-ms="1500"],.opening-preview[data-satron-opening-ms="1500"]{--sathron-opening-duration:1500ms}
body.auth-signed-out[data-satron-opening-style="fade"] #login-view:not([hidden]),
.opening-preview.opening-preview-running[data-satron-opening-style="fade"] .opening-preview-frame{
 animation:sathron-opening-fade var(--sathron-opening-duration) cubic-bezier(.18,.74,.22,1) both;
}
body.auth-signed-out[data-satron-opening-style="bloom"] #login-view:not([hidden]),
.opening-preview.opening-preview-running[data-satron-opening-style="bloom"] .opening-preview-frame{
 animation:sathron-opening-bloom var(--sathron-opening-duration) cubic-bezier(.18,.74,.22,1) both;
}
body.auth-signed-out[data-satron-opening-style="iris"] #login-view:not([hidden]),
.opening-preview.opening-preview-running[data-satron-opening-style="iris"] .opening-preview-frame{
 animation:sathron-opening-iris var(--sathron-opening-duration) cubic-bezier(.18,.74,.22,1) both;
}
body.auth-signed-out[data-satron-opening-style="shutter"] #login-view:not([hidden]),
.opening-preview.opening-preview-running[data-satron-opening-style="shutter"] .opening-preview-frame{
 animation:sathron-opening-shutter var(--sathron-opening-duration) cubic-bezier(.18,.74,.22,1) both;
}
body.auth-signed-out[data-satron-opening-style="space"] #login-view:not([hidden]),
.opening-preview.opening-preview-running[data-satron-opening-style="space"] .opening-preview-frame{
 animation:sathron-opening-space var(--sathron-opening-duration) cubic-bezier(.18,.74,.22,1) both;
}

@keyframes sathron-opening-fade{from{opacity:0}to{opacity:1}}
@keyframes sathron-opening-bloom{
 from{opacity:0;filter:blur(12px);transform:translateY(var(--satron-lock-y,0px)) scale(.88)}
 to{opacity:1;filter:blur(0);transform:translateY(var(--satron-lock-y,0px)) scale(1)}
}
@keyframes sathron-opening-iris{
 from{opacity:0;clip-path:circle(0% at 50% 48%)}
 to{opacity:1;clip-path:circle(86% at 50% 48%)}
}
@keyframes sathron-opening-shutter{
 from{opacity:0;clip-path:inset(50% 0 50% 0)}
 to{opacity:1;clip-path:inset(0 0 0 0)}
}
@keyframes sathron-opening-space{
 from{opacity:0;filter:blur(7px);transform:translate3d(0,calc(var(--satron-lock-y,0px) + 28px),0) scale(.72)}
 to{opacity:1;filter:blur(0);transform:translate3d(0,var(--satron-lock-y,0px),0) scale(1)}
}
/* Only the opening art animates; the page and Atmosphere stay fixed.
 * Native iOS app-switcher animations are OS-controlled. */
@media(prefers-reduced-motion:reduce){
 body.auth-signed-out #login-view:not([hidden]),
 .opening-preview.opening-preview-running .opening-preview-frame{
  animation:none!important;filter:none!important;clip-path:none!important;
  transform:translateY(var(--satron-lock-y,0px))!important;opacity:1!important;
 }
}
