.memory-page{max-width:820px;padding-top:28px;padding-bottom:100px}.memory-back{color:#805b68;align-items:center;gap:6px;margin-bottom:24px;text-decoration:none;display:inline-flex}.memory-heading{align-items:center;gap:15px;margin-bottom:28px;display:flex}.memory-heading h1{color:#433138;margin:0;font-size:clamp(1.8rem,5vw,2.45rem)}.memory-heading p{color:#806f73;margin:5px 0 0;line-height:1.5}.memory-icon{color:#af4162;background:#ffe6e8;border-radius:18px;flex:0 0 53px;place-items:center;height:53px;display:grid}.memory-example-link{color:#a4385c;text-underline-offset:3px;margin:-8px 0 24px;font-weight:700;display:inline-block}.memory-import-link{color:#8a3755;background:#fff;border:1px solid #dcc5cf;border-radius:16px;align-items:center;gap:14px;margin-bottom:22px;padding:20px;text-decoration:none;display:flex}.memory-import-link>svg{flex-shrink:0}.memory-import-link>span:first-of-type{flex:1;min-width:0}.memory-import-link strong{color:#49323e;display:block}.memory-import-link small{color:#74616c;margin-top:5px;line-height:1.6;display:block}.memory-import-link:focus-visible{outline-offset:3px;outline:3px solid #8a3755}.memory-card{background:#fff;border:1px solid #ebdfe1;border-radius:22px;margin-bottom:16px;padding:clamp(18px,4vw,27px);box-shadow:0 8px 26px #5b283d0d}.memory-card h2{color:#48343d;margin:0 0 8px;font-size:1.18rem}.memory-card>p{color:#74666b;word-break:keep-all;margin:0 0 16px;line-height:1.6}.memory-file-button,.memory-primary{color:#fff;min-height:48px;font:inherit;cursor:pointer;background:#b4335d;border:0;border-radius:14px;justify-content:center;align-items:center;gap:9px;padding:10px 18px;font-weight:700;text-decoration:none;display:inline-flex}.memory-file-button{position:relative}.memory-file-button input{opacity:0;width:1px;height:1px;position:absolute}.memory-primary:disabled{opacity:.5;cursor:not-allowed}.memory-file-button:focus-within{outline-offset:3px;outline:3px solid #70233e}.memory-primary:focus-visible{outline-offset:3px;outline:3px solid #70233e}.memory-actions button:focus-visible{outline-offset:3px;outline:3px solid #70233e}.memory-preview button:focus-visible{outline-offset:3px;outline:3px solid #70233e}.memory-exact-button:focus-visible{outline-offset:3px;outline:3px solid #70233e}.memory-card textarea,.memory-search-label input{color:#493b41;width:100%;font:inherit;background:#fff;border:1px solid #d9c9ce;border-radius:13px;padding:13px 15px}.memory-card textarea:focus,.memory-search-label input:focus{outline-offset:2px;outline:2px solid #b4335d}.memory-hint{align-items:center;gap:6px;font-size:.9rem;line-height:1.5;display:flex;color:#8b777e!important;margin:14px 0 0!important}.memory-preview{border-top:1px solid #efe4e7;margin-top:22px;padding-top:18px}.memory-preview-title,.memory-save-row,.memory-item-top,.memory-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.memory-preview-title button,.memory-actions button,.memory-exact-button{color:#79334b;font:inherit;cursor:pointer;background:#fff8fa;border:1px solid #e5d5db;border-radius:11px;padding:8px 11px;font-size:.87rem}.memory-search-label{color:#66545c;gap:7px;margin-top:18px;font-weight:600;display:grid}.memory-messages{border:1px solid #eee4e7;border-radius:15px;max-height:330px;margin-top:12px;overflow-y:auto}.memory-message{cursor:pointer;border-bottom:1px solid #f0e9ec;align-items:flex-start;gap:10px;padding:11px 13px;display:flex}.memory-message:last-child{border-bottom:0}.memory-message:has(input:checked){background:#fff1f5}.memory-message>span{gap:4px;min-width:0;display:grid}.memory-message small{color:#8d7980;font-weight:400}.memory-message span span{white-space:pre-wrap;overflow-wrap:anywhere}.memory-preview-pages{color:#806f73;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:11px;font-size:.87rem;display:flex}.memory-preview-pages>div{gap:8px;display:flex}.memory-preview-pages button{color:#79334b;font:inherit;cursor:pointer;background:#fff8fa;border:1px solid #e5d5db;border-radius:11px;padding:8px 11px}.memory-preview-pages select{color:#79334b;font:inherit;background:#fff;border:1px solid #e5d5db;border-radius:11px;padding:8px 11px}.memory-preview-pages button:disabled{opacity:.45;cursor:not-allowed}.memory-save-row{margin-top:12px}.memory-save-row small{color:#8b777e}.memory-items{gap:12px;margin:0;padding:0;list-style:none;display:grid}.memory-items li{border:1px solid #ebdfe1;border-radius:15px;padding:16px}.memory-item-top{color:#91415b;font-size:.84rem;font-weight:700}.memory-item-top small{color:#8b7980;font-weight:400}.memory-items li>p{color:#4f3d45;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.memory-edit{gap:9px;margin-bottom:13px;display:grid}.memory-edit small{color:#8b777e}.memory-actions{flex-wrap:wrap;justify-content:flex-start}.memory-actions button{align-items:center;gap:5px;display:inline-flex}.memory-actions button:disabled{opacity:.5;cursor:not-allowed}.memory-empty{text-align:center;padding:20px 0}.memory-error,.memory-notice{border-radius:12px;margin:14px 0;padding:13px 15px;display:block}.memory-error{color:#8c2340;background:#ffe9ed}.memory-notice{color:#346044;background:#eaf6ee}.memory-footnote{color:#8b7a80;margin:22px 0;font-size:.82rem;line-height:1.6}.memory-story-header,.memory-story-themes,.memory-story-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.memory-story-header p{color:#74666b;margin:5px 0 0}.memory-story-header button,.memory-story-themes button,.memory-story-consent button,.memory-story-actions button{color:#79334b;font:inherit;cursor:pointer;background:#fff8fa;border:1px solid #e5d5db;border-radius:12px;padding:10px 14px;font-weight:650}:is(.memory-story-header button:focus-visible,.memory-story-themes button:focus-visible,.memory-story-consent button:focus-visible,.memory-story-actions button:focus-visible){outline-offset:3px;outline:3px solid #70233e}.memory-story-privacy{background:#fff4f6;border-radius:14px;padding:15px;color:#704b59!important;margin-top:18px!important}.memory-story-maker{justify-items:center;gap:15px;display:grid}.memory-story-themes{justify-content:center;width:100%}.memory-story-themes button[aria-pressed=true]{color:#fff;background:#b4335d;border-color:#b4335d}.memory-story-figure{width:min(100%,340px);margin:0}.memory-story-canvas{border-radius:17px;width:100%;height:auto;display:block;box-shadow:0 15px 42px #3a1d2d2e}.memory-story-figcaption{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.memory-story-actions{justify-content:center;width:100%}.memory-story-actions button{justify-content:center;align-items:center;gap:7px;min-height:46px;display:inline-flex}.memory-story-actions button:first-child{color:#fff;background:#b4335d;border-color:#b4335d}.memory-story-actions button:disabled,.memory-story-consent button:disabled{opacity:.5;cursor:not-allowed}.memory-story-consent{border-top:1px solid #efe4e7;justify-items:start;gap:12px;margin-top:22px;padding-top:18px;display:grid}.memory-story-consent p{color:#664d57;margin:0}.memory-story-consent label{color:#493b41;align-items:flex-start;gap:9px;line-height:1.6;display:flex}.memory-story-consent input{accent-color:#b4335d;margin-top:6px}@media (max-width:560px){.memory-story-actions button{flex:150px}.memory-save-row{flex-direction:column;align-items:stretch}.memory-save-row .memory-primary{width:100%}.memory-heading{align-items:flex-start}}
