/* Let the invitation and members' words lead; keep REBUILD's cream and raised controls. */
#community:is([data-community-screen="home"],[data-community-screen="compose"],[data-community-screen="post"]){
  background:#f4f1e9;color:#20282d;
}
#community[data-community-screen="home"] .community-image-home{
  height:clamp(180px,48vw,224px);min-height:0;padding:3px;border-color:#d1ccc2;
  box-shadow:inset 1px 1px #fffdf8,0 3px 0 #d1cbc0,0 8px 18px rgba(32,40,45,.08);
}
#community[data-community-screen="home"] .community-image-home .community-hero-copy{
  padding:22px;justify-content:space-between;
}
#community[data-community-screen="home"] .community-image-home .community-hero-copy h1{
  font-size:clamp(34px,8.5vw,52px);letter-spacing:-.045em;
}
#community[data-community-screen="home"] .community-home-invitation{
  margin:28px auto 0;padding:0 4px;border:0;border-radius:0;background:transparent;box-shadow:none;
}
#community[data-community-screen="home"] .community-home-invitation::before{display:none}
#community[data-community-screen="home"] .community-home-invitation-copy .community-kicker{
  font-size:12px;letter-spacing:.07em;color:#46575b;
}
#community[data-community-screen="home"] .community-home-invitation-copy h2{
  font-size:clamp(29px,7vw,36px);line-height:1.13;letter-spacing:-.04em;
}
#community[data-community-screen="home"] .community-home-invitation-copy p:last-child{
  max-width:40ch;font-size:17px;line-height:1.6;font-weight:400;margin-top:12px;
}
#community[data-community-screen="home"] .community-share-prompt{
  position:relative;margin-top:20px;padding:18px;gap:12px;border:1px solid #d1ccc2;
  border-top-color:#fffdf8;border-left-color:#fffdf8;border-radius:20px;background:#faf7f0;
  box-shadow:inset 1px 1px #fffdf8,0 3px 0 #d1cbc0,0 8px 18px rgba(32,40,45,.07);
}
#community[data-community-screen="home"] .community-share-prompt::before{
  content:"";position:absolute;left:18px;right:18px;top:0;height:3px;border-radius:0 0 3px 3px;
  background:linear-gradient(90deg,#27d7c7,#5897f7,#a96bff);
}
#community[data-community-screen="home"] .community-share-prompt:hover{background:#fffdf8;border-color:#bfc3bc}
#community[data-community-screen="home"] .community-share-copy strong{font-size:19px;line-height:1.3}
#community[data-community-screen="home"] .community-share-copy small{margin-top:6px;font-size:14px;line-height:1.5}
#community[data-community-screen="home"] .community-share-avatar{background:#f4f1e9;border-color:#d1ccc2;color:#20282d}
#community[data-community-screen="home"] .community-share-label{
  background:#20282d;border-color:#20282d;border-radius:14px;color:#fffdf8;
}
#community[data-community-screen="home"] .community-conversations{margin-top:34px}
#community[data-community-screen="home"] .community-conversations .community-section-head{
  padding-bottom:0;border:0;margin-bottom:16px;
}
#community[data-community-screen="home"] .community-filters{
  display:flex;flex-wrap:wrap;gap:6px;padding:0 0 14px;border-bottom:1px solid #d1ccc2;
}
#community[data-community-screen="home"] .community-filter{
  flex:1 1 auto;padding:10px;min-height:44px;border-color:transparent;border-radius:24px;
  background:transparent;box-shadow:none;font-size:12px;letter-spacing:.02em;
}
#community[data-community-screen="home"] .community-filter[aria-pressed="true"]{
  background:#faf7f0;border-color:#d1ccc2;color:#20282d;box-shadow:inset 0 -2px #27d7c7;
}
#community[data-community-screen="home"] .community-feed{gap:18px}
#community[data-community-screen="home"] .community-feed-post{
  padding:22px;border-color:#ded8cd;border-top-color:#fffdf8;border-left-color:#fffdf8;
  background:#faf7f0;box-shadow:inset 1px 1px #fffdf8,0 5px 14px rgba(32,40,45,.055);
}
#community[data-community-screen="home"] .community-post-message{
  border:0;padding:0;margin:20px 0 22px;
}
#community[data-community-screen="home"] .community-post-message .community-post-copy{
  font-size:18px;font-weight:400;line-height:1.65;
}
#community[data-community-screen="home"] .community-feed-avatar{
  width:48px;height:48px;background:#f4f1e9;color:#20282d;border-color:#d1ccc2;
}
#community[data-community-screen="home"] .community-post-author b{font-size:17px}
#community[data-community-screen="home"] .community-quick-actions{gap:0}
#community[data-community-screen="home"] .community-quick-action{
  border:0;border-bottom:1px solid #d1ccc2;border-radius:0;padding:20px 4px;background:transparent;box-shadow:none;
}
#community[data-community-screen="home"] .community-quick-copy small{font-size:15px;line-height:1.5}
#community[data-community-screen="compose"] .community-writing-card{
  padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
#community[data-community-screen="compose"] .community-compose-intro p:last-child{font-size:17px;line-height:1.6}
#community[data-community-screen="post"] .community-post-copy{
  border:0;padding:0;font-size:19px;line-height:1.65;font-weight:400;
}
#community[data-community-screen="post"] .community-replies{
  border:0;background:transparent;box-shadow:none;padding:12px 4px;
}
#community[data-community-screen="post"] .community-reply-preview{
  background:#faf7f0;border-color:#ded8cd;border-radius:18px;padding:20px;
}
#community[data-community-screen="post"] .community-reply-preview p{font-size:17px;line-height:1.6}
#community :is(.community-share-prompt,.community-filter,.community-quick-action):focus-visible{
  outline:3px solid #20282d;outline-offset:4px;
}
@media(max-width:430px){
  #community[data-community-screen="home"] .community-share-prompt{grid-template-columns:48px minmax(0,1fr)}
  #community[data-community-screen="home"] .community-share-label{grid-column:2;justify-self:start;margin-top:4px}
}
@media(forced-colors:active){
  #community[data-community-screen="home"] .community-share-prompt,
  #community[data-community-screen="home"] .community-feed-post,
  #community[data-community-screen="post"] .community-reply-preview{border:1px solid CanvasText;background:Canvas;box-shadow:none}
  #community[data-community-screen="home"] .community-filter[aria-pressed="true"]{outline:2px solid Highlight}
  #community :is(.community-share-prompt,.community-filter,.community-quick-action):focus-visible{outline-color:Highlight}
}
