/*
 快萌论坛 · 白色简约现代风 (White Minimalist)
 By DeepSeek Harness — 仅覆盖配色/样式，不改动结构与功能。
 本文件在每页 css_extstyle 中最后加载，覆盖 Discuz 默认蓝色底版。
 纯黑/白/灰中性色，去除装饰背景图与彩色点缀。
*/

/* ---------- 基础 ---------- */
html, body {
	background: #fff !important;
	color: #26282b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 14px; }

/* 通用链接：中性深灰，悬停下划线 */
a { color: #26282b; text-decoration: none; }
a:hover { color: #000; text-decoration: none; }
a, a:active, a:focus { outline: none; }
::selection { background: #e5e7eb; color: #000; }

/* Discuz 辅助色类：全部归入中性灰阶 */
.xi1, .xi2, .xw1, .xw0, .xst, .xxs2, .xg1, .xg2, .msg {
	color: #26282b !important;
}
.xg1 { color: #9aa0a6 !important; }
.xi2 a, a.xi2 { color: #26282b !important; }

/* ---------- 顶栏 ---------- */
#toptb {
	background: #f7f8fa;
	border-bottom: 1px solid #eceef1;
	color: #6b7280;
	line-height: 30px;
}
#toptb a { color: #6b7280; }
#toptb a:hover { color: #000; }
#toptb .pipe { color: #e5e7eb; }

/* ---------- 页头 ---------- */
#hd { background: #fff; border-bottom: 1px solid #eceef1; }
#hd .wp { padding-top: 12px; }
#hd h2 { padding-bottom: 10px; }
#hd .boardlogo { max-height: 44px; }
/* 顶部任何深色子菜单/线条兜底为浅灰 */
#mu { border-bottom: 1px solid #eceef1; background: #fff; }
#mu .popmenu, #mu ul { background: #fff; border: 1px solid #eceef1; }
#mu a { color: #6b7280; }
#mu a:hover { color: #000; }
#toptb a, #um a { border-bottom: 0; }

/* ---------- 顶部登录区 ---------- */
#um, #um a { color: #6b7280; }
#um a:hover { color: #000; }
#um .pipe { color: #e5e7eb; }
.fastlg .px, .fastlg .pns .px {
	background: #fff; border: 1px solid #d6d9de; border-radius: 6px;
	color: #26282b; height: 30px; line-height: 30px; padding: 0 10px;
}
.fastlg .px:focus { border-color: #b6bac2; }

/* ---------- 主导航栏 ---------- */
#nv {
	background: #fff !important;
	border-top: 1px solid #eceef1;
	border-bottom: 1px solid #eceef1;
	height: 44px;
	line-height: 44px;
	box-shadow: none;
}
#nv li {
	height: 44px; line-height: 44px;
	background: none !important;   /* 去掉默认蓝色分隔渐变 */
	font-weight: 500;
	font-size: 15px;
}
#nv li a { color: #26282b !important; height: 44px; padding: 0 20px; }
#nv li.a { background: #f3f4f6 !important; margin-left: 0; }
#nv li.a a { color: #000 !important; font-weight: 600; }
#nv li a:hover { background: #f3f4f6 !important; color: #000 !important; }
#nv li.hover a, #nv li.hover a:hover { background: #f3f4f6 !important; color: #000 !important; }
#nv li span { color: #9aa0a6; }

/* 快捷导航按钮 */
#qmenu {
	background: #fff !important;
	border: 1px solid #d6d9de !important;
	border-radius: 6px;
	color: #26282b !important;
	font-weight: 500;
}
#qmenu:hover { border-color: #b6bac2; }

/* 次级菜单 */
#mu ul { background: #fff; border-top: 1px solid #eceef1; }
#mu a { color: #6b7280; }
#mu a:hover { border-color: #e5e7eb; background: #f7f8fa; color: #000; }

/* ---------- 搜索栏 ---------- */
#scbar {
	background: #fff !important;
	border-top: 1px solid #eceef1;
	border-bottom: 1px solid #eceef1;
}
#scbar_txt {
	background: #fff !important;
	border: 1px solid #d6d9de !important;
	border-radius: 6px;
	color: #26282b !important;
	height: 32px; line-height: 32px;
}
#scbar_txt:focus { border-color: #b6bac2; }
#scbar_type { color: #6b7280; }
#scbar_btn {
	background: #111 !important;
	color: #fff !important;
	border-radius: 6px;
	width: 56px; height: 32px;
}
#scbar_btn:hover { background: #333 !important; }
#scbar_hot strong { color: #6b7280; }
#scbar_hot a { color: #26282b; }
#scbar_hot a:hover { color: #000; }

/* ---------- 页面容器 / 面包屑 ---------- */
#pt { color: #9aa0a6; }
#pt .z a, #pt .z em, #pt .z span { color: #9aa0a6; }
#pt .z a:hover { color: #000; }
#pt .z em { color: #c4c8cd; }

