#memoryList.memory-album-spread{display:flex;align-items:flex-start;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;direction:ltr;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
#memoryList:not(:has(.album-empty))::after{content:"";flex:0 0 calc(10% - 18px)}
#memoryList>.memory-album-page{flex:0 0 90%;scroll-snap-align:start;scroll-snap-stop:always;max-height:none;min-height:0;overflow:visible;border-radius:8px;margin-bottom:12px;background:var(--paper);border-color:var(--line)}
#memoryList>.memory-album-page:only-child{flex-basis:100%}
#memoryList>.memory-album-page .album-photo{height:min(42vh,380px);aspect-ratio:auto}
.memory-album-shell{grid-template-rows:auto minmax(0,1fr)}
#memoryList.memory-album-spread{grid-row:2}
.memory-album-shell>.album-turn{grid-row:1}
#memoryList:has(.album-empty){display:grid;min-height:260px;border:1px dashed var(--line);padding:24px}
#memoryList:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
@media(max-width:620px){#memoryList.memory-album-spread{gap:12px}#memoryList:not(:has(.album-empty))::after{flex-basis:calc(10% - 12px)}#memoryList>.memory-album-page{padding:16px}#memoryList>.memory-album-page .album-photo{aspect-ratio:4/3}}
