.site-navigation{display:flex;gap:8px;align-items:center;padding:10px 24px;background:#131820;border-bottom:1px solid #303746;flex-wrap:wrap}.site-navigation a{color:#c8cfdb;text-decoration:none;padding:10px 14px;border-radius:8px;font-size:14px;font-weight:600}.site-navigation a:hover,.site-navigation a[aria-current]{background:#292640;color:#e0d9ff}.portal-page{height:auto;min-height:100vh;overflow:auto;background:#0d1118;color:#edf0f6;font-size:16px}.portal-page header{position:static;min-height:96px;gap:20px;justify-content:space-between}.portal-page #accountArea{display:flex;gap:16px;align-items:center}.portal-page a{color:#c6b9ff}.portal-main{display:block;max-width:1260px;margin:auto;padding:24px 28px 60px;height:auto;overflow:visible}.portal-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.portal-heading h1{font-size:32px;margin:6px 0 12px}.portal-heading p{color:#b7c0d0}.portal-heading .eyebrow,.eyebrow{font-size:12px;letter-spacing:.14em;color:#b6a5f8;font-weight:700}.community-layout{display:grid;grid-template-columns:240px minmax(0,720px);gap:28px;justify-content:center}.community-sidebar{position:sticky;top:24px;align-self:start}.community-sidebar h2{font-size:17px}.community-sidebar #communityFilters{display:grid;gap:8px;margin-bottom:24px}.community-sidebar button{text-align:left;padding:13px 16px}.portal-card{background:#161c26;border:1px solid #303949;border-radius:14px;padding:24px;margin-bottom:20px}.portal-card h2{font-size:22px;margin-top:0}.portal-page label{display:grid;gap:8px;font-size:14px;color:#cdd4e1}.portal-page input,.portal-page select,.portal-page textarea{width:100%;box-sizing:border-box;padding:12px;background:#0f141d;color:#f3f4f9;border:1px solid #424c60;border-radius:8px;font:inherit}.portal-page textarea{resize:vertical}.portal-page form{display:grid;gap:14px}.portal-page fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}.portal-page fieldset:disabled{opacity:.6}.portal-page button{font-size:14px;min-height:40px}.portal-page .form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.portal-page .portal-check{display:flex;align-items:center}.portal-page .portal-check input{width:auto}.portal-page small{display:block;color:#a9b6c9;font-size:13px;margin-top:5px}.post-heading{display:flex;gap:12px;align-items:center}.avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:#393257;color:#e8deff;font-weight:700}.post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.post-actions{display:flex;gap:12px;border-top:1px solid #303949;padding-top:14px}.post-actions button{background:transparent}.post-comments{margin-top:18px}.comment{padding:14px;border-radius:8px;background:#10161f;margin-bottom:12px}.comment p{white-space:pre-wrap;overflow-wrap:anywhere}.portal-page dialog{width:min(680px,calc(100vw - 32px));max-height:85vh;box-sizing:border-box;padding:24px;background:#141a24;color:#edf0f6;border:1px solid #48536a;border-radius:14px}.portal-page dialog::backdrop{background:#000a}.search-label{max-width:680px;margin-bottom:24px}.hymn-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px}.hymn-list{max-height:75vh;overflow:auto;display:flex;flex-direction:column;gap:8px}.hymn-item{display:flex;text-align:left;gap:12px;align-items:center;padding:12px!important;flex-shrink:0}.hymn-item img,.hymn-placeholder{width:48px;height:48px;object-fit:cover;border-radius:8px;flex:none}.hymn-placeholder{display:grid;place-items:center;background:#302947;color:#c7baff;font-size:25px}.hymn-item[aria-pressed=true]{border-color:#a58cff;background:#29233c}.hymn-cover{width:100%;max-height:320px;object-fit:contain;background:#0b0f16;border-radius:10px;margin-bottom:20px}.portal-page audio{width:100%;margin:16px 0}.sing-lyrics{display:grid;grid-template-columns:1fr 1fr;gap:24px}.sing-lyrics p{white-space:pre-wrap;line-height:1.9}.sing-lyrics h3{font-size:14px;color:#bca7ff}.hymn-upload{border-top:1px solid #3b4454;margin-top:24px;padding-top:16px}.hymn-upload form{padding:20px 0}.reader-controls{display:grid;grid-template-columns:2fr 2fr 1fr;gap:16px}.reader-text{max-width:850px;margin:0 auto;line-height:2}.reader-text sup{color:#bca7ff;font-size:12px}.inline-highlighter{border:0;padding:0;margin:16px 0;max-width:100%;width:100%}.inline-highlighter textarea{width:100%;box-sizing:border-box;line-height:1.6;padding:10px}.inline-highlighter .highlight-colors{display:grid;grid-template-columns:1fr 1fr;gap:6px}.inline-highlighter .highlight-preview{max-height:180px;overflow:auto}.right-panel #settingsFonts .bible-highlighter-card{margin:20px 0 0;padding:12px}.right-panel #settingsTextBox{margin-top:18px}.portal-page [hidden],.inline-highlighter[hidden]{display:none!important}
@media(max-width:800px){.portal-main{padding:20px 16px}.community-layout,.hymn-layout{grid-template-columns:1fr}.community-sidebar{position:static}.community-sidebar #communityFilters{display:flex;overflow:auto}.community-sidebar button{white-space:nowrap}.portal-heading{align-items:flex-start;flex-direction:column}.hymn-list{max-height:300px}.portal-page header{flex-wrap:wrap;padding:16px}.portal-page .form-pair,.reader-controls{grid-template-columns:1fr}.site-navigation{padding:8px}.site-navigation a{padding:9px}.portal-card{padding:18px}.sing-lyrics{gap:16px}.portal-heading h1{font-size:28px}}@media(max-width:480px){.sing-lyrics{grid-template-columns:1fr}}
body.portal-page{height:auto;min-height:100dvh;display:block;overflow:auto}.portal-page header{height:auto}.portal-page .portal-main{overflow:visible}.portal-page button:focus-visible,.portal-page a:focus-visible,.portal-page input:focus-visible,.portal-page textarea:focus-visible,.portal-page select:focus-visible{outline:2px solid #b5a0ff;outline-offset:3px}.portal-page fieldset button{justify-self:start}.portal-page .helper{line-height:1.6}.portal-page #messageList{margin-top:20px}
.bible-share-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.bible-share-layout .reader-text{width:100%;min-width:0;margin:0;padding:20px}.parallel-heads{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:14px;color:#c5b5ff;margin-bottom:16px}.reader-verse-row{display:grid;grid-template-columns:1fr;gap:14px;border-top:1px solid #30394b;padding:8px 0}.reader-verse-row.parallel{grid-template-columns:1fr 1fr}.reader-verse{display:block;text-align:left;background:transparent!important;border:1px solid transparent!important;font-size:17px!important;line-height:1.9;white-space:pre-wrap;padding:10px!important;overflow-wrap:anywhere}.reader-verse:hover,.reader-verse[aria-pressed=true]{border-color:#b5a2ff!important;background:#242039!important}.reader-verse sup{margin-right:8px}.verse-share-panel{position:sticky;top:16px;padding:18px!important;display:grid;gap:12px}.verse-share-panel h2{font-size:19px}.verse-share-panel p{margin:0;font-size:14px;line-height:1.6}.verse-share-panel .highlight-colors{display:grid;grid-template-columns:1fr 1fr;gap:6px}#verseCanvas{display:block;width:100%;height:auto;aspect-ratio:9/16;background:#101727;border:1px solid #424c60;border-radius:8px;max-height:440px;object-fit:contain}.community-respect{font-size:14px;line-height:1.7;background:#26233c;border-left:3px solid #b5a2ff;padding:14px}.policy-footer{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;font-size:13px;padding:16px}.policy-footer a{color:#c5cddd}.policy-page{max-width:900px}.policy-page h2{margin-top:28px;font-size:21px}.policy-page p,.policy-page li{line-height:1.85}.policy-page li{margin-bottom:10px}.projector .policy-footer{display:none}.reader-controls{grid-template-columns:1fr 1fr}.reader-text small{overflow-wrap:anywhere}@media(max-width:1000px){.bible-share-layout{grid-template-columns:1fr}.verse-share-panel{position:static;max-width:600px;width:100%;margin:auto}#verseCanvas{max-height:560px}}@media(max-width:540px){.reader-verse{font-size:15px!important;padding:5px!important}.reader-verse-row{gap:8px}.reader-controls{grid-template-columns:1fr}}
@font-face{font-family:'Aatmik Verse';src:url('/fonts/aatmik-verse-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:'Aatmik Verse';src:url('/fonts/aatmik-verse-700.ttf') format('truetype');font-weight:700;font-display:swap}.reader-text,.verse-share-panel textarea{font-family:'Aatmik Verse',sans-serif}
.compact-highlighter{border:1px solid #3f4054;border-radius:8px;padding:10px!important;margin:12px 0!important}.compact-highlighter>summary{font-size:14px;cursor:pointer;color:#d4c9ff;padding:3px!important}.compact-highlighter:not([open])>:not(summary){display:none!important}.compact-highlighter[open]>summary{margin-bottom:12px}.right-panel{overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:auto;scrollbar-color:#786690 #171a22;-webkit-overflow-scrolling:touch;padding-bottom:36px}.right-panel::-webkit-scrollbar{width:12px}.right-panel::-webkit-scrollbar-thumb{background:#786690;border:3px solid #171a22;border-radius:8px}.verse-share-panel{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}.verse-share-panel #verseVideoPreview{width:100%;max-height:200px;object-fit:contain}.support-links{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.support-button{display:inline-block;background:#b5a2ff;color:#161125!important;padding:13px 22px;border-radius:8px;font-weight:700}@media(max-width:1200px){.right-panel{max-height:80dvh}}@media(max-width:1000px){.verse-share-panel{max-height:none;overflow:visible}}@media(max-width:600px){.right-panel{max-height:70dvh}}
.portal-page #authDialog{max-width:480px}.portal-page #authDialog .section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-page #authDialog .section-heading h2{margin:0}.portal-page #authDialog #googleSignIn{width:100%;margin:12px 0}.portal-page #authDialog form{margin:14px 0}.portal-page #authDialog [hidden]{display:none!important}.portal-page #authStatus{min-height:1.5em;color:#d7ccff;line-height:1.5}.portal-page #authModeToggle,.portal-page #forgotPassword{background:transparent;border:0;color:#c6b9ff;text-decoration:underline;margin:6px 8px 0 0}

/* Aatmik Community social feed */
body.portal-page.community-active{background:#f0f2f6;color:#20242d}body.portal-page.community-active header{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid #e1e4eb;box-shadow:0 2px 8px #15203a0b;color:#20242d}body.portal-page.community-active .brand .site-name{color:#292638}body.portal-page.community-active #accountArea{color:#343846}body.portal-page.community-active .site-navigation{background:#fff;border-bottom-color:#e1e4eb;justify-content:center}body.portal-page.community-active .site-navigation a{color:#555d6e}body.portal-page.community-active .site-navigation a:hover,body.portal-page.community-active .site-navigation a[aria-current]{background:#eee9ff;color:#6b4acb}body.portal-page.community-active .portal-main{max-width:1320px;padding-top:22px}.community-view{max-width:1160px;margin:0 auto}.community-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 auto 20px;max-width:1060px}.community-feed-heading h1{margin:3px 0 5px;font-size:30px;color:#20232b}.community-feed-heading p:not(.eyebrow){margin:0;color:#687184}.community-feed-heading .eyebrow{margin:0 0 5px;color:#7757d6}.message-shortcut{background:#fff!important;color:#4d3b8f!important;border:1px solid #e0dcef!important;border-radius:999px!important;padding:10px 16px!important}.community-feed-layout{display:grid;grid-template-columns:minmax(0,720px) minmax(240px,300px);gap:24px;justify-content:center}.community-feed-main{min-width:0}.community-feed-aside{position:sticky;top:120px;align-self:start}.community-active .portal-card,.community-active .post-card{background:#fff;border:1px solid #e3e6ed;color:#20242d;box-shadow:0 2px 8px #1b29400a}.community-active .portal-card h2,.community-active .post-card strong{color:#20242d}.composer-launch-card{padding:16px!important;display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:center}.compose-avatar{width:44px;height:44px;background:#6e53c7;color:#fff}.composer-prompt{width:100%;min-height:46px!important;text-align:left!important;padding:0 18px!important;border-radius:24px!important;background:#f0f2f5!important;color:#747b88!important;border:1px solid transparent!important;font-weight:500!important}.composer-prompt:hover{background:#e9ebef!important}.composer-shortcuts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #eceef2;padding-top:12px;gap:8px}.composer-shortcuts button{background:transparent!important;color:#555d6b!important;border:0!important;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px!important;white-space:nowrap}.composer-shortcuts button:hover{background:#f6f5fa!important}.composer-shortcuts button:first-child{color:#488a68!important}.composer-shortcuts button:nth-child(2){color:#8063c6!important}.composer-shortcuts button:nth-child(3){color:#ae8125!important}.composer-launch-card #loginHint{grid-column:1/-1;margin:0;padding:10px 12px;background:#f6f3ff;border-radius:8px;color:#5e586f}.community-highlights{margin:22px 0}.feed-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 12px}.feed-section-heading h2{font-size:18px;margin:0;color:#242832}.feed-section-heading>a{font-size:13px;text-decoration:none}.community-story-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin}.community-story{position:relative!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left!important;min-width:112px;height:132px;padding:12px!important;border:0!important;border-radius:14px!important;color:#fff!important;overflow:hidden;box-shadow:0 3px 10px #14192b1a}.community-story::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000 25%,#090b16b8 100%);pointer-events:none}.community-story>*{position:relative;z-index:1}.community-story strong{font-size:14px!important;color:#fff!important}.story-symbol{display:grid;place-items:center;width:36px;height:36px;border:3px solid #fff;border-radius:50%;background:#ffffff30;font-size:18px}.story-all{background:linear-gradient(145deg,#b59af5,#6549bd)!important}.story-prayer{background:linear-gradient(145deg,#6cb3ac,#275c6a)!important}.story-testimony{background:linear-gradient(145deg,#f1a26f,#a3495f)!important}.story-ideas{background:linear-gradient(145deg,#e4c064,#976135)!important}.story-help{background:linear-gradient(145deg,#86a5ce,#45588e)!important}.community-story[aria-pressed=true]{outline:3px solid #7654d4;outline-offset:2px}.posts-heading{margin:24px 2px 12px}.posts-heading p{margin:0;color:#7c8493;font-size:13px}.post-feed{display:grid;gap:14px}.post-card{padding:18px!important;margin:0!important;border-radius:14px!important}.post-heading{align-items:center}.post-heading .avatar{width:46px;height:46px;background:#ece7ff;color:#654cb0}.post-heading strong{font-size:15px}.post-heading small{font-size:12px}.post-body{font-size:16px;color:#272b34;margin:18px 2px;line-height:1.65}.post-stats{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9ebf0;padding:8px 2px;color:#687184;font-size:13px}.reaction-count{color:#6752a9}.post-actions{display:flex;gap:4px;border-top:0!important;padding-top:8px!important}.post-actions .social-action{flex:1;background:transparent!important;color:#626a78!important;border:0!important;font-weight:650}.post-actions .social-action:hover{background:#f4f2fa!important}.post-actions .social-action[aria-pressed=true]{color:#694cc4!important}.post-actions button:last-of-type:not(.social-action){padding:4px 10px!important}.empty-feed{padding:28px!important;text-align:center;color:#727988}.load-more{display:block;margin:14px auto;background:#fff!important;color:#5c4a99!important;border:1px solid #ded8ef!important;border-radius:999px!important;padding:9px 18px!important}.community-welcome{padding:20px!important}.community-welcome .eyebrow{color:#795bd2}.community-welcome h2{font-size:20px!important;line-height:1.3}.community-welcome p{font-size:14px;line-height:1.65;color:#626b79}.community-welcome a{font-size:13px}.hymn-promo{display:grid;grid-template-columns:48px 1fr;align-items:center;column-gap:12px;padding:16px;background:#fff;border:1px solid #e3e6ed;border-radius:14px;text-decoration:none!important;color:#292638!important;box-shadow:0 2px 8px #1b29400a}.hymn-promo>span{grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;background:#eee9ff;color:#7154c2;border-radius:12px;font-size:22px}.hymn-promo small{color:#747b88}.post-dialog{background:#fff!important;color:#20242d!important;border:1px solid #dfe2e8!important;box-shadow:0 18px 60px #10182840!important}.post-dialog .section-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8eaf0;padding-bottom:12px;margin-bottom:16px}.post-dialog .section-heading h2{margin:0}.post-dialog .section-heading button{border:0;background:#f0f2f5;color:#555;border-radius:50%;width:38px;height:38px}.community-active .post-dialog label{color:#3e4653}.community-active .post-dialog input,.community-active .post-dialog select,.community-active .post-dialog textarea{background:#f7f8fa;color:#20242d;border-color:#d9dde5}.community-active .community-respect{color:#504965;background:#f3efff;border-left-color:#8a6be1}.mobile-bottom-nav{display:none}
@media(max-width:900px){.community-feed-layout{grid-template-columns:minmax(0,720px)}.community-feed-aside{display:none}.community-view{max-width:720px}}
@media(max-width:700px){body.portal-page.community-active{background:#f0f2f6}.portal-page.community-active header{min-height:70px;height:auto;padding:8px 14px}.portal-page.community-active .brand img{width:48px;height:48px}.portal-page.community-active .brand .site-name{font-size:20px}.portal-page.community-active .brand small{font-size:9px}.portal-page.community-active .site-navigation{display:none}.portal-page.community-active .portal-main{padding:12px 0 calc(88px + env(safe-area-inset-bottom));}.community-view{width:100%;max-width:none}.community-feed-heading{padding:4px 16px 0;margin-bottom:14px}.community-feed-heading h1{font-size:25px}.community-feed-heading p:not(.eyebrow){font-size:14px}.message-shortcut{font-size:0!important;padding:10px 12px!important;min-width:42px}.message-shortcut span{display:none}.community-feed-layout{display:block}.community-feed-main{width:100%}.composer-launch-card{border-radius:0!important;border-left:0!important;border-right:0!important;margin-bottom:12px!important;padding:14px 16px!important}.composer-shortcuts button{font-size:12px!important;gap:4px;padding:6px 2px!important}.community-highlights{margin:14px 0 18px}.feed-section-heading{padding:0 14px}.community-story-row{display:flex;gap:10px;padding:2px 14px 8px;scroll-snap-type:x mandatory}.community-story{min-width:112px;height:138px;scroll-snap-align:start}.posts-heading{align-items:center;margin:16px 0 10px}.posts-heading p{display:none}.post-feed{gap:9px}.post-card{border-radius:0!important;border-left:0!important;border-right:0!important;padding:16px!important;margin:0!important}.post-body{margin:15px 1px;font-size:15px}.post-actions .social-action{min-height:42px!important;font-size:13px!important}.mobile-bottom-nav{position:fixed;z-index:80;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;min-height:58px;padding:5px 4px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe2e8;box-shadow:0 -2px 10px #1b29400d}.mobile-bottom-nav a,.mobile-bottom-nav button{display:flex;min-width:0;min-height:48px!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;text-decoration:none!important;background:transparent!important;border:0!important;color:#606979!important;padding:2px!important}.mobile-bottom-nav a[aria-current=page]{color:#684bc0!important}.mobile-bottom-nav span{font-size:21px;line-height:1}.mobile-bottom-nav small{font-size:9px;color:inherit;white-space:nowrap}.portal-page.community-active .policy-footer{padding-bottom:22px}.post-dialog{width:min(560px,calc(100vw - 20px))!important;padding:18px!important}.portal-page .post-dialog .form-pair{grid-template-columns:1fr}}
@media(max-width:380px){.mobile-bottom-nav small{font-size:8px}.mobile-bottom-nav span{font-size:19px}.composer-shortcuts button{font-size:11px!important}.community-story{min-width:104px}}

/* Church Hymns drawer: desktop layout remains in its original containers. */
.hymn-mobile-toolbar{display:none}
@media(max-width:700px){
 #hymnsView .hymn-mobile-toolbar{display:flex;position:sticky;top:0;z-index:20;align-items:center;gap:12px;padding:10px 0;background:#0d1118;margin-bottom:12px}
 .hymn-mobile-toolbar button{flex:none;min-height:44px;padding:10px 16px}
 #mobileHymnTitle{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;color:#cdd4e1}
 #hymnsView .hymn-layout{display:block}
 #hymnsView #hymnDetail{width:100%;box-sizing:border-box;padding:20px 16px;scroll-margin-top:72px;min-height:55vh}
 #hymnsView #hymnDetail h2{font-size:26px;line-height:1.5;overflow-wrap:anywhere}
 #hymnsView .sing-lyrics{grid-template-columns:1fr;gap:16px;font-size:20px}
 .portal-page .hymn-mobile-menu{position:fixed;inset:0 auto 0 0;margin:0;width:min(88vw,360px);max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;box-sizing:border-box;border:0;border-right:1px solid #424c60;border-radius:0;padding:20px 16px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));background:#131923;color:#edf0f6;overflow:hidden}
 .hymn-mobile-menu[open]{display:flex;flex-direction:column}
 .hymn-mobile-menu::backdrop{background:#0009}
 .hymn-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
 .hymn-menu-heading h2{margin:0;font-size:21px}
 .hymn-menu-heading button{min-width:44px;min-height:44px}
 #hymnMenuContent{display:flex;flex-direction:column;gap:16px;min-height:0;flex:1}
 #hymnMenuContent .search-label{flex:none;margin:0}
 #hymnMenuContent input{font-size:16px}
 #hymnMenuContent .hymn-list{max-height:none;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding-bottom:12px}
 #hymnMenuContent .hymn-item{width:100%;box-sizing:border-box}
 #hymnMenuContent .hymn-item>span:last-child{min-width:0;overflow-wrap:anywhere}
 body.hymn-menu-open{overflow:hidden}
}

.hymn-filters{display:flex;gap:16px;align-items:end;margin-bottom:20px}.hymn-filters>label{flex:1}.hymn-filters>.search-label{flex:3;margin:0}.sing-lyrics.single-language{grid-template-columns:1fr}@media(max-width:700px){.hymn-filters{display:block}.hymn-filters>label{display:block;margin-bottom:12px}}

.bible-mobile-toolbar{display:none}
@media(max-width:700px){
 #readerView .bible-mobile-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:16px}
 .bible-mobile-toolbar p{font-size:13px;color:#bbc4d6;line-height:1.5;margin:0;padding-right:130px}
 #openBibleMenu{position:fixed;right:16px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:70;min-height:48px;padding:12px 18px;border-radius:999px;background:#b5a2ff;color:#18122b;font-weight:700;box-shadow:0 4px 20px #0006}
 #readerView{padding-bottom:72px}
 .portal-page .bible-mobile-menu{position:fixed;inset:0 0 0 auto;margin:0;width:min(92vw,420px);max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;box-sizing:border-box;border:0;border-left:1px solid #424c60;border-radius:0;padding:18px 14px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));background:#131923;color:#edf0f6;overflow:hidden}
 .bible-mobile-menu[open]{display:flex;flex-direction:column}
 .bible-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #424c60;flex:none}
 .bible-menu-heading h2{margin:0;font-size:20px}
 .bible-menu-heading button{min-width:44px;min-height:44px}
 #bibleMenuContent{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:16px;-webkit-overflow-scrolling:touch}
 #bibleMobileSettings{margin-bottom:16px;border:1px solid #424c60;border-radius:10px;padding:12px}
 #bibleMobileSettings>summary{cursor:pointer;min-height:44px;line-height:1.5;color:#d4c9ff;font-size:15px}
 #bibleSettingsContent .reader-controls{display:grid;grid-template-columns:1fr;gap:12px;margin:10px 0 0;padding:0;border:0;background:transparent}
 #bibleImageContent .verse-share-panel{position:static;box-sizing:border-box;width:100%;max-width:none;max-height:none;overflow:visible;padding:12px!important;margin:0}
 #bibleMenuContent input,#bibleMenuContent select,#bibleMenuContent textarea{font-size:16px}
 #bibleMenuContent button{min-height:44px}
 .bible-menu-open{overflow:hidden!important}
 #readerView .reader-verse:not([aria-pressed=true]):hover{border-color:transparent!important;background:transparent!important}
}
.member-stories{display:flex;gap:12px;overflow-x:auto;padding:12px 0 20px}.member-stories>button{min-width:145px;max-width:180px;flex-shrink:0;border-radius:18px;background:linear-gradient(145deg,#362653,#172c38);padding:18px;text-align:left}.member-story{display:grid;gap:10px}.member-story span:last-child{font-size:14px;line-height:1.5}.avatar{object-fit:cover;flex-shrink:0}.member-dialog{width:min(540px,94vw);max-height:88dvh;overflow:auto;padding:24px;border:1px solid #46506a;border-radius:22px;background:#171d28;color:#fff}.member-dialog form{display:grid;gap:16px;margin-top:16px}.member-dialog label{display:grid;gap:8px}.member-dialog textarea{width:100%}.story-view{background:linear-gradient(145deg,#352253,#122d38)}.story-view .post-body{font-size:24px;line-height:1.65}.hymn-discussion{margin-top:32px;border-top:1px solid #42485c;padding-top:24px}.hymn-comment{display:grid;grid-template-columns:44px 1fr auto;gap:8px 12px;padding:20px 0;border-bottom:1px solid #333b4c}.hymn-comment .avatar{width:44px;height:44px;grid-row:span 2}.hymn-comment p{grid-column:2/-1;white-space:pre-wrap;margin:0}.hymn-comment button{grid-column:3}.hymn-discussion form{display:grid;gap:12px;margin-top:20px}
.profile-dialog{width:min(1080px,96vw);height:min(94dvh,1000px);max-width:1080px;max-height:94dvh;overflow:auto;padding:0 0 36px;border:0;border-radius:16px;background:#f4f6f9;color:#171923}.profile-dialog::backdrop{background:#07101dbb}.profile-close{position:sticky;top:12px;float:right;z-index:5;margin:12px;background:#101827bb;color:white;border-radius:50%;width:42px;height:42px}.profile-cover{height:clamp(180px,30vw,350px);position:relative;background:linear-gradient(135deg,#263d55,#786695 55%,#d9b5a0);overflow:hidden}.profile-cover>img{width:100%;height:100%;object-fit:cover}.cover-edit{position:absolute;right:20px;bottom:20px;background:#fff;color:#111}.profile-heading{position:relative;padding:18px 30px 20px 220px;min-height:145px;background:#fff;border-bottom:1px solid #dfe2e8}.profile-avatar{position:absolute;left:32px;top:-76px;width:170px;height:170px;border:6px solid #fff;border-radius:50%;font-size:64px}.profile-heading h1{font-size:32px;margin:4px 0}.profile-bio{margin:4px 0}.profile-count{color:#667085}.profile-edit{position:absolute;right:max(calc((100% - 1080px)/2 + 28px),28px);margin-top:-68px;z-index:2}.profile-tabs{display:flex;gap:12px;overflow:auto;padding:12px 24px;background:#fff;border-bottom:1px solid #e4e7ed;position:sticky;top:0;z-index:2}.profile-tabs button{white-space:nowrap;border:0}.profile-tabs button.active{color:#1769ee;border-bottom:3px solid #1769ee;border-radius:0}.profile-layout{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:18px;padding:22px}.profile-details,.profile-posts{background:#fff;border:1px solid #e0e4ec;border-radius:12px;padding:20px;color:#171923}.profile-details{align-self:start;position:sticky;top:70px}.profile-dialog .post-body{white-space:pre-wrap;color:#161922}.profile-dialog .portal-card{box-shadow:none;border-color:#e4e7ed}.profile-posts{display:grid;align-content:start;gap:14px}.photo-pick{display:inline-flex!important;width:max-content;border:1px solid #4a5267;border-radius:10px;padding:10px 14px;cursor:pointer}.upload-preview,.community-photo{max-width:100%;max-height:640px;object-fit:contain;border-radius:14px;display:block;margin:10px auto}.member-story img{width:70px;height:70px;object-fit:cover;border-radius:50%;border:2px solid #b6acff}.emoji-picker{display:flex;gap:6px;flex-wrap:wrap;padding:8px;background:#121822;border:1px solid #303b4c;border-radius:14px;margin:8px 0}.emoji-picker button{font-size:20px;padding:6px;background:transparent;border:0;min-width:38px}.reaction-picker{display:flex;gap:6px;padding:8px;background:#192131;border-radius:16px;flex-wrap:wrap}.reaction-picker button{border-radius:99px}.hymn-comment .avatar[role=button]{cursor:pointer}@media(max-width:640px){.profile-heading{padding:70px 18px 18px;min-height:0}.profile-avatar{top:-58px;left:18px;width:118px;height:118px}.profile-edit{right:18px;margin-top:-54px}.profile-heading h1{font-size:26px}.profile-layout{grid-template-columns:1fr;padding:12px}.profile-details{position:static}.profile-tabs{gap:2px;padding:8px}.profile-dialog{width:100vw;height:100dvh;max-height:none;border-radius:0}}
/* Church Hymns reader: artwork and readable verse cards are limited to /hymns. */
#hymnsView #hymnDetail{min-width:0;padding:clamp(20px,3vw,38px);border:1px solid #49516b;border-radius:20px;color:#f3f5fc;background-color:#111827;background-image:linear-gradient(135deg,rgba(9,14,26,.12),rgba(10,16,28,.28)),url('/images/hymns-background.svg');background-position:center top;background-size:cover;box-shadow:0 20px 50px #070c1760}
#hymnsView #hymnDetail .helper{color:#b9c6db}
#hymnsView .hymn-hero{display:flex;align-items:center;gap:20px;min-height:120px;padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid #ffffff30}
#hymnsView .hymn-hero-title{min-width:0}
#hymnsView .hymn-hero .eyebrow{color:#d8c5ff;margin:0 0 8px}
#hymnsView .hymn-hero h2{font-size:clamp(24px,2.4vw,38px);line-height:1.35;margin:0;color:#fff;overflow-wrap:anywhere}
#hymnsView .hymn-cover{width:clamp(80px,10vw,125px);height:clamp(80px,10vw,125px);max-height:none;flex:none;object-fit:cover;margin:0;border:1px solid #ffffff45;border-radius:14px;box-shadow:0 8px 24px #0007}
#hymnsView #hymnDetail audio{display:block;margin:12px 0 24px;max-width:560px}
#hymnsView .sing-lyrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#hymnsView .sing-lyrics.single-language{grid-template-columns:1fr}
#hymnsView .hymn-language-card{min-width:0;padding:clamp(18px,2vw,28px);background:rgba(12,19,32,.86);border:1px solid #a99aca55;border-radius:16px;box-shadow:inset 0 1px #ffffff14}
#hymnsView .hymn-language-card:nth-child(2){border-color:#d7ab7655}
#hymnsView .hymn-stanza{margin:0;padding:0 0 18px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:clamp(17px,1.45vw,22px);line-height:1.8;color:#f4f5fa}
#hymnsView .hymn-stanza+.hymn-stanza{margin-top:20px;padding-top:20px;border-top:1px solid #ffffff24}
#hymnsView .hymn-list .hymn-item{border:1px solid #454b5e;border-radius:12px;background:#202630;color:#f3f4f9}
#hymnsView .hymn-list .hymn-item[aria-pressed=true]{background:#382f55;border-color:#b9a6ff}
@media(min-width:801px){#hymnsView .hymn-layout{height:min(76dvh,900px);min-height:450px;align-items:stretch;overflow:hidden}#hymnsView .hymn-list{height:100%;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}#hymnsView #hymnDetail{box-sizing:border-box;height:100%;min-height:0;margin-bottom:0;overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:1100px){#hymnsView .sing-lyrics{grid-template-columns:1fr}}
@media(max-width:600px){#hymnsView #hymnDetail{padding:18px}#hymnsView .hymn-hero{min-height:0;gap:14px}#hymnsView .hymn-cover{width:72px;height:72px}#hymnsView .hymn-language-card{padding:18px}}

.bible-notice{margin:16px 0;line-height:1.7}.bible-notice summary{cursor:pointer;font-weight:650}.bible-source{font-size:.9rem;line-height:1.7;margin-top:24px}.bible-source a{text-decoration:underline}
/* Community feed refinement: scoped so presentation and reading layouts stay independent. */
.community-active .community-feed-layout{max-width:1240px;margin-inline:auto;grid-template-columns:minmax(0,820px) minmax(250px,320px);gap:28px}
.community-active .community-feed-heading{max-width:1240px;margin-inline:auto}
.community-active .community-story-row{display:flex;flex-wrap:wrap;gap:10px;overflow:visible}
.community-active .community-story-row .community-story{flex:1 1 125px;min-height:76px;height:auto;padding:14px;border-radius:16px;display:flex;align-items:center;gap:9px;color:#fff}
.community-active .community-story-row .community-story span{color:inherit}
.community-active .community-story-row .community-story svg{width:26px;height:26px}
.community-active .post-card{padding:24px;border-radius:20px;box-shadow:0 5px 22px #00000008;margin-bottom:18px;overflow-wrap:anywhere}
.community-active .post-card img:not(.member-avatar){max-width:100%;object-fit:contain;border-radius:14px}
.community-active .post-card button{min-height:44px}
.community-active .composer-launch-card{padding:22px;border-radius:20px}
.community-active .composer-prompt{min-height:52px}
.community-active .community-feed-aside{align-self:start;position:sticky;top:24px}
.community-active .community-feed-main{min-width:0}
.hymn-source-notice,.bible-source{font-size:.85rem;line-height:1.6}
@media(max-width:900px){.community-active .community-feed-layout{grid-template-columns:1fr}.community-active .community-feed-aside{position:static}.community-active .post-card{padding:18px}.community-active .community-story-row .community-story{flex-basis:120px}}
/* Let upward scrolling reach the page header after the panel reaches its top. */
@media(min-width:801px){#hymnsView .hymn-list,#hymnsView #hymnDetail{overscroll-behavior-y:auto}}
.reading-progress{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:18px 22px;border:1px solid #8274ad;border-radius:16px;margin-bottom:20px;background:transparent;color:inherit}
.reading-progress p{margin:5px 0;line-height:1.5}.reading-progress strong{font-size:1.2rem}.reading-progress button{margin-left:auto}.reading-progress small{color:inherit;opacity:.85}.reading-progress [role=status]{width:100%}
.profile-heading>.profile-friends{grid-column:1/-1;width:100%;box-sizing:border-box;margin-top:18px;padding:16px;border:1px solid #8274ad;border-radius:12px}.profile-friends>summary{font-weight:700;cursor:pointer;font-size:1rem;padding:8px}.profile-friends .friend-row{margin-top:12px}.notification-bell{white-space:nowrap}.notifications-dialog .notification-row{display:grid;text-align:left;gap:6px;width:100%;padding:16px;margin:10px 0;background:transparent;color:inherit;border:1px solid #8274ad;border-radius:12px}.notifications-dialog .notification-row.unread{border-left:5px solid #ae8eff}.notification-row small{color:inherit}.notifications-dialog>button{margin-right:10px}
html:not([data-theme=light]) .profile-dialog .profile-tabs{background:#171d2a;color:#f5f2ff}

.friend-profile-link{display:flex;align-items:center;gap:12px;flex:1;text-align:left;background:transparent;color:inherit;border:0;min-width:0}.compose-avatar{padding:0;overflow:hidden;cursor:pointer}.compose-avatar img{width:100%;height:100%;object-fit:cover}.compose-avatar:focus-visible,.friend-profile-link:focus-visible{outline:3px solid var(--accent,#a991ff);outline-offset:3px}
/* Compact community chrome keeps profile and timeline content in view. */
body.portal-page.community-active>header{position:static;min-height:60px;height:auto;padding:8px 16px;gap:8px 12px;align-items:center;justify-content:flex-start}
body.portal-page.community-active>header .brand{padding:0;gap:8px;flex:none}
body.portal-page.community-active>header .brand img{width:40px;height:40px;object-fit:contain}
body.portal-page.community-active>header .brand .site-name{font-size:20px;line-height:1.2}
body.portal-page.community-active>header .brand small{display:none}
body.portal-page.community-active>header #accountArea{gap:8px;margin-left:auto;flex-wrap:wrap}
body.portal-page.community-active>header button,body.portal-page.community-active>header .appearance-control summary{min-height:40px;padding:8px 10px;font-size:14px}
body.portal-page.community-active .site-navigation{padding:4px 12px;gap:4px;flex-wrap:nowrap;overflow-x:auto}
body.portal-page.community-active .site-navigation a{flex:none;padding:9px 10px;font-size:14px;white-space:nowrap}
body.portal-page.community-active .community-feed-heading{margin-bottom:18px}
body.portal-page.community-active .portal-main{padding-top:18px}
body.portal-page.community-active .profile-dialog{width:min(1080px,96vw);max-height:94dvh;padding:0 0 20px}
body.portal-page.community-active .profile-cover{height:clamp(110px,15vw,180px)}
body.portal-page.community-active .profile-heading{min-height:100px;padding:12px 20px 14px 140px}
body.portal-page.community-active .profile-avatar{width:96px;height:96px;left:22px;top:-34px;font-size:36px;border-width:4px}
body.portal-page.community-active .profile-heading h1{font-size:26px}
body.portal-page.community-active .profile-tabs{padding:6px 14px;gap:6px}
body.portal-page.community-active .profile-heading>.profile-friends{margin-top:10px;padding:6px 10px}
@media(max-width:700px){body.portal-page.community-active>header #accountArea>span{display:none}body.portal-page.community-active>header{padding:6px 10px}body.portal-page.community-active .profile-heading{padding:68px 16px 12px;min-height:0}body.portal-page.community-active .profile-avatar{left:16px;top:-34px}body.portal-page.community-active .profile-heading h1{font-size:24px}}
.bible-wide-search{margin:20px 0}.bible-wide-search form{display:flex;gap:12px;flex-wrap:wrap}.bible-wide-search input{flex:2;min-width:180px}.bible-wide-search select{flex:1;min-width:180px}.bible-wide-search .bible-search-result{display:block;width:100%;text-align:left;margin:10px 0;padding:16px;white-space:normal}.bible-wide-search .bible-search-result strong,.bible-wide-search .bible-search-result span{display:block}.bible-wide-search .bible-search-result span{margin-top:8px;line-height:1.7}

#readerView .bible-wide-search{padding:12px 16px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 18px;align-items:center}#readerView .bible-wide-search h2{font-size:15px;margin:0}#readerView .bible-wide-search form{gap:8px}#readerView .bible-wide-search input,#readerView .bible-wide-search select,#readerView .bible-wide-search button{font-size:14px;min-height:40px;padding:8px 12px}#readerView .bible-wide-search>p,#readerView .bible-wide-search>div{grid-column:1/-1;margin:0}#readerView .bible-wide-search>p:empty,#readerView .bible-wide-search>div:empty{display:none}#readerView .bible-share-layout{grid-template-columns:minmax(0,1fr) 300px}#readerView .reader-text{min-width:0}@media(max-width:1000px){#readerView .bible-share-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:650px){#readerView .bible-wide-search{grid-template-columns:1fr}#readerView .bible-wide-search input{flex-basis:100%}}

/* Give the Bible the available screen space; keep its tools compact. */
body.bible-reader-active .portal-main{max-width:none;padding-top:16px}
#readerView>.portal-heading{margin-bottom:12px;gap:12px}
#readerView>.portal-heading h1{font-size:28px;margin:0}
#readerView>.portal-heading .eyebrow{display:none}
#readerView>.bible-wide-search{margin:0 0 12px}
#readerView .bible-wide-search>div{max-height:38vh;overflow-y:auto}
#readerView>.reader-controls{padding:14px;gap:12px;margin-bottom:12px}
@media(min-width:1100px){#readerView>.reader-controls{grid-template-columns:repeat(4,minmax(0,1fr))}#readerView>.reader-controls label:nth-of-type(5){grid-column:span 3}}

.composer-media-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.composer-media-actions button,.emoji-picker button{min-height:44px;min-width:44px}#postVideoPreview{display:block;max-width:100%;max-height:240px}video.community-photo{max-height:480px;width:100%;object-fit:contain;background:#101827}#postDialog{max-height:90dvh;overflow:auto}
