/* The monitor screen: one demonstration video and its pause control. The shell, glass and power sweep stay in crt-editor.css. */
.crt-screen{position:absolute;inset:0;background:#14100f}
.crt-screen-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#14100f}
.crt-screen-toggle{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:none;cursor:pointer;touch-action:manipulation}
.crt-screen-glyph{position:absolute;left:34px;bottom:34px;display:grid;place-items:center;width:52px;height:52px;border:1.5px solid #f7efe6;border-radius:50%;background:#14100fb8;color:#f7efe6;opacity:.72;transition:opacity .18s,background-color .18s,color .18s}
.crt-screen-glyph svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.crt-screen[data-paused=true] .crt-screen-glyph{opacity:1;background:#f7efe6;color:#14100f}
.crt-screen-toggle:focus-visible{outline:none}
.crt-screen-toggle:focus-visible .crt-screen-glyph{opacity:1;outline:2px solid #f3cfa1;outline-offset:4px}
@media(hover:hover) and (pointer:fine){.crt-screen-toggle:hover .crt-screen-glyph{opacity:1}}
/* Close to a screen the picture gains fine grain and the scan pattern disappears. The journey sets these values as the camera moves in. */
.crt-monitor .ed-scanlines{opacity:calc(.16*var(--scan,1))}
.journey-grain{position:absolute;inset:0;z-index:5;pointer-events:none;opacity:0;visibility:hidden;mix-blend-mode:overlay;background-size:160px 160px;animation:journey-grain .6s steps(1) infinite;animation-play-state:paused}
.journey-grain[data-on=true]{visibility:visible;animation-play-state:running}
@keyframes journey-grain{0%{background-position:0 0}25%{background-position:-53px 31px}50%{background-position:37px -67px}75%{background-position:-19px -41px}}
@media(max-width:900px){.crt-screen-glyph{left:26px;bottom:26px;width:76px;height:76px}.crt-screen-glyph svg{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.crt-screen-glyph{transition:none}.journey-grain{display:none}}
