/* Compact film-credit directory, shared at both ends of the exhibition. */
#work .gallery-credits-top{position:fixed!important;inset:0;z-index:9;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .5s,visibility .5s;background:#000}
#work .gallery-credits-top.is-visible{opacity:1;visibility:visible;pointer-events:auto}
#work .gallery-credits-top ul{width:100%}
.tv-controls button:active{transform:translateY(2px) scale(.92);box-shadow:inset 0 2px 6px #000}
@media(max-width:600px){
#work .gallery-credits{box-sizing:border-box;height:100svh;min-height:540px;padding:75px 16px calc(105px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center}
#work .gallery-credits ul{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2.4svh,24px) 8px;max-width:520px}
#work .gallery-credits li{min-width:0;gap:3px;align-self:center}
#work .gallery-credits a{width:100%;min-height:36px;font-size:clamp(15px,4.3vw,24px);line-height:1.05;overflow-wrap:normal;letter-spacing:-.025em}
#work .gallery-credits li>span{font-size:clamp(8px,2.1vw,11px);line-height:1.15;letter-spacing:0;max-width:100%}
}
@media(prefers-reduced-motion:reduce){#work .gallery-credits-top{transition:none}.tv-controls button:active{transform:none}}
