/* ============================================================
   LonexCommunity — Forums module
   Built on the site theme tokens (style.css :root), so the
   forums follow the configured accent colour, fonts and
   surfaces like every other page.
   ============================================================ */

.fx { padding: 40px 0 80px; }
.fx-shell { max-width: var(--nav-container, var(--container)); }

.fx-notice {
    margin-bottom: 24px;
    padding: 12px 16px;
    border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--warning) 10%, transparent);
    color: var(--text);
    font-size: .9rem;
}
.fx-notice a { color: var(--warning); }

.fx-meta { color: var(--text-muted); font-size: .8rem; }
.fx-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--text-dim);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-lg);
}

/* ---------- Header / hero ---------- */
.fx-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.fx-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0; }
.fx-hero p { color: var(--text-dim); margin: 6px 0 0; max-width: 60ch; }
.fx-hero-actions { display: flex; gap: 8px; }

.fx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }
.fx-crumbs a { color: var(--text-dim); text-decoration: none; }
.fx-crumbs a:hover { color: var(--text); }

.fx-head {
    --cat: var(--accent);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--cat);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}
.fx-head-text { flex: 1; min-width: 220px; }
.fx-head h1 { font-family: var(--font-display); font-size: 1.6rem; margin: 0; }
.fx-head p { margin: 4px 0 6px; color: var(--text-dim); }

.fx-block { margin-top: 36px; }
.fx-block-title {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 12px;
}

/* ---------- Category list ---------- */
.fx-cats { display: flex; flex-direction: column; gap: 10px; }
.fx-cat {
    --cat: var(--accent);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 150px 220px;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.fx-cat:hover { background: var(--bg-card-hover); border-color: color-mix(in srgb, var(--cat) 45%, var(--border)); }
.fx-cat-icon {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cat);
    background: color-mix(in srgb, var(--cat) 15%, transparent);
}
.fx-cat-icon--lg { width: 52px; height: 52px; font-size: 1.5rem; }
.fx-cat-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fx-cat-name { font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.fx-cat-desc { color: var(--text-dim); font-size: .88rem; }
.fx-cat-access { color: var(--text-muted); font-size: .75rem; }
.fx-cat-stats { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; color: var(--text-dim); }
.fx-cat-stats strong { color: var(--text); font-variant-numeric: tabular-nums; }
.fx-cat-latest { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fx-cat-latest-title { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Tags & flags ---------- */
.fx-tags, .fx-tagbar { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-tagbar { margin-bottom: 16px; }
.fx-tag {
    --tag: var(--text-dim);
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--tag);
    background: color-mix(in srgb, var(--tag) 14%, transparent);
    border: 1px solid transparent;
    text-decoration: none;
}
a.fx-tag:hover { border-color: color-mix(in srgb, var(--tag) 45%, transparent); }
.fx-tag.is-active { border-color: var(--tag); }
.fx-tag--all { --tag: var(--text-dim); }

.fx-chip {
    --cat: var(--accent);
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: .72rem;
    color: var(--cat);
    background: color-mix(in srgb, var(--cat) 12%, transparent);
}
.fx-flag {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-light);
    vertical-align: middle;
}
.fx-flag--pin { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 40%, transparent); background: color-mix(in srgb, var(--warning) 10%, transparent); }

/* ---------- Thread list ---------- */
.fx-threads {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    overflow: hidden;
}
.fx-thread {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 110px 130px;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
}
.fx-thread:first-child { border-top: 0; }
.fx-thread.is-pinned { background: color-mix(in srgb, var(--warning) 4%, transparent); }
.fx-thread-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fx-thread-title { color: var(--text); font-weight: 600; text-decoration: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fx-thread-title:hover { color: var(--accent); }
.fx-thread-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.fx-thread-stats { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: var(--text-muted); }
.fx-thread-stats strong { color: var(--text); font-variant-numeric: tabular-nums; }
.fx-thread-last { display: flex; flex-direction: column; gap: 2px; text-align: right; min-width: 0; }

.fx-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--bg-card-hover); }
.fx-avatar--sm { width: 36px; height: 36px; }

