.adrag-memory-wall{--memory-purple:#542577;--memory-cream:#fbf8f2;background:var(--memory-cream);color:#2e2037}.adrag-memory-wall .wrap{max-width:1240px}.memory-hero{padding:38px 0 28px;background:var(--memory-cream)}.memory-back{display:inline-block;margin-bottom:24px;font-size:15px}.memory-hero .eyebrow{color:var(--memory-purple);margin-top:0}.memory-hero h1{font-family:Georgia,serif;font-size:clamp(44px,6vw,76px);font-weight:500;margin-top:14px}.memory-lead{font-size:clamp(21px,2.6vw,29px);line-height:1.45}.memory-beneficiaries{font-size:16px;color:#5e5064}.memory-invitation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px 26px;padding:24px 28px;margin-top:30px;background:#fff3d5;border:2px solid #dfc27d;border-radius:12px}.memory-invitation h2{font-size:24px;letter-spacing:-.02em;line-height:1.25}.memory-invitation p{margin-top:8px}.adrag-memory-wall a.button{background:var(--memory-purple);color:#fff;border:2px solid var(--memory-purple);min-height:54px;font-weight:700;text-align:center;white-space:normal}.adrag-memory-wall a.button:hover{background:#38154d;border-color:#38154d}.memory-add-button{flex-shrink:0}.memory-gallery-section{padding:32px 0 64px}.memory-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.memory-gallery-heading h2{font-family:Georgia,serif;font-size:clamp(30px,3.3vw,42px);font-weight:500}.memory-gallery-heading .eyebrow{font-size:12px;color:var(--memory-purple);margin-bottom:12px}.memory-voting-status{font-weight:700;color:var(--memory-purple);max-width:350px;margin:0}.memory-voting-status span{display:block;font-weight:400;font-size:15px;margin-top:6px;color:#5e5064}.memory-top-ten{max-width:760px}.memory-tools{display:flex;align-items:end;gap:24px;margin:28px 0}.memory-tools label{display:block;font-weight:700;max-width:700px;flex:1}.memory-tools input{display:block;margin-top:8px;min-height:52px}.memory-tools>p{white-space:nowrap;color:#5e5064;font-size:15px;margin-bottom:10px}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.memory-card{border:1px solid #ded4e5;border-radius:12px;overflow:hidden;background:white;box-shadow:0 3px 12px #2e203708;min-width:0}.memory-art{display:block;width:100%;height:220px;object-fit:cover}.memory-art-placeholder{display:grid;place-items:center;background:#e4d8eb;color:var(--memory-purple);font-size:70px}.memory-card-body{padding:24px;overflow-wrap:anywhere}.memory-card h3{font-family:Georgia,serif;font-size:28px;line-height:1.17;letter-spacing:-.02em}.memory-author,.memory-artist{font-size:14px;color:#6a596f;margin-top:12px}.memory-artist{margin-top:4px}.memory-excerpt{font-size:16px;line-height:1.7}.memory-story{margin-top:20px}.memory-story summary{font-weight:700;text-decoration:underline;color:var(--memory-purple);cursor:pointer;min-height:44px;padding:8px 0}.memory-story-text{white-space:pre-line;margin-top:12px;font-size:16px;line-height:1.8}.memory-card:has(details[open]) .memory-excerpt{display:none}.memory-listen{display:inline-block;margin-top:12px;min-height:44px;padding:7px 0;font-weight:700;color:var(--memory-purple)}.memory-vote{border-top:1px solid #eee6f1;margin-top:24px;padding-top:18px}.memory-total{margin-top:0;font-size:15px}.memory-total strong{font-size:30px;color:var(--memory-purple);margin-right:5px}.memory-vote-button{display:block;margin-top:16px}.memory-vote-help{font-size:13px;text-align:center;margin-top:10px;color:#6a596f}.memory-pending{background:#f0eaf3;padding:12px;border-radius:6px}.memory-payment-note{font-size:14px;color:#6a596f;text-align:center}.memory-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#memory-feed-notice:not([hidden]),#memory-empty:not([hidden]){padding:20px;background:#fff3d5;border:1px solid #dfc27d;border-radius:8px;margin:24px 0}.memory-grid [hidden]{display:none!important}@media(max-width:1000px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-gallery-heading{align-items:start;flex-direction:column}.memory-voting-status{max-width:none}}@media(max-width:640px){.memory-grid{grid-template-columns:1fr}.memory-invitation{padding:20px}.memory-add-button{width:100%}.memory-tools{display:block}.memory-tools>p{margin-top:12px}.memory-hero{padding-top:24px}.memory-gallery-section{padding-top:20px}.memory-card-body{padding:22px}.memory-invitation h2{font-size:22px}}

.memory-awareness{max-width:900px;font-size:18px;line-height:1.7}.memory-awareness strong{color:var(--memory-purple)}.memory-recognition{margin:28px 0;padding:24px 28px;background:#fff;border-left:5px solid var(--memory-purple);border-radius:0 10px 10px 0}.memory-recognition .eyebrow{color:var(--memory-purple);font-size:12px;margin-bottom:12px}.memory-recognition h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.02em}.memory-recognition p:last-child{max-width:980px}@media(max-width:640px){.memory-recognition{padding:20px}.memory-awareness{font-size:17px}}

/* Cards use matching text slots and aligned action areas; full content is in dialogs. */
.memory-grid{align-items:stretch;grid-auto-rows:1fr}.memory-card{display:flex;flex-direction:column;height:100%}.memory-card-body{display:flex;flex-direction:column;flex:1}.memory-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:3.51em;min-height:3.51em}.memory-author{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45;height:2.9em;min-height:2.9em}.memory-artist{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.45;min-height:1.45em;height:1.45em}.memory-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;height:6.8em;min-height:6.8em}.memory-card-actions{display:grid;grid-template-rows:44px 44px;margin:18px 0 22px;align-items:center}.memory-read,.memory-card-actions .memory-listen{display:block;padding:8px 0;margin:0;min-height:44px;border:0;background:none;text-align:left;color:var(--memory-purple);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.memory-vote{margin-top:auto}.memory-total{min-height:50px}.memory-pending{min-height:54px;display:flex;align-items:center;justify-content:center;line-height:1.4;margin-top:16px}.memory-listen-placeholder{height:44px}
.memory-dialog{position:fixed;inset:0;width:min(860px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d7c9df;border-radius:16px;background:#fff;color:#2e2037;box-shadow:0 24px 80px #0005;overflow:auto}.memory-dialog::backdrop{background:#171020b8;backdrop-filter:blur(3px)}.memory-dialog-header{position:sticky;top:0;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 26px;background:#fbf8f2;border-bottom:1px solid #e6dfea}.memory-dialog-header .eyebrow{margin:0 0 8px;color:#542577;font-size:12px}.memory-dialog h2{font-family:Georgia,serif;font-size:clamp(25px,3vw,36px);line-height:1.2;letter-spacing:-.02em;overflow-wrap:anywhere}.memory-close{flex-shrink:0;min-height:44px;padding:9px 14px;border:1px solid #542577;border-radius:6px;background:white;color:#542577;font:inherit;font-size:15px;font-weight:700;cursor:pointer}.memory-close:hover{background:#eee4f4}.memory-dialog :focus-visible{outline:3px solid #368cc8;outline-offset:3px}.memory-full-image{width:100%;max-height:420px;object-fit:contain;background:#f0eaf3}.memory-full-copy{padding:26px 32px}.memory-full-author{margin:0;font-weight:700}.memory-full-artist{margin-top:6px;color:#6a596f}.memory-full-story{white-space:pre-line;line-height:1.85;font-size:18px;margin-top:22px;overflow-wrap:anywhere}.memory-full-copy .memory-vote{margin-top:28px;padding-top:22px}.memory-full-copy .memory-listen{margin-top:12px}.memory-video-dialog{width:min(1000px,calc(100vw - 32px));background:#fbf8f2}.memory-video-dialog h2{font-family:Arial,sans-serif;font-size:24px}.memory-video-frame{position:relative;aspect-ratio:16/9;background:#111}.memory-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.memory-video-fallback{margin:0;padding:18px 24px;font-size:15px}.memory-video-fallback a{color:#542577;font-weight:700}@media(max-width:640px){.memory-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:12px}.memory-dialog-header{padding:18px 16px;gap:12px}.memory-dialog-header h2{font-size:25px}.memory-close{padding:8px 10px;font-size:14px}.memory-full-copy{padding:22px 20px}.memory-full-story{font-size:17px}.memory-video-dialog .memory-dialog-header{align-items:center}.memory-video-dialog h2{font-size:20px}.memory-card h3{font-size:27px}}
