.collection-picker{position:fixed;inset:0;margin:auto;width:min(36rem,calc(100% - 1.5rem));max-width:none;max-height:min(48rem,calc(100dvh - 2rem));padding:0;border:1px solid #f1dac8;border-radius:1.75rem;background:#fffbf7;color:#341406;box-shadow:0 24px 90px #240a0345;overflow:hidden}
.collection-picker::backdrop{background:#280d065e;backdrop-filter:blur(5px)}
.collection-picker-shell{display:flex;flex-direction:column;max-height:inherit}
.collection-picker-header{position:relative;padding:1.5rem 4rem 1rem 1.5rem}
.collection-picker-kicker{display:flex;gap:.45rem;align-items:center;color:#9a3414;font-weight:600;font-size:.8rem;letter-spacing:.07em;text-transform:uppercase}
.collection-picker-header h2{margin:.4rem 0 0;font-size:clamp(1.5rem,4vw,2rem);line-height:1.2;letter-spacing:-.035em}
.collection-picker-close{position:absolute;right:1rem;top:1rem;width:44px;height:44px;display:grid;place-items:center;border:1px solid #ead6c8;border-radius:50%;background:#fff7f0;color:inherit}
.collection-picker-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:0 1.5rem 1rem}
.collection-current{display:flex;gap:.75rem;align-items:center;padding:.55rem 0 .85rem;margin:0 0 .75rem;border-bottom:1px solid #efded2}
.collection-current img{border-radius:.5rem;object-fit:cover;background:#f4e2d5}
.collection-current div,.collection-option-copy{display:grid;min-width:0;gap:.2rem}
.collection-current strong,.collection-option-copy strong{overflow-wrap:anywhere;font-size:.99rem;line-height:1.22}
.collection-current span,.collection-option-copy small{color:#73584c;font-size:.85rem}
.collection-search{display:flex;align-items:center;gap:.65rem;background:#fff;border:1px solid #ead6c7;border-radius:.85rem;padding:0 .8rem;margin-bottom:.8rem;color:#875444}
.collection-search input{width:100%;min-width:0;height:46px;border:0;background:transparent;color:#341406;font:inherit;font-size:1rem}
.collection-search:focus-within{outline:2px solid #b33a12;outline-offset:1px}
.collection-search input:focus-visible{outline:0}
.collection-list{display:grid;gap:.45rem}
.collection-option{position:relative;display:grid;grid-template-columns:60px minmax(0,1fr) 28px;gap:.7rem;align-items:center;padding:.52rem .7rem;border:1px solid #f0dfd1;border-radius:.85rem;background:#fff6ef;color:#341406;min-height:62px}
label.collection-option{cursor:pointer}
.collection-option.is-selected{background:#ffebdc;border-color:#f5c4a8}
.collection-option:focus-within{outline:2px solid #b33a12;outline-offset:2px}
.collection-option input{position:absolute;opacity:0;pointer-events:none}
.collection-preview{position:relative;display:grid;place-items:center;width:60px;height:44px;border-radius:.55rem;overflow:hidden;background:#f5dfcf;color:#a44323}
.collection-preview img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover}
.collection-check{width:24px;height:24px;display:grid;place-items:center;border:1px solid #c7a798;border-radius:50%;color:transparent}
.collection-option.is-selected .collection-check{background:#b93913;border-color:#b93913;color:white}
.collection-remove{display:grid;place-items:center;border:0;background:transparent;color:#75412b;min-width:32px;min-height:44px}
.collection-note,.collection-error{margin:.55rem 0;font-size:.93rem;line-height:1.5;color:#684b3e}
.collection-error{color:#a02813}
.collection-create{display:grid;gap:.4rem;margin-top:.85rem}
.collection-create label{font-weight:600;font-size:.9rem}
.collection-create>div{display:flex;gap:.5rem}
.collection-create input{width:100%;min-width:0;height:44px;padding:.55rem .7rem;border:1px solid #ddc5b6;border-radius:.75rem;font:inherit;font-size:1rem;color:inherit;background:white}
.collection-create button,.collection-retry{background:#f9e4d5;color:#75331c;border:1px solid #ead0bd;border-radius:.75rem;padding:.4rem .85rem;min-height:44px;white-space:nowrap;font:inherit}
.collection-picker-actions{display:flex;gap:.65rem;padding:.95rem 1.5rem 1.2rem;background:#fff8f2;border-top:1px solid #f0ddcf}
.collection-picker-actions button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:0;min-height:46px;border-radius:999px;font-weight:600;padding:.55rem .8rem;font-size:.93rem;line-height:1.2;flex:1}
.collection-secondary{color:#8d3015;border:1px solid #edc7b1;background:#fffaf5}
.collection-primary{color:#fff;background:#c43b13;border:1px solid #c43b13}
.collection-picker button:disabled{opacity:.48;cursor:default}
.collection-picker button:focus-visible,.collection-create input:focus-visible{outline:2px solid #b33a12;outline-offset:2px}
.member-collection-filter{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:.65rem 0 1rem;font-size:.9rem;font-weight:600;color:#633722}
.member-collection-filter select{padding:.5rem .7rem;border:1px solid #e0c7b6;border-radius:.75rem;background:#fff8f1;color:#4e2816;min-height:44px;max-width:100%;font:inherit}
.member-updates{margin:1.25rem 0 .7rem;padding-top:1rem;border-top:1px solid #ead8cb}
.member-updates label{display:flex;align-items:center;gap:.6rem;min-height:44px;font-weight:600}
.member-updates input{accent-color:#b73916;width:1rem;height:1rem}
.member-updates p{margin:.3rem 0;font-size:.88rem;color:#735649}
@media(max-width:600px){
 .collection-picker{inset:auto 0 0;margin:0;width:100%;max-height:calc(100dvh - .75rem);border-radius:1.5rem 1.5rem 0 0}
 .collection-picker-header{padding:1.1rem 3.6rem .8rem 1rem}
 .collection-picker-body{padding:0 1rem .9rem}
 .collection-picker-actions{padding:.8rem 1rem calc(.9rem + env(safe-area-inset-bottom,0px))}
 .collection-picker-close{right:.75rem;top:.65rem}
}

.inspire-laws .collection-picker [hidden]{display:none!important}
.inspire-laws .collection-picker{font-family:var(--inspire-font,Arial,sans-serif);text-align:left}
.inspire-laws button.bookmark-button[data-save] .bookmark-symbol{stroke-width:2}
.inspire-laws button.bookmark-button[data-save][aria-pressed=true]{color:#e84100!important;background:#fffaf5!important;border-color:#e5d6ca!important}
.inspire-laws button.bookmark-button[data-save][aria-pressed=true] .bookmark-symbol{color:#e84100;stroke:#e84100;fill:#e84100}
