:root{font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;color:#233347;background:#f6f5f1}*{box-sizing:border-box}body{margin:0}a{color:#265785;text-decoration:none}a:hover,a:focus,a:active,a:visited{text-decoration:none}.top{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#28466a;color:white;padding:.55rem max(1rem,calc((100vw - 1500px)/2));box-shadow:0 2px 10px #132a3d20}.top a{color:white}.top nav{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:.7rem;font:600 1.35rem Georgia,serif;white-space:nowrap}.brand img{width:50px;height:50px}.container{max-width:1500px;padding:1.2rem;margin:auto;min-height:75vh}.intro{text-align:center;padding:1.4rem 0 2rem}.intro h1,h1,h2{font-family:Georgia,serif;font-weight:500;line-height:1.2}h1{font-size:clamp(2rem,3.5vw,3.3rem);margin:.5rem 0}h2{font-size:1.6rem}.columns{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2.35fr) minmax(210px,1fr);gap:1.2rem;align-items:start}.columns aside,.mainfeed{min-width:0}.card{background:#fff;border:1px solid #e3e5e5;border-radius:16px;padding:1.25rem;margin-bottom:1rem;box-shadow:0 4px 16px #29405a0b;overflow-wrap:anywhere}.narrow{max-width:800px;margin:1rem auto}.profile{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2.4fr);gap:1.5rem}.profile aside{align-self:start}.byline{display:flex;gap:.7rem;align-items:center}.byline small{display:block;color:#647185}.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover}.placeholder{display:grid;place-items:center;background:#dbe6ed;color:#456484}.portrait{width:100%;max-width:300px;max-height:370px;object-fit:cover;border-radius:12px}.prose{white-space:normal;overflow-wrap:anywhere;line-height:1.75}.media img,.media video,.ad img,.ad video,.reply img,.reply video,.tribute video{max-width:100%;max-height:440px;border-radius:9px}.media audio,.reply audio{max-width:100%}.actions,.row{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.actions{border-top:1px solid #e8ecef;padding-top:.7rem}.actions form{margin:0}.actions button{background:#f4f7fb;color:#345477;border:1px solid #e6edf3;padding:.3rem .45rem}.actions button img{width:22px;height:22px;vertical-align:middle}.actions button:disabled{opacity:.55}.reply{border-top:1px solid #e6e9ed;padding:1rem 0}.reply small{color:#667}input,textarea,select{font:inherit;display:block;width:100%;border:1px solid #bcc8d3;border-radius:8px;padding:.65rem;background:white;color:#233347}textarea{resize:vertical;min-height:100px}label{display:block;margin:.8rem 0;font-weight:550}input[type=checkbox]{display:inline;width:auto}button,.button{background:#345d85;color:white;border:0;border-radius:8px;padding:.6rem 1rem;cursor:pointer;font:600 .95rem system-ui;display:inline-block}.secondary{background:#e5edf3;color:#294d70}.danger{background:#a43f44}.button:hover,button:hover{filter:brightness(.92);text-decoration:none}.flash{background:#e6f4eb;border:1px solid #9ac5a7;padding:.8rem;border-radius:9px;margin-bottom:1rem}.error{color:#a43f44}.badge{background:#fff0d5;border-radius:8px;padding:.15rem .5rem}.tribute-mini{display:grid;grid-template-columns:42px 1fr;column-gap:.6rem;padding:.7rem 0;border-bottom:1px solid #eee}.tribute-mini img,.tribute-mini span{grid-row:span 2;width:42px;height:42px;object-fit:cover;border-radius:50%}.tribute-mini small{color:#667}.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.tribute-tile img{width:100%;height:180px;object-fit:cover}.tribute{padding:2rem;text-align:center}.tribute .prose{text-align:left;margin:2rem 0}.garden{background:linear-gradient(#f5f8f2,#e8f2e7)}.sunset{background:linear-gradient(#fff3e4,#fbdfd6)}.ocean{background:linear-gradient(#eff8fa,#d9ecf1)}.sky{background:linear-gradient(#fff,#e8f2fc)}.ad{border-top:1px solid #eee;padding:.8rem 0}.tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.tabs a{padding:.4rem .7rem;border-radius:7px;background:#e7edf3}.tabs .active{background:#28466a;color:#fff}.notice{display:block}footer{max-width:1500px;margin:2rem auto;padding:2rem 1rem;border-top:1px solid #ddd;display:flex;gap:1.5rem;flex-wrap:wrap}footer small{margin-left:auto}.honeypot{position:absolute;left:-9999px}.row label{flex:1;min-width:180px}@media(max-width:1000px){.columns{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.columns aside:last-child{grid-column:1/-1}.profile{grid-template-columns:1fr 2fr}}@media(max-width:700px){.top{display:block}.top nav{margin-top:.5rem;gap:.7rem;font-size:.9rem}.columns,.profile{display:flex;flex-direction:column}.columns>* ,.profile>*{width:100%}.mainfeed{order:0}.columns aside:first-child{order:1}.columns aside:last-child{order:2}.container{padding:.8rem}.card{padding:1rem}.actions{gap:.35rem}.actions a{width:100%}}

/* Keep links free of underlines throughout the site. */
a,a:link,a:visited,a:hover,a:focus,a:active{text-decoration:none!important}
.editor{margin:1rem 0;padding:.8rem;border-top:1px solid #e5eaf0}.editor summary,.reacted-list summary{cursor:pointer;color:#285986;font-weight:600}.editor form{margin:.7rem 0}.reaction-panel{border-top:1px solid #e5eaf0;padding:.8rem 0}.reaction-totals{display:flex;gap:.8rem;flex-wrap:wrap}.reaction-totals span,.reacted-list p{display:inline-flex;align-items:center;gap:.3rem}.reaction-totals img,.reacted-list img{width:24px;height:24px}.reaction-form{display:flex;align-items:end;gap:.5rem;flex-wrap:wrap}.reaction-form label{min-width:200px;margin:.6rem 0}.reaction-form button{margin-bottom:.6rem}.reacted-list{margin:.6rem 0}.reacted-list p{display:flex;margin:.35rem 0}

/* Prayer wall: quiet, open space with compact controls. */
.mainfeed{max-width:100%}.mainfeed>h2{font-size:1.48rem;color:#36576b;margin:.25rem 0 1rem}.mainfeed .card,.profile section .card{border-color:#e9e6e1;box-shadow:0 10px 28px #344d5c0c}.prayer-composer{background:linear-gradient(145deg,#fffefa 0%,#fbfaf7 72%,#f6f6f5 100%);padding:1.55rem!important;border:1px solid #e8e3da!important;border-radius:20px!important;position:relative}.composer-heading{display:flex;align-items:flex-start;gap:.9rem;margin-bottom:1.05rem}.composer-heading h2{font-size:1.46rem;margin:.05rem 0 .25rem;color:#395668}.composer-heading p{color:#6d7481;margin:0;font-size:.95rem;line-height:1.5}.composer-mark{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:#e9f0ed;color:#6d9389;font-size:1.4rem}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.prayer-composer .composer-kind{max-width:275px;border:1px solid #e1e6e6;background:#f5f8f7;border-radius:999px;padding:.55rem .9rem;color:#406577;margin:0 0 .85rem;font-weight:600;font-size:.92rem}.prayer-composer textarea{min-height:140px;background:#fff;border:1px solid #dfe5e4;border-radius:14px;padding:1rem 1.1rem;line-height:1.7;font-size:1rem;box-shadow:inset 0 1px 2px #253e4a08}.prayer-composer textarea::placeholder{color:#8b9295}.prayer-composer textarea:focus,.prayer-composer input:focus,.prayer-composer select:focus{outline:2px solid #9cbfb9;outline-offset:2px;border-color:#83aaa3}.composer-options{margin:.8rem 0;color:#526e76}.composer-options summary,.reaction-chooser summary,.reacted-list summary{cursor:pointer;font-size:.88rem;font-weight:600;list-style:none}.composer-options summary::-webkit-details-marker,.reaction-chooser summary::-webkit-details-marker,.reacted-list summary::-webkit-details-marker{display:none}.composer-options summary::before{content:'＋';margin-right:.4rem;color:#789d94}.composer-options[open] summary::before{content:'−'}.composer-option-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem;padding:.6rem 0}.composer-option-fields label:last-child{grid-column:1/-1}.composer-option-fields label{font-size:.84rem;color:#53646d}.composer-option-fields input,.composer-option-fields select{font-size:.9rem;background:#fff}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}.composer-bottom span{font-size:.85rem;color:#8a8f8d}.composer-bottom button{background:#537b76;border-radius:999px;padding:.68rem 1.25rem}.post{padding:1.25rem 1.4rem!important;border-radius:18px!important;background:#fff!important}.post .byline{gap:.7rem}.post .byline a{font-weight:650;color:#355d69}.post .byline small{font-size:.76rem;color:#919498;margin-top:.1rem}.post .avatar{width:40px;height:40px}.post>.prose{color:#394750;font-size:1rem;line-height:1.8;margin:1.05rem 0}.post>.media{margin:1rem 0}.post .editor,.reply .editor{padding:.45rem 0;margin:.5rem 0;border:0}.post .editor summary,.reply .editor summary{font-size:.82rem;color:#778994;font-weight:500}.post .editor[open],.reply .editor[open]{background:#f8faf9;border-radius:12px;padding:1rem}.post .editor .danger,.reply .editor .danger{background:transparent;color:#9b5e5f;padding:.3rem 0}.post .reaction-panel{margin-top:1rem;border-top:1px solid #edf0ed;padding:.75rem 0 .2rem}.post .reaction-totals{gap:.28rem .6rem;align-items:center}.post .reaction-totals span{display:inline-flex;align-items:center;gap:.2rem;color:#77858b;font-size:.78rem;min-width:36px}.post .reaction-totals img,.post .reacted-list img{width:18px;height:18px}.post .reaction-chooser,.post .reacted-list{display:inline-block;margin:.48rem .8rem .15rem 0;vertical-align:top}.post .reaction-chooser summary,.post .reacted-list summary{color:#547974}.post .reaction-chooser[open]{display:block;background:#f6f9f8;padding:.65rem .8rem;border-radius:12px}.post .reaction-form{margin:.35rem 0 0;align-items:end}.post .reaction-form label{margin:0;min-width:160px;color:#586c70;font-size:.82rem}.post .reaction-form select{font-size:.9rem;padding:.45rem .6rem}.post .reaction-form button{margin:0;background:#537b76;padding:.5rem .9rem;border-radius:999px}.post .reacted-list[open]{display:block;padding:.45rem .7rem;background:#f9faf8;border-radius:10px}.post .reacted-list p{margin:.4rem 0;color:#566570;font-size:.86rem}.post .actions{padding-top:.55rem;margin-top:.5rem;border-top:1px solid #f0f1ef}.post .actions a{font-size:.82rem;color:#7b8d92}.reply{padding:.9rem 0}.reply .prose{line-height:1.7}@media(max-width:700px){.prayer-composer{padding:1.15rem!important}.composer-heading h2{font-size:1.3rem}.composer-option-fields{grid-template-columns:1fr}.composer-option-fields label:last-child{grid-column:auto}.composer-bottom{align-items:flex-start;flex-direction:column}.post{padding:1.1rem!important}}

/* Reference-inspired prayer post and inline reply layout. */
.prayer-post{position:relative;border:1px solid #e7e4df!important;border-radius:17px!important;padding:1.15rem 1.25rem!important;background:#fffdfa!important;box-shadow:0 7px 24px #334c5a0b!important;overflow:visible}.wall-post-head{display:grid;grid-template-columns:48px minmax(90px,1fr) auto auto;align-items:center;gap:.55rem .85rem;min-height:56px}.wall-avatar{width:48px;height:48px;object-fit:cover;border-radius:9px;grid-row:1}.wall-author{font-weight:700;color:#367786;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wall-time{font-size:.73rem;color:#8b9190;white-space:nowrap}.wall-visibility,.wall-privacy-form select{font-size:.78rem;color:#536d70;background:#f7faf9;border:1px solid #dfe8e5;border-radius:999px;padding:.32rem .6rem;white-space:nowrap}.wall-privacy-form{margin:0}.wall-privacy-form select{width:auto;min-width:95px;cursor:pointer}.wall-post-body{margin:.85rem 0 .95rem;color:#38464c;font-size:1rem;line-height:1.68;overflow-wrap:anywhere}.wall-toolbar{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:.45rem 1rem;position:relative}.wall-reaction-group{display:flex;align-items:center;gap:.42rem;position:relative;grid-column:1}.wall-reaction-picker,.wall-who{position:relative}.wall-reaction-picker>summary,.wall-reaction-icon{display:grid;place-items:center;width:30px;height:30px;list-style:none;cursor:pointer}.wall-reaction-picker>summary::-webkit-details-marker,.wall-who>summary::-webkit-details-marker,.wall-thread>summary::-webkit-details-marker{display:none}.wall-reaction-picker>summary img,.wall-reaction-icon img{width:30px;height:30px}.wall-like-count{font-size:.88rem;font-weight:600;color:#516069;min-width:10px}.wall-who>summary{cursor:pointer;background:#fff;border:1px solid #dfe7e4;border-radius:999px;padding:.32rem .73rem;color:#4b6a72;font-size:.8rem;font-weight:600;box-shadow:0 2px 5px #35454d0a}.wall-who-popout,.wall-reaction-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:20;min-width:180px;max-width:min(280px,80vw);max-height:230px;overflow:auto;padding:.55rem;background:#fff;border:1px solid #e1e6e3;border-radius:13px;box-shadow:0 14px 34px #2d465327}.wall-who-popout:before{content:"";position:absolute;top:-6px;left:23px;width:10px;height:10px;background:#fff;transform:rotate(45deg);border-left:1px solid #e1e6e3;border-top:1px solid #e1e6e3}.wall-who-popout div{display:flex;align-items:center;gap:.48rem;padding:.34rem .4rem;min-width:0}.wall-who-popout div+div{border-top:1px solid #f0f1ef}.wall-who-popout img{width:19px;height:19px}.wall-who-popout a{font-size:.83rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wall-who-popout small{font-size:.7rem;color:#829092;margin-left:auto}.wall-who-popout p{font-size:.8rem;margin:.35rem}.wall-reaction-menu{min-width:150px}.wall-reaction-menu form{display:grid;gap:.1rem}.wall-reaction-menu button{display:flex;align-items:center;gap:.5rem;width:100%;padding:.38rem .48rem;border-radius:8px;text-align:left;font-size:.8rem;background:transparent;color:#365763}.wall-reaction-menu button:hover,.wall-reaction-menu button.selected{background:#eaf2ef}.wall-reaction-menu img{width:22px;height:22px}.wall-thread{grid-column:2;position:static}.wall-thread>summary{list-style:none;cursor:pointer;color:#446b74;background:#fff;border:1px solid #dfe7e4;border-radius:11px;padding:.43rem .72rem;font-size:.8rem;font-weight:600;white-space:nowrap}.wall-thread>summary span{color:#8b9998}.wall-thread-body{grid-column:1/-1;margin-top:.9rem;border-top:1px solid #e9e8e4;padding-top:.75rem}.wall-thread[open]{display:contents}.wall-thread[open]>summary{grid-column:2}.wall-thread[open]>.wall-thread-body{grid-row:2;grid-column:1/-1}.wall-share{grid-column:3;justify-self:start;background:transparent;color:#477788;border:0;padding:.35rem .3rem;font-size:.82rem;font-weight:600}.wall-share:hover{background:#f1f7f5}.inline-reply textarea{min-height:66px;max-height:250px;border-radius:10px;border-color:#ccd6d6;padding:.65rem .75rem;font-size:.94rem;background:#fff}.inline-reply textarea:focus{outline:2px solid #a7c9c0}.inline-reply>button{margin:.35rem 0 .6rem;background:#609f9e;border-radius:10px;font-size:.85rem;padding:.5rem .9rem}.reply-options{margin:.35rem 0;color:#6b8284;font-size:.79rem}.reply-options>summary{cursor:pointer}.reply-options label{font-size:.79rem}.wall-replies{border-top:1px solid #e7e7e2;padding-top:.6rem}.wall-replies h3{font:600 1.02rem Georgia,serif;margin:.05rem 0 .35rem;color:#506071}.wall-replies h3 span{font:400 .8rem system-ui;color:#899192}.empty-replies{margin:.15rem 0;color:#7b8789;font-size:.84rem}.wall-reply{border-top:1px solid #f0efeb;padding:.7rem 0}.wall-reply-head{display:flex;align-items:center;gap:.8rem}.wall-reply-head a{font-size:.86rem;font-weight:650}.wall-reply-head small{font-size:.72rem;color:#909a9c}.wall-reply .prose{font-size:.9rem;margin:.4rem 0}.wall-editor{margin:.65rem 0 0!important}.wall-single .wall-thread[open]>.wall-thread-body{display:block}@media(max-width:720px){.wall-post-head{grid-template-columns:42px minmax(0,1fr) auto;gap:.3rem .55rem}.wall-avatar{width:42px;height:42px;grid-row:1/3}.wall-author{grid-column:2;align-self:end}.wall-time{grid-column:2;grid-row:2;align-self:start}.wall-visibility,.wall-privacy-form{grid-column:3;grid-row:1/3}.wall-toolbar{grid-template-columns:auto auto 1fr;gap:.4rem}.wall-thread>summary{font-size:.74rem;padding:.42rem .5rem}.wall-share{font-size:.78rem}.prayer-post{padding:1rem!important}}

@media(min-width:721px){.wall-author{text-align:center}}
/* Controls chosen by the author of each post. */
.reply-moderation{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;margin-top:.4rem}.reply-moderation form{margin:0}.reply-moderation button{border-radius:8px;padding:.3rem .65rem;font-size:.78rem;background:#57877d}.reply-moderation .secondary{background:#e7eded;color:#526b6d}.reply-moderation .danger{background:#fff0ef;color:#a55555}.reply-closed{color:#708282;font-size:.86rem;margin:.25rem 0 .75rem}.composer-option-fields label:nth-child(2),.composer-option-fields label:nth-child(3){grid-column:auto}

/* Full-width conversation flow: post, actions, reply form, then replies. */
.prayer-post{display:block;overflow:visible}.prayer-post .wall-post-body{display:block;width:100%}.prayer-post .wall-toolbar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.45rem .85rem;width:100%;margin:.35rem 0 .65rem}.prayer-post .wall-toolbar>*{grid-column:auto;grid-row:auto}.prayer-post .wall-thread-toggle{display:inline-flex;align-items:center;gap:.2rem;cursor:pointer;color:#446b74;background:#fff;border:1px solid #dfe7e4;border-radius:11px;padding:.43rem .72rem;font-size:.8rem;font-weight:600;white-space:normal;text-align:left}.prayer-post .wall-thread-toggle span{color:#8b9998}.prayer-post .wall-share{justify-self:auto;white-space:nowrap}.prayer-post .wall-thread-body{display:block;clear:both;position:static;width:100%;max-width:100%;margin:.25rem 0 .7rem;padding:.85rem 0 0;border-top:1px solid #e9e8e4}.prayer-post .wall-thread-body[hidden],.reply-target[hidden]{display:none!important}.prayer-post .inline-reply,.prayer-post .wall-replies{display:block;width:100%;max-width:100%;margin:0;float:none;grid-column:auto}.prayer-post .inline-reply textarea{display:block;width:100%;max-width:100%;min-height:82px;box-sizing:border-box}.prayer-post .wall-replies{margin-top:.6rem}.prayer-post .wall-reply{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:.85rem 0;border-top:1px solid #eceae5}.prayer-post .wall-reply-nested{padding-left:1rem;border-left:2px solid #d9e9e4}.wall-reply-head{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .75rem}.reply-privacy-form{margin-left:auto}.reply-privacy-form select{width:auto;max-width:125px;font-size:.76rem;border-radius:999px;padding:.25rem .5rem;background:#f7faf9;border-color:#dfe8e5}.reply-context{display:block;color:#839091;font-size:.75rem;margin:.25rem 0}.reply-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .85rem;margin:.45rem 0 0}.reply-actions .wall-reaction-group{display:flex;align-items:center;gap:.42rem}.reply-actions .wall-reaction-picker>summary img,.reply-actions .wall-reaction-icon img{width:24px;height:24px}.reply-actions .wall-reaction-picker>summary,.reply-actions .wall-reaction-icon{width:26px;height:26px}.reply-actions .wall-share,.reply-to-button{background:transparent;color:#477788;padding:.3rem .45rem;font-size:.8rem;font-weight:600;cursor:pointer}.reply-to-button:hover{background:#f1f7f5}.reply-target{margin:.2rem 0 .45rem;padding:.4rem .6rem;border-radius:8px;background:#eef6f3;color:#4a746c;font-size:.78rem}.reply-target-cancel{background:transparent;color:#477788;font-size:.78rem;padding:0 .3rem}.wall-single .wall-thread-body{display:block}@media(max-width:700px){.prayer-post .wall-toolbar{gap:.3rem .55rem}.prayer-post .wall-thread-toggle{font-size:.76rem;padding:.4rem .55rem}.prayer-post .wall-reply-nested{padding-left:.65rem}}
.prayer-post .wall-reply-nested{padding-left:calc(var(--reply-depth) * 1rem)}@media(max-width:700px){.prayer-post .wall-reply-nested{padding-left:calc(var(--reply-depth) * .65rem)}}
/* Even remembrance bubbles below Explore memories. */
.memory-column-head{padding:1.1rem!important}.memory-column-head h2{margin:.1rem 0 .85rem;font-size:1.45rem}.memory-column-head .button{display:block;text-align:center;border-radius:999px;font-size:.86rem;padding:.52rem .7rem}.memory-bubble{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto 1fr;gap:.25rem .7rem;min-height:184px;padding:.9rem!important;border-radius:17px!important;background:linear-gradient(155deg,#fffdfa,#f7faf8)!important;border:1px solid #e9e6df!important;box-shadow:0 5px 16px #344d5c0a!important;color:#344852}.memory-bubble:hover{background:#fff!important;box-shadow:0 9px 24px #344d5c16!important;transform:translateY(-1px)}.memory-portrait{grid-column:1;grid-row:1/3;width:64px;height:72px;object-fit:cover;border-radius:12px}.memory-fallback{display:grid;place-items:center;background:#e7eeed;color:#64847d;font-size:1.7rem}.memory-name{grid-column:2;grid-row:1;font:600 1.03rem Georgia,serif;color:#416a70;line-height:1.25;align-self:end;overflow-wrap:anywhere}.memory-dates{grid-column:2;grid-row:2;display:grid;gap:.12rem;color:#778887;font-size:.71rem;line-height:1.4}.memory-excerpt{grid-column:1/-1;grid-row:3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;align-self:start;margin-top:.55rem;color:#586b6c;font-size:.84rem;line-height:1.55}.memory-empty{font-size:.88rem;color:#738384}
.memory-sample{grid-column:1/-1;grid-row:4;justify-self:start;display:inline-block;margin-top:.15rem;color:#778b8a;background:#eaf1ed;border-radius:999px;padding:.14rem .48rem;font-size:.66rem;font-weight:650}.memory-bubble{grid-template-rows:auto auto 1fr auto}.sample-banner{display:inline-block;margin:.2rem auto 1.1rem;background:#eef4f0;color:#52736c;padding:.45rem .8rem;border:1px solid #d9e8e0;border-radius:999px;font-size:.8rem;font-weight:600}.sample-tag{display:inline-block;color:#54746c;background:#edf4ee;border-radius:999px;padding:.18rem .5rem;font-size:.7rem;font-weight:600}

.tribute-layout{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);align-items:start;gap:1.35rem}.tribute-layout .tribute{grid-column:1;grid-row:1}.tribute-layout .tribute-conversation{grid-column:2;grid-row:1}.tribute-layout>*{min-width:0}.tribute-layout .tribute{position:sticky;top:1rem;margin:0}.tribute-conversation h2{margin:.4rem 0}.tribute-welcome{color:#597184;margin:.25rem 0 1.1rem}.tribute-conversation .prayer-composer{background:linear-gradient(135deg,#fff,#f3f7fa)}.notification-bell{position:relative;color:white}.notification-bell>summary{cursor:pointer;display:flex;align-items:center;gap:.3rem;list-style:none;padding:.45rem;border-radius:12px}.notification-bell>summary::-webkit-details-marker{display:none}.notification-bell>summary:hover{background:#ffffff22}.bell-count{font-size:.73rem;background:#e8ad75;color:#24374b;min-width:1.25rem;text-align:center;border-radius:50%;padding:.1rem .2rem}.notification-menu{position:absolute;right:0;top:calc(100% + .5rem);z-index:30;background:#fff;color:#233347;border:1px solid #dce4ea;border-radius:13px;box-shadow:0 10px 30px #172c4640;width:min(340px,calc(100vw - 1.6rem));padding:.8rem}.notification-menu>a{color:#28466a}.notification-menu strong{display:block;margin:.2rem .4rem}.notification-menu-item{display:block;padding:.65rem;border-radius:8px;border-bottom:1px solid #e8edf2}.notification-menu-item.unread,.notification-row.unread{background:#edf5fa}.notification-menu-item small,.notification-row small{display:block;color:#627386}.notification-all{display:block;text-align:center;padding:.6rem}.notifications-page{max-width:900px;margin:auto}.notifications-page .row form{display:flex;gap:.4rem;flex-wrap:wrap}.select-notifications{margin:0 0 .75rem}.notification-row{display:flex;align-items:center;gap:.8rem;border-top:1px solid #e8edf2;padding:.75rem;border-radius:7px}.notification-row a{flex:1}.notification-select{margin:0}.notification-bulk{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}@media(max-width:850px){.tribute-layout{grid-template-columns:1fr}.tribute-layout .tribute{position:static;grid-column:1;grid-row:1}.tribute-layout .tribute-conversation{grid-column:1;grid-row:2}}@media(max-width:700px){.notification-bell{position:static}.notification-menu{right:.8rem;top:auto}.tribute-layout .card{padding:1rem}}
[hidden]{display:none!important}.install-app-button{background:#ebdfcd;color:#28466a;padding:.42rem .75rem;white-space:nowrap}.install-app-help{width:min(420px,calc(100vw - 2rem));border:1px solid #d7e0e7;border-radius:18px;padding:1.5rem;color:#233347;box-shadow:0 15px 45px #182c4859}.install-app-help::backdrop{background:#132a3d88}.tribute-left{min-width:0}.tribute-layout .tribute-left{grid-column:1;grid-row:1}.tribute-layout .tribute-conversation{grid-column:2;grid-row:1}.tribute-layout .tribute{grid-column:auto;grid-row:auto;position:relative;min-height:580px;overflow:hidden;padding:1rem}.tribute-story-inner{position:relative;z-index:2;background:#fffffff0;backdrop-filter:blur(2px);border-radius:18px;padding:1.25rem;margin:65px 44px;box-shadow:0 8px 30px #223e5814}.tribute-story-inner .prose{margin:1.2rem 0}.tribute-flower-field{position:absolute;inset:0;z-index:1;pointer-events:none}.placed-flower{position:absolute;transform:translate(-50%,-50%);width:64px;height:64px}.flower-image,.flower-picker-image{display:block;flex:none;width:64px;height:64px;background-image:url(images.png);background-repeat:no-repeat;background-size:320px 256px;background-position:var(--flower-field-x) var(--flower-field-y)}.flower-avatar{position:absolute;bottom:0;left:0;width:23px;height:23px;border-radius:50%;border:2px solid white;object-fit:cover;background:#dbe6ed}.flower-avatar-fallback{display:grid;place-items:center;font-size:13px}.tribute-controls{display:flex;justify-content:center;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:1.25rem}.flower-giver{width:100%;text-align:left}.flower-giver>summary{list-style:none;text-align:center}.flower-giver>summary::-webkit-details-marker{display:none}.flower-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.flower-option{display:flex;align-items:center;gap:.35rem;border:1px solid #dbe2e7;border-radius:10px;padding:.3rem;cursor:pointer;font-size:.85rem;margin:0;background:#fff}.flower-option input{width:auto;flex:none}.flower-picker-image{width:100px;height:100px;background-size:500px 400px;background-position:var(--flower-picker-x) var(--flower-picker-y)}.flower-option small{display:block;color:#697889}.flower-picker>button{grid-column:1/-1}.birthplace-map iframe{display:block;width:100%;height:290px;border:0;border-radius:12px}.birthplace-map small{display:block;margin:.4rem 0}.source-item{padding:.7rem 0;border-top:1px solid #e8e8ed}.source-item .row{margin-top:.4rem}.tribute-search form{display:flex;align-items:end;gap:.7rem;flex-wrap:wrap}.tribute-search label{flex:1;min-width:200px;margin:0}.tribute-search small{display:block;color:#6b7886}.site-announcement{background:linear-gradient(135deg,#fffdf9,#edf4f8);border-color:#e7e0d5}.site-announcement>small{letter-spacing:.07em;text-transform:uppercase;color:#5d7287}.site-announcement .media{margin-top:.7rem}.site-announcement audio{max-width:100%;margin-top:.7rem}.muted{color:#607283}@media(max-width:850px){.tribute-layout .tribute-left{grid-column:1;grid-row:1}.tribute-layout .tribute-conversation{grid-column:1;grid-row:2}}@media(max-width:700px){.tribute-layout .tribute{min-height:520px}.tribute-story-inner{margin:54px 15px;padding:.9rem}.placed-flower,.flower-image{width:48px;height:48px}.flower-image{background-size:240px 192px;background-position:var(--flower-mobile-x) var(--flower-mobile-y)}.flower-avatar{width:19px;height:19px}.flower-picker{grid-template-columns:1fr}.flower-option .flower-picker-image{width:100px;height:100px;background-size:500px 400px;background-position:var(--flower-picker-x) var(--flower-picker-y)}}
.tribute-flower-field .placed-flower{pointer-events:auto;cursor:pointer;border-radius:50%;text-decoration:none}.tribute-flower-field .placed-flower:focus-visible{outline:3px solid #345d85;outline-offset:3px}.tribute-flower-field .placed-flower:hover{filter:brightness(1.06)}
.flower-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.6rem;margin:1rem 0}.flower-admin-item{display:flex;align-items:center;gap:.55rem;border:1px solid #dde5eb;border-radius:12px;background:#f8fbfc;padding:.45rem;margin:0}.flower-admin-item>span:last-child{flex:1;min-width:0}.flower-admin-item input{margin-top:.3rem}
.flower-value{position:absolute;right:-6px;bottom:-5px;max-width:90px;padding:1px 4px;border-radius:6px;background:#fff;color:#28466a;font:600 10px/1.2 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 8px #223b5033}
.flower-payment-modal{position:fixed;inset:0;margin:auto;width:min(540px,calc(100vw - 1rem));max-height:90vh;overflow:auto;background:#fff;color:#26394d;border:1px solid #dce5ea;border-radius:18px;padding:1.35rem;box-shadow:0 20px 60px #14243f70}.flower-payment-modal::backdrop{background:#172943ad}.flower-payment-modal h2{margin:0}.flower-payment-modal h3{margin:.7rem 0 .35rem}.flower-payment-modal .provider-payment,.mail-payment{padding:.6rem 0;border-top:1px solid #e9eef1}.flower-payment-modal address,.mailing-receipt{font-style:normal;background:#f4f8fa;border-radius:10px;padding:.8rem;white-space:normal}.mail-payment label{font-weight:450}.mail-payment button{width:100%}.flower-payment-modal .error{background:#fff0f0;padding:.6rem;border-radius:7px}.mailing-receipt{margin:.7rem 0}
.gift-payment-option{margin:.8rem 0;padding:1rem;background:#f5f0fb;border:1px solid #e8daf1;border-radius:14px}.gift-payment-option h3{margin:0 0 .4rem}.gift-payment-option button{width:100%}.gift-celebration{position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 1rem));max-height:90vh;overflow:auto;padding:1rem;text-align:center;border:1px solid #e7dfef;border-radius:20px;background:#fff;color:#304663;box-shadow:0 22px 75px #14243f80}.gift-celebration::backdrop{background:#172943b5}.gift-celebration img{display:block;width:100%;height:auto;border-radius:13px}.gift-celebration h2{margin:.9rem 0 .4rem}.gift-celebration p{margin:.3rem 0 1rem}.gift-admin-preview{display:block;width:min(300px,100%);height:auto;margin:.6rem 0 1rem;border-radius:12px}

/* Admin ad visibility and media previews */
.admin-ad{display:grid;grid-template-columns:108px minmax(0,1fr);gap:1rem;align-items:center;padding:.85rem 0;border-top:1px solid #e8ecef}.admin-ad-preview{width:108px;height:90px;display:grid;place-items:center;background:#f2f5f5;color:#657684;border-radius:10px;overflow:hidden;font-size:.75rem;text-align:center}.admin-ad-preview img,.admin-ad-preview video{width:100%;height:100%;object-fit:cover}.admin-ad-preview .error{font-size:.7rem}.ad-state{margin:.15rem 0 .3rem;color:#537b76;font-size:.86rem}.inline-form{display:inline-block;margin-left:.6rem}.inline-form button{padding:.3rem .6rem;font-size:.82rem}.ad img,.ad video{display:block;width:100%;height:auto;margin:.65rem 0;object-fit:contain}.ad h3{margin:.3rem 0}
/* Member photo adjustment */
.avatar-crop{max-width:340px;padding:1rem;background:#f6f9f8;border:1px solid #dce7e5;border-radius:14px;margin:.75rem 0}.avatar-crop[hidden],.avatar-crop-error[hidden]{display:none}.avatar-crop p{font-size:.87rem;color:#526c73;margin:.1rem 0 .8rem}.avatar-crop-stage{width:min(100%,320px);aspect-ratio:1;border-radius:50%;overflow:hidden;border:3px solid #afc9c3;background:white;touch-action:none;box-shadow:0 5px 18px #35596724}.avatar-crop-stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.avatar-crop-stage canvas:active{cursor:grabbing}.avatar-crop input[type=range]{padding:.25rem 0;accent-color:#537b76}.avatar-crop-error{color:#a43f44!important}
.profile .portrait{aspect-ratio:1;max-height:none;object-fit:cover}
/* Keep placed bouquets above the story panel so no part is hidden at any edge. */
.tribute-layout .tribute .tribute-flower-field{z-index:1000}
.tribute-layout .tribute .tribute-story-inner{z-index:2}

/* Keep the ad column next to the prayer wall on tablet screens. */
@media (min-width:701px) and (max-width:1000px){.columns{grid-template-columns:minmax(0,1fr) minmax(215px,.72fr)}.columns .memory-column{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.55rem}.columns .memory-column .memory-column-head{grid-column:1/-1}.columns .mainfeed{grid-column:1;grid-row:2}.columns aside.ad-column{grid-column:2;grid-row:2;align-self:start}}
@media (max-width:700px){.columns aside.ad-column{order:0}.columns .mainfeed{order:1}.columns aside.memory-column{order:2}}
.ad-admin-hint{font-size:.86rem;color:#526e76;background:#f2f7f6;padding:.8rem;border-radius:10px}.composer-anonymous{display:flex;align-items:flex-start;gap:.55rem;padding:.7rem .8rem;border-radius:12px;background:#f4f8f7;color:#405e65;font-size:.9rem}.composer-anonymous input{width:auto;margin:.25rem 0 0;flex:none}.composer-anonymous small{display:block;font-weight:400;color:#647883}.anonymous-author{font-weight:700;color:#496c77}.anonymous-badge{display:block;font-size:.73rem;color:#6d8790;margin:.2rem 0}

.ad .ad-media-link{display:block;margin:.6rem 0}.ad .ad-media-link img{margin:0}.ad h3 a{color:#345d85;text-decoration:none}.ad h3 a:hover,.ad h3 a:focus{text-decoration:none;color:#26496a}
.ad-description.ad-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.ad-read-more{display:inline-block;width:auto;margin:.2rem 0 .5rem;padding:.15rem 0;border:0;background:transparent;color:#345d85;font:inherit;font-weight:700;cursor:pointer}.ad-read-more:hover,.ad-read-more:focus-visible{color:#26496a;text-decoration:none}.ad-read-more[hidden]{display:none}
.tribute-attachment{display:block;width:100%;margin:.7rem 0 .35rem;padding:.7rem .85rem;border:1px dashed #b8cfca;border-radius:11px;background:#f5faf8;color:#426a73;font-size:.88rem;font-weight:600}.tribute-attachment input[type=file]{display:block;width:100%;margin:.3rem 0 0;color:#506c74;font-size:.8rem}.tribute-link-video,.tribute-link-preview{display:block;max-width:100%;margin:.75rem 0;border:1px solid #e1e8e5;border-radius:14px;overflow:hidden;background:#f6f9f9}.tribute-link-video iframe,.tribute-link-video video{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0}.tribute-link-video>a{display:block;padding:.5rem .8rem;color:#345d85;font-size:.82rem}.tribute-link-preview{display:grid;grid-template-columns:minmax(100px,34%) minmax(0,1fr);align-items:stretch;color:#344c5d;text-decoration:none}.tribute-link-preview:hover,.tribute-link-preview:focus-visible{text-decoration:none;border-color:#b7d3cc;box-shadow:0 4px 15px #3b68631f}.tribute-link-preview img{width:100%;height:100%;min-height:126px;max-height:220px;object-fit:cover}.tribute-link-preview>span{display:flex;flex-direction:column;justify-content:center;gap:.35rem;min-width:0;padding:.85rem}.tribute-link-preview strong{overflow-wrap:anywhere}.tribute-link-preview small{color:#6c8086;line-height:1.4;overflow-wrap:anywhere}@media(max-width:480px){.tribute-link-preview{grid-template-columns:32% minmax(0,1fr)}.tribute-link-preview img{min-height:110px}.tribute-link-preview>span{padding:.55rem}}
.word-filter-list{margin:1rem 0}.word-filter-form{display:flex;align-items:end;gap:.7rem;flex-wrap:wrap}.word-filter-form label{flex:1 1 155px;min-width:145px;margin:0}.word-filter-form .word-filter-checkbox{flex:0 0 auto;min-width:auto;white-space:nowrap;padding-bottom:.35rem}.word-filter-form .word-filter-checkbox input{width:auto}.word-filter-form button{white-space:nowrap}.word-filter-row{display:flex;align-items:end;gap:.55rem;flex-wrap:wrap;border-top:1px solid #e7ebe9;padding:.85rem 0;margin-top:.85rem}.word-filter-row .word-filter-form{flex:1 1 640px}.word-filter-row>form:last-child{margin:0}.word-filter-list>p{color:#5e747a}@media(max-width:600px){.word-filter-form label{flex:1 1 100%}.word-filter-form button{width:100%}.word-filter-row>form:last-child{width:100%}.word-filter-row>form:last-child button{width:100%}}
.flower-picker-modal{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(850px,calc(100vw - 1rem));max-width:calc(100vw - 1rem);max-height:calc(100vh - 1rem);max-height:calc(100dvh - 1rem);overflow-y:auto;overflow-x:hidden;padding:1.15rem;background:#fffdfb;color:#344852;border:1px solid #dfe8e4;border-radius:20px;box-shadow:0 25px 70px #142b425c}.flower-picker-modal::backdrop{background:#192d44ad}.flower-picker-modal-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.6rem}.flower-picker-modal-head h2{margin:0;font:600 clamp(1.3rem,3vw,1.7rem) Georgia,serif;color:#416a70}.flower-picker-modal-head button{flex:none;padding:.35rem .7rem;font-size:1.25rem}.flower-picker-modal>p{line-height:1.55;margin:.35rem 0 .9rem}.flower-picker-modal .flower-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;width:100%;margin:0}.flower-picker-modal .flower-option{display:flex;align-items:center;gap:.65rem;box-sizing:border-box;width:100%;min-width:0;min-height:118px;padding:.55rem .65rem;margin:0;border-radius:13px;text-align:left}.flower-picker-modal .flower-option input{flex:0 0 auto;width:18px;height:18px;margin:0}.flower-picker-modal .flower-option .flower-picker-image{flex:0 0 100px;width:100px;height:100px}.flower-picker-modal .flower-option>span:last-child{display:block;flex:1 1 auto;min-width:0;font-size:.9rem;line-height:1.35;word-break:normal;overflow-wrap:normal;hyphens:none}.flower-picker-modal .flower-option small{display:block;margin-top:.3rem;line-height:1.4;word-break:normal;overflow-wrap:normal}.flower-picker-modal .flower-picker>button{position:sticky;bottom:-1.15rem;z-index:2;grid-column:1/-1;width:100%;margin:.35rem 0 0;padding:.75rem 1rem;box-shadow:0 -5px 18px #fffdfbdd}.flower-picker-modal .danger{margin-top:.5rem}@media(max-width:680px){.flower-picker-modal .flower-picker{grid-template-columns:1fr}.flower-picker-modal .flower-option{min-height:110px}.flower-picker-modal{padding:1rem}.flower-picker-modal .flower-picker>button{bottom:-1rem}}

/* Reserve the flower frame inside the tribute card, outside the story panel. */
.tribute-layout .tribute.flower-framed .tribute-story-inner{margin:var(--flower-top-space,84px) var(--flower-side-space,16px) var(--flower-bottom-space,84px)}
.tribute-layout .tribute.flower-framed .tribute-flower-field{z-index:1000}

/* A veteran tribute keeps the familiar layout while giving the service story its own honor. */
.tribute-layout .tribute.tribute-veteran{background:radial-gradient(circle at 50% 4%,#fff9e9 0%,transparent 47%),linear-gradient(128deg,#152d53 0%,#274b79 49%,#8e2937 100%);border:2px solid #b69c63;box-shadow:0 12px 35px #112a4e40}
.tribute-veteran .tribute-story-inner{background:#fffdf7f5;border:1px solid #c6b179;box-shadow:0 12px 34px #071d3947}
.tribute-portrait-wrap{position:relative;display:table;max-width:100%;margin:0 auto 2rem}
.tribute-portrait-wrap .portrait{display:block;max-width:100%;margin:0 auto}
.tribute-portrait-wrap .veteran-flag{position:absolute;left:50%;bottom:-27px;transform:translateX(-50%);width:clamp(75px,32%,112px);height:auto;max-height:none;filter:drop-shadow(0 5px 5px #13243c74);pointer-events:none}
.veteran-flag-alone{display:block;width:110px;height:auto;margin:.4rem auto 1rem;filter:drop-shadow(0 5px 5px #13243c74)}
.veteran-honor{margin:1.5rem 0;padding:1rem 1.15rem;border-top:2px solid #bd9e5f;border-bottom:2px solid #bd9e5f;background:#f5f6fa;color:#243d63;text-align:left}
.veteran-honor h2{margin:0 0 .5rem;color:#203c6a;font:600 1.25rem Georgia,serif}
.veteran-honor p{margin:.25rem 0;line-height:1.7;overflow-wrap:anywhere}
.veteran-editor{margin:1rem 0;padding:.9rem 1rem;border:1px solid #c9d4e1;border-radius:12px;background:#f5f8fc}
.veteran-editor .veteran-check{display:flex;align-items:center;gap:.6rem;margin:0;color:#233e66;font-weight:700}
.veteran-editor .veteran-check input{width:auto;margin:0}
.veteran-editor #veteran-details{margin-top:.85rem}
.veteran-editor #veteran-details[hidden]{display:none}
.veteran-hint{font-size:.85rem;color:#596d80;margin:.4rem 0 0}
.tribute-layout .tribute-story-inner>h1{font-size:1.125rem;line-height:1.4;font-weight:600;margin:.75rem 0 .5rem;overflow-wrap:anywhere}

.visitor-report{width:100%;min-width:0;max-width:1100px;margin:0 auto;overflow-wrap:anywhere}
.visitor-report>.visitor-tools,.visitor-tools{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:1rem 0;padding:.8rem;background:#f0f5f7;border-radius:12px}
.visitor-tools button{max-width:100%;white-space:normal}
.visitor-check-all{display:flex;align-items:center;gap:.5rem;margin:0 .7rem 0 0;white-space:normal}
.visitor-check-all input,.visitor-select input{width:auto;margin:0;flex:none}
.visitor-row{min-width:0;width:100%;padding:1rem;margin:.75rem 0}
.visitor-row.visitor-unread{border-left:4px solid #468c9a;background:#f8fcfd}
.visitor-heading{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;min-width:0}
.visitor-heading time{margin-left:auto;font-size:.84rem;color:#5d6c79}
.visitor-select{display:flex;align-items:center;gap:.65rem;min-width:0;margin:0}
.visitor-status{padding:.1rem .55rem;border-radius:20px;background:#e8eff2;color:#465e70;font-size:.76rem}
.visitor-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:.35rem .8rem;margin:.75rem 0;font-size:.87rem;min-width:0}
.visitor-facts span{min-width:0;overflow-wrap:anywhere}
.visitor-facts strong{display:block;color:#526476}
.visitor-member{display:flex;align-items:center;gap:.65rem;min-width:0;margin:.55rem 0;font-size:.88rem}
.visitor-member img{width:38px;height:38px;object-fit:cover;border-radius:50%;flex:none}
.visitor-member>div{min-width:0;overflow-wrap:anywhere}
.visitor-map{margin:.6rem 0 0;min-width:0}
.visitor-map>summary{cursor:pointer;color:#35617b;font-weight:600}
.visitor-map>p{margin:.6rem 0;font-size:.83rem}
.visitor-map iframe{display:block;width:100%;height:220px;max-width:100%;border:0;border-radius:10px}
.visitor-map small{display:block;margin-top:.35rem}
.visitor-pages{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:1rem 0}
@media(max-width:600px){.visitor-tools button{flex:1 1 140px}.visitor-heading time{margin-left:0;width:100%}.visitor-map iframe{height:185px}}
