#modal.memory-mode{width:min(860px,96vw)}.photo-preview{display:flex;gap:8px;overflow:auto;margin:18px 0}.photo-preview img{width:100px;height:100px;object-fit:cover;border-radius:12px}.photo-actions{display:flex;gap:10px}.photo-actions button{margin-top:0}.photo-actions .primary{flex:2}.photo-actions .secondary{flex:1}.photo-status{font-size:15px;color:#6c7d5d;margin:15px 0;min-height:26px}.photo-tools{display:flex;justify-content:space-between;gap:10px;margin-bottom:18px}.photo-tools button,.photo-meta button{background:#ecebdc;padding:9px 12px;border-radius:10px;font-size:14px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo-card{background:#fffdf7;padding:8px;border:1px solid #e4dfcb;box-shadow:0 4px 12px #5e67450b;border-radius:14px;overflow:hidden}.photo-picture{display:block;width:100%;padding:0;background:#eeeadc;border-radius:9px;overflow:hidden}.photo-picture img{display:block;width:100%;aspect-ratio:1;object-fit:cover;transition:transform .2s}.photo-picture:hover img{transform:scale(1.04)}.photo-meta{padding:10px 5px}.photo-meta small{font-size:12px;color:#85866f}.photo-meta p{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 10px}.photo-meta button{font-size:12px;padding:5px 9px}.photo-empty{grid-column:1/-1;text-align:center;padding:40px 10px;background:#f0eee1;border-radius:18px;color:#82866e;font-size:16px;line-height:2}.photo-viewer{width:min(980px,96vw);padding:18px;max-height:94vh;background:#fcf9ef}.photo-view-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px}.photo-view-head button{width:40px;height:40px;border-radius:50%;background:#eeeadd;font-size:25px}#pv-image{display:block;width:100%;height:60vh;object-fit:contain;background:#f0eddf;border-radius:12px}#pv-caption{margin:15px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px}.photo-view-actions{display:flex;justify-content:space-between;gap:8px}.photo-view-actions button{border-radius:12px;background:#e6ecd9;padding:10px 13px;font-size:15px}button:disabled{cursor:default;opacity:.5}#photo-root [hidden]{display:none!important}@media(max-width:600px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#modal.memory-mode{padding:18px}.photo-meta{padding:8px 2px}.photo-tools button{font-size:13px}.photo-view-actions button{font-size:13px;padding:10px}#pv-image{height:52vh}}
