/* The audience and projector share a rear-of-theater view of the screen. */
.cinema-interlude{margin:0;padding:0 0 64px}
.cinema-scene{position:relative;isolation:isolate;width:min(100%,960px);margin-inline:auto;padding:0 12px 22px}
.cinema-theater{position:relative;isolation:isolate;display:grid;place-items:center;width:min(100%,760px);aspect-ratio:720/500;margin-inline:auto;z-index:1}
.cinema-theater:before{content:'';position:absolute;inset:12% 10% 10%;background:radial-gradient(ellipse at center,var(--pink-pale) 10%,transparent 70%);z-index:-2;pointer-events:none}
.cinema-curtains{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.cinema-curtains>img{width:100%;height:100%}
.cinema-screen{position:relative;width:46%;min-width:0}
.cinema-poster{position:relative;width:100%;padding:10px;background:var(--paper);border:2px solid var(--ink);border-radius:4px 2px 5px 3px}
.cinema-poster:before,.cinema-poster:after{content:'';position:absolute;top:-6px;width:29px;height:9px;background:var(--pink);pointer-events:none}
.cinema-poster:before{left:-7px;transform:rotate(-10deg)}
.cinema-poster:after{right:-7px;transform:rotate(9deg)}
.cinema-poster>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.cinema-foreground{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;width:min(100%,720px);margin:8px auto 0;z-index:2}
.cinema-projector{grid-area:1/1;position:relative;width:20%;min-width:0;align-self:start;justify-self:start}
.cinema-projector>img{width:100%;height:auto}
.cinema-lens{position:absolute;left:85.5%;top:20.5%;width:1px;height:1px;pointer-events:none}
/* The chair backs center at 48.4% of the source; the bucket extends to the right. */
.cinema-audience{grid-area:1/1;justify-self:center;width:80%;height:auto;min-width:0;transform:translateX(1.6%)}
.cinema-caption{margin:18px 0 0;padding-inline:12px;font-size:clamp(18px,1.7vw,24px);font-weight:700;letter-spacing:-.045em;text-align:center;line-height:1.15}
.cinema-beam{position:absolute;inset:0;width:100%;height:100%;color:#c68aa4;pointer-events:none;visibility:hidden;z-index:0}
.cinema-scene[data-projecting="true"] .cinema-beam{visibility:visible}
.cinema-beam-edges{fill:none;stroke:currentColor;stroke-width:1;opacity:.16}
:root[data-theme="dark"] .cinema-beam{color:#fff1ce}
.cinema-floor{position:absolute;inset:auto 10px 17px;width:calc(100% - 20px);height:12px;fill:none;stroke:var(--muted,#58565b);stroke-width:1.5;stroke-linecap:round;pointer-events:none;opacity:.5;z-index:-1}
@media(max-width:760px){
 .cinema-interlude{padding-bottom:48px}
 .cinema-scene{padding-inline:0}
 .cinema-theater{width:100%}
 .cinema-foreground{width:min(100%,680px)}
}
@media(max-width:540px){
 .cinema-interlude{padding-bottom:44px}
 .cinema-scene{max-width:390px;padding-bottom:18px}
 .cinema-theater{aspect-ratio:1}
 .cinema-screen{width:70%}
 .cinema-poster{padding:7px}
 .cinema-poster:before,.cinema-poster:after{width:23px;height:7px;top:-5px}
 .cinema-foreground{width:100%;padding-inline:0}
 .cinema-floor{inset:auto 4px 14px;width:calc(100% - 8px)}
 .cinema-caption{font-size:22px}
}
