.tz-memory-media{margin:12px 0}.memory-grid,.memory-attachments{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tz-memory-media img,.memory-attachments img{object-fit:contain;background:#291d21;border-radius:8px;width:100%;display:block}.memory-grid img,.memory-attachments img{height:clamp(105px,22vw,240px)}.memory-single img{height:auto;max-height:520px}.memory-attachments button{color:#541a2a;min-height:44px;font:inherit;cursor:pointer;background:#fff9ee;border:1px solid #cbb8a3;border-radius:8px;padding:6px 14px}.memory-attachments{margin:10px 0}.memory-attachments>div{min-width:0}.ms-lightbox{color:#fff3df;background:#261820;border:0;border-radius:10px;width:max-content;max-width:min(94vw,1060px);max-height:96dvh;padding:0}.ms-lightbox::backdrop{background:#1f151def}.ms-lightbox-panel{min-width:min(75vw,440px);padding:10px 14px}.ms-lightbox header,.ms-lightbox nav{justify-content:space-between;align-items:center;gap:10px;display:flex}.ms-lightbox button,.ms-lightbox a{min-height:44px;font:inherit;color:#fff7e8;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:4px 12px;display:inline-flex}.ms-lightbox button:disabled{opacity:.4;cursor:default}.tz-memory-media .ms-lightbox img{object-fit:contain;touch-action:pan-y;border-radius:0;width:auto;max-width:100%;height:auto;max-height:70dvh;margin:auto}
