/* Shared list controls, including the bottom button whose ID changes on hover. */
/* Compact topic rows in every forum; preview content and separator rows keep their own layout. */
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid>tbody:is([id^="normalthread_"],[id^="stickthread_"])>tr:first-child>th,
body.pg_forumdisplay.mfcn-forum-page #threadlisttableid>tbody:is([id^="normalthread_"],[id^="stickthread_"])>tr:first-child>td{
  padding-top:9px!important;
  padding-bottom:9px!important;
  vertical-align:middle;
}
@media(max-width:680px){
  body.pg_forumdisplay.mfcn-forum-page #threadlisttableid>tbody:is([id^="normalthread_"],[id^="stickthread_"])>tr:first-child>th,
  body.pg_forumdisplay.mfcn-forum-page #threadlisttableid>tbody:is([id^="normalthread_"],[id^="stickthread_"])>tr:first-child>td{
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
}
body.pg_forumdisplay.mfcn-forum-page #toptb{min-width:0!important}body.pg_forumdisplay.mfcn-forum-page #toptb>.wp{box-sizing:border-box;width:calc(100% - 28px)!important;min-width:0!important;max-width:1370px;margin:0 auto}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:12px 0;padding:8px;border:1px solid var(--mf-line);border-radius:11px;background:var(--mf-paper);box-shadow:none}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs #fd_page_top,body.pg_forumdisplay.mfcn-forum-page #ct .pgs #fd_page_bottom{display:block;min-width:0;max-width:100%;margin:0 auto 0 0}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg{display:flex;align-items:center;flex-wrap:wrap;gap:6px;float:none;margin:0;line-height:1.5}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg a,body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg strong,body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgb a{box-sizing:border-box;display:inline-flex;float:none;align-items:center;justify-content:center;min-width:36px;height:36px;min-height:36px;margin:0;padding:0 11px;border:1px solid var(--mf-line);border-radius:7px;background:var(--mf-paper);color:var(--mf-muted)!important;font:12px/1.5 "Microsoft YaHei",sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg strong{border-color:#a5cbbb;background:var(--mf-soft);color:var(--mf-green)!important;font-weight:700}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg a:hover,body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgb a:hover{border-color:#a5cbbb;background:var(--mf-soft);color:var(--mf-green)!important}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg label{box-sizing:border-box;display:inline-flex;float:none;align-items:center;gap:6px;height:36px;margin:0;padding:0 9px;border:1px solid var(--mf-line);border-radius:7px;background:var(--mf-bg);overflow:visible;cursor:text;color:var(--mf-muted);font:12px/1.5 "Microsoft YaHei",sans-serif;white-space:nowrap}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg label .px{box-sizing:border-box;width:34px;min-width:0;height:26px;min-height:0;margin:0;padding:2px 4px;border:1px solid var(--mf-line);border-radius:4px;background:var(--mf-paper);box-shadow:none;color:var(--mf-green);font:12px/1.5 "Microsoft YaHei",sans-serif;text-align:center}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg label span{font:inherit;color:inherit}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgb{float:none;margin:0}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgsbtn{box-sizing:border-box;position:relative;display:inline-flex;float:none;align-items:center;justify-content:center;gap:9px;height:36px;min-height:36px;margin:0;padding:0 14px;border:1px solid var(--mf-green)!important;border-radius:7px;background:var(--mf-green)!important;color:#fff!important;font:600 12px/1.5 "Microsoft YaHei",sans-serif;letter-spacing:0;white-space:nowrap;text-decoration:none;box-shadow:none}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgsbtn:before{display:none!important}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgsbtn:after{content:'';position:static;display:block;flex:none;width:5px;height:5px;margin:-3px 0 0;padding:0;border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.8;background:none}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgsbtn:hover{background:var(--mf-green-dark)!important;border-color:var(--mf-green-dark)!important}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop{box-sizing:border-box;width:196px!important;min-width:196px;max-width:calc(100vw - 24px);margin-top:6px;padding:6px;border:1px solid var(--mf-line);border-radius:10px;background:var(--mf-paper);box-shadow:0 12px 30px #123e351c;z-index:1200!important}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li{box-sizing:border-box;position:relative;display:block;float:none;width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;background:none!important;list-style:none}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li:before,body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li:after{display:none!important;content:none!important}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li+li{margin-top:3px}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li>a{box-sizing:border-box;display:flex;float:none;align-items:center;gap:10px;width:100%;height:auto;min-height:40px;margin:0;padding:8px 10px;border:0;border-radius:6px;background:none;color:var(--mf-text)!important;font:12px/1.6 "Microsoft YaHei",sans-serif;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li>a:before{content:'＋';box-sizing:border-box;display:inline-flex;flex:none;align-items:center;justify-content:center;width:25px;height:25px;margin:0;border:0;border-radius:6px;background:var(--mf-soft);color:var(--mf-green);font:17px/1 Arial,sans-serif}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li.poll>a:before{content:'▥';background:#f6eedc;color:#987328;font-size:17px}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li.reward>a:before{content:'赏'}body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li.debate>a:before{content:'辩'}body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li.activity>a:before{content:'动'}body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li.trade>a:before{content:'购'}
body.pg_forumdisplay.mfcn-forum-page #newspecial_menu.p_pop>li>a:hover{background:var(--mf-soft);color:var(--mf-green)!important}
body.pg_forumdisplay.mfcn-forum-page #ct .pgs a:focus-visible,body.pg_forumdisplay.mfcn-forum-page #ct .pgs input:focus-visible,body.pg_forumdisplay.mfcn-forum-page #newspecial_menu a:focus-visible{outline:2px solid #8bb49f;outline-offset:2px}
@media(max-width:680px){body.pg_forumdisplay.mfcn-forum-page #ct .pgs{padding:8px;gap:8px}body.pg_forumdisplay.mfcn-forum-page #ct .pgs #fd_page_top,body.pg_forumdisplay.mfcn-forum-page #ct .pgs #fd_page_bottom{flex:0 0 100%;order:1;overflow:visible}body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg{min-width:0;flex-wrap:wrap;gap:5px}body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgb{order:2}body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pgsbtn{order:3;margin-left:auto}body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg a,body.pg_forumdisplay.mfcn-forum-page #ct .pgs .pg strong{min-width:32px;padding:0 8px}}
