#viewForums {
    --ff-surface: #E2DFDB;
    --ff-paper: #EAE7E3;
    --ff-ink: #1c1c1c;
    --ff-muted: #65625F;
    --ff-line: #CBC7C2;
    --ff-accent: #C84F00;
    min-width: 0;
    min-height: 0;
    padding: 8px 16px 8px 8px;
    color: var(--ff-ink);
    font-family: 'Macan', sans-serif;
}
#viewForums *, .ff-dialog * { letter-spacing: 0; }
#viewForums button, #viewForums input, #viewForums textarea, #viewForums select { font: inherit; }
#viewForums button { cursor: pointer; color: inherit; }
#viewForums button:disabled { opacity: 0.5; cursor: wait; }
#viewForums :focus-visible { outline: 2px solid #BA4900; outline-offset: 3px; }
#viewForums [hidden] { display: none !important; }
.ff-shell { background: var(--ff-surface); border-radius: 32px; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.ff-header { padding: 28px 32px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--ff-line); flex-shrink: 0; }
.ff-brand { font-size: 24px; }
.ff-header h1 { font-size: 16px; font-weight: 400; margin-top: 4px; color: var(--ff-muted); }
.ff-header-actions { display: flex; align-items: center; gap: 16px; }
.ff-status { color: #756443; font-size: 11px; white-space: nowrap; }
.ff-status::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #B58532; margin-right: 6px; }
.ff-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; flex: 1; min-height: 0; }
.ff-main { overflow-y: auto; min-width: 0; padding: 26px 32px 60px; overscroll-behavior: contain; }
.ff-sidebar { overflow-y: auto; border-left: 1px solid var(--ff-line); padding: 24px; min-width: 0; }
.ff-sidebar h2 { font-size: 20px; font-weight: 400; margin: 16px 0 8px; }
.ff-sidebar p { font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.ff-sidebar h3 { font-weight: 500; font-size: 13px; margin: 24px 0 12px; }
.ff-community-image { height: 118px; background: radial-gradient(circle, #C3BFB8 1px, transparent 1px) 0 0 / 12px 12px; display: flex; justify-content: center; }
.ff-community-image img { width: 100%; height: 100%; object-fit: contain; }
.ff-muted, .ff-meta { color: var(--ff-muted); }
.ff-stats { display: flex; gap: 26px; border-bottom: 1px solid var(--ff-line); padding: 18px 0; font-size: 11px; color: var(--ff-muted); }
.ff-stats strong { display: block; color: var(--ff-ink); font-size: 20px; font-weight: 400; margin-bottom: 4px; }
.ff-personal { display: grid; padding-top: 16px; gap: 4px; }
.ff-personal button { display: flex; justify-content: space-between; padding: 9px 10px; margin: 0 -10px; background: none; border: 0; text-align: left; font-size: 13px !important; border-radius: 4px; }
.ff-personal button[aria-pressed="true"] { background: #D4D0CB; }
.ff-personal button:hover { background: #DAD6D1; }
.ff-personal span { color: var(--ff-muted); }
.ff-rules { padding-left: 18px; color: var(--ff-muted); font-size: 12px; line-height: 1.6; }
.ff-rules li { padding-left: 4px; margin-bottom: 10px; }
.ff-local-note { border-top: 1px solid var(--ff-line); margin-top: 24px; padding-top: 16px; color: var(--ff-muted); }
.ff-local-note strong { font-size: 12px; font-weight: 500; }
.ff-local-note p { font-size: 11px; margin-top: 6px; }
.ff-button { border: 1px solid var(--ff-line); background: transparent; padding: 9px 13px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px !important; min-height: 36px; text-decoration: none; }
#viewForums .ff-primary { background: var(--ff-ink); color: #F1EFEB; border-color: var(--ff-ink); }
.ff-button:hover { background: #D6D1CB; }
#viewForums .ff-primary:hover { background: #3D3A37; }
.ff-icon { width: 16px; height: 16px; flex-shrink: 0; vertical-align: middle; }
.ff-icon-button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: none; flex-shrink: 0; }
.ff-icon-button:hover { background: #D4D0CA; }
.ff-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.ff-heading-row h2 { font-size: 22px; font-weight: 400; }
.ff-heading-row p { font-size: 12px; color: var(--ff-muted); margin-top: 6px; }
.ff-search { display: flex; align-items: center; gap: 8px; border: 1px solid #C5C0BA; border-radius: 6px; padding: 0 10px; width: 240px; min-width: 120px; background: #E9E6E2; }
.ff-search input { min-width: 0; width: 100%; border: 0; background: none; padding: 10px 0; font-size: 13px !important; }
.ff-search:focus-within { outline: 2px solid var(--ff-accent); outline-offset: 2px; }
.ff-search input:focus-visible { outline: 0 !important; }
.ff-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--ff-line); }
.ff-tabs { display: flex; gap: 3px; flex-wrap: wrap; }
.ff-tabs button { padding: 7px 12px; background: transparent; border: 0; border-radius: 4px; font-size: 12px !important; color: var(--ff-muted) !important; }
.ff-tabs button[aria-pressed="true"] { background: var(--ff-ink); color: #F1EFEB !important; }
.ff-select { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ff-muted); }
.ff-select select { background: transparent; border: 1px solid var(--ff-line); padding: 6px; border-radius: 4px; max-width: 160px; color: var(--ff-ink); }
.ff-mobile-scope { display: none; }
.ff-post { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--ff-line); }
.ff-post:last-child { border-bottom: 0; }
.ff-votes { display: flex; align-items: center; flex-direction: column; gap: 1px; width: 34px; font-size: 12px; font-variant-numeric: tabular-nums; }
#viewForums .ff-votes button[aria-pressed="true"] { color: var(--ff-accent); background: #F1D6C4; }
.ff-votes button[data-direction="-1"][aria-pressed="true"] { color: #245C99 !important; background: #D2DFEA !important; }
.ff-post-content { min-width: 0; }
.ff-meta { font-size: 11px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; line-height: 1.6; }
.ff-meta .ff-author { color: #494642; }
.ff-topic { font-size: 10px; color: #3E5550; background: #D1DBD5; border-radius: 3px; padding: 2px 6px; display: inline-block; }
.ff-topic[data-topic="Questions"] { background: #D1DCE5; color: #38546B; }
.ff-topic[data-topic="Listening"] { background: #E2D8C0; color: #6F5A2F; }
.ff-topic[data-topic="Reviews"] { background: #DED3CC; color: #665047; }
.ff-topic[data-topic="Setups"] { background: #CED9D2; color: #3F5B4A; }
.ff-pinned { color: var(--ff-accent); display: inline-flex; gap: 4px; align-items: center; }
.ff-post-title { border: 0; background: none; text-align: left; padding: 0; margin: 8px 0; font-size: 18px !important; line-height: 1.35; overflow-wrap: anywhere; display: block; }
.ff-post-title:hover { color: var(--ff-accent) !important; }
.ff-excerpt { font-size: 13px; color: var(--ff-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ff-post-preview { display: flex; gap: 20px; align-items: center; }
.ff-post-preview > div { flex: 1; min-width: 0; }
.ff-post-image { width: 112px; height: 90px; object-fit: contain; background: #D9D6D1; border-radius: 6px; flex-shrink: 0; }
.ff-actions { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; margin-top: 12px; }
.ff-actions button, .ff-actions a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; font-size: 11px !important; color: var(--ff-muted) !important; background: none; border: 0; text-decoration: none; }
.ff-actions button:hover, .ff-actions a:hover, .ff-actions button[aria-pressed="true"] { color: var(--ff-accent) !important; }
.ff-count-line { padding: 12px 0 0; font-size: 11px; color: var(--ff-muted); }
.ff-empty { padding: 60px 16px; text-align: center; }
.ff-empty h3 { font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.ff-empty p { font-size: 13px; color: var(--ff-muted); margin-bottom: 20px; }
.ff-detail-heading { font-size: 26px; font-weight: 400; line-height: 1.3; margin: 12px 0 20px; overflow-wrap: anywhere; }
.ff-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; font-size: 14px; }
.ff-detail-image { display: block; max-width: 100%; max-height: 340px; object-fit: contain; margin: 20px 0; border-radius: 6px; }
.ff-link { color: #345F84; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; overflow-wrap: anywhere; max-width: 100%; }
.ff-discussion-header { margin: 28px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ff-discussion-header h2 { font-size: 18px; font-weight: 400; }
.ff-reply-form { margin: 16px 0; }
.ff-field { display: grid; gap: 7px; font-size: 12px; margin-bottom: 18px; min-width: 0; }
.ff-field input, .ff-field textarea, .ff-field select, .ff-reply-form textarea { width: 100%; border: 1px solid #BDB8B1; border-radius: 6px; padding: 11px 12px; color: var(--ff-ink); background: #F1EFEB; font-size: 14px !important; min-width: 0; }
.ff-field textarea, .ff-reply-form textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.ff-reply-form > label { display: block; font-size: 12px; color: var(--ff-muted); margin-bottom: 8px; }
.ff-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 11px; color: var(--ff-muted); }
.ff-comment { border-top: 1px solid var(--ff-line); padding: 16px 0 0; margin-top: 16px; }
.ff-comment-head { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.ff-comment-content { padding-left: 36px; }
.ff-comment .ff-body { font-size: 13px; }
.ff-comment-children { border-left: 1px solid #C1BCB5; padding-left: 18px; margin-left: 14px; }
.ff-comment-children .ff-comment-children .ff-comment-children { margin-left: 0; padding-left: 8px; }
.ff-comment-votes { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.ff-comment-votes button { min-width: 24px; justify-content: center; }
.ff-comment-votes button[aria-pressed="true"] { color: var(--ff-accent) !important; }
.ff-dialog { color: var(--ff-ink); background: var(--ff-surface); border: 1px solid #C6C0B8; border-radius: 8px; margin: auto; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 26px; overflow-y: auto; box-shadow: 0 20px 70px #0003; }
.ff-dialog::backdrop { background: #17171766; backdrop-filter: blur(3px); }
.ff-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.ff-dialog h2 { font-size: 22px; font-weight: 400; }
.ff-dialog-description { font-size: 12px; color: var(--ff-muted); line-height: 1.6; margin-bottom: 24px; }
.ff-dialog .ff-form-footer { justify-content: flex-end; }
.ff-form-error { color: #A23624; font-size: 13px; line-height: 1.5; margin-top: 12px; }
.ff-attachment { max-width: 100%; max-height: 150px; object-fit: contain; margin: 8px 0; }
.ff-toast { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); background: #242321; color: #F1EFEB; border-radius: 6px; box-shadow: 0 4px 16px #0002; padding: 12px 18px; font-size: 13px; max-width: min(480px, 90%); z-index: 20; }
@media (max-width: 1150px) {
    .ff-layout { grid-template-columns: minmax(0, 1fr) 220px; }
    .ff-main { padding: 24px 24px 60px; }
    .ff-sidebar { padding: 20px; }
    .ff-heading-row { align-items: flex-start; flex-direction: column; }
    .ff-search { width: 100%; }
}
@media (max-width: 850px) {
    .ff-layout { grid-template-columns: minmax(0, 1fr); }
    .ff-sidebar { display: none; }
    .ff-mobile-scope { display: inline-flex; }
    .ff-heading-row { flex-direction: row; align-items: center; }
    .ff-search { width: 220px; }
}
@media (max-width: 500px) {
    #viewForums { padding: 0 0 64px !important; height: 100dvh; max-height: 100dvh; overflow: hidden; }
    .ff-shell { border-radius: 0; }
    .ff-header { padding: 20px 18px 16px; }
    .ff-brand { font-size: 22px; }
    .ff-header-actions { flex-direction: column; align-items: flex-end; gap: 7px; }
    .ff-header-actions .ff-button { padding: 7px 10px; }
    .ff-main { padding: 20px 18px 40px; }
    .ff-heading-row { flex-direction: column; align-items: stretch; }
    .ff-search { width: 100%; }
    .ff-heading-row h2 { font-size: 20px; }
    .ff-tabs button { padding: 7px 9px; }
    .ff-post { gap: 9px; padding: 20px 0; grid-template-columns: 30px minmax(0,1fr); }
    .ff-post-title { font-size: 16px !important; }
    .ff-post-preview { align-items: flex-start; gap: 8px; }
    .ff-post-image { width: 65px; height: 65px; }
    .ff-detail-heading { font-size: 22px; }
    .ff-comment-content { padding-left: 8px; }
    .ff-comment-children { padding-left: 8px; margin-left: 5px; }
    .ff-dialog { padding: 20px; }
    .ff-toast { bottom: 76px; width: max-content; }
    body .container .nav-rail-center { gap: 4px !important; margin-right: 32px; }
    body .container .nav-rail-bottom { right: 8px !important; }
}