/* Community journal: publishing rail, focused reading column, touch reactions. */
.community-workspace{width:min(100%,1120px);margin:auto;padding:4px 0 28px}
.community-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:30px}
.community-kicker{display:block;color:var(--muted);font-size:12px;font-weight:600;margin-bottom:10px}
.community-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.14;letter-spacing:-1.5px;margin:0;font-weight:750;color:var(--text)}
.community-heading h1>span{color:var(--teal)}.community-post-count{font-size:12px;color:var(--muted);white-space:nowrap;padding-bottom:4px}
.community-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:34px;align-items:start}
.community-publish{position:sticky;top:120px;min-width:0}
.community-workspace .community-composer{padding:0!important;background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:0 8px 28px color-mix(in srgb,var(--text) 4%,transparent);overflow:hidden;margin:0}
.community-composer>summary{display:flex;align-items:center;gap:11px;padding:21px 20px;cursor:pointer;list-style:none}
.community-composer>summary::-webkit-details-marker{display:none}
.community-composer .avatar,.community-person .avatar{display:grid;place-items:center;flex:none;background:color-mix(in srgb,var(--teal) 10%,var(--surface));color:var(--teal);width:38px;height:38px;border-radius:13px;font-size:14px;font-weight:700}
.composer-prompt{flex:1;min-width:0}.composer-prompt strong{display:block;font-size:13px;color:var(--text)}.composer-prompt small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.composer-write{color:var(--muted);font-size:21px;transition:transform .2s}.community-composer[open] .composer-write{transform:rotate(45deg)}
.community-composer .form{padding:0 20px 20px;gap:14px}.community-composer textarea{min-height:145px;resize:vertical;background:var(--surface-2);border:0;border-radius:14px;font-size:14px;line-height:1.65;padding:15px;font-weight:400}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.community-composer .upload{border:1px dashed var(--border);padding:11px;border-radius:12px;font-size:11px;display:flex;align-items:center;gap:7px;background:transparent;color:var(--muted)}.community-composer .upload svg{width:17px;height:17px;flex:none}.community-composer .upload input{font-size:10px;padding:0;background:transparent;border:0;min-width:0}
.composer-footer{display:flex;flex-direction:column;gap:10px;align-items:center}.community-composer .btn{width:100%;display:flex;align-items:center;justify-content:space-between;border-radius:12px;background:var(--teal);color:var(--surface);box-shadow:none;padding:13px 15px;font-size:12px}.composer-footer small{font-size:10px;color:var(--muted)}
.community-people{padding:24px 10px}.community-people h2{font-size:11px;font-weight:650;color:var(--muted);margin:0 0 16px}.community-person{display:flex;align-items:center;gap:11px;margin:14px 0;color:var(--text);font-size:12px}.community-person .avatar{width:28px;height:28px;border-radius:10px;font-size:11px}
.community-feed{min-width:0}.community-feed-tools{display:flex;gap:22px;align-items:center;margin:0 0 18px;border-bottom:1px solid var(--border)}.community-feed-tools button{background:none;border:0;border-bottom:2px solid transparent;padding:0 0 15px;color:var(--muted);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.community-feed-tools button[aria-pressed=true]{border-color:var(--teal);color:var(--text)}
.community-workspace #posts{gap:18px}
.community-workspace .community-card{position:relative;padding:23px 26px 13px!important;background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:visible;box-shadow:0 5px 22px color-mix(in srgb,var(--text) 3%,transparent)}
.community-card .post-head{display:flex;gap:12px;align-items:center}.community-card .post-head .avatar{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--teal) 9%,var(--surface));color:var(--teal);border:1px solid color-mix(in srgb,var(--teal) 14%,var(--border));font-size:15px;font-weight:650;box-shadow:none}
.community-card .post-author{display:block;font-size:14px;line-height:1.4;color:var(--text);letter-spacing:-.2px}.community-card .post-date{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:3px}
.community-card .post-copy{margin:23px 0 22px;font-size:18px;line-height:1.7;font-weight:450;color:var(--text);text-align:start;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:-.15px}
.community-card .post-image-button{display:block;position:relative;width:100%;border:0;padding:0;margin:0 0 20px;border-radius:16px;overflow:hidden;background:var(--surface-2);cursor:zoom-in}.community-card .post-image{display:block;width:100%;max-height:480px;min-height:140px;object-fit:contain;background:var(--surface-2)}
.community-card .image-expand{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #ffffff30;border-radius:9px;background:#081828bb;color:white;backdrop-filter:blur(12px);font-size:10px}.image-expand svg{width:15px;height:15px}
.community-card .post-engagement{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);padding-top:7px}
.community-card .react-trigger{display:flex;align-items:center;gap:7px;border:0;border-radius:9px;min-height:42px;padding:8px 7px;background:transparent;color:var(--muted);font-size:12px;font-weight:600;cursor:pointer;box-shadow:none;touch-action:manipulation;user-select:none}.react-trigger svg{width:19px;height:19px}.react-trigger .react-chevron{display:none}.community-card .react-trigger:hover{background:var(--surface-2)}.community-card .react-trigger.has-reaction{color:var(--teal)}
.reaction-summary{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:11px}.reaction-summary-icons{display:flex;padding-left:4px}.reaction-summary-icons span{display:grid;place-items:center;width:26px;height:26px;font-size:15px;border-radius:50%;background:var(--surface-2);border:2px solid var(--surface);margin-left:-4px}
.community-card .reaction-picker{position:absolute;z-index:20;bottom:62px;left:16px;width:min(398px,calc(100% - 32px));display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:7px;gap:0;margin:0;border:1px solid var(--border);border-radius:22px;background:color-mix(in srgb,var(--surface) 97%,transparent);box-shadow:0 12px 38px color-mix(in srgb,var(--text) 18%,transparent);backdrop-filter:blur(16px);animation:reaction-reveal .18s ease-out;transform-origin:bottom left}
.reaction-picker[hidden]{display:none!important}.community-card .reaction-picker .reaction{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;min-height:62px;padding:6px 1px;margin:0;border:0;border-radius:14px;background:transparent;color:var(--muted);cursor:pointer;box-shadow:none;touch-action:manipulation}.reaction-emoji{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:29px;line-height:1.2;transition:transform .18s}.reaction-label{font-size:9px;font-weight:600}.community-card .reaction.active{background:color-mix(in srgb,var(--teal) 9%,var(--surface));color:var(--teal)}.reaction:hover .reaction-emoji{transform:translateY(-7px) scale(1.18)}.community-card .reaction:disabled{opacity:.65}.community-card[aria-busy=true] .react-trigger{opacity:.65}
.community-workspace button:focus-visible,.community-composer summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
@keyframes reaction-reveal{from{opacity:0;transform:translateY(8px) scale(.95)}to{opacity:1;transform:none}}
@media(max-width:820px){.community-layout{grid-template-columns:230px minmax(0,1fr);gap:20px}.community-heading h1{font-size:31px}.community-composer>summary{padding:17px 15px}.community-composer .form{padding:0 15px 16px}.community-workspace .community-card{padding:20px 20px 12px!important}.community-card .post-copy{font-size:15px}}
@media(max-width:600px){.community-workspace{padding-top:3px}.community-heading{margin-bottom:19px;align-items:center;gap:10px}.community-kicker{font-size:10px;margin-bottom:7px}.community-heading h1{font-size:27px;letter-spacing:-1px;max-width:250px}.community-post-count{font-size:10px}.community-layout{display:flex;flex-direction:column;gap:20px}.community-publish{position:static;width:100%}.community-people{display:none}.community-composer>summary{padding:15px 16px}.community-composer textarea{min-height:95px}.community-composer .form{padding:0 16px 16px}.community-composer .upload{flex-wrap:wrap}.composer-footer{flex-direction:row}.community-composer .btn{width:auto;flex:1}.composer-footer small{max-width:75px;line-height:1.4}.community-feed{width:100%}.community-feed-tools{gap:25px;margin-bottom:16px}.community-feed-tools button{font-size:11px;padding-bottom:13px}.community-workspace .community-card{padding:19px 18px 11px!important;border-radius:20px}.community-card .post-head .avatar{width:38px;height:38px;border-radius:13px}.community-card .post-copy{font-size:16px;line-height:1.65;margin:21px 0}.community-card .post-image-button{border-radius:12px}.community-card .post-image{max-height:360px;min-height:120px}.community-card .reaction-picker{left:9px;width:calc(100% - 18px);padding:5px;border-radius:19px}.reaction-emoji{font-size:26px}.community-card .reaction-picker .reaction{min-height:59px}.reaction-label{font-size:8px}.reaction:hover .reaction-emoji{transform:translateY(-4px) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.community-card .reaction-picker,.reaction-emoji,.composer-write{animation:none;transition:none}.reaction:hover .reaction-emoji{transform:none}}
.community-composer .upload{position:relative;cursor:pointer;overflow:hidden;border-style:solid;background:var(--surface-2);padding:12px;font-weight:550}.community-composer .upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.community-composer .upload [data-image-label]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-plus{font-size:17px}.community-composer .upload:focus-within{outline:2px solid var(--teal);outline-offset:2px}

/* No visible scrollbar; wheel, keyboard and touch scrolling remain native. */
html:has(.community-workspace){scrollbar-width:none}html:has(.community-workspace)::-webkit-scrollbar,body:has(.community-workspace)::-webkit-scrollbar{display:none;width:0}
.community-composer .avatar img,.community-card .avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.community-photo-upload{position:relative;display:block;font-size:10px;color:var(--muted);text-align:center;text-decoration:underline;text-underline-offset:3px;cursor:pointer;overflow:hidden;padding:3px}.community-photo-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.community-photo-upload:focus-within{outline:2px solid var(--teal)}
.community-workspace .community-card{border-color:color-mix(in srgb,var(--text) 9%,var(--surface));padding:23px 24px 12px!important;box-shadow:0 8px 24px color-mix(in srgb,var(--text) 3%,transparent)}
.community-card.text-post .post-copy{padding:0;margin:23px 0 21px;border:0;border-radius:0;background:none;font-size:17px;line-height:1.75;font-weight:400;letter-spacing:0;text-align:start}
.community-card .post-head .avatar{outline:3px solid color-mix(in srgb,var(--teal) 7%,var(--surface));outline-offset:3px;margin-right:3px;overflow:hidden}
.community-card .post-engagement{border-top:1px solid color-mix(in srgb,var(--border) 60%,transparent);padding-top:10px}.community-card .react-trigger{border:1px solid var(--border);border-radius:25px;padding:7px 13px;min-height:36px;font-size:11px}.community-card .react-trigger.has-reaction{border-color:color-mix(in srgb,var(--teal) 22%,var(--border));background:color-mix(in srgb,var(--teal) 6%,var(--surface))}
.community-card.has-media .post-image-button{border-radius:12px;margin-inline:-8px;width:calc(100% + 16px)}
@media(max-width:600px){.community-workspace .community-card{padding:18px 17px 13px!important}.community-card.text-post .post-copy{font-size:15px;line-height:1.75;padding:0;margin:21px 0 19px}.community-card .post-head .avatar{width:42px;height:42px;border-radius:50%}.community-card.has-media .post-image-button{margin-inline:-4px;width:calc(100% + 8px)}}
