/* SP21: one compact prayer desk; readable text and controls stay within reach. */
.rs13-guide{--rs-ink:#30271f;--rs-paper:#fffdf8;--rs-line:#dfd3bf;--rs-muted:#786955;--rs-red:#751f2f;box-sizing:border-box;margin:1.35rem 0 2rem;border:1px solid var(--rs-line);border-radius:16px;background:var(--rs-paper);color:var(--rs-ink);box-shadow:0 12px 40px #422b1110;padding:clamp(14px,1.8vw,24px);scroll-margin-top:1rem;min-width:0}
.rs13-guide *,.rs13-explanations *{box-sizing:border-box}.rs13-header{display:flex;position:static;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding:0;background:none;border:0;box-shadow:none}.rs20-heading{min-width:0}.rs13-header h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.5rem,2.8vw,2.15rem);line-height:1.15;margin:3px 0}.rs13-eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:.68rem;font-weight:700;color:var(--rs-muted);margin:0 0 5px}.rs13-subtitle{color:var(--rs-muted);font-size:.83rem;margin:5px 0 0}.rs13-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.rs13-controls>label{display:grid;gap:4px;max-width:100%;font-size:.75rem}.rs13-guide select{font:inherit;font-size:.87rem;border:1px solid var(--rs-line);border-radius:8px;padding:9px 12px;background:var(--rs-paper);color:var(--rs-ink);max-width:100%;min-height:42px}.rs13-options{position:relative;font-size:.83rem}.rs13-options summary{cursor:pointer;font-weight:600;padding:11px 8px;min-height:42px}.rs13-options>div{position:absolute;z-index:20;right:0;top:100%;display:grid;gap:12px;padding:16px;background:var(--rs-paper);border:1px solid var(--rs-line);box-shadow:0 8px 24px #30271f22;border-radius:10px;width:260px;max-width:calc(100vw - 42px)}.rs13-options label{display:flex;align-items:flex-start;gap:9px;font-size:.86rem;line-height:1.5}.rs13-options input{accent-color:var(--rs-red);margin-top:3px;width:18px;height:18px;flex-shrink:0}.rs13-position{font-size:.78rem;color:var(--rs-muted);line-height:1.4;margin:12px 0 6px}.rs13-guide progress{display:block;width:100%;height:4px;border:0;border-radius:20px;overflow:hidden;accent-color:var(--rs-red);background:var(--rs-line)}.rs13-guide progress::-webkit-progress-bar{background:var(--rs-line)}.rs13-guide progress::-webkit-progress-value{background:var(--rs-red)}
.rs13-stage{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(150px,.55fr) minmax(0,1.1fr);gap:clamp(14px,2vw,28px);height:clamp(420px,52svh,580px);margin:16px 0;align-items:stretch;min-height:0}.rs13-figure{margin:0;min-width:0;overflow:auto;scrollbar-width:thin}.rs13-image,.rs13-card-image{display:block;border:0!important;background:transparent!important;padding:0!important;border-radius:10px;overflow:hidden;width:100%;cursor:zoom-in}.rs13-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}.rs13-figure figcaption{padding:12px 3px 0}.rs13-figure h3{font-family:Georgia,'Times New Roman',serif;margin:0;font-size:1.15rem;line-height:1.3}.rs20-clause{font-family:Georgia,serif;line-height:1.5;font-size:1.03rem;margin:8px 0}.rs13-reference{color:var(--rs-muted,#786955);font-size:.75rem;letter-spacing:.02em;margin:6px 0}.rs20-meditation{font-size:.84rem;margin-top:9px}.rs20-meditation summary{cursor:pointer;color:var(--rs-red);padding:4px 0}.rs13-meditation{line-height:1.6;font-size:.86rem;color:var(--rs-muted);margin:8px 0}.rs13-prayer{padding:16px 20px;border:1px solid var(--rs-line);border-radius:12px;background:var(--rs-paper);min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.rs13-prayer h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.2rem,1.75vw,1.65rem);line-height:1.25;margin:4px 0 14px}.rs13-text{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.08rem,1.35vw,1.28rem);line-height:1.7;white-space:pre-line;margin:0}.rs13-latin{font-family:Georgia,'Times New Roman',serif;font-size:1rem;line-height:1.65;border-top:1px solid var(--rs-line);padding-top:14px;margin-top:18px;color:var(--rs-muted);white-space:pre-line}.rs13-latin[hidden]{display:none!important}
.rs20-chain{min-width:0;display:flex;flex-direction:column;align-items:center;min-height:0;text-align:center}.rs20-chain-holder{flex:1;min-height:0;width:100%}.rs20-chain svg{display:block;width:100%;height:100%;max-height:360px}.rs20-chain-line{fill:none;stroke:#b79b67;stroke-width:1.2}.rs20-bead{cursor:pointer}.rs20-bead-hit{fill:transparent}.rs20-bead-face{fill:#eee2c9;stroke:#a88b56;stroke-width:1.2}.rs20-bead.is-large .rs20-bead-face{fill:#c3a266;stroke:#927341;stroke-width:1.5}.rs20-bead.is-past .rs20-bead-face{fill:#bba77e;stroke:#947c50}.rs20-bead.is-current .rs20-bead-face{fill:var(--rs-red);stroke:#b88431;stroke-width:3;filter:drop-shadow(0 0 3px #ae762555)}.rs20-cross,.rs20-medal{cursor:pointer;fill:#bda06b;stroke:#886b37;stroke-width:1.5}.rs20-medal path{fill:none;stroke:var(--rs-paper);stroke-width:1.4}.rs20-cross.is-current,.rs20-medal.is-current{fill:var(--rs-red);stroke:#b88431;stroke-width:2.5}.rs20-chain-note{font-size:.7rem;color:var(--rs-muted);margin:4px 0 0;line-height:1.25}
.rs13-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--rs-line);padding-top:12px}.rs13-guide button,.rs13-mystery-card>div>button{font:inherit;font-size:.88rem;border:1px solid var(--rs-line,#d5c6ac);padding:10px 14px;border-radius:8px;cursor:pointer;line-height:1.25;background:var(--rs-paper,#fffdf8);color:var(--rs-ink,#30271f);min-height:44px}.rs13-guide button:disabled{opacity:.45;cursor:default}.rs13-guide .rs13-next{background:var(--rs-red);color:#fff;border-color:var(--rs-red);min-width:130px}.rs13-guide .rs13-restart{margin-left:auto}.rs13-save{font-size:.7rem;line-height:1.4;color:var(--rs-muted);margin:8px 0}.rs13-beads{margin:0;border-top:1px solid var(--rs-line);padding-top:5px;font-size:.8rem}.rs13-beads>summary{cursor:pointer;padding:6px 0}.rs13-help{font-size:.85rem;line-height:1.6;color:var(--rs-muted);max-width:85ch}.rs13-bead-row{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(0,2fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--rs-line);align-items:center}.rs13-bead-row h4{font-size:.9rem;line-height:1.5;margin:0}.rs13-bead-buttons{display:flex;gap:6px;flex-wrap:wrap}.rs13-guide .rs13-bead{width:44px;height:44px;min-height:44px;border-radius:50%;padding:0;flex-shrink:0;font-size:.8rem;border:1px solid var(--rs-line);background:#f1e9dc;color:var(--rs-ink)}.rs13-guide .rs13-bead.is-large{border-width:3px;background:#d7bd86}.rs13-guide .rs13-bead.is-past{background:#e2d3b8;border-color:#b69860}.rs13-guide .rs13-bead.is-current{background:var(--rs-red);color:#fff;border-color:var(--rs-red);outline:2px solid #b39154;outline-offset:2px}.rs13-guide :is(button,summary,select,.rs13-prayer):focus-visible,.rs13-explanations button:focus-visible{outline:3px solid #ab802f;outline-offset:3px}
.rs13-guide.is-focused{position:fixed;inset:10px;z-index:2147483000;display:grid;grid-template-rows:auto auto 4px minmax(0,1fr) auto auto;gap:0;margin:0;overflow:hidden;border-radius:12px;box-shadow:0 0 0 100vmax #211810e8;max-height:calc(100dvh - 20px)}.rs13-guide.is-focused .rs13-stage{height:auto;min-height:0}.rs13-guide.is-focused>.rs13-beads{display:none}.rs13-guide.is-focused .rs13-image img{max-height:46dvh}.rs13-guide.is-focused .rs13-figure,.rs13-guide.is-focused .rs13-prayer{min-height:0}
.rs13-explanations{margin:2.5rem 0;color:var(--text,#30271f)}.rs13-explanations>h2{font-family:Georgia,'Times New Roman',serif;font-size:2rem}.rs13-gallery-group{margin:1.5rem 0}.rs13-gallery-group>h3{border-bottom:1px solid var(--line,#d9cdb9);padding-bottom:8px}.rs13-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.rs13-mystery-card{overflow:hidden;border:1px solid var(--line,#dfd3bf);border-radius:10px;background:var(--card,#fffdf8);min-width:0;display:flex;flex-direction:column}.rs13-card-image{border-radius:0;flex-shrink:0}.rs13-card-image img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block}.rs13-mystery-card>div{padding:12px;display:flex;flex-direction:column;flex:1}.rs13-mystery-card h4{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:1rem;line-height:1.3}.rs13-mystery-card p{font-size:.83rem;line-height:1.5;margin:8px 0}.rs13-mystery-card>div>button{width:100%;font-size:.78rem;margin-top:auto;padding:8px}.rs13-mystery-card .rs13-reference{font-size:.71rem;margin-bottom:12px}
[data-theme=dark] .rs13-guide,body.dark .rs13-guide{--rs-paper:#241f1c;--rs-ink:#f2e6d0;--rs-muted:#c8b99f;--rs-line:#584a39;--rs-red:#943d4f}[data-theme=dark] .rs13-mystery-card,body.dark .rs13-mystery-card{background:#241f1c;color:#f2e6d0;border-color:#584a39}[data-theme=dark] .rs13-mystery-card>div>button,body.dark .rs13-mystery-card>div>button{background:#332a24;color:#f2e6d0}[data-theme=dark] .rs13-reference,body.dark .rs13-reference{color:#c8b99f}
@media(max-width:1000px){.rs13-gallery{grid-template-columns:repeat(5,minmax(160px,1fr));overflow-x:auto;padding:3px 0 10px;scroll-snap-type:x proximity}.rs13-mystery-card{scroll-snap-align:start}.rs13-bead-row{grid-template-columns:1fr;gap:8px}}
@media(max-width:760px){.rs13-header{gap:12px}.rs13-controls{width:100%;justify-content:space-between;gap:4px}.rs13-controls>label{flex:1;max-width:45%}.rs13-controls .rs20-focus{font-size:.78rem;padding:9px}.rs13-stage{grid-template-columns:minmax(0,1.4fr) minmax(100px,.8fr);grid-template-rows:minmax(320px,auto) minmax(240px,auto);height:auto;gap:14px}.rs13-prayer{grid-column:1/-1;max-height:380px;padding:16px 18px}.rs13-figure{min-height:0}.rs13-image img{max-height:none}.rs13-figure figcaption{padding-top:8px}.rs13-figure h3{font-size:1.05rem}.rs20-clause{font-size:.95rem;margin:5px 0}.rs13-navigation{display:grid;grid-template-columns:1fr 1fr;gap:6px}.rs13-guide .rs13-restart{margin-left:0}.rs13-navigation button{min-width:0;font-size:.82rem;padding:9px 7px}.rs13-guide.is-focused{inset:0;max-height:100dvh;border-radius:0;padding:12px}.rs13-guide.is-focused .rs13-header h2{font-size:1.25rem}.rs13-guide.is-focused .rs13-subtitle,.rs13-guide.is-focused .rs20-heading>.rs13-eyebrow{display:none}.rs13-guide.is-focused .rs13-header{gap:7px}.rs13-guide.is-focused .rs13-stage{grid-template-rows:minmax(130px,.8fr) minmax(0,1.4fr);margin:10px 0;gap:10px}.rs13-guide.is-focused .rs13-prayer{max-height:none;padding:13px 16px}.rs13-guide.is-focused .rs13-image img{max-height:25dvh}.rs13-guide.is-focused .rs13-figure{display:flex;flex-direction:column}.rs13-guide.is-focused .rs13-figure figcaption{padding-top:6px}.rs13-guide.is-focused .rs13-figure h3,.rs13-guide.is-focused .rs13-figure .rs13-reference,.rs13-guide.is-focused .rs20-meditation{display:none}.rs13-guide.is-focused .rs20-clause{font-size:.83rem;line-height:1.35}.rs13-guide.is-focused .rs13-text{font-size:1.06rem;line-height:1.6}.rs13-guide.is-focused .rs13-prayer h3{font-size:1.1rem;margin-bottom:9px}.rs13-guide.is-focused .rs20-chain-note{font-size:.6rem}.rs13-guide.is-focused .rs13-position{margin-top:7px;font-size:.7rem}.rs13-guide.is-focused .rs13-save{margin-bottom:0;font-size:.64rem}}
@media(max-height:520px) and (min-width:761px){.rs13-guide.is-focused{padding:10px}.rs13-guide.is-focused .rs13-subtitle,.rs13-guide.is-focused .rs20-heading>.rs13-eyebrow{display:none}.rs13-guide.is-focused .rs13-stage{margin:8px 0}.rs13-guide.is-focused .rs13-header h2{font-size:1.4rem}.rs13-guide.is-focused .rs13-image img{max-height:42dvh}}
@media print{.rs13-controls,.rs13-navigation,.rs13-save,.rs13-beads,.rs13-mystery-card button:not(.rs13-card-image){display:none!important}.rs13-guide,.rs13-guide.is-focused{position:static;display:block;max-height:none;overflow:visible;box-shadow:none}.rs13-stage{height:auto;grid-template-columns:1fr .6fr 1.3fr}.rs13-prayer,.rs13-figure{overflow:visible;max-height:none}.rs13-text{font-size:12pt}.rs13-gallery{grid-template-columns:repeat(5,1fr);overflow:visible}}
[data-theme=dark] .rs13-guide .rs13-bead,body.dark .rs13-guide .rs13-bead{color:#30271f}[data-theme=dark] .rs13-guide .rs13-bead.is-current,body.dark .rs13-guide .rs13-bead.is-current{color:#fff}
@media(max-height:520px) and (min-width:540px) and (max-width:760px){.rs13-guide.is-focused .rs13-stage{grid-template-columns:minmax(0,1fr) minmax(85px,.65fr) minmax(0,1.5fr);grid-template-rows:minmax(0,1fr)}.rs13-guide.is-focused .rs13-prayer{grid-column:auto}.rs13-guide.is-focused .rs13-header{flex-wrap:nowrap}.rs13-guide.is-focused .rs13-controls{width:auto}.rs13-guide.is-focused .rs13-controls>label{max-width:140px}.rs13-guide.is-focused .rs13-controls>label>span{display:none}.rs13-guide.is-focused .rs13-navigation{display:flex}.rs13-guide.is-focused .rs13-navigation button{flex:1}.rs13-guide.is-focused .rs13-image img{max-height:34dvh}}

/* SP21: the first decade starts at the centre cross, not an extra loop bead. */
.rs13-guide .rs13-bead.rs21-center-station{width:auto;min-width:70px;border-radius:8px;padding:0 10px}
.prayer-page-3722[data-rosary-page] .prayer-detail-hero-3722 h1{hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;max-width:none!important;font-size:clamp(2rem,3.7vw,4.2rem)!important;line-height:1.12!important}
@media(max-width:520px){.rs13-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 240px auto}.rs13-figure{overflow:visible}.rs13-image img{width:100%;max-height:none}.rs20-chain{grid-column:1}.rs13-guide.is-focused .rs13-stage{grid-template-columns:minmax(0,1.4fr) minmax(80px,.6fr);grid-template-rows:minmax(160px,1fr) minmax(0,1.3fr)}.rs13-guide.is-focused .rs13-figure{overflow:auto}.rs13-guide.is-focused .rs20-chain{grid-column:2}.rs13-guide.is-focused .rs13-prayer{grid-column:1/-1}}
