#profile .profile-card,#profile .profile-menu .secondary,#profile #personalContent>.devotion-panel{border:2px solid #d8ad61;outline:1px solid #ffe2a066;outline-offset:-6px;box-shadow:0 0 0 1px #4b3218,0 7px 24px #0005,inset 0 0 22px #d6a7460b}
#profile .profile-menu .secondary{background:radial-gradient(ellipse at top right,#c08c2d27,transparent 70%),linear-gradient(145deg,#2b2117,#15120f)}
#profile #personalContent{margin-top:24px}
.devotion-panel{position:relative;padding:24px;border-radius:24px;background:radial-gradient(ellipse at 80% 0,#9d6d2528,transparent 48%),#18130f;color:#f8edd7;text-align:left}
.devotion-panel h3{margin:4px 48px 8px 0;font:500 clamp(30px,8vw,43px)/1.1 'Cormorant Garamond',Georgia,serif;color:#ffe2a1}
.devotion-panel h4{margin:8px 0;font:600 27px/1.2 'Cormorant Garamond',Georgia,serif;color:#ffe4ad}
.devotion-panel p{font:19px/1.7 Georgia,serif}
.devotion-close{position:absolute;right:14px;top:14px;width:44px;height:44px;border:1px solid #d0a85d;border-radius:50%;background:#17110d;color:#ffe2a0;font-size:25px}
.devotion-select,.devotion-search{width:100%;min-height:52px;margin:12px 0;padding:12px 14px;border:1px solid #d0a85d;border-radius:14px;background:#120f0d;color:#fff0d0;font:17px Georgia,serif}
.daily-prayer-banner{margin:18px 0;padding:17px;border:1px solid #f0c86e;border-radius:18px;background:#382816;color:#fff0c9}
.daily-prayer-banner strong{display:block;font:600 22px 'Cormorant Garamond',Georgia,serif}
.prayer-reading{min-height:245px;padding:22px;margin:16px 0;border:1px solid #9f7b45;border-radius:18px;background:#100d0b;white-space:pre-line}
.prayer-reading p{font-size:20px;line-height:1.85;margin:0}
.devotion-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.devotion-actions .primary{grid-column:1/-1}
.bible-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.bible-mode{width:auto;min-height:46px;padding:10px 15px}
.bible-reader{padding:25px;margin-top:16px;border:1px solid #a78045;border-radius:18px;background:#120f0c;color:#f6ead5;transition:background .2s,color .2s}
.bible-reader blockquote{margin:18px 0 0;font:21px/1.9 Georgia,serif;white-space:pre-line}
.bible-reader.bible-light{background:#fffdf7;color:#211c17;border-color:#b18849;box-shadow:0 5px 24px #0003}
.bible-reader.bible-light h4,.bible-reader.bible-light .eyebrow{color:#6c4719}.bible-source{font-size:14px!important;color:#bba98a}.bible-light .bible-source{color:#665b4d}.bible-source a{color:#e6bd72}.bible-light .bible-source a{color:#704a18}
.rosary-progress{margin:16px 0;color:#e8cf9e}.rosary-strand{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:18px 8px 22px;scrollbar-color:#d3a95c #24180e}
.rosary-bead{flex:0 0 23px;width:23px;height:23px;padding:0;border:2px solid #d2ab66;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3bd,#b48031 45%,#4d2e10 80%);box-shadow:0 2px 6px #0008;color:transparent}
.rosary-bead.large{flex-basis:31px;width:31px;height:31px}.rosary-bead.cross{flex-basis:42px;width:42px;height:42px;border-radius:8px;color:#ffe6a8;background:#24170d;font:27px Georgia,serif}
.rosary-bead.done{filter:saturate(.6);opacity:.52}.rosary-bead.current{outline:3px solid #fff0a7;outline-offset:4px;box-shadow:0 0 20px #ffc95f}
.rosary-card{min-height:300px;padding:22px;border:1px solid #c49a55;border-radius:20px;background:linear-gradient(145deg,#2e2116,#120e0b)}
.rosary-card .rosary-prayer{white-space:pre-line;font:20px/1.8 Georgia,serif}.rosary-mystery{color:#f0c978;font:600 18px/1.5 Georgia,serif}
@media(max-width:520px){.devotion-panel{padding:20px 14px}.devotion-actions{grid-template-columns:1fr}.devotion-actions .primary{grid-column:auto}.prayer-reading,.bible-reader,.rosary-card{padding:18px 15px}.profile-menu{grid-template-columns:1fr 1fr!important}.profile-menu .secondary{min-height:120px!important;padding:14px!important}.profile-menu .menu-symbol{margin:auto}}

.bible-full-link{display:block;text-align:center;text-decoration:none;margin:8px 0 22px}.rosary-strand{gap:12px;padding:14px 8px 18px}.rosary-bead,.rosary-bead.large,.rosary-bead.cross,.rosary-bead.closing{flex-basis:44px;width:44px;height:44px}.rosary-bead.closing{color:#ffe6a8;background:#24170d;font-size:22px}.devotion-panel{scroll-margin-top:100px}

#profile{padding-top:8px}
#profile>.section-head{margin-bottom:6px}
#profile>.section-head p{margin-top:0}
#profile.personal-reading>:not(#personalContent){display:none!important}
#profile.personal-reading #personalContent{margin-top:8px;scroll-margin-top:88px}

/* Feast calendar: readable on phones, with the current date first. */
.holiday-intro{font-size:22px;margin:0 0 20px;color:#e7d7b8}
.holiday-section-title{font-size:25px;line-height:1.3;color:#f4d387;margin:28px 0 14px}
.holiday-card{margin:12px 0;border:1px solid #9e8150;border-radius:17px;background:rgba(23,18,12,.92);overflow:hidden}
.holiday-card summary{position:relative;cursor:pointer;list-style:none;padding:18px 42px 18px 18px;min-height:64px;text-align:left}
.holiday-card summary::-webkit-details-marker{display:none}
.holiday-card summary:focus-visible{outline:3px solid #ffe2a0;outline-offset:-4px;border-radius:16px}
.holiday-card time{display:block;font-family:Georgia,serif;font-size:18px;color:#e3c895;margin-bottom:7px}
.holiday-name{display:block;font-size:clamp(24px,5.8vw,31px);line-height:1.3;color:#ffe0a0;overflow-wrap:anywhere}
.holiday-expand{position:absolute;right:17px;top:32px;font-size:24px;color:#efcd86}
.holiday-card[open] .holiday-expand{transform:rotate(180deg)}
.holiday-description{padding:0 18px 20px}
.holiday-description h5{font-size:20px;color:#edcc8a;margin:16px 0 5px}
.holiday-description p{font-family:Georgia,serif;font-size:21px;line-height:1.6;color:#f4ecd9;margin:0;overflow-wrap:anywhere}
.holiday-featured{border:2px solid #efcc80;background:linear-gradient(135deg,#382914,#1b1710)}
.holiday-note,.holiday-sources{font-family:Georgia,serif;font-size:17px;line-height:1.6;color:#d5c7ac;margin-top:25px}
.holiday-sources summary{cursor:pointer;padding:8px 0}
.holiday-sources a{display:block;color:#f3d795;padding:7px 0;overflow-wrap:anywhere}
.profile-light .holiday-card{background:#fffaf0;border-color:#937238}
.profile-light .holiday-featured{background:#fff0cb}
.profile-light .holiday-name,.profile-light .holiday-section-title{color:#694506}
.profile-light .holiday-description p,.profile-light .holiday-intro,.profile-light .holiday-note,.profile-light .holiday-sources{color:#35291a}
.profile-light .holiday-description h5,.profile-light .holiday-card time,.profile-light .holiday-sources a,.profile-light .holiday-expand{color:#75551c}

.devotion-source-links{display:grid;gap:8px;margin:16px 0 22px}.devotion-source-links>a{display:block;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere}.devotion-source-links>small{font-size:.85rem;opacity:.8}.devotion-source-links>p{margin:0;font-size:.9rem}
