/* A moving local teaser fills the wait; the full film replaces it on Playing. */
.film-content>.full-film-player{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.film-intro{position:absolute;inset:0;z-index:2;overflow:hidden;border-radius:inherit;opacity:1;transition:opacity .45s ease,transform .65s var(--ease);pointer-events:none}
.film-loading-poster,.film-loading-teaser{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:#090909}
.film-loading-teaser{opacity:0;transition:opacity .3s}
.film-loading-teaser.is-playing{opacity:1}
.film-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:radial-gradient(ellipse at center,#0009 0%,#0004 40%,#0002 75%);color:#fff}
.film-loading-mark{width:136px;height:88px;filter:drop-shadow(0 4px 16px #0005)}
.film-loading-mark svg{display:block;width:100%;height:100%;overflow:visible}
.loader-track{stroke:#ffffff24;stroke-width:1}
.loader-trail{stroke-width:2;stroke-linecap:round;stroke-dasharray:17 83;animation:film-light-orbit 2.6s cubic-bezier(.45,.05,.55,.95) infinite}
.loader-trail-yellow{stroke:var(--brand-yellow);filter:drop-shadow(0 0 5px #ffd60070)}
.loader-trail-white{stroke:#fff;stroke-width:1.2;stroke-dasharray:5 95;animation-delay:-1.3s}
.loader-shutter{fill:#ffffffbd;transform-origin:68px 44px;animation:film-light-breath 2.6s ease-in-out infinite}
.film-loading-label{font-size:13px;line-height:1.5;letter-spacing:.04em;font-weight:400;text-shadow:0 1px 8px #000}
.film-content[data-film-state=loading]>.full-film-player{pointer-events:none}
.film-content[data-film-state=playing]>.film-intro,.film-content[data-film-state=controls]>.film-intro{opacity:0;transform:scale(1.015)}
.is-tab-hidden .film-loading-mark *{animation-play-state:paused!important}
@keyframes film-light-orbit{0%{stroke-dashoffset:0}100%{stroke-dashoffset:-100}}
@keyframes film-light-breath{0%,100%{opacity:.4;transform:scale(.92)}50%{opacity:1;transform:scale(1)}}
@media(max-width:720px){.film-loading-mark{width:108px;height:70px}.film-loading-label{font-size:12px}}
/* Touch has no hover state. Keep a separate visible keyboard-focus indication. */
@media(hover:none),(pointer:coarse),(max-width:720px){
 .work .frame:before{display:none}
 .work:has(.film-open:focus-visible) .frame:before{display:block;opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){
 .film-loading-mark *{animation:none!important}
 .film-intro,.film-loading-teaser{transition:none}
 .film-content[data-film-state=playing]>.film-intro,.film-content[data-film-state=controls]>.film-intro{transform:none}
}
