.memorial-nav{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:26px 0}.memorial-nav a{padding:11px 22px;border-radius:99px;background:#fffaf4;border:1px solid #e4d6c5;color:#6d202e;font-size:.86rem;font-weight:650}.memorial-nav a:hover{background:#6d202e;color:white;text-decoration:none}.memorial-section{margin:22px 0;border:1px solid #e5d8ca;background:#fffdfa;border-radius:20px;overflow:hidden;scroll-margin-top:22px}.memorial-section>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:26px 30px;cursor:pointer;list-style:none}.memorial-section>summary::-webkit-details-marker,.story-chapter>summary::-webkit-details-marker{display:none}.memorial-section>summary strong{display:block;font:1.8rem Georgia,serif;color:#562333}.memorial-section>summary small{display:block;color:#8b7676;font:.84rem/1.5 system-ui;margin-top:7px}.fold-icon{display:grid;place-items:center;min-width:33px;height:33px;border:1px solid #d6bfa3;border-radius:50%;color:#80552f;font:1.5rem Georgia,serif;transition:transform .2s}.memorial-section[open]>.fold-icon,.memorial-section[open]>summary>.fold-icon{transform:rotate(45deg)}.memorial-section[open]>summary{border-bottom:1px solid #eee5da}.fold-body{padding:28px}.fold-body>.panel{padding:0;border:0;box-shadow:none;background:none}.memorial-biography{white-space:pre-wrap;max-width:760px;margin:0 0 26px;color:#6e5e60;line-height:1.9}.sample-label{padding:13px 18px;background:#f2e8d9;border-left:3px solid #b28b4e;font-size:.8rem;color:#71584a;border-radius:5px}.story-path{display:grid;gap:22px}.story-chapter{border-radius:18px;overflow:hidden;background:#f8f2e9;border:1px solid #eadccc}.story-scene{position:relative;isolation:isolate;display:flex;align-items:end;min-height:200px;padding:28px;cursor:pointer;color:white;list-style:none;background:linear-gradient(120deg,#4d2431,#836547);overflow:hidden;transition:min-height .25s}.story-chapter[open]>.story-scene{min-height:430px}.story-scene>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%;z-index:-2}.story-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(29,13,20,.84),rgba(29,13,20,.02) 85%);z-index:-1}.story-summary{display:block;width:100%;max-width:800px}.story-summary>strong{display:block;font:clamp(1.8rem,4vw,3.2rem)/1.1 Georgia,serif;max-width:680px;color:#fff}.story-date{display:block;text-transform:uppercase;letter-spacing:.16em;font:.7rem/1.5 system-ui;color:#f0d8b1;margin-bottom:10px}.chapter-toggle{display:flex;align-items:center;gap:12px;margin-top:17px;font:.74rem system-ui;color:#f7e6cf}.chapter-toggle>span{font-size:1.4rem}.story-chapter[open] .chapter-toggle>span{transform:rotate(45deg)}.story-chapter-body{padding:24px 30px}.story-chapter-body>p{white-space:pre-wrap;line-height:1.9;color:#5c444a;margin:0 0 16px;max-width:820px}.story-chapter-body small{color:#967f70;font-size:.7rem}.story-video iframe,.story-video video{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#211a1b;margin:18px 0}.story-empty{color:#8b7676;padding:20px 0}.memory-browser{display:block}.memory-filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.memory-filters button{padding:8px 14px;background:#f2e9df;color:#6d202e;border:1px solid #e3d2c0;border-radius:99px;font-size:.78rem}.memory-filters button[aria-pressed=true]{background:#6d202e;color:white;border-color:#6d202e}.memory-viewer{margin-bottom:22px}.memory-stage{height:auto;min-height:200px;max-height:none;aspect-ratio:16/9;border-radius:15px;background:#251d20;overflow:hidden;display:grid;place-items:center}.memory-stage>img{width:100%;height:100%;object-fit:contain;max-height:520px}.memory-stage>iframe,.memory-stage>video{width:100%;height:100%;border:0}.memory-stage>audio{width:90%}.memory-stage>p{color:white;padding:25px}.memory-caption{font-size:.85rem;overflow-wrap:anywhere;margin-bottom:5px}.memory-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:14px;max-height:420px;overflow:auto;padding:3px}.memory-thumbs>div{min-width:0}.memory-tile{width:100%;height:auto;background:#f4ece2;color:#5c3d46;border:2px solid transparent;padding:0;border-radius:11px;overflow:hidden;display:block;text-align:left}.memory-tile[aria-pressed=true]{border-color:#9b7139}.memory-tile>img{height:95px;width:100%;object-fit:cover;display:block}.memory-tile>span:last-child{display:block;font:.7rem/1.5 system-ui;padding:8px;max-height:57px;overflow:hidden;overflow-wrap:anywhere}.memory-type{display:grid;place-items:center;height:95px;color:#8e6262;font:1rem Georgia,serif;background:linear-gradient(140deg,#ecdcc7,#f8eee2)}.portrait-pick{width:100%;margin:6px 0 0;font-size:.64rem;padding:7px;background:#eee2d3;color:#704452;border:1px solid #e4d3bf}.album-extra{margin-top:20px;padding-top:15px;border-top:1px solid #e9ddcf;font-size:.8rem}.album-extra>summary{cursor:pointer;color:#8b705f}.album-extra iframe{margin-top:16px}.family-hero{position:relative;isolation:isolate;overflow:hidden}.hero-story-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.27;z-index:-1}.family-manage{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;margin:32px 0;color:#9b8786;font-size:.75rem}.editor-heading{display:flex;justify-content:space-between;gap:25px;align-items:start;margin-top:15px}.editor-heading h1{font-size:clamp(2rem,4vw,3rem);margin:10px 0}.editor-heading p{color:#8b7676}.editor-sub,.story-editor{border:1px solid #e6d9c9;border-radius:12px;margin:18px 0;background:#fffaf4;overflow:hidden}.editor-sub>summary,.story-editor>summary{padding:17px 20px;cursor:pointer;color:#704451;font-weight:600}.editor-sub>form,.editor-sub>.tablewrap,.editor-sub>p,.editor-sub>button,.editor-sub>[data-migrate]{margin:18px 20px}.chapter-fields{padding:20px;border-top:1px solid #e9ddcd}.chapter-fields label{display:block;margin-bottom:15px}.chapter-fields textarea{min-height:120px}.chapter-media{display:grid;grid-template-columns:1fr 1fr;gap:15px}.sample-check{display:flex;align-items:start;gap:10px;padding:13px;background:#f5ede0;border-radius:9px;font-size:.78rem}.sample-check>input{width:auto;margin-top:4px}.portrait-setting{display:flex;justify-content:space-between;gap:20px;margin-bottom:25px}.portrait-setting img{width:90px;height:90px;border-radius:50%;object-fit:cover}.portrait-setting p{font-size:.8rem;max-width:520px;color:#8b7676}.portrait-setting button{font-size:.7rem;padding:8px}.direct-progress{display:block;margin-top:12px;color:#6d202e;font-weight:600}summary:focus-visible,.memory-filters button:focus-visible,.memory-tile:focus-visible{outline:3px solid #b28b4e;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:640px){.fold-body{padding:16px}.memorial-section{border-radius:14px;margin:16px 0}.memorial-section>summary{padding:20px 17px}.memorial-section>summary strong{font-size:1.4rem}.memorial-section>summary small{font-size:.74rem}.memorial-nav{gap:7px}.memorial-nav a{padding:9px 16px;font-size:.78rem}.story-scene{min-height:180px;padding:22px}.story-chapter[open]>.story-scene{min-height:330px}.story-chapter-body{padding:20px}.story-summary>strong{font-size:1.9rem}.story-chapter-body>p{font-size:.93rem}.chapter-media{grid-template-columns:1fr}.editor-heading{display:block}.editor-heading h1{font-size:2rem}.memory-thumbs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.memory-tile>img,.memory-type{height:75px}.memory-tile>span:last-child{font-size:.63rem;padding:5px}.memory-stage{min-height:175px;aspect-ratio:4/3}.memory-filters{gap:6px}.memory-filters button{font-size:.72rem;padding:7px 10px}.portrait-setting{display:block}.portrait-setting>div:last-child{margin-top:15px}.story-chapter{border-radius:12px}}
