/* Rosary mysteries: a centered, stationary illustration above the prayer text. */
body.guide-app #prayer .mystery-stage.rosary-mystery{
 --rosary-gold:#f5d254;
 grid-template-columns:minmax(0,1fr);
 grid-template-rows:auto minmax(0,38%) minmax(0,1fr) auto auto;
 gap:0;
}
body.guide-app #prayer .mystery-stage.rosary-mystery>.prayer-heading{
 grid-column:1;grid-row:1;
}
body.guide-app #prayer .mystery-stage.rosary-mystery>.mystery-visual{
 grid-column:1;grid-row:2;justify-self:center;align-self:stretch;
 width:100%;height:100%;min-height:0;min-width:0;
 margin:0;padding:12px 8px;display:grid;place-items:center;
 border:0;outline:0;box-shadow:none;background:none;
}
body.guide-app #prayer .mystery-stage.rosary-mystery>.mystery-visual .sacred-art{
 position:relative;inset:auto;display:flex;align-items:center;justify-content:center;
 width:fit-content;max-width:100%;height:100%;min-height:0;
 margin:0;padding:5px;overflow:hidden;
 border:3px double var(--rosary-gold);outline:1px solid #d0af62;outline-offset:3px;
 box-shadow:none;background:#102d45;
}
body.guide-app #prayer .mystery-stage.rosary-mystery .mystery-visual .sacred-art img{
 display:block;width:auto;height:100%;max-width:100%;max-height:100%;min-height:0;
 object-fit:contain;object-position:center;aspect-ratio:3/2;background:none;
}
body.guide-app #prayer .mystery-stage.rosary-mystery>.prayer-stream{
 grid-column:1;grid-row:3;position:relative;inset:auto;
 width:100%;min-width:0;min-height:0;padding:16px clamp(8px,3vw,40px) 16px;
 overflow-y:auto;overflow-x:hidden;
}
body.guide-app #prayer .mystery-stage.rosary-mystery>.media-player{grid-column:1;grid-row:4}
body.guide-app #prayer .mystery-stage.rosary-mystery>.stage-credit{grid-column:1;grid-row:5}
body.guide-app #prayer .mystery-stage.rosary-mystery .mystery-fruit{
 display:flex;flex-direction:column;align-items:center;gap:4px;
 margin:18px auto 0;padding:14px 8px;width:100%;max-width:640px;
 text-align:center;border:0;outline:0;background:none;
}
body.guide-app #prayer .mystery-stage.rosary-mystery .mystery-fruit>span{
 display:block;color:#fff;font:700 clamp(16px,2vw,21px)/1.4 Arial,sans-serif;
 text-align:center;text-transform:none;letter-spacing:0;
}
body.guide-app #prayer .mystery-stage.rosary-mystery .mystery-fruit>strong{
 display:block;margin:0;color:var(--rosary-gold);
 font:800 clamp(28px,3.5vw,44px)/1.18 Arial,sans-serif;
 text-align:center;text-transform:uppercase;letter-spacing:.02em;
 overflow-wrap:break-word;text-wrap:balance;
}
/* Word tracking inherits the label's white and the fruit's gold. */
body.guide-app #prayer .mystery-stage.rosary-mystery .mystery-fruit .prayer-cue{
 font:inherit;color:inherit;letter-spacing:inherit;
}
@media(max-height:500px){
 body.guide-app #prayer .mystery-stage.rosary-mystery{grid-template-rows:auto minmax(0,30%) minmax(0,1fr) auto auto}
 body.guide-app #prayer .mystery-stage.rosary-mystery>.mystery-visual{padding:7px 8px}
}
