/* 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-chat{border-radius:24px;padding:20px;background:linear-gradient(165deg,#fffdf8,#faf4e9);box-shadow:0 12px 34px #49351c12}
#community-root .community-online,#community-root .community-contacts{padding:16px;margin:0 0 16px;border:1px solid #eadcc9;border-radius:18px;background:#fffefa}
#community-root .community-online-heading{align-items:center}
#community-root .community-online-heading h2,#community-root .community-contacts h2{font-size:18px;letter-spacing:-.02em;color:#382c24}
#community-root .community-online-heading small{display:block;line-height:1.45}
#community-root #community-my-presence{margin-top:7px;color:#54704b;font-weight:650}
#community-root .community-count{min-width:28px;text-align:center;background:#edf3e9;color:#46613e;font-weight:750}
#community-root .community-online-user{min-width:0;padding:9px;border:1px solid #eee4d5;border-radius:14px;background:#fff}
#community-root .community-online-user .community-avatar{width:38px;height:38px}
#community-root .community-online-user>span:nth-child(2){flex:1}
#community-root .community-online-user strong{font-size:13px;color:#382c24}
#community-root .community-online-user small{font-size:11px}
#community-root .community-online-user>button{min-height:38px;border-radius:11px;font-weight:700}
#community-root .community-contacts>p{line-height:1.55;color:#74685b}
#community-root .community-contact-group-title{display:flex;align-items:center;gap:8px;margin:18px 0 7px;color:#6a5948;font-size:12px;text-transform:uppercase;letter-spacing:.07em}
#community-root .community-contact-group-title:first-child{margin-top:12px}
#community-root .community-contact-group-title span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#f1e8db;color:#614b35;font-size:11px}
#community-root .community-contact{padding:12px 0;border-color:#eee5da}
#community-root .community-contact-person{display:flex;align-items:center;gap:9px;min-width:0}
#community-root .community-contact-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#342d27}
#community-root .community-contact-person .community-avatar{width:38px;height:38px}
#community-root .community-contact>small{margin:5px 0 8px 47px;color:#786d62}
#community-root .community-unread-badge{display:grid;place-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 6px;border-radius:99px;background:#5d744e;color:white;font-size:11px;font-weight:800}
#community-root .community-contact-actions{margin-left:47px}
#community-root .community-contact-actions .primary-button{min-height:38px;border-radius:12px}
#community-root .community-contact.is-incoming{padding:12px;margin:8px -4px;border:1px solid #dce6d4;border-radius:15px;background:#f6f9f2}
#community-root .community-contacts-empty{display:grid;justify-items:center;padding:18px 8px 8px;text-align:center;color:#766957}
#community-root .community-contacts-empty>span{display:grid;place-items:center;width:44px;height:44px;margin-bottom:9px;border-radius:15px;background:#eef3e9;font-size:21px}
#community-root .community-contacts-empty strong{color:#43372d}
#community-root .community-contacts-empty p{max-width:240px;margin:6px 0 0;font-size:12px;line-height:1.5}
#community-root .community-chat-heading{margin:6px 2px 2px;padding-top:4px}
#community-root .community-chat-heading h2{color:#382c24}
#community-root .community-users{max-height:300px;overflow:auto}
#community-root .community-user{padding:12px 8px;border-radius:12px}
#community-root .community-user:hover{background:#f6f0e7}
html[data-theme=dark] #community-root .community-chat{background:#27231e!important}
html[data-theme=dark] #community-root :is(.community-online,.community-contacts,.community-online-user,.community-contacts-empty){background:#302820!important;border-color:#554735!important}
html[data-theme=dark] #community-root :is(.community-online-heading h2,.community-contacts h2,.community-online-user strong,.community-contact-person strong,.community-contacts-empty strong,.community-chat-heading h2){color:#f3e7d8}
html[data-theme=dark] #community-root .community-contact.is-incoming{background:#293326!important;border-color:#485b40}
html[data-theme=dark] #community-root .community-contact-group-title{color:#dac6aa}
html[data-theme=dark] #community-root .community-contact-group-title span{background:#493c2f;color:#f1dec3}
@media(max-width:640px){#community-root .community-chat{padding:14px;border-radius:18px}#community-root .community-online,#community-root .community-contacts{padding:13px;border-radius:16px}#community-root .community-online-user{min-width:150px}#community-root .community-contact-actions{margin-left:0}#community-root .community-contact>small{margin-left:47px}#community-root .community-contact-actions button{font-size:12px}}
#community-root .community-online-user>button{background:#f0dfc9;color:#805332;min-width:32px;min-height:32px}
.community-user-avatar{position:relative;flex:0 0 36px}.community-presence-dot{position:absolute;right:-2px;bottom:-1px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;box-sizing:content-box}.community-presence-dot.is-online{background:#31a867}.community-presence-dot.is-offline{background:#e45555}html[data-theme=dark] .community-presence-dot{border-color:#25232d}
.community-safety-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:16px;margin:18px 0 24px;padding:18px 20px;border:1px solid #d9c3a4;border-left:5px solid #9b683c;border-radius:18px;background:linear-gradient(110deg,#fff8e9,#fffdf8);box-shadow:0 8px 22px #59442b12;color:#382c24}.community-safety-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#f1e2cb;font-size:24px}.community-safety-card strong{display:block;font-size:15px}.community-safety-card p{margin:5px 0 0;color:#6c5d4e;font-size:12px;line-height:1.55}.community-safety-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 15px;border-radius:12px;background:#5b354e;color:#fff!important;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}.community-safety-link:hover{background:#744a66}html[data-theme=dark] .community-safety-card{background:#302820;border-color:#6d5941;border-left-color:#e0ad73;color:#f6ecdd;box-shadow:0 8px 22px #0003}html[data-theme=dark] .community-safety-icon{background:#4a3829}html[data-theme=dark] .community-safety-card p{color:#d6c7b5}html[data-theme=dark] .community-safety-link{background:#e0ad73;color:#241b14!important}
.community-moderation-contact{margin-top:9px!important}.community-moderation-contact a{color:#5b354e;font-weight:750;text-decoration:underline;text-underline-offset:2px}html[data-theme=dark] .community-moderation-contact a{color:#efc992}
@media(max-width:650px){.community-safety-card{grid-template-columns:40px minmax(0,1fr);gap:11px;margin:14px 0 18px;padding:14px}.community-safety-icon{width:40px;height:40px;font-size:21px}.community-safety-card strong{font-size:14px}.community-safety-card p{font-size:11px}.community-safety-link{grid-column:1/-1;width:100%;box-sizing:border-box;white-space:normal}}
#community-root .community-user{gap:9px;padding:8px 6px}#community-root .community-user>span:nth-child(2){flex:1;min-width:0}#community-root .community-user strong{font-size:12px}#community-root .community-user small{font-size:10px;line-height:1.3}#community-root .community-user .community-user-preview{display:block;max-width:100%;overflow:hidden;color:#72675e;text-overflow:ellipsis;white-space:nowrap}#community-root .community-contact.is-accepted{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"person actions" "preview actions";align-items:center;gap:3px 8px;padding:8px 0}#community-root .community-contact.is-accepted .community-contact-person{grid-area:person;gap:8px}#community-root .community-contact.is-accepted .community-contact-person .community-avatar{width:32px;height:32px}#community-root .community-contact.is-accepted .community-contact-preview{grid-area:preview;max-width:100%;margin:0 0 0 40px;overflow:hidden;color:#776b60;font-size:10px;text-overflow:ellipsis;white-space:nowrap}#community-root .community-contact.is-accepted .community-contact-actions{grid-area:actions;display:flex;align-items:center;gap:4px;margin:0}#community-root .community-contact.is-accepted .community-contact-actions button{min-height:32px;padding:5px 8px;border-radius:10px;font-size:10px}html[data-theme=dark] #community-root .community-user .community-user-preview,html[data-theme=dark] #community-root .community-contact.is-accepted .community-contact-preview{color:#cbbca9}
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}
