#rosary{max-width:880px;margin:0 auto}
#rosary [hidden]{display:none!important}
.rosary-today{padding:28px;border-radius:24px;background:var(--deep);color:#fff;margin:0 0 24px}
.rosary-today .eyebrow{color:var(--gold-soft)}
.rosary-today time{display:block;margin:0 0 14px;color:#eff2eb;font-size:17px}
.rosary-today h2{font-size:clamp(30px,6vw,44px);line-height:1.15;margin:8px 0 12px}
.rosary-today p{margin:0;color:#e0e8df;font-size:15px}
.rosary-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;background:#e3e7dc;border:1px solid #cdd4c5;border-radius:18px;margin-bottom:24px}
.rosary-tabs button{border:0;border-radius:13px;background:transparent;color:var(--deep);font-size:16px;font-weight:750;line-height:1.3;min-height:56px;padding:12px 8px;overflow-wrap:break-word}
.rosary-tabs button[aria-selected=true]{background:var(--deep);color:#fff;box-shadow:0 4px 12px #31483c20}
#rosary :focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.rosary-audio,.rosary-kids-intro{margin:0 0 22px}
.rosary-audio h2,.rosary-kids-intro h2{font-size:32px;margin:6px 0 10px}
.rosary-audio p,.rosary-kids-intro p,.rosary-guide{font-size:17px;color:var(--muted);line-height:1.65}
#rosary .rosary-listen{display:inline-flex;gap:12px;align-items:center;justify-content:center;min-height:50px;padding:14px 20px;background:var(--deep);color:#fff;border-radius:14px;font-size:17px;font-weight:750;line-height:1.4;text-decoration:none;max-width:100%}
#rosary a:not(.rosary-listen){color:var(--deep);text-decoration:underline;text-underline-offset:3px}
#rosary .rosary-credit{font-size:14px;line-height:1.8;color:var(--muted);margin:16px 0 24px}
.rosary-step{border:1px solid var(--line);background:var(--card);border-radius:18px;margin:12px 0;overflow:hidden}
.rosary-step summary{cursor:pointer;font-size:18px;font-weight:750;color:var(--deep);padding:20px 22px;min-height:56px}
.rosary-step[open] summary{border-bottom:1px solid var(--line)}
.rosary-step-body{padding:4px 24px 24px}
.rosary-step-body>p{font-size:17px;line-height:1.7}
.rosary-prayer{margin-top:24px}
.rosary-prayer h4{font-size:17px;color:var(--deep);margin:0 0 8px}
.rosary-prayer h4 span{display:inline-block;font-weight:500;font-size:14px;margin-left:6px;color:var(--muted)}
.rosary-prayer p{font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;font-size:21px;line-height:1.8;margin:0}
.rosary-scripture{margin:24px 0;padding:4px 0 4px 20px;border-left:3px solid var(--gold)}
.rosary-scripture p{font-family:Georgia,serif;font-size:21px;line-height:1.75;margin:0 0 14px}
.rosary-scripture cite{font-style:normal;font-size:14px}
.rosary-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.rosary-resource,.rosary-family{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:24px}
.rosary-resource h3,.rosary-family h3{font-size:21px;margin:0 0 12px;color:var(--deep)}
.rosary-resource p,.rosary-family p,.rosary-family li{font-size:17px;line-height:1.7}
.rosary-family li{margin:8px 0}.rosary-family ol{padding-left:24px;margin-bottom:28px}
.rosary-schedule{margin-top:28px;font-size:15px;color:var(--muted)}
.rosary-schedule summary{cursor:pointer;color:var(--deep);font-weight:700;padding:12px 0}
.rosary-schedule ul{padding-left:22px;line-height:1.9}
@media(max-width:560px){.rosary-today{padding:24px 20px}.rosary-tabs button{font-size:15px;padding:12px 5px}.rosary-step summary{padding:18px}.rosary-step-body{padding:2px 18px 22px}.rosary-resources{grid-template-columns:1fr}.rosary-resource,.rosary-family{padding:20px}#rosary .rosary-listen{width:100%}}

.rosary-counter{margin:18px 0 24px;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.rosary-counter>p{font-family:inherit;font-size:15px;line-height:1.5;margin:0 0 12px}
.rosary-beads{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:8px;max-width:300px}
.rosary-beads .rosary-bead{display:grid;place-items:center;min-width:44px;min-height:48px;padding:4px;background:transparent;border:0;border-radius:12px;color:var(--deep);cursor:pointer}
.rosary-bead span{display:grid;place-items:center;width:36px;height:36px;border:2px solid var(--deep);border-radius:50%;font-size:15px;font-weight:700;background:var(--card)}
.rosary-bead[aria-pressed=true] span{background:var(--deep);color:#fff}
.rosary-bead:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.rosary-counter-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;font-size:15px}
.rosary-counter-footer button{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--deep);cursor:pointer}
