body.community-page .community-hero { padding: 0 !important; }
body.community-page .community-hero > .portal-shell { padding-block: 24px !important; gap: 24px; }
body.community-page .community-hero h1 { margin: 0; font-size: clamp(31px,4vw,56px) !important; }
body.community-page .community-hero__copy p { margin: 12px 0 18px; }
body.community-page .community-sections { padding-block-start: 22px; }
body.community-page .community-section-head { margin: 0 0 14px; }
body.community-page .community-section-head h2 { margin: 0; font-size: clamp(23px,2.6vw,35px); }
body.community-page .community-kind-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
body.community-page .community-dashboard__head { padding: 12px 15px; }
body.community-page .community-dashboard__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
body.community-page .community-dashboard__grid > div { min-width: 0; min-height: 74px; padding: 12px 10px; }
body.community-page .community-dashboard__grid strong { font-size: 23px; }
body.community-page .community-dashboard__grid span { font-size: 12px; line-height: 1.35; }
body.community-page .community-kind { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 80px; padding: 10px; border: 1px solid var(--pp-line); border-radius: 14px; background: var(--pp-card) !important; color: var(--pp-ink); text-align: left; }
body.community-page .community-kind::before, body.community-page .community-kind::after { display: none; }
body.community-page .community-kind.is-active { background: var(--pp-soft) !important; border-color: var(--pp-accent) !important; }
body.community-page .community-kind.is-active b { color: var(--pp-accent) !important; }
body.community-page .community-kind > .community-emblem { width: 52px !important; height: 52px !important; flex: 0 0 52px; border-radius: 11px; background-color: var(--pp-soft); }
body.community-page .community-kind__copy { min-width: 0; }
body.community-page .community-kind__copy b { font-size: 17px; }
body.community-page .community-kind__copy small, body.community-page .community-kind__arrow { display: none; }
body.community-page .community-kind__copy em { display: inline-flex; width: fit-content; padding: 2px 7px; border-radius: 8px; color: var(--pp-muted) !important; background: var(--pp-soft); border-color: var(--pp-line); font-style: normal; }
body.community-page .community-mod-button { background: var(--pp-card); color: var(--pp-ink); border-color: var(--pp-line); }
body.community-page :is(.community-search,.community-statuses,.community-sort) { border-color: var(--pp-line); background: var(--pp-card); color: var(--pp-ink); min-width: 0; }
body.community-page .community-statuses button { background: var(--pp-card); color: var(--pp-muted); border-color: var(--pp-line); min-height: 40px; }
body.community-page .community-statuses button.is-active { border-color: var(--pp-accent); background: var(--pp-soft); color: var(--pp-accent); }
body.community-page :is(.topic-title-button,.topic-votes button,.comment-actions button) { color: var(--pp-ink); }
body.community-page :is(.topic-votes button,.comment-actions button).is-active { color: var(--pp-accent); outline: 1px solid var(--pp-accent); outline-offset: -1px; }
body.community-page .topic-meta .topic-author-name { color: var(--pp-accent) !important; font-weight: 650; overflow-wrap: anywhere; }
body.community-page .topic-copy { min-width: 0; }
body.community-page .topic-copy h3 { overflow-wrap: anywhere; }
body.community-page :is(.topic-detail-meta span,.topic-tags span) { overflow-wrap: anywhere; }
body.community-page .community-empty { background: var(--pp-card); border-color: var(--pp-line); color: var(--pp-muted); }
.forum-post-author { display: flex; flex-wrap: wrap; gap: 6px 9px; align-items: center; padding: 10px 12px; border: 1px solid var(--pp-line); border-radius: 11px; color: var(--pp-muted); background: var(--pp-soft); font-size: 14px; }
.forum-post-author strong { color: var(--pp-accent); overflow-wrap: anywhere; }
.forum-post-access p { margin-top: 0; }
.forum-post-access :is(a,button) { justify-self: start; }
.forum-secondary { min-height: 44px; border: 1px solid var(--pp-line); border-radius: 10px; padding-inline: 14px; color: var(--pp-ink); background: var(--pp-soft); }
.forum-post-error { margin: 0; padding: 10px 12px; background: var(--pp-soft); border-inline-start: 3px solid var(--pp-accent); color: var(--pp-ink); }
body.community-page [data-topic-form] :is(input,select,textarea) { min-width: 0; font-size: 16px; font-weight: 500; }
body.community-page [data-topic-form] :is(input,select,textarea):not(:focus-visible) { box-shadow: none; }
body.community-page [data-topic-form] [type="submit"]:disabled { opacity: .65; cursor: wait; }
@media(max-width:1000px) {
  body.community-page .community-kind-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.community-page .community-dashboard__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  body.community-page .community-hero > .portal-shell { padding-block: 17px !important; gap: 13px; }
  body.community-page .community-kind-grid { gap: 6px; }
  body.community-page .community-kind { display:flex; gap:7px; min-height:67px; padding:8px; }
  body.community-page .community-kind .community-emblem { width: 32px !important; height: 32px !important; flex: 0 0 32px; }
  body.community-page .community-kind__copy b { font-size:13px; }
  body.community-page .community-kind__copy small, body.community-page .community-kind__arrow { display:none; }
  body.community-page .community-toolbar { flex-wrap:wrap; gap:8px; }
  body.community-page .community-statuses { flex-wrap:wrap; }
  body.community-page .community-statuses button { padding-inline:7px; font-size:12px; }
  body.community-page .topic-card { grid-template-columns:minmax(0,1fr); }
  body.community-page .topic-card > .topic-emblem { display:none; }
}
