/* Telink 社区 · 论坛首页 v2 皮肤（仅 telink_v2 模板；作用域 body.pg_index，不影响帖子页/后台/页脚） */
body.pg_index{
	--fs-card:#fff;--fs-sub:#f5f3f3;--fs-tile:#edf1f8;
	--fs-line:#eeecec;--fs-bd:#e7e5e5;
	--fs-t1:#051023;--fs-t2:#424242;--fs-meta:#6b6b6b;--fs-faint:#999;
	--fs-brand:#0a2d72;--fs-topline:#0a2d72;--fs-accent2:#fba17e;
	--fs-shadow:0 1px 2px rgba(5,16,35,.06),0 8px 24px rgba(5,16,35,.05);
	--fs-shadow-hover:0 10px 28px rgba(5,16,35,.12);
}
html[data-theme="dark"] body.pg_index{
	--fs-card:#0c1830;--fs-sub:#12224a;--fs-tile:#12224a;
	--fs-line:#1c2c52;--fs-bd:#24365f;
	--fs-t1:#eeecec;--fs-t2:#c9c9c9;--fs-meta:#a9a9a9;--fs-faint:#8a96b2;
	--fs-brand:#8fb4ff;--fs-topline:#2a4f9c;--fs-accent2:#fba17e;
	--fs-shadow:0 1px 2px rgba(0,0,0,.25);--fs-shadow-hover:0 8px 20px rgba(0,0,0,.4);
}
@media (prefers-color-scheme: dark){
	html:not([data-theme="light"]) body.pg_index{
		--fs-card:#0c1830;--fs-sub:#12224a;--fs-tile:#12224a;
		--fs-line:#1c2c52;--fs-bd:#24365f;
		--fs-t1:#eeecec;--fs-t2:#c9c9c9;--fs-meta:#a9a9a9;--fs-faint:#8a96b2;
		--fs-brand:#8fb4ff;--fs-topline:#2a4f9c;--fs-accent2:#fba17e;
		--fs-shadow:0 1px 2px rgba(0,0,0,.25);--fs-shadow-hover:0 8px 20px rgba(0,0,0,.4);
	}
}
/* 面包屑 */
body.pg_index #pt{background:none;border:0;margin:16px 0 12px;padding:0;font-size:13px;color:var(--fs-meta);}
body.pg_index #pt a{color:var(--fs-meta);}
body.pg_index #pt a:hover{color:var(--fs-brand);}
body.pg_index #pt em{color:var(--fs-faint);font-style:normal;margin:0 4px;}
/* 统一网格：统计带 / 入口卡 / 内容卡 同宽同起点（Discuz 默认给 .bm 加 margin-right，会右溢） */
body.pg_index #chart,
body.pg_index .dz-funcnav,
body.pg_index #ct > .mn > .bm{width:100%;box-sizing:border-box;margin-left:0;margin-right:0;}
/* 统计条：贴在画布上的一行信息，不做卡片 */
body.pg_index #chart{display:flex;align-items:center;justify-content:space-between;gap:16px;background:none;border:0;border-bottom:1px solid var(--fs-line);border-radius:0;box-shadow:none;padding:0 2px 11px;margin:0 0 16px;}
body.pg_index #chart .chart{float:none;margin:0;font-size:13px;line-height:1.6;color:var(--fs-meta);}
body.pg_index #chart .chart:before{color:var(--fs-brand);}
body.pg_index #chart .chart em{font-family:'Abel','Noto Sans SC',sans-serif;font-style:normal;font-size:13px;line-height:1;color:var(--fs-t2);margin:0 2px;font-weight:600;}
body.pg_index #chart .chart em.fs-hot{font-size:16px;color:var(--fs-brand);}
body.pg_index #chart .pipe{color:var(--fs-line);margin:0 10px;}
body.pg_index #chart .y{float:none;}
body.pg_index #chart .y a{color:var(--fs-t2) !important;font-size:13px;}
body.pg_index #chart .y a:hover{color:var(--fs-brand) !important;}
/* 常用入口：白卡线稿图标，不加顶边；四卡等高、标题单行 */
body.pg_index .dz-funcnav{display:flex;gap:14px;margin:0 0 20px;}
body.pg_index .dz-funcnav .dz-func-card{flex:1;min-width:0;display:flex;align-items:center;gap:12px;height:72px;padding:0 16px;background:var(--fs-card);border:1px solid var(--fs-line);border-radius:10px;box-shadow:var(--fs-shadow);transition:transform .2s,box-shadow .2s,border-color .2s;}
body.pg_index .dz-funcnav .dz-func-card:hover{transform:translateY(-2px);box-shadow:var(--fs-shadow-hover);border-color:var(--fs-brand);text-decoration:none;}
body.pg_index .dz-funcnav .dz-func-ico{flex:0 0 44px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--fs-tile);color:var(--fs-brand);}
body.pg_index .dz-funcnav .dz-func-ico svg{width:22px;height:22px;}
body.pg_index .dz-funcnav .dz-func-ico img{width:22px;height:22px;object-fit:contain;}
body.pg_index .dz-funcnav .dz-func-txt{min-width:0;}
body.pg_index .dz-funcnav .dz-func-txt strong{display:block;font-size:15px;font-weight:600;color:var(--fs-t1);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* 版块分组卡：内容卡 2px 品牌顶边 */
body.pg_index #ct > .mn > .bm{background:var(--fs-card);border:1px solid var(--fs-line);border-top:2px solid var(--fs-topline);border-radius:12px;box-shadow:var(--fs-shadow);overflow:hidden;margin-bottom:26px;}
body.pg_index #ct .bm .bmw{border:0;background:transparent;}
body.pg_index #ct .bm .bm_h{height:auto;margin:0;padding:16px 20px 12px;line-height:1.3;background:transparent;border:0;overflow:visible;}
body.pg_index #ct .bm .bm_h h2{position:relative;margin:0;padding-left:11px;font-size:18px !important;font-weight:700;}
body.pg_index #ct .bm .bm_h h2:before{content:'';position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:2px;background:var(--fs-brand);}
body.pg_index #ct .bm .bm_h h2 a{color:var(--fs-t1) !important;}
body.pg_index #ct .bm .bm_h h2 a:hover{color:var(--fs-brand) !important;}
body.pg_index #ct > .mn > .bm .bm_c{padding:0 4px 6px;background:transparent;}
/* 版块行（分组网格 + 收藏列表共用分隔与悬停） */
body.pg_index .fl_tb tr + tr td{border-top:1px dashed var(--fs-line);}
body.pg_index .fl_tb tr:hover td{background:var(--fs-sub);}
body.pg_index .fl_tb td.fl_g{padding:16px 20px;vertical-align:top;transition:background .15s;}
/* 版块图标：统一 52px 方垫，覆盖后台遗留的 512px 内联宽度 */
body.pg_index .fl_icn_g{float:left;display:flex;align-items:center;justify-content:center;width:52px !important;height:52px;border-radius:12px;background:var(--fs-tile);overflow:hidden;}
body.pg_index .fl_icn_g img{float:none;width:30px !important;height:30px !important;padding:0;object-fit:contain;}
body.pg_index .fl_g dl{margin-left:68px !important;padding-left:0;}
body.pg_index .fl_g dt{margin:0 0 3px;font-size:15px;font-weight:700;line-height:1.5;}
body.pg_index .fl_g dt a{color:var(--fs-t1);}
body.pg_index .fl_g dt a:hover{color:var(--fs-brand);}
body.pg_index .fl_g dt em.xw0,
body.pg_index .fl_name h2 em.xw0{display:inline-block;margin-left:6px;padding:0 6px;border-radius:8px;background:var(--fs-accent2);color:#051023;font-size:12px;font-style:normal;font-weight:600;line-height:1.6;vertical-align:1px;}
body.pg_index .fl_g dd{margin:0;font-size:12px;line-height:1.7;color:var(--fs-meta);}
body.pg_index .fl_g dd em{font-style:normal;}
body.pg_index .fl_g dd a.xi2{color:var(--fs-t2) !important;}
body.pg_index .fl_g dd a.xi2:hover{color:var(--fs-brand) !important;}
body.pg_index .fl_g dd cite{font-style:normal;font-size:12px;color:var(--fs-faint);}
body.pg_index .fl_g dd cite a{color:var(--fs-meta);}
body.pg_index .fl_g dd cite a:hover{color:var(--fs-brand);}
/* 我收藏的版块：整宽列表行，1~N 个纵向排列 */
body.pg_index .fl_tb td.fl_icn{width:72px !important;min-height:0;margin-right:0;padding:14px 0 14px 20px !important;vertical-align:middle;}
body.pg_index .fl_tb td.fl_icn img{width:52px !important;height:52px !important;border-radius:12px;background:var(--fs-tile);padding:11px;box-sizing:border-box;object-fit:contain;}
body.pg_index .fl_tb td.fl_name{padding:14px 24px 14px 0 !important;vertical-align:middle;}
body.pg_index .fl_tb td.fl_name h2{height:auto;margin:0;font-size:15px;font-weight:700;line-height:1.5;color:var(--fs-t1);overflow:visible;}
body.pg_index .fl_tb td.fl_name h2 a{color:var(--fs-t1);}
body.pg_index .fl_tb td.fl_name h2 a:hover{color:var(--fs-brand);}
body.pg_index .fl_tb td.fl_name p{margin:2px 0 0;font-size:12px;line-height:1.6;color:var(--fs-meta);}
body.pg_index .fl_tb td.fl_name p .xi2{color:var(--fs-t2);}
body.pg_index .fl_tb td.fl_name .fs-n{font-size:13px;font-weight:600;color:var(--fs-t2);}
body.pg_index .fl_tb td.fl_name .fs-lb{margin-left:4px;}
body.pg_index .fl_tb td.fl_name .fs-sp{margin:0 8px;color:var(--fs-line);}
body.pg_index .fl_tb td.fl_by{width:420px;padding:14px 20px 14px 0 !important;vertical-align:middle;}
body.pg_index .fl_tb td.fl_by div{margin:0;padding:0;width:auto;white-space:normal;}
body.pg_index .fl_tb td.fl_by a.xi2{display:block;max-width:100%;font-size:13px;line-height:1.6;color:var(--fs-t2) !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.pg_index .fl_tb td.fl_by a.xi2:hover{color:var(--fs-brand) !important;}
body.pg_index .fl_tb td.fl_by cite{display:block;font-size:12px;line-height:1.6;color:var(--fs-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* 焦点可见 */
body.pg_index a:focus-visible{outline:2px solid var(--fs-topline);outline-offset:2px;border-radius:4px;}
@media (max-width:760px){
	body.pg_index .dz-funcnav{flex-wrap:wrap;gap:12px;}
	body.pg_index .dz-funcnav .dz-func-card{flex:1 1 44%;height:64px;}
	body.pg_index .fl_tb td.fl_name{padding-right:12px !important;}
	body.pg_index .fl_tb td.fl_by{width:auto;max-width:180px;}
}
@media (prefers-reduced-motion: reduce){
	body.pg_index .dz-funcnav .dz-func-card{transition:none;}
	body.pg_index .dz-funcnav .dz-func-card:hover{transform:none;}
}
