.communityWrap{max-width:1000px;margin:auto;padding:28px 20px 70px}.communityTitle p{letter-spacing:.15em;color:#7ccee5;font-size:11px}.communityTitle h1{font-size:clamp(30px,6vw,48px);margin:10px 0 26px}.communityTabs{display:flex;gap:8px;overflow:auto;border-bottom:1px solid #28506a;padding-bottom:16px}.communityTabs button{border:0;background:#0d2d40;color:#a5cbdc;padding:13px 20px;border-radius:24px;white-space:nowrap;font:600 14px system-ui;cursor:pointer}.communityTabs [aria-current]{color:#061c2b;background:#9be7fa}.communitySectionTitle{display:flex;justify-content:space-between;gap:12px;align-items:center}.communitySectionTitle h2{font-size:21px}.communityCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}.communityCard{background:#0a263b;border:1px solid #24485d;border-radius:20px;padding:20px;color:#ebf9ff;overflow-wrap:anywhere}.communityCard h3{margin-top:0}.communityCard p{color:#b5cddb}.communityCard button{margin-top:10px}.communityDialog{border:1px solid #2a536b;background:#092338;color:#e8f8ff;border-radius:24px;padding:24px;width:min(540px,calc(100% - 24px));max-height:90dvh;overflow:auto}.communityDialog::backdrop{background:#00101bba;backdrop-filter:blur(6px)}.communityDialog input,.communityDialog select,.communityDialog textarea,.communityWrap input,.communityWrap select,.communityWrap textarea{width:100%;box-sizing:border-box;border:1px solid #315870;border-radius:12px;background:#edf7fc;color:#092338;padding:13px;font:16px system-ui;margin:8px 0 16px}.communityWrap label,.communityDialog label{display:block}.communityContacts{max-height:280px;overflow:auto}.communityContact{display:flex!important;align-items:center;gap:12px;padding:10px;border-bottom:1px solid #24475b}.communityContact input{width:20px!important;margin:0!important}.communitySend{display:flex;gap:8px;align-items:center}.communitySend textarea{margin:0}.groupMessages{display:flex;flex-direction:column;gap:10px;max-height:52dvh;overflow:auto;padding:18px 0;min-height:100px}.groupMessage{padding:12px 16px;border-radius:17px;background:#163d51;max-width:85%;align-self:flex-start;overflow-wrap:anywhere}.groupMessage.mine{background:#255166;align-self:flex-end}.groupMessage p{white-space:pre-wrap;margin:6px 0}.groupMessage small{font-size:11px;color:#adccda}.communityAvatar{height:100px;width:100px;border:2px solid #63cde5;border-radius:30px;display:grid;place-items:center;background:#1c5067;font-size:38px;margin-bottom:20px;overflow:hidden}.communityAvatar img{width:100%;height:100%;object-fit:cover}.communityMember{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0}.communityCards .momentMedia{max-width:100%;max-height:420px}.communityCards .momentMediaLoad{width:100%;min-height:120px;border:1px solid #46728a;border-radius:12px;background:#12364c;color:#c5e9f5;display:grid;place-items:center;gap:6px}.phaseHeader b span{color:#8adbfa}.phaseHeader a{font-size:13px}.communityWrap [hidden]{display:none!important}@media(max-width:540px){.communityWrap{padding:20px 14px 50px}.communitySectionTitle{flex-wrap:wrap}.communityTabs button{padding:12px 15px}.communityCards{grid-template-columns:1fr}.communitySend{align-items:stretch}.communitySend button{padding:10px}.phaseHeader{padding:14px;gap:10px}}

#groupRoom,#broadcastRoom{scroll-margin-top:85px}.communitySend textarea{min-width:0;flex:1}.communitySend button{flex:0 0 auto;min-width:76px;white-space:nowrap}#groupsSection:has(#groupRoom:not([hidden]))>#groupList,#groupsSection:has(#groupRoom:not([hidden]))>.communitySectionTitle{display:none}

#groupOptions{padding:10px 0}#groupOptions summary{cursor:pointer;color:#a8dce9}#groupOptions .phaseActions{padding-top:12px}

/* A tighter community hub with a consistent icon set. */
body.communityPage.vobixOrganized .communityWrap{padding:12px 14px calc(28px + var(--vobix-safe-bottom,0px));}
body.communityPage.vobixOrganized .communityTitle{padding:8px 0 0;}
body.communityPage.vobixOrganized .communityTitle h1{font-size:26px;line-height:1.2;margin:0;}
body.communityPage.vobixOrganized .communityTabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;padding:0 0 12px;}
body.communityPage.vobixOrganized .communityTabs>button{min-width:0;min-height:68px;height:auto;padding:9px 5px;gap:5px;border-radius:16px;font-size:14px;line-height:1.2;white-space:normal;}
body.communityPage.vobixOrganized .communityTabs>button>span:first-child{display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1;}
body.communityPage .communityTabs svg{width:23px;height:23px;}
body.communityPage.vobixOrganized .communitySectionTitle{gap:8px;margin:4px 0 8px;align-items:center;}
body.communityPage.vobixOrganized .communitySectionTitle h2{font-size:21px;line-height:1.3;margin:0;}
body.communityPage.vobixOrganized .communitySectionTitle .phaseButton{padding:9px 12px;min-height:44px;font-size:15px;line-height:1.2;border-radius:13px;}
body.communityPage.vobixOrganized .phaseNote{margin:8px 0 14px;line-height:1.4;}
body.communityPage.vobixOrganized #communityStatus:empty{display:none;}
html:is([data-vobix-font=large],[data-vobix-font=xlarge]) body.communityPage.vobixOrganized .communityTabs{grid-template-columns:repeat(2,minmax(0,1fr));}
html:is([data-vobix-font=large],[data-vobix-font=xlarge]) body.communityPage.vobixOrganized .communityTabs>button{font-size:17px;min-height:72px;}

