.godparent-commitment[hidden],#selfieNext[hidden],#guestCounts[hidden]{display:none!important}
body[data-link-audience="guest"] .role-option[hidden]{display:none!important}
.godparent-commitment{position:relative;z-index:3;flex:none;width:100%;margin:4px 0 22px;padding:18px 14px;border:1px solid var(--gold);border-radius:16px;background:var(--cream);color:var(--red);text-align:left}
.godparent-commitment p{font:18px/1.45 Georgia,serif;margin:0 0 14px!important;color:var(--red)}
.godparent-commitment label{display:flex;align-items:flex-start;gap:12px;font:16px/1.5 'Segoe UI',sans-serif;cursor:pointer}
.godparent-commitment input{flex:none;width:22px;height:22px;margin:2px 0;accent-color:var(--red)}
.godparent-commitment small{display:block;margin:12px 0 0 34px;font:12px/1.5 'Segoe UI',sans-serif;opacity:.8}
body[data-baby-response="true"] .role-option[hidden]{display:none!important}
body[data-baby-response="true"] [data-screen="prayer"] .form-page{overflow-y:auto;padding-bottom:60px}
body[data-baby-response="true"] [data-screen="attendance"] .form-page{background:var(--cream);color:var(--red);padding:52px 28px 40px;overflow-y:auto;min-height:100%;height:100%;display:block;border:double 4px var(--gold);border-radius:120px 120px 22px 22px / 55px 55px 22px 22px}
.attendance-page h2{font:42px/1.1 Georgia,serif;margin:18px 0}
body[data-baby-response="true"] .flow-wrap .phone-shell .phone-content.attendance-page{background:var(--cream);border:double 4px var(--gold);padding:65px 28px 40px;border-radius:48px 48px 22px 22px;display:block}
body[data-baby-response="true"] .attendance-page h2{max-width:10ch;text-wrap:balance;margin:18px auto;font-size:38px}
.attendance-page .role-card h4{display:none}
.attendance-page .role-card{margin:22px 0}
.guest-counts{width:100%;margin:24px 0}.guest-count-row{display:grid;grid-template-columns:minmax(0,1fr) 44px 48px 44px;align-items:center;gap:5px;padding:20px 0;border-top:1px solid var(--gold)}
.guest-count-row label{font:24px/1.3 Georgia,serif;text-align:left}.guest-count-row small{display:block;font:13px/1.4 'Segoe UI',sans-serif;margin-top:5px}
.guest-count-row button{min-width:44px;height:44px;border:1px solid var(--gold);border-radius:50%;background:var(--red);color:var(--cream);font-size:24px}
.guest-count-row input{width:48px;height:46px;text-align:center;padding:0;background:transparent;color:inherit;border:1px solid var(--gold);border-radius:8px;font:22px Georgia,serif;appearance:textfield}.guest-count-row input::-webkit-inner-spin-button{appearance:none}
.guest-count-total{padding:20px 8px;border-block:1px solid var(--gold);font:24px/1.3 Georgia,serif!important}
#attendanceSubmit .accept-row{font:14px/1.5 'Segoe UI',sans-serif;margin:20px 0;display:flex;gap:10px;text-align:left}#attendanceSubmit .accept-row input{flex:none;width:20px;height:20px;accent-color:var(--red)}
.verse-item .passage-text{display:block;margin-top:10px;font:16px/1.5 Georgia,serif;white-space:pre-line}.verse-results{max-height:48dvh;overflow-y:auto}.verse-item{flex-shrink:0}
body[data-theme="royal-burgundy"] .verse-page .verse-results{max-height:48dvh;grid-auto-rows:max-content}
body[data-theme="royal-burgundy"] .verse-page .verse-item{grid-template-columns:minmax(0,1fr) 20px;align-items:start}
@media(max-width:360px){body[data-baby-response="true"] .flow-wrap .phone-shell .phone-content.attendance-page{padding-inline:16px}.guest-count-row label{font-size:21px}}

