
/* Isolated, cache-busted videoteca styles. Works with cached V0.3 base CSS. */
[hidden], .video-card[hidden], #no-results[hidden], #video-more[hidden] { display:none !important; }
.library-summary {display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 32px}
.library-summary h2 {font:700 clamp(30px,4vw,47px)/1.16 var(--display,system-ui);letter-spacing:-.035em;margin:10px 0 0}
.library-summary p {flex:0 1 450px;max-width:450px;color:#b2a8c6;font-size:13px;line-height:1.7;margin:0}
.library-summary p strong {color:#e6d8ff}
.library-toolbar {display:flex;flex-direction:column;gap:22px;padding:25px 0;border-top:1px solid #423353;border-bottom:1px solid #423353}
.library-label,.library-input span {display:block;font:700 11px var(--mono,monospace);letter-spacing:.09em;color:#b5a2cf;margin-bottom:12px}
.library-toolbar .filters {display:flex;gap:9px;flex-wrap:wrap}
.library-toolbar .filters button {min-height:41px;white-space:nowrap}
.library-controls {display:grid;grid-template-columns:minmax(0,2.1fr) minmax(155px,1fr) minmax(175px,1fr);gap:14px;align-items:end;width:100%}
.library-input {display:flex;flex-direction:column;min-width:0;gap:0}
.library-input span {margin-bottom:10px}
.library-controls .search,.library-select {display:block;box-sizing:border-box;width:100%;margin:0;height:46px;border:1px solid #55456d;border-radius:4px;background:#14111f;color:#f2eafd;padding:10px 13px;font:500 13px var(--mono,monospace)}
.library-controls .search::placeholder {color:#81748c}
.library-controls .search:focus,.library-select:focus {outline:2px solid #ac78fa;outline-offset:2px}
.library-select {color-scheme:dark;cursor:pointer}
.library-results-head {display:flex;align-items:center;justify-content:space-between;gap:18px;margin:25px 0 25px;flex-wrap:wrap}
.library-results-head .count {margin:0;color:#b7a8d0;font-size:12px}
.library-more {padding:31px 0 15px;display:flex;justify-content:center}
.library-more button {cursor:pointer;min-width:245px}
.library-notice {margin-top:24px;line-height:1.75}
#video-grid {align-items:stretch}
#video-grid .video-card {height:100%}
#video-grid .video-body {display:flex;flex-direction:column;min-height:150px}
#video-grid .video-body h3 {font-size:19px;line-height:1.35;min-height:0;margin-bottom:12px;overflow-wrap:anywhere}
#video-grid .video-meta {font:500 11px var(--mono,monospace);color:#ac9abe;margin-top:auto}
#no-results {margin-top:20px}
@media (max-width:850px) {.library-summary{align-items:flex-start;flex-direction:column;gap:13px}.library-summary p{max-width:unset;flex-basis:auto}}
@media (max-width:720px) {.library-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.library-input:first-child{grid-column:1/-1}}
@media (max-width:450px) {.library-controls{grid-template-columns:1fr}.library-input:first-child{grid-column:auto}.library-toolbar .filters button{flex:1}.library-results-head{align-items:flex-start;flex-direction:column}}
