.hrt-rp-lock {
	overflow: hidden !important;
}

body.hrt-rp-lock #wpadminbar {
	display: none !important;
}

.hrt-rosary-player,
.hrt-rosary-player * {
	box-sizing: border-box;
}

.hrt-rosary-player {
	--rp-bg: #101114;
	--rp-ink: #fffaf0;
	--rp-muted: rgba(255, 250, 240, 0.75);
	--rp-soft: rgba(255, 255, 255, 0.1);
	--rp-line: rgba(255, 255, 255, 0.17);
	--rp-gold: #d9b86f;
	--rp-green: #4d7767;
	--rp-rose: #a84e62;
	--rp-focus: #ffe39b;
	width: 100%;
	min-height: 100svh;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--rp-ink);
	background:
		linear-gradient(115deg, rgba(10, 11, 12, 0.96), rgba(31, 39, 36, 0.92)),
		var(--rp-bg);
	font-family: var(--hrt-font-body, "Open Sans", system-ui, sans-serif);
	line-height: 1.45;
}

.hrt-rosary-player [hidden] {
	display: none !important;
}

.hrt-rosary-player[data-mode="prayer"],
.hrt-rosary-player.is-fullscreen,
.hrt-rosary-player.is-immersive {
	position: fixed;
	inset: 0;
	z-index: 999999;
	min-height: 100svh;
}

