/* Quiet color separation, clear social cards and generous reading space. */
body.modern{background:#f1f0f3!important;--bg:#f1f0f3;--panel:#fff;--panel2:#f5f1f7;--text:#302735;--muted:#65576d;--line:#e0d9e5}
body.modern #homeFeed .prayer.status-card,body.modern #prayerFeed .prayer.status-card{border:1px solid #e1dae6!important;box-shadow:0 4px 18px #33243e06!important;border-radius:22px!important;background:#fff!important}
body.modern #homeFeed .prayer.status-card:nth-child(3n+2),body.modern #prayerFeed .prayer.status-card:nth-child(3n+2){background:#f9f6fc!important}
body.modern #homeFeed .prayer.status-card:nth-child(3n+3),body.modern #prayerFeed .prayer.status-card:nth-child(3n+3){background:#f5f8f9!important}
body.modern .status-avatar{background:#eee6f3;color:#604271;box-shadow:0 0 0 4px #ffffff,0 0 0 5px #d8c8e2}
body.modern .status-heading,body.modern .status-card .meta{padding:3px 0 8px;gap:14px}
body.modern .status-footer{border-top:1px solid #e5dfe9}
body.modern .community-panel,body.modern .sanctuary-panel,body.modern .profile-card{background:#fff!important;border-color:#dfd8e4!important;box-shadow:0 3px 16px #30223705!important}
body.modern #profile .profile-menu .secondary:nth-child(3n+1){background:#f8f4fc!important}
body.modern #profile .profile-menu .secondary:nth-child(3n+2){background:#f3f8f8!important}
body.modern #profile .profile-menu .secondary:nth-child(3n){background:#fffcf6!important}
body.modern #profile .profile-menu .secondary.family-menu-card{background:#faf5e9!important}
body.modern .chapel-appearance-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px;padding:12px 14px;background:#fff;border:1px solid #e0d9e5;border-radius:16px;color:#65576d;font-size:15px}
body.modern #chapel>.chapel-appearance-bar{margin:18px 16px}
body.modern .chapel-appearance-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:24px;padding:10px 15px;border:1px solid #d0c1da;background:#f4edf8;color:#4b315c;font-size:16px;font-weight:700;flex-shrink:0}
body.modern #family .family-room-title,body.modern .personal-room-title{padding:22px 2px 4px;text-align:left}
body.modern #family .family-room-title h2,body.modern .personal-room-title h2{color:#342438!important;text-shadow:none!important;margin:9px 0 12px!important;font-size:clamp(25px,5vw,34px)!important}
body.modern #family .family-room-title>span,body.modern .personal-room-title>span{color:#6a5a72!important;font-size:15px!important}
body.modern .chapel-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 4px}
body.modern .chapel-metrics>span{display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:12px;background:#fff;border:1px solid #e0d9e5;color:#65576d!important;font-size:15px!important}
body.modern .chapel-metrics strong{font-size:21px;color:#493153}
body.modern .family-chapel-room{justify-content:flex-end;min-height:620px;min-height:min(720px,83svh);background-position:center 42%}
body.modern .family-chapel-room:before{background:linear-gradient(transparent 35%,#0e0a1230 58%,#100b12ed 100%)}
body.modern .family-altar-candles{margin-top:220px}
/* The preference changes the surrounding surface; chapel pictures keep their light. */
body.modern.chapel-night{background:#070708!important;--bg:#070708;--panel:#141316;--panel2:#1d1921;--text:#fff;--muted:#d2c9d8;--line:#39303f;color:#fff}
body.modern.chapel-night .app,body.modern.chapel-night .page:not(#chapel){color:#fff!important;background:transparent!important}
body.modern.chapel-night :is(h1,h2,h3,h4,p,label,small,blockquote,.muted,.account-note,.privacy-label,.image-credit,.eyebrow,.family-room-note){color:#fff!important}
body.modern.chapel-night :is(.profile-card,.sanctuary-panel,.family-memory,.community-panel,.guardian-card,.personal-patron,.own-patron,.personal-quote,.personal-reflections section,.profile-signin,.own-candle,.devotion-panel,.prayer-reading,.daily-card,.profile-empty,.sheet){background:#141316!important;color:#fff!important;border-color:#39313f!important;box-shadow:none!important}
body.modern.chapel-night :is(.profile-menu .secondary,.secondary,.community-nav button,.heart-choice,.sanctuary-link,.chip){background:#1c1721!important;color:#fff!important;border-color:#493953!important}
body.modern.chapel-night #profile .profile-menu .secondary:nth-child(n){background:#17141b!important;color:#fff!important;border-color:#3e3148!important}
body.modern.chapel-night #profile .profile-menu .secondary:nth-child(3n+2){background:#131a1b!important}
body.modern.chapel-night #profile .profile-menu .secondary:nth-child(3n){background:#1c1813!important}
body.modern.chapel-night #profile .profile-menu .secondary span{color:#fff!important}
body.modern.chapel-night #profile .profile-menu .secondary .menu-count{color:#d2c9d8!important}
body.modern.chapel-night #profile .profile-menu .secondary .menu-symbol{background:#302539!important;color:#edd4a3!important}
body.modern.chapel-night :is(input,textarea,select){background:#09090b!important;color:#fff!important;border-color:#5a4a65!important;color-scheme:dark}
body.modern.chapel-night :is(input,textarea)::placeholder{color:#c4b8cc!important}
body.modern.chapel-night :is(.chapel-appearance-bar,.chapel-metrics>span){background:#141316;color:#fff!important;border-color:#39313f}
body.modern.chapel-night .chapel-appearance-toggle{background:#2a2032;color:#fff;border-color:#655173}
body.modern.chapel-night #family .family-room-title h2,body.modern.chapel-night .personal-room-title h2,body.modern.chapel-night #family .family-room-title>span,body.modern.chapel-night .personal-room-title>span,body.modern.chapel-night .chapel-metrics strong{color:#fff!important}
body.modern.chapel-night details.chapel-settings>summary{color:#fff}
body.modern.chapel-night .family-theme-option{background:#221c28!important}
body.modern.chapel-night .family-theme-option span{color:#fff!important}
body.modern.chapel-night .family-theme-option:has(input:checked){border-color:#c4a5db;background:#392943!important}
body.modern.chapel-night .bottom{background:#111014!important;border-color:#39313f!important}
body.modern.chapel-night .bottom .nav-btn,body.modern.chapel-night .bottom .nav-btn :is(i,span){color:#eee6f4!important}
body.modern.chapel-night .bottom .nav-btn.active{background:#382742!important;color:white!important}
body.modern.chapel-night :is(.text-link,.account-link,a){color:#e0c6f2!important}
body.modern.chapel-night #familyDedication{background:#17131b;color:#fff;border-color:#6d526d}
body.modern.chapel-night .family-room-actions .primary{color:#302016!important}
@media(max-width:600px){body.modern .chapel-appearance-bar{font-size:14px;padding:10px;gap:8px}body.modern .chapel-appearance-toggle{font-size:15px;padding:9px 12px}body.modern .family-chapel-room{min-height:560px}body.modern .family-altar-candles{margin-top:200px}body.modern #family .family-room-title{padding-top:18px}}
body.modern.chapel-night :is(.page,.modal,dialog) :is(input,textarea,select){background:#09090b!important;color:#fff!important;border-color:#5a4a65!important;color-scheme:dark}
body.modern.chapel-night :is(.page,.modal,dialog) :is(.field label,.sanctuary-panel label,.sheet label,.devotion-panel p,.personal-reflections p,.guardian-card p){color:#fff!important}
body.modern.chapel-night :is(.page,.modal,dialog) .primary{color:#fff!important}
body.modern.chapel-night .page .family-room-actions .primary{color:#302016!important}
