/* Keep support UI independent of the reader's adjustable lyric typography. */
.hpt-sunday-appeal{position:relative;box-sizing:border-box;margin:22px 26px;padding:22px;border:1px solid var(--line,#e9e1d7);border-radius:14px;background:var(--reading-bg,var(--paper,#f8f5ef));background:color-mix(in srgb,var(--accent,#653a32) 4%,var(--reading-bg,var(--paper,#f8f5ef)));color:var(--reading-ink,var(--ink,#352d2a));font:400 14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left}
.hpt-sunday-appeal[hidden],.hpt-funding-progress[hidden],.hpt-sunday-thanks[hidden],.hpt-after-church-preset[hidden]{display:none!important}
.hpt-sunday-appeal>.hpt-community-kicker{display:block;position:static;margin:0 36px 9px 0;color:inherit;opacity:.75;font:700 10px/1.5 system-ui,sans-serif;letter-spacing:1.1px;text-transform:uppercase}
.hpt-sunday-appeal>h2{margin:0 28px 10px 0;padding:0;color:inherit;font:500 22px/1.25 Georgia,"Times New Roman",serif;letter-spacing:-.3px;text-wrap:balance}
.hpt-sunday-appeal>p{max-width:76ch;margin:0 0 17px;padding:0;color:inherit;font:400 14px/1.65 system-ui,sans-serif;letter-spacing:normal}
.hpt-sunday-appeal>.hpt-sunday-close{display:grid;place-items:center;position:absolute;right:12px;top:12px;box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:inherit;font:400 24px/1 system-ui,sans-serif;cursor:pointer}
.hpt-sunday-appeal>.hpt-sunday-close:hover{border-color:var(--line,#e9e1d7);background:var(--reading-bg,#fff)}
.hpt-sunday-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px;margin:0;padding:0}
.hpt-sunday-actions>a,.hpt-sunday-actions>button,.hpt-after-church-preset{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-height:44px;margin:0;padding:10px 14px;border:1px solid var(--line,#e9e1d7);border-radius:9px;background:var(--reading-bg,#fff);color:inherit;font:600 13px/1.4 system-ui,sans-serif;letter-spacing:normal;text-decoration:none;text-align:center;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.hpt-sunday-actions>a{border-color:var(--accent,#653a32);background:var(--accent,#653a32);color:#fff}
.hpt-sunday-actions>a:hover{filter:brightness(1.1);color:#fff}
.hpt-sunday-actions>button:hover,.hpt-after-church-preset:hover{border-color:currentColor;background:transparent}
.hpt-sunday-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 14px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line,#e9e1d7)}
.hpt-sunday-footer>.hpt-sunday-reported{display:inline-flex;align-items:center;min-height:36px;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:inherit;font:500 12px/1.5 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.hpt-sunday-footer>small{display:block;margin:0;padding:0;color:inherit;opacity:.75;font:400 11px/1.6 system-ui,sans-serif}
.hpt-sunday-appeal :focus-visible,.hpt-after-church-preset:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.hpt-sunday-thanks{margin:20px 26px;padding:14px 18px;border:1px solid var(--line,#d9cfc6);border-radius:12px;color:var(--reading-ink,var(--ink,#352d2a));font:400 13px/1.6 system-ui,sans-serif}
.hpt-funding-progress{box-sizing:border-box;border:1px solid var(--line,#d9cfc6);border-radius:10px;padding:13px;margin:14px 0 17px;color:inherit;font:400 13px/1.6 system-ui,sans-serif}.hpt-funding-progress strong{font:600 12px/1.5 system-ui,sans-serif}.hpt-funding-progress p{margin:6px 0;font:400 13px/1.6 system-ui,sans-serif}.hpt-funding-progress progress{display:block;width:100%;height:8px;accent-color:var(--accent,#653a32);margin-bottom:8px}.hpt-funding-progress small{display:block;font:400 11px/1.5 system-ui,sans-serif;opacity:.8}
[data-hpt-preset-status]:empty{display:none}[data-hpt-preset-status]{font:400 13px/1.5 system-ui,sans-serif}
@media(max-width:600px){.hpt-sunday-appeal{margin:18px 14px;padding:18px 16px;border-radius:12px}.hpt-sunday-appeal>h2{font-size:20px}.hpt-sunday-appeal>p{font-size:13px;line-height:1.65}.hpt-sunday-actions{flex-direction:column}.hpt-sunday-actions>a,.hpt-sunday-actions>button{width:100%}.hpt-sunday-footer{align-items:flex-start;flex-direction:column;gap:2px}.hpt-sunday-footer>small{max-width:32ch}.hpt-sunday-thanks{margin-inline:14px}}
@media(prefers-reduced-motion:reduce){.hpt-sunday-actions>a,.hpt-sunday-actions>button{transition:none}}
@media print{.hpt-sunday-appeal,.hpt-sunday-thanks,.hpt-funding-progress{display:none!important}}
/* Percentage-led offering box. Tokens illustrate goal progress, never donor counts. */
.hpt-support-fact{display:flex;flex-direction:column;gap:3px;border-left:3px solid #b99352;padding:2px 0 2px 12px;margin:0 0 18px;color:inherit}.hpt-support-fact>[data-hpt-fact-heading]{font:600 13px/1.5 system-ui,sans-serif}.hpt-support-fact>[data-hpt-fact-copy]{max-width:72ch;font:400 12px/1.6 system-ui,sans-serif;opacity:.8}
.hpt-offering-progress{display:flex;align-items:center;gap:20px;padding:18px 20px;background:var(--reading-bg,var(--paper,#f8f5ef));border-color:var(--line,#e9e1d7);overflow:hidden}.hpt-offering-art{flex:0 0 146px;position:relative}.hpt-offering-art:before{content:"";position:absolute;inset:14px 0;border-radius:50%;background:#d9b8681c;filter:blur(12px)}.hpt-offering-art svg{display:block;position:relative;width:100%;height:auto;overflow:visible}.hpt-box-shadow{fill:currentColor;opacity:.08}.hpt-box-side{fill:#8f6241;stroke:#765037;stroke-width:1.5}.hpt-box-face{fill:#e4be7e;fill-opacity:.13;stroke:#b18a50;stroke-width:1.7}.hpt-box-lid{fill:#c6a16a;stroke:#9a743e;stroke-width:1.5;stroke-linejoin:round}.hpt-box-slot{fill:#513a29}.hpt-box-fill{fill:#d9b55e;opacity:.15;transform:scaleY(var(--funding-ratio,0));transform-origin:center bottom;transform-box:fill-box;transition:transform 1s ease}.hpt-box-heart{fill:none;stroke:currentColor;stroke-width:1.5;opacity:.22}.hpt-box-token{display:none}.hpt-box-token.is-filled{display:block;animation:hpt-token-settle .7s both;animation-delay:calc(var(--token-order,0)*.045s)}.hpt-box-coin circle{fill:#dbb350;stroke:#9b7628;stroke-width:1.1}.hpt-box-coin path{stroke:#fff3c3;stroke-width:1.5}.hpt-box-note rect{fill:#9caa7a;stroke:#68734e;stroke-width:1.2}.hpt-box-note path{stroke:#e8edd9;stroke-width:1.8}
.hpt-offering-story{flex:1;min-width:0}.hpt-offering-story>[data-hpt-funding-title]{display:block;margin-bottom:7px;color:inherit;font:600 11px/1.5 system-ui,sans-serif;letter-spacing:.3px}.hpt-offering-number{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 9px;margin:0 0 5px}.hpt-offering-number>[data-hpt-funding-percent]{font:600 36px/1.1 Georgia,serif;letter-spacing:-1px;color:inherit}.hpt-offering-number>span:last-child{font:400 12px/1.5 system-ui,sans-serif;opacity:.8}.hpt-offering-story>[data-hpt-funding-copy]{font:400 12px/1.6 system-ui,sans-serif;margin:8px 0 12px;max-width:54ch}.hpt-offering-story>progress{appearance:none;display:block;width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;background:#b9935226;color:#bd944b;margin:0 0 9px}.hpt-offering-story>progress::-webkit-progress-bar{background:#b9935226;border-radius:10px}.hpt-offering-story>progress::-webkit-progress-value{background:linear-gradient(90deg,#9b7839,#dcb76b);border-radius:10px;transition:width 1s}.hpt-offering-story>progress::-moz-progress-bar{background:#bd944b;border-radius:10px}.hpt-offering-story>small{font:400 11px/1.5 system-ui,sans-serif;opacity:.75}
@keyframes hpt-token-settle{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.hpt-offering-progress{gap:12px;padding:15px 12px}.hpt-offering-art{flex-basis:90px}.hpt-offering-number>[data-hpt-funding-percent]{font-size:30px}.hpt-offering-number>span:last-child{font-size:11px}.hpt-offering-story>[data-hpt-funding-copy]{font-size:11px}.hpt-offering-story>small{font-size:10px}.hpt-support-fact>[data-hpt-fact-copy]{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hpt-box-token.is-filled{animation:none}.hpt-box-fill,.hpt-offering-story>progress::-webkit-progress-value{transition:none}}
/* Compact invitation: story and actions left, offering progress right. */
.hpt-sunday-appeal{display:grid;grid-template-columns:minmax(0,1fr) 188px;grid-template-areas:"kicker funding" "heading funding" "copy funding" "fact funding" "actions funding" "footer footer";column-gap:22px;row-gap:0;padding:20px;align-items:start}
.hpt-sunday-appeal>.hpt-community-kicker{grid-area:kicker;margin:0 0 7px;font-size:9px;letter-spacing:1px}
.hpt-sunday-appeal>h2{grid-area:heading;margin:0 0 8px;font-size:21px;text-wrap:pretty}
.hpt-sunday-appeal>p{grid-area:copy;margin:0 0 12px;font-size:13px;line-height:1.55;max-width:46ch}
.hpt-sunday-appeal>.hpt-support-fact{grid-area:fact;gap:1px;margin:0 0 14px;padding-left:10px;border-left-width:2px}
.hpt-sunday-appeal>.hpt-support-fact>[data-hpt-fact-heading]{font-size:12px;font-weight:600}.hpt-sunday-appeal>.hpt-support-fact>[data-hpt-fact-copy]{font-size:10px}
.hpt-sunday-appeal>.hpt-sunday-actions{grid-area:actions;flex-direction:row;gap:8px;align-self:end}.hpt-sunday-appeal>.hpt-sunday-actions>a,.hpt-sunday-appeal>.hpt-sunday-actions>button{width:auto;font-size:12px;padding:10px 13px}
.hpt-sunday-appeal>.hpt-sunday-footer{grid-area:footer;margin-top:14px;padding-top:8px;gap:2px 12px}.hpt-sunday-footer>small{font-size:10px}
.hpt-sunday-appeal>.hpt-offering-progress{grid-area:funding;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:0;min-width:0;margin:0;padding:12px 12px 8px;border:0;border-left:1px solid var(--line,#e9e1d7);border-radius:0;background:transparent;text-align:center}
.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-art{flex:0 0 auto;width:104px;margin:-2px auto 2px}.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-story{flex:0 0 auto;width:100%}.hpt-sunday-appeal>.hpt-offering-progress [data-hpt-funding-title]{font-size:10px;margin:0 0 5px}.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-number{justify-content:center;gap:2px 6px}.hpt-sunday-appeal>.hpt-offering-progress [data-hpt-funding-percent]{font-size:29px}.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-number>span:last-child{font-size:10px}.hpt-sunday-appeal>.hpt-offering-progress [data-hpt-funding-copy]{font-size:10px;line-height:1.5;margin:5px 0 9px}.hpt-sunday-appeal>.hpt-offering-progress progress{height:5px;margin-bottom:0}
/* Support-page progress also places the illustration on the right. */
.hpt-giving-page>.hpt-offering-progress{flex-direction:row-reverse}.hpt-giving-page>.hpt-offering-progress .hpt-offering-art{flex-basis:110px}
@media(max-width:600px){.hpt-sunday-appeal{grid-template-columns:minmax(0,1fr);grid-template-areas:"kicker" "heading" "copy" "fact" "funding" "actions" "footer";padding:17px 15px;column-gap:0}.hpt-sunday-appeal>.hpt-community-kicker{margin-right:30px;font-size:8px}.hpt-sunday-appeal>h2{font-size:19px;margin-right:18px}.hpt-sunday-appeal>p{font-size:12px;margin-bottom:10px}.hpt-sunday-appeal>.hpt-support-fact{margin-bottom:10px}.hpt-sunday-appeal>.hpt-offering-progress{flex-direction:row-reverse;align-items:center;gap:12px;padding:9px 0 12px;margin:0 0 10px;border-left:0;border-top:1px solid var(--line,#e9e1d7);border-bottom:1px solid var(--line,#e9e1d7);text-align:left}.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-art{flex:0 0 78px;width:78px;margin:0}.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-story{flex:1;min-width:0;width:auto}.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-number{justify-content:flex-start}.hpt-sunday-appeal>.hpt-offering-progress [data-hpt-funding-copy]{margin:4px 0 7px}.hpt-sunday-appeal>.hpt-sunday-footer{flex-direction:row;align-items:center}.hpt-sunday-footer>small{max-width:none}.hpt-sunday-appeal>.hpt-sunday-actions>a,.hpt-sunday-appeal>.hpt-sunday-actions>button{flex:1;padding-inline:8px;font-size:11px}}
.hpt-offering-story>[data-hpt-funding-copy][hidden]{display:none!important}
.hpt-sunday-appeal:has(>[data-hpt-funding][hidden]){grid-template-columns:minmax(0,1fr);grid-template-areas:"kicker" "heading" "copy" "fact" "actions" "footer"}
/* Balance the maintainer's note against the offering column. */
@media(min-width:601px){.hpt-sunday-appeal{grid-template-columns:minmax(0,1.8fr) minmax(165px,.9fr);column-gap:20px}.hpt-sunday-appeal>p{max-width:55ch;line-height:1.65;margin-bottom:13px}.hpt-sunday-appeal>.hpt-offering-progress{padding-inline:16px}.hpt-sunday-appeal>.hpt-offering-progress .hpt-offering-art{width:110px}}
/* Fill from the base once the progress panel enters view. */
.hpt-offering-progress .hpt-box-fill{transform:scaleY(0);transition:transform 1.5s cubic-bezier(.2,.65,.25,1);opacity:.22}
.hpt-offering-progress.is-filling .hpt-box-fill{transform:scaleY(var(--funding-ratio,0))}
.hpt-offering-progress .hpt-box-token.is-filled{opacity:0;animation:none}
.hpt-offering-progress.is-filling .hpt-box-token.is-filled{animation:hpt-offering-rise .65s both;animation-delay:calc(.15s + var(--token-order,0)*.09s)}
.hpt-offering-story>.hpt-funding-delay{display:block;margin:8px 0 0;max-width:45ch;color:inherit;opacity:.72;font:400 10px/1.5 system-ui,sans-serif}
.hpt-sunday-appeal>.hpt-offering-progress .hpt-funding-delay{margin-top:8px;font-size:9px;line-height:1.45}
@keyframes hpt-offering-rise{from{opacity:0;transform:translateY(10px) scale(.85)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.hpt-offering-progress .hpt-box-fill{transform:scaleY(var(--funding-ratio,0));transition:none}.hpt-offering-progress .hpt-box-token.is-filled,.hpt-offering-progress.is-filling .hpt-box-token.is-filled{opacity:1;animation:none}}
/* Mobile-first ambient growth: decorative notes, independent of recorded giving. */
.hpt-offering-progress .hpt-offering-art svg{animation:hpt-growth-float 4.8s ease-in-out infinite;transform-origin:50% 85%;will-change:auto}
.hpt-offering-progress .hpt-offering-art:before{animation:hpt-growth-glow 4.8s ease-in-out infinite}
.hpt-growth-note{position:absolute;z-index:1;pointer-events:none;bottom:34%;left:18%;color:#a67d37;font:400 13px/1 Georgia,serif;opacity:0;animation:hpt-growth-notes 6s ease-out infinite}
.hpt-growth-note-two{left:68%;font-size:12px;animation-delay:2s}.hpt-growth-note-three{left:45%;font-size:10px;animation-delay:4s}
@keyframes hpt-growth-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes hpt-growth-glow{0%,100%{opacity:.45;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}
@keyframes hpt-growth-notes{0%,15%{opacity:0;transform:translateY(4px) scale(.85)}35%{opacity:.65}75%{opacity:0;transform:translateY(-32px) scale(1.1)}100%{opacity:0;transform:translateY(-32px) scale(1.1)}}
@media(min-width:601px){.hpt-growth-note{font-size:15px}.hpt-growth-note-two{font-size:14px}.hpt-growth-note-three{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hpt-offering-progress .hpt-offering-art svg,.hpt-offering-progress .hpt-offering-art:before,.hpt-growth-note{animation:none}.hpt-growth-note{display:none}}