.fx-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; font-size: .88rem; color: var(--text-dim); }
.fx-pager a { color: var(--accent); text-decoration: none; }

/* ---------- Thread view ---------- */
.fx-thread-head { margin-bottom: 18px; }
.fx-thread-head h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    overflow-wrap: anywhere;
}

.fx-post {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    margin-bottom: 12px;
    scroll-margin-top: calc(var(--nav-height) + 16px);
}
.fx-post--op { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.fx-post:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.fx-post-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.fx-post-name { color: var(--text); font-weight: 600; font-size: .88rem; text-decoration: none; overflow-wrap: anywhere; }
a.fx-post-name:hover { color: var(--accent); }
.fx-op-badge { font-size: .68rem; font-weight: 600; color: var(--accent); background: var(--accent-dim); padding: 2px 8px; border-radius: var(--radius-pill); }
.fx-post-main { padding: 16px 20px 20px; min-width: 0; }
.fx-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--text-muted); font-size: .8rem; margin-bottom: 10px; }
.fx-permalink { color: inherit; text-decoration: none; }
.fx-permalink:hover { color: var(--text); }
.fx-post-tools { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.fx-post-tools a, .fx-post-tools button {
    color: var(--text-dim);
    font: inherit;
    font-size: .8rem;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}
.fx-post-tools a:hover, .fx-post-tools button:hover { color: var(--text); }
.fx-post-tools form { display: inline; margin: 0; }

.fx-body { line-height: 1.7; overflow-wrap: anywhere; }
.fx-body > :first-child { margin-top: 0; }
.fx-body > :last-child { margin-bottom: 0; }
.fx-body h1, .fx-body h2, .fx-body h3 { font-family: var(--font-display); margin: 1.2em 0 .5em; }
.fx-body h1 { font-size: 1.5rem; } .fx-body h2 { font-size: 1.3rem; } .fx-body h3 { font-size: 1.1rem; }
.fx-body a { color: var(--accent); }
.fx-body ul, .fx-body ol { padding-left: 1.4em; margin: .6em 0; }
.fx-body li + li { margin-top: .2em; }
.fx-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.fx-body blockquote { margin: 1em 0; padding: 4px 16px; border-left: 3px solid var(--border-light); color: var(--text-dim); }
.fx-body code { font-size: .88em; background: var(--bg-input); padding: 2px 6px; border-radius: 4px; }
.fx-body pre { background: var(--bg-input); padding: 14px; border-radius: var(--radius); overflow-x: auto; }
.fx-body pre code { background: none; padding: 0; }
.fx-body table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.fx-body th, .fx-body td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; }

.fx-replies-title { margin-top: 28px; }

.fx-reply { margin-top: 24px; scroll-margin-top: calc(var(--nav-height) + 16px); }
.fx-closed {
    padding: 18px;
    text-align: center;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}
.fx-closed a { color: var(--accent); }

.fx-form { display: flex; flex-direction: column; gap: 4px; }
.fx-form textarea { resize: vertical; min-height: 120px; font-family: inherit; line-height: 1.6; }
.fx-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.fx-form-foot .btn:last-child { margin-left: auto; }

.fx-compose { max-width: 820px; }
.fx-compose h1 { font-family: var(--font-display); font-size: 1.8rem; margin: 0 0 20px; }

.fx-tagpick { border: 0; padding: 0; margin: 0 0 8px; }
.fx-tagpick legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.fx-tagpick legend .fx-meta { font-weight: 400; }
.fx-tagpick-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tagpick-item {
    --tag: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 8px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: normal;
    color: var(--tag);
    cursor: pointer;
}
.fx-tagpick-item:has(input:checked) { background: color-mix(in srgb, var(--tag) 14%, transparent); border-color: color-mix(in srgb, var(--tag) 50%, transparent); }
.fx-tagpick-item:has(input:disabled) { cursor: default; opacity: .8; }
.fx-tagpick-item input { accent-color: var(--tag); margin: 0; }