/* A single readable prayer composition; preserve scrolling for short screens and zoom. */
body[data-baby-response="true"] [data-screen="prayer"] .step-memory{display:none!important}
body[data-baby-response="true"] [data-screen="prayer"] .form-page::after{display:none}
body[data-baby-response="true"][data-theme="royal-burgundy"] [data-screen="prayer"] .flow-wrap .phone-shell .form-page,
body[data-baby-response="true"][data-theme="royal-burgundy"] .flow-wrap .phone-shell .phone-content.attendance-page{padding:clamp(66px,10dvh,92px) 8.5% max(70px,10dvh);background:#fff5e5 url('/assets/birthday-stationery.webp') center/100% 100% no-repeat;border:0;border-radius:0;scrollbar-width:none;display:flex;flex-direction:column;justify-content:flex-start;overflow-y:auto}
body[data-baby-response="true"] [data-screen="prayer"] .form-page::-webkit-scrollbar{display:none}
body[data-baby-response="true"][data-theme="royal-burgundy"] [data-screen="prayer"] h2,
body[data-baby-response="true"][data-theme="royal-burgundy"] .attendance-page h2{font:400 clamp(32px,5.2dvh,45px)/.98 Georgia,serif;text-transform:none;max-width:10ch;letter-spacing:-.045em;text-wrap:balance;margin:0 auto 10px;color:#750b19}
body[data-baby-response="true"][data-theme="royal-burgundy"] [data-screen="prayer"] h2::after,
body[data-baby-response="true"][data-theme="royal-burgundy"] .attendance-page h2::after{content:'♥';display:block;margin:12px auto 0;width:130px;font:15px/1 Georgia,serif;color:#ba873b;background:linear-gradient(#c99b55,#c99b55) left center/48px 1px no-repeat,linear-gradient(#c99b55,#c99b55) right center/48px 1px no-repeat;letter-spacing:0}
body[data-baby-response="true"][data-theme="royal-burgundy"] #prayerPrompt,
body[data-baby-response="true"][data-theme="royal-burgundy"] .attendance-page>p{max-width:28ch;font:clamp(16px,2.1dvh,18px)/1.4 Georgia,serif;margin:0 auto 18px;color:#652331}
body[data-baby-response="true"][data-theme="royal-burgundy"] .writing-paper{height:clamp(132px,19dvh,174px);padding:15px 17px;margin:0 0 14px;background:#fffaf28a;border:1px solid #bc8b4d;border-radius:6px;box-shadow:inset 0 1px 8px #fff9}
body[data-baby-response="true"] .writing-greeting{font:italic 22px/1.2 Georgia,serif;color:#935021}
body[data-baby-response="true"] #prayerText{resize:none}
body[data-baby-response="true"] .godparent-commitment{padding:0 8px;margin:0 0 16px;border:0;border-radius:0;background:none;color:var(--red);box-shadow:none}
body[data-baby-response="true"] .godparent-commitment::before{content:'♥';display:block;margin:0 auto 12px;width:100%;font:15px/1 Georgia,serif;color:#ba873b;text-align:center;background:linear-gradient(#c99b55,#c99b55) left center/44% 1px no-repeat,linear-gradient(#c99b55,#c99b55) right center/44% 1px no-repeat}
body[data-baby-response="true"][data-theme="royal-burgundy"] .godparent-commitment p{max-width:none;margin:0 0 14px!important;font:italic 18px/1.3 Georgia,serif;text-wrap:balance;text-align:center;color:#750b19}
body[data-baby-response="true"] .godparent-commitment label{font:17px/1.35 Georgia,serif;color:var(--red);gap:13px;align-items:center;min-height:44px}
body[data-baby-response="true"] .godparent-commitment input{appearance:none;width:23px;height:23px;border:1.5px solid #a97732;border-radius:3px;background:#fffcf4;display:grid;place-content:center}
body[data-baby-response="true"] .godparent-commitment input:checked{background:var(--red);border-color:var(--red)}
body[data-baby-response="true"] .godparent-commitment input:checked::after{content:'✓';color:#fff7e9;font:bold 17px/1 Georgia,serif}
body[data-baby-response="true"] .godparent-commitment small{font:11px/1.4 'Segoe UI',sans-serif;color:#72594e;opacity:1;margin:10px 0 0;text-align:center}
/* RSVP is part of the stationery, not a dashboard card. */
body[data-baby-response="true"] .attendance-page .role-card{padding:0;margin:0;border:0;background:none;box-shadow:none}
body[data-baby-response="true"] .attendance-page .role-option{position:relative;display:flex;align-items:center;gap:12px;min-height:48px;margin:0 0 9px;padding:10px 16px;background:#fffaf2a6;color:var(--red);border:1px solid var(--gold);border-radius:6px;font:17px/1.25 Georgia,serif;cursor:pointer;box-shadow:none}
body[data-baby-response="true"] .attendance-page .role-option.active{background:linear-gradient(125deg,var(--red),color-mix(in srgb,var(--red) 85%,#25050a));color:var(--cream);border-color:var(--gold);box-shadow:inset 0 0 0 2px #f1cf8733,0 3px 8px #6c1c171a}
body[data-baby-response="true"] .attendance-page .role-option>span{display:none}
body[data-baby-response="true"] .attendance-page .role-option input{appearance:none;display:block;position:static;opacity:1;flex:none;width:20px;height:20px;margin:0;border:1px solid currentColor;border-radius:50%;background:none;color:inherit}
body[data-baby-response="true"] .attendance-page .role-option input:checked{background:radial-gradient(circle,currentColor 0 38%,transparent 43%)}
body[data-baby-response="true"] .attendance-page .guest-counts{margin:10px 0 12px;flex:none}
body[data-baby-response="true"] .attendance-page .guest-count-row{padding:8px 0;gap:3px;grid-template-columns:minmax(0,1fr) 44px 42px 44px;border-color:#caa76d80}
body[data-baby-response="true"] .attendance-page .guest-count-row label{font:23px/1.1 Georgia,serif;color:var(--red)}
body[data-baby-response="true"] .attendance-page .guest-count-row small{font:11px/1.35 'Segoe UI',sans-serif;color:#806350}
body[data-baby-response="true"] .attendance-page .guest-count-row button{background:var(--cream);color:var(--red);border:1px solid var(--gold);box-shadow:inset 0 0 0 3px #fffef8;border-radius:50%}
body[data-baby-response="true"] .attendance-page .guest-count-row button:active{background:#eed8b5}
body[data-baby-response="true"] .attendance-page .guest-count-row input{width:42px;background:transparent;border:0;border-radius:0;font:28px Georgia,serif;color:var(--red)}
body[data-baby-response="true"] .attendance-page .guest-count-total{margin:0!important;padding:13px 0;background:#e7cca733;border-top:1px solid #caa76d80;border-bottom:1px solid #caa76d80;font:italic 19px/1.3 Georgia,serif!important;color:var(--red);text-align:center}
body[data-baby-response="true"] #attendanceSubmit .accept-row{margin:8px 0 16px;font:12px/1.45 'Segoe UI',sans-serif;color:#72594e;align-items:center;min-height:44px}
body[data-baby-response="true"] #attendanceSubmit .primary-btn{font:22px/1.2 Georgia,serif;min-height:48px}
body[data-baby-response="true"] .attendance-page::-webkit-scrollbar{display:none}
@media(max-height:780px){
 body[data-baby-response="true"][data-theme="royal-burgundy"] [data-screen="prayer"] .flow-wrap .phone-shell .form-page,
 body[data-baby-response="true"][data-theme="royal-burgundy"] .flow-wrap .phone-shell .phone-content.attendance-page{padding-top:66px}
 body[data-baby-response="true"][data-theme="royal-burgundy"] [data-screen="prayer"] h2,
 body[data-baby-response="true"][data-theme="royal-burgundy"] .attendance-page h2{font-size:34px}
 body[data-baby-response="true"][data-theme="royal-burgundy"] #prayerPrompt,
 body[data-baby-response="true"][data-theme="royal-burgundy"] .attendance-page>p{margin-bottom:12px;font-size:16px}
 body[data-baby-response="true"][data-theme="royal-burgundy"] .writing-paper{height:132px}
 body[data-baby-response="true"][data-theme="royal-burgundy"] .godparent-commitment p{font-size:16px}
 body[data-baby-response="true"] .godparent-commitment label{font-size:16px}
 body[data-baby-response="true"] .attendance-page .guest-counts{margin:5px 0}
 body[data-baby-response="true"] .attendance-page .guest-count-row{padding:5px 0}
 body[data-baby-response="true"] .attendance-page .guest-count-total{padding:10px 0}
 body[data-baby-response="true"] #attendanceSubmit .accept-row{margin:4px 0 10px}
}
@media(max-height:700px){
 body[data-baby-response="true"][data-theme="royal-burgundy"] [data-screen="prayer"] .flow-wrap .phone-shell .form-page,
 body[data-baby-response="true"][data-theme="royal-burgundy"] .flow-wrap .phone-shell .phone-content.attendance-page{background-size:100% max(100%,730px);background-position:center top;padding-bottom:120px}
}
body[data-baby-response="true"][data-theme="royal-burgundy"][data-link-audience="guest"] .writing-paper{height:clamp(240px,38dvh,340px);margin-bottom:24px}
