/* v3.49 Today's Prayer (hero) + moved welcome block */
.prayer { max-width: 40rem; margin: clamp(1.4rem, 3vh, 2rem) auto 0; padding: clamp(1rem, 2.4vw, 1.5rem) clamp(1.1rem, 3vw, 2rem);
  background: rgba(8,11,18,.40); border: 1px solid rgba(232,199,102,.45); text-align: left; text-shadow: 0 1px 12px rgba(4,6,10,.9); }
.prayer[hidden] { display: none; }
.prayer-h { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 4vw, 1.9rem); line-height: 1.2; color: var(--cream); }
.prayer-meta { margin: .35rem 0 0; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.prayer-theme { margin: .5rem 0 0; font-family: var(--serif); font-size: 1.125rem; color: var(--cream); }
.prayer-text { margin-top: .7rem; font-size: 1rem; line-height: 1.6; color: var(--cream); }
.prayer-text p { margin: 0 0 .6em; }
.prayer-ver { margin: .7rem 0 0; font-size: .8125rem; color: var(--gold-lt); }
.prayer-more { display: none; margin-top: .5rem; min-height: 44px; padding: 0; background: none; border: 0; color: var(--gold-hi); font: inherit; font-size: .9375rem; text-decoration: underline; cursor: pointer; }
.welcome { position: relative; z-index: 2; text-align: center; padding: clamp(3.5rem, 9vw, 6rem) 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(16,32,64,.9), rgba(16,32,64,0) 72%), var(--ink); }
.welcome .lead { margin-top: 0; }
.welcome .hero-addr { color: var(--cream); }
.welcome .actions { align-items: stretch; max-width: 22rem; margin-inline: auto; }

/* v3.49b welcome block inside The House, under the heading */
.chapter .welcome { padding: 0; background: none; margin-top: 1.25rem; text-align: left; }
.chapter .welcome .actions { margin-inline: 0; }



/* v3.50b prayer text scrolls inside the card; header stays put */
.prayer-more { display: none !important; }
.prayer-text { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; max-height: max(8rem, calc(100svh - 24rem));
  padding-right: .6rem; scrollbar-width: thin; scrollbar-color: rgba(232,199,102,.55) transparent; }
.prayer-text::-webkit-scrollbar { width: 6px; }
.prayer-text::-webkit-scrollbar-thumb { background: rgba(232,199,102,.55); border-radius: 3px; }
.prayer-text::-webkit-scrollbar-track { background: transparent; }
.prayer-text:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
.prayer.has-more .prayer-text { -webkit-mask-image: linear-gradient(#000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(#000 calc(100% - 2.5rem), transparent); }

/* v3.51 shorter card: tighter header, text box capped (~190px; set in prayer.js) */
.prayer-meta { margin-top: .2rem; }
.prayer-theme { margin-top: .3rem; line-height: 1.35; }
.prayer-text { margin-top: .5rem; }
.hero-pause { display: none !important; }

/* v3.51b lighter card: more see-through, text kept readable with a stronger shadow and a light blur */
.prayer { background: rgba(8,11,18,.22); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  text-shadow: 0 1px 3px rgba(4,6,10,.95), 0 1px 14px rgba(4,6,10,.9); }

/* v3.52 no border, lighter card: background .10, blur 4px, slightly stronger shadow */
.prayer { border: 0; box-shadow: none; background: rgba(8,11,18,.10); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  text-shadow: 0 1px 3px rgba(4,6,10,1), 0 1px 16px rgba(4,6,10,.95); }

/* v3.52b card lives in The House, under the heading (hero back to v3.48 sizes) */
.chapter-house .prayer { max-width: 36rem; margin: 1.1rem 0 0; padding: .9rem 1.1rem .8rem; }
.chapter-house .prayer-h { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.chapter-house .prayer-theme { font-size: 1rem; }
.chapter-house .prayer-text { font-size: 1rem; line-height: 1.55; }
.chapter-house .prayer-text p { margin: 0 0 .5em; }