.fx-mod {
    margin-top: 32px;
    padding: 16px 18px;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-lg);
}
.fx-mod-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fx-mod-row form { margin: 0; }
.fx-mod-move { display: flex; gap: 6px; }
.fx-mod-move select { width: auto; min-width: 160px; height: 34px; padding-top: 4px; padding-bottom: 4px; font-size: .85rem; }

/* ---------- Unread ---------- */
.fx-count {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: var(--radius-pill);
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-dim);
}
.fx-count--danger { color: #fff; background: var(--danger); }
.fx-cat.has-unread .fx-cat-icon { box-shadow: 0 0 0 2px var(--accent); }
.fx-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.fx-thread.is-unread .fx-thread-title { color: var(--text); }
.fx-thread:not(.is-unread) .fx-thread-title { font-weight: 500; color: var(--text-dim); }
.fx-thread:not(.is-unread) .fx-thread-title:hover { color: var(--accent); }
.fx-new-badge { font-size: .68rem; font-weight: 700; color: var(--accent); background: var(--accent-dim); padding: 1px 7px; border-radius: var(--radius-pill); }
.fx-post.is-new { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.fx-new-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fx-new-divider::before, .fx-new-divider::after { content: ''; flex: 1; height: 1px; background: color-mix(in srgb, var(--accent) 40%, transparent); }

.fx-block-head, .fx-listbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fx-block-head .fx-block-title { margin: 0; }
.fx-listbar .fx-tagbar { margin-bottom: 0; }
.fx-listbar form, .fx-block-head form { margin: 0; }
.fx-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .82rem; color: var(--accent); cursor: pointer; text-decoration: none; }
.fx-linkbtn:hover { text-decoration: underline; }

/* ---------- Search ---------- */
.fx-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px 4px 4px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-input);
    color: var(--text-muted);
}
.fx-search:focus-within { border-color: var(--accent); }
.fx-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; padding: 8px 0; outline: none; }
.fx-search-count { margin: -6px 0 14px; }
.fx-search-count a { color: var(--accent); }
.fx-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fx-result { padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.fx-result-title { color: var(--text); font-weight: 600; text-decoration: none; }
.fx-result-title:hover { color: var(--accent); }
.fx-result-snippet { margin: 6px 0 8px; color: var(--text-dim); font-size: .9rem; line-height: 1.6; overflow-wrap: anywhere; }
.fx-result-snippet mark { background: color-mix(in srgb, var(--warning) 30%, transparent); color: var(--text); padding: 0 2px; border-radius: 3px; }

/* ---------- Reactions ---------- */
.fx-reactions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.fx-react-form { margin: 0; display: inline-flex; }
.fx-react {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    background: var(--bg-card-hover);
    color: var(--text-dim);
    font: inherit;
    font-size: .82rem;
    line-height: 1.4;
    cursor: pointer;
}
span.fx-react { cursor: default; }
button.fx-react:hover { border-color: var(--accent); }
.fx-react.is-mine { border-color: var(--accent); background: var(--accent-dim); color: var(--text); }
.fx-react-count { font-variant-numeric: tabular-nums; font-weight: 600; }
.fx-react-add { position: relative; }
.fx-react-add > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: .8rem;
    cursor: pointer;
}
.fx-react-add > summary::-webkit-details-marker { display: none; }
.fx-react-add > summary:hover, .fx-react-add[open] > summary { color: var(--text); border-color: var(--accent); }
.fx-react-picker {
    position: absolute;
    z-index: 20;
    bottom: calc(100% + 6px);
    left: 0;
    display: flex;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.fx-react-pick { background: none; border: 0; font-size: 1.15rem; line-height: 1; padding: 6px; border-radius: 8px; cursor: pointer; }
.fx-react-pick:hover { background: var(--bg-card-hover); transform: scale(1.12); }

/* ---------- Report popover ---------- */
.fx-report { position: relative; }
.fx-report > summary { list-style: none; cursor: pointer; color: var(--text-dim); font-size: .8rem; }
.fx-report > summary::-webkit-details-marker { display: none; }
.fx-report > summary:hover, .fx-report[open] > summary { color: var(--danger); }
.fx-report-form {
    position: absolute;
    z-index: 20;
    right: 0;
    top: calc(100% + 6px);
    width: min(300px, 80vw);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    text-align: left;
}
.fx-report-form .form-label { margin: 0; font-size: .82rem; }
.fx-report-form .btn { align-self: flex-end; }
.fx-edited { color: inherit; text-decoration: none; }
a.fx-edited:hover { color: var(--text); text-decoration: underline; }

/* ---------- Editor ---------- */
.fx-editor { position: relative; display: flex; flex-direction: column; gap: 4px; }
.fx-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fx-editor-head .form-label { margin: 0; }
.fx-editor-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: none;
    color: var(--text-dim);
    font: inherit;
    font-size: .8rem;
    cursor: pointer;
}
.fx-editor-btn:hover { color: var(--text); border-color: var(--accent); }
.fx-editor.is-dragging textarea { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.fx-editor-status { min-height: 1.2em; font-size: .8rem; color: var(--text-dim); }
.fx-editor-status.is-error { color: var(--danger); }
.fx-mention-box {
    position: absolute;
    z-index: 30;
    left: 12px;
    bottom: 40px;
    min-width: 240px;
    max-width: calc(100% - 24px);
    list-style: none;
    margin: 0;
    padding: 4px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.fx-mention-box li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--radius); cursor: pointer; font-size: .88rem; }
