/* Community home only. Follow the semantic theme instead of dark-only surfaces. */
.community-shell{width:min(calc(100% - 28px),1040px)!important;margin:16px auto 64px!important}
.community-shell .community-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:18px 20px!important;min-height:0!important;background:var(--panel)!important;box-shadow:none!important}
.community-shell .community-hero h1{margin:2px 0!important;font-size:clamp(1.55rem,3vw,2rem)!important;letter-spacing:-.035em!important;line-height:1.15!important;color:var(--text)!important}
.community-shell .community-hero p{margin:2px 0 0!important;font-size:.82rem!important;line-height:1.4!important;color:var(--muted)!important}
.community-shell .community-hero .eyebrow{font-size:.62rem!important;letter-spacing:.075em!important}
.community-shortcuts{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.community-shortcuts a{display:inline-flex;align-items:center;min-height:38px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--panel2);color:var(--text);font-size:.78rem;font-weight:750;white-space:nowrap}
.community-shortcuts a:hover{border-color:var(--purple);background:color-mix(in srgb,var(--purple) 12%,var(--panel))}
.community-shell .community-hero .ld-search{display:flex;gap:8px;width:min(100%,420px);margin:0 0 0 auto}
.community-shell .community-hero .ld-search input{flex:1;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--text)}
.community-shell .community-hero .ld-search input::placeholder{color:var(--muted)}
.community-shell .community-hero .ld-search .ld-button{min-height:44px;white-space:nowrap}
.community-shell .community-hero .ld-search input:focus-visible,.community-shell .community-hero .ld-search .ld-button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.community-shell .space-strip{margin:10px 0!important;box-shadow:none!important}
.community-shell .space-strip .section-head .tool-kicker{display:none}
.community-shell .space-strip h2{font-size:.98rem!important}
.community-shell .community-layout{grid-template-columns:minmax(0,1fr) minmax(230px,270px)!important;gap:12px!important;align-items:start}
.community-shell .thought-compose{padding:14px 16px!important;background:var(--panel)!important;border-color:var(--line)!important;box-shadow:none!important}
.community-shell .thought-compose h3{font-size:.98rem;margin:0}
.community-shell .thought-compose .tool-kicker{display:none}
.community-shell .thought-compose textarea{min-height:70px!important;background:var(--panel2)!important;color:var(--text)!important;border-color:var(--line)!important}
.community-shell .thought-compose select{background:var(--panel2)!important;color:var(--text)!important;border-color:var(--line)!important}
.community-shell .feed-card{padding:14px 16px!important;box-shadow:none!important}
.community-shell .community-empty-state{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:22px 20px!important;border-style:dashed!important;background:var(--panel)!important}
.community-shell .community-empty-state__content{max-width:560px}
.community-shell .community-empty-state__content .tool-kicker{display:block;margin-bottom:6px;color:var(--purple);font-size:.65rem;font-weight:850;letter-spacing:.08em}
.community-shell .community-empty-state__content h3{margin:0 0 6px;color:var(--text);font-size:1.05rem;line-height:1.3}
.community-shell .community-empty-state__content p{margin:0;color:var(--muted)!important;line-height:1.55}
.community-shell .community-empty-state__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.community-shell .community-empty-state__actions .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
.community-shell #communityComposer{scroll-margin-top:96px}
.community-shell .feed-card h2{font-size:1rem!important;line-height:1.35!important;margin:10px 0 5px!important}
.community-shell .feed-card p{font-size:.85rem!important;line-height:1.5!important;color:var(--text)!important}
.community-shell .feed-author small{font-size:.72rem;color:var(--muted)}
.community-shell .feed-type{font-size:.63rem!important;letter-spacing:.02em!important}
.community-shell .feed-actions{margin-top:10px!important;gap:6px!important}
.community-shell .feed-action{min-height:40px!important;background:var(--panel2)!important;color:var(--text)!important;border-color:var(--line)!important;font-size:.75rem!important}
.community-shell .feed-action:hover{background:color-mix(in srgb,var(--purple) 10%,var(--panel))!important}
.community-shell .community-side{gap:10px!important;order:0!important}
.community-shell .community-discussion-create{padding:0!important;overflow:hidden;background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:none!important}
.community-discussion-create summary{list-style:none;cursor:pointer;min-height:46px;padding:11px 14px;font-size:.85rem;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:8px}
.community-discussion-create summary::-webkit-details-marker{display:none}
.community-discussion-create summary:after{content:"+";font-size:1.2rem;font-weight:400;color:var(--muted)}
.community-discussion-create[open] summary:after{content:"−"}
.community-discussion-create-body{border-top:1px solid var(--line);padding:12px 14px 14px}
.community-discussion-create input,.community-discussion-create textarea,.community-discussion-create select{background:var(--panel2)!important;color:var(--text)!important;border-color:var(--line)!important}
.community-shell .leader-mini{background:var(--panel)!important;box-shadow:none!important}
.community-shell .leader-mini .leader{padding:7px 0!important}
.community-shell .leader-mini .rank{background:var(--panel2);color:var(--text)}
.community-shell .leader-mini .avatar{background:var(--panel2);color:var(--text);border-color:var(--line)}
.community-shell .community-note{display:none!important}
@media(max-width:820px){.community-shell .community-hero{align-items:flex-start!important;flex-direction:column!important}.community-shell .community-hero .ld-search{margin:0;width:min(100%,560px)}.community-shell .community-layout{grid-template-columns:minmax(0,1fr)!important}.community-shell .community-side{order:0!important;grid-row:auto!important}.community-shell .leader-mini{display:none!important}}
@media(max-width:600px){.community-shell{width:100%!important;margin:0 auto 52px!important}.community-shell .community-hero{border-left:0!important;border-right:0!important;border-radius:0!important;padding:15px 14px!important}.community-shortcuts{width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.community-shell .community-hero .ld-search{width:100%}.community-shell .community-hero .ld-search .ld-button{padding-inline:13px}.community-shell .thought-compose,.community-shell .feed-card,.community-shell .community-discussion-create{border-left:0!important;border-right:0!important;border-radius:0!important}.community-shell .community-layout{gap:6px!important}.community-shell .community-side{padding:0!important}.community-shell .feed-actions{flex-wrap:wrap!important}.community-shell .feed-action{min-height:44px!important}.community-shell .community-empty-state__actions{display:grid;grid-template-columns:1fr}.community-shell .community-empty-state__actions .btn{width:100%}.community-shell .space-strip{margin:6px 0!important}.community-shell .live-row{padding:0 14px}}
@media(prefers-reduced-motion:no-preference){.community-shortcuts a,.community-shell .feed-action{transition:background-color .16s ease,border-color .16s ease}}
.community-feed-action-status{margin:8px 2px 0!important;color:var(--muted)!important;font-size:.78rem!important;line-height:1.45!important}
.community-feed-action-status[data-tone="success"]{color:var(--green)!important}.community-feed-action-status[data-tone="error"]{color:var(--red)!important}
.community-shell .feed-action[aria-pressed="true"]{border-color:var(--purple)!important;color:var(--text)!important;background:color-mix(in srgb,var(--purple) 14%,var(--panel))!important}
.community-report-dialog{width:min(520px,calc(100% - 28px));max-width:none;max-height:min(86dvh,760px);padding:0;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--text);box-shadow:0 24px 80px rgba(0,0,0,.34)}
.community-report-dialog::backdrop{background:rgba(4,9,18,.7);backdrop-filter:blur(3px)}
.community-report-dialog__panel{display:grid;gap:10px;padding:clamp(16px,4vw,24px);max-height:inherit;overflow-y:auto;overscroll-behavior:contain}
.community-report-dialog__panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.community-report-dialog__panel h2{margin:3px 0 0;font-size:1.25rem}
.community-report-dialog__intro{margin:0;color:var(--muted);font-size:.86rem;line-height:1.5}.community-report-dialog__panel label{font-size:.82rem;font-weight:750}.community-report-dialog__panel label span{font-weight:500;color:var(--muted)}
.community-report-dialog__panel select,.community-report-dialog__panel textarea{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--text);font:inherit}
.community-report-dialog__panel textarea{min-height:92px;resize:vertical}.community-report-dialog__panel :is(select,textarea,button):focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.community-report-dialog__status{min-height:1.3em;margin:0;color:var(--red);font-size:.8rem}.community-report-dialog__actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.community-report-dialog__actions button{min-height:44px}
@media(max-width:480px){.community-report-dialog__actions{display:grid;grid-template-columns:1fr 1fr}.community-report-dialog__actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.community-report-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