/* ---------- 卡片块（版块 / 帖子列表 / 侧栏）---------- */
.bm, .bn, .bmw {
	background: #fff !important;
	border: 1px solid #eceef1 !important;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.bm { margin-bottom: 14px; }
.bm_c { padding: 12px 14px; }

/* 卡片标题栏 */
.bm_h {
	background: #fafbfc !important;
	border-bottom: 1px solid #eceef1 !important;
	height: 40px; line-height: 40px;
	color: #26282b;
	border-radius: 10px 10px 0 0;
	padding: 0 14px;
}
.bm_h h2 a, .bm_h a { color: #26282b; }
.bm_h h2 a:hover { color: #000; }
.bmw .bm_h { background: #fafbfc !important; border-bottom: 1px solid #eceef1 !important; }
.bml .bm_h { background: transparent; }
.bmn { background: #f7f8fa; border: 1px solid #e5e7eb; }

/* 收起/展开图标 */
.tg_no:before, .tg_yes:before, .bm_h .o em { background: none; color: #b6bac2; }

/* ---------- 版块分类表格 ---------- */
.fl, .fl_tb { border-color: #eceef1; background: #fff; }
.fl .bm_h { background: #fafbfc !important; }
.fl_g .fl_icn_g svg path { fill: #d6d9de; }
.fl dl dt a { color: #26282b; font-weight: 600; }
.fl dl dt a:hover { color: #000; }
.fl dl dd, .fl dl dd em { color: #9aa0a6; }
.fl dl dd a { color: #6b7280; }
.fl dl dd a:hover { color: #000; }
.fl dl dd cite { color: #9aa0a6; }

/* ---------- Tab 标签 ---------- */
.tb { border-bottom-color: #eceef1; }
.tb a {
	border: 1px solid #e5e7eb;
	background: #f7f8fa;
	color: #6b7280;
	border-radius: 6px 6px 0 0;
}
.tb .a a, .tb .current a {
	background: #fff;
	border-bottom-color: #fff;
	color: #000;
	font-weight: 600;
}
.tb a:hover { color: #000; }
.tb .o, .tb .o a { background: #111; border-color: #111; color: #fff; border-radius: 6px; }
.tbmu { border-bottom: 1px solid #eceef1; }
.tbmu a { color: #6b7280; }
.tbmu a:hover { color: #000; }

/* ---------- 帖子列表 ---------- */
.tl { }
.tl th, .tl td {
	border-bottom: 1px solid #eceef1;
	color: #26282b;
}
.tl th { background: #fafbfc; color: #9aa0a6; font-weight: 500; }
.tl .xst { color: #26282b; font-weight: 500; }
.tl .xst:hover { color: #000; }
.tl .by cite, .tl .by em, .tl .by a { color: #6b7280; }
.tl .by a:hover { color: #000; }
.tl .num > a { color: #26282b; }
.tl .num > a:hover { color: #000; }
.tl .new, .tl .icon { color: #9aa0a6; }
.tl .common em { color: #6b7280; }
.tl .xg2, .tl .xg1 { color: #9aa0a6 !important; }
.tl .bg { background: #fafbfc; }

/* 列表图片插件（xinrui）内框 */
.xinruiPic span, .xinruiOneImg li span { border: 1px solid #eceef1; background: #fff; }

/* ---------- 按钮（通用）---------- */
.pn {
	background: #fff;
	border: 1px solid #d6d9de;
	border-radius: 6px;
	color: #26282b;
	height: 32px; line-height: 30px;
	padding: 0 14px;
	cursor: pointer;
}
.pn:hover { border-color: #b6bac2; background: #f7f8fa; }
.pn:hover em { color: #000; }
.pn em, .pn strong { color: #6b7280; }

.pnc {
	background: #111 !important;
	border: 1px solid #111 !important;
	color: #fff !important;
	border-radius: 6px;
}
.pnc:hover { background: #333 !important; border-color: #333 !important; }

.pgsbtn {
	background: #111 !important;
	color: #fff !important;
	border-radius: 6px;
	letter-spacing: 1px;
	transition: background .15s ease;
}
.pgsbtn:hover { background: #333 !important; }
.pgsbtn:active { box-shadow: none; }

/* 发表帖子 / 回复 类按钮 */
#newspecial, #post_reply, #newthread {
	background: #111;
	color: #fff;
	border: 1px solid #111;
	border-radius: 6px;
}

/* ---------- 分页 ---------- */
.pg a, .pg strong, .pg label, .pgb a {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #6b7280;
	border-radius: 6px;
}
.pg a:hover, .pgb a:hover { border-color: #b6bac2; color: #000; }
.pg strong { background: #111; border-color: #111; color: #fff; }
.pg strong:hover { color: #fff; }

/* ---------- 帖子内容页 ---------- */
.pl, .plhin { }
.pstl, .plc { border-color: #eceef1; }
#postlist .pls, .pls { color: #6b7280; background: #fff; }
.vwthd {
	border-bottom: 1px solid #eceef1;
}
.vwthd h1.ts { font-size: 20px; font-weight: 600; color: #111; }
#postlist .pls .authi, .authi a { color: #26282b; }
.pls .pi, .pls .pstl { border-color: #eceef1; }
.pct, .tpc, .pattl { color: #26282b; }
.tpc .pcb, .tpc .pcbs, .tpc .t_f { color: #26282b; }
.ttn, .ptt { color: #9aa0a6; }

/* 帖子正文链接 */
.t_f a, .tpc_content a { color: #26282b; border-bottom: 1px solid #b6bac2; }

/* 楼层边框 */
#postlist .pl, #postlist .plhin { border-bottom: 1px solid #eceef1; }
.pi, .pstl { border-color: #eceef1; }
.xl, .pls .xs1 { color: #9aa0a6; }

/* 引用 / 代码框 / 隐藏内容 */
.quote, .blockcode {
	background: #f7f8fa !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px;
	color: #26282b;
}
blockquote { border-left: 3px solid #d6d9de; color: #6b7280; }

/* 快速回复工具栏 */
.tedt { border: 1px solid #d6d9de; border-radius: 8px; background: #fff; }
.tedt .bar { background: #f7f8fa; border-bottom: 1px solid #e5e7eb; }

/* ---------- 侧栏 ---------- */
.sd .bm, .sd .bm_h { background: #fff !important; }
.ctrl .bm { }
.sd .xg1, .sd .xi1 { color: #9aa0a6; }
.sd .xst { color: #26282b; }

/* 签到卡片（插件 mod-check-in）*/
.mod-check-in .check-in-inner { background: #fff !important; border-radius: 12px; border: 1px solid #eceef1; }
.date-week .dates { color: #111; }
.date-week .week { color: #9aa0a6; }
.check-in-inner .num, .checked-num { color: #111; }

/* ---------- 弹出菜单 ---------- */
.p_pop, .p_pof, .sllt {
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 8px 24px rgba(16,24,40,.10);
	border-radius: 8px;
}
.p_pop a { color: #26282b; border-bottom: 1px solid #f3f4f6; }
.p_pop a:hover, .p_pop a.a, #sctype_menu .sca { background: #f3f4f6; color: #000; }
.downdiv, #qmenu_menu { border-color: #e5e7eb; }

/* ---------- 拉黑 / 提示类 ---------- */
.tbms { border: 1px dashed #d6d9de; }
.tbms_r:before, .tbms:before { color: #6b7280; }
.tbms_r:before { color: #6b7280; }
.clct_list .xld .m { background-image: none; }
.pll .s { background-image: none; }

/* ---------- 下拉 / 好友列表 ---------- */
#fjump_menu .sch { color: #6b7280; }

/* ---------- 广告位（去装饰）----------
.a_fl, .a_fr, .a_h { }
*/

/* ---------- 脚注 ---------- */
#ft {
	background: #fafbfc;
	border-top: 1px solid #eceef1;
	color: #9aa0a6;
	padding: 20px 0 40px;
}
#flk a, #frt a { color: #6b7280; }
#flk a:hover, #frt a:hover { color: #000; }
#ft .pipe { color: #e5e7eb; }

/* 返回顶部 */
#scrolltop { background: #fff; border: 1px solid #e5e7eb; }
#scrolltop a { color: #9aa0a6; border-top: 1px solid #eceef1; }
#scrolltop a:hover { color: #000; }

/* ---------- 在线会员 / 友情链接 ---------- */
#online .bm_h, .bm.oll .bm_h { background: #fafbfc !important; }
#online .pbw, .oll .bm_c { color: #6b7280; }
.lk h5, .lk p, .lk a { color: #6b7280; }
.lk .m li, .lk p a { color: #6b7280; }

/* ---------- 表单控件 ---------- */
input.px, .px, textarea.pt, .pt, select.ps, .ps {
	background: #fff; border: 1px solid #d6d9de; border-radius: 6px; color: #26282b;
}
input.px:focus, .px:focus, .pt:focus { border-color: #b6bac2; }
select.ps, .ps { background: #fff; }
.vm, .psw_w { color: #6b7280; }

/* 下拉菜单项 */
.sltm { background: #fff; border: 1px solid #e5e7eb; }
.sltm li:hover { background: #f3f4f6; color: #000; }
.sltm li.current { color: #000; background: #eceef1; }

/* ---------- 折叠区工具标题 ---------- */
.frame-title, .frametitle, .tab-title {
	background: #fff !important;
	color: #26282b !important;
	border-bottom: 1px solid #eceef1;
}
.frame-title .titletext, .blocktitle .titletext { color: #26282b; font-weight: 600; }
.block, .xbs_1 { border: 0; }

/* ---------- DIY 区块 ---------- */
.xfs .frame-title, .xfs .frametitle, .xfs .tab-title { background: transparent; }
.xbs_1 .title { background: none; border-bottom-color: #eceef1; }
.xbs_1 .title, .xbs_1 .title a { color: #26282b !important; }

/* ---------- 兼容旧语法 ---------- */
.bkg_tl li { border-color: #eceef1; }
.bkg_tl .avg { background: #fff; }
.bkg_tl .now { background: #f7f8fa; }

/* ============================================================
   快萌论坛 · 细节页面现代化皮肤（帖子详情 / 登录 / 版块筛选）
   现代简约白灰，但保留结构 + 卡片 + 圆角阴影，不做"裸白"
   ============================================================ */

/* ---------- 版块顶部分类筛选条 (.tf) ---------- */
#threadlist .th { background: #fafbfc; border-bottom: 1px solid #eceef1; }
#threadlist .th .tf { padding: 10px 14px; font-size: 13px; }
#threadlist .th .tf a { color: #6b7280; padding: 5px 13px; border-radius: 8px; }
#threadlist .th .tf a:hover { color: #111; background: #eceef1; }
#threadlist .th .tf a.xw1, #threadlist .th .tf .showmenu[class*="xw1"] { color: #111; background: #eceef1; font-weight: 600; }
#threadlist .tf .xi2 { margin-right: 3px; }
#threadlist .tf .showmenu.xi2 { color: #6b7280; }
#threadlist .tf .showmenu.xi2:hover { color: #111; }
/* 筛选下拉 */
#filter_special_menu, #filter_dateline_menu { border-radius: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.12); border: 1px solid #eceef1; }
#filter_special_menu a, #filter_dateline_menu a { color: #26282b; }
#filter_special_menu a:hover, #filter_dateline_menu a:hover { background: #f3f4f6; color: #000; }

/* ============================================================
   帖子详情页（viewthread）
   ============================================================ */
/* 标题区 */
.vwthd { padding: 14px 18px; background: #fff; border: 1px solid #eceef1; border-radius: 12px 12px 0 0; border-bottom: 0; }
.vwthd h1.ts { font-size: 19px; font-weight: 800; line-height: 1.45; color: #1b1d22; }
.vwthd h1.ts a { color: #9aa1ac; font-weight: 600; }
.vwthd h1.ts a:hover { color: #111; }
.vwthd .xg1 a { color: #9aa1ac; }
.vwthd .xg1 a:hover { color: #111; }

/* 侧栏（发帖人）卡片 */
.pls { background: #fafbfc; border-right: 1px solid #eceef1; text-align: center; }
.pls .pi { padding: 16px 10px 6px; }
.pls .pi .authi a { font-size: 14px; font-weight: 700; color: #1b1d22; }
.pls .pls_con { padding: 0 8px; }
.pls .pls_con .xw1, .pls .pls_con strong { color: #26282b; }
.pls .xs0, .pls .mtw { color: #9aa1ac; }
.pls .p_pop { border-radius: 12px; box-shadow: 0 10px 30px rgba(16,24,40,.12); border: 1px solid #eceef1; }
.pls .avatar img { border-radius: 10px; box-shadow: 0 2px 10px rgba(16,24,40,.08); }

/* 帖子主体卡片 */
.pct { background: #fff; border-radius: 0 12px 12px 0; }
.t_fsz { padding: 14px 20px; }
.t_f { font-size: 16px; line-height: 1.8; color: #26282b; }
.t_f img { border-radius: 6px; }
/* 帖子底部（引用/回复/评分等） */
.plc .po, .pct .sign { background: #fafbfc; border-top: 1px solid #eceef1; padding: 8px 16px; }
.plc .po .by, .plc .po .pfz { color: #9aa1ac; }
/* 楼层分隔 */
#postlist > div { }
.plhin { border-bottom: 1px solid #eceef1; }

/* 引用块 */
.t_f .quote, .t_f blockquote {
	background: #f7f8fa; border: 1px solid #eceef1; border-left: 3px solid #d6d9de;
	border-radius: 8px; padding: 10px 14px; color: #6b7280; margin: 10px 0;
}
/* 代码块 */
.t_f .code { background: #1b1d22; color: #e5e7eb; border-radius: 8px; padding: 12px 14px; }
.t_f .code code { color: #e5e7eb; }
.t_f .code > div > div { border-color: #3a3e46 !important; }
.t_f .code > div > div a { color: #9aa1ac; }
/* 附件提示 */
.t_f .attach_tips { background: #f7f8fa; border: 1px solid #eceef1; border-radius: 8px; padding: 12px; color: #6b7280; }
.t_f .attach_tips h3 { color: #26282b; }
.t_f .attach_tips .atips_close { color: #9aa1ac; }

/* ---------- 回复编辑 / 快速回复框 ---------- */
#postbox, .fastpost { background: #fff; border: 1px solid #eceef1; border-radius: 12px; }
#postbox .tb, .fastpost .tb { }
.editor, .tedt { border: 1px solid #d6d9de; border-radius: 8px; background: #fff; }
.editor .area, .tedt .area { background: #fff; }
.editor .px, .tedt textarea, .tarea { background: #fff; border: 0; color: #26282b; }

/* ============================================================
   登录 / 注册 页
   ============================================================ */
#ct .bm, #ct .altw { border-radius: 14px; box-shadow: 0 8px 30px rgba(16,24,40,.08); }
#ct .bm_h.bbs, #ct .bm_h { background: #fff; border-bottom: 1px solid #eceef1; border-radius: 14px 14px 0 0; }
#ct .bm_h.bbs h3, #ct .bm_h h3 { color: #1b1d22; font-weight: 800; }
/* 表单字段 */
.rfm { border-top: 1px solid #f3f4f6; }
.rfm th { color: #6b7280; font-size: 13px; }
.rfm .px, .rfm .p_fre, .rfm .px.p_fre {
	background: #fff; border: 1px solid #d6d9de; border-radius: 8px;
	color: #26282b; height: 34px; line-height: 34px; padding: 0 12px; transition: border .15s, box-shadow .15s;
}
.rfm .px:focus, .rfm .px.p_fre:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,18,22,.08); outline: none; }
.rfm .login_slct select, .rfm select { background: #fff; border: 1px solid #d6d9de; border-radius: 8px; height: 34px; color: #26282b; padding: 0 8px; }
.rfm dd.tipcol a, .rfm .tipcol a { color: #6b7280; }
.rfm dd.tipcol a:hover, .rfm .tipcol a:hover { color: #111; }
/* 登录按钮 */
#ct .pn, #ct .pn.pnc { height: 38px; line-height: 36px; padding: 0 22px; border-radius: 8px; }
.rfm .pn.pnc { background: #111 !important; border-color: #111 !important; color: #fff !important; font-weight: 600; letter-spacing: 1px; }
.rfm .pn.pnc:hover { background: #333 !important; border-color: #333 !important; }
/* 注册/第三方登录链接 */
#ct .xi2 { color: #26282b; }
#ct .xi2:hover { color: #000; }
#ct .mtw, #ct .mtw a, #ct .xg1 { color: #9aa1ac; }

/* ---------- 通用输入框（搜索等）---------- */
.px, .p_fre, .tarea, .ptxt, .edt { background: #fff; border: 1px solid #d6d9de; border-radius: 8px; color: #26282b; }
.px:focus, .p_fre:focus, .tarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,18,22,.08); outline: none; }

/* ---------- 帖子页侧栏小工具（作者信息下）---------- */
.plc .pbm, .plc .pbn { border-top: 1px solid #eceef1; }
.plc .psign, .plc .sign { color: #6b7280; font-size: 12px; }
.plc .xi1, .plc .xi2 { color: #6b7280; }

/* ---------- 楼层导航 / 顶楼 / 倒序排 ---------- */
.plc .pui { background: #fafbfc; border-top: 1px solid #eceef1; padding: 8px 16px; }
.plc .pui a { color: #6b7280; }
.plc .pui a:hover { color: #111; }
.plc .pfz { color: #9aa1ac; }
.plc .pfz a { color: #6b7280; }

/* ============================================================
   帖子内 图片画廊附件
   ============================================================ */
.attachlist, .pattl { border: 1px solid #eceef1; border-radius: 8px; }
.t_f .zoom { border-radius: 6px; }

/* ============================================================
   版块内 主题分类筛选条 (#thread_types .ttp)
   Discuz 默认是蓝底黑框，这里改成现代圆角 pill 标签
   ============================================================ */
#thread_types.ttp {
	margin: 0 12px 14px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #eceef1;
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
#thread_types.ttp li { margin: 0; padding: 0; }
#thread_types.ttp li a, #thread_types.ttp li.ttp_all a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid #e7e9ee;
	background: #f7f8fa;
	border-radius: 18px;
	font-size: 13px;
	font-weight: 500;
	color: #4b5563;
	transition: all .15s ease;
	white-space: nowrap;
}
#thread_types.ttp li a:hover {
	color: #111;
	border-color: #d6d9de;
	background: #eceef1;
}
#thread_types.ttp li a .num {
	margin-left: 2px;
	padding: 1px 8px;
	background: #e3e6ea;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	color: #6b7280;
	transition: all .15s ease;
}
#thread_types.ttp li a:hover .num { background: #d6d9de; color: #111; }
/* 当前选中（全部 / 已激活分类） */
#thread_types.ttp li.a a, #thread_types.ttp li.ttp_all.a a,
#thread_types.ttp li.current a {
	background: #111;
	border-color: #111;
	color: #fff;
	font-weight: 600;
}
#thread_types.ttp li.a a .num, #thread_types.ttp li.current a .num {
	background: rgba(255,255,255,.22);
	color: #fff;
}
#thread_types.ttp li.a a:hover, #thread_types.ttp li.current a:hover { background: #333; border-color: #333; }
/* 收起/展开按钮 */
#thread_types.ttp li.ttp_menubtn, #thread_types.ttp .ttp_menubtn { padding: 6px 0 6px 6px; }
#thread_types.ttp li.ttp_menubtn a, #thread_types.ttp .ttp_menubtn a { background: transparent; border-color: transparent; color: #6b7280; }
#thread_types.ttp li.ttp_menubtn a:hover { background: #f3f4f6; color: #111; }

/* 移动端收起 */
@media (max-width: 700px) {
	#thread_types.ttp { gap: 6px; padding: 10px; }
	#thread_types.ttp li a { padding: 5px 10px; font-size: 12px; }
}

/* ============================================================
   个人中心 / 设置（spacecp）—— 含积分页
   结构：左侧导航 + 右侧 .bm 内容卡；用 Discuz spacecp 标准类
   ============================================================ */
.ct2_a { background: #fff; border: 1px solid #eceef1; border-radius: 12px; overflow: hidden; }
#ct .sd, .sd { background: #fff; border: 1px solid #eceef1; border-radius: 12px; padding: 14px; }
#ct .mn, .mn { background: transparent; }
/* spacecp 内容卡 */
#ct .bm, #ct .bm.bw0 { border-radius: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.04); padding: 0 18px 18px; }
#ct .bm h1.mt { font-size: 18px; font-weight: 800; color: #1b1d22; margin: 16px 0 10px; }
#ct .bm_h, #ct .bm_h.bbs {
	background: #fff; border-bottom: 1px solid #eceef1; border-radius: 12px 12px 0 0;
	padding: 13px 18px;
}
#ct .bm_h h2, #ct .bm_h h3 { font-size: 16px; font-weight: 800; color: #1b1d22; margin: 0; }
#ct .bm_c, #ct .bm.bm_c { padding: 18px; }

/* ---------- spacecp tab 栏（我的积分/充值/转账...）---------- */
#ct .tb, .tb.bw0, ul.tb.cl { border-bottom: 1px solid #eceef1; margin-bottom: 14px; }
#ct ul.tb li, ul.tb li { float: left; margin-right: 22px; }
#ct ul.tb li a, ul.tb li a {
	display: inline-block; padding: 9px 4px; color: #6b7280; font-size: 14px; font-weight: 500;
	border-bottom: 2px solid transparent; transition: all .15s;
}
#ct ul.tb li a:hover, ul.tb li a:hover { color: #111; }
#ct ul.tb li.a a, ul.tb li.a a { color: #111; border-bottom-color: #111; font-weight: 700; }

/* ---------- 积分汇总条 .creditl ---------- */
.creditl {
	background: #f7f8fa; border: 1px solid #eceef1; border-radius: 12px;
	padding: 4px 18px; margin: 0 0 16px !important; list-style: none; overflow: hidden;
}
.creditl li {
	float: left; margin: 0 26px 0 0 !important; line-height: 34px; font-size: 14px; color: #26282b;
}
.creditl li em { color: #9aa1ac; font-style: normal; margin-right: 6px; }
.creditl li strong { color: #1b1d22; font-weight: 800; font-size: 15px; }
.creditl li.xg1, .creditl li.xg1 span { color: #6b7280; }
.creditl li .xi2 { color: #111; font-weight: 600; }
.creditl li .xi2:hover { color: #000; text-decoration: underline; }

/* ---------- 明细表格 .dt ---------- */
#ct .dt, .dt { width: 100%; border-collapse: collapse; margin-top: 10px; }
#ct .dt caption, .dt caption { text-align: left; padding-bottom: 8px; }
#ct .dt caption h2, .dt caption h2 { font-size: 15px; font-weight: 800; color: #1b1d22; margin: 0; }
#ct .dt caption h2 .xi2, .dt caption h2 .xi2 { float: right; font-size: 12px; color: #9aa1ac; font-weight: 400; }
#ct .dt caption h2 .xi2:hover, .dt caption h2 .xi2:hover { color: #111; }
#ct .dt th, .dt th {
	background: #fafbfc; color: #9aa1ac; font-weight: 500; text-align: left;
	padding: 10px 14px; border-bottom: 1px solid #eceef1;
}
#ct .dt td, .dt td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; color: #26282b; font-size: 13px; }
#ct .dt tr:last-child td, .dt tr:last-child td { border-bottom: 0; }
#ct .dt tr:hover td, .dt tr:hover td { background: #fafbfc; }
#ct .dt td.emp, .dt .emp { color: #9aa1ac; text-align: center; padding: 22px; }
#ct .dt td a, .dt td a { color: #111; }
#ct .dt td a:hover, .dt td a:hover { text-decoration: underline; }

/* 空间主页/日志等通用正文 */
#ct .xg2, #ct .xg1 { color: #9aa1ac; }
#ct .xw1 { font-weight: 600; color: #1b1d22; }
#ct a { color: #26282b; }
#ct a:hover { color: #000; }
#ct .mtw, .mtw { margin: 0; }
#ct .tbmu, .tbmu { border-bottom: 1px solid #eceef1; }
#ct .tbmu a, .tbmu a { color: #6b7280; }

/* ---------- 左侧菜单栏 .appl .tbn ---------- */
.appl .tbn { background: #fafbfc; border-right: 1px solid #eceef1; padding: 16px 0; }
.appl .tbn h2 { font-size: 13px; font-weight: 800; color: #9aa1ac; letter-spacing: 1px; padding: 0 22px 8px; border-bottom: 1px solid #eceef1; text-transform: uppercase; }
.appl .tbn li { list-style: none; }
.appl .tbn li a {
	display: block; padding: 9px 22px; color: #6b7280; font-size: 14px; margin: 0;
	border-left: 2px solid transparent; transition: all .12s;
}
.appl .tbn li a:hover { color: #111; background: #f3f4f6; }
.appl .tbn li.a a, .appl .tbn li.a > a {
	color: #111; font-weight: 700; background: #fff; border-left-color: #111;
}

/* ============================================================
   发帖页（forum.php?mod=post）—— 基于登录后真实 DOM
   结构: .bm.bw0.cl > .tb.cl.mbw(发帖tab) + .pbt.cl(标题/分类) + .edt(编辑器)
   ============================================================ */
#f_pst, .postbox, #postbox, .pg_post .bm { background: #fff; }
/* 发帖 tab（发表帖子/发起投票...） */
.pg_post .tb.cl.mbw { border-bottom: 1px solid #eceef1; padding: 0 18px; }
.pg_post .tb.cl.mbw li { float: left; margin: 0 22px 0 0; }
.pg_post .tb.cl.mbw li a {
	display: inline-block; padding: 11px 2px; color: #6b7280; font-size: 14px; font-weight: 500;
	border-bottom: 2px solid transparent; transition: all .15s;
}
.pg_post .tb.cl.mbw li a:hover { color: #111; }
.pg_post .tb.cl.mbw li.a a { color: #111; border-bottom-color: #111; font-weight: 700; }
/* 标题 + 分类输入区 */
.pg_post .pbt { padding: 14px 18px; border-bottom: 1px solid #f3f4f6; }
.pg_post .pbt .ftid { margin-right: 10px; }
.pg_post .pbt .ftid select, .pg_post .pbt .pt {
	background: #fff; border: 1px solid #d6d9de; border-radius: 8px; height: 36px; padding: 0 10px;
	color: #26282b; font-size: 13px; cursor: pointer;
}
.pg_post .pbt #subject, .pg_post .pbt input#subject {
	background: #fff; border: 1px solid #d6d9de; border-radius: 8px;
	height: 36px !important; line-height: 34px; padding: 0 12px; font-size: 15px; font-weight: 600;
	color: #1b1d22; box-sizing: border-box;
	width: auto !important; flex: 1;
}
.pg_post .pbt #subject:focus, .pg_post .pbt input#subject:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,18,22,.08); outline: none; }
.pg_post .pbt .pbt_ftid { display: flex; align-items: center; gap: 10px; }
.pg_post .pbt #subjectchk { color: #9aa1ac; font-size: 12px; }
/* 编辑器主体 */
.pg_post .edt, .pg_post .tedt, #postbox .tedt, .pg_post .edt {
	border: 1px solid #d6d9de; border-radius: 12px; background: #fff; box-shadow: none;
	margin: 0 18px 14px;
}
/* 工具栏 .bar —— 去掉 Discuz 默认深色分隔线 */
.pg_post .edt .bar, .pg_post .edt .bar.cl {
	background: #fafbfc; border-bottom: 1px solid #eceef1; padding: 6px 10px; height: auto !important; display: flow-root;
}
.pg_post .edt .bar .btn, .pg_post .edt .bar a, .pg_post .edt .bar .b2r a, .pg_post .edt .bar .b1r a {
	color: #4b5563; border: 0; border-radius: 6px; padding: 4px 7px; font-size: 12px; line-height: 1;
}
.pg_post .edt .bar .btn a:hover, .pg_post .edt .bar a:hover, .pg_post .edt .bar .b2r a:hover, .pg_post .edt .bar .b1r a:hover {
	background: #eceef1; color: #111;
}
.pg_post .edt .bar a.a, .pg_post .edt .bar .b2r a.a { background: #eceef1; color: #111; }
.pg_post .edt .bar .bar_swch, .pg_post .edt .bar label { color: #6b7280; }
.pg_post .edt .area { background: #fff; }
.pg_post .edt .area textarea, .pg_post .tedt .area textarea, .pg_post .edt #e_textarea {
	background: #fff; color: #26282b; font-size: 15px; line-height: 1.8; border: 0; padding: 14px 16px;
}
/* 底部按钮区 .bbar */
.pg_post .bbar, .pg_post .pgs { background: #fafbfc; border-top: 1px solid #eceef1; padding: 12px 18px; }
.pg_post .bbar .pn, .pg_post .pgs .pn { border-radius: 8px; height: 36px; line-height: 34px; padding: 0 22px; }
.pg_post .bbar .pn.pnc, .pg_post .pgs .pn.pnc { background: #111 !important; border-color: #111 !important; color: #fff !important; font-weight: 600; }
.pg_post .bbar .pn.pnc:hover, .pg_post .pgs .pn.pnc:hover { background: #333 !important; border-color: #333 !important; }
/* 分类条（发帖时主题分类/附件提示）*/
.pg_post .tbms, .pg_post .posttype, .pg_post .typeoption {
	background: #fafbfc; border: 1px solid #eceef1; border-radius: 8px; padding: 10px 14px; margin: 0 18px 12px;
}
.pg_post .tbms .xi2 { color: #6b7280; }
.pg_post .tbms .xi2:hover { color: #111; }

/* ============ Discuz 图标字体 dzicon（.fico-* 小图标）============
   Discuz 默认模板把以下定义放在 template/default/common/common.css；
   km_modern 模板未引入该文件，导致 .fico-* 图标（收藏/订阅/分享/搜索/点赞等）不显示。
   @font-face 已放在 forum/discuz.htm 内联 <style>（url 用绝对路径，避免 Discuz 缓存重写加 /tmp/）。
   这里补上全部 .fico-* 图标码，保证图标正常。 */
[class^="fico-"]:before, [class*=" fico-"]:before {
	font-family: "dzicon"; font-style: normal; font-weight: normal; speak: none;
	display: inline-block; text-decoration: inherit; width: 1em; margin-right: .2em;
	text-align: center; font-variant: normal; text-transform: none; line-height: 1em; font-size: 120%;
}
.fic4 { font-size: 14px; } .fic6 { font-size: 16px; } .fic8 { font-size: 18px; }

.fico-person:before{content:"\f100";}
.fico-search:before{content:"\f101";}
.fico-account_box:before{content:"\f102";}
.fico-account:before{content:"\f102";}
.fico-home:before{content:"\f103";}
.fico-assessment:before{content:"\f104";}
.fico-widthfixed:before{content:"\f105";}
.fico-widthauto:before{content:"\f106";}
.fico-styleselect:before{content:"\f107";}
.fico-add_circle:before{content:"\f108";}
.fico-add:before{content:"\f108";}
.fico-remove_circle:before{content:"\f109";}
.fico-remove:before{content:"\f109";}
.fico-rss_feed:before{content:"\f10a";}
.fico-rss:before{content:"\f10a";}
.fico-refresh:before{content:"\f10b";}
.fico-delete:before{content:"\f10c";}
.fico-comment:before{content:"\f10d";}
.fico-edit:before{content:"\f10e";}
.fico-push:before{content:"\f10f";}
.fico-thumbup:before{content:"\f110";}
.fico-thumbdown:before{content:"\f111";}
.fico-collection:before{content:"\f112";}
.fico-activitysm:before{content:"\f113";}
.fico-share:before{content:"\f114";}
.fico-check_right:before{content:"\f115";}
.fico-error:before{content:"\f116";}
.fico-info:before{content:"\f117";}
.fico-qq:before{content:"\f118";}
.fico-email:before{content:"\f119";}
.fico-task:before{content:"\f11a";}
.fico-scrolltop:before{content:"\f11b";}
.fico-replyfast:before{content:"\f11c";}
.fico-list:before{content:"\f11d";}
.fico-follow:before{content:"\f11e";}
.fico-friendadd:before{content:"\f11f";}
.fico-mypost:before{content:"\f120";}
.fico-interactive:before{content:"\f121";}
.fico-settings:before{content:"\f122";}
.fico-link:before{content:"\f123";}
.fico-up:before{content:"\f124";}
.fico-down:before{content:"\f125";}
.fico-left:before{content:"\f126";}
.fico-right:before{content:"\f127";}
.fico-valid:before{content:"\f128";}
.fico-invalid:before{content:"\f129";}
.fico-stars:before{content:"\f12a";}
.fico-sun:before{content:"\f12b";}
.fico-star3:before{content:"\f12b";}
.fico-moon:before{content:"\f12c";}
.fico-star2:before{content:"\f12c";}
.fico-star:before{content:"\f12d";}
.fico-star1:before{content:"\f12d";}
.fico-checkbox:before{content:"\f12e";}
.fico-checked:before{content:"\f12f";}
.fico-doing:before{content:"\f130";}
.fico-volume:before{content:"\f131";}
.fico-image:before{content:"\f132";}
.fico-attachment:before{content:"\f133";}
.fico-thread:before{content:"\f134";}
.fico-clock:before{content:"\f135";}
.fico-lock:before{content:"\f136";}
.fico-print:before{content:"\f137";}
.fico-help:before{content:"\f138";}
.fico-launch:before{content:"\f139";}
.fico-imgadjust:before{content:"\f13a";}
.fico-vote:before{content:"\f13b";}
.fico-reward:before{content:"\f13c";}
.fico-vs:before{content:"\f13d";}
.fico-group:before{content:"\f13e";}
.fico-cart:before{content:"\f13f";}
.fico-headset:before{content:"\f140";}
.fico-phone:before{content:"\f141";}
.fico-place:before{content:"\f142";}
.fico-camera:before{content:"\f143";}
.fico-voice:before{content:"\f144";}
.fico-bell:before{content:"\f145";}
.fico-loading:before{content:"\f146";}
.fico-poke:before{content:'\f146';}
.fico-profile:before{content:'\f147';}
.fico-dropdown:before{content:'\f148';}
.fico-ban:before{content:'\f149';}
.fico-tag:before{content:'\f14a';}

/* ============ Discuz 版块/帖子按钮图标（.fa_*，dzicon 字体）============
   Discuz 把以下定义放在 template/default/common/module.css，km_modern 模板未引入该文件，
   导致版块页"收藏本版/订阅/发帖/签到/回收站/邀请"等按钮图标不显示。
   这里补上（复用上面已注册的 dzicon 字体与图标码）。 */
.fa_fav_0:before, .fa_fav:before, .fa_rss:before, .fa_achv:before, .fa_bin:before, .fa_ivt:before {
	font-family: "dzicon"; display: inline-block; line-height: 14px; width: 16px; margin-left: 4px; transform: scale(1.5);
}
.fa_fav_0:before { content: "\f12d"; color: #BBB; }
.fa_fav:before { content: "\f12d"; color: #FF9C00; }
.fa_rss:before { content: "\f10a"; color: #FF9C00; }
.fa_achv:before { content: "\f135"; }
.fa_bin:before { content: "\f10c"; color: #AAA; }
.fa_ivt:before { content: "\f11f"; color: #2B7ACD; }
.fa_fav_0:hover, .fa_fav:hover, .fa_rss:hover, .fa_achv:hover, .fa_bin:hover, .fa_ivt:hover { text-decoration: none; }

/* ============ Discuz 编辑器工具栏（发帖页）============
   Discuz 把编辑器按钮的精灵图定位放在 template/default/common/editor.css，
   用 https://ceshi2.kmlt.cc/static/image/editor/editor.gif + #e_xxx{background-position} 定位各工具图标。
   km_modern 模板未引入该文件，导致发帖页编辑器工具栏图标错乱（每个按钮显示整张精灵图/错位）。
   这里补上 editor.css 全文（保留 Discuz 变量 https://ceshi2.kmlt.cc/static//https://ceshi2.kmlt.cc/static/image/common/#fafbfc/#ffffff 等，Discuz 合并时替换）。 */
.edt { border: 1px solid; border-color: #999 #CCC #CCC #999; }
	.edt .bar { padding: 4px; height: 44px; border-bottom: 1px solid #DDD; background: #fafbfc; }
		.edt .cst { background: #fafbfc; border-bottom: 1px solid #DDD; }
		.edt .cst.nbb { border-bottom: none !important; }
		.edt .bbar { height: 20px; border-top: 1px solid #DDD; text-align: right; background: #fafbfc; }
			.edt .bbar img { vertical-align: bottom; *margin-right: -4px; cursor: row-resize; }
			.edt .bbar em { width: 200px; height: 20px; overflow: hidden; white-space: nowrap; float: left; text-align: left; }
		.edt .bbar, .edt .bbar a { color: #999; }
		.edt .btn { float: left; border-right: 1px solid #FEFEFE; }
			.edt .b1r, .edt .b2r { position: relative; float: left; padding: 0 3px; height: 44px; border-right: 1px solid #DDD; border-left: 1px solid #FEFEFE; }
			.edt .b2r p, .edt .b2r br { clear: both; }
		.edt .esb p { float: left; width: 25px; clear: none; }
		.edt .esbs p { float: left; clear: none; }
		.edt .bar a { float: left; border: 1px solid #fafbfc; background: transparent url(https://ceshi2.kmlt.cc/static/image/editor/editor.gif) no-repeat 0 0; overflow: hidden; }
			.edt .b1r a { padding-top: 27px; width: 35px; height: 15px; text-align: center; font-size: 11px; font-family: Arial, PMingLiU, sans-serif; -webkit-text-size-adjust: none; }
			.edt .b2r a { width: 20px; height: 20px; text-indent: -9999px; }
				.edt .b2r a.dp { margin-right: 1px; padding-left: 2px; width: 78px; height: 20px; text-indent: 0; border-color: #c6c9cd #eceef1 #eceef1 #c6c9cd; background: #FFF url(https://ceshi2.kmlt.cc/static/image/common/newarow.gif) no-repeat 100% 0; }
				.edt .b2r a:hover.dp { border-color: #09C; background-position: 100% -23px; }
			.edt .nbl { border-left: none; padding-left: 0; }
				.edt .nbr { border-right: none; padding-right: 0; }
			.edt .bar a:hover, .edt .bar a.hover { border-color: #09C; background-color: #ffffff; text-decoration: none; }
				.edt .bar a.tblbtn_disabled:hover, .edt .bar a.hd_dsb:hover { border-color: #fafbfc !important; background-color: transparent !important; cursor: default; }
	.edt .area { padding: 4px; background: #ffffff; zoom: 1; }
		.edt .pt { padding: 0 !important; width: 100%; height: 400px; border: none; background: #ffffff none; font-size: 14px; }
			.edt .pt:focus { outline: none; -moz-box-shadow: none; }

	.edt a.cst { background-image: none; text-align: center; text-indent: 0; }
		.edt a.cst img { vertical-align: middle; }

	.simpleedt .bar, .simpleedt .b1r, .simpleedt .b2r { height: 22px; }
	.bar_swch { display: block; clear: both; }

	#e_bold			{ background-position: 0 0; }
	#e_fontsize		{ width: 45px; }
	#e_italic		{ background-position: -20px 0; }
	#e_underline		{ background-position: -40px 0; }
	#e_forecolor		{ background-position: -60px 0; }
	#e_backcolor		{ background-position: -80px 0; }
	#e_url			{ background-position: -40px -20px; }
	#e_unlink		{ background-position: -60px -20px; }
	#e_justifyleft		{ background-position: -80px -20px; }
	#e_justifycenter	{ background-position: -240px -40px; }
	#e_justifyright		{ background-position: -260px -40px; }
	#e_autotypeset		{ background-position: -220px -40px; }
	#e_floatleft		{ background-position: -100px -60px; }
	#e_floatright		{ background-position: -120px -60px; }
	#e_insertorderedlist	{ background-position: -100px -20px; }
	#e_insertunorderedlist	{ background-position: 0 -60px; }
	#e_inserthorizontalrule	{ background-position: -20px -60px; }
	#e_tbl			{ background-position: -160px -20px; }
	.tblbtn_disabled	{ background-position: -180px -20px !important; }
	#e_tool			{ background-position: 0 -40px; }
	#e_undo			{ background-position: -20px -40px; }
	#e_redo			{ background-position: -40px -40px; }
	#e_removeformat		{ background-position: -60px -40px; }
	#e_tpr			{ background-position: -80px -40px; }
	#e_chck			{ background-position: -100px -40px; }
	#e_hide			{ background-position: -120px -40px; }
	.hd_dsb			{ background-position: -200px -40px !important; }
	#e_free			{ background-position: -140px -40px; }
	#e_svd			{ background-position: -160px -40px; }
	#e_rst			{ background-position: -180px -40px; }
	#e_sml			{ background-position: -3px -80px; }
		.b2r #e_sml	{ background-position: -20px -20px; }
	#e_image		{ background-position: -43px -80px; }
		.b2r #e_image	{ background-position: 0 -20px; }
	#e_attach		{ background-position: -83px -80px; }
		.b2r #e_attach	{ background-position: -200px -20px; }
	#e_code			{ background-position: -123px -80px; }
		.b2r #e_code	{ background-position: -120px -20px; }
	#e_quote		{ background-position: -163px -80px; }
		.b2r #e_quote	{ background-position: -140px -20px; }
	#e_pasteword		{ background-position: -60px -60px; }
	#e_downremoteimg	{ background-position: -80px -60px; }
	#e_page	{ background-position: -200px -60px; }
	#e_index	{ background-position: -220px -120px; }
	#e_password	{ background-position: -180px -120px; }
	#e_postbg	{ background-position: -160px -120px; }
	#e_fls			{ background-position: -3px -120px; }
		.b2r #e_fls	{ background-position: -260px -20px; }
	#e_aud			{ background-position: -43px -120px; }
		.b2r #e_aud	{ background-position: -220px -20px; }
	#e_vid			{ background-position: -83px -120px; }
		.b2r #e_vid	{ background-position: -240px -20px; }
	#e_at			{ background-position: -126px -120px; }
		.b2r #e_at	{ background-position: -140px 0; }
	#e_imagen, #e_attachn { position: absolute; top: 3px; left: 63px; width: 14px; height: 15px; background: url(https://ceshi2.kmlt.cc/static/image/editor/editor.gif) no-repeat -244px -80px; text-indent: -9999px; }
		#e_attachn { left: 100px; }
	.b2r #e_imagen, .b2r #e_attachn { top: -4px; left: 35px; }
		.b2r #e_attachn { left: 57px; }
	#e_switcher input{ margin-right: 4px; vertical-align: middle; }
	#e_simple, #e_fullswitcher { padding: 0 2px; text-align: right; border: 1px solid #eceef1; background: url(https://ceshi2.kmlt.cc/static/image/common/card_btn.png) repeat-x 0 100%; }
		#e_fullswitcher { margin-right: 3px; }
	#e_beginning { background-position: -246px -120px;}
		.b2r #e_beginning { background-position: -260px -78px; }
.popupfix .px { margin-bottom: 4px; }
#e_body { display: block !important; }
#e_body_loading { display: none; }

/* ============ 编辑器工具栏 · 现代白色美化（覆盖 Discuz 原生蓝色老式）============
   Discuz 原生编辑器是蓝色 #09C 边框 + 两行挤压的老式工具栏，与现代白色简约风不符。
   这里在保留精灵图定位（功能）前提下，把容器/按钮/分组美化成现代的白色卡片 + 淡灰圆角。 */
.edt {
	background: #fff;
	border: 1px solid #eceef1;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(16,24,40,.04);
}
.edt .bar {
	height: auto !important;
	min-height: 44px;
	padding: 4px 8px;
	border-bottom: 1px solid #f1f3f5;
	background: #fff;
}
.edt .bar .btn {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1px 4px;
}
.edt .b1r, .edt .b2r {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 2px;
	height: auto;
	min-height: 44px;
	padding: 1px 2px;
	border: none;
	margin-right: 0;
}
/* 引用/代码/面包/球组（.b2r.esb）：内部多个含 <a> 的 <p>，改成横向一行，图标紧凑、不垂直堆叠
   （覆盖 Discuz editor.css 的 .edt .b2r p{clear:both} 块级换行） */
.edt .b2r.esb { display: block !important; }
.edt .b2r.esb p { display: inline !important; margin: 0 !important; clear: none !important; }
.edt .b2r.esb p br, .edt .b2r.esb br { display: none !important; }
.edt .b2r.esb a, .pg_post .edt .bar .b2r.esb a {
	display: inline-block !important;
	float: none !important;
	vertical-align: middle;
}
.edt .bar a {
	border: 1px solid transparent !important;
	background-color: transparent !important;
	border-radius: 5px;
	margin: 1px;
	transition: background .15s ease, border-color .15s ease;
}
.edt .bar a:hover, .edt .bar a.hover {
	border-color: #e5e7eb !important;
	background-color: #f5f6f8 !important;
}
/* 图标+文字标签（Discuz 原生"图上文下"：图标在顶部、文字标签在下方，不重叠）
   用 .pg_post 前缀提高 specificity，覆盖前面 .pg_post .edt .bar a 的 padding:4px 7px */
.pg_post .edt .bar .b1r a {
	width: 30px !important;
	height: 14px !important;
	padding: 20px 0 0 !important;
	font-size: 10px !important;
	line-height: 1 !important;
	color: #4b5563;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
}
/* 左侧格式按钮（B/I/U/颜色/链接等）：纯图标，图标本身就是图形，隐藏字母文字避免重叠
   用 Discuz 原生 20px 图标尺寸，背景精灵图正确定位 */
.pg_post .edt .bar .b2r a {
	width: 20px !important;
	height: 20px !important;
	padding: 0 !important;
	border: none !important;
	text-indent: -9999px;
	font-size: 0;
	line-height: 20px;
	background-repeat: no-repeat;
}
/* 字体/大小下拉按钮：保留文字，正常显示 */
.pg_post .edt .bar .b1r a.dp,
.pg_post .edt .bar .b2r a.dp {
	width: auto !important;
	min-width: 54px;
	height: auto !important;
	padding: 3px 8px !important;
	font-size: 12px !important;
	text-indent: 0 !important;
	color: #4b5563;
	text-align: left;
}
.edt .b2r a {
	width: 22px;
	height: 22px;
	text-indent: -9999px;
	font-size: 0;
}
.edt .b1r a.dp { width: auto !important; min-width: 46px; padding: 2px 6px !important; font-size: 12px; color: #4b5563; text-align: left; }
.edt .bar a:hover { border-color: #e5e7eb !important; }
.edt a.cst { background: none; }
/* 隐藏未配置图标的空白快捷按钮（QQ 在线状态未启用 → 显示空白方框），避免工具栏留空白方框 */
.edt .bar a.cst[title*="QQ"] { display: none; }

/* ============ 编辑器工具栏·常用功能（参考 Discuz 完整工具栏）============
   保留常用：字体/大小/加粗/斜体/下划线/文字颜色/背景色/链接/移除链接/水平线/表格/清除格式/
   自动排版/左中右对齐/左右浮动/有序无序列表/引用/代码/表情/图片/附件/收费/@朋友/Word粘贴/下载图片
   仅隐藏 Discuz 编辑器最罕见功能：撤销/重做/页面/索引/密码/背景图/动画/Free/隐藏/Bg 等 */
.edt #e_undo, .edt #e_redo,
.edt #e_aud, .edt #e_vid, .edt #e_fls,
.edt #e_free, .edt #e_hide,
.edt #e_page, .edt #e_index,
.edt #e_password, .edt #e_postbg, .edt #e_beginning { display: none !important; }
.edt .bbar {
	background: #fafbfc;
	border-top: 1px solid #f1f3f5;
	color: #9aa0a6;
}
.edt .bbar a { color: #9aa0a6; }
.edt .bbar a:hover { color: #26282b; }
.edt .area { background: #fff; border-radius: 0 0 10px 10px; }
.edt .pt { background: #fff; }
.edt .pt:focus { box-shadow: none; }
#e_simple, #e_fullswitcher {
	background: #f5f6f8;
	border: 1px solid #e7e9ee;
	border-radius: 6px;
	color: #4b5563;
	padding: 2px 8px;
	margin: 2px;
}

/* ============ 管理员主题管理按钮条（#modmenu）============
   把 Discuz 原生的蓝色 xi2 链接 + | 分隔，美化成白色现代小胶囊按钮 */
#modmenu.xi2.pbm {
	padding: 6px 14px 10px;
	margin: 0 0 12px;
	border-bottom: 1px solid #f1f3f5;
}
#modmenu.xi2.pbm a {
	display: inline-block;
	background: #f5f6f8;
	color: #4b5563 !important;
	border: 1px solid #e7e9ee;
	border-radius: 7px;
	padding: 5px 12px;
	margin: 4px 6px 4px 0;
	font-size: 13px;
	line-height: 1;
	transition: all .15s ease;
}
#modmenu.xi2.pbm a:hover {
	background: #26282b;
	color: #fff !important;
	border-color: #26282b;
}
#modmenu.xi2.pbm .pipe { display: none; }

/* ============ 导航栏（#nv / #mn）激活 tab 风格 ============ */
#nv { border-bottom: 1px solid #eceef1; background: #fff; }
#nv li { margin: 0; }
#nv li a { height: 42px; line-height: 42px; padding: 0 22px; color: #6b7280; font-size: 15px; }
#nv li a:hover { color: #111; }
#nv li.a, #nv li.hover { background: transparent; }
#nv li.a a, #nv li.hover a, #nv li a.current {
	color: #111 !important;
	font-weight: 700;
	box-shadow: inset 0 -2px 0 #26282b;
}


