/* Room, lighting, curtain fabric and side papers use the entrance styles. */
:root { --screen-ink: oklch(91% .032 88); --serif: 'IM Fell English', Georgia, serif; }
.projection { container-type: size; }
.closing-card { position: absolute; z-index: 12; left: 29.36%; top: 22.94%; width: 40.77%; height: 42.42%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 1vw, 14px); padding: 2.5%; text-align: center; container-type: size; text-shadow: 0 2px 10px #160603; }
.closing-card h1 { margin: 0 0 1cqh; font: italic 400 11cqw / 1.05 var(--display); letter-spacing: -.05em; }
.closing-record, .closing-attendance { margin: 0; font: 400 clamp(14px, 3.5cqw, 21px) / 1.4 var(--serif); }
.festival-dates { white-space: nowrap; }
.audience-total { font-style: italic; }
[hidden] { display: none !important; }
.site-credit { position: fixed; z-index: 3; left: max(20px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); font: 12px / 1.5 var(--serif); color: var(--muted); text-shadow: 0 1px 5px #101410; }
.closing-preview .programme-live { margin: 0; }
@media (max-width: 600px) {
  .site-credit { left: 16px; bottom: max(14px, env(safe-area-inset-bottom)); font-size: 11px; }
}

/* Reuse the festival's curtain fabric and opening/closing transition. */
.message-start { border: 1px solid color-mix(in oklch, var(--screen-ink), transparent 52%); padding: 9px 14px; min-height: 36px; max-width: 100%; background: oklch(12% .01 143 / .8); font: 400 clamp(12px, 3cqw, 18px) / 1.4 var(--serif); }
.message-start span { display: inline-block; margin-left: .35em; }
.message-video { z-index: 1; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: oklch(7% .008 143); }
.message-pause { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); z-index: 3; min-height: 28px; padding: 5px 12px; color: var(--muted); background: oklch(12% .01 143 / .82); border: 1px solid color-mix(in oklch, var(--screen-ink), transparent 74%); font: 400 clamp(10px, 1.9cqw, 12px) / 1.4 var(--serif); white-space: nowrap; }
.message-close { position: absolute; right: 3%; top: 3%; z-index: 3; min-height: 28px; padding: 5px 10px; color: var(--muted); background: oklch(12% .01 143 / .82); font: 400 clamp(10px, 1.9cqw, 12px) / 1.4 var(--serif); }
.closing-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; max-width: 100%; }
.portfolio-link { display: block; text-decoration: none; color: var(--muted); background: oklch(12% .01 143 / .55); }
.message-start:hover, .message-start:focus-visible { background: var(--control-hover); color: var(--control-ink); }

.closing-attendance[data-loading] { visibility: hidden; }
