/* Development preview: restore the SIW white-flash loader and white-out
   cover/reveal transitions. The former QR host uses the same visual contract
   in return-transition.css and manual-host.css. */
.siw-entry-splash{
 position:fixed;inset:0;z-index:100;display:none;
 align-items:center;justify-content:center;flex-direction:column;
 gap:clamp(20px,5vh,48px);
 padding:28px;background:#fff;pointer-events:auto;isolation:isolate;
}
.siw-entry-logo{display:block;width:min(74vw,660px);height:auto;max-height:40vh;object-fit:contain}
.siw-entry-loading{
 display:grid;justify-items:center;gap:12px;
 font:900 12px/1.25 "Courier New",monospace;letter-spacing:.22em;color:#111;
}
.siw-entry-track{position:relative;display:block;width:min(220px,52vw);height:4px;background:#ddd;overflow:hidden}
.siw-entry-track::after{content:"";display:block;position:absolute;inset:0 auto 0 0;width:30%;background:#111;transform:translateX(-120%);}
.siw-entry-splash::after{content:"";position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
html[data-siw-intro="first"] .siw-entry-splash{
 display:flex;animation:siw-splash-handoff 2600ms ease-in-out both;
}
html[data-siw-intro="first"] .siw-entry-logo{
 animation:siw-load-logo 2600ms ease-in-out both;
}
html[data-siw-intro="first"] .siw-entry-loading{
 animation:siw-load-caption 2600ms ease-in-out both;
}
html[data-siw-intro="first"] .siw-entry-track::after{
 animation:siw-load-progress 1650ms ease-out 400ms both;
}
html[data-siw-intro="first"] .siw-entry-splash::after{
 animation:siw-white-flash 2600ms ease-in-out both;
}
@keyframes siw-splash-handoff{
 0%,72%{opacity:1;visibility:visible}
 80%{opacity:1;visibility:visible}
 100%{opacity:0;visibility:hidden}
}
@keyframes siw-load-logo{
 0%{opacity:0;transform:translateY(10px)}
 18%,67%{opacity:1;transform:none}
 78%,100%{opacity:0;transform:none}
}
@keyframes siw-load-caption{
 0%,12%{opacity:0}
 22%,67%{opacity:1}
 78%,100%{opacity:0}
}
@keyframes siw-load-progress{
 from{transform:translateX(-120%)}
 to{transform:translateX(360%)}
}
@keyframes siw-white-flash{
 0%,68%{opacity:0}
 76%,84%{opacity:1}
 100%{opacity:0}
}
/* Shared transition curtain: cover destination in white, mount/load while
   covered, then reveal. The page remains mounted (and audio stays alive). */
.siw-page-curtain{
 position:fixed;inset:0;z-index:85;background:#fff;
 opacity:0;visibility:hidden;pointer-events:none;
 transition:opacity .26s ease-in,visibility 0s linear .4s;
}
.siw-page-curtain.is-covering{
 opacity:1;visibility:visible;pointer-events:auto;
 transition:opacity .26s ease-in,visibility 0s;
}
.siw-page-curtain.is-revealing{
 opacity:0;visibility:visible;pointer-events:none;
 transition:opacity .38s ease-out;
}
html[data-siw-intro="seen"] .siw-entry-splash,
html[data-siw-splash="done"] .siw-entry-splash{display:none!important}
@media(prefers-reduced-motion:reduce){
 .siw-entry-splash{display:none!important}
 .siw-page-curtain,.siw-page-curtain.is-covering,.siw-page-curtain.is-revealing{transition:none!important}
}
