/* The whole preview is one accessible play target; glass is only the central disc. */
html[data-theme] .work .film-open{
 inset:0;width:100%;height:100%;min-height:0;padding:0;display:grid;place-items:center;
 border:0;border-radius:inherit;background:transparent;color:#fff;box-shadow:none;
 opacity:1;transform:none;backdrop-filter:none;-webkit-backdrop-filter:none;cursor:pointer;
}
html[data-theme] .work .film-open:hover,html[data-theme] .work .film-open:focus-visible{
 background:transparent;border:0;box-shadow:none;transform:none;color:#fff;outline:none;
}
.work .frame>iframe,.work .frame>video{pointer-events:none}
.work .frame>video{object-fit:cover;display:block}
.play-glass{
 display:grid;place-items:center;width:64px;height:64px;border:0;border-radius:50%;
 background:linear-gradient(140deg,#ffffff2e,#ffffff0a 58%,#00000018);
 backdrop-filter:blur(12px) saturate(1.25);-webkit-backdrop-filter:blur(12px) saturate(1.25);
 box-shadow:0 6px 28px #00000024;
 transition:transform .55s var(--ease),background .55s var(--ease),box-shadow .55s var(--ease);
 pointer-events:none;
}
.film-open .play-glass svg{width:26px;height:26px;margin:0 0 0 3px;filter:drop-shadow(0 1px 4px #0009)}
.reel-grid .play-glass{width:54px;height:54px}
@media(hover:hover) and (pointer:fine){
 .work:hover .play-glass,.film-open:focus-visible .play-glass{
  transform:scale(1.08);background:linear-gradient(140deg,#ffffff40,#ffffff15 58%,#00000012);
  box-shadow:0 8px 32px #00000030;
 }
}
html[data-theme] .film-dialog{
 width:min(1200px,94vw,calc((92dvh - 58px)*16/9));max-width:94vw;max-height:94dvh;
 padding:0;border:0;background:transparent;color:var(--paper);box-shadow:none;
 backdrop-filter:none;-webkit-backdrop-filter:none;overflow:visible;
}
html[data-theme] .film-dialog::backdrop{
 background:#08080855;backdrop-filter:blur(24px) saturate(.7);-webkit-backdrop-filter:blur(24px) saturate(.7);
}
html[data-theme=light] .film-dialog::backdrop{background:#fafaf74a}
.film-dialog[open]{animation:film-arrive .4s var(--ease) both}
.film-dialog[open]::backdrop{animation:film-backdrop-in .4s ease both}
html[data-theme] .film-dialog[data-format=portrait]{width:min(440px,92vw,calc((92dvh - 58px)*9/16))}
html[data-theme] .dialog-head{padding:0 0 12px;gap:20px;min-height:44px}
.dialog-head #film-title{font-size:15px;line-height:1.4;font-weight:500}
html[data-theme] .dialog-head button{
 display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:0;
 border:0;border-radius:50%;background:#ffffff16;color:var(--paper);box-shadow:none;
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
html[data-theme=light] .dialog-head button{background:#0000000c}
.dialog-head button svg{width:20px;height:20px}
html[data-theme] .dialog-head button:hover{background:#ffffff2a;transform:rotate(90deg);box-shadow:none}
html[data-theme=light] .dialog-head button:hover{background:#00000018}
html[data-theme] .dialog-head button:focus-visible{outline:2px solid var(--brand-yellow);outline-offset:3px}
html[data-theme] .film-content{background:transparent;border-radius:8px;box-shadow:none}
@keyframes film-arrive{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes film-backdrop-in{from{opacity:0}to{opacity:1}}
@media(max-width:720px){
 .play-glass{width:54px;height:54px}.reel-grid .play-glass{width:46px;height:46px}
 .film-open .play-glass svg{width:23px;height:23px}
 html[data-theme] .film-dialog{width:min(96vw,calc((92dvh - 58px)*16/9));max-width:96vw}
 .dialog-head #film-title{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 .play-glass{transition:none}
 .film-dialog[open],.film-dialog[open]::backdrop{animation:none}
 html[data-theme] .dialog-head button:hover{transform:none}
}
