/* PoC 7.8 · shared/stage3d.css · the Creation islands as living paintings (stage3d.js). Without WebGL none of this applies and the older painting stays. */
#s3d{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:1}
body.s3d #sc2 .frame{visibility:hidden}
body.s3d #plate,body.s3d #tray,body.s3d .copy [data-dive="inspect"]{display:none!important}
#s3dHot{position:fixed;inset:0;pointer-events:none;z-index:5;visibility:hidden}
#s3dHot.on{visibility:visible}
#s3dHot .s3h{position:absolute;left:0;top:0;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;border:0;padding:0;background:transparent;pointer-events:auto;cursor:pointer;outline:none}
/* a painted piece is marked by a small spark, quiet until the pointer or the keyboard comes near */
#s3dHot .s3h::after{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#e9fffd;box-shadow:0 0 0 1px rgba(95,243,230,.55),0 0 10px 2px rgba(95,243,230,.55);opacity:.5;transition:opacity .25s,transform .25s;animation:s3p 3.2s ease-in-out infinite}
#s3dHot .s3h:hover::after,#s3dHot .s3h:focus-visible::after{opacity:1;transform:scale(1.3);animation:none}
#s3dHot .s3h:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (hover:none){#s3dHot .s3h::after{opacity:.8}}
@keyframes s3p{50%{opacity:.85;box-shadow:0 0 0 1px rgba(95,243,230,.7),0 0 16px 4px rgba(95,243,230,.6)}}
@media (prefers-reduced-motion:reduce){#s3dHot .s3h::after{animation:none}}
#s3dTip{position:fixed;left:0;top:0;z-index:6;pointer-events:none;opacity:0;transition:opacity .2s;white-space:nowrap}
#s3dTip>span{display:block;transform:translate(-50%,calc(-100% - 14px));padding:7px 12px 8px;border-radius:12px;background:rgba(16,8,34,.78);border:1px solid rgba(110,240,255,.35);box-shadow:0 8px 24px rgba(5,3,20,.45);text-align:center}
#s3dTip b{display:block;font:600 15px/1.2 ui-serif,Georgia,serif;color:#fff}
#s3dTip small{display:block;margin-top:2px;font-size:12px;letter-spacing:.04em;color:#bff8ff}
#s3dTip.on{opacity:1}
#s3dTag{position:fixed;right:16px;bottom:14px;z-index:4;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#f3e4ff;padding:3px 9px;border-radius:999px;border:1px dashed rgba(213,140,255,.7);background:rgba(40,14,60,.55);opacity:0;pointer-events:none;transition:opacity .4s}
#s3dTag.on{opacity:.9}
/* the book: the model itself breaks out of the circle once the sketch turns real */
.bstage.b3 .bfl{overflow:visible}
.bstage.b3 .breal>svg,.bstage.b3 .bimg,.bstage.b3 .bfire{opacity:0!important}
.bstage.b3 .b3c{position:absolute;left:-15%;top:-25%;width:130%;height:130%;pointer-events:none;opacity:0;transition:opacity .9s ease;z-index:3}
.bstage.b3.rl .b3c{opacity:1}
@media (max-width:760px){#s3dTag{bottom:auto;top:118px;left:16px;right:auto}}
