/* A shared, accessible social reading surface. Chapel scenes keep their lighting. */
:root{--bg:#f6f4f7;--panel:#fff;--panel2:#f1edf3;--text:#302735;--muted:#56475f;--gold:#8a6425;--gold2:#78551c;--line:#e3dce7;--sacred:Georgia,serif;--nav:78px}
html{background:#f6f4f7}
body.modern{background:#f6f4f7!important;color:#302735;font:18px/1.65 system-ui,-apple-system,sans-serif}
body.modern .app{max-width:1120px;background:none!important;box-shadow:none}
body.modern header{height:76px;background:#342438!important;color:white;border:0;box-shadow:0 2px 15px #34243818;padding:0 24px;gap:24px}
body.modern header .brand{font:600 28px/1.1 Georgia,serif!important;letter-spacing:-.6px;color:#fff!important;white-space:nowrap;text-shadow:none;max-width:none}
body.modern header .brand b{color:#e6c580}
body.modern .lang{color:#fff;background:#ffffff0d;border:1px solid #ffffff40;font:600 14px system-ui;min-height:42px}
body.modern .page:not(#chapel){max-width:1060px;margin:0 auto;background:none!important;color:#302735}
body.modern .page.section,body.modern .page.sanctuary-section{padding:28px 22px}
body.modern h1,body.modern h2,body.modern h3{color:#392c40;text-shadow:none!important;letter-spacing:-.025em}
body.modern h1{font:600 32px/1.2 Georgia,serif}
body.modern h2,body.modern .section h2{font:600 28px/1.25 Georgia,serif!important}
body.modern h3{font:600 24px/1.3 Georgia,serif}
body.modern .muted,body.modern .meta,body.modern .catalog-note,body.modern .account-note,body.modern .privacy-label,body.modern .image-credit{color:#56475f;font:16px/1.6 system-ui}
body.modern a{color:#725485}
body.modern :is(button,a,input,select,textarea):focus-visible{outline:3px solid #956828!important;outline-offset:4px}
body.modern :is(button,input,select,textarea){font-family:system-ui!important}
body.modern :is(.primary,.secondary,.pray-btn,.chip,.text-link){font:600 16px/1.4 system-ui!important;text-shadow:none!important;letter-spacing:0;animation:none!important;outline:none;box-shadow:none!important;border-radius:13px;min-height:48px}
body.modern .primary{background:#725084!important;color:white!important;border:1px solid #725084!important;padding:13px 18px}
body.modern .secondary{background:#fff!important;color:#4e355c!important;border:1px solid #d9cddd!important;padding:13px 18px}
body.modern :is(.primary,.secondary,.pray-btn):before,body.modern :is(.primary,.secondary,.pray-btn):after{display:none!important}
body.modern .text-link{background:none!important;color:#725084!important;min-height:44px;text-decoration:none}
body.modern .chip{background:#fff;color:#63556b;border:1px solid #dcd4e1;padding:10px 15px}
body.modern .chip.on{background:#725084;color:#fff;border-color:#725084}
body.modern :is(.profile-card,.daily-card,.admin-card,.sanctuary-panel,.family-memory,.devotion-panel,.prayer-reading,.profile-signin,.guardian-card,.own-patron,.personal-patron,.profile-saint-option,.color-option,.world-summary,.country-row){background:#fff!important;color:#392f40!important;border:1px solid #e2dbe6!important;border-radius:18px!important;outline:none!important;box-shadow:0 4px 18px #33223f04!important;text-shadow:none}
body.modern :is(.profile-card,.daily-card,.admin-card):before{display:none}
body.modern :is(.profile-card,.daily-card,.admin-card,.sanctuary-panel,.family-memory,.devotion-panel) :is(h2,h3,h4,p,label,small,blockquote,.eyebrow){color:inherit!important;text-shadow:none}
body.modern :is(.field label,.sanctuary-panel label,.sheet label){color:#514358;font:600 15px/1.5 system-ui}
body.modern :is(.field input,.field textarea,.field select,.search,.sanctuary-panel input,.sanctuary-panel textarea,.sanctuary-panel select,.devotion-select,.devotion-search){background:#fff!important;color:#302735!important;border:1px solid #cfc3d6!important;border-radius:12px!important;box-shadow:none;font:16px/1.5 system-ui!important;min-height:50px}
body.modern input::placeholder,body.modern textarea::placeholder{color:#56475f;opacity:1}
body.modern :is(.sanctuary-section p,.personal-prayer,.journey-text){font-size:18px;line-height:1.7;color:#514358}
body.modern .home-compose{padding:26px 22px 18px;max-width:730px;margin:auto}
body.modern .compose-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}
body.modern .compose-heading h1{font:600 27px/1.3 Georgia,serif;margin:0}
body.modern .compose-cross{color:#a47e3b;font:30px Georgia}
body.modern .compose-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.modern .compose-gift{display:block;margin:6px auto 0;padding:6px 12px}
body.modern #home .quick{display:flex;gap:0!important;max-width:686px;padding:0;margin:0 auto 20px;border-bottom:1px solid #dbd1e2;overflow:auto;background:none;box-shadow:none}
body.modern #home .quick .quick-link{flex:1;min-width:120px;display:flex;align-items:center;justify-content:center;padding:14px 10px;min-height:54px;background:none!important;border:0!important;border-radius:0;box-shadow:none!important;outline:none;text-decoration:none;color:#6d5a79}
body.modern #home .quick strong{font:650 17px/1.4 system-ui!important;text-align:center}
body.modern #home .quick .emoji{display:none}
body.modern #home .quick .quick-link:last-child{border-bottom:3px solid #856197!important;color:#563665}
body.modern #home .home-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:28px;padding:0 22px;align-items:start}
body.modern #home .home-grid .section{padding:0;background:none!important;border:0;box-shadow:none;outline:none}
body.modern #home .section-head{margin:0 0 16px;align-items:center}
body.modern #home .section-head p{font:16px/1.5 system-ui;color:#56475f}
body.modern #home .home-prayer-wall:before,body.modern #home .home-prayer-wall:after,body.modern #prayers:before,body.modern #prayers:after{display:none!important}
body.modern #home .section-head h2{font-size:24px!important}
body.modern #home .home-prayer-wall .section-head p{display:none}
body.modern #homeFeed,body.modern #prayerFeed{display:grid;grid-template-columns:1fr;gap:16px;grid-auto-rows:auto}
body.modern #homeFeed .prayer,body.modern #prayerFeed .prayer,body.modern #personalContent .prayer{display:block;height:auto;min-height:0;padding:22px!important;margin:0!important;background:#fff!important;border:1px solid #e2dae8!important;border-left:3px solid #c7afd3!important;border-radius:4px 18px 18px 18px;outline:none!important;box-shadow:0 5px 22px #402a5005!important;animation:none!important;color:#392f40;transform:none!important}
body.modern .prayer:before,body.modern .prayer:after{display:none!important}
body.modern .prayer .meta{font:16px/1.5 system-ui;color:#56475f;align-items:center;gap:12px;flex-wrap:wrap}
body.modern .prayer .meta strong{font:650 16px/1.5 system-ui;color:#4a3557}
body.modern #homeFeed .prayer>p,body.modern #prayerFeed .prayer>p{font:20px/1.6 Georgia,serif!important;color:#46394d!important;margin:16px 0 20px;white-space:pre-wrap;overflow-wrap:anywhere;text-shadow:none}
body.modern .pray-btn{background:#f4edf7!important;color:#69457e!important;border:1px solid #e1d3ea!important;width:auto;max-width:100%;padding:10px 14px}
body.modern .pray-btn.on{background:#725084!important;color:#fff!important}
body.modern .wall-report{border:0;background:none;color:#56475f;font-size:14px;min-height:44px}
body.modern #home .stats{max-width:1016px;margin:28px auto 0;padding:18px;display:grid;grid-template-columns:1fr 1fr;background:transparent!important;border:0;border-top:1px solid #e2dae7;border-radius:0;outline:none;box-shadow:none}
body.modern #home .stats b{font:600 24px/1.4 Georgia;color:#725084}
body.modern #home .stats [data-i]{font:16px/1.5 system-ui;color:#56475f}
body.modern #heartStart{padding:26px 22px;max-width:1060px;margin:auto}
body.modern #heartStart h2{font-size:23px!important}
body.modern .heart-choices{display:flex;gap:10px;flex-wrap:wrap}
body.modern .heart-choice{min-height:48px;padding:12px 15px;background:#fff;border:1px solid #ded5e4;color:#695373;border-radius:14px;font:600 17px/1.4 system-ui!important;flex:1;min-width:140px}
body.modern .heart-choice i{color:#a17d39;font-size:23px}
body.modern .sanctuary-link{background:#fff;color:#62466f;border:1px solid #ded5e4;font:600 16px/1.5 system-ui;min-height:52px;border-radius:14px}
body.modern .sanctuary-route-links a{color:#755584}
body.modern .bohnice-card{border-top:1px solid #dfd5e5;margin-top:10px}
body.modern .visitor-counter{background:none!important;border:0!important;color:#56475f!important;font:14px system-ui;padding:24px;text-align:center;box-shadow:none!important}
body.modern .visitor-counter strong{color:#685275!important;font-size:18px}
body.modern #home .today-card,body.modern #today .today-card{border:1px solid #dfd5e5!important;border-radius:18px!important;background:white!important;box-shadow:none!important;overflow:hidden;outline:none}
body.modern #home .today-card img{height:260px!important;object-fit:cover}
body.modern #home .today-copy,body.modern #today .today-copy{background:#fff!important;border:0!important;padding:20px!important;outline:none;color:#392f40;text-shadow:none}
body.modern .today-copy :is(h3,p,span){color:#4c3c54!important;text-shadow:none;font-family:inherit}
body.modern .today-copy h3{font:600 26px/1.3 Georgia!important}
body.modern .today-copy p{font:16px/1.5 system-ui!important}
body.modern #saintGrid{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
body.modern #saintGrid .saint-card{overflow:hidden;border-radius:70px 70px 16px 16px;background:#fff;border:1px solid #ddd2e4;filter:none;box-shadow:none}
body.modern #saintGrid .gothic-portrait{height:280px;background:#b89350;padding:0;clip-path:none;border:0;border-radius:0}
body.modern #saintGrid .gothic-portrait img{clip-path:none!important}
body.modern #saintGrid .saint-info{position:relative;left:auto;right:auto;bottom:auto;padding:16px;background:white!important;border:0!important;outline:none!important;box-shadow:none}
body.modern #saintGrid .saint-info strong{font:600 24px/1.25 Georgia,serif!important;color:#45324f;min-height:0;margin:6px 0}
body.modern #saintGrid .saint-info small{font:16px/1.5 system-ui!important;color:#56475f}
body.modern #saintDetail .detail-body{background:#f6f4f7!important;color:#3c3043!important;border:0;box-shadow:none;margin-top:0;padding:24px}
body.modern #saintDetail :is(#detailName,#detailType,#detailAttrs,#detailPrayer,#detailBio){color:#45344f!important;text-shadow:none}
body.modern #saintDetail .detail-hero:after{background:linear-gradient(transparent 80%,#f6f4f7)}
body.modern .fact{color:#725084;background:#eee6f3;border:1px solid #d7c6e0}
body.modern #profile .profile-menu .secondary{background:#fff!important;color:#594266!important;border:1px solid #ded4e4;outline:none;box-shadow:none!important;font-size:17px!important}
body.modern #profile .profile-menu .menu-symbol,body.modern #profile .profile-menu .menu-count{background:none!important;color:#967340;border:0;box-shadow:none}
body.modern #profile :is(.account-name,.profile-signin output,.personal-quote blockquote,.guardian-card h3,.guardian-card .eyebrow,.guardian-symbol){color:#644476!important;text-shadow:none}
body.modern #profile :is(.guardian-card p,.profile-signin small,.personal-quote>p){color:#56475f!important}
body.modern .profile-saint-option span{color:#46334f}
body.modern .color-option:has(input:checked){border-color:#9671aa!important;background:#f3edf7!important}
body.modern .color-option small{color:#56475f}
body.modern .modal{background:#21172799;backdrop-filter:blur(5px)}
body.modern .modal .sheet{background:#fcfafd!important;border:1px solid #e3d6e9!important;color:#45344f!important;border-radius:24px 24px 0 0;outline:none!important;box-shadow:0 -15px 70px #24192c30!important}
body.modern .modal .sheet h2{color:#50305d!important;font:600 29px/1.25 Georgia!important}
body.modern .modal .sheet :is(p,.eyebrow,legend){color:#56475f}
body.modern .modal .sheet .handle{background:#d6c6df}
body.modern .saint-prayer-sheet #saintPrayerText{color:#503a5e;border-color:#d6c6df}
body.modern .gift-private-note{background:#f1eaf6!important;border-color:#ded1e6!important;color:#685173!important}
body.modern .gift-color-picker label{background:#fff;color:#675070;border-color:#d8cae0}
body.modern .gift-color-picker label:has(input:checked){background:#eee4f5;border-color:#9974ac}
body.modern .chapel-theme-grid button{color:#634a70;background:white;border-color:#d4c5dd;border-radius:12px}
body.modern .bottom{background:#fff!important;border-top:1px solid #e3d9e9!important;box-shadow:0 -4px 20px #39224706;grid-template-columns:repeat(6,minmax(0,1fr));height:calc(78px + env(safe-area-inset-bottom));padding:6px 4px env(safe-area-inset-bottom);max-width:none}
body.modern .bottom .nav-btn{font:600 14px/1.3 system-ui!important;color:#806d8a!important;background:transparent!important;border:0!important;animation:none!important;box-shadow:none!important;text-shadow:none!important;padding:7px 3px;gap:4px;white-space:normal;text-align:center;border-radius:12px}
body.modern .bottom .nav-btn i{font:23px/1 Georgia;color:inherit;display:block}
body.modern .bottom .nav-btn.active{background:#f0e7f6!important;color:#6d4780!important}
body.modern .bottom .nav-btn:before,body.modern .bottom .nav-btn:after{display:none!important}
body.modern #chapel{--text:#fff0d2;--gold:#e7bd70;--gold2:#ffe2a6;--muted:#d2c3a6;color:#fff0d2}
body.modern #chapel :is(h1,h2,h3){color:#fff0d2}
body.modern #chapel .secondary,body.modern #chapel .chip{background:#241b22db!important;color:#fff0d2!important;border-color:#ab905a!important}
body.modern #chapel .chip.on{background:#e1c180!important;color:#342717!important}
body.modern .own-candle{background:#fff;color:#624c70;border-color:#dfd4e6}
body.modern .own-patron strong{color:#604270}
body.modern .my-chapel-scene h2{color:#fff2d1!important}
body.modern .bohnice-photo{border-color:#dacde2;background:white}
body.modern .bohnice-photo figcaption,body.modern #bohnice .bohnice-archive-note{color:#56475f}
body.modern .form-error,body.modern .account-error{color:#a13342!important}
body.modern .devotion-panel :is(.devotion-close,.bible-mode){color:#634572;background:#f0e8f5;border-color:#cfbdd9}
body.modern .prayer-reading{color:#42324c}
body.modern .daily-prayer-banner{background:#f0e8f5;color:#5c3d6b;border-color:#d8c4e2}
body.modern .quiet-overlay{color:#fff2cd}
body.modern .quiet-overlay h2{color:#fff2cd}
body.modern .quiet-overlay .secondary{background:#ffffff12!important;color:#fff2cd!important}
@media(min-width:900px){body.modern header{padding-right:92px}body.modern header .header-actions{right:20px;top:17px}body.modern header .bottom{background:none!important;border:0!important;box-shadow:none;height:76px;padding:0;position:static}body.modern header .bottom .nav-btn{color:#e4d7e9!important;font-size:14px!important}body.modern header .bottom .nav-btn.active{background:#ffffff13!important;color:#f2d390!important}body.modern .home-compose{padding-top:36px;padding-bottom:22px}}
@media(max-width:899px){body.modern .app{padding-bottom:calc(92px + env(safe-area-inset-bottom))}body.modern header{padding:0 18px;height:68px}body.modern .header-actions{position:static}body.modern .bottom{position:fixed;left:0;bottom:0;top:auto;transform:none;width:100%}body.modern .home-compose{padding-top:24px}body.modern #home .quick{margin-left:18px;margin-right:18px}body.modern #home .home-grid{grid-template-columns:1fr;padding:0 18px;gap:28px}body.modern #home .home-inspiration{max-width:100%;width:100%}body.modern #home .today-card img{height:240px!important}body.modern #home .stats{margin:20px 18px 0}body.modern #saintGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.modern #saintGrid .gothic-portrait{height:220px}}
@media(max-width:420px){body.modern .compose-actions{gap:8px}body.modern .compose-actions button{padding:12px 9px;font-size:15px!important}body.modern .compose-heading h1{font-size:25px}body.modern .bottom .nav-btn{font-size:12px!important}body.modern #saintGrid .gothic-portrait{height:190px}body.modern #saintGrid .saint-info{padding:13px}body.modern #saintGrid .saint-info strong{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){body.modern *,body.modern *:before,body.modern *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Clear obsolete portrait spacing and ornate typography on the reading surfaces. */
body.modern #home :is(.primary,.secondary,.text-link,.pray-btn),body.modern #prayerFeed .pray-btn{font-size:16px!important;line-height:1.45;min-height:48px}
body.modern #home .home-prayer-wall{overflow:visible;border-radius:0}
body.modern #prayers #prayerFeed{margin-top:20px}
body.modern #prayers .prayer-wall-close-row [data-i="notAlone"]{max-width:none;color:#5c416c;font:600 24px/1.35 Georgia;text-shadow:none}
body.modern #prayers .prayer-wall-close{background:#fff;color:#765581;border:1px solid #d9cbe1;box-shadow:none}
body.modern #prayers .section-head{justify-content:flex-start}
body.modern #prayers .section-head>.text-link[data-modal="prayer"]{width:auto;max-width:100%;margin:0;background:#725084!important;color:white!important;border:0;padding:12px 18px}
body.modern #home .today-card{display:block;position:relative;min-height:0;height:auto}
body.modern #home .today-card img{display:block;position:static;width:100%}
body.modern #home .today-copy{position:static;margin:0;width:100%}
body.modern #home .today-card:after,body.modern #saintGrid .saint-card:after{display:none}
body.modern #profile :is(.profile-card,.devotion-panel,.guardian-card) :is(h1,h2,h3,h4,strong,span,p){text-shadow:none}
body.modern #profile .profile-menu .secondary span{color:inherit;font:600 16px/1.45 system-ui}
body.modern .devotion-panel :is(.bible-reading,.bible-passage,.rosary-prayer,.rosary-stage,.rosary-card,.holiday-card){background:#fff;color:#4d3a59;border-color:#d8cadf}
body.modern :is(.profile-empty,.family-member,.sanctuary-message,.sanctuary-offline){color:#56475f;border-color:#ddd1e5}
body.modern .form-error[hidden]{display:none}
body.modern .sheet :is(.color-picker legend,.color-option strong,.color-option small,#profileSaintChosen){color:#63516f}
/* Stronger type hierarchy and explicit ink/surface pairs for every reading view. */
body.modern{--text:#2b2032;--muted:#56475f;--gold:#795519;--gold2:#684714}
body.modern .page:not(#chapel){color:#2b2032}
body.modern :is(h1,h2,h3,h4,h5){font-weight:700;letter-spacing:normal}
body.modern :is(.primary,.secondary,.pray-btn,.text-link,.chip),
body.modern #home :is(.primary,.secondary,.text-link,.pray-btn),
body.modern #prayerFeed .pray-btn{font-size:1.125rem!important;font-weight:700!important;line-height:1.45;min-height:52px}
body.modern #home .compose-actions{gap:12px}
body.modern #home .compose-actions button{font-size:1.125rem!important;font-weight:700!important;padding:14px 12px}
body.modern #home .compose-heading h1{font-size:1.875rem;color:#35203f}
body.modern #home .quick strong{font-size:1.0625rem!important;font-weight:700!important;color:#4c315c}
body.modern #home .quick .quick-link{min-width:0;min-height:64px;overflow-wrap:anywhere}
body.modern #home .section-head h2,body.modern #heartStart h2{font-size:1.75rem!important;color:#382143}
body.modern #homeFeed .prayer>p,body.modern #prayerFeed .prayer>p{font:500 1.3125rem/1.65 system-ui,sans-serif!important;color:#302036!important}
body.modern .prayer .meta strong{font-size:1.125rem;font-weight:750;color:#42274f}
body.modern .prayer .meta small,body.modern .wall-report{font-size:1rem;color:#56475f}
body.modern .pray-btn{border-color:#c2abd0!important}
body.modern .today-copy p{font-size:1.125rem!important;color:#44314e!important}
body.modern #saintGrid .saint-info small{font-size:1rem!important;color:#56475f}
body.modern #saintGrid .saint-info strong{font-weight:700!important;color:#382143}
body.modern #home .stats [data-i],body.modern .visitor-counter{font-size:1rem!important;color:#56475f!important}
body.modern #profile .profile-menu .secondary,body.modern #profile .profile-menu .secondary span{font-size:1.125rem!important;font-weight:700;color:#42294f}
body.modern #profile :is(.guardian-card p,.profile-signin small,.personal-quote>p){font-size:1rem;color:#56475f!important}
body.modern :is(.field label,.sanctuary-panel label,.sheet label){font-size:1.0625rem;font-weight:650;color:#44314e}
body.modern :is(.field input,.field textarea,.field select,.search,.devotion-select,.devotion-search){font-size:1.125rem!important;color:#2b2032!important}
body.modern .modal .sheet :is(p,.eyebrow,legend){color:#4d365a;font-size:1.0625rem}
body.modern .modal .sheet :is(.chapel-theme-group,.gift-light-symbol,.saint-prayer-symbol){color:#795519}
body.modern .modal .sheet :is(.gift-link,.gift-link-input){background:#fff;color:#35203f;border-color:#bda6c8}
body.modern .heart-choice,body.modern .sanctuary-link{font-size:1.0625rem!important;font-weight:650;color:#4c315c}
body.modern .sanctuary-route-links a{font-size:1.0625rem;font-weight:650;color:#593566;text-decoration:underline;text-underline-offset:4px}
body.modern #profile .devotion-panel :is(.holiday-name,.holiday-section-title,.holiday-expand,.holiday-card time,.holiday-description h5,.holiday-sources a,.rosary-progress,.rosary-mystery){color:#543363!important}
body.modern #profile .devotion-panel :is(.holiday-description p,.holiday-intro,.holiday-note,.holiday-sources){color:#302036!important}
body.modern #profile .devotion-panel .holiday-card{background:#fff!important;border-color:#c6b4d0!important}
body.modern #profile .devotion-panel .holiday-featured{background:#f0e7f5!important;border-color:#89619e!important}
/* Preserve the Bible's deliberate dark/light reader switch, with matching text. */
body.modern #profile .devotion-panel .bible-reader{background:#292130;color:#fff8ef}
body.modern #profile .devotion-panel .bible-reader :is(h4,p,blockquote,.eyebrow,a){color:#fff8ef!important}
body.modern #profile .devotion-panel .bible-reader.bible-light{background:#fff;color:#302036}
body.modern #profile .devotion-panel .bible-reader.bible-light :is(h4,p,blockquote,.eyebrow,a){color:#302036!important}
body.modern #profile .devotion-panel .bible-source{font-size:1rem!important}
body.modern #profile .devotion-panel :is(.rosary-card,.prayer-reading){background:#fff!important;color:#302036!important;border-color:#c6b4d0}
body.modern #profile .devotion-panel :is(.rosary-prayer,.prayer-reading p){font-size:1.3125rem;line-height:1.8;color:#302036!important}
body.modern .bottom .nav-btn,body.modern header .bottom .nav-btn{font-size:1rem!important;font-weight:700!important;color:#543661!important}
body.modern header .bottom .nav-btn{color:#fff!important}
body.modern .bottom{height:calc(88px + env(safe-area-inset-bottom))}
body.modern .bottom .nav-btn.active{background:#e8d8f1!important;color:#482758!important}
body.modern header .bottom .nav-btn.active{background:#ffffff1c!important;color:#ffe3a6!important}
body.modern .lang{font-size:1rem;font-weight:700}
body.modern #chapel .chapel-note{color:#fff5e3;font-size:1.0625rem!important;background:#18131cdb;border-radius:12px;padding:14px!important}
body.modern #chapel :is(.chapel-theme-open,.chapel-music){color:#fff1d4!important;background:#211624e8!important;border-radius:10px;padding:10px 12px;font:650 1.125rem/1.45 system-ui!important}
body.modern #chapel .candle-dedication :is(h3,p,small,.eyebrow){color:#fff1d4!important}
body.modern #chapel .candle-dedication small{font-size:1rem}
body.modern .quiet-overlay :is(h2,p,.quiet-clock){color:#fff8e9}
@media(max-width:899px){body.modern .app{padding-bottom:calc(104px + env(safe-area-inset-bottom))}body.modern .bottom .nav-btn{padding:8px 2px;overflow-wrap:anywhere}body.modern .section-head{flex-wrap:wrap}}
@media(max-width:420px){body.modern .bottom .nav-btn{font-size:.9375rem!important}body.modern #home .compose-actions{grid-template-columns:1fr}body.modern #home .compose-heading h1{font-size:1.75rem}body.modern #home .quick strong{font-size:1rem!important}body.modern #homeFeed .prayer,body.modern #prayerFeed .prayer{padding:18px!important}}
/* Explicit foregrounds beat the old gold theme, including nested link labels. */
body.modern #home .quick .quick-link,
body.modern #home .quick .quick-link strong,
body.modern #home .quick .quick-link:hover strong,
body.modern #home .section-head h2,
body.modern #home .section-head h2 *,
body.modern #heartStart h2,
body.modern .page.sanctuary-section>h1,
body.modern .page.sanctuary-section>h2,
body.modern .bohnice-card h2{color:#382143!important;-webkit-text-fill-color:#382143!important;text-shadow:none!important;opacity:1!important}
body.modern #home .section-head p{color:#56475f!important}

/* The opening actions share the same full-width, clearly outlined treatment. */
body.modern #home .home-compose .compose-gift{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:12px 0 0;padding:14px 18px;min-height:54px;border:2px solid #a183b2!important;border-radius:13px;background:#eee5f4!important;color:#4b2d5e!important;font-size:1.125rem!important;font-weight:700!important;text-decoration:none}
body.modern #home .home-compose .compose-gift:hover{background:#e4d5ed!important;border-color:#725084!important}
body.modern #home .home-compose{padding-top:22px;padding-bottom:18px}
/* Status cards: a circular identity, rounded reading panel and clear sample label. */
body.modern #homeFeed .prayer.status-card,
body.modern #prayerFeed .prayer.status-card{border:1px solid #d9cce2!important;border-radius:22px!important;background:#fff!important;box-shadow:0 6px 22px #38214308!important;padding:22px!important;overflow:hidden}
body.modern .status-heading{display:flex;align-items:center;gap:13px}
body.modern .status-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#eadff1;color:#583568;font:700 25px/1 Georgia,serif}
body.modern .status-identity{display:flex;flex-direction:column;gap:3px;min-width:0}
body.modern .status-identity strong{color:#382143;font:750 18px/1.4 system-ui}
body.modern .demo-badge{font:600 14px/1.4 system-ui;color:#675273}
body.modern .demo-1 .status-avatar{background:#e0ecef;color:#31596b}
body.modern .demo-2 .status-avatar{background:#f3e8d5;color:#70501d}
body.modern .status-footer{border-top:1px solid #e8dfed;margin-top:18px;padding-top:9px;display:flex;justify-content:flex-end}
body.modern .status-footer .text-link{padding:6px 0!important;min-height:44px!important}
body.modern #homeFeed .status-card>p,body.modern #prayerFeed .status-card>p{margin:20px 0 10px;font-size:1.25rem!important;line-height:1.65}
body.modern .status-card .meta{justify-content:flex-start}
body.modern .status-card .meta small{margin-left:auto}
@media(max-width:420px){body.modern #homeFeed .prayer.status-card,body.modern #prayerFeed .prayer.status-card{padding:18px!important}}
/* One readable sans-serif family throughout, like the supplied reference.
   Important layer takes precedence over legacy unlayered font shorthands. */
@layer chapel-typography {
 body.modern,body.modern *{font-family:Arial,Helvetica,sans-serif!important}
 body.modern :is(h1,h2,h3,h4,h5,h6),body.modern header .brand{font-weight:800!important;letter-spacing:-.025em!important;line-height:1.2!important}
 body.modern :is(p,blockquote){line-height:1.65!important}
 body.modern :is(.saint-info strong,.today-copy h3){font-weight:750!important}
}
body.modern .status-footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center}
body.modern .status-card .pray-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;max-width:100%;text-align:left}
body.modern .prayer-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:3px 9px;background:#e2d1ed;color:#482758;border-radius:999px;font:750 17px/1.25 Arial,sans-serif;flex-shrink:0;font-variant-numeric:tabular-nums}
body.modern .pray-btn.on .prayer-count{background:#fff;color:#573369}
@media(max-width:520px){body.modern .status-footer>.pray-btn{width:100%}body.modern .status-footer>.text-link{margin-left:auto}}
