html:is([data-page="quran"],[data-page="community"]) .app > .header {display:none}
html:is([data-page="quran"],[data-page="community"]) .app {padding-top:max(16px,env(safe-area-inset-top))}
html[data-page="quran"] #quranPage,html[data-page="community"] #communityPage {padding-top:0}
#communityPage .community-stream {border:1px solid var(--lp-line);border-radius:22px;background:var(--lp-surface);overflow:hidden}
#communityPage #prayerForm {display:flex;gap:12px;padding:21px 20px 18px;margin:0;border:0;border-radius:0;background:transparent}
.anonymous-avatar {display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--lp-tint);color:var(--lp-accent)}
.anonymous-avatar svg {width:20px;height:20px;fill:currentColor}
#communityPage #prayerForm>.composer-body,#communityPage .prayer-request>.request-body {display:block;flex:1;min-width:0}
#communityPage #prayerForm label {display:block;margin:1px 0 8px;font:500 12px/1.5 var(--lp-sans);color:var(--lp-muted)}
#communityPage #prayerText {display:block;box-sizing:border-box;width:100%;min-height:68px;max-height:200px;margin:0;padding:0 0 12px;border:0;border-radius:4px;resize:none;background:transparent;color:var(--lp-ink);font:400 16px/1.6 var(--lp-sans)}
#communityPage #prayerText::placeholder {color:var(--lp-muted);opacity:.85}
#communityPage #prayerForm .prayer-submit {display:flex;flex-direction:row;align-items:center;gap:10px;margin-top:4px}
#communityPage #prayerForm .prayer-submit small {order:0;flex:1;text-align:start;font:400 10px/1.4 var(--lp-sans);color:var(--lp-muted);opacity:.75}
#prayerLength {font:400 10px/1.4 var(--lp-mono);color:var(--lp-muted)}
#communityPage #prayerForm .save-button {display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;min-width:98px;min-height:40px;flex:0 0 auto;margin:0;padding:9px 18px;border-radius:999px;font:550 13px/1.4 var(--lp-sans)}
#prayerForm .save-button svg {width:16px;height:16px;fill:currentColor}
#communityPage .community-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 15px;margin:0;border-top:1px solid var(--lp-line);border-bottom:1px solid var(--lp-line)}
.community-filters {display:flex;gap:3px;min-width:0}
#communityPage .community-filters button {padding:9px 11px;min-height:40px;border:0;border-radius:999px;background:transparent;color:var(--lp-muted);font:500 11px/1.4 var(--lp-sans);white-space:nowrap;cursor:pointer}
#communityPage .community-filters button[aria-pressed="true"] {background:var(--lp-tint);color:var(--lp-ink)}
#communityPage .community-refresh {display:grid;place-items:center;min-width:40px;min-height:40px;padding:8px;border:0;border-radius:50%;background:transparent;color:var(--lp-muted);cursor:pointer}
.community-refresh svg {width:18px;height:18px;fill:currentColor}
#communityStatus {margin:0;padding:12px 20px;color:var(--lp-muted);font:400 12px/1.6 var(--lp-sans)}
#communityStatus:empty {display:none}
#communityPage .prayer-request {display:flex;gap:12px;box-sizing:border-box;width:100%;padding:22px 20px 18px;margin:0;border:0;border-bottom:1px solid var(--lp-line);border-radius:0;background:transparent}
#communityPage .prayer-request:last-child {border-bottom:0}
#communityPage .request-meta {display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px;margin:0;min-height:24px;color:var(--lp-muted);font:400 11px/1.5 var(--lp-sans)}
#communityPage .request-meta strong {font-size:13px;font-weight:550;color:var(--lp-ink)}
.sample-label {padding:2px 7px;border-radius:99px;background:var(--lp-tint);font-size:9px;line-height:1.4;color:var(--lp-muted)}
#communityPage .request-overflow {margin-inline-start:auto;min-width:40px;min-height:28px;padding:3px 0;border:0;background:transparent;color:var(--lp-muted);font:400 10px/1.4 var(--lp-sans);cursor:pointer}
#communityPage .prayer-request p {margin:8px 0 17px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--lp-ink);font:400 15px/1.75 var(--lp-sans)}
.request-actions {display:flex;align-items:center;flex-wrap:wrap;gap:7px}
#communityPage :is(.request-support,.request-expression,.request-comments) {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid var(--lp-line);border-radius:999px;background:transparent;color:var(--lp-muted);font:500 11px/1.4 var(--lp-sans);cursor:pointer}
.request-actions svg {width:15px;height:15px;fill:currentColor}
#communityPage .request-support[aria-pressed="true"],#communityPage .request-expression.has-expression,#communityPage .request-expression[aria-expanded="true"] {background:var(--lp-tint);border-color:var(--lp-accent);color:var(--lp-accent)}
.expression-symbol {font-size:16px;line-height:1}
.support-count {font-variant-numeric:tabular-nums;font-size:10px;opacity:.75}
#communityPage button:disabled {opacity:.5;cursor:wait}
#communityPage .community-empty-note {padding:34px 25px;margin:0;color:var(--lp-muted);font:400 14px/1.7 var(--lp-sans);text-align:center}
#prayerRequests.is-virtual {position:relative;width:100%;overflow-anchor:none}
#prayerRequests.is-virtual .prayer-request {position:absolute;inset:0 0 auto 0}
.community-emoji-popover {position:fixed;z-index:70;inset:0 auto auto 0;box-sizing:border-box;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--lp-line);border-radius:20px;background:var(--lp-surface);color:var(--lp-ink);box-shadow:0 12px 48px #0004;font-family:var(--lp-sans)}
.community-emoji-popover[hidden] {display:none}
.emoji-popover-head {display:flex;align-items:center;justify-content:space-between;padding:8px 12px 3px;font-size:12px;font-weight:550}
.emoji-popover-head button {display:grid;place-items:center;width:36px;height:36px;padding:7px;border:0;border-radius:50%;background:transparent;color:var(--lp-muted);cursor:pointer}
.emoji-popover-head svg {width:18px;height:18px;fill:currentColor}
.quick-expressions {display:flex;gap:8px;padding:3px 12px 14px}
.quick-expressions button {display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:86px;padding:10px 5px;border:1px solid transparent;border-radius:14px;background:var(--lp-tint);color:var(--lp-ink);font:500 11px/1.4 var(--lp-sans);cursor:pointer}
.quick-expressions button>span:first-child{font-size:24px;line-height:1.2}
.quick-expressions small{font:500 11px/1.3 var(--lp-mono);color:var(--lp-muted)}
.quick-expressions button[aria-pressed="true"]{border-color:var(--lp-accent)}
.community-emoji-popover :focus-visible,.community-comments-dialog :focus-visible {outline:2px solid var(--lp-accent);outline-offset:2px}
.community-comments-dialog {width:min(100% - 32px,650px);max-height:85dvh;padding:22px;border:1px solid var(--lp-line);border-radius:22px;background:var(--lp-surface);color:var(--lp-ink);font-family:var(--lp-sans)}
.community-comments-dialog::backdrop {background:#0008;backdrop-filter:blur(5px)}
.community-comments-dialog>header {display:flex;justify-content:space-between;align-items:center;gap:12px}
.community-comments-dialog h2 {margin:0;font-size:18px}
.community-comments-dialog>p {padding-bottom:16px;border-bottom:1px solid var(--lp-line);font-size:14px;line-height:1.7;white-space:pre-wrap}
.community-comments-dialog>header button {width:38px;height:38px;padding:9px;border:0;border-radius:50%;background:var(--lp-tint);color:var(--lp-ink)}
.community-comments-dialog svg {width:20px;height:20px;fill:currentColor}
@media(max-width:480px){#communityPage #prayerForm,#communityPage .prayer-request{padding:18px 14px;gap:10px}.anonymous-avatar{flex-basis:32px;width:32px;height:32px}#communityPage .community-toolbar{padding:8px 10px;gap:4px}#communityPage .community-filters button{padding:8px 9px;font-size:10px}#communityPage .prayer-request p{font-size:14px}.request-actions{gap:6px}#communityPage :is(.request-support,.request-expression,.request-comments){padding:7px 9px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.community-emoji-popover{scroll-behavior:auto}}

.request-reaction-summary{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
#communityPage .reaction-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 9px;border:1px solid var(--lp-line);border-radius:999px;background:var(--lp-tint);color:var(--lp-ink);font:500 11px/1.4 var(--lp-sans);cursor:pointer}
#communityPage .reaction-chip[aria-pressed="true"]{border-color:var(--lp-accent);color:var(--lp-accent)}
.reaction-chip>span:first-child{font-size:16px}
.support-count{display:inline-block;min-width:16px;text-align:center;font-size:12px;opacity:1}
