/* WEB loading is a standalone viewport, never embedded inside the 3D foyer. */
#fortunaWebStoryLayer,#fortunaWebStoryLayer *{box-sizing:border-box}
#fortunaWebStoryLayer{
 position:fixed!important;inset:0!important;z-index:2147483000!important;
 width:100vw!important;height:100vh;height:100dvh;
 overflow:hidden;pointer-events:auto;isolation:isolate;
 background:radial-gradient(ellipse at 50% 36%,#30324f 0%,#11142c 64%,#080b1e 100%);
 display:flex;align-items:center;justify-content:center;
 padding:0;margin:0;border:0;border-radius:0;
}
#fortunaWebStoryLayer[hidden]{display:none!important}
body.fortuna-web-story-active{overflow:hidden!important}
#fortunaWebStoryLayer img{
 display:block;width:100%;height:100%;object-fit:contain;object-position:center;
 filter:drop-shadow(0 0 12px #a6a6d026);
}
#fortunaWebStoryLayer img[hidden]{display:none!important}
#fortunaWebStoryLayer .fortuna-web-story-status{
 position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;
 align-items:center;gap:14px;min-height:52px;padding:15px 14px calc(14px + env(safe-area-inset-bottom, 0px));
 color:#fff3d8;text-shadow:0 1px 8px #000;
 background:linear-gradient(transparent,#071125e8 35%,#071125ef);
 font:500 clamp(12px,1.8vw,15px)/1.5 system-ui,'Yu Gothic',sans-serif;letter-spacing:.03em;
}
#fortunaWebStoryLayer .fortuna-web-story-status[hidden]{display:none!important}
#fortunaWebStoryLayer .fortuna-web-story-number{color:#d8bf86;font:12px/1.3 Georgia,serif;white-space:nowrap;letter-spacing:.15em}
#fortunaWebStoryLayer .fortuna-web-story-error{max-width:min(90vw,480px);padding:28px 24px;color:#fff3d8;background:#0b1129f0;border:1px solid #d8bf86;border-radius:16px;text-align:center;font:16px/1.7 system-ui,'Yu Gothic',sans-serif}
#fortunaWebStoryLayer .fortuna-web-story-error[hidden]{display:none!important}
#fortunaWebStoryLayer .fortuna-web-story-error button{cursor:pointer;background:#d8bf86;color:#10152a;border:0;border-radius:8px;padding:10px 18px;font:inherit}
@media(prefers-reduced-motion:reduce){#fortunaWebStoryLayer img{filter:none}}
