/* V19: exact targeted improvements; all other V18/V15 sections retained. */
/* Letter 05: dark plum frame and deckle-edged parchment with brighter reading surface. */
.letters-fifteen .v17-letter-sheet{
  position:relative;
  background:#493249;
  border:1px solid rgba(244,223,202,.24);
  border-radius:20px;
  padding:57px clamp(47px,4.5vw,78px) 44px;
  box-shadow:0 10px 25px rgba(44,23,46,.24);
  isolation:isolate;
  color:#493844;
}
.letters-fifteen .v17-letter-sheet::before{
  content:"";
  position:absolute;
  inset:18px 16px;
  background:url('assets/parchment-v19.png') center / 100% 100% no-repeat;
  filter:drop-shadow(0 6px 10px rgba(26,10,21,.28));
  z-index:-1;
  pointer-events:none;
}
.letters-fifteen .v17-sheet-kicker{color:#7c5755}
.letters-fifteen .v17-sheet-header h4{color:#513444}
.letters-fifteen .v17-sheet-header h4 em{color:#a66a7b}
.letters-fifteen .v17-sheet-header>p{color:#805f68}
.letters-fifteen .v17-line{color:#3c3037;font-size:clamp(17px,1.26vw,19px);line-height:1.5;padding:7px 10px}
.letters-fifteen .v17-line.v17-past{color:#76636a}
.letters-fifteen .v17-line.v17-active{background:rgba(143,78,118,.20);box-shadow:inset 3px 0 0 #995f86;color:#3c2b3d}
.letters-fifteen .v17-transcript{scrollbar-color:#b28591 rgba(120,74,77,.08)}
.letters-fifteen .v17-paper-footer{color:#684951;border-top-color:rgba(118,68,73,.32)}
.letters-fifteen .v17-reading-toggle{color:#603e56}
@media(max-width:690px){
  .letters-fifteen .v17-letter-sheet{padding:51px 32px 33px}
  .letters-fifteen .v17-letter-sheet::before{inset:11px 9px}
  .letters-fifteen .v17-line{font-size:17px;padding:7px 7px}
}
@media(max-width:410px){
  .letters-fifteen .v17-letter-sheet{padding:45px 28px 30px}
  .letters-fifteen .v17-sheet-header h4{font-size:28px}
}
/* Scripture — generous illustration and stronger editorial typography. No stars. */
.story-page .scripture-v19{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  align-items:stretch;
  gap:clamp(24px,3.8vw,54px);
  background:linear-gradient(130deg,#e5dbe0 0%,#faf4ed 56%,#f8eddf 100%);
  padding-top:clamp(70px,6.1vw,95px);
  padding-bottom:clamp(70px,6.1vw,95px);
}
.story-page .scripture-v19-art{
  position:relative;overflow:hidden;border-radius:17px;
  box-shadow:0 20px 36px rgba(53,30,45,.22);
  margin:0;background:#554352;min-height:575px;
}
.story-page .scripture-v19-art img{
  width:100%;height:100%;min-height:575px;object-fit:cover;object-position:center;
  filter:saturate(.91) contrast(1.05);
}
.story-page .scripture-v19-art::after{
  content:"";position:absolute;inset:38% 0 0;
  background:linear-gradient(0deg,rgba(26,15,26,.90),transparent);
  pointer-events:none;
}
.story-page .scripture-v19-art-label{
  position:absolute;z-index:1;left:clamp(23px,3vw,43px);right:25px;bottom:clamp(25px,3vw,45px);
  color:#f9f0e4;display:flex;flex-direction:column;gap:8px;
}
.story-page .scripture-v19-art-label span{font:750 12px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.17em;color:#f0c78f}
.story-page .scripture-v19-art-label strong{font:400 clamp(25px,2.5vw,38px)/1.13 Georgia,'Times New Roman',serif;max-width:480px}
.story-page .scripture-v19-content{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:6px 0 0}
.story-page .scripture-v19-content>.eyebrow{margin-bottom:14px;color:#925662;font-size:12px}
.story-page .scripture-v19-content h2{font-size:clamp(39px,4vw,60px);line-height:1.03;color:#35243e;margin:0 0 16px}
.story-page .scripture-v19-ref{display:inline-block;color:#784b61;font-size:19px;font-weight:600;margin:0 0 25px}
.story-page .scripture-v19-ref strong{color:#49334f}
.story-page .scripture-v19-content h3{font-size:clamp(23px,2vw,30px);line-height:1.18;color:#493348;margin:0 0 14px}
.story-page .scripture-v19-lead{font-size:clamp(17px,1.4vw,20px);line-height:1.58;color:#544853;margin:0 0 22px}
.story-page .scripture-v19-details{border-top:1px solid rgba(111,74,96,.27)}
.story-page .scripture-v19-detail{padding:14px 0;border-bottom:1px solid rgba(111,74,96,.20)}
.story-page .scripture-v19-detail strong{display:block;font:800 11px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.13em;color:#9b5e59;margin-bottom:5px}
.story-page .scripture-v19-detail p{font-size:16px;line-height:1.48;color:#514750}
@media(max-width:960px){
  .story-page .scripture-v19{grid-template-columns:1fr}
  .story-page .scripture-v19-art{min-height:400px}
  .story-page .scripture-v19-art img{height:440px;min-height:0}
  .story-page .scripture-v19-content{padding-top:8px}
}
@media(max-width:520px){
  .story-page .scripture-v19-art{min-height:295px}
  .story-page .scripture-v19-art img{height:300px}
  .story-page .scripture-v19-art-label strong{font-size:24px}
  .story-page .scripture-v19-content h2{font-size:40px}
  .story-page .scripture-v19-detail p{font-size:16px}
}
/* Exact homepage book component reused verbatim. No custom book illustration. */
.story-page .v19-book-component{display:block}
.story-page .v19-book-component .collection-book-section{width:100%}

/* Keep the current spoken paragraph crisp; avoid visual highlight lag. */
.letters-fifteen .v17-line{transition:background .08s linear,color .08s linear,box-shadow .08s linear}
