.shelf-finder{margin:24px 0 36px;padding:clamp(20px,4vw,36px);background:#f4edda;border:1px solid #cbb98b;border-radius:18px;color:#173c37}
.shelf-finder h2{margin:8px 0 10px;font:clamp(1.65rem,4vw,2.4rem)/1.15 Georgia,serif}
.shelf-finder p{max-width:75ch}.shelf-finder fieldset{padding:0;margin:22px 0 10px;border:0;min-width:0}
.finder-fields{display:grid;grid-template-columns:2fr 1.3fr 1.3fr 1fr;gap:14px}
.finder-fields label{display:grid;align-content:start;gap:8px;font-size:.9rem;font-weight:700}
.finder-fields input,.finder-fields select{box-sizing:border-box;min-width:0;width:100%;padding:12px;border:1px solid #8b9c8c;border-radius:8px;color:#173c37;background:#fffdf5;font:inherit}
.finder-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
.shelf-finder button{padding:12px 18px;border:1px solid #173c37;border-radius:8px;background:#fffdf5;color:#173c37;font:inherit;cursor:pointer}
.shelf-finder button.primary{background:#173c37;color:#fff8df}.shelf-finder button:disabled{opacity:.55;cursor:default}
.shelf-finder :focus-visible,.adventure-tile.finder-chosen a:focus-visible{outline:3px solid #976420;outline-offset:4px}
.finder-status{font-size:.92rem;min-height:1.5em}.finder-picked{font-weight:700;min-height:1.5em}
.adventure-shelf .adventure-tile[hidden]{display:none!important}.adventure-shelf .adventure-tile.finder-chosen{outline:3px solid #976420;outline-offset:4px;scroll-margin-top:25px}
.shelf-finder #finder-empty[hidden]{display:none}.shelf-finder #finder-empty{padding:14px;background:#fffdf5;border-radius:8px}
@media(max-width:900px){.finder-fields{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.finder-fields{grid-template-columns:1fr}.finder-actions button{width:100%}}
@media print{.shelf-finder{display:none}.adventure-shelf .adventure-tile.finder-chosen{outline:none}}
