/* Native subforum markup, including its configured icons and title colours. */
body.mfcn-forum-page [id^="subforum_"].bm_c{padding:16px!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 10px}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody{display:block}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{display:grid;grid-template-columns:52px minmax(0,1fr) 88px minmax(130px,190px);align-items:center;gap:16px;margin-bottom:12px;padding:18px;border:1px solid var(--mf-line,#dfe6df);border-radius:12px;background:var(--mf-paper,#fff);box-sizing:border-box}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb tr:empty{display:none}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb td{display:block;width:auto!important;min-width:0;padding:0!important;border:0;background:none;line-height:1.75;box-sizing:border-box}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_icn>a,body.mfcn-forum-page [id^="subforum_"].bm_c .fl_icn_g>a{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--mf-soft,#edf4ee);overflow:hidden}
body.mfcn-forum-page [id^="subforum_"].bm_c :is(.fl_icn,.fl_icn_g) :is(img,svg){display:block;width:30px!important;height:30px!important;max-width:100%;object-fit:contain}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_icn svg path{fill:var(--mf-green,#176550)}
body.mfcn-forum-page [id^="subforum_"].bm_c h2{font-size:15px!important;line-height:1.65;margin:0 0 6px!important;overflow-wrap:anywhere}
body.mfcn-forum-page [id^="subforum_"].bm_c p{font-size:12px;line-height:1.85;margin:4px 0;color:var(--mf-muted,#64756b);overflow-wrap:anywhere}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_by{font-size:12px;overflow-wrap:anywhere}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_by div{width:auto!important;min-width:0}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_by cite{display:block;font-size:11px;line-height:1.8;margin-top:5px;color:var(--mf-muted,#64756b)}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_i{font-size:12px;text-align:center}
/* v3.68: stabilize subforum text columns and prevent title/meta collisions. */
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{grid-template-columns:52px minmax(0,1fr) minmax(66px,84px) minmax(118px,170px);gap:12px;align-items:center}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb h2 a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_i{white-space:nowrap;line-height:1.55}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_by{min-width:0;line-height:1.55}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_by cite{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* v3.69: override the native table sizing that can collapse the title cell to a few pixels. */
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{display:flex!important;width:100%;min-width:0;table-layout:auto!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_icn{flex:0 0 52px;width:52px!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>td:nth-child(2){flex:1 1 auto;width:auto!important;min-width:0!important;overflow:hidden}
body.mfcn-forum-page [id^="subforum_"] .fl_tb>tbody>tr>td:nth-child(2){padding-left:6px!important;clear:none!important}
body.mfcn-forum-page [id^="subforum_"] .fl_tb>tbody>tr>td:nth-child(2)>*{float:none!important;clear:none!important}
body.mfcn-forum-page [id^="subforum_"] .fl_tb h2 a{font-family:"Source Han Sans SC","Noto Sans SC","Microsoft YaHei",sans-serif;letter-spacing:0;word-break:keep-all}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_i{flex:0 0 84px;width:84px!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_by{flex:0 1 170px;width:170px!important;min-width:118px!important}
@media(max-width:700px){body.mfcn-forum-page [id^="subforum_"].bm_c{padding:10px!important}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{display:grid!important;grid-template-columns:40px minmax(0,1fr);gap:8px;padding:12px}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_icn{flex:none;width:auto!important}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_i,body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_by{grid-column:2;flex:none;width:auto!important;min-width:0!important;text-align:left}body.mfcn-forum-page [id^="subforum_"].bm_c h2{font-size:14px!important}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb h2 a{white-space:normal;overflow:visible;text-overflow:clip}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb p{line-height:1.6;margin:2px 0}}
/* v3.26: native trailing rows contain whitespace, so :empty does not match. */
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr:not(:has(td)){display:none!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb{display:block;border-spacing:0;margin:0!important}
body.mfcn-forum-page [id^="subforum_"].bm_c{padding:10px 14px!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{padding:12px 14px;margin:0 0 8px}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr:last-of-type,body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr:has(td):not(:has(~tr td)){margin-bottom:0}
body.pg_forumdisplay #ct .mn .bm.fl:has([id^="subforum_"]){margin-top:10px!important;margin-bottom:10px!important}
body.pg_forumdisplay #ct .mn .bm.fl:has([id^="subforum_"])>.bm_h{height:auto!important;min-height:0!important;box-sizing:border-box;padding:10px 16px!important;line-height:1.5}
body.pg_forumdisplay #ct .mn .bm.fl:has([id^="subforum_"])>.bm_h h2{margin:0!important;line-height:1.5}
@media(max-width:700px){body.mfcn-forum-page [id^="subforum_"].bm_c{padding:8px 10px!important}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{padding:10px;row-gap:6px}}

/* v3.70: polished subforum cards, aligned with the MFCN green visual system. */
body.pg_forumdisplay.mfcn-forum-page #ct .mn .bm.fl:has([id^="subforum_"]){border:1px solid #d9e4dc!important;border-radius:16px!important;background:linear-gradient(180deg,#fbfdfb 0%,#f5f9f6 100%)!important;box-shadow:0 12px 28px rgba(18,70,50,.06)!important;overflow:hidden}
body.pg_forumdisplay.mfcn-forum-page #ct .mn .bm.fl:has([id^="subforum_"])>.bm_h{display:flex;align-items:center;justify-content:space-between;padding:13px 18px!important;background:#edf6f1!important;border-bottom:1px solid #d9e4dc!important;color:#176b58!important}
body.pg_forumdisplay.mfcn-forum-page #ct .mn .bm.fl:has([id^="subforum_"])>.bm_h h2{font-size:15px!important;letter-spacing:.02em;color:#176b58!important}
body.pg_forumdisplay.mfcn-forum-page #ct .mn .bm.fl:has([id^="subforum_"])>.bm_h .o em{display:grid;place-items:center;width:22px;height:22px;border:1px solid #c9dbd0;border-radius:50%;background:#fff;color:#176b58}
body.mfcn-forum-page [id^="subforum_"].bm_c{padding:14px 14px 12px!important;background:transparent!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{padding:14px 16px!important;margin:0 0 9px!important;border:1px solid #dbe7df!important;border-radius:13px!important;background:#fffefa!important;box-shadow:0 4px 14px rgba(18,70,50,.035)!important;transition:transform .18s,box-shadow .18s,border-color .18s}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr:hover{transform:translateY(-1px);border-color:#b8d5c5!important;box-shadow:0 8px 18px rgba(18,70,50,.08)!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_icn>a,body.mfcn-forum-page [id^="subforum_"].bm_c .fl_icn_g>a{width:46px;height:46px;border:1px solid #d5e8dc;background:linear-gradient(145deg,#e9f6ef,#dceee5);border-radius:13px}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb h2{margin:0 0 4px!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb h2 a{font-size:15px!important;font-weight:700;color:#176b58!important}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb h2 .xg1{color:#89998f!important;font-size:11px}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb p{margin:2px 0!important;color:#74837a!important;font-size:11px;line-height:1.65}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_i{padding:6px 8px!important;border-radius:8px;background:#edf6f1;color:#176b58;font-size:11px;font-weight:700}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_by{padding-left:10px;border-left:1px solid #e5eee8;color:#176b58;font-size:11px}
body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_by cite{color:#8a968f;font-size:10px}
@media(max-width:700px){body.pg_forumdisplay.mfcn-forum-page #ct .mn .bm.fl:has([id^="subforum_"])>.bm_h{padding:11px 14px!important}body.mfcn-forum-page [id^="subforum_"].bm_c{padding:10px!important}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr{padding:11px!important;border-radius:11px!important}body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_i,body.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb .fl_by{border-left:0;padding-left:0!important}}

/* v3.73: refined typography for the subforum cards. */
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb{font-family:"Source Han Sans SC","Noto Sans SC","Microsoft YaHei",sans-serif;color:#52675c}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb h2 a{display:block!important;margin:0!important;color:#145e4d!important;font-size:16px!important;font-weight:700!important;letter-spacing:.01em;line-height:1.45!important;text-decoration:none!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb h2 a:hover{color:#0b8065!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb h2 .xg1{display:inline-block;margin-left:5px;color:#8a9a91!important;font-size:11px!important;font-weight:400!important;vertical-align:1px}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb p{color:#6e7f76!important;font-size:12px!important;line-height:1.65!important;font-weight:400!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb .fl_i{align-self:center;padding:7px 9px!important;background:#edf7f1!important;border:1px solid #d8eae0!important;border-radius:8px!important;color:#176b58!important;font-size:11px!important;font-weight:600!important;line-height:1.35!important;text-align:center!important;white-space:nowrap}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb .fl_by{align-self:center;padding-left:13px!important;border-left:1px solid #e3ece6!important;color:#176b58!important;font-size:11px!important;line-height:1.5!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb .fl_by div>a{display:block;color:#176b58!important;font-weight:600!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb .fl_by cite{display:block;margin-top:3px!important;color:#93a097!important;font-size:10px!important;line-height:1.45!important;font-weight:400!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb .fl_icn>a{box-shadow:0 3px 8px rgba(18,70,50,.08)}
@media(max-width:700px){body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb h2 a{font-size:15px!important}body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb p{font-size:11px!important}body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb .fl_i{display:inline-block;width:max-content;max-width:100%;padding:5px 8px!important}body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_tb .fl_by{font-size:11px!important}}
/* v3.85: grouped subforums are cards, not the cells of a four-column row. */
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr:has(>.fl_g){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:12px!important;padding:0!important;margin:0 0 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_g{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:start!important;gap:14px!important;float:none!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:128px;box-sizing:border-box;padding:18px!important;border:1px solid var(--mf-line,#dfe6df)!important;border-radius:12px!important;background:var(--mf-paper,#fffefa)!important;overflow:visible!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g .fl_icn_g{display:block!important;float:none!important;position:static!important;width:48px!important;height:48px!important;margin:0!important;padding:0!important;grid-column:1;grid-row:1}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g .fl_icn_g>a{display:grid!important;place-items:center;width:48px!important;height:48px!important;margin:0!important;border:1px solid #d5e8dc;border-radius:12px;background:var(--mf-soft,#e6f2ed)}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g .fl_icn_g img{display:block;width:30px!important;height:30px!important;object-fit:contain}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g dl{grid-column:2;grid-row:1;float:none!important;clear:none!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;overflow:visible!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g dt{margin:0 0 6px!important;padding:0!important;font-size:15px!important;font-weight:600!important;line-height:1.6!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g dt a{display:inline!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-decoration:none;line-height:1.6!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g dd{margin:4px 0 0!important;padding:0!important;font-size:12px!important;font-weight:400!important;line-height:1.7!important;color:var(--mf-muted,#728077);white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g dd a{white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"] .fl_g dd cite{display:block!important;margin:3px 0 0!important;font-style:normal;font-size:12px!important}
body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr:has(>.fl_g)>td:not(.fl_g){display:none!important}
@media(max-width:760px){body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr:has(>.fl_g){grid-template-columns:minmax(0,1fr)!important;gap:10px!important}body.pg_forumdisplay.mfcn-forum-page [id^="subforum_"].bm_c .fl_tb>tbody>tr>.fl_g{min-height:0;padding:14px!important;gap:12px!important}}
