.memories-page{max-width:1160px;margin:auto;padding:24px}.memory-nav{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.memory-grid,.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;margin:24px 0}.memory-photo{padding:12px;background:#fff;border:1px solid #e8e0e4;border-radius:12px}.memory-photo img{width:100%;height:210px;object-fit:contain;border-radius:0}.memory-photo form{margin-top:12px}.book-photo{max-width:100%;width:280px;max-height:220px;object-fit:contain;border-radius:0}.book-message{white-space:pre-wrap;overflow-wrap:anywhere}.memory-tools{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.new-photo-badge{display:inline-block;padding:4px 8px;border-radius:6px;background:#ac2059;color:#fff;font-size:12px}.memory-grid button{width:100%}@media(max-width:480px){.memories-page{padding:16px}.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memory-photo img{height:150px}.memory-photo{padding:6px}.memory-photo button{font-size:12px;padding:10px 6px}.memory-nav .button{flex:1 1 40%;text-align:center}.book-grid{grid-template-columns:1fr}}

.memory-best-preview{margin:24px 0}.memory-best-preview img{width:100%;height:190px;object-fit:contain;border-radius:0;background:#fafafa}

.memory-downloads{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.memory-downloads .card{margin:0;display:flex;flex-direction:column}.memory-downloads .button{margin-top:auto;align-self:start}.expiry-notice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:20px;border:1px solid #ead9df;background:#fff8fa;border-radius:14px;margin:20px 0}.expiry-notice p{margin:0}

.memory-back{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.memory-back .button{font-size:13px;padding:9px 14px}
.simple-download-list{display:flex;flex-direction:column;gap:0;margin:24px 0}
.simple-download-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #e7dfe3;margin:0}
.simple-download-row h3{font-size:18px;margin:0 0 6px}.simple-download-row p{margin:0;color:#655660;font-size:14px}.simple-download-row button{min-height:46px;flex-shrink:0}
@media(max-width:600px){.simple-download-row{align-items:stretch;flex-direction:column;gap:12px}.simple-download-row button{width:100%}}
