/* Forum and thread pages: visual layer over the unmodified Discuz! X3.5 interactions. */
:is(body.pg_forumdisplay,body.pg_viewthread){background:var(--mf-bg)!important;color:var(--mf-text)}
:is(body.pg_forumdisplay,body.pg_viewthread){--mf-bg:#f6f5f0;--mf-paper:#fffefa;--mf-muted:#728077;--mf-text:#202a27;--mf-line:#e1e5de;--mf-green:#126653;--mf-green-dark:#0d5142;--mf-soft:#e6f2ed}
/* Keep Discuz account and utility controls available above the themed navigation. */
:is(body.pg_forumdisplay,body.pg_viewthread) #toptb{background:var(--mf-paper);border-bottom:1px solid var(--mf-line);color:var(--mf-muted)}
:is(body.pg_forumdisplay,body.pg_viewthread) #wp{max-width:1370px;width:calc(100% - 40px)!important;margin:0 auto!important;padding:0!important;background:none!important;border:0!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #wp> .wp,:is(body.pg_forumdisplay,body.pg_viewthread) #ct.wp,:is(body.pg_forumdisplay,body.pg_viewthread) #ct .wp{max-width:none;width:auto!important}
:is(body.pg_forumdisplay,body.pg_viewthread) a{transition:color .18s,border-color .18s,background-color .18s}
:is(body.pg_forumdisplay,body.pg_viewthread) #pt{height:auto;min-height:45px;margin:0;padding:16px 1px 7px;background:transparent;border:0;font-size:11px;color:var(--mf-muted)}
:is(body.pg_forumdisplay,body.pg_viewthread) #pt .z{line-height:1.7;color:var(--mf-muted)}
:is(body.pg_forumdisplay,body.pg_viewthread) #pt a{color:var(--mf-muted)!important}:is(body.pg_forumdisplay,body.pg_viewthread) #pt a:hover{color:var(--mf-green)!important}:is(body.pg_forumdisplay,body.pg_viewthread) #pt em{color:var(--mf-muted);margin:0 4px}
.mfcn-page-heading{min-height:154px;border-radius:16px;background:#123e35;color:#fff;position:relative;overflow:hidden;margin:12px 0 26px}
.mfcn-page-heading:after{content:"";position:absolute;width:340px;height:340px;right:-90px;top:-135px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.027),0 0 0 112px rgba(255,255,255,.018)}
.mfcn-page-heading-inner{padding:29px 34px;display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1;gap:18px}.mfcn-page-eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#abd5c1}.mfcn-page-heading h2{font-size:25px;line-height:1.4;color:#fff;margin:11px 0 5px;font-weight:700}.mfcn-page-heading p{font-size:11px;color:#c0d8cb;margin:0;line-height:1.7}.mfcn-page-heading p a{color:#dbece2!important}.mfcn-page-heading-mark{font-size:57px;font-weight:700;color:#fff;margin-right:35px}
.mfcn-mobile-nav{display:none}
:is(body.pg_forumdisplay,body.pg_viewthread) .boardnav{background:transparent}:is(body.pg_forumdisplay,body.pg_viewthread) .boardnav #ct{box-sizing:border-box;max-width:1370px}:is(body.pg_forumdisplay,body.pg_viewthread) .boardnav #ct>.mn{float:none;width:auto;min-width:0}
body.pg_forumdisplay #ct .mn .bm,body.pg_viewthread #postlist,body.pg_viewthread #fastpostform,body.pg_viewthread .pl.bm{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:13px;overflow:hidden;box-shadow:0 10px 28px rgba(22,44,28,.025)}
body.pg_forumdisplay #ct .mn .bm{margin-bottom:18px}
body.pg_forumdisplay #ct .mn .bm_h,body.pg_forumdisplay #ct .mn .th,body.pg_viewthread #postlist .vwthd{background:var(--mf-paper)!important;border-bottom:1px solid var(--mf-line)!important;color:var(--mf-text)}
body.pg_forumdisplay #ct .mn .bm_h{padding:16px 20px;height:auto;min-height:49px;line-height:1.65}body.pg_forumdisplay #ct .mn .bm_h h1 a{color:var(--mf-text)!important;font-size:21px;font-weight:700}body.pg_forumdisplay #ct .mn .bm_h h2{color:var(--mf-text);font-size:14px;font-weight:700}
body.pg_forumdisplay #ct .mn .bml>.bm_c{padding:0 20px 16px;color:var(--mf-muted);font-size:12px;line-height:1.85}body.pg_forumdisplay #ct .mn .bml>.bm_c .ptn{padding-top:0!important}
body.pg_forumdisplay #ct .mn .bm_h .xs1{display:inline-block;font-size:11px;color:var(--mf-muted);margin-left:10px}body.pg_forumdisplay #ct .mn .bm_h .xi1{color:var(--mf-green)}body.pg_forumdisplay #ct .mn .bm_h .y a{font-size:11px;color:var(--mf-green)!important}
body.pg_forumdisplay #sd_bdl{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:11px;overflow:hidden}body.pg_forumdisplay #forumleftside{background:transparent}body.pg_forumdisplay #forumleftside .bdl_h{background:var(--mf-soft);color:var(--mf-green);font-size:12px;padding:14px 12px}body.pg_forumdisplay #forumleftside dt{background:var(--mf-paper);color:var(--mf-text);font-weight:700;padding:10px 9px}body.pg_forumdisplay #forumleftside dd a{color:var(--mf-muted)!important;border-radius:5px;line-height:1.45}body.pg_forumdisplay #forumleftside dd a:hover,body.pg_forumdisplay #forumleftside .bdl_a a{background:var(--mf-soft);color:var(--mf-green)!important}
body.pg_forumdisplay .fl_tb{width:100%}body.pg_forumdisplay .fl_tb td{border-top:1px solid var(--mf-line);padding-top:12px;padding-bottom:12px}body.pg_forumdisplay .fl_tb td h2 a{font-size:13px;color:var(--mf-text)!important;font-weight:700}body.pg_forumdisplay .fl_tb .fl_i,body.pg_forumdisplay .fl_tb .fl_by{color:var(--mf-muted);font-size:11px}
body.pg_forumdisplay #pgt,body.pg_forumdisplay #fd_page_bottom,body.pg_viewthread #pgt,body.pg_viewthread .pgs{background:none;border:0;box-shadow:none}
:is(body.pg_forumdisplay,body.pg_viewthread) .pgsbtn,:is(body.pg_forumdisplay,body.pg_viewthread) #newspecial,:is(body.pg_forumdisplay,body.pg_viewthread) #post_reply,:is(body.pg_forumdisplay,body.pg_viewthread) .pn.pnc,:is(body.pg_forumdisplay,body.pg_viewthread) #fastpostsubmit{background:var(--mf-green)!important;border:1px solid var(--mf-green)!important;color:#fff!important;border-radius:8px;box-shadow:none!important;text-shadow:none!important;min-height:34px;line-height:32px;padding:0 15px;font-weight:700}
:is(body.pg_forumdisplay,body.pg_viewthread) .pg a,:is(body.pg_forumdisplay,body.pg_viewthread) .pg strong,:is(body.pg_forumdisplay,body.pg_viewthread) .pgb a{border:1px solid var(--mf-line);border-radius:7px;background:var(--mf-paper);color:var(--mf-text)!important;padding:4px 9px;height:auto;line-height:1.6}:is(body.pg_forumdisplay,body.pg_viewthread) .pg strong,:is(body.pg_forumdisplay,body.pg_viewthread) .pg a:hover{background:var(--mf-soft);border-color:var(--mf-green);color:var(--mf-green)!important}
body.pg_forumdisplay #threadlist{border-radius:13px}body.pg_forumdisplay #threadlist .th{padding:7px 13px}body.pg_forumdisplay #threadlist .th table{background:transparent}body.pg_forumdisplay #threadlist .tf a{display:inline-block;color:var(--mf-muted)!important;padding:4px 8px;border-radius:6px;font-size:11px}body.pg_forumdisplay #threadlist .tf a:hover{background:var(--mf-soft);color:var(--mf-green)!important}body.pg_forumdisplay #threadlist .th .by,body.pg_forumdisplay #threadlist .th .num{color:var(--mf-muted);font-size:11px}
body.pg_forumdisplay #threadlisttableid{width:100%}body.pg_forumdisplay #threadlisttableid>tbody>tr{background:var(--mf-paper);border-top:1px solid var(--mf-line)}body.pg_forumdisplay #threadlisttableid>tbody>tr:hover{background:var(--mf-soft)}body.pg_forumdisplay #threadlisttableid td{border-bottom:1px solid var(--mf-line);padding-top:15px;padding-bottom:15px;color:var(--mf-muted);font-size:11px}body.pg_forumdisplay #threadlisttableid th{border-bottom:1px solid var(--mf-line);padding-top:15px;padding-bottom:15px;font-size:13px;line-height:1.6}body.pg_forumdisplay #threadlisttableid th a.s{font-weight:700}body.pg_forumdisplay #threadlisttableid th a.s:hover{color:var(--mf-green)}body.pg_forumdisplay #threadlisttableid .by,body.pg_forumdisplay #threadlisttableid .num{color:var(--mf-muted)}body.pg_forumdisplay #threadlisttableid .xi2{color:var(--mf-green)!important}
body.pg_viewthread .mfcn-page-heading{margin-bottom:20px}body.pg_viewthread #postlist .plc,body.pg_viewthread #postlist .pls{background:var(--mf-paper)!important;border-color:var(--mf-line)!important}body.pg_viewthread #postlist .pls{background:var(--mf-bg)!important;width:180px}body.pg_viewthread #postlist .plc{padding-left:20px;padding-right:20px}body.pg_viewthread #postlist .vwthd{border-radius:0;padding-top:18px;padding-bottom:18px}body.pg_viewthread #postlist .vwthd h1,body.pg_viewthread #postlist .vwthd h1 span{font-size:22px!important;line-height:1.5!important;color:var(--mf-text)!important;font-weight:700}
body.pg_viewthread #postlist .pi{border-color:var(--mf-line);padding-top:12px;padding-bottom:9px}body.pg_viewthread #postlist .authi,body.pg_viewthread #postlist .authi a{font-size:11px;color:var(--mf-muted)!important}body.pg_viewthread #postlist .authi a:hover{color:var(--mf-green)!important}body.pg_viewthread #postlist .pls .authi a{color:var(--mf-text)!important;font-weight:700}body.pg_viewthread #postlist .t_f{color:var(--mf-text);font-size:15px;line-height:1.9;overflow-wrap:anywhere}body.pg_viewthread #postlist .t_f img,body.pg_viewthread #postlist .pcb img{max-width:100%;height:auto}body.pg_viewthread #postlist .pcb{padding:12px 0 26px}body.pg_viewthread #postlist .t_f a,body.pg_viewthread #postlist .xi2{color:var(--mf-green)!important}body.pg_viewthread #postlist .pob{border-top:1px solid var(--mf-line);padding:13px 0}body.pg_viewthread #postlist .pob a{color:var(--mf-muted)!important}body.pg_viewthread #postlist .pob a:hover{color:var(--mf-green)!important}
body.pg_viewthread #fastpostform{margin-top:20px}body.pg_viewthread #fastpostform .pls{background:var(--mf-bg)!important;border-color:var(--mf-line)}body.pg_viewthread #fastpostform .plc{background:var(--mf-paper)!important;padding:16px}body.pg_viewthread #fastpostform textarea{border:1px solid var(--mf-line);background:var(--mf-paper);color:var(--mf-text);border-radius:8px;min-height:125px}body.pg_viewthread #fastpostform .hasfsl{border:1px solid var(--mf-line);border-radius:9px;background:var(--mf-paper)}body.pg_viewthread #fastpostform .pn.pnc{margin-top:10px}
.mfcn-thread-tags{margin:17px 0;color:var(--mf-muted);font-size:11px}.mfcn-thread-tags:empty{display:none}.mfcn-thread-tags a{display:inline-block;margin:4px 6px 4px 0;padding:6px 10px;border:1px solid var(--mf-line);border-radius:7px;background:var(--mf-paper);color:var(--mf-green)!important;font-size:11px}.mfcn-thread-tags a:hover{background:var(--mf-soft);border-color:var(--mf-green)}
:is(body.pg_forumdisplay,body.pg_viewthread) #hd{width:100%!important;background:var(--mf-paper);border-bottom:1px solid var(--mf-line);padding:0!important;box-sizing:border-box}
:is(body.pg_forumdisplay,body.pg_viewthread) #hd .wp{max-width:1370px;width:calc(100% - 40px)!important;margin:auto!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #hd .hdc{min-height:72px;padding:11px 0;box-sizing:border-box}
:is(body.pg_forumdisplay,body.pg_viewthread) #hd .hdc h2 img{max-height:52px;max-width:240px;object-fit:contain}
:is(body.pg_forumdisplay,body.pg_viewthread) #hd .fastlg{font-size:11px;color:var(--mf-muted)}
:is(body.pg_forumdisplay,body.pg_viewthread) #hd .fastlg a{color:var(--mf-green)!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #hd .fastlg .pn{background:var(--mf-green);color:#fff;border:0;border-radius:7px}
:is(body.pg_forumdisplay,body.pg_viewthread) #nv{background:var(--mf-paper)!important;border:0!important;border-top:1px solid var(--mf-line)!important;height:auto!important;min-height:45px;box-shadow:none!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #nv .wp{max-width:1370px;width:calc(100% - 40px)!important;margin:auto!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #nv li{background:none!important;margin-right:3px}
:is(body.pg_forumdisplay,body.pg_viewthread) #nv li a{height:44px!important;line-height:44px!important;padding:0 15px!important;color:var(--mf-muted)!important;font-size:12px;font-weight:700;text-shadow:none!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #nv li.a a,:is(body.pg_forumdisplay,body.pg_viewthread) #nv li a:hover{color:var(--mf-green)!important;background:var(--mf-soft)!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #nv li a span{display:none}
:is(body.pg_forumdisplay,body.pg_viewthread) #scbar{max-width:1370px;width:calc(100% - 40px)!important;margin:0 auto 12px!important;border:1px solid var(--mf-line);background:var(--mf-paper);border-radius:9px;box-sizing:border-box;color:var(--mf-muted)}
:is(body.pg_forumdisplay,body.pg_viewthread) #scbar input{background:transparent!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #mu{max-width:1370px;width:calc(100% - 40px)!important;margin:0 auto!important}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-topline{height:5px;background:linear-gradient(90deg,#145e4e 0 50%,#d3a64b 50% 56%,#e2e7db 56%)}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-custom-header{background:var(--mf-paper);border-bottom:1px solid var(--mf-line)}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-header-inner{max-width:1460px;min-height:76px;padding:0 28px;margin:auto;display:flex;align-items:center;gap:34px;box-sizing:border-box}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-brand{display:flex;align-items:center;gap:12px;flex:none;color:var(--mf-text)!important;text-decoration:none}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-brand-icon{width:37px;height:37px;display:grid;place-items:center;background:var(--mf-green);color:#fff;border-radius:10px;font-size:23px;font-weight:700}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-brand strong{display:block;font-size:17px;line-height:1.25}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-brand small{display:block;font-size:9px;color:var(--mf-muted);letter-spacing:1.6px;margin-top:3px}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-header-nav{display:flex;align-items:center;gap:26px;height:76px}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-header-nav a{display:flex;align-items:center;height:100%;color:var(--mf-muted)!important;font-size:13px;font-weight:600;position:relative;text-decoration:none}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-header-nav a.current:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--mf-green)}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-custom-search{margin-left:auto;display:flex;align-items:center;background:#f0efe9;border-radius:9px;height:38px;width:235px;flex:none}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-custom-search input{background:transparent;border:0!important;box-shadow:none!important;outline:0!important;flex:1;min-width:0;padding:0 11px!important;height:38px;color:var(--mf-text)}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-custom-search button{border:0;background:transparent;color:var(--mf-muted);font-size:22px;width:34px;height:38px;cursor:pointer}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-header-actions{display:flex;align-items:center;gap:9px}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-theme-button{border:1px solid var(--mf-line);background:var(--mf-paper);color:var(--mf-text);height:38px;width:38px;border-radius:8px;cursor:pointer}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-login-link{white-space:nowrap;padding:10px 13px;border:1px solid var(--mf-line);border-radius:8px;color:var(--mf-text)!important;font-size:11px;font-weight:600;text-decoration:none}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-header-primary{white-space:nowrap;background:var(--mf-green);color:#fff!important;border-radius:8px;padding:11px 16px;font-size:11px;font-weight:700;text-decoration:none}
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-page-heading{clear:both;min-height:150px;border-radius:16px;background:#123e35;color:#fff;position:relative;overflow:hidden;margin:12px 0 26px}:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-page-heading h2{color:#fff;font-size:25px;line-height:1.4;margin:11px 0 5px;font-weight:700}
body.pg_viewthread #postlist>.plhin:first-child .pls{background:var(--mf-bg)!important}
body.pg_viewthread #postlist .vwthd .ts{margin:0}
body.pg_viewthread #postlist .vwthd .xg1{font-size:11px;color:var(--mf-muted)}
body.pg_viewthread #postlist .t_f blockquote,body.pg_viewthread #postlist .t_f .quote{background:var(--mf-soft);border-left:3px solid var(--mf-green);padding:12px 16px;border-radius:0 8px 8px 0}
body.pg_viewthread #postlist .attach_nopermission{background:var(--mf-soft);border:1px solid var(--mf-line);border-radius:9px;padding:14px;color:var(--mf-text)}
body.pg_forumdisplay #threadlisttableid .xst{font-weight:700}body.pg_forumdisplay #threadlisttableid .xst:hover{color:var(--mf-green)}
body.pg_viewthread #postlist .pct{padding-top:8px}body.pg_viewthread #postlist .pob{background:var(--mf-paper)}
body.pg_viewthread #postlist .t_f a{word-break:break-word}body.pg_viewthread #postlist .t_f pre{overflow-x:auto;max-width:100%}
body.pg_forumdisplay .pgs,body.pg_viewthread .pgs{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}
body.pg_forumdisplay #threadlisttableid .tdigest,body.pg_forumdisplay #threadlisttableid .tbox{border-radius:5px;font-size:10px;padding:2px 6px}
body.pg_viewthread .tag,body.pg_viewthread .thread-tag{background:var(--mf-soft);border-radius:6px;padding:4px 8px;color:var(--mf-green)!important}
@media(max-width:700px){:is(body.pg_forumdisplay,body.pg_viewthread) #hd .wp,:is(body.pg_forumdisplay,body.pg_viewthread) #nv .wp,:is(body.pg_forumdisplay,body.pg_viewthread) #scbar{width:calc(100% - 24px)!important}:is(body.pg_forumdisplay,body.pg_viewthread) #hd .hdc{min-height:58px}:is(body.pg_forumdisplay,body.pg_viewthread) #hd .hdc h2 img{max-width:130px;max-height:39px}:is(body.pg_forumdisplay,body.pg_viewthread) #hd .fastlg{display:none}:is(body.pg_forumdisplay,body.pg_viewthread) #nv{overflow-x:auto}:is(body.pg_forumdisplay,body.pg_viewthread) #nv ul{display:flex;min-width:max-content}:is(body.pg_forumdisplay,body.pg_viewthread) #nv li a{padding:0 10px!important}:is(body.pg_forumdisplay,body.pg_viewthread) #scbar{margin-top:9px!important}body.pg_forumdisplay #threadlist .th .tf{white-space:normal}body.pg_forumdisplay #threadlist .th .tf a{padding:3px 5px}body.pg_viewthread #postlist .t_f table{max-width:100%;display:block;overflow-x:auto}}
:is(body.pg_forumdisplay,body.pg_viewthread) #ft{max-width:1370px;width:calc(100% - 40px)!important;border-top:1px solid var(--mf-line);margin:35px auto 0!important;padding:22px 0;color:var(--mf-muted)}:is(body.pg_forumdisplay,body.pg_viewthread) #ft a{color:var(--mf-muted)!important}:is(body.pg_forumdisplay,body.pg_viewthread) #ft a:hover{color:var(--mf-green)!important}
body.mfcn-dark.pg_forumdisplay,body.mfcn-dark.pg_viewthread{--mf-bg:#131b18;--mf-paper:#1c2721;--mf-muted:#a4b4a8;--mf-text:#ecf1ea;--mf-line:#344137;--mf-green:#81c8a8;--mf-green-dark:#4fa780;--mf-soft:#213a2e}
body.mfcn-dark.pg_viewthread #postlist .pls,body.mfcn-dark.pg_viewthread #fastpostform .pls{background:#1a251e!important}body.mfcn-dark.pg_viewthread #postlist .plc,body.mfcn-dark.pg_viewthread #fastpostform .plc{background:var(--mf-paper)!important}body.mfcn-dark .mfcn-page-heading{background:#214c3d}body.mfcn-dark.pg_forumdisplay #threadlisttableid>tbody>tr:hover{background:var(--mf-soft)}
@media(max-width:1050px){body.pg_forumdisplay #sd_bdl{display:none!important}body.pg_forumdisplay .boardnav #ct{margin-left:0!important}body.pg_forumdisplay .boardnav #ct>.mn{width:100%}}
@media(max-width:700px){:is(body.pg_forumdisplay,body.pg_viewthread) #wp{width:calc(100% - 24px)!important}:is(body.pg_forumdisplay,body.pg_viewthread) #ft{width:calc(100% - 24px)!important}.mfcn-mobile-nav{display:flex;gap:15px;overflow-x:auto;padding:10px 13px;background:var(--mf-paper);border-bottom:1px solid var(--mf-line)}.mfcn-mobile-nav a{flex:none;color:var(--mf-muted)!important;font-size:11px;font-weight:700}.mfcn-mobile-nav a.current{color:var(--mf-green)!important}.mfcn-page-heading{min-height:0;margin-bottom:15px}.mfcn-page-heading-inner{padding:21px}.mfcn-page-heading h2{font-size:20px}.mfcn-page-heading-mark{display:none}body.pg_forumdisplay #ct .mn .bm_h{padding:13px}body.pg_forumdisplay #ct .mn .bm_h h1 a{font-size:17px}body.pg_forumdisplay #ct .mn .bm_h .xs1{display:block;margin:5px 0 0}body.pg_forumdisplay #threadlist .th .by,body.pg_forumdisplay #threadlist .th .num,body.pg_forumdisplay #threadlisttableid .by,body.pg_forumdisplay #threadlisttableid .num{display:none}body.pg_forumdisplay #threadlisttableid th,body.pg_forumdisplay #threadlisttableid td{padding-top:12px;padding-bottom:12px}body.pg_viewthread #postlist .pls,body.pg_viewthread #fastpostform .pls{display:none}body.pg_viewthread #postlist .plc,body.pg_viewthread #fastpostform .plc{width:100%!important;display:block;box-sizing:border-box}body.pg_viewthread #postlist .vwthd h1,body.pg_viewthread #postlist .vwthd h1 span{font-size:19px!important}body.pg_viewthread #postlist .t_f{font-size:14px}body.pg_viewthread #fastpostform .hasfsl{max-width:100%}}

/* Page header and shared Discuz controls. */
:is(body.pg_forumdisplay,body.pg_viewthread) .mfcn-page-heading{box-sizing:border-box;min-height:142px}
.mfcn-page-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.mfcn-page-heading-actions a,.mfcn-page-heading-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;box-sizing:border-box;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:rgba(255,255,255,.08);color:#fff!important;padding:0 12px;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}
.mfcn-page-heading-actions a:hover,.mfcn-page-heading-actions button:hover{background:rgba(255,255,255,.2);color:#fff!important}
.mfcn-page-heading-actions button{width:36px;padding:0;font-size:17px}
:is(body.pg_forumdisplay,body.pg_viewthread) #toptb a{color:var(--mf-muted)!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #toptb a:hover{color:var(--mf-green)!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #scbar{margin-top:12px!important}
:is(body.pg_forumdisplay,body.pg_viewthread) #pt .nvhm{background-color:transparent}
:is(body.pg_forumdisplay,body.pg_viewthread) #ct .bm_h h1,:is(body.pg_forumdisplay,body.pg_viewthread) #ct .bm_h h2{margin:0}
body.pg_forumdisplay #threadlisttableid th .xst{font-size:14px;line-height:1.55}
body.pg_forumdisplay #threadlisttableid .by a{color:var(--mf-muted)!important}
body.pg_viewthread #postlist .pls .avatar img{border-radius:50%}
body.pg_viewthread #postlist .pcb{min-height:100px}
body.pg_viewthread #postlist .tag a,body.pg_viewthread #postlist .thread-tag a{color:var(--mf-green)!important}
@media(max-width:700px){.mfcn-page-heading-inner{display:block}.mfcn-page-heading-actions{justify-content:flex-start;margin-top:16px}.mfcn-page-heading-actions a{min-height:32px;padding:0 9px;font-size:11px}body.pg_forumdisplay #threadlisttableid .by,body.pg_forumdisplay #threadlisttableid .num{display:table-cell}body.pg_viewthread #postlist .pls,body.pg_viewthread #fastpostform .pls{display:table-cell;width:76px!important;min-width:76px!important;box-sizing:border-box;padding:8px!important;overflow:hidden}body.pg_viewthread #postlist .plc,body.pg_viewthread #fastpostform .plc{display:table-cell;width:auto!important;padding:10px!important}body.pg_viewthread #postlist .pls .avatar img{max-width:48px;height:auto}body.pg_viewthread #postlist .t_f{overflow-wrap:anywhere}}
@media(max-width:480px){body.pg_forumdisplay #threadlisttableid .by,body.pg_forumdisplay #threadlisttableid .num,body.pg_forumdisplay #threadlist .th .by,body.pg_forumdisplay #threadlist .th .num{display:none}body.pg_viewthread #postlist .pls,body.pg_viewthread #fastpostform .pls{width:58px!important;min-width:58px!important;padding:5px!important}body.pg_viewthread #postlist .pls .avatar img{max-width:38px}}

/* v1.3: forum list layout. Scoped to the page template, preserving thread and forum controls. */
body.pg_forumdisplay.mfcn-forum-page{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;background:var(--mf-bg)!important}
body.pg_forumdisplay.mfcn-forum-page #hd,body.pg_forumdisplay.mfcn-forum-page #nv,body.pg_forumdisplay.mfcn-forum-page #mu,body.pg_forumdisplay.mfcn-forum-page #scbar{display:none!important}
body.pg_forumdisplay.mfcn-forum-page #toptb{min-height:29px;background:#f0f1eb;border-bottom:1px solid var(--mf-line);font-size:11px}
body.pg_forumdisplay.mfcn-forum-page #toptb .wp{max-width:1370px;width:calc(100% - 40px);margin:auto}
body.pg_forumdisplay.mfcn-forum-page .mfcn-custom-header{position:relative;z-index:3}
body.pg_forumdisplay.mfcn-forum-page .mfcn-header-inner{max-width:1370px}
body.pg_forumdisplay.mfcn-forum-page .mfcn-custom-search{background:#f0efe9}
body.pg_forumdisplay.mfcn-forum-page #wp{max-width:1310px;width:calc(100% - 52px)!important;margin:0 auto!important;overflow:visible}
body.pg_forumdisplay.mfcn-forum-page #pt{font-size:12px;margin:0;padding:24px 0 12px;min-height:0}
body.pg_forumdisplay.mfcn-forum-page #pt .z{float:none}
body.pg_forumdisplay.mfcn-forum-page #pt a{color:var(--mf-muted)!important}
body.pg_forumdisplay.mfcn-forum-page #pt a:hover{color:var(--mf-green)!important}
body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading{margin:0 0 27px;min-height:180px;border-radius:18px;background:#123e35;box-shadow:0 18px 35px rgba(20,49,38,.08)}
body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading-inner{min-height:180px;box-sizing:border-box;padding:30px 42px}
body.pg_forumdisplay.mfcn-forum-page .mfcn-heading-copy{min-width:0;max-width:730px}
body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading h2{font-size:30px;letter-spacing:.2px;margin:11px 0 8px}
body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading p{font-size:13px;color:#d2e4d9;line-height:1.7}
.mfcn-heading-side{display:flex;align-items:flex-end;flex-direction:column;gap:16px;flex:none}
.mfcn-forum-stats{display:flex;gap:14px}.mfcn-forum-stats span{display:flex;align-items:flex-end;flex-direction:column;padding-left:17px;border-left:1px solid rgba(255,255,255,.25)}.mfcn-forum-stats strong{font-size:22px;line-height:1.2;color:#fff}.mfcn-forum-stats small{font-size:11px;color:#b6d2c1;margin-top:3px}
body.pg_forumdisplay.mfcn-forum-page .boardnav #ct.mfcn-has-sidebar{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin-left:0!important;width:100%!important;max-width:none!important;overflow:visible}
body.pg_forumdisplay.mfcn-forum-page .boardnav #ct:not(.mfcn-has-sidebar){display:block;margin-left:0!important}
body.pg_forumdisplay.mfcn-forum-page .boardnav #ct>#sd_bdl{float:none;position:static;margin:0!important;width:220px!important;height:auto;background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:13px;box-sizing:border-box;align-self:start;overflow:hidden}
body.pg_forumdisplay.mfcn-forum-page .boardnav #ct>.mn{float:none;width:auto!important;min-width:0;margin:0!important}
body.pg_forumdisplay.mfcn-forum-page #forumleftside{background:var(--mf-paper)}
body.pg_forumdisplay.mfcn-forum-page #forumleftside .bdl_h{background:var(--mf-paper);padding:17px 19px 12px;font-size:12px;letter-spacing:1px;color:var(--mf-green);border:0}
body.pg_forumdisplay.mfcn-forum-page #forumleftside dl{border-top:1px solid var(--mf-line);padding:8px 8px 10px;margin:0}
body.pg_forumdisplay.mfcn-forum-page #forumleftside dt{padding:10px 11px 7px;background:none;border:0}
body.pg_forumdisplay.mfcn-forum-page #forumleftside dt a{font-size:12px;font-weight:700;color:var(--mf-text)!important}
body.pg_forumdisplay.mfcn-forum-page #forumleftside dd{margin:1px 0}
body.pg_forumdisplay.mfcn-forum-page #forumleftside dd a{display:block;padding:7px 10px;font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pg_forumdisplay.mfcn-forum-page #forumleftside dd.bdl_a a{background:var(--mf-soft);color:var(--mf-green)!important;font-weight:700}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml{padding:0!important;background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:13px;margin-bottom:18px;box-shadow:none;overflow:hidden}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-height:0;padding:19px 22px 10px!important;background:var(--mf-paper)!important;border:0!important;box-sizing:border-box}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h h1{display:flex;align-items:center;gap:13px;flex-wrap:wrap;order:0;min-width:0;float:none;font-size:inherit;line-height:1.45}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h h1>a{font-size:20px!important;font-weight:700;letter-spacing:.2px;line-height:1.4}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h h1 .xs1{display:inline-flex;align-items:center;gap:3px;margin:0;padding:5px 9px;background:var(--mf-soft);border-radius:6px;font-size:11px;line-height:1.4;white-space:normal}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h .y{float:none;order:1;margin-left:auto;font-size:11px}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h .o{float:none;order:2;margin-left:0}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml>.bm_c{padding:0 22px 18px!important;line-height:1.85;font-size:12px;color:var(--mf-muted)}
body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml>.bm_c .ptn{padding-top:0!important}
body.pg_forumdisplay.mfcn-forum-page #pgt{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;margin:0 0 14px;padding:0;border:0;background:none}
body.pg_forumdisplay.mfcn-forum-page #pgt #fd_page_top{margin-right:auto}
body.pg_forumdisplay.mfcn-forum-page #pgt .pgb{float:none;margin:0}
body.pg_forumdisplay.mfcn-forum-page #pgt .pgb a{min-height:37px;line-height:37px;padding:0 13px;border-radius:8px}
body.pg_forumdisplay.mfcn-forum-page #pgt #newspecial{min-height:38px;line-height:38px;padding:0 17px;font-size:12px}
body.pg_forumdisplay.mfcn-forum-page #threadlist{border:1px solid var(--mf-line);border-radius:13px;background:var(--mf-paper);box-shadow:0 12px 30px rgba(22,44,28,.03);overflow:visible}
body.pg_forumdisplay.mfcn-forum-page #threadlist>.th{padding:0 20px!important;background:var(--mf-paper)!important;border-radius:13px 13px 0 0;border-bottom:1px solid var(--mf-line)!important}
body.pg_forumdisplay.mfcn-forum-page #threadlist>.th table{width:100%;table-layout:fixed}
body.pg_forumdisplay.mfcn-forum-page #threadlist>.th th{padding:14px 0!important}
body.pg_forumdisplay.mfcn-forum-page #threadlist .tf{display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-height:32px}
body.pg_forumdisplay.mfcn-forum-page #threadlist .tf a{font-size:12px;font-weight:600;padding:6px 9px;border-radius:7px;color:var(--mf-muted)!important}
body.pg_forumdisplay.mfcn-forum-page #threadlist .tf a:hover,body.pg_forumdisplay.mfcn-forum-page #threadlist .tf a.xi2{background:var(--mf-soft);color:var(--mf-green)!important}
body.pg_forumdisplay.mfcn-forum-page #threadlist .tf .atarget_1{float:none;order:9;font-size:11px;color:var(--mf-muted);margin-left:auto}
body.pg_forumdisplay.mfcn-forum-page #threadlist .th .by,body.pg_forumdisplay.mfcn-forum-page #threadlist .th .num{font-size:11px;text-align:left;color:var(--mf-muted)}
body.pg_forumdisplay.mfcn-forum-page #threadlist>.bm_c{padding:0 20px 7px!important}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid{table-layout:fixed;border-collapse:collapse;width:100%;background:var(--mf-paper)}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid>tbody>tr{background:var(--mf-paper)}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid>tbody>tr:hover{background:var(--mf-soft)}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>td,body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>th{border-top:1px solid var(--mf-line);border-bottom:0;padding-top:18px;padding-bottom:18px;vertical-align:middle;background:transparent}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>th{padding-left:8px;padding-right:16px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>th>a.xst{font-size:15px;font-weight:700;line-height:1.55;text-decoration:none}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>th>a.xst:not([style*="color"]):hover{color:var(--mf-green-dark)!important}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>.icn{width:32px;padding-right:0;text-align:center;color:var(--mf-green)}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>.by{width:104px;padding-right:9px;line-height:1.55}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>.num{width:70px;line-height:1.55;color:var(--mf-muted)}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid .by cite a{font-size:11px;color:var(--mf-text)!important}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid .by em,body.pg_forumdisplay.mfcn-forum-page #threadlisttableid .num em{font-size:10px;color:var(--mf-muted);font-style:normal}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid .num a{font-size:12px;font-weight:700;color:var(--mf-green)!important}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid .tbox{vertical-align:middle}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid #separatorline tr>*{padding:0;height:0;border:0}
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid .showcontent,body.pg_forumdisplay.mfcn-forum-page #threadlisttableid .tdpre{font-size:11px}
body.pg_forumdisplay.mfcn-forum-page #fastpostform{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:13px;margin-top:21px;padding:20px;box-sizing:border-box}
body.pg_forumdisplay.mfcn-forum-page #fastpostform textarea,body.pg_forumdisplay.mfcn-forum-page #fastpostform input[type=text]{background:var(--mf-paper);border:1px solid var(--mf-line);border-radius:8px;color:var(--mf-text)}
body.pg_forumdisplay.mfcn-forum-page #ft{max-width:1310px}
body.mfcn-dark.pg_forumdisplay.mfcn-forum-page #toptb{background:#18221d}
body.mfcn-dark.pg_forumdisplay.mfcn-forum-page .mfcn-custom-search{background:#253029}
body.mfcn-dark.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading{background:#214c3d}
@media(max-width:1120px){body.pg_forumdisplay.mfcn-forum-page .mfcn-custom-search{display:none}body.pg_forumdisplay.mfcn-forum-page .mfcn-header-actions{margin-left:auto}body.pg_forumdisplay.mfcn-forum-page .boardnav #ct.mfcn-has-sidebar{grid-template-columns:190px minmax(0,1fr);gap:17px}body.pg_forumdisplay.mfcn-forum-page .boardnav #ct>#sd_bdl{width:190px!important}}
@media(max-width:850px){body.pg_forumdisplay.mfcn-forum-page .boardnav #ct.mfcn-has-sidebar{display:block}body.pg_forumdisplay.mfcn-forum-page .boardnav #ct>#sd_bdl{display:none!important}body.pg_forumdisplay.mfcn-forum-page .boardnav #ct>.mn{width:100%!important}body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading-inner{padding:25px}body.pg_forumdisplay.mfcn-forum-page .mfcn-header-nav{gap:12px}body.pg_forumdisplay.mfcn-forum-page .mfcn-header-nav a{font-size:12px}}
@media(max-width:680px){body.pg_forumdisplay.mfcn-forum-page #wp{width:calc(100% - 28px)!important}body.pg_forumdisplay.mfcn-forum-page .mfcn-header-inner{padding:0 15px;min-height:64px}body.pg_forumdisplay.mfcn-forum-page .mfcn-header-nav{display:none}body.pg_forumdisplay.mfcn-forum-page .mfcn-brand strong{font-size:14px}body.pg_forumdisplay.mfcn-forum-page .mfcn-brand small{font-size:8px}body.pg_forumdisplay.mfcn-forum-page .mfcn-header-actions{margin-left:auto}body.pg_forumdisplay.mfcn-forum-page .mfcn-login-link{display:none}body.pg_forumdisplay.mfcn-forum-page .mfcn-header-primary{padding:9px 11px;font-size:11px}body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading{min-height:0;margin-bottom:18px}body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading-inner{display:block;min-height:0;padding:24px}body.pg_forumdisplay.mfcn-forum-page .mfcn-page-heading h2{font-size:23px}body.pg_forumdisplay.mfcn-forum-page .mfcn-heading-side{align-items:flex-start;margin-top:20px}body.pg_forumdisplay.mfcn-forum-page .mfcn-forum-stats span{align-items:flex-start}body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h{display:block;padding:16px!important}body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h h1{display:block}body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h h1 .xs1{display:flex;margin-top:8px;width:max-content;max-width:100%}body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml .bm_h .y{display:inline-block;margin-top:8px}body.pg_forumdisplay.mfcn-forum-page #ct .mn>.bml>.bm_c{padding:0 16px 16px!important}body.pg_forumdisplay.mfcn-forum-page #threadlist>.th{padding:0 12px!important}body.pg_forumdisplay.mfcn-forum-page #threadlist>.bm_c{padding:0 12px 5px!important}body.pg_forumdisplay.mfcn-forum-page #threadlist .th .by,body.pg_forumdisplay.mfcn-forum-page #threadlist .th .num,body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>.by,body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>.num{display:none}body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>th>a.xst{font-size:14px}body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>th{padding-right:2px}body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>.icn{width:27px}body.pg_forumdisplay.mfcn-forum-page #threadlist .tf .atarget_1{margin-left:0}body.pg_forumdisplay.mfcn-forum-page #pgt{margin-bottom:10px}body.pg_forumdisplay.mfcn-forum-page #fastpostform{padding:14px}}
body.pg_forumdisplay.mfcn-forum-page .mfcn-topline,body.pg_forumdisplay.mfcn-forum-page .mfcn-custom-header{width:100vw;left:50%;margin-left:-50vw;box-sizing:border-box}
body.pg_forumdisplay.mfcn-forum-page .mfcn-topline{position:relative}
body.pg_forumdisplay.mfcn-forum-page .mfcn-custom-header{position:relative;z-index:3}
@media(min-width:851px) and (max-width:1120px){body.pg_forumdisplay.mfcn-forum-page .boardnav #ct>#sd_bdl{display:block!important}}
body.pg_forumdisplay.mfcn-forum-page{min-width:0!important;width:100%!important}
body.pg_forumdisplay.mfcn-forum-page #append_parent{width:100%!important;min-width:0!important}




/* v1.5: preserve administrator-selected thread title colors. */
/* Keep normal titles green; retain Discuz administrator highlight colors from inline styles. */
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid tr>th>a.xst:not([style*="color"]){color:var(--mf-green)!important}
/* Shared phone navigation and overflow protection. */
@media(max-width:700px){
  body.pg_forumdisplay.mfcn-forum-page .mfcn-header-inner{flex-wrap:wrap;column-gap:10px;row-gap:0;min-height:0;padding-top:12px;padding-bottom:0}
  body.pg_forumdisplay.mfcn-forum-page .mfcn-header-nav{display:flex!important;order:3;flex:0 0 100%;height:auto;gap:20px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
  body.pg_forumdisplay.mfcn-forum-page .mfcn-header-nav::-webkit-scrollbar{display:none}
  body.pg_forumdisplay.mfcn-forum-page .mfcn-header-nav a{flex:none;height:42px;font-size:12px;line-height:42px}
  body.pg_forumdisplay.mfcn-forum-page .mfcn-header-actions{margin-left:auto}
  body.pg_forumdisplay.mfcn-forum-page #ct{min-width:0;max-width:100%;box-sizing:border-box}
}