/* A large circular preview and clear gallery/camera/save actions. */
body.communityPage .profilePhotoEditor{margin-block:16px 28px}
body.communityPage .profilePhotoChoice{display:flex;flex-direction:column;align-items:center;gap:10px;padding:8px;margin:0 auto 12px;border:0;background:transparent;color:inherit;font:600 16px system-ui;cursor:pointer}
body.communityPage .profilePhotoChoice .communityAvatar{width:132px;height:132px;margin:0;border-radius:50%;border:0;font-size:38px}
body.communityPage .profilePhotoActions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
body.communityPage .profilePhotoActions .phaseButton{min-height:48px;flex:1 1 150px;margin:0;font-size:16px}
body.communityPage #chatProfilePhotoReview{padding:14px;border:1px solid #92c4df;border-radius:16px;margin-top:16px}
body.communityPage .profilePhotoChoice:focus-visible{outline:3px solid #0087cb;outline-offset:4px;border-radius:16px}
body.communityPage .profilePhotoEditor button:disabled{opacity:.55;cursor:wait}
body.communityPage #chatProfilePhotoStatus{min-height:1.5em;line-height:1.5}


/* Vobix state controls: compact, reversible and easy to find. */
.statusHiddenMenu{margin:12px 0;border:1px solid #c4d8e6;border-radius:12px;padding:0 12px}
.statusHiddenMenu>summary,.statusCardOptions>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:600}
.statusHiddenPerson{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #d7e8f3}
.statusHiddenPerson>span{min-width:0;overflow-wrap:anywhere}
.statusHiddenPerson .phaseButton{width:auto!important;min-height:44px;font-size:13px!important;padding:8px 12px!important}
.statusCardOptions{margin-top:8px;border-top:1px solid #d7e8f3}
.statusCardOptions[open]{display:flex;flex-wrap:wrap;gap:8px}
.statusCardOptions>summary{width:100%;color:#0675bd}
.statusCardOptions .phaseButton{width:auto!important;font-size:14px!important;padding:8px 12px!important;margin:0!important}

body.communityPage #chatProfileSaveStatus{min-height:1.5em;line-height:1.5;overflow-wrap:anywhere}
body.communityPage #chatProfileSaveStatus:empty{display:none}
body.communityPage.vobixOrganized>.phaseHeader>a[data-visible-back]{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;text-decoration:none}
