.card .collect-button{position:absolute;top:8px;right:48px;width:34px;height:34px;background:#fffffff2;border:1px solid #0001;box-shadow:0 1px 4px #0001}
.collect-button .icon{width:18px;height:18px}
.likes-filters{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 14px}
.likes-filters input,.likes-filters select,.collection-editor :is(input:not([type=file]),textarea){border:1px solid #cacdc3;border-radius:12px;padding:11px 14px;min-width:0;color:inherit;background:white;font:inherit}
.likes-filters input{flex:1 1 250px}.likes-filters select{flex:0 1 auto}
.saved-page [data-liked-results]{min-height:150px}
.collection-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(225px,100%),1fr));gap:18px;margin:24px 0}
.collection-tile{text-decoration:none;color:inherit;min-width:0}
.collection-cover,.collection-placeholder{display:block;background:var(--ss-accent-soft,#e7eedb);border-radius:14px;overflow:hidden}
.collection-cover{aspect-ratio:3/2}
.collection-cover img,.collection-option img,.collection-banner img,.cover-pick img{width:100%;height:100%;object-fit:cover;display:block}
.collection-tile h2{font-size:1.1rem;margin:9px 0 2px;overflow-wrap:anywhere}.collection-tile p,.collection-muted{color:#555b51}
.collection-tile p{margin:0;font-size:.9rem}.collection-muted{margin:22px 0}
.collection-banner{max-width:780px;aspect-ratio:3.5;overflow:hidden;border-radius:18px;margin:16px 0}
.collections-page .page-head p{white-space:pre-wrap;overflow-wrap:anywhere}
.collection-dialog{width:min(430px,calc(100% - 28px));max-height:calc(100dvh - 35px);overflow:auto;margin:auto;border:0;border-radius:22px;padding:24px;color:#111;background:white;box-shadow:0 22px 80px #0004}
.collection-dialog::backdrop{background:#12160c70}
.collection-dialog-top,.collection-dialog-actions,.collection-option{display:flex;align-items:center;gap:12px}
.collection-dialog-top{justify-content:space-between;margin:0 0 20px}
.collection-dialog-top h2{font-size:1.4rem;margin:0;letter-spacing:-.04em}
.collection-dialog-top button{border:0;border-radius:50%;width:34px;height:34px;background:#f1f2ed;color:inherit;font-size:22px;cursor:pointer}
.collection-dialog .status:empty{display:none}
.collection-option{min-width:0;padding:9px 4px;border-bottom:1px solid #e2e5df;cursor:pointer}
.collection-option :is(img,.collection-placeholder){width:42px;height:42px;flex:none;border-radius:9px}
.collection-option span:not(.collection-placeholder){overflow-wrap:anywhere;flex:1}
.collection-option input{width:18px;height:18px;margin-left:auto;accent-color:#496e12}
.collection-add{margin-top:16px}
.collection-editor{display:grid;gap:14px}
.collection-editor label{font-weight:600;font-size:.9rem}
.collection-editor label small{font-weight:400;color:#555}
.collection-editor :is(input:not([type=file]),textarea){display:block;width:100%;margin-top:6px;font-weight:400}
.collection-editor textarea{resize:vertical}
.cover-pick{position:relative;display:flex;align-items:center;gap:14px;width:max-content;max-width:100%;cursor:pointer}
.cover-pick [data-preview]{width:72px;height:60px;display:block;background:#e2ead5;border-radius:10px;overflow:hidden}
.cover-pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.cover-pick:focus-within{outline:2px solid #496e12;outline-offset:3px}
.collection-dialog-actions{justify-content:flex-end}
@media(max-width:460px){.likes-filters{gap:8px}.likes-filters input{flex-basis:100%}.collection-dialog{padding:18px}}