.hrt-rp__screen {
	min-height: 100svh;
	width: 100%;
	padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

.hrt-rp__brand,
.hrt-rp__eyebrow,
.hrt-rp__small,
.hrt-rp__bead-label,
.hrt-rp__progress-text {
	color: var(--rp-gold);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0;
}

.hrt-rp__small {
	color: var(--rp-muted);
	text-transform: none;
}

.hrt-rp__screen h1,
.hrt-rp__screen h2 {
	margin: 0;
	color: var(--rp-ink);
	font-family: var(--hrt-font-heading, "Playfair Display", Georgia, serif);
	line-height: 1.03;
	letter-spacing: 0;
}

.hrt-rp__screen p {
	margin: 0;
	color: var(--rp-muted);
}

.hrt-rp__landing-layout {
	min-height: calc(100svh - 40px);
	width: min(1180px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
	gap: clamp(22px, 5vw, 72px);
	align-items: center;
}

.hrt-rp__landing-copy {
	display: grid;
	gap: 18px;
}

.hrt-rp__landing-copy h1 {
	max-width: 12ch;
	font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.hrt-rp__landing-copy p {
	max-width: 44ch;
	font-size: clamp(1.04rem, 1.6vw, 1.24rem);
}

.hrt-rp__mysteries {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.hrt-rp__choice,
.hrt-rp__button,
.hrt-rp__icon-button,
.hrt-rp__back,
.hrt-rp__bead {
	font: inherit;
	appearance: none;
	border: 0;
	cursor: pointer;
}

.hrt-rp__choice {
	position: relative;
	min-height: 210px;
	overflow: hidden;
	border-radius: 8px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 8px;
	text-align: left;
	color: var(--rp-ink);
	background:
		linear-gradient(180deg, rgba(8, 9, 10, 0.14), rgba(8, 9, 10, 0.82)),
		var(--rp-choice-image),
		linear-gradient(135deg, var(--rp-rose), var(--rp-green));
	background-position: center;
	background-size: cover;
	border: 1px solid var(--rp-line);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.hrt-rp__choice span {
	font-size: 1.24rem;
	font-weight: 900;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hrt-rp__choice small {
	display: block;
	max-width: 30ch;
	color: rgba(255, 250, 240, 0.82);
	font-size: 0.88rem;
	line-height: 1.35;
}

.hrt-rp__choice em {
	position: absolute;
	top: 12px;
	right: 12px;
	font-style: normal;
	font-size: 0.78rem;
	font-weight: 900;
	color: #171614;
	background: var(--rp-gold);
	border-radius: 999px;
	padding: 5px 10px;
}

.hrt-rp__choice[data-selected="true"] {
	border-color: var(--rp-gold);
	box-shadow: 0 0 0 3px rgba(217, 184, 111, 0.25), inset 0 0 0 1px rgba(217, 184, 111, 0.9);
}

.hrt-rp__landing-actions,
.hrt-rp__controls,
.hrt-rp__top-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hrt-rp__button {
	min-height: 50px;
	border-radius: 8px;
	padding: 13px 20px;
	font-weight: 900;
	color: var(--rp-ink);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--rp-line);
}

.hrt-rp__button--primary {
	color: #171614;
	background: var(--rp-gold);
	border-color: var(--rp-gold);
}

.hrt-rp__button:disabled {
	opacity: 0.58;
	cursor: not-allowed;
}

.hrt-rp__choice:focus-visible,
.hrt-rp__button:focus-visible,
.hrt-rp__icon-button:focus-visible,
.hrt-rp__back:focus-visible,
.hrt-rp__bead:focus-visible {
	outline: 3px solid var(--rp-focus);
	outline-offset: 3px;
}

.hrt-rp__intention-layout,
.hrt-rp__complete-layout {
	min-height: calc(100svh - 40px);
	width: min(1120px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(320px, 1.05fr) minmax(300px, 0.95fr);
	gap: clamp(22px, 5vw, 60px);
	align-items: center;
}

.hrt-rp__intention-copy,
.hrt-rp__complete-copy {
	display: grid;
	gap: 16px;
	align-content: center;
}

.hrt-rp__intention-copy h2,
.hrt-rp__complete-copy h2 {
	font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.hrt-rp__intention-text,
.hrt-rp__complete-copy p {
	max-width: 50ch;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hrt-rp__set-art,
.hrt-rp__complete-art,
.hrt-rp__mystery-image {
	min-height: min(62svh, 620px);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(9, 10, 11, 0.04), rgba(9, 10, 11, 0.28)),
		linear-gradient(135deg, rgba(168, 78, 98, 0.45), rgba(77, 119, 103, 0.45));
	background-size: cover;
	background-position: center;
	border: 1px solid var(--rp-line);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.hrt-rp__back {
	justify-self: start;
	min-height: 42px;
	border-radius: 999px;
	padding: 9px 14px;
	color: var(--rp-ink);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--rp-line);
	font-weight: 850;
}

.hrt-rp__screen--prayer {
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto auto;
	gap: 12px;
	position: relative;
	isolation: isolate;
	background: var(--rp-bg);
	background-size: cover;
	background-position: center;
	height: 100svh;
	overflow-y: auto;
}

.hrt-rp__art-layer::before,
.hrt-rp__screen--prayer::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
}
.hrt-rp__art-layer { position: absolute; inset: 0; overflow: hidden; z-index: -2; pointer-events: none; }
.hrt-rp__art-layer::before {
	background-image: var(--rp-prayer-image, none);
	background-size: cover; background-position: center;
	transform-origin: center; animation: rp-art-arrive-a 8s ease-in-out both;
}
.hrt-rosary-player[data-art-motion="b"] .hrt-rp__art-layer::before { animation-name: rp-art-arrive-b; }
.hrt-rp__screen--prayer::after {
	z-index: -1;
	background: linear-gradient(90deg, rgba(8,9,10,.88), rgba(8,9,10,.64) 58%, rgba(8,9,10,.35));
}
@keyframes rp-art-arrive-a { from { transform: scale(1.1); opacity: .5; } 15% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes rp-art-arrive-b { from { transform: scale(1.1); opacity: .5; } 15% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
.hrt-rosary-player .hrt-rp__beads {
	display: flex; justify-content: center; align-items: center;
	overflow: visible; padding: 4px; gap: 0; min-height: 56px;
}
.hrt-rosary-player .hrt-rp__bead-segment,
.hrt-rosary-player .hrt-rp__bead-segment[data-segment="intro"] {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: max-content; max-width: 100%; min-height: 48px; padding: 4px 8px;
	background: transparent; border: 0; gap: 8px;
}
.hrt-rosary-player .hrt-rp__bead-segment[data-active="false"] { display: none; }
.hrt-rosary-player .hrt-rp__bead-label { margin: 0; text-align: center; overflow: visible; }
.hrt-rosary-player .hrt-rp__bead-row { --rp-bead-gap: 8px; display: flex; flex-wrap: nowrap; align-items: center; gap: var(--rp-bead-gap); }
.hrt-rosary-player .hrt-rp__bead-row > .hrt-rp__bead { position: relative; flex-shrink: 0; }
.hrt-rosary-player .hrt-rp__bead-row > .hrt-rp__bead:not(:first-child)::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(100% + 1px);
	width: var(--rp-bead-gap);
	height: 1px;
	background: rgba(217, 184, 111, 0.48);
	pointer-events: none;
}
@media (max-width: 720px) {
	.hrt-rosary-player .hrt-rp__bead-row { --rp-bead-gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
	.hrt-rosary-player .hrt-rp__art-layer::before { animation: none; transform: none; opacity: 1; }
}

.hrt-rp__identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hrt-rosary-player .hrt-rp__site-logo { display: block; width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
.hrt-rp__identity-copy { min-width: 0; }
.hrt-rosary-player .hrt-rp__identity .hrt-rp__brand { font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.hrt-rosary-player .hrt-rp__identity .hrt-rp__small { font-size: 15px; line-height: 1.4; letter-spacing: 0; }
@media (max-width: 480px) {
	.hrt-rp__identity { gap: 8px; }
	.hrt-rosary-player .hrt-rp__site-logo { width: 36px; height: 36px; flex-basis: 36px; }
	.hrt-rosary-player .hrt-rp__identity .hrt-rp__brand { font-size: 15px; }
	.hrt-rosary-player .hrt-rp__identity .hrt-rp__small { font-size: 13px; }
}

.hrt-rp__topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	width: min(1220px, 100%);
	margin: 0 auto;
}

.hrt-rp__icon-button {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--rp-ink);
	border: 1px solid var(--rp-line);
	font-size: 1.35rem;
}

.hrt-rp__progress-shell {
	width: min(1220px, 100%);
	margin: 0 auto;
	display: grid;
	gap: 8px;
}

.hrt-rp__extra-prayers { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hrt-rp__prayer-menu { width: 100%; }
.hrt-rp__prayer-menu > summary { display: list-item; min-height: 44px; padding: 10px 8px; cursor: pointer; font-size: 12px; color: var(--rp-gold); }
.hrt-rp__prayer-menu:not([open]) > .hrt-rp__prayer-menu-links { display: none; }
.hrt-rp__prayer-menu > .hrt-rp__prayer-menu-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hrt-rp__extra-group { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; min-width: 0; }
.hrt-rp__extra-label { color: var(--rp-gold); font-size: 11px; font-weight: 700; }
.hrt-rosary-player .hrt-rp__extra-link {
	appearance: none; min-width: 0; min-height: 44px; padding: 6px 8px;
	border: 1px solid var(--rp-line); border-radius: 4px; background: rgba(8,9,10,.65);
	color: var(--rp-ink); font: inherit; font-size: 12px; line-height: 1.3; cursor: pointer;
}
.hrt-rosary-player .hrt-rp__extra-link[aria-current="step"] { border-color: var(--rp-gold); }
.hrt-rosary-player .hrt-rp__extra-link:focus-visible { outline: 3px solid var(--rp-focus); outline-offset: 2px; }

.hrt-rp__beads {
	display: grid;
	grid-template-columns: minmax(100px, .6fr) repeat(5, minmax(0, 1fr));
	gap: 8px;
	align-items: stretch;
	overflow: visible;
}

.hrt-rp__bead-segment {
	min-width: 0;
	border-radius: 8px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.09);
}

.hrt-rp__bead-label {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 250, 240, 0.66);
	font-size: 0.66rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hrt-rp__crucifix { display: flex; margin: 0; flex: 0 0 auto; }
.hrt-rosary-player .hrt-rp__crucifix-prayer {
	display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px;
	padding: 2px; width: 24px; min-height: 32px; border: 1px solid transparent; border-radius: 4px;
	background: transparent; color: var(--rp-ink); font: inherit; font-size: 11px;
	line-height: 1.3; text-align: left; cursor: pointer;
}
.hrt-rp__crucifix-symbol { font-family: Georgia, serif; font-size: 26px; line-height: 1; color: var(--rp-gold); }
.hrt-rosary-player .hrt-rp__crucifix-prayer { position: relative; border-color: var(--rp-gold); }
.hrt-rosary-player .hrt-rp__bead-tooltip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	width: max-content;
	max-width: min(240px, 75vw);
	padding: 7px 10px;
	border-radius: 4px;
	background: #080909;
	color: #fff;
	font: 600 12px/1.4 var(--hrt-font-body, "Open Sans", sans-serif);
	text-align: center;
	white-space: normal;
	box-shadow: 0 3px 12px rgba(0,0,0,.25);
	visibility: hidden;
	pointer-events: none;
}
.hrt-rosary-player :is(.hrt-rp__bead, .hrt-rp__crucifix-prayer, .hrt-rp__bead-next):is(:hover, :focus-visible):not([data-tooltip-dismissed="true"]) > .hrt-rp__bead-tooltip { visibility: visible; }
.hrt-rosary-player .hrt-rp__bead-next {
	position: relative;
	flex: 0 0 17px;
	width: 17px;
	min-width: 0;
	min-height: 0;
	height: 17px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--rp-gold);
	font: 12px/1 sans-serif;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.hrt-rosary-player .hrt-rp__bead-next::after { content: ""; position: absolute; inset: -13px -5px; }
.hrt-rosary-player .hrt-rp__bead-next > svg { display: block; width: 17px; height: 17px; overflow: visible; }
.hrt-rosary-player .hrt-rp__bead-next:focus-visible { outline: 2px solid var(--rp-gold); outline-offset: 3px; }
.hrt-rosary-player .hrt-rp__crucifix-prayer[data-state="current"] { border-color: var(--rp-gold); background: rgba(217,184,111,.15); }
.hrt-rosary-player .hrt-rp__crucifix-prayer:focus-visible { outline: 3px solid var(--rp-focus); outline-offset: 2px; }
.hrt-rp__bead-segment[data-segment="intro"] { display: flex; flex-direction: column; }
@media (max-width: 980px) {
	.hrt-rp__bead-segment[data-segment="intro"] { display: grid; grid-template-columns: minmax(0, 1fr); }
	.hrt-rp__crucifix { display: flex; margin: 0; }
}

.hrt-rp__bead-row {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.hrt-rp__bead {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	padding: 0;
	background: rgba(255, 255, 255, 0.24);
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.hrt-rp__bead[data-prayer="our_father"],
.hrt-rp__bead[data-type="mystery"] {
	width: 17px;
	height: 17px;
}

.hrt-rp__bead[data-type="mystery"] {
	background: rgba(217, 184, 111, 0.33);
}

.hrt-rp__bead[data-state="done"] {
	background: #fff;
	border-color: #fff;
}

.hrt-rp__bead[data-state="current"] {
	background: var(--rp-gold);
	border-color: var(--rp-gold);
	box-shadow: 0 0 0 4px rgba(217, 184, 111, 0.24);
}

.hrt-rp__progress-text {
	color: var(--rp-muted);
	text-transform: none;
	font-size: 0.9rem;
}

.hrt-rp__prayer-grid {
	width: min(980px, 100%);
	margin: 0 auto;
	display: grid;
	align-items: center;
	min-height: 0;
}

.hrt-rosary-player[data-prayer-key="litany_bvm"] .hrt-rp__text,
.hrt-rosary-player[data-prayer-key="st_joseph"] .hrt-rp__text {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 12px;
	scrollbar-width: thin;
	scrollbar-color: rgba(217, 184, 111, .55) transparent;
}

.hrt-rosary-player .hrt-rp__text::-webkit-scrollbar { width: 6px; }
.hrt-rosary-player .hrt-rp__text::-webkit-scrollbar-track { background: transparent; }
.hrt-rosary-player .hrt-rp__text::-webkit-scrollbar-thumb { background: rgba(217, 184, 111, .55); border-radius: 6px; }
.hrt-rosary-player .hrt-rp__text::-webkit-scrollbar-thumb:hover { background: var(--rp-gold); }
.hrt-rosary-player .hrt-rp__text::-webkit-scrollbar-button { display: none; }

.hrt-rosary-player[data-prayer-key="st_joseph"] .hrt-rp__text p + p {
	margin-top: 1em;
}

.hrt-rosary-player[data-prayer-key="litany_bvm"] .hrt-rp__screen--prayer,
.hrt-rosary-player[data-prayer-key="st_joseph"] .hrt-rp__screen--prayer {
	grid-template-rows: auto auto minmax(0, 1fr) auto auto;
	overflow: hidden;
}
.hrt-rosary-player[data-prayer-key="litany_bvm"] .hrt-rp__prayer-grid,
.hrt-rosary-player[data-prayer-key="st_joseph"] .hrt-rp__prayer-grid {
	height: 100%; min-height: 0;
}
.hrt-rosary-player[data-prayer-key="litany_bvm"] .hrt-rp__current,
.hrt-rosary-player[data-prayer-key="st_joseph"] .hrt-rp__current {
	grid-template-rows: auto minmax(0, 1fr) auto;
	align-content: stretch; height: 100%; min-height: 0;
	width: 100%; max-width: 900px; padding-block: 12px;
}
.hrt-rosary-player[data-prayer-key="litany_bvm"] .hrt-rp__current h2,
.hrt-rosary-player[data-prayer-key="st_joseph"] .hrt-rp__current h2 {
	font-size: 40px; line-height: 1.15; max-width: 800px;
}
@media (max-width: 720px) {
	.hrt-rosary-player[data-prayer-key="litany_bvm"] .hrt-rp__current h2,
	.hrt-rosary-player[data-prayer-key="st_joseph"] .hrt-rp__current h2 {
		font-size: 26px;
	}
}

.hrt-rp__current {
	display: grid;
	gap: 12px;
	align-content: center;
	min-width: 0;
}

.hrt-rp__current h2 {
	font-size: clamp(2.2rem, 5.4vw, 5.1rem);
}

.hrt-rosary-player[data-step-type="mystery"] .hrt-rp__prayer-grid {
	width: min(1040px, 100%);
}

.hrt-rosary-player[data-step-type="mystery"] .hrt-rp__current {
	gap: 8px;
}

.hrt-rosary-player[data-step-type="mystery"] .hrt-rp__current h2 {
	font-size: clamp(2rem, 4vw, 3.55rem);
}

.hrt-rp__text p {
	max-width: 68ch;
	color: var(--rp-ink);
	font-size: clamp(1.05rem, 1.8vw, 1.34rem);
}

.hrt-rp__mystery-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 16px 0;
	border-radius: 8px;
	background: transparent;
	border: 0;
	border-top: 1px solid var(--rp-line);
}

.hrt-rp__mystery-panel .hrt-rp__mystery-image { display: none; }
.hrt-rp__current { max-width: 760px; padding-block: 24px; }
.hrt-rp__current h2 { overflow-wrap: anywhere; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hrt-rp__mystery-panel p { max-width: 65ch; color: var(--rp-ink); }
.hrt-rp__mystery-panel [data-rp-reference] { color: var(--rp-gold); font-weight: 700; }
.hrt-rosary-player .hrt-rp__mystery-panel { margin-top: 24px; padding-top: 20px; }
.hrt-rp__scripture-reference, .hrt-rp__mystery-fruit { display: flex; align-items: flex-start; gap: 10px; }
.hrt-rp__detail-icon { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; color: var(--rp-gold); }
@media (max-width: 720px) {
	.hrt-rosary-player .hrt-rp__mystery-panel { margin-top: 20px; padding-top: 16px; }
}
.hrt-rosary-player .hrt-rp__button,
.hrt-rosary-player .hrt-rp__icon-button,
.hrt-rosary-player .hrt-rp__bead { min-width: 0; }
.hrt-rp__bead-segment { background: rgba(8,9,10,.55); }
.hrt-rp__controls .hrt-rp__button { background: rgba(8,9,10,.75); }
.hrt-rp__controls .hrt-rp__button--primary { background: var(--rp-gold); }

.hrt-rp__mystery-image {
	min-height: 150px;
}

.hrt-rp__mystery-panel p {
	font-size: 0.95rem;
}

.hrt-rp__audio-note {
	min-height: 1.2em;
	color: rgba(255, 250, 240, 0.64);
	font-size: 0.92rem;
}

.hrt-rp__controls {
	justify-content: center;
	width: min(980px, 100%);
	margin: 0 auto;
}

.hrt-rp__meter {
	width: min(980px, 100%);
	height: 6px;
	margin: 0 auto;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	overflow: hidden;
}

.hrt-rp__meter span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--rp-gold);
	transition: width 180ms ease;
}

.hrt-rp__settings {
	position: fixed; inset: 0 0 0 auto; margin: 0; width: min(380px, 100%);
	height: 100%; max-height: 100dvh; max-width: 100%; padding: 24px;
	border: 0; border-left: 1px solid var(--rp-line); background: #141715;
	color: var(--rp-ink); font-family: var(--hrt-font-body, "Open Sans", sans-serif);
	overflow-y: auto; box-shadow: -12px 0 48px rgba(0,0,0,.35);
}
.hrt-rp__settings::backdrop { background: rgba(0,0,0,.6); }
.hrt-rp__settings-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.hrt-rp__settings-header h2 { margin: 0; color: var(--rp-gold); font-family: var(--hrt-font-heading, Georgia, serif); font-size: 26px; line-height: 1.2; }
.hrt-rp__settings-options { display: grid; gap: 8px; margin-bottom: 28px; }
.hrt-rp__settings-options label { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--rp-line); cursor: pointer; }
.hrt-rp__settings-options input { width: 20px; height: 20px; accent-color: var(--rp-gold); flex-shrink: 0; }
.hrt-rp__settings-actions { display: grid; gap: 12px; }
.hrt-rosary-player .hrt-rp__home-link { display: flex; align-items: center; min-height: 44px; width: fit-content; margin-top: 24px; color: var(--rp-gold); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.hrt-rosary-player .hrt-rp__home-link:focus-visible { outline: 2px solid var(--rp-gold); outline-offset: 4px; }
.hrt-rosary-player .hrt-rp__home-link { gap: 8px; }
.hrt-rosary-player .hrt-rp__home-link > svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; }
.hrt-rp__settings .hrt-rp__button { min-width: 0; width: 100%; }
.hrt-rp__settings input:focus-visible { outline: 3px solid var(--rp-focus); outline-offset: 3px; }
.hrt-rosary-player[data-show-beads="false"] .hrt-rp__beads { display: none; }
.hrt-rosary-player[data-show-motion="false"] .hrt-rp__art-layer::before { animation: none; transform: none; opacity: 1; }
.hrt-rosary-player[data-show-scripture="false"] .hrt-rp__scripture-reference,
.hrt-rosary-player[data-show-scripture="false"] [data-rp-scripture],
.hrt-rosary-player[data-show-fruit="false"] .hrt-rp__mystery-panel > p:last-child { display: none; }

.hrt-rosary-player .hrt-rp__prayer-menu > summary { display: none; }
.hrt-rosary-player:not([data-show-extra-prayers="true"]) .hrt-rp__extra-prayers { display: none; }

.hrt-rp__status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 980px) {
	.hrt-rp__landing-layout,
	.hrt-rp__intention-layout,
	.hrt-rp__complete-layout {
		grid-template-columns: 1fr;
		align-content: center;
	}

	.hrt-rp__landing-copy h1 {
		max-width: 13ch;
	}

	.hrt-rp__set-art,
	.hrt-rp__complete-art {
		min-height: 34svh;
	}

	.hrt-rp__beads {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.hrt-rp__bead-segment {
		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
		align-items: center;
		gap: 8px;
		padding: 6px 8px;
	}

	.hrt-rp__bead-label {
		margin: 0;
	}
}

@media (max-width: 720px) {
	.hrt-rp__screen {
		padding: max(16px, env(safe-area-inset-top)) 18px max(14px, env(safe-area-inset-bottom));
	}

	.hrt-rp__landing-layout {
		min-height: calc(100svh - 30px);
		gap: 18px;
	}

	.hrt-rp__landing-copy {
		gap: 12px;
	}

	.hrt-rp__landing-copy h1 {
		font-size: clamp(2.25rem, 13vw, 3.6rem);
	}

	.hrt-rp__mysteries {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hrt-rp__choice {
		min-height: 118px;
	}

	.hrt-rp__choice small {
		display: none;
	}

	.hrt-rp__intention-copy h2,
	.hrt-rp__complete-copy h2,
	.hrt-rp__current h2 {
		font-size: clamp(2rem, 10vw, 3.25rem);
	}

	.hrt-rp__screen--prayer {
		grid-template-rows: auto auto minmax(0, 1fr) auto auto;
		gap: 7px;
	}

	.hrt-rp__icon-button {
		width: 44px;
		height: 44px;
	}

	.hrt-rp__bead-segment {
		grid-template-columns: 70px minmax(0, 1fr);
		min-height: 31px;
	}

	.hrt-rp__bead-segment[data-active="false"] {
		opacity: 0.72;
	}

	.hrt-rp__bead-segment[data-active="false"] .hrt-rp__bead-row {
		display: none;
	}

	.hrt-rp__progress-text {
		font-size: 0.82rem;
	}

	.hrt-rp__bead {
		width: 9px;
		height: 9px;
	}

	.hrt-rp__bead[data-prayer="our_father"],
	.hrt-rp__bead[data-type="mystery"] {
		width: 13px;
		height: 13px;
	}

	.hrt-rp__current {
		gap: 8px;
	}

	.hrt-rp__text p {
		font-size: 1.05rem;
	}

	.hrt-rp__mystery-panel {
		grid-template-columns: 1fr;
		padding: 8px;
		gap: 7px;
	}

	.hrt-rp__mystery-image {
		min-height: 86px;
	}

	.hrt-rosary-player[data-step-type="mystery"] .hrt-rp__current h2 {
		font-size: clamp(1.68rem, 7.8vw, 2.25rem);
	}

	.hrt-rosary-player[data-step-type="mystery"] .hrt-rp__mystery-panel p,
	.hrt-rosary-player[data-step-type="mystery"] .hrt-rp__text p,
	.hrt-rosary-player[data-step-type="mystery"] .hrt-rp__audio-note {
		font-size: 0.9rem;
		line-height: 1.35;
	}

	.hrt-rp__controls {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.hrt-rp__controls .hrt-rp__button {
		padding-inline: 8px;
		min-height: 48px;
	}
}

@media (max-width: 390px) {
	.hrt-rp__bead-row {
		gap: 4px;
	}

	.hrt-rp__button {
		font-size: 0.94rem;
	}
}

@media (max-width: 720px) {
	.hrt-rosary-player[data-mode="prayer"] .hrt-rp__screen--prayer {
		height: 100svh; height: 100dvh; min-height: 0;
		grid-template-rows: auto auto minmax(0, 1fr) auto auto;
		overflow: hidden; gap: 8px;
	}
	.hrt-rp__topbar { gap: 8px; }
	.hrt-rp__beads { grid-template-columns: repeat(6, minmax(104px, 1fr)); overflow-x: auto; gap: 6px; padding: 4px; }
	.hrt-rp__bead-segment,
	.hrt-rp__bead-segment[data-segment="intro"] { display: flex; flex-direction: column; justify-content: center; padding: 6px; min-height: 58px; gap: 4px; }
	.hrt-rp__bead-label { font-size: 10px; }
	.hrt-rp__progress-text { font-size: 11px; line-height: 1.35; }
	.hrt-rp__prayer-menu > summary { display: list-item; min-height: 44px; padding: 10px 8px; cursor: pointer; font-size: 12px; color: var(--rp-gold); }
	.hrt-rp__prayer-menu:not([open]) > .hrt-rp__prayer-menu-links { display: none; }
	.hrt-rp__prayer-menu[open] > .hrt-rp__prayer-menu-links { max-height: 110px; overflow-y: auto; padding: 4px; }
	.hrt-rosary-player[data-mode="prayer"] .hrt-rp__prayer-grid { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; align-items: start; }
	.hrt-rosary-player[data-mode="prayer"] .hrt-rp__current { display: grid; grid-template-rows: none; height: auto; min-height: 0; padding: 8px 4px 20px; gap: 10px; }
	.hrt-rosary-player[data-mode="prayer"] .hrt-rp__current h2 { font-size: 28px; line-height: 1.15; }
	.hrt-rosary-player[data-mode="prayer"] .hrt-rp__text { min-height: 0; max-height: none; overflow: visible; padding: 0; }
	.hrt-rosary-player .hrt-rp__text p { font-size: 16px; line-height: 1.6; }
	.hrt-rp__eyebrow { font-size: 10px; }
	.hrt-rp__controls { padding-top: 4px; }
	.hrt-rp__beads,
	.hrt-rosary-player[data-mode="prayer"] .hrt-rp__prayer-grid {
		scrollbar-width: thin;
		scrollbar-color: rgba(217,184,111,.55) transparent;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hrt-rosary-player * {
		transition: none !important;
		animation: none !important;
	}
}
