/* Dark mode must reset the explicit text fill used by legacy headings. */
body.modern.chapel-night :is(#profile,#family,#chapel,#myChapel) :is(h1,h2,h3,h4,h5,h6,p,label,small,summary,blockquote,.muted,.eyebrow){color:#fff!important;-webkit-text-fill-color:currentColor!important}
body.modern.chapel-night :is(#profile,#family,#chapel,#myChapel) *{-webkit-text-fill-color:currentColor!important}
body.modern.chapel-night :is(#profile,#family,#chapel,#myChapel) :is(.secondary,.primary,.chip,.text-link,.sanctuary-link,.account-link){color:#fff!important}
body.modern.chapel-night :is(#profile,#family,#chapel,#myChapel) :is(.primary,.secondary,.chip){background:#352443!important;border-color:#80628e!important}
body.modern.chapel-night :is(#profile,#family) :is(.devotion-panel,.prayer-reading,.bible-reader:not(.bible-light),.rosary-card,.holiday-card,.holiday-featured,.family-memory,.sanctuary-panel){background:#17131b!important;color:#fff!important;border-color:#6c5579!important}
body.modern.chapel-night #profile .bible-reader.bible-light,body.modern.chapel-night #profile .bible-reader.bible-light :is(p,blockquote,span){background:#fff!important;color:#222!important}
body.modern.chapel-night #profile :is(.menu-count,.menu-symbol,.devotion-panel strong,.personal-room-title>span){color:#f2e8f7!important}
/* A fixed width and a level base: only the wax height burns down. */
#chapel #candles .votive.is-mine:after{display:none!important}
#chapel #candles .votive .candle{height:var(--wax-height,106px)!important;top:calc(134px - var(--wax-height,106px))!important;width:43px!important;left:calc(50% - 21.5px)!important;transform:none!important}
#chapel #candles .votive .wax-body{display:block;height:100%;width:100%;overflow:hidden;filter:contrast(1.13) drop-shadow(2px 3px 2px #0008)}
#chapel #candles .votive .candle-wax-photo{display:block;width:43px;height:106px!important;max-width:none;object-fit:fill;object-position:top}
body.modern .own-candle .own-wax,body.modern .family-altar-candle .family-wax{height:var(--wax-height,88px)!important;width:32px!important;margin-top:calc(112px - var(--wax-height,88px))!important;transform:none!important}
body.modern :is(.own-wax,.family-wax) .wax-body{display:block;height:100%;width:100%;overflow:hidden;filter:contrast(1.13)}
body.modern :is(.own-wax,.family-wax) .wax-body img{width:32px!important;height:88px!important;max-width:none;object-fit:fill}