.fx-mention-box li.is-active, .fx-mention-box li:hover { background: var(--accent-dim); }
.fx-mention-box img { width: 22px; height: 22px; border-radius: 50%; }
.fx-body a[href^="/profile/"] { font-weight: 600; text-decoration: none; background: var(--accent-dim); padding: 0 4px; border-radius: 4px; }

/* ---------- Edit history ---------- */
.fx-history { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fx-rev { padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.fx-rev.is-current { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.fx-rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.fx-rev-title { font-size: 1.1rem; margin: 0 0 8px; }
.fx-rev-source > summary { cursor: pointer; color: var(--accent); font-size: .85rem; margin-bottom: 8px; }

/* ---------- Moderator desk ---------- */
.fx-tabs { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.fx-tabs a { padding: 10px 14px; color: var(--text-dim); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.fx-tabs a:hover { color: var(--text); }
.fx-tabs a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.fx-reports, .fx-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fx-report-card { padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.fx-report-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.fx-report-excerpt { margin: 0 0 10px; padding: 8px 14px; border-left: 3px solid var(--border-light); color: var(--text-dim); font-size: .9rem; overflow-wrap: anywhere; }
.fx-report-note { margin: 0 0 12px; font-size: .88rem; }
.fx-log { gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); overflow: hidden; }
.fx-log-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; padding: 12px 18px; border-top: 1px solid var(--border); }
.fx-log-row:first-child { border-top: 0; }
.fx-log-action { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); padding-top: 2px; }
.fx-log-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fx-log-main a { color: var(--accent); }
.fx-log-details summary { cursor: pointer; color: var(--text-dim); font-size: .8rem; }
.fx-log-details pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 0; padding: 10px; background: var(--bg-input); border-radius: var(--radius); font-size: .82rem; max-height: 260px; overflow-y: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .fx-cat { grid-template-columns: auto minmax(0, 1fr); }
    .fx-cat-stats { grid-column: 2; flex-direction: row; gap: 14px; }
    .fx-cat-latest { display: none; }
    .fx-thread { grid-template-columns: auto minmax(0, 1fr); }
    .fx-thread-stats { grid-column: 2; flex-direction: row; gap: 12px; }
    .fx-thread-last { display: none; }
}
@media (max-width: 600px) {
    .fx { padding: 24px 0 56px; }
    .fx-post { grid-template-columns: minmax(0, 1fr); }
    .fx-post-author {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px 0;
        border-right: 0;
        text-align: left;
    }
    .fx-post-author .fx-avatar { width: 32px; height: 32px; }
    .fx-post-main { padding: 10px 16px 16px; }
    .fx-hero-actions { width: 100%; flex-wrap: wrap; }
    .fx-log-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .fx-post-tools { gap: 10px; flex-wrap: wrap; }
    .fx-report-form { right: -8px; }
}
