/* PoC 7.8 · shared/stage.css · from poc76b.html lines 357–382 */
/* shared stage chrome */
canvas#bolt{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#fsq{position:absolute;inset:0;width:100%;height:100%;opacity:0;visibility:hidden;pointer-events:none;background:#0b0820}
#flash{position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,rgba(200,255,252,.9),rgba(95,243,230,.35) 40%,transparent 75%);opacity:0;mix-blend-mode:screen;pointer-events:none}
#warp{position:absolute;inset:0;opacity:0;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(circle at var(--wx,50%) var(--wy,50%),rgba(220,255,252,.55),rgba(95,243,230,.18) 18%,transparent 48%)}
.vig{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 50%,rgba(5,3,20,.55)),linear-gradient(0deg,rgba(5,3,20,.65),transparent 42%);pointer-events:none}
.btn[hidden]{display:none}
.ov{position:absolute;opacity:0;visibility:hidden;transition:opacity .5s,visibility 0s .5s;z-index:2}
.ov.on{opacity:1;visibility:visible;transition:opacity .5s}
.paused *,.paused *::before,.paused *::after{animation-play-state:paused!important}
/* pause button (not reduced motion): in-flight transitions snap to their end state and nothing new eases */
.frozen *,.frozen *::before,.frozen *::after{transition:none!important}
/* scene copy */
.copy{position:absolute;z-index:4;left:clamp(16px,6vw,96px);bottom:clamp(64px,11vh,130px);max-width:min(600px,calc(100vw - 32px));opacity:0;transform:translateY(16px);pointer-events:none;text-shadow:0 2px 24px rgba(5,3,20,.95);visibility:hidden}
.copy::before{content:"";position:absolute;inset:-70px -110px -50px -90px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 60% 55% at 42% 58%,rgba(5,3,20,.74),rgba(5,3,20,.5) 55%,transparent 100%)}
.copy.on{opacity:1;transform:none;visibility:visible;transition:opacity .85s .1s,transform .85s .1s}
.copy:not(.on){transition:opacity .35s,transform .35s,visibility 0s .35s}
.copy [data-f]{display:none}
.copy [data-f].on{display:block}
.copy .acts[data-f].on,.copy .tray[data-f].on{display:flex}
.copy .k{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--teal)}
.copy .tr{display:inline-block;margin-left:10px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#f3e4ff;padding:2px 8px;border-radius:999px;border:1px dashed rgba(213,140,255,.7);background:rgba(40,14,60,.6);vertical-align:2px}
.copy h1,.copy h2{font-family:ui-serif,Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(30px,4.8vw,60px);line-height:1.06;margin:.3em 0 .35em;text-wrap:balance}
.copy h2{font-size:clamp(28px,3.8vw,48px)}
.copy p{color:var(--dim);font-size:clamp(15px,1.25vw,18px);max-width:54ch}
.copy .id{margin-top:8px;font-size:13px;letter-spacing:.04em;color:var(--ink);opacity:.85}
.copy h2.hero{font-size:clamp(30px,4.8vw,60px)}
/* a page a film lands on (engine.js): its fog, light sweeps and motes are not in the film's last frame, so they wait under the film
   and rise with the depth layers (depth-still.js FADE_IN 1.4 s) instead of appearing in one frame */
.frame.fxin>.fx,.frame.fxin>canvas.motes{opacity:0;transition:none}
.frame.fxup>.fx,.frame.fxup>canvas.motes{transition:opacity 1.4s ease-in}
/* a page a film lands on or takes off from settles to its picture at rest near the film (engine.js sets --edge): the fog, sweeps and
   motes scale with it, so in either direction the page is the film's end frame before the film takes over */
.frame>.fx,.frame>canvas.motes{filter:opacity(var(--edge,1))}
/* master pass · "In plain words": one sentence anybody understands, under the poetic line of every page */
.copy p.plain{position:relative;margin:.5em 0 .2em;padding:.55em .9em .6em 1em;max-width:52ch;font-size:clamp(14px,1.05vw,16px);line-height:1.45;color:#f4f1ff;background:linear-gradient(90deg,rgba(95,243,230,.13),rgba(8,6,22,.35) 70%,transparent);border-left:2px solid var(--teal);border-radius:2px 10px 10px 2px}
.copy p.plain b{display:block;margin-bottom:.15em;font-size:10.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--teal)}
.copy[data-c="0"]:has(h2.hero.on) p.plain{margin-left:auto;margin-right:auto;text-align:left}
