/* Community, aligned with the supplied family identity. */
#community-root{max-width:1180px;padding-top:0}
#community-root:before{display:none}
#community-root .community-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:20px;padding:30px 34px;border-radius:26px;background:#f1dfc7;color:#4b2e1c;border:1px solid #e6ccac;box-shadow:none}
#community-root .community-hero:after{display:none}
#community-root .community-hero h1{font-size:clamp(28px,3.3vw,42px);max-width:540px}
#community-root .community-hero p{color:#795b43;font-size:14px}
#community-root .community-hero .eyebrow{color:#94643f;font-size:10px}
.community-hero-art{width:220px;height:150px;object-fit:cover;border-radius:80px 80px 28px 28px;grid-column:2;grid-row:1/3}
#community-root .community-live{justify-self:start;background:#fffbf3;color:#715236;border-color:#e2c7a6;white-space:normal;font-size:11px;margin:0}
#community-root .community-layout{grid-template-columns:minmax(0,1fr) 310px;gap:22px;margin-top:24px}
#community-root .community-composer,#community-root .community-post,#community-root .community-chat{border:1px solid #e9d8c4;border-radius:22px;background:#fffdf8;box-shadow:0 6px 24px #54371c06}
#community-root .community-composer{grid-template-columns:40px minmax(0,1fr);padding:22px;gap:12px}
.community-compose-title{display:block;font-size:14px;font-weight:700;line-height:1.5;margin-bottom:8px;color:#583a25}
#community-root .community-composer textarea{min-height:94px;font-size:14px;line-height:1.7;outline-offset:3px}
#community-root :is(textarea,input):focus-visible{outline:2px solid #ab784d}
.community-prompts{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 16px}
.community-prompts button,.community-filters button{border:1px solid #e8d5bf;background:#faf2e7;padding:9px 12px;border-radius:30px;font-size:11px;color:#765132;min-height:36px}
.community-prompts button:hover,.community-filters button:hover{background:#eed7bb}
.community-attachments{border-top:1px solid #eee0cf;padding-top:12px}
.community-attachments summary{cursor:pointer;font-size:12px;font-weight:600;color:#825b38;padding:4px 0}
.community-attachments>small{display:block;font-size:10px;color:#8a745e;margin-top:10px}
#community-root .community-media-controls{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;margin-top:12px}
#community-root .community-media-controls select,#community-root .community-media-controls input{min-width:0;width:100%;background:#faf3e9;border-color:#e6d0b7}
#community-root .community-file-label{grid-column:1/-1;background:#f5e6d3;border-color:#e3c8a7;color:#765132;white-space:normal}
.community-file-label input[type=file]{display:block;margin-top:8px}
#community-preview{margin-top:14px}
#community-preview img{width:100%;max-height:230px;object-fit:contain;border-radius:14px;background:#f5e9d9}
#community-preview button{display:block;color:#8e5135;font-size:12px;padding:10px}
#community-root .community-compose-footer{flex-direction:row;align-items:center;padding-top:18px}
#community-root .community-feed-toolbar{margin-top:26px}
#community-root .community-feed-toolbar h2{font-size:20px}
#community-root .community-feed-toolbar .text-link{background:#f1e4d4;color:#765132}
.community-feed-tools{margin-bottom:18px}
.community-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.community-filters button[aria-pressed=true]{background:#70452e;color:#fff7eb;border-color:#70452e}
#community-feed-search{width:100%;border:1px solid #e4d0b8;border-radius:12px;padding:13px 15px;font:inherit;background:#fffdf8;color:#583a25}
#community-root .community-post{padding:23px;margin-bottom:18px}
#community-root .community-post-body{color:#583e2c;line-height:1.8;font-size:14px;white-space:pre-wrap}
#community-root .community-avatar{background:#f0dfc8}
#community-root .community-avatar img[src*="/assets/avatars/"]{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important}
#community-root .community-post-media{object-fit:contain;background:#f6eddf}
#community-root .community-reactions span,#community-root .community-like,#community-root .community-count{background:#f1e0cb;color:#795132}
#community-root .community-like.liked{background:#efc7b6;color:#743823}
#community-root .community-post>footer{background:transparent!important;padding:10px 0!important;justify-content:flex-start;gap:12px}
#community-root .community-post>footer>span{color:#8c7159}
#community-root .community-reaction-picker{gap:6px;margin:12px 0 0;flex-wrap:wrap}
#community-root .community-reaction-picker button{min-width:36px;min-height:36px;background:#faf3e9}
#community-root .community-comments{border-color:#eee0ce}
#community-root .community-comment{flex-wrap:wrap}
#community-root .community-comment p{flex:1;min-width:120px}
#community-root .community-comment-form input{background:#faf3e9;border-color:#e4cfb6}
#community-root .community-chat{position:sticky;top:20px;padding:20px}
#community-root .community-online{border-color:#ead7c0}
#community-root .community-user{border-color:#efe0cf}
#community-root .community-user:hover{background:#f5e8d6}
#community-root .community-search,#community-root .community-messages,#community-root .community-message-form textarea{background:#f8efe2;border-color:#e7d1b6}
#community-root .community-message p{background:#fffdf8;color:#5e402a;white-space:pre-wrap;font-size:13px}
#community-root .community-message.mine p{background:#e5c9a6}
#community-root .community-message-form textarea{font-size:14px;min-height:86px}
#community-root .community-empty{background:#fcf6ec;border-color:#d9bea0;padding:38px 20px}
#community-root .community-empty h3{color:#68462c}
.community-feedback{margin-top:16px;background:#f1e0c9;border:1px solid #ddc19d;padding:12px 16px;border-radius:12px;font-size:13px;color:#604128}
.community-mobile-tabs{display:none}
.community-guest{background:#f3e1cb;color:#583a25;border-color:#e7cdae}
.community-guest-art{width:100%;max-height:280px;object-fit:contain;border-radius:22px;margin-bottom:24px}
html[data-theme=dark] #community-root .community-hero{background:#4d3524;border-color:#745135;color:#fff1dd}
html[data-theme=dark] #community-root :is(.community-composer,.community-post,.community-chat,.community-empty){background:#30241c!important;border-color:#644832!important}
html[data-theme=dark] #community-root :is(.community-post-body,.community-compose-title,.community-message p){color:#f0dcc4!important}
html[data-theme=dark] #community-root :is(.community-search,.community-messages,.community-message p,.community-feedback){background:#473222;border-color:#745337}
html[data-theme=dark] #community-root .community-message.mine p{background:#68472d}
html[data-theme=dark] #community-root :is(.community-prompts button,.community-filters button,.community-reaction-picker button,.community-file-label){background:#4a3525;color:#f0d6b6;border-color:#785639}
html[data-theme=dark] #community-root .community-filters button[aria-pressed=true]{background:#c08b59;color:#22170e}
html[data-theme=dark] #community-root .community-live{background:#30241c;color:#edcca6}
@media(max-width:1100px){#community-root .community-layout{grid-template-columns:minmax(0,1fr)}#community-root .community-hero{grid-template-columns:minmax(0,1fr) 140px;padding:25px}.community-hero-art{width:140px;height:130px}#community-root .community-chat{position:static;width:100%}.community-mobile-tabs{display:flex;gap:8px;background:#efdeca;border-radius:14px;padding:5px;margin-top:18px}.community-mobile-tabs button{flex:1;padding:11px;border-radius:10px;color:#6f4c32;font-weight:700}.community-mobile-tabs button[aria-pressed=true]{background:#fffaf2;box-shadow:0 2px 8px #59392212}#community-root:not([data-panel=chat]) .community-chat{display:none}#community-root[data-panel=chat] .community-feed{display:none}}
@media(max-width:640px){#community-root{width:100%;margin:0;padding:0 0 35px}#community-root .community-hero{margin:0;border-radius:22px;padding:23px 20px;grid-template-columns:minmax(0,1fr) 80px;gap:12px}#community-root .community-hero h1{font-size:28px;line-height:1.15}#community-root .community-hero p{font-size:12px;grid-column:1/-1}.community-hero-art{width:80px;height:110px;object-fit:cover;grid-row:1;align-self:start}#community-root .community-live{grid-column:1/-1}#community-root .community-composer{padding:16px;grid-template-columns:minmax(0,1fr)}#community-root .community-composer>.community-avatar{display:none}#community-root .community-post{padding:18px 15px}.community-filters button{padding:9px 10px;font-size:10px}#community-root .community-feed-toolbar h2{font-size:18px}#community-root .community-message-form textarea{font-size:16px}#community-root .community-online-list{display:grid;grid-template-columns:minmax(0,1fr)}#community-root .community-online-user{background:transparent;border-color:#e8d3b9}#community-root .community-composer textarea,#community-feed-search{font-size:16px}}
#community-root .text-link{color:#805332!important}
#community-root .community-search[hidden]{display:none}
#community-root .community-online-user>button{background:#f0dfc9;color:#805332;min-width:32px;min-height:32px}
html[data-theme=dark] #community-root .text-link{color:#edc39a!important}
html[data-theme=dark] #community-root .community-mobile-tabs{background:#4a3525}
html[data-theme=dark] #community-root .community-mobile-tabs button{color:#ead3b7}
html[data-theme=dark] #community-root .community-mobile-tabs button[aria-pressed=true]{background:#745035;color:#fff4e5}
