[data-library-catalog] [hidden]{display:none!important}
.library-search-panel{margin-top:1.5rem;margin-bottom:1rem;padding:clamp(1.3rem,3vw,2.3rem);border:1px solid #76613c;border-top:3px solid #c9a866;background:linear-gradient(120deg,#22201b,#121213 70%);box-shadow:0 14px 42px #0003}
.library-search-panel h2{margin:.45rem 0 .7rem;font-size:clamp(1.65rem,3vw,2.35rem);color:#f5ead3}
.library-search-panel>p{max-width:65ch;color:#d3c9b7}
.library-search-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:1rem;align-items:end;margin-top:1.4rem}
.library-search-field{min-width:0}
.library-search-field label{display:block;margin:0 0 .5rem;font-size:.94rem;font-weight:600;color:#e6d4ae}
.library-search-field input,.library-search-field select{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:48px;border:1px solid #8c7953;border-radius:2px;padding:.8rem .85rem;background:#0d0d0f;color:#fff4dd;font:inherit;font-size:1rem;color-scheme:dark}
.library-search-field input::placeholder{color:#b5ad9e;opacity:1}
.library-search-reset{min-height:48px;padding:.8rem 1.1rem;border:1px solid #c9a866;border-radius:2px;background:#c9a866;color:#16130d;font:inherit;font-weight:600;cursor:pointer}
.library-search-reset:hover{background:#e3c98f}
.library-search-form :is(input,select,button):focus-visible{outline:3px solid #f8e0a9;outline-offset:4px}
.library-search-panel .library-search-count{margin:1.25rem 0 0;font-size:.95rem;color:#e1c997;min-height:1.5em}
.library-search-empty{margin-top:1.4rem;padding:1.2rem;border:1px solid #665638;background:#191816}
.library-search-empty h3{margin:0 0 .45rem;color:#f2dfb8;font-size:1.35rem}
.library-search-empty p{margin:0;color:#d3c9b7}
@media(max-width:850px){.library-search-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.library-search-reset{grid-column:1/-1;justify-self:start}}
@media(max-width:540px){.library-search-form{grid-template-columns:minmax(0,1fr)}.library-search-reset{justify-self:stretch}.library-search-panel{padding:1.2rem}}
