/* SFFT Catalogue: cinematic navy + gold, matches the SFFT department pages. */
.sfftcat{--g:#cfa45b;--g2:#f2d28d;--ink:#efe6d2;--mut:#cdbf9f;--bg1:#0c1626;--bg2:#090d16;box-sizing:border-box;width:100%;max-width:1400px;margin:22px auto 0;color:var(--ink);font:16px/1.55 Georgia,serif}
.sfftcat *,.sfftcat *::before,.sfftcat *::after{box-sizing:border-box}
.sfftcat-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sfftcat-h{margin:8px 0 14px!important;text-align:center;color:var(--g2);font:700 clamp(22px,3vw,32px)/1.2 Georgia,serif}
.sfftcat-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.sfftcat-chip{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:8px 16px;border:2px solid var(--g);border-radius:12px;background:linear-gradient(135deg,#0c1e30,#120c10);color:#f1ce91;font:700 clamp(14px,1.5vw,18px)/1.25 Georgia,serif;cursor:pointer;transition:transform .2s,box-shadow .2s}
.sfftcat-chip:hover{transform:translateY(-2px);box-shadow:0 0 18px rgba(242,210,141,.35)}
.sfftcat-chip[aria-pressed=true]{background:linear-gradient(135deg,#6b4e17,#2a1f0c);color:#fff;border-color:#f6d995;box-shadow:0 0 16px rgba(246,217,149,.4)}
.sfftcat-chip:focus-visible,.sfftcat button:focus-visible,.sfftcat a:focus-visible,.sfftcat input:focus-visible,.sfftcat select:focus-visible{outline:3px solid #f6d995;outline-offset:3px}
.sfftcat-n{display:inline-block;min-width:26px;padding:1px 7px;border-radius:999px;background:rgba(207,164,91,.18);color:var(--g2);font:700 12px/1.6 Arial,sans-serif;text-align:center}
.sfftcat-bar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:18px auto 0;max-width:900px}
.sfftcat-q{flex:1 1 320px;min-height:46px;padding:8px 14px;border:1px solid var(--g);border-radius:999px;background:#07111d;color:var(--ink);font:16px/1.3 Arial,sans-serif}
.sfftcat-q::placeholder{color:#9d927a}
.sfftcat-sortl{color:var(--mut);font:700 14px Arial,sans-serif}
.sfftcat-sort{min-height:46px;padding:6px 12px;border:1px solid var(--g);border-radius:10px;background:#07111d;color:var(--ink);font:15px Arial,sans-serif}
.sfftcat-status{min-height:1.4em;margin:12px 0 0!important;text-align:center;color:var(--mut);font:14px/1.4 Arial,sans-serif}
.sfftcat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:14px}
.sfftcat-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--g);border-radius:12px;overflow:hidden;background:linear-gradient(180deg,var(--bg1),var(--bg2));box-shadow:0 10px 24px rgba(0,0,0,.45)}
.sfftcat-open{all:unset;cursor:pointer}
.sfftcat-thumb{position:relative;display:block;width:100%;aspect-ratio:4/3;background:#05080f}
.sfftcat .sfftcat-thumb img{display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover;margin:0;transition:transform .3s}
.sfftcat .sfftcat-thumb:hover img{transform:scale(1.04)}
.sfftcat-badge,.sfftcat-lock{position:absolute;top:8px;inset-inline-start:8px;padding:2px 9px;border-radius:999px;background:rgba(5,8,15,.82);border:1px solid var(--g);color:var(--g2);font:700 11px/1.6 Arial,sans-serif}
.sfftcat-lock{inset-inline-start:auto;inset-inline-end:8px}
.sfftcat-feat{position:absolute;bottom:8px;inset-inline-start:8px;padding:2px 9px;border-radius:999px;background:linear-gradient(180deg,#f5d77a,#c99a2e);color:#1a1205;font:700 11px/1.6 Arial,sans-serif;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.sfftcat-cbody{display:flex;flex-direction:column;gap:5px;padding:10px 12px 12px;flex:1}
.sfftcat-t{margin:0!important;font:700 16px/1.3 Georgia,serif;color:#f6d995}
.sfftcat-t .sfftcat-open{display:block;color:#f6d995;overflow-wrap:anywhere}
.sfftcat-t .sfftcat-open:hover{text-decoration:underline}
.sfftcat-fb{align-self:flex-start;padding:0 6px;border:1px dashed #8d7748;border-radius:6px;color:#bfae8a;font:700 10px/1.6 Arial,sans-serif;cursor:help}
.sfftcat-meta,.sfftcat-credit,.sfftcat-lic{margin:0!important;color:var(--mut);font:12.5px/1.45 Arial,sans-serif;overflow-wrap:anywhere}
.sfftcat-credit b,.sfftcat-lic b{color:#e9d29a}
.sfftcat-lic a,.sfftcat-modal a{color:#f1ce91}
.sfftcat-empty{max-width:820px;margin:18px auto 0!important;padding:14px 18px;border:1px dashed #6e5a35;border-radius:10px;text-align:center;color:var(--mut);font:15px/1.5 Arial,sans-serif}
.sfftcat-morewrap{text-align:center;margin-top:20px}
.sfftcat-more{min-height:48px;padding:10px 26px;border:2px solid var(--g);border-radius:999px;background:#0c1e30;color:#f1ce91;font:700 16px/1.2 Arial,sans-serif;cursor:pointer}
.sfftcat-more[disabled]{opacity:.6;cursor:progress}
.sfftcat [hidden]{display:none!important}
@media(max-width:1199px){.sfftcat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:959px){.sfftcat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:719px){.sfftcat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sfftcat-chip{flex:1 1 calc(50% - 10px);justify-content:center;min-height:46px;padding:8px 10px}}
@media(max-width:359px){.sfftcat-grid{grid-template-columns:1fr}}
/* Viewer */
html.sfftcat-noscroll{overflow:hidden}
.sfftcat-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:clamp(6px,2vw,28px);background:rgba(2,4,9,.88);color:#efe6d2;font:16px/1.55 Georgia,serif}
.sfftcat-modal *{box-sizing:border-box}
.sfftcat-mbox{display:flex;flex-direction:column;width:min(1300px,100%);max-height:100%;border:2px solid #cfa45b;border-radius:14px;background:radial-gradient(ellipse at top,#16233a 0%,#07111d 60%,#05080f 100%);box-shadow:0 20px 60px rgba(0,0,0,.7);overflow:hidden}
.sfftcat-mhead{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-bottom:1px solid #6e5a35}
.sfftcat-mhead h2{flex:1;margin:0;color:#f2d28d;font:700 clamp(18px,2.4vw,26px)/1.25 Georgia,serif;overflow-wrap:anywhere}
.sfftcat-close{flex:none;width:44px;height:44px;border:2px solid #cfa45b;border-radius:50%;background:#0c1e30;color:#f1ce91;font:700 18px/1 Arial,sans-serif;cursor:pointer}
.sfftcat-fbnote{margin:6px 16px 0;color:#bfae8a;font:13px/1.4 Arial,sans-serif}
.sfftcat-mbody{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:0;min-height:0;overflow:auto}
.sfftcat-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:14px;background:#03060c;min-height:240px}
.sfftcat-zoomwrap{width:100%;max-height:72vh;overflow:auto;text-align:center;cursor:zoom-in}
.sfftcat-zoomwrap img{display:inline-block;max-width:100%;max-height:70vh;height:auto;margin:0}
.sfftcat-zoomwrap.is-zoomed{cursor:zoom-out}
.sfftcat-zoomwrap.is-zoomed img{max-width:none;max-height:none;width:220%}
.sfftcat-still{max-width:100%;max-height:52vh;border-radius:8px}
.sfftcat-audio{width:100%;max-width:640px}
.sfftcat-video{width:100%;max-height:70vh;background:#000}
.sfftcat-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}
.sfftcat-pager button,.sfftcat-go{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:2px solid #cfa45b;border-radius:999px;background:#0c1e30;color:#f1ce91;font:700 14px/1.2 Arial,sans-serif;text-decoration:none;cursor:pointer}
.sfftcat-pager button[disabled]{opacity:.45;cursor:default}
.sfftcat-pn{color:#cdbf9f;font:14px Arial,sans-serif}
.sfftcat-locked{max-width:520px;text-align:center;color:#e9dfc9}
.sfftcat-info{padding:14px 18px 18px;overflow:auto}
.sfftcat-desc{margin-bottom:12px;color:#e9dfc9}
.sfftcat-info dl{margin:0}
.sfftcat-info dl div{display:grid;grid-template-columns:minmax(90px,38%) 1fr;gap:8px;padding:6px 0;border-bottom:1px solid rgba(207,164,91,.2)}
.sfftcat-info dt{color:#e9d29a;font:700 13px/1.4 Arial,sans-serif}
.sfftcat-info dd{margin:0;color:#cdbf9f;font:13px/1.45 Arial,sans-serif;overflow-wrap:anywhere}
@media(max-width:799px){.sfftcat-mbody{grid-template-columns:1fr}.sfftcat-zoomwrap{max-height:58vh}.sfftcat-zoomwrap img{max-height:56vh}}
@media(prefers-reduced-motion:reduce){.sfftcat-chip,.sfftcat-thumb img{transition:none}}
