/* ForumCraft 0.9.22 — Community Interface Refresh
 * Loaded after ForumCraft Community 0.9.17.
 * Design Studio tokens remain the single source of colors and corners.
 * Purely presentational: plugin templates, forms and permissions are untouched.
 */
body.forumcraft-community-view {
  --fcm-ui-border: color-mix(in srgb,var(--fc-text) 11%,transparent);
  --fcm-ui-border-hover: color-mix(in srgb,var(--fc-accent) 44%,var(--fc-line));
  --fcm-ui-tint: color-mix(in srgb,var(--fc-accent) 5%,var(--fc-card));
  --fcm-ui-surface: color-mix(in srgb,var(--fc-surface) 65%,var(--fc-card));
  --fcm-ui-shadow: 0 15px 45px color-mix(in srgb,var(--fc-bg) 80%,transparent);
  --fcm-ui-round: clamp(14px,var(--fc-radius),28px);
}
body.forumcraft-community-view .fcm-wrap,
body.forumcraft-community-view .fcm-topic-layout-v3 { min-width:0; }
body.forumcraft-community-view :is(.fcm-hero-v2,.fcm-members-hero-v3,.fcm-profile-cover-v5,.fcm-topic-hero-v3,.fcm-category-hero-v3) {
  isolation:isolate;
}
body.forumcraft-community-view :is(.fcm-kicker,.fcm-live-label,.fcm-cat-index,.fcm-post-label,.fcm-solved-label) {
  font-size:11px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:.105em;
}
body.forumcraft-community-view :is(.fcm-hero-v2,.fcm-hero-board,.fcm-trend-card,.fcm-cat,.fcm-side-panel,.fcm-member,.fcm-side-card,.fcm-related-card,.fcm-post-v3,.fcm-reply-box-v3,.fcm-profile-cover-v5,.fcm-profile-feed-item-v5) {
  border-color:var(--fcm-ui-border);
}
body.forumcraft-community-view :is(.fcm-hero-v2,.fcm-trend-card,.fcm-cat,.fcm-side-panel,.fcm-member,.fcm-side-card,.fcm-related-card,.fcm-post-v3,.fcm-reply-box-v3,.fcm-profile-cover-v5) {
  border-radius:var(--fcm-ui-round) !important;
}
body.forumcraft-community-view :is(.fcm-btn,.fcm-action-btn,.fcm-inline-action,.fcm-tabs a,.fcm-profile-tabs a,.fcm-search button) {
  min-height:40px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  border-radius:12px;
  font-size:13px;
  font-weight:750;
  line-height:1.35;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
body.forumcraft-community-view :is(.fcm-btn,.fcm-action-btn,.fcm-inline-action,.fcm-tabs a,.fcm-profile-tabs a,.fcm-search button):focus-visible {
  outline:2px solid var(--fc-accent);outline-offset:3px;
}
body.forumcraft-community-view :is(.fcm-btn,.fcm-action-btn,.fcm-inline-action):not(:disabled):hover {transform:translateY(-1px)}
body.forumcraft-community-view :is(.fcm-section-head h2,.fcm-profile-section-head-v5 h2,.fcm-topic-titlebox h1) {
  overflow-wrap:anywhere;
  text-wrap:balance;
}

/* Forum overview: intentional hierarchy, fuller readable topic rows. */
body.forumcraft-community-view .fcm-hero-v2 {
  margin-top:42px;
  padding:clamp(25px,4vw,50px);
  gap:clamp(22px,3vw,45px);
  background:radial-gradient(circle at 88% 8%,rgba(var(--fc-accent-rgb),.13),transparent 38%),
             radial-gradient(circle at 8% 90%,color-mix(in srgb,var(--fc-accent2) 8%,transparent),transparent 44%),
             var(--fc-card);
}
body.forumcraft-community-view .fcm-hero-v2 h1 { font-size:clamp(35px,4.9vw,66px);line-height:1.1;letter-spacing:-.048em;margin:16px 0 18px; }
body.forumcraft-community-view .fcm-hero-v2 .fcm-hero-copy>p {font-size:clamp(14px,1.45vw,17px);line-height:1.8;max-width:680px;color:var(--fc-soft)}
body.forumcraft-community-view .fcm-hero-board {background:var(--fcm-ui-surface);box-shadow:var(--fcm-ui-shadow)}
body.forumcraft-community-view .fcm-hero-board-top {font-size:11px;line-height:1.5}
body.forumcraft-community-view .fcm-hero-hot {padding:19px;border-color:var(--fcm-ui-border);border-radius:15px}
body.forumcraft-community-view .fcm-hero-hot>span {font-size:10px}
body.forumcraft-community-view .fcm-hero-hot strong {font-size:14px;line-height:1.5}
body.forumcraft-community-view .fcm-hero-hot small {font-size:11px;line-height:1.5}
body.forumcraft-community-view .fcm-search-v2 {margin:0 0 58px}
body.forumcraft-community-view .fcm-search-v2 input {min-height:58px;font-size:15px;padding-right:110px;border:1px solid var(--fcm-ui-border)}
body.forumcraft-community-view .fcm-search-v2 button {min-height:42px;padding-inline:18px}
body.forumcraft-community-view .fcm-section-head {gap:16px;margin-bottom:22px}
body.forumcraft-community-view .fcm-section-head h2 {font-size:clamp(27px,3.3vw,39px)}
body.forumcraft-community-view .fcm-section-link {font-size:12px;font-weight:700;line-height:1.4}
body.forumcraft-community-view .fcm-categories-v2 {gap:14px}
body.forumcraft-community-view .fcm-categories-v2 .fcm-cat {min-height:230px;padding:24px;background:var(--fc-card)}
body.forumcraft-community-view .fcm-cat h3 {font-size:19px;line-height:1.3;margin-top:48px}
body.forumcraft-community-view .fcm-cat p {font-size:13px;line-height:1.65}
body.forumcraft-community-view .fcm-cat-foot {gap:8px}
body.forumcraft-community-view .fcm-cat-foot span {font-size:11px;line-height:1.35}
body.forumcraft-community-view .fcm-cat:hover,
body.forumcraft-community-view .fcm-trend-card:hover,
body.forumcraft-community-view .fcm-member:hover,
body.forumcraft-community-view .fcm-related-card:hover {
  border-color:var(--fcm-ui-border-hover);
  box-shadow:0 18px 50px color-mix(in srgb,var(--fc-bg) 65%,transparent);
}
body.forumcraft-community-view .fcm-trend-card h3 {font-size:clamp(18px,1.8vw,22px);line-height:1.32}
body.forumcraft-community-view .fcm-trend-card p {font-size:13px;line-height:1.65}
body.forumcraft-community-view .fcm-trend-top,
body.forumcraft-community-view .fcm-trend-foot {font-size:11px;line-height:1.5}
body.forumcraft-community-view .fcm-trend-author img {width:30px;height:30px}
body.forumcraft-community-view .fcm-tabs {gap:7px;max-width:100%;scrollbar-width:thin}
body.forumcraft-community-view .fcm-tabs a {padding:9px 15px;white-space:nowrap;color:var(--fc-soft);border:1px solid var(--fcm-ui-border)}
body.forumcraft-community-view .fcm-tabs a.active {background:var(--fcm-ui-tint);border-color:var(--fcm-ui-border-hover);color:var(--fc-text)}
body.forumcraft-community-view .fcm-topic-list-v2 {border:1px solid var(--fcm-ui-border);background:var(--fc-card);border-radius:var(--fcm-ui-round) !important;overflow:hidden}
body.forumcraft-community-view .fcm-topic-row-v2 {
  min-height:116px;gap:16px;padding:20px 22px;
  border-bottom-color:var(--fcm-ui-border);
  grid-template-columns:56px minmax(0,1fr) 70px 78px 22px;
}
body.forumcraft-community-view .fcm-topic-row-v2:hover {background:var(--fcm-ui-tint)}
body.forumcraft-community-view .fcm-topic-row-v2:focus-within {background:var(--fcm-ui-tint);outline:1px solid var(--fc-accent);outline-offset:-2px}
body.forumcraft-community-view .fcm-topic-body strong {font-size:16px;line-height:1.45;font-weight:800;letter-spacing:-.016em;overflow-wrap:anywhere}
body.forumcraft-community-view .fcm-topic-excerpt {max-width:100%;font-size:12px;line-height:1.65;color:var(--fc-muted)}
body.forumcraft-community-view .fcm-topic-meta {font-size:11px;line-height:1.5;letter-spacing:0}
body.forumcraft-community-view .fcm-topic-badge {font-size:10px;font-weight:750;line-height:1.25;padding:5px 9px;letter-spacing:.045em}
body.forumcraft-community-view .fcm-metric b {font-size:17px}
body.forumcraft-community-view .fcm-metric small {font-size:11px;line-height:1.4}
body.forumcraft-community-view .fcm-arrow {font-size:20px;color:var(--fc-accent)}
body.forumcraft-community-view .fcm-side-panel {padding:22px}
body.forumcraft-community-view .fcm-panel-head h3 {font-size:20px;line-height:1.3}
body.forumcraft-community-view .fcm-panel-head>a,
body.forumcraft-community-view .fcm-leader small {font-size:11px}
body.forumcraft-community-view .fcm-leader strong {font-size:13px}
body.forumcraft-community-view .fcm-rank,
body.forumcraft-community-view .fcm-leader em {font-size:11px}
body.forumcraft-community-view .fcm-rules li {font-size:12px;line-height:1.7}
body.forumcraft-community-view .fcm-join-card p {font-size:13px;line-height:1.7;max-width:100%}

/* Topic details: stronger reading column, author panel, replies and controls. */
body.forumcraft-community-view .fcm-topic-hero-v3 {
  padding:clamp(34px,5vw,66px) 0 38px;
  background:radial-gradient(circle at 82% 0,rgba(var(--fc-accent-rgb),.09),transparent 43%),var(--fc-bg);
}
body.forumcraft-community-view .fcm-topic-breadcrumbs {font-size:12px;gap:10px;line-height:1.6;flex-wrap:wrap;margin-bottom:24px}
body.forumcraft-community-view .fcm-topic-titlebox h1 {font-size:clamp(34px,4.3vw,59px);line-height:1.12;letter-spacing:-.045em;margin:12px 0 22px}
body.forumcraft-community-view .fcm-topic-byline {gap:12px;flex-wrap:wrap}
body.forumcraft-community-view .fcm-topic-byline small {font-size:12px;line-height:1.45}
body.forumcraft-community-view .fcm-topic-snapshot {display:grid;grid-template-columns:repeat(3,minmax(104px,120px));gap:10px;align-self:start}
body.forumcraft-community-view .fcm-topic-snapshot>div {min-width:0;display:grid;align-content:start;gap:4px;background:var(--fc-card);border-color:var(--fcm-ui-border);border-radius:16px;padding:15px}
body.forumcraft-community-view .fcm-topic-snapshot b {font-size:23px}
body.forumcraft-community-view .fcm-topic-snapshot span {display:block;max-width:100%;font-size:11px;line-height:1.4;overflow-wrap:anywhere;word-break:break-word;hyphens:auto}
body.forumcraft-community-view .fcm-topic-actions {gap:9px;flex-wrap:wrap;margin-top:26px}
body.forumcraft-community-view .fcm-topic-tags {margin-top:14px;flex-wrap:wrap}
body.forumcraft-community-view .fcm-topic-content-v3 {padding-top:32px;padding-bottom:84px}
/* 0.7.2 companion mistakenly set display:block!important on the topic grid. */
body.forumcraft-community-view .fcm-topic-layout-v3 {
  display:grid!important;grid-template-columns:minmax(0,1fr) 278px;
  gap:22px;align-items:start;
}
body.forumcraft-community-view .fcm-thread-v3 {gap:18px;min-width:0}
body.forumcraft-community-view .fcm-post-v3 {grid-template-columns:minmax(148px,174px) minmax(0,1fr);overflow:hidden;background:var(--fc-card)}
body.forumcraft-community-view .fcm-post-v3.is-best-answer {border-color:color-mix(in srgb,var(--fc-accent) 45%,var(--fc-line))}
body.forumcraft-community-view .fcm-post-author {background:var(--fcm-ui-surface);padding:25px 18px;border-right:1px solid var(--fcm-ui-border)}
body.forumcraft-community-view .fcm-post-author strong {font-size:14px;line-height:1.45;overflow-wrap:anywhere}
body.forumcraft-community-view .fcm-role-pill {font-size:10px;line-height:1.5;padding:6px 10px;letter-spacing:.035em}
body.forumcraft-community-view .fcm-author-stats {gap:11px;margin-top:22px;padding-top:17px}
body.forumcraft-community-view .fcm-author-stats span {font-size:11px;line-height:1.45}
body.forumcraft-community-view .fcm-author-stats b {font-size:12px}
body.forumcraft-community-view .fcm-post-main>header {min-height:64px;padding:16px 24px;border-bottom-color:var(--fcm-ui-border);gap:12px}
body.forumcraft-community-view .fcm-post-main>header>b,
body.forumcraft-community-view .fcm-post-main time {font-size:11px}
body.forumcraft-community-view .fcm-post-body-v3 {padding:25px clamp(19px,3vw,32px) 30px;min-height:115px;font-size:15px;line-height:1.9;color:var(--fc-soft);overflow-wrap:anywhere}
body.forumcraft-community-view .fcm-post-body-v3 :is(p,ul,ol) {margin-block:0 1.05em}
body.forumcraft-community-view .fcm-post-body-v3 :is(h2,h3,h4) {line-height:1.35;margin-block:1.25em .65em}
body.forumcraft-community-view .fcm-post-body-v3 a {color:var(--fc-accent);text-decoration:underline;text-underline-offset:3px}
body.forumcraft-community-view .fcm-post-body-v3 :is(img,video,iframe) {max-width:100%;height:auto;border-radius:12px}
body.forumcraft-community-view .fcm-post-body-v3 :is(pre,code) {max-width:100%;overflow-x:auto}
body.forumcraft-community-view .fcm-post-body-v3 blockquote {padding-left:17px;border-left:3px solid var(--fc-accent);color:var(--fc-soft)}
body.forumcraft-community-view .fcm-post-main>footer {padding:13px 22px;min-height:61px;border-top-color:var(--fcm-ui-border);font-size:11px;line-height:1.5}
body.forumcraft-community-view .fcm-post-actions {display:flex;flex-wrap:wrap;gap:7px}
body.forumcraft-community-view .fcm-inline-action {min-height:36px;padding:7px 12px;font-size:12px;border-color:var(--fcm-ui-border)}
body.forumcraft-community-view .fcm-topic-aside-v3 {gap:15px}
body.forumcraft-community-view .fcm-topic-aside-v3 .fcm-side-card {padding:23px}
body.forumcraft-community-view .fcm-topic-aside-v3 .fcm-side-card h3 {font-size:20px;line-height:1.3}
body.forumcraft-community-view .fcm-topic-aside-v3 .fcm-side-card>div,
body.forumcraft-community-view .fcm-topic-aside-v3 .fcm-side-card>a {font-size:12px;line-height:1.5}
body.forumcraft-community-view .fcm-sticky-card {position:sticky;top:108px}
body.forumcraft-community-view .fcm-reply-box-v3 {padding:clamp(18px,3vw,30px);background:linear-gradient(135deg,rgba(var(--fc-accent-rgb),.055),var(--fc-card) 47%)}
body.forumcraft-community-view .fcm-reply-box-v3 h2 {font-size:clamp(22px,2.4vw,29px)}
body.forumcraft-community-view .fcm-reply-foot {gap:16px;flex-wrap:wrap}
body.forumcraft-community-view .fcm-reply-foot>span {font-size:12px;line-height:1.6}
body.forumcraft-community-view .fcm-login-cta-v3 {border:1px solid var(--fcm-ui-border);border-radius:var(--fcm-ui-round);padding:clamp(22px,3vw,32px);background:var(--fcm-ui-tint)}
body.forumcraft-community-view .fcm-login-cta-v3 h3 {font-size:25px;line-height:1.3}
body.forumcraft-community-view .fcm-login-cta-v3 p {font-size:14px;line-height:1.75}
body.forumcraft-community-view .fcm-related-grid {gap:14px}
body.forumcraft-community-view .fcm-related-card {padding:22px;background:var(--fc-card)}
body.forumcraft-community-view .fcm-related-card>span {font-size:11px;line-height:1.5}
body.forumcraft-community-view .fcm-related-card strong {font-size:16px;line-height:1.45}
body.forumcraft-community-view .fcm-related-card p {font-size:12px;line-height:1.65}
body.forumcraft-community-view .fcm-related-card small {font-size:11px;line-height:1.5}

/* Category and tag archives share the same topic feed visual system. */
body.forumcraft-community-view .fcm-category-hero-v3 {
  padding:clamp(36px,5vw,60px) 0 35px;
  background:radial-gradient(circle at 78% 4%,rgba(var(--fc-accent-rgb),.10),transparent 42%),var(--fc-bg);
}
body.forumcraft-community-view .fcm-category-head {gap:clamp(20px,3vw,36px)}
body.forumcraft-community-view .fcm-category-head h1 {font-size:clamp(33px,4.7vw,62px);line-height:1.12;letter-spacing:-.046em;overflow-wrap:anywhere}
body.forumcraft-community-view .fcm-category-head p {font-size:clamp(14px,1.4vw,16px);line-height:1.8;color:var(--fc-soft);max-width:740px}
body.forumcraft-community-view .fcm-category-count {border:1px solid var(--fcm-ui-border);border-radius:18px;background:var(--fc-card)}
body.forumcraft-community-view .fcm-category-count b {font-size:26px}
body.forumcraft-community-view .fcm-category-count span {font-size:11px;line-height:1.45}
body.forumcraft-community-view .fcm-category-content-v3 {padding-top:33px}
body.forumcraft-community-view .fcm-seo-archive-text {border:1px solid var(--fcm-ui-border);border-radius:var(--fcm-ui-round);padding:clamp(20px,3vw,34px);background:var(--fc-card)}
body.forumcraft-community-view .fcm-seo-copy {font-size:15px;line-height:1.85;overflow-wrap:anywhere}

/* Member discovery and profile: make actual user contributions the focal point. */
body.forumcraft-community-view .fcm-members-hero-v3 {margin-top:40px}
body.forumcraft-community-view .fcm-members-hero-v3 h1 {line-height:1.08}
body.forumcraft-community-view .fcm-members-hero-v3>p {font-size:15px;line-height:1.75}
body.forumcraft-community-view .fcm-members-signal {background:var(--fcm-ui-surface);border-color:var(--fcm-ui-border)}
body.forumcraft-community-view .fcm-member-grid-v3 {gap:15px}
body.forumcraft-community-view .fcm-member-v3 {min-height:340px;background:var(--fc-card)}
body.forumcraft-community-view .fcm-member-cover {height:82px;font-size:11px;line-height:1.5;color:var(--fc-soft)}
body.forumcraft-community-view .fcm-member-v3 h3 {font-size:19px;line-height:1.35}
body.forumcraft-community-view .fcm-member-v3 p {font-size:13px;line-height:1.65}
body.forumcraft-community-view .fcm-member-metrics {gap:10px}
body.forumcraft-community-view .fcm-member-metrics :is(b,strong) {font-size:17px}
body.forumcraft-community-view .fcm-member-metrics small {font-size:11px;line-height:1.3}
body.forumcraft-community-view .fcm-member-link {font-size:12px;line-height:1.4;font-weight:750}
body.forumcraft-community-view .fcm-profile-hero-v5 {padding-top:35px}
body.forumcraft-community-view .fcm-profile-toolbar {font-size:11px;gap:10px;flex-wrap:wrap}
body.forumcraft-community-view .fcm-profile-cover-v5 {min-height:430px;padding:clamp(21px,3vw,37px);gap:23px}
body.forumcraft-community-view .fcm-profile-main-v5 {gap:clamp(18px,3vw,33px)}
body.forumcraft-community-view .fcm-profile-copy-v5 h1 {font-size:clamp(28px,3.9vw,51px);line-height:1.15;overflow-wrap:anywhere}
body.forumcraft-community-view .fcm-profile-copy-v5>p {font-size:14px;line-height:1.8;max-width:730px}
body.forumcraft-community-view .fcm-profile-handle {font-size:12px;line-height:1.6}
body.forumcraft-community-view .fcm-profile-meta-v5 {font-size:11px;line-height:1.6;flex-wrap:wrap}
body.forumcraft-community-view .fcm-profile-stats-v5>div {border:1px solid var(--fcm-ui-border);border-radius:14px;background:var(--fcm-ui-surface)}
body.forumcraft-community-view .fcm-profile-stats-v5 b {font-size:24px}
body.forumcraft-community-view .fcm-profile-stats-v5 span {font-size:11px;line-height:1.35}
body.forumcraft-community-view .fcm-trust-card-v5 {border-color:var(--fcm-ui-border)}
body.forumcraft-community-view .fcm-profile-content-v5 {padding-bottom:80px}
body.forumcraft-community-view .fcm-profile-tabs {margin-bottom:23px;padding:7px;gap:6px;border-color:var(--fcm-ui-border);border-radius:16px;background:var(--fc-card);scrollbar-width:thin}
body.forumcraft-community-view .fcm-profile-tabs a {padding:10px 14px;min-height:43px;white-space:nowrap;font-size:12px;border-radius:11px}
body.forumcraft-community-view .fcm-profile-tabs a.active {background:var(--fcm-ui-tint);color:var(--fc-text);box-shadow:inset 0 0 0 1px var(--fcm-ui-border-hover)}
body.forumcraft-community-view .fcm-profile-layout-v5 {gap:22px}
body.forumcraft-community-view .fcm-profile-section-head-v5 h2 {font-size:clamp(23px,2.7vw,34px);line-height:1.25}
body.forumcraft-community-view .fcm-profile-feed-v5 {gap:12px}
body.forumcraft-community-view .fcm-profile-feed-item-v5 {gap:16px;padding:20px;border-radius:18px;background:var(--fc-card)}
body.forumcraft-community-view .fcm-profile-feed-item-v5:hover {border-color:var(--fcm-ui-border-hover);background:var(--fcm-ui-tint)}
body.forumcraft-community-view .fcm-profile-feed-copy :is(strong,a) {font-size:15px;line-height:1.45;overflow-wrap:anywhere}
body.forumcraft-community-view .fcm-profile-feed-copy p {font-size:12px;line-height:1.65}
body.forumcraft-community-view .fcm-profile-feed-metrics-v5 {font-size:11px;line-height:1.5}
body.forumcraft-community-view .fcm-profile-aside-v5 {gap:15px}
body.forumcraft-community-view .fcm-profile-aside-v5 .fcm-side-card {padding:22px}
body.forumcraft-community-view .fcm-profile-aside-v5 :is(p,li,small) {font-size:12px;line-height:1.7}
body.forumcraft-community-view .fcm-achievement-grid {gap:14px}
body.forumcraft-community-view .fcm-achievement {border-color:var(--fcm-ui-border);border-radius:18px;padding:20px}
body.forumcraft-community-view .fcm-achievement h3 {font-size:16px;line-height:1.35}
body.forumcraft-community-view .fcm-achievement p {font-size:12px;line-height:1.6}

/* Compose, search, inputs, pagination and accessibility across community pages. */
body.forumcraft-community-view .fcm-create-v3 {border-radius:var(--fcm-ui-round)!important;background:var(--fc-card)}
body.forumcraft-community-view .fcm-create-head h2 {font-size:clamp(23px,3vw,33px)}
body.forumcraft-community-view .fcm-create-head p {font-size:13px;line-height:1.75}
body.forumcraft-community-view :is(.fcm-create input,.fcm-create textarea,.fcm-create select,.fcm-reply-box textarea,.fcm-search input,.fcm-rich-editor,.fcm-editor-canvas) {color:var(--fc-text);border-color:var(--fcm-ui-border)}
body.forumcraft-community-view :is(.fcm-create input,.fcm-create textarea,.fcm-create select,.fcm-reply-box textarea,.fcm-search input):focus {border-color:var(--fc-accent)}
body.forumcraft-community-view .fcm-editor-canvas {font-size:15px;line-height:1.8;min-width:0}
body.forumcraft-community-view .fcm-rich-toolbar {gap:5px}
body.forumcraft-community-view .fcm-toolbar-group button {min-width:34px;min-height:34px}
body.forumcraft-community-view .fcm-topic-body,
body.forumcraft-community-view .fcm-post-main,
body.forumcraft-community-view .fcm-profile-maincol {min-width:0}

@media (max-width:1100px) {
  body.forumcraft-community-view .fcm-topic-layout-v3 {grid-template-columns:minmax(0,1fr)}
  body.forumcraft-community-view .fcm-topic-aside-v3 {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.forumcraft-community-view .fcm-profile-layout-v5 {grid-template-columns:minmax(0,1fr)}
  body.forumcraft-community-view .fcm-profile-aside-v5 {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.forumcraft-community-view .fcm-topic-snapshot {max-width:420px}
}
@media (max-width:860px) {
  body.forumcraft-community-view .fcm-hero-v2 {grid-template-columns:minmax(0,1fr)}
  body.forumcraft-community-view .fcm-discussion-layout {grid-template-columns:1fr}
  body.forumcraft-community-view .fcm-post-v3 {grid-template-columns:145px minmax(0,1fr)}
  body.forumcraft-community-view .fcm-member-grid-v3 {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px) {
  body.forumcraft-community-view .fcm-hero-v2 {margin-top:22px;padding:24px 19px}
  body.forumcraft-community-view .fcm-hero-v2 h1 {font-size:clamp(32px,9vw,43px)}
  body.forumcraft-community-view .fcm-hero-board {padding:10px}
  body.forumcraft-community-view .fcm-hero-board .fcm-hero-stats>div {padding:11px 7px}
  body.forumcraft-community-view .fcm-search-v2 {margin-bottom:43px}
  body.forumcraft-community-view .fcm-search-v2 input {min-height:53px;padding-right:88px;padding-left:40px;font-size:14px}
  body.forumcraft-community-view .fcm-search-v2 button {font-size:12px;min-height:37px;padding-inline:11px}
  body.forumcraft-community-view .fcm-categories-v2 {gap:11px}
  body.forumcraft-community-view .fcm-categories-v2 .fcm-cat {min-height:195px;padding:18px}
  body.forumcraft-community-view .fcm-cat h3 {font-size:18px;margin-top:46px}
  body.forumcraft-community-view .fcm-cat-foot {left:18px;right:18px}
  body.forumcraft-community-view .fcm-trend-card {min-height:205px}
  body.forumcraft-community-view .fcm-topic-row-v2 {grid-template-columns:43px minmax(0,1fr) 40px;gap:10px;padding:16px 12px;min-height:104px}
  body.forumcraft-community-view .fcm-topic-body strong {font-size:14px;line-height:1.42}
  body.forumcraft-community-view .fcm-topic-excerpt {display:none}
  body.forumcraft-community-view .fcm-topic-row-v2>.fcm-metric + .fcm-metric,
  body.forumcraft-community-view .fcm-topic-row-v2>.fcm-arrow {display:none}
  body.forumcraft-community-view .fcm-topic-badge {font-size:9px;padding:4px 7px}
  body.forumcraft-community-view .fcm-metric small {font-size:10px}
  body.forumcraft-community-view .fcm-side-panel {padding:19px}
  body.forumcraft-community-view .fcm-topic-titlebox h1 {font-size:clamp(31px,8.7vw,41px)}
  body.forumcraft-community-view .fcm-topic-head-v3 {gap:20px}
  body.forumcraft-community-view .fcm-topic-snapshot {grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:none;gap:7px}
  body.forumcraft-community-view .fcm-topic-snapshot>div {padding:12px 9px}
  body.forumcraft-community-view .fcm-topic-snapshot b {font-size:20px}
  body.forumcraft-community-view .fcm-topic-snapshot span {font-size:10px;line-height:1.3}
  body.forumcraft-community-view .fcm-topic-layout-v3 {width:calc(100% - 28px)!important}
  body.forumcraft-community-view .fcm-post-v3 {grid-template-columns:minmax(0,1fr)}
  body.forumcraft-community-view .fcm-post-author {padding:16px 18px;border-right:0;border-bottom:1px solid var(--fcm-ui-border);display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 14px}
  body.forumcraft-community-view .fcm-post-author>a {display:flex;align-items:center;gap:11px;margin:0;min-width:0}
  body.forumcraft-community-view .fcm-post-author :is(.fcm-avatar,.fcm-initial-avatar) {--fcm-avatar-size:44px}
  body.forumcraft-community-view .fcm-post-author .fcm-role-pill {margin:0}
  body.forumcraft-community-view .fcm-post-author .fcm-author-stats {width:100%;margin-top:2px;padding-top:10px;display:flex;flex-wrap:wrap;gap:12px}
  body.forumcraft-community-view .fcm-post-body-v3 {padding:20px 17px 23px;font-size:14px;line-height:1.85;min-height:unset}
  body.forumcraft-community-view .fcm-post-main>header {padding:13px 17px;min-height:54px}
  body.forumcraft-community-view .fcm-post-main>footer {padding:12px 17px}
  body.forumcraft-community-view .fcm-post-actions {justify-content:flex-start}
  body.forumcraft-community-view .fcm-inline-action {padding:7px 10px;font-size:11px}
  body.forumcraft-community-view .fcm-topic-aside-v3,
  body.forumcraft-community-view .fcm-profile-aside-v5 {grid-template-columns:minmax(0,1fr)}
  body.forumcraft-community-view .fcm-related-grid {grid-template-columns:minmax(0,1fr)}
  body.forumcraft-community-view .fcm-related-card {padding:19px}
  body.forumcraft-community-view .fcm-member-grid-v3 {grid-template-columns:minmax(0,1fr)}
  body.forumcraft-community-view .fcm-member-v3 {min-height:290px}
  body.forumcraft-community-view .fcm-profile-cover-v5 {grid-template-columns:minmax(0,1fr);padding:22px 18px}
  body.forumcraft-community-view .fcm-profile-main-v5 {gap:18px}
  body.forumcraft-community-view .fcm-profile-stats-v5 {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.forumcraft-community-view .fcm-profile-tabs {width:100%}
  body.forumcraft-community-view .fcm-profile-tabs a {padding:9px 12px}
  body.forumcraft-community-view .fcm-profile-feed-item-v5 {grid-template-columns:42px minmax(0,1fr);padding:16px;gap:10px}
  body.forumcraft-community-view .fcm-profile-feed-metrics-v5 {grid-column:2}
  body.forumcraft-community-view .fcm-profile-feed-copy :is(strong,a) {font-size:14px}
  body.forumcraft-community-view .fcm-create-v3 {padding:19px!important}
  body.forumcraft-community-view .fcm-create-head {gap:13px}
}
@media (prefers-reduced-motion:reduce) {
  body.forumcraft-community-view :is(.fcm-btn,.fcm-action-btn,.fcm-inline-action,.fcm-cat,.fcm-member,.fcm-related-card,.fcm-trend-card) {transition:none!important;transform:none!important}
}
