/* Community has distinct places, with a shared set of quiet, lightweight illustrations. */
[data-world-panel="community"]{--community-blue:#345d78;--community-violet:#685184;--community-rose:#9d4d68;--community-gold:#856024;--community-green:#275e4e;}
[data-world-panel="community"] .world-card{margin:0;border:0;box-shadow:none;}
[data-world-panel="community"] > *{min-width:0;}
html[data-page="world"][data-world-panel="community"] body:not(.feature-guide-active) #floating-tools{display:none;}
html[data-world-panel="community"] .world-tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere;height:auto;min-height:48px;padding:9px 4px;}
.community-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;}
.community-welcome{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:center;gap:4px 12px;padding:22px 20px 16px;border-radius:26px;background:#e8f0e5;color:#214d40;overflow:hidden;}
.community-welcome h2{font-size:clamp(27px,5vw,36px);margin:5px 0 7px;line-height:1.12;}
.community-welcome p{font-size:14px;margin:0;line-height:1.5;}
.community-welcome .eyebrow{font-size:10px;letter-spacing:.13em;}
.community-welcome .greenhouse-art{width:100%;height:auto;display:block;}
.community-welcome .community-posting-status{grid-column:1/-1;font-size:11px;line-height:1.5;color:#426351;display:flex;align-items:center;gap:7px;margin-top:9px;}
.community-posting-status::before{content:'';width:6px;height:6px;background:#52815f;border-radius:50%;flex-shrink:0;}
[data-posting="false"] .community-posting-status::before{background:#a16a25;}
.community-welcome .community-guide{justify-self:start;grid-column:1/-1;margin-top:8px;min-height:36px;border:1px solid #afc2ad;background:#f7faf3;border-radius:20px;padding:7px 12px;color:#284e3e;font-size:12px;font-weight:750;}
.community-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0;}
.community-shortcuts button{min-height:78px;display:grid;justify-items:center;align-content:center;gap:5px;background:#fffdf9;border:1px solid #d4ddd4;border-radius:18px;padding:9px 5px;color:#275e4e;font-size:12px;font-weight:750;line-height:1.3;overflow-wrap:anywhere;}
.community-shortcuts button:nth-child(2){color:var(--community-rose);background:#fdf6f7;border-color:#e7d6db;}
.community-shortcuts button:nth-child(3){color:var(--community-violet);background:#f6f3fa;border-color:#ddd5e8;}
.community-shortcuts .community-art{width:30px;height:30px;}
.community-art{display:block;flex-shrink:0;width:58px;height:58px;overflow:visible;}
.community-art .art-wash{fill:currentColor;opacity:.055;}
.community-settings{margin:0 0 24px;background:transparent;border:1px solid #d1dbd2;border-radius:16px;overflow:hidden;}
.community-settings > summary{display:flex;align-items:center;gap:10px;padding:12px 14px;min-height:48px;font-size:13px;font-weight:750;cursor:pointer;list-style:none;}
.community-settings > summary::-webkit-details-marker,.community-fold > summary::-webkit-details-marker{display:none;}
.community-settings .community-art{width:24px;height:24px;}
.community-settings > summary::after,.community-fold > summary::after{content:'+';margin-inline-start:auto;font-size:23px;font-weight:400;line-height:1;}
.community-settings[open] > summary::after,.community-fold[open] > summary::after{content:'−';}
.community-settings #community-settings-state{font-size:12px;color:#687e71;}
.community-settings[open]{background:#fffdf9;}
.community-settings .community-hero{padding:4px 16px 18px;}
.community-hero .community-consent-row{border-top:0;}
.community-hero .setting-row{gap:18px;padding:14px 0;align-items:center;}
.community-hero .setting-row > span{min-width:0;}
.community-hero .setting-row strong{font-size:13px;}
.community-hero .setting-row small,.community-hero .community-name-actions small{font-size:11px;line-height:1.5;}
.community-hero .toggle{flex:0 0 46px;width:46px;height:28px;}
.community-hero .community-name{font-size:12px;}
.community-hero .community-name input{font-size:14px;min-height:44px;}
.community-hero > p{font-size:12px;line-height:1.5;margin:12px 0;}
[data-world-panel="community"] .community-channels{background:transparent;padding:0;gap:12px;margin-bottom:26px;}
.community-section-heading{display:flex;align-items:center;gap:12px;}
.community-section-heading > span{color:var(--community-green);}
.community-section-heading .community-art{width:42px;height:42px;}
.community-section-heading h2{margin:0!important;font-size:25px!important;line-height:1.2;}
.community-section-heading small{font-size:10px;letter-spacing:.1em;color:#486d5a;font-weight:800;}
.channel-recommendations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
[data-world-panel="community"] .channel-card{--topic:#275e4e;--wash:#edf4e9;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0;padding:14px 11px 12px;min-height:143px;background:var(--wash);color:var(--topic);border:1px solid color-mix(in srgb,var(--topic) 24%,white);border-radius:22px;text-align:start;box-shadow:0 3px 0 color-mix(in srgb,var(--topic) 7%,transparent);}
[data-world-panel="community"] [data-channel-theme="blue"]{--topic:#345d78;--wash:#eef4fa;}
[data-world-panel="community"] [data-channel-theme="violet"]{--topic:#685184;--wash:#f2edf7;}
[data-world-panel="community"] [data-channel-theme="rose"]{--topic:#974e64;--wash:#fcf0f2;}
[data-world-panel="community"] [data-channel-theme="gold"]{--topic:#805f29;--wash:#fbf3e1;}
.channel-card .community-art{width:53px;height:53px;}
.channel-card strong{font-size:13px;line-height:1.35;font-weight:750;overflow-wrap:anywhere;}
.channel-card[aria-pressed="true"]{outline:2px solid var(--topic);outline-offset:2px;}
.channel-card .channel-joined{position:absolute;inset-block-start:9px;inset-inline-end:9px;border-radius:50%;width:19px;height:19px;background:var(--topic);color:#fff;display:grid;place-items:center;font-size:12px;}
.channel-browse{border-bottom:1px solid #d6ded4;}
.channel-browse summary{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.channel-browse summary::after{content:'+';font-size:20px;font-weight:400;}
.channel-browse[open] summary::after{content:'−';}
.channel-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:4px 3px 18px;}
.channel-directory .channel-card{min-height:90px;flex-direction:row;align-items:center;padding:12px;}
.channel-directory .community-art{width:35px;height:35px;}
.channel-directory .channel-card strong{font-size:12px;flex:1;}
.channel-room{--topic:#275e4e;--wash:#edf4e9;display:grid;gap:14px;padding:18px;border:1px solid color-mix(in srgb,var(--topic) 25%,white);border-radius:22px;background:linear-gradient(135deg,var(--wash),#fffdf9);color:#234739;scroll-margin-top:24px;}
.channel-room > header{display:flex;align-items:center;gap:12px;}
.channel-room > header .community-art{color:var(--topic);}
.channel-room h3{font-size:21px;margin:0 0 4px;line-height:1.2;}
.channel-room .channel-prompt{background:#fffdf9;border:1px solid #ccdad2;border-radius:14px;padding:14px;font-size:16px;line-height:1.5;}
.channel-room .channel-join{background:#fffdf9;display:grid;gap:10px;}
.channel-join > button{width:100%;}
.channel-room .channel-membership{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.community-celebrations{border-radius:26px;padding:18px;background:#faf0f1;border:1px solid #ead8dc;margin-bottom:18px;}
.community-celebrations > header{margin-bottom:16px;}
.community-celebrations > header .community-art{color:var(--community-rose);}
.community-celebrations > header small{color:var(--community-rose);}
.community-celebrations .community-post{box-shadow:none;border:1px solid #eedee2;background:#fffdfb;border-radius:18px;padding:15px;grid-template-columns:34px minmax(0,1fr);gap:10px;}
.community-celebrations .community-post-avatar{width:34px;height:39px;font-size:22px;background:#f4e2e9;}
.community-post > div{min-width:0;}
.community-post p{font-size:14px;line-height:1.55;overflow-wrap:anywhere;}
.community-post .milestone{font-size:10px;color:#8c4862;margin-block:5px;}
.community-post header strong{font-size:12px;overflow-wrap:anywhere;}
.community-actions{grid-column:2;flex-wrap:wrap;}
.community-actions button{min-height:36px;background:#fff;border-color:#e1cdd5;font-size:11px;}
.community-composer-fold{background:#fffafa;border:1px solid #e3cbd3;border-radius:16px;margin-bottom:15px;}
.community-composer-fold > summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:13px 15px;cursor:pointer;font-size:14px;font-weight:750;color:#884963;}
.community-composer-fold > summary::before{content:'+';font-size:23px;line-height:1;}
.community-composer-fold[open] > summary::before{content:'−';}
.community-composer-fold .community-composer{padding:0 14px 16px;background:transparent;display:grid;gap:12px;}
.community-composer > label{font-size:12px;display:grid;gap:6px;}
.community-composer select{font-size:14px;min-height:46px;max-width:100%;}
.community-composer > small{font-size:11px;line-height:1.5;}
.community-share-preview{display:grid;grid-template-columns:34px minmax(0,1fr);gap:5px 10px;padding:14px;background:#f9edf0;border:1px dashed #d9b4c2;border-radius:14px;}
.community-share-preview > small{grid-column:1/-1;color:#7c5364;font-size:10px;}
.community-share-preview .community-art{width:34px;height:42px;color:#9d4d68;grid-row:2/4;}
.community-share-preview b{font-size:11px;color:#824961;}
.community-share-preview p{grid-column:2;font-size:14px;line-height:1.5;margin:0;}
.community-celebrations .community-state{border:1px dashed #d9bbc5;background:transparent;font-size:13px;line-height:1.6;margin:0;padding:20px;}
.community-fold{border-radius:22px;margin:0 0 16px;overflow:hidden;border:1px solid #dcd2e8;background:#f5f0fa;}
.community-fold > summary{display:flex;gap:14px;align-items:center;padding:17px;min-height:100px;cursor:pointer;list-style:none;color:#60487a;}
.community-fold > summary > span:nth-child(2){display:grid;gap:5px;min-width:0;}
.community-fold > summary strong{font-family:Georgia,serif;font-size:23px;line-height:1.2;}
.community-fold > summary small{font-size:12px;line-height:1.4;font-weight:500;}
.community-fold .friend-hub{margin:0 12px 12px;padding:16px;border-radius:15px;background:#fffdfc;}
.friend-hub .friend-invite-tools{background:#f7f3fb;border-color:#e1d8eb;}
.friend-hub .friend-quiet{padding-top:10px;gap:9px;}
.friend-hub input,.friend-hub select{font-size:14px;}
.friend-hub .friend-quiet label{font-size:12px;}
.friend-hub .friend-quiet select{min-height:44px;}
.friend-hub > header{flex-wrap:wrap;}
.friend-hub > header > div{flex:1 1 170px;}
.friend-hub > header p:not(.eyebrow){font-size:12px;line-height:1.5;}
.community-fold .friend-list p{font-size:12px;line-height:1.6;}
.community-fold--invite{border-color:#e4d7b8;background:#faf3e3;}
.community-fold--invite > summary{color:#805d25;}
.community-fold--invite .referral-hub{margin:0 12px 12px;background:#fffdf7;border-radius:15px;padding:16px;}
.referral-hub > header h2{font-size:22px;}
.referral-code{flex-wrap:wrap;gap:12px;}
.community-notices{margin-top:16px;}
[data-world-panel="community"] button:focus-visible,[data-world-panel="community"] summary:focus-visible{outline:3px solid #a65b2c;outline-offset:4px;}
@media(hover:hover){.channel-card:hover .community-art{transform:translateY(-3px) rotate(-3deg);}.community-shortcuts button:hover{box-shadow:0 5px 14px #22463912;}}
@media(prefers-reduced-motion:no-preference){.community-art{transition:transform .22s ease;}.community-fold[open] > summary .community-art,.community-composer-fold[open] .community-art{animation:community-bloom .45s ease both;}.channel-room > header .community-art{animation:community-bloom .35s ease both;}@keyframes community-bloom{from{opacity:.5;transform:scale(.88) rotate(-7deg);}to{opacity:1;transform:none;}}}
html.calm-mode .community-art{animation:none!important;transition:none!important;transform:none!important;}
@media(max-width:360px){.community-welcome{grid-template-columns:minmax(0,1fr) 78px;padding:18px 16px;}.community-welcome h2{font-size:27px;}.channel-recommendations{gap:8px;}.channel-recommendations .channel-card{padding:12px 8px;min-height:138px;}.channel-recommendations .community-art{width:44px;height:44px;}.channel-card strong{font-size:12px;}.community-fold > summary{gap:10px;}.community-fold > summary .community-art{width:45px;height:45px;}.community-fold > summary strong{font-size:21px;}.community-celebrations{padding:15px;}.channel-directory .channel-card{flex-direction:column;align-items:flex-start;}}
@media(min-width:800px){.community-welcome{grid-template-columns:minmax(0,1fr) 145px;padding:24px 30px;}.community-welcome [data-community-art="greenhouse"]{grid-column:2;grid-row:1/4;}.community-welcome .community-posting-status,.community-welcome .community-guide{grid-column:1;}.channel-recommendations .channel-card{min-height:135px;flex-direction:row;align-items:center;padding:20px;}.channel-recommendations .channel-card strong{font-size:16px;}.channel-directory{grid-template-columns:repeat(3,minmax(0,1fr));}}
html.high-contrast [data-world-panel="community"] button,html.high-contrast [data-world-panel="community"] details{border:2px solid currentColor;}
