.mem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.mem-card{background:white;border:1px solid #d7d4cb;border-radius:8px;overflow:hidden;padding-bottom:14px}.mem-card p,.mem-card h3{margin:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere}.mem-card h3{font-size:18px}.mem-card .mem-photo{display:block;border:0;border-radius:0;padding:0;width:100%;background:#e8e7e3}.mem-photo img{display:block;width:100%;height:210px;object-fit:cover}.mem-card .actions{padding:0 14px}.mem-card .actions button{font-size:14px;padding:8px 12px}.mem-credit{font-size:14px;color:#52606d}.mem-filters{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mem-queue{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.mem-item{border:1px solid #d2d2cc;border-radius:6px;padding:14px}.mem-item img{width:100%;height:150px;object-fit:contain;background:#eae8e0}.mem-item p{overflow-wrap:anywhere;margin:6px 0}.mem-item textarea,dialog textarea{width:100%;min-height:75px;font:inherit;padding:10px;border:1px solid #abb2bb;border-radius:5px;margin-top:6px}.mem-state{font-size:15px}.mem-item[data-state=sent] .mem-state{color:#166534}.mem-item[data-state=failed] .mem-state,.mem-item[data-state=invalid] .mem-state{color:#a62626}dialog{border:1px solid #9a9a94;border-radius:8px;max-width:94vw;width:620px;padding:24px;max-height:90vh;overflow:auto}dialog::backdrop{background:#000a}#memory-viewer{width:1000px}#memory-full{display:block;width:100%;height:65vh;object-fit:contain;background:#191919}#memory-description{white-space:pre-wrap;overflow-wrap:anywhere}.review-selection{padding:12px;background:#fff8dc}.review-selection input{display:inline;width:auto}.mem-reviewbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;position:sticky;top:0;background:#f6f3eb;padding:10px 0;z-index:2}.mem-reviewbar label{margin:0}.mem-reviewbar select{width:auto}.mem-reviewbar button{font-size:15px}#upload-result{white-space:pre-wrap}@media(max-width:850px){.mem-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.mem-grid,.mem-queue,.mem-filters{grid-template-columns:1fr}.mem-photo img{height:240px}dialog{padding:16px}.mem-reviewbar{position:static}}

.mem-album-card{padding:0;box-shadow:0 5px 16px #31280b08;transition:transform .15s,box-shadow .15s}.mem-album-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px #31280b18}.mem-album-open{display:block;width:100%;height:100%;text-align:left;padding:0;border:0;border-radius:0;background:white;color:#242321;font:inherit;cursor:pointer}.mem-album-open img{display:block;width:100%;height:210px;object-fit:cover;background:#e8e7e3}.mem-album-info{padding:16px}.mem-album-info h3,.mem-album-info p{margin:0 0 10px}.mem-album-info h3{font-size:21px}.mem-album-info p{font-size:15px}.mem-album-info span{display:block;color:#725312;font-weight:700;margin-top:18px}.mem-album-open:focus-visible{outline:3px solid #ae7e0c;outline-offset:-4px}#album-heading{padding-top:20px;scroll-margin-top:20px}#album-title{font-size:28px;overflow-wrap:anywhere}#album-contributors{line-height:1.7;overflow-wrap:anywhere}#recent-section{border-top:1px solid #d7d4cb;margin-top:36px;padding-top:20px}#recent-gallery .mem-photo img{height:155px}#recent-gallery h3{font-size:17px}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.mem-album-card{transition:none}.mem-album-card:hover{transform:none}}

.photo-groups{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.photo-groups a{border:1px solid #c5b991;border-radius:24px;padding:10px 16px;background:#fffaf0;text-decoration:none;color:#594310;font-weight:600}.photo-groups a:hover,.photo-groups a:focus-visible{background:#f6d66d}.album-details{margin-top:15px}.mem-filters{grid-template-columns:minmax(220px,480px)}#album-description{max-width:65ch;color:#52606d}.mem-card>p.mem-credit{font-size:14px}
