/* Only Sistem IMAI / Web4. */
html.web4-cinema{background:#030304;color-scheme:dark}
.web4-cinema body{background:#030304}
.web4-cinema body:has(>.imai-space){background:#030304}
.web4-cinema .imai-space{opacity:.61}
.web4-cinema .imai-space-current{opacity:.49;stroke:#ffe0ad;stroke-dasharray:110 1305}
.web4-cinema .imai-space-glint{opacity:.23}
.web4-cinema .systems-top{background:#060607ed;border-bottom-color:#af956336}
.web4-cinema #systems-root .web4-vision{background:radial-gradient(ellipse at 76% 44%,#25231d4d,transparent 61%),linear-gradient(115deg,#070708f5,#07070842);box-shadow:none}
.web4-cinema #systems-root .web4-demo{background:radial-gradient(ellipse at 25% 47%,#22211d66,transparent 60%),linear-gradient(137deg,#09090aef,#050506ed);border-block-color:#ba9a606b}
.web4-cinema #systems-root .signal-controls button{background:#101011;color:#e2dbc9}
.web4-cinema #systems-root .signal-controls button[aria-pressed=true],.web4-cinema #systems-root .signal-controls button:hover{background:linear-gradient(115deg,#27231b,#131313);color:#ffe8ba}
.web4-cinema #systems-root .signal-readout{background:linear-gradient(138deg,#151411,#09090b 77%);border-color:#c6a87681}
.web4-cinema #systems-root .future-feature{background:linear-gradient(132deg,#151416e0,#060607ec 74%)}
.web4-cinema #systems-root .signal-visual{aspect-ratio:3/2;background:#030304;isolation:isolate}
.web4-cinema #systems-root .signal-art img{object-fit:cover;mask-image:linear-gradient(180deg,transparent,#000 10%,#000 90%,transparent)}
.web4-cinema #systems-root .signal-visual::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 30px 7px #030304}
.web4-cinema #systems-root .signal-count{padding:.25em .5em;color:#ffe4b5;background:#080809db}
.web4-cinema .cinema-ambient{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;contain:strict}
.web4-cinema .cinema-ambient::before,.web4-cinema .cinema-ambient::after{content:"";position:absolute;inset:-22%;will-change:transform,opacity}
.web4-cinema .cinema-ambient::before{background:radial-gradient(ellipse at 76% 36%,#deb67c17,transparent 30%),radial-gradient(ellipse at 21% 80%,#8f969c14,transparent 27%)}
.web4-cinema .cinema-ambient::after{background:linear-gradient(112deg,transparent 50%,#f5d29a17 52%,transparent 55%);opacity:.24}
.web4-cinema #systems-root .signal-art::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 42%,#ffe2ac24 49%,#fff3d239 50%,transparent 55%);opacity:0}
@keyframes web4-drift{0%,100%{transform:translate3d(2%,0,0);opacity:.56}50%{transform:translate3d(-5%,3%,0);opacity:1}}
@keyframes web4-sweep{0%,22%{transform:translateX(-34%);opacity:0}43%{opacity:.75}71%,100%{transform:translateX(48%);opacity:0}}
@keyframes web4-photo-in{from{opacity:.42;transform:scale(1.045)}to{opacity:1;transform:scale(1)}}
@keyframes web4-scene-scan{0%{transform:translateX(-42%);opacity:0}29%{opacity:.78}100%{transform:translateX(45%);opacity:0}}
@media(prefers-reduced-motion:no-preference){
 .web4-cinema .cinema-ambient::before{animation:web4-drift 15s ease-in-out infinite}
 .web4-cinema .cinema-ambient::after{animation:web4-sweep 13s ease-in-out infinite}
 .web4-cinema .imai-space-current{animation-duration:11s}
 .web4-cinema #systems-root .signal-art img{animation:web4-photo-in .65s cubic-bezier(.2,.75,.2,1) both}
 .web4-cinema #systems-root .signal-art.cinema-enter::after{animation:web4-scene-scan .85s ease-out both}
 .web4-cinema #systems-root .web4-optical img{animation:web4-photo-in 1.09s cubic-bezier(.2,.75,.2,1) both}
}
.web4-cinema .imai-space-paused .cinema-ambient::before,.web4-cinema .imai-space-paused .cinema-ambient::after{animation-play-state:paused}
@media(max-width:720px){.web4-cinema .imai-space{opacity:.42}.web4-cinema .cinema-ambient::after{display:none}}
@media(prefers-reduced-motion:reduce),(forced-colors:active){.web4-cinema .cinema-ambient{display:none}}
