#screening{position:absolute;inset:0;z-index:4;isolation:isolate;background:#100f0c;color:#f1debc;display:grid;grid-template-rows:auto 1fr auto auto;overflow:hidden}
#screening[hidden]{display:none}
.film-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
#screening:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#0e0e0bad,transparent 26%,transparent 54%,#0c0d0bcc)}
#screening header,#screening footer{position:relative;display:flex;align-items:center;gap:8px;margin:0;padding:8px 14px;color:inherit}
#screening header{justify-content:space-between;align-items:flex-start}
#screening header small,#screening header strong{display:block;text-shadow:0 2px 4px #12120e}
#screening header small{color:#e3c992}
.film-place{font:700 clamp(17px,2.5vw,33px)/1.2 SimSun,serif}
.film-ink{grid-row:3;display:block;justify-self:center;width:min(85%,760px);background:#fcfaf5;border:1px solid #91774f;padding:0;max-height:40%;max-height:clamp(100px,23vh,210px);overflow:auto;cursor:zoom-in;box-shadow:0 4px 16px #07080588}
.film-ink img{display:block;width:100%;height:auto}
#screening.whole-page .film-ink{position:absolute;bottom:48px;left:14px;width:auto;height:62%;max-height:none;max-width:39%;background:#24221d}
#screening.whole-page .film-ink img{height:100%;width:auto;max-width:100%;object-fit:contain}
#screening.enlarged .film-ink{position:absolute;z-index:3;inset:7px 5px 46px;width:calc(100% - 10px);max-width:none;height:auto;max-height:none;align-content:center;cursor:zoom-out;background:#f7f5ee}
#screening.enlarged .film-ink img{width:100%;height:auto;max-width:none;object-fit:contain}
#screening.enlarged.whole-page .film-ink{align-content:start}
#screening footer{grid-row:4;background:#100f0bea;flex-wrap:nowrap;padding:5px 9px}
.film-status{flex:1;color:#d0baa0;font-size:12px}
#screening button:not(.film-ink){font-size:13px;background:#1e201bdc;white-space:nowrap}
#screening .film-next{color:#f2dfb7;border-color:#a38650}
@media(max-height:510px){#screening header{padding:4px 8px}.film-ink{max-height:30vh}#screening footer{gap:3px}#screening footer button{padding:3px 6px}}
@media(max-width:650px) and (orientation:portrait){.world:has(#screening:not([hidden])){aspect-ratio:1/1.15}.film-shot{object-position:50% 25%;height:76%}.film-ink{width:96%;max-height:35vh}#screening footer{gap:3px;flex-wrap:wrap}.film-status{font-size:11px}}

#screening:not(.whole-page):not(.enlarged) .film-ink{width:auto;max-width:96%;overflow:hidden}
#screening:not(.whole-page):not(.enlarged) .film-ink img{width:auto;max-width:100%;max-height:clamp(100px,23vh,210px);object-fit:contain}

.film-ink canvas{display:none}
#screening:not(.whole-page):not(.enlarged) .film-ink{display:grid;place-items:center;width:min(96%,900px);height:clamp(92px,21vh,175px);max-height:none;background:#11120fea;border:0;border-top:1px solid #a5885a;padding:6px}
#screening:not(.whole-page):not(.enlarged) .film-ink img{display:none}
#screening:not(.whole-page):not(.enlarged) .film-ink canvas{display:block;position:static;width:100%;height:100%;min-height:0;min-width:0;object-fit:contain;filter:invert(1) sepia(.45);mix-blend-mode:screen}
