html body.site.site.site.site[data-public-page=memorial] #main .mgd-detail{--mgd-gold:var(--memorial-gold,#e8c591);color:var(--modern-text)}
.mgd-breadcrumb{display:flex;gap:12px;font-size:11px;color:var(--modern-muted);margin:0 0 18px}.mgd-breadcrumb a{color:inherit}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:38px;padding:38px;min-height:330px;border:1px solid var(--memorial-border);border-radius:12px 12px 0 0;background:linear-gradient(90deg,#10141bf0,#10141b99 55%,#10141b22),url('/assets/memorial-signature-hero-20261021.webp') center/cover;color:#fff}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-portrait :is(.memorial-portrait,.memorial-symbol){display:block;width:200px;height:220px;max-width:100%;object-fit:cover;border:1px solid #e8c591;border-radius:50%;padding:5px;margin:0;filter:grayscale(1)}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-portrait .memorial-symbol{object-fit:contain;border:0;border-radius:0}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-identity h1{font:500 clamp(34px,4.2vw,60px)/1.12 Georgia,serif!important;letter-spacing:-1.5px!important;color:#fff!important;margin:14px 0}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-identity .mgd-dates{color:#eee!important;font:400 13px/1.8 'Segoe UI',Arial,sans-serif;margin:12px 0}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-identity blockquote{font:italic 26px/1.5 Georgia,serif!important;color:#f2e3c9;border:0;padding:0;margin:14px 0 22px;max-width:800px}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-eyebrow{font:650 10px/1.5 'Segoe UI',Arial,sans-serif!important;color:var(--mgd-gold)!important;letter-spacing:.12em}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-hero .mgd-eyebrow{color:#e8c591!important}
.mgd-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-hero .button.secondary{color:#fff!important;background:#10141b55!important;border-color:#e8c59199!important}
.mgd-illustration{position:absolute;bottom:8px;right:10px;font-size:8px;color:#fff!important;background:#10141b88;padding:3px 6px;border-radius:3px}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);gap:22px;margin-top:22px;align-items:start}
.mgd-main,.mgd-aside{min-width:0}.mgd-main>section,.mgd-aside>section{margin:0 0 20px}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-panel,html body.site.site.site.site[data-public-page=memorial] #main .mgd-detail .memorial-condolences{background:var(--modern-panel);border:1px solid var(--modern-line);border-radius:10px;padding:25px;margin-top:0}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-detail :is(.mgd-panel,.memorial-condolences) h2{font:500 clamp(23px,2.1vw,31px)/1.25 Georgia,serif!important;margin:10px 0 18px;color:var(--modern-text)!important;letter-spacing:-.4px}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-detail .memorial-text{max-width:none;text-align:left;font:400 17px/1.9 'Segoe UI',Arial,sans-serif!important;color:var(--modern-text)!important}
html body.site.site.site.site[data-public-page=memorial] #main .mgd-detail .memorial-signature{text-align:left;font:italic 18px/1.8 Georgia,serif!important;color:var(--modern-muted)!important}
.mgd-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mgd-gallery figure{margin:0;min-width:0}.mgd-gallery a{display:block}.mgd-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:7px;border:1px solid var(--modern-line)}.mgd-gallery figcaption{font-size:10px;line-height:1.6;margin-top:7px;overflow-wrap:anywhere}
.mgd-lights{text-align:center}.mgd-candle-scene{height:225px;position:relative;display:flex;align-items:flex-end;justify-content:center;padding-bottom:15px;overflow:hidden;background:radial-gradient(ellipse at 50% 55%,#b9803425,transparent 66%),linear-gradient(#111a23,#1b2330);border-radius:8px;border:1px solid var(--memorial-border)}
.mgd-candle{--candle-width:78px;position:relative;width:var(--candle-width);height:155px;display:inline-block;flex:0 0 auto;filter:drop-shadow(0 0 14px #e7ab5433)}
.mgd-wax{position:absolute;left:0;right:0;bottom:0;height:110px;border-radius:8px 8px 12px 12px;background:linear-gradient(90deg,#ad8b58,#fff0c6 35%,#e6c18a 75%,#b89b68);box-shadow:inset 0 0 0 1px #f9e0ad99,0 8px 12px #0003}
.mgd-wax:before{content:'';position:absolute;left:0;right:0;top:-5px;height:15px;border-radius:50%;background:radial-gradient(ellipse,#b58b45,#efcf8c 35%,#fff1c6 70%);border:1px solid #fff5c9}
.mgd-wick{position:absolute;bottom:104px;left:calc(50% - 1px);height:15px;width:3px;background:#422b1d;z-index:2}
.mgd-flame{position:absolute;z-index:3;bottom:118px;left:calc(50% - 11px);width:22px;height:39px;border-radius:65% 35% 55% 45%;background:linear-gradient(#fff9ce,#ffd35c 65%,#f6a135);box-shadow:0 0 12px #ffce69b3,0 0 35px #ffb95166;transform-origin:50% 100%;animation:mgd-flicker 2.3s ease-in-out infinite alternate}
.mgd-flame>span{position:absolute;bottom:3px;left:7px;width:9px;height:20px;background:#fffbe9;border-radius:60% 40% 50% 50%}
.mgd-halo{position:absolute;left:-50px;bottom:84px;width:178px;height:130px;border-radius:50%;background:radial-gradient(ellipse,#ffb94c33,transparent 65%);animation:mgd-glow 3s ease-in-out infinite alternate}
.mgd-candle-row{display:flex;justify-content:center;gap:12px;min-height:53px;align-items:flex-end;padding-top:14px}.mgd-candle-small{--candle-width:14px;width:14px;height:38px;filter:drop-shadow(0 0 4px #ffce6955)}.mgd-candle-small .mgd-wax{height:23px;border-radius:2px}.mgd-candle-small .mgd-wax:before{height:3px;top:-1px}.mgd-candle-small .mgd-wick{bottom:22px;height:4px;width:1px;left:50%}.mgd-candle-small .mgd-flame{width:5px;height:10px;bottom:25px;left:5px;box-shadow:0 0 5px #ffce69}.mgd-candle-small .mgd-flame>span{display:none}.mgd-candle-small .mgd-halo{display:none}.mgd-candle-row .mgd-candle:nth-child(even) .mgd-flame{animation-delay:-1.1s}
.mgd-new-light{animation:mgd-appear .7s ease-out}.mgd-count{font-size:12px;margin:12px 0}.mgd-lights form .button{width:100%}.mgd-motion{border:0;background:none;color:var(--modern-muted);font:400 11px 'Segoe UI',Arial,sans-serif;text-decoration:underline;padding:10px;min-height:36px}.mgd-motion-paused :is(.mgd-flame,.mgd-halo){animation:none!important}
.mgd-detail [data-mgd-candle-status]{font-size:12px;color:var(--mgd-gold);min-height:1em}.mgd-detail button:disabled{opacity:.65;cursor:default}
.mgd-share>p,.mgd-share label{font-size:12px}.mgd-share input{font-size:12px!important;width:100%;margin:8px 0 12px}.mgd-share-actions{display:flex;gap:8px;flex-wrap:wrap}.mgd-qr{margin:22px auto 12px;width:min(100%,210px);background:#fff;border:10px solid #fff;box-sizing:border-box;border-radius:5px}.mgd-qr:empty{display:none}.mgd-qr svg{display:block;width:100%;height:auto}.mgd-qr-downloads{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.mgd-qr-downloads button{min-height:38px;padding:8px 10px;border-radius:5px;border:1px solid var(--modern-line);background:var(--modern-raised);color:var(--modern-text);font-size:11px}.mgd-correction{font-size:11px;padding:4px}.mgd-correction a{color:var(--modern-muted)}
.mgd-image-dialog{max-width:min(1000px,94vw);max-height:92vh;padding:18px;border:1px solid var(--modern-line);border-radius:10px;background:var(--modern-panel);color:var(--modern-text)}.mgd-image-dialog::backdrop{background:#000c}.mgd-image-dialog>div{display:flex;justify-content:space-between;align-items:center;gap:20px}.mgd-image-dialog h2{font-size:18px}.mgd-image-dialog button{background:none;color:var(--modern-text);border:1px solid var(--modern-line);border-radius:5px;width:44px;height:44px;font-size:26px}.mgd-image-dialog>img{display:block;max-width:100%;max-height:68vh;width:auto;height:auto;margin:auto}.mgd-image-dialog>p{font-size:12px}
.mgd-mobile-actions{display:none}.mgd-editor-image{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--modern-line);padding:16px 0}.mgd-editor-image img{object-fit:cover;border-radius:6px}
@keyframes mgd-flicker{0%{transform:rotate(-3deg) scale(.96,1)}40%{transform:rotate(2deg) scale(1.03,.95)}100%{transform:rotate(-1deg) scale(.97,1.05)}}@keyframes mgd-glow{from{opacity:.6}to{opacity:1}}@keyframes mgd-appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){html body.site.site.site.site[data-public-page=memorial] #main .mgd-layout{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:16px}.mgd-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html body.site.site.site.site[data-public-page=memorial] #main .mgd-hero{display:flex;flex-direction:column;gap:18px;text-align:center;padding:28px 20px;min-height:0;background-position:65% center}html body.site.site.site.site[data-public-page=memorial] #main .mgd-portrait :is(.memorial-portrait,.memorial-symbol){width:145px;height:155px}html body.site.site.site.site[data-public-page=memorial] #main .mgd-identity h1{font-size:36px!important;overflow-wrap:anywhere}html body.site.site.site.site[data-public-page=memorial] #main .mgd-identity blockquote{font-size:21px!important}.mgd-hero-actions{flex-direction:column}.mgd-hero-actions .button{width:100%}html body.site.site.site.site[data-public-page=memorial] #main .mgd-layout{grid-template-columns:minmax(0,1fr);gap:0}html body.site.site.site.site[data-public-page=memorial] #main .mgd-panel,html body.site.site.site.site[data-public-page=memorial] #main .mgd-detail .memorial-condolences{padding:20px}html body.site.site.site.site[data-public-page=memorial] #main .mgd-detail .memorial-text{font-size:16px!important}.mgd-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.mgd-has-mobile .mgd-mobile-actions:not([hidden]){display:flex;position:fixed;z-index:100;bottom:0;left:0;right:0;gap:12px;align-items:center;background:var(--modern-panel);border-top:1px solid var(--modern-line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-sizing:border-box}.mgd-mobile-actions>.button{flex:1}.mgd-mobile-actions>a:last-child{font-size:12px;color:var(--modern-text);padding:10px}.mgd-has-mobile{padding-bottom:60px}body:has(.mgd-has-mobile) :is(.mobile-dock,.ma-bottom-nav){display:none!important}body:has(.mgd-image-dialog[open]) .mgd-mobile-actions,body:has(.mgd-detail textarea:focus) .mgd-mobile-actions{display:none!important}body:has(.mgd-has-mobile) .reader-chat-launcher{bottom:90px!important}}
@media(prefers-reduced-motion:reduce){.mgd-detail :is(.mgd-flame,.mgd-halo,.mgd-new-light){animation:none!important}.mgd-detail *{scroll-behavior:auto!important}}
