@font-face {font-family:'EB Garamond';src:url('fonts/eb-garamond.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
@font-face {font-family:'EB Garamond';src:url('fonts/eb-garamond-italic.woff2') format('woff2');font-style:italic;font-weight:400 800;font-display:swap}
@font-face {font-family:'Plus Jakarta Sans';src:url('fonts/plus-jakarta.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
:root {
  --bg-page:#FAF7F2; --bg-surface:#F3EDE2; --text-primary:#1C1917; --text-muted:#6B6257;
  --accent-crimson:#7A2E2E; --accent-gold:#B5894C; --border-hairline:#DFD5C5;
  --serif:'EB Garamond',Georgia,serif; --sans:'Plus Jakarta Sans',Arial,sans-serif;
  --nav-height:63px; --anchor-gap:1.5rem;
  --section-space:clamp(2.75rem, 5vw, 3.5rem);
  --radius-btn:8px;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-height) + 1px + var(--anchor-gap))}
body {margin:0;background:var(--bg-page);color:var(--text-primary);font:1.125rem/1.5 var(--serif);-webkit-font-smoothing:antialiased}
a {color:inherit;text-decoration:none}
button {color:inherit;font:inherit;cursor:pointer;border-radius:var(--radius-btn)}
button:disabled {cursor:default}
button,a,summary {-webkit-tap-highlight-color:transparent;touch-action:manipulation}
:focus-visible {outline:2px solid var(--accent-crimson);outline-offset:4px}
[hidden] {display:none !important}
.skip-link {min-height:44px;position:absolute;z-index:5;top:-90px;left:1rem;background:var(--bg-page);padding:.6rem 1rem}
.skip-link:focus {top:.5rem}
:is(#liturgical-banner,.liturgical-tone) {
  --day-field:#2E4A36;--night-field:#1D3023;--day-ink:#FAF5E9;--night-ink:#F3ECE0;
  --ribbon-line:#B5894C;--ribbon-ornament:#D4A86A;--ribbon-sheen:rgb(212 168 106 / .08);
}
#liturgical-banner {
  position:relative;isolation:isolate;overflow:hidden;
  min-height:44px;
  padding:.65rem 1.25rem;background-color:var(--day-field);color:var(--day-ink);text-align:center;
}
:is(#liturgical-banner,.liturgical-tone)[data-color=violet] {--day-field:#432C4D;--night-field:#2B1C33}
:is(#liturgical-banner,.liturgical-tone)[data-color=rose] {--day-field:#D8B4B8;--night-field:#4A2C32;--day-ink:#2B191C;--night-ink:#F5E6E8;--ribbon-line:#7A3B44;--ribbon-ornament:#7A3B44}
:is(#liturgical-banner,.liturgical-tone)[data-color=red] {--day-field:#7A2E2E;--night-field:#4D1D1D}
:is(#liturgical-banner,.liturgical-tone)[data-color=gold] {--day-field:#EFE6D5;--night-field:#262019;--day-ink:#1C1917;--ribbon-ornament:#956F3C}
html[data-theme=dark] #liturgical-banner {background-color:var(--night-field);color:var(--night-ink)}
html[data-theme=dark] :is(#liturgical-banner,.liturgical-tone)[data-color=rose] {--ribbon-line:#C48B93;--ribbon-ornament:#C48B93}
html[data-theme=dark] :is(#liturgical-banner,.liturgical-tone)[data-color=gold] {--ribbon-line:rgba(217,180,114,.45);--ribbon-ornament:#D9B472;--ribbon-sheen:rgb(243 236 224 / .035)}
html[data-theme=dark] #liturgical-banner[data-color=gold] #liturgical-title {color:#D9B472}
.liturgical-inner {position:relative;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:.12rem clamp(.65rem,1.2vw,1.15rem);min-width:0}
#liturgical-full {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.liturgical-heading,.liturgical-reading {flex:0 0 auto;width:max-content;white-space:nowrap}
.liturgical-heading {display:flex;align-items:center;gap:.5rem;font:600 .75rem/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase}
#liturgical-season:not(:empty) {display:inline-flex;align-items:center;gap:.5rem}
#liturgical-season:not(:empty)::after {content:'';flex:none;width:2px;height:2px;background:currentColor;transform:rotate(45deg)}
.liturgical-feast {font-weight:700}
.liturgical-reading {display:flex;align-items:baseline;gap:.33em;font:italic 1.03rem/1.35 var(--serif)}
.liturgical-dash,#liturgical-source {flex:none;font-size:.86em;font-style:normal}
.liturgical-reading:has(#liturgical-source:empty) .liturgical-dash,#liturgical-source:empty {display:none}
#liturgical-banner:is([data-color=rose],[data-color=gold],[data-elevated=true]) {border-bottom:1px solid var(--ribbon-line)}
#liturgical-banner[data-elevated=true] #liturgical-season::after {display:none}
#liturgical-banner[data-elevated=true]::before {
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 37%,var(--ribbon-sheen) 50%,transparent 63%) 50% 0 / 165% 100%;
}
#liturgical-banner[data-elevated=true] .liturgical-feast {display:inline-flex;align-items:center;gap:.52rem}
#liturgical-banner[data-elevated=true] .liturgical-feast::before,
#liturgical-banner[data-elevated=true] .liturgical-feast::after {
  content:'';width:.48rem;height:.62rem;background:var(--ribbon-ornament);
  clip-path:polygon(50% 0%,62% 37%,100% 50%,62% 63%,50% 100%,38% 63%,0% 50%,38% 37%);
}
@media (prefers-reduced-motion:no-preference) {
  #liturgical-banner[data-elevated=true]::before {animation:liturgical-sheen 3.6s ease-out both}
  @keyframes liturgical-sheen {from{background-position:145% 0}to{background-position:50% 0}}
}
@media (width < 1024px) {
  .liturgical-inner {display:grid;grid-template-columns:minmax(0,1fr);justify-items:center}
}
.top-bar {position:sticky;top:0;z-index:4;background:var(--bg-page);border-bottom:1px solid var(--border-hairline)}
.bar-inner {width:min(90%,1184px);margin:auto;display:flex;justify-content:space-between;align-items:center}
.bar-inner {height:var(--nav-height);column-gap:6px}
.header-actions {display:flex;align-items:center;gap:1rem;height:100%}
.theme-toggle {display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--text-muted)}
.theme-toggle:hover,.theme-toggle:focus-visible {color:var(--accent-gold)}
.sun-icon {display:inline-block;flex:none;width:16px;height:16px;background:currentColor;mask:url('christicons-sun.svg') center/contain no-repeat}
.theme-toggle :is(svg,.sun-icon) {display:block;width:20px;height:20px}
.theme-toggle .theme-sun,[data-theme="dark"] .theme-toggle .theme-candle {display:none}
[data-theme="dark"] .theme-toggle .theme-sun {display:block}
@media(max-width:700px){.header-actions{gap:4px}.theme-toggle :is(svg,.sun-icon){width:18px;height:18px}}
.wordmark {display:inline-flex;min-height:44px;gap:.625rem;align-items:center;font-family:var(--serif);font-size:1.62rem;font-weight:500;letter-spacing:-.035em;white-space:nowrap;color:var(--accent-crimson)}
.wordmark::before {content:'';flex:none;width:31px;height:31px;background:currentColor;mask:url('christicons-rosary.svg') center / contain no-repeat}
.page-nav {display:flex;align-items:stretch;gap:1.9rem;height:100%;font:500 .76rem/1 var(--sans)}
.page-nav a {display:grid;place-items:center;min-width:44px;white-space:nowrap;position:relative;color:var(--text-muted);transition:color .18s ease}
.page-nav a:hover,.page-nav a[aria-current] {color:var(--accent-crimson)}
.page-nav a::after {position:absolute;content:'';left:0;right:0;height:2px;bottom:0;background:var(--accent-crimson);transform:scaleX(0);opacity:0;transition:transform .18s ease,opacity .18s ease}
.page-nav a[aria-current]::after {transform:scaleX(1);opacity:1}
.masthead {isolation:isolate;position:relative;text-align:center}
/* Keep the roses in their original frame without adding space below the selector. */
.masthead-roses {position:absolute;inset:0 0 -32px;z-index:-1;overflow-x:clip;pointer-events:none}
.masthead-content {position:relative;z-index:1;padding-top:28px}
.crown-rule,.flourish {display:flex;align-items:center;justify-content:center;color:var(--accent-gold)}
.crown-rule {gap:13px;height:32px}
.crown-rule img {width:auto;height:31px}
.crown-rule span {height:1px;width:35px;background:var(--border-hairline);position:relative}
.crown-rule span:first-child::after,.crown-rule span:last-child::before {content:'';width:3px;height:3px;transform:rotate(45deg);background:var(--accent-gold);position:absolute;top:-1px}
.crown-rule span:first-child::after {right:0}
.crown-rule span:last-child::before {left:0}
h1,h2,h3,h4,p,blockquote {margin:0}
h1,h2,h3,h4 {font-weight:500}
h1 {font-size:clamp(3.8rem,5.6vw,5.3rem);letter-spacing:-.052em;line-height:1.08;margin:2px 0 7px}
.subtitle {font-style:italic;color:var(--text-muted);font-size:1.34rem;line-height:1.35}
.botanical {position:absolute;width:clamp(190px,22vw,355px);top:-5%;bottom:-7%;pointer-events:none;background-position:center;background-repeat:no-repeat;background-size:contain;mix-blend-mode:multiply;opacity:.65;z-index:-1}
.botanical-left {left:max(0px,calc((100% - 1380px)/2));background-image:url('botanical-left.webp');transform:rotate(-9deg)}
.botanical-right {right:max(0px,calc((100% - 1380px)/2));background-image:url('botanical-right.webp');transform:rotate(7deg)}
.set-picker {display:flex;width:min(calc(100% - 20px),32rem);margin:24px auto 0;padding:6px;gap:2px;border:1px solid var(--border-hairline);border-radius:var(--radius-btn);background:#F3EEE5}
/* The 44px target extends two pixels above and below its 40px painted face. */
.set-picker button {flex:1 0 auto;min-width:44px;height:44px;margin-block:-2px;padding:2px 0;border:0;background:transparent;color:var(--text-muted);font:600 .875rem/1.2 var(--sans)}
.set-face {height:40px;display:flex;align-items:center;justify-content:center;gap:.34rem;padding-inline:clamp(5px,1.5vw,12px);border-radius:inherit;white-space:nowrap}
.set-picker button:hover .set-face {background:#e9e1d5;color:var(--text-primary)}
.set-picker button[aria-pressed=true] .set-face {background:var(--accent-crimson);color:#fffaf4}
.set-today {display:inline-flex;align-items:center;gap:.22rem;font-size:.625rem;font-weight:600;line-height:1;color:color-mix(in srgb,var(--accent-gold) 53%,var(--text-primary))}
.set-today::before {content:'';width:4px;height:4px;border-radius:50%;background:var(--accent-gold)}
.set-picker [aria-pressed=true] .set-today {color:inherit}
.page-body {display:flow-root;width:min(90%,1184px);margin:0 auto}
.section-heading {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:19px;border-bottom:1px solid var(--border-hairline)}
h2 {font-size:clamp(2rem,3vw,2.65rem);letter-spacing:-.04em;line-height:1.13}
.rubric,.scripture cite,.prayer-meta,.strand-key {font:600 .72rem/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}
.mystery-list {display:grid;grid-auto-rows:1fr;list-style:none;padding:0;margin:0}
.mystery-row {display:grid;grid-template-columns:1.15fr 1fr;gap:3rem;align-items:center;min-height:5.5rem;padding:1.25rem 0}
.mystery-row:not(:last-child) {border-bottom:1px solid var(--border-hairline)}
.mystery-summary {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1.15rem}
.roman {position:relative;display:grid;place-items:center;width:41px;height:47px;background:url('numeral.svg') center/contain no-repeat;font-size:1.06rem;letter-spacing:-.055em;line-height:1;font-weight:500;color:var(--accent-crimson);font-variant-numeric:lining-nums}
.mystery-row h3 {font:500 1.25rem/1.15 var(--serif);letter-spacing:-.023em}
.fruit {color:var(--accent-crimson);font-size:.95rem;line-height:1.35;font-style:italic;margin-top:4px}
.scripture {min-width:0}
.scripture p {font-size:1.0625rem;line-height:1.35;font-style:italic;color:#474038;text-wrap:pretty}
.scripture cite {display:flex;font-weight:500;font-style:normal;color:var(--text-muted);letter-spacing:.08em;font-size:.75rem;margin-top:5px}
.scripture cite a {display:inline-flex;align-items:flex-start;min-height:44px;margin-block-end:-1.125rem}
.flourish {font-size:.84rem;line-height:1;margin:var(--section-space) auto}
.guide-title {margin-bottom:21px}
.guide-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:center}
.strand-panel {min-width:0;text-align:center}
#strand {width:100%;max-width:34rem;margin-inline:auto}
.strand-toolbar {display:flex;flex-direction:column;align-items:center;gap:.75rem;margin-top:.5rem}
.strand-key {list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.8rem;font-size:.75rem;letter-spacing:.025em;font-weight:500;text-transform:none}
.strand-key li {display:flex;align-items:center;gap:6px}
.strand-key i {display:inline-block;width:9px;height:9px;border-radius:50%;border:1px solid #9f8b6c}
.strand-key .legend-current {outline:1px solid var(--accent-gold);outline-offset:2px;background:#d9bd81;border-color:#aa8450}
.strand-key .legend-completed {background:var(--accent-crimson);border-color:var(--accent-crimson)}
html[data-theme=light] .strand-panel {--rs-ring-ink:color-mix(in srgb,var(--accent-gold) 75%,var(--text-primary))}
html[data-theme=light] .strand-key .legend-current {outline-color:var(--rs-ring-ink)}
html[data-theme=light] .strand-key .legend-upcoming {background:#e9dfc7;border-color:#8b7759}
.prayer-panel {
  min-width:0;
  padding:25px 31px 22px;
  background:var(--bg-surface);
  border:1px solid var(--border-hairline);
  border-radius:4px;
}
.prayer-meta {display:flex;justify-content:space-between;gap:.5rem;align-items:center}
.prayer-meta .rubric {color:var(--accent-crimson)}
#prayer-progress {font-size:.67rem;letter-spacing:.08em;font-weight:500}
.progress-track {height:2px;background:var(--border-hairline);margin:12px 0 17px}
#progress-line {height:100%;background:var(--accent-gold);transition:width .2s ease}
#meditation-title {font-size:1.85rem;letter-spacing:-.03em;line-height:1.15}
#meditation {font-style:italic;color:var(--text-muted);font-size:1.06rem;line-height:1.45;margin-top:5px;max-width:65ch}
#prayer-name {font-variant-caps:small-caps;letter-spacing:.055em;font-size:1.18rem;line-height:1.2;color:var(--accent-crimson);margin:21px 0 7px}
.prayer-text {font-size:1.13rem;line-height:1.75;max-width:65ch}
.prayer-text p+p {margin-top:.65em}
.prayer-controls {margin-top:1.15rem;padding-top:1rem;border-top:1px solid var(--border-hairline)}
.move-controls {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.move-controls button {min-width:0;height:46px;padding:0 clamp(.25rem,2vw,1.5rem);border:1px solid var(--border-hairline);background:transparent;font:500 .9375rem/1.2 var(--sans)}
.move-controls button:hover {background:#e9e0d1}
.move-controls button:disabled {opacity:.45}
.move-controls #next {background:var(--accent-crimson);border-color:var(--accent-crimson);color:#fffaf4}
.move-controls #next:hover {background:#682424}
.prayer-utilities {display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.875rem;color:var(--text-muted)}
.advance-hint {font:400 .72rem/1.35 var(--sans);opacity:.7}
.text-control {margin-inline-start:auto;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;text-align:end;font:500 .75rem/1.5 var(--sans);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--border-hairline);transition:color .18s ease}
.text-control:is(:hover,:focus-visible) {color:var(--accent-crimson)}
@media(min-width:960px) {
  .guide-layout {grid-template-columns:repeat(2,minmax(0,1fr));gap:3rem}
  #strand {max-width:none}
}
.references details {background:var(--bg-surface);border:1px solid var(--border-hairline);border-top:0;border-bottom:0}
.references details + details {border-top:1px solid var(--border-hairline)}
.references summary {cursor:pointer;position:relative;min-block-size:44px;padding:13px 3.2rem 13px 22px;font-size:1.3rem;line-height:1.35;list-style:none}
.references summary:focus-visible {outline:2px solid var(--text-primary);outline-offset:-3px}
.references summary::-webkit-details-marker {display:none}
.references summary::before,.references summary::after {content:'';position:absolute;inset-inline-end:22px;top:50%;width:.8rem;height:1.5px;background:var(--accent-crimson);transform:translateY(-50%);transition:transform .22s ease}
.references summary::after {transform:translateY(-50%) rotate(90deg)}
.references details[open] summary {color:var(--accent-crimson)}
.references details[open] summary::before,.references details[open] summary::after {transform:translateY(-50%) rotate(180deg)}
.references .reference-body {padding:0 22px 20px}
.references .prayer-text {font-size:1.125rem}
@media(max-width:768px) {
  .references details > summary {
    display:flex;align-items:center;min-block-size:52px;
    padding:.75rem 3rem .75rem 1rem;overflow-wrap:anywhere;
  }
  .references details > summary::before,.references details > summary::after {inset-inline-end:1rem}
}
@supports (interpolate-size:allow-keywords) {
  .references {interpolate-size:allow-keywords}
  .references details::details-content {height:0;overflow:clip;transition:height .22s ease,content-visibility .22s allow-discrete}
  .references details[open]::details-content {height:auto}
}
@media(prefers-reduced-motion:reduce) {
  .references details::details-content {transition:none}
}
/* Animate intrinsic drawer heights on mobile without measuring the prayer or reading. */
@media(max-width:768px) {
  @supports selector(details::details-content) and (transition-behavior:allow-discrete) {
    :is(.references details,.reading-rights)::details-content {
      display:grid;grid-template-rows:0fr;height:auto;overflow:clip;
    }
    :is(.references details,.reading-rights)[open]::details-content {grid-template-rows:1fr}
    .references details > .reference-body,.reading-rights > .reading-credit {
      min-block-size:0;overflow:hidden;margin-block:0;padding-block:0;
    }
    .references details > .reference-body::after {content:'';display:block;height:1.125rem}
    @media(prefers-reduced-motion:no-preference) {
      :is(.references details,.reading-rights)::details-content {
        transition:grid-template-rows .22s ease,content-visibility .22s allow-discrete;
      }
    }
  }
}
footer {
  display:flex;flex-direction:column;align-items:center;text-align:center;
  margin-top:4.5rem;padding:3.5rem 1.5rem 4rem;border-top:1px solid var(--border-hairline);
}
.colophon-emblem {
  width:26px;height:26px;margin-bottom:1.125rem;background:var(--accent-gold);
  mask:url('christicons-rosary.svg') center / contain no-repeat;
}
footer p {color:var(--text-primary);font:italic 1.0625rem/1.5 var(--serif);text-wrap:balance}
footer a {
  display:inline-flex;align-items:center;gap:.35em;min-height:44px;margin-top:1.25rem;
  color:var(--text-muted);font:500 .75rem/1.5 var(--sans);letter-spacing:.1em;text-transform:uppercase;
  transition:color .18s ease;
}
footer a:is(:hover,:focus-visible) {color:var(--accent-gold)}
.noscript {padding:1rem;text-align:center;color:var(--accent-crimson)}

html[data-theme=dark] {
  color-scheme:dark;
  --bg-page:#121213; --bg-surface:#1A1A1C; --text-primary:#F0EDE8; --text-muted:#9C9891;
  --accent-crimson:#B04646; --accent-gold:#CCA463; --border-hairline:#29292C;
  --rubric-ink:color-mix(in srgb,var(--accent-crimson) 78%,var(--text-primary));
  --surface-hover:color-mix(in srgb,var(--text-muted) 12%,var(--bg-surface));
}
html[data-theme=dark] .botanical {
  filter:url(#botanical-engraving);
  mix-blend-mode:normal;
  opacity:.17;
}
html[data-theme=dark] .set-picker {background:var(--bg-surface)}
html[data-theme=dark] .set-picker button:not([aria-pressed=true]):hover .set-face,
html[data-theme=dark] .move-controls button:not(#next):not(:disabled):hover {background:var(--surface-hover)}
html[data-theme=dark] .roman {isolation:isolate;background:none}
html[data-theme=dark] .roman::before {
  content:'';position:absolute;inset:0;z-index:-1;
  background:url('numeral.svg') center/contain no-repeat;
  filter:grayscale(1) invert(1) sepia(1) brightness(1.75);
}
html[data-theme=dark] .scripture p {color:color-mix(in srgb,var(--text-primary) 80%,var(--text-muted))}
html[data-theme=dark] :is(.page-nav a[aria-current],.page-nav a:hover,.roman,.fruit,
  .prayer-meta .rubric,#prayer-name,.references details[open] summary,.noscript) {
  color:var(--rubric-ink);
}
html[data-theme=dark] .move-controls button:not(#next) {border-color:color-mix(in srgb,var(--text-muted) 64%,var(--bg-surface))}
html[data-theme=dark] .move-controls #next:hover {background:color-mix(in srgb,var(--accent-crimson) 88%,var(--bg-page))}
html[data-theme=dark] .text-control {text-decoration-color:var(--text-muted)}
html[data-theme=dark] .strand-key .legend-upcoming {background:#e9dfc7;border-color:#a28a65}
@media(min-width:1600px){.botanical{top:-7%;bottom:-8%}}
@media(max-width:900px){.page-body{width:91%}.guide-layout{gap:12px}.prayer-panel{padding:22px}.botanical{opacity:.5;left:auto;right:auto}.botanical-left{left:-3%}.botanical-right{right:-3%}}
@media(max-width:700px){
  :root{--nav-height:55px;--anchor-gap:14px}.bar-inner{width:91%}.wordmark{font-size:1.4rem}.wordmark::before{width:23px;height:27px}.page-nav{gap:10px;font-size:.7rem}
  .masthead-content{padding-top:25px}.botanical{width:118px;top:-19px;bottom:auto;height:133px;opacity:.49}.botanical-left{left:-69px;transform:rotate(-15deg)}.botanical-right{right:-69px;transform:rotate(13deg)}
  h1{font-size:clamp(3rem,9.6vw,4rem);margin-top:4px;margin-bottom:7px}.crown-rule{height:27px;gap:10px}.crown-rule img{height:26px}.crown-rule span{width:24px}.subtitle{font-size:1.12rem;padding:0 20px}.set-picker{margin-top:19px}
  .page-body{width:calc(100% - 38px)}.section-heading{gap:8px;flex-wrap:wrap;padding-bottom:15px}h2{font-size:2rem}#days{font-size:.67rem}
  .guide-title{margin-bottom:6px}.guide-layout{grid-template-columns:minmax(0,1fr);gap:12px}.strand-panel{padding:4px 0 10px}.prayer-panel{padding:21px 19px}.prayer-text{font-size:1.12rem}.references summary{font-size:1.2rem;padding:14px 2.8rem 14px 16px}.references summary::before,.references summary::after{inset-inline-end:16px}.references .reference-body{padding:0 16px 17px}
}
@media(max-width:420px){.bar-inner{width:calc(100% - 24px)}}
@media(max-width:370px){h2{font-size:1.8rem}}
@media(max-width:319px){
  :root{--nav-height:90px}
  .bar-inner{flex-direction:column;justify-content:center}
  .header-actions{height:44px;gap:6px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto !important;animation:none !important;transition:none !important}}
@media(max-width:768px) {
  .guide-layout {grid-template-columns:minmax(0,1fr);gap:1.5rem}
  .strand-panel {padding:0}
  #strand .rs-viewport {max-height:300px}
  #strand .rs-viewport:not(.rs-enlarged) {max-height:min(300px,36svh)}
  #strand .rs-viewport:not(.rs-enlarged)>svg {position:absolute;inset:0;width:100%;height:100%}
  #strand .rs-views {height:36px;border-radius:8px}
  #strand .rs-views button {align-self:center;height:44px;background:none;box-shadow:none;isolation:isolate}
  #strand .rs-views button::after {inset:8px 0;z-index:-1;border-radius:6px;pointer-events:none}
  #strand .rs-views button[aria-pressed=true]::after {background:var(--bg-page);box-shadow:inset 0 0 0 1px var(--accent-gold)}
  .prayer-panel {padding:1.375rem 1.25rem;touch-action:pan-y pinch-zoom}
  .prayer-panel .prayer-text {font-size:clamp(1.0625rem,4.2vw,1.1875rem);line-height:1.72}
  .move-controls {grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
  .move-controls button {height:50px;border-radius:var(--radius-btn)}
}
@media(hover:none) and (pointer:coarse) {
  .advance-hint {display:none}
  .prayer-utilities {justify-content:flex-end;margin-top:.25rem}
}
.bead-count{font:600 .67rem/1.2 var(--sans);letter-spacing:.04em;font-variant:normal;white-space:nowrap;color:var(--text-muted);margin-left:10px}
.scripture a:hover,.scripture a:focus-visible{text-decoration:underline;text-underline-offset:3px}

#liturgical-banner:has(.banner-link) {padding:0}
.banner-link {position:relative;display:block;min-height:44px;padding:.65rem 1.25rem;cursor:pointer;align-content:center}
.banner-link:focus-visible {outline-color:currentColor;outline-offset:-3px}
.banner-link:is(:hover,:focus-visible) #liturgical-title {text-decoration:underline;text-underline-offset:.2em}
.banner-explore {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:1280px) {
  .banner-link {padding-inline:8.5rem}
  .banner-explore {inset-inline-end:1.25rem;top:50%;transform:translateY(-50%);width:auto;height:auto;clip-path:none;font:500 .75rem/1.3 var(--sans);opacity:0;transition:opacity .18s ease}
  .banner-link:is(:hover,:focus-visible) .banner-explore {opacity:1}
}
@media (max-width:768px) {
  html {
    overflow-x:hidden;
    overflow-x:clip;
    scroll-padding-top:calc(var(--nav-height) + var(--anchor-gap) + env(safe-area-inset-top,0px));
    scroll-padding-bottom:env(safe-area-inset-bottom,0px);
  }
  body {padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
  #liturgical-banner:not(:has(.banner-link)),.banner-link {padding-top:calc(.65rem + env(safe-area-inset-top,0px))}
  #liturgical-banner {z-index:5}
  .skip-link:focus {z-index:6;top:calc(.5rem + env(safe-area-inset-top,0px))}
  .top-bar {top:env(safe-area-inset-top,0px)}
  #liturgical-banner + .top-bar::before {
    content:'';position:absolute;inset-inline:0;bottom:100%;
    height:env(safe-area-inset-top,0px);background:var(--bg-page);pointer-events:none;
  }
  .missing-page .top-bar {top:0;padding-top:env(safe-area-inset-top,0px)}
}
@media (width < 768px) {
  .mystery-row {
    --badge-width:32px;
    --badge-gap:.75rem;
    grid-template-columns:minmax(0,1fr);
    align-content:center;
    gap:.55rem;
  }
  .mystery-summary {grid-template-columns:var(--badge-width) minmax(0,1fr);gap:var(--badge-gap)}
  .mystery-summary .roman {width:var(--badge-width);height:37px}
  .mystery-row h3 {font-size:1.15rem}
  .mystery-row .scripture {margin-inline-start:calc(var(--badge-width) + var(--badge-gap))}
  .mystery-row .scripture p {font-size:1rem}
  .mystery-row .scripture cite {font-size:.72rem}
}
@media (width < 640px) {
  :root {--nav-height:56px}
  #liturgical-banner:not(:has(.banner-link)),.banner-link {
    padding:calc(.4rem + env(safe-area-inset-top,0px)) .65rem .4rem;
  }
  .liturgical-inner {row-gap:.12rem}
  .liturgical-heading,.liturgical-reading {max-width:100%;min-width:0;gap:.28rem}
  .liturgical-heading {font-size:.71rem;letter-spacing:.045em}
  #liturgical-season:not(:empty) {flex:none;gap:.28rem}
  .liturgical-feast {display:inline-flex;align-items:center;min-width:0}
  #liturgical-banner[data-elevated=true] .liturgical-feast {gap:.25rem}
  #liturgical-banner[data-elevated=true] .liturgical-feast::before,
  #liturgical-banner[data-elevated=true] .liturgical-feast::after {flex:none;width:.32rem;height:.47rem}
  #liturgical-title,#liturgical-verse {display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .liturgical-reading {font-size:clamp(.75rem,3.2vw,.85rem);line-height:1.35}
  .banner-link {--explore-width:5.5rem}
  .banner-link .liturgical-reading {
    width:100%;padding-inline-end:var(--explore-width);justify-content:center;
  }
  .banner-explore {
    inset-inline-end:.65rem;bottom:.4rem;width:auto;height:auto;clip-path:none;
    font:600 .66rem/1.6 var(--sans);
  }
  .bar-inner {min-height:56px}
  .page-nav a {min-height:44px}
  @supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))) {
    .top-bar {
      background:color-mix(in srgb,var(--bg-page) 94%,transparent);
      -webkit-backdrop-filter:blur(8px);
      backdrop-filter:blur(8px);
    }
  }
}
@media (width < 520px) {
  .set-picker {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:min(calc(100% - 2.375rem),24rem);gap:6px;
  }
  .set-picker button {min-height:44px;height:auto;margin:0;padding:0}
  .set-face {height:100%;min-height:44px;padding-inline:.25rem}
}
@media (width < 480px) {
  .masthead:not(.day-hero) {--rose-edge:clamp(.875rem,6vw,2rem)}
  .masthead:not(.day-hero) .botanical {
    top:.15rem;bottom:auto;width:var(--rose-edge);height:6.75rem;
    background-size:auto 100%;transform:none;
  }
  .masthead:not(.day-hero) .botanical-left {left:0;background-position:right center}
  .masthead:not(.day-hero) .botanical-right {right:0;background-position:left center}
  .masthead:not(.day-hero) h1 {
    margin-inline:calc(var(--rose-edge) + .25rem);
    font-size:clamp(2.35rem,11.5vw,3.35rem);
  }
}
