/* The seven working screens (P18). The text classes are the only type on the glass: near-black on the screen's #fbfaf6,
   or light on one named dark ground (tests/lab/screens.test.mjs holds them to AA). At rest every screen is its finished
   Ahh, so no JS and reduced motion see it complete. Animation exists only under .rig.on, which is set while a rig is on
   screen (B4), and moves only transform and opacity. No filters and no blur (GPU rule). */
.sc-h{font:900 22px "Archivo",system-ui,sans-serif;fill:#0b0b0c;letter-spacing:-.01em}
.sc-b{font:700 13px var(--mono);fill:#0b0b0c}
.sc-t{font:700 11px var(--mono);fill:#0b0b0c}
.sc-s{font:400 11px var(--mono);fill:#55554f}
.sc-dk{font:700 11px var(--mono);fill:#fff8e6}
.sc-dh{font:900 20px "Archivo",system-ui,sans-serif;fill:#fff8e6;letter-spacing:-.01em}
.sc-on{font:700 12px var(--mono);fill:#d2f783}
.sc-ok{fill:#1e7a2c}
.sc-dots{fill:none;stroke-linecap:round}
.sc-in,.sc-pop,.sc-heart,.sc-ripple{transform-box:fill-box;transform-origin:center}

/* what comes before the Ahh: unseen at rest, seen only while the show plays */
.sc-before{opacity:0}
.sc-wipe{opacity:0;transform-box:fill-box;transform-origin:100% 50%}

.rig.on .sc-before{animation:sc-before .18s linear var(--d,0s) both}
.rig.on .sc-wipe{animation:sc-wipe var(--t,1s) steps(var(--n,20)) var(--d,0s) both}
.rig.on .sc-in{animation:sc-in .45s cubic-bezier(.2,.8,.2,1) var(--d,0s) both}
.rig.on .sc-fade{animation:sc-fade .22s linear var(--d,0s) both}
.rig.on .sc-pop{animation:sc-pop .5s cubic-bezier(.2,1.5,.4,1) var(--d,0s) both}
.rig.on .sc-slide{animation:sc-slide var(--t,1.6s) cubic-bezier(.3,.1,.2,1) var(--d,.2s) both}
.rig.on .sc-ripple{animation:sc-ripple .9s ease-out var(--d,0s) both}
.rig.on .sc-beat{animation:sc-beat 2.6s ease-in-out var(--d,0s) infinite}
.rig.on .sc-heart{animation:sc-heart 1.2s ease-in-out infinite}
@keyframes sc-before{from{opacity:1}to{opacity:0}}
@keyframes sc-wipe{from{opacity:1;transform:scaleX(1)}to{opacity:1;transform:scaleX(0)}}
@keyframes sc-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes sc-fade{from{opacity:0}to{opacity:1}}
@keyframes sc-pop{from{opacity:0;transform:scale(.72)}to{opacity:1;transform:none}}
@keyframes sc-slide{from{transform:translateX(var(--dx,0))}to{transform:none}}
@keyframes sc-ripple{from{opacity:.9;transform:scale(.4)}to{opacity:0;transform:scale(2.6)}}
@keyframes sc-beat{50%{opacity:.35}}
@keyframes sc-heart{0%,40%,100%{transform:none}20%{transform:scale(1.14)}}
@media (prefers-reduced-motion:reduce){.rig.on *{animation:none!important}}
