/* K152 · Devocionales (pagina publica): el azul marino pasa a vino rubi; el borde dorado se conserva. Solo estilos. Revertir: quitar el <link> de devocionales-k152.css en devocionales.html. */
html body.devotionalPage{background:linear-gradient(180deg,#1b060d 0,#2b0a14 30%,#3d0c1a 55%,#f7efdf 55.1%,#fffaf0 88%,#1a070e 88.1%)!important}
html body.devotionalPage .devChrist{background:linear-gradient(180deg,#6a0f1d 0%,#3a0a14 100%)!important;border-color:#e2bd56!important}
html body.devotionalPage .todayCard{background:linear-gradient(165deg,rgba(255,214,140,.14),rgba(255,255,255,.03) 55%,rgba(20,0,6,.28))!important}
html body.devotionalPage .devBtn.ghost{background:linear-gradient(180deg,rgba(150,22,48,.55),rgba(60,6,22,.78))!important;border:2px solid #f3cd68!important;color:#ffe9a8!important;box-shadow:inset 0 2px 0 rgba(255,244,205,.3),0 3px 0 #8a5c12,0 6px 12px rgba(0,0,0,.4)!important}

/* K170 · Ventana del devocional: empieza DEBAJO de la cabecera Renacer (logo, atras y foto siempre visibles), nunca cortada por la isla del iPhone. */
html body dialog.devModal{position:fixed;inset:auto 0 auto 0;top:calc(env(safe-area-inset-top,0px) + 72px);margin:0 auto;width:min(680px,calc(100vw - 20px));max-height:calc(100dvh - env(safe-area-inset-top,0px) - 72px - env(safe-area-inset-bottom,0px) - 12px)}
html body .devModal .devModalShell{max-height:calc(100dvh - env(safe-area-inset-top,0px) - 72px - env(safe-area-inset-bottom,0px) - 12px)}
html body .devModal::backdrop{background:linear-gradient(180deg,rgba(2,10,28,0) 0,rgba(2,10,28,0) calc(env(safe-area-inset-top,0px) + 66px),rgba(2,10,28,.72) calc(env(safe-area-inset-top,0px) + 66px));-webkit-backdrop-filter:none;backdrop-filter:none}
html body .devModal .devModalTop{position:sticky;top:0;z-index:2;background:inherit;background:linear-gradient(180deg,#123a72,#0f3468);padding:12px 14px 12px 18px;font-size:11px}
html body .devModal .devModalTop{top:0!important}
