/* 万有资源网风格 - Discuz 3.4 模板 */

/* ========== 顶部信息栏 ========== */
#wanyou-topbar {
	background: #fff;
	border-bottom: 1px solid #eee;
	line-height: 36px;
	font-size: 12px;
	color: #666;
}
.wanyou-slogan {
	margin-left: 0;
}

/* ========== 头部 Logo + 搜索 ========== */
.wanyou-hd {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	padding: 12px 0 0;
}
.wanyou-hd .hdc {
	min-height: 50px;
	padding-bottom: 10px;
}
.wanyou-logo-wrap {
	margin: 0;
	padding: 0 20px 0 0;
	float: left;
}
.wanyou-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #2B7ACD;
	font-weight: 700;
	font-size: 21px;
}
.wanyou-logo-link:hover {
	text-decoration: none;
	color: #005AB4;
}
.wanyou-logo-icon {
	display: inline-block;
	width: 44px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	background: #2B7ACD;
	color: #fff;
	border-radius: 6px;
	margin-right: 12px;
	font-size: 24px;
	font-weight: 700;
}
.wanyou-logo-img {
	display: inline-block;
	margin-right: 12px;
	vertical-align: middle;
}
.wanyou-logo-img img {
	display: block;
	max-height: 50px;
	max-width: 150px;
	height: auto;
	width: auto;
	vertical-align: middle;
}
.wanyou-logo-inner {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.25;
}
.wanyou-logo-text {
	color: #2B7ACD;
	font-size: 21px;
}
.wanyou-logo-sub {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #888;
	letter-spacing: 0.5px;
}

/* 搜索框在右侧：与 Logo 同一行 */
.wanyou-hd .hdc {
	position: relative;
}
.wanyou-hd #scbar {
	position: absolute;
	right: 0;
	top: 0;
	height: 38px;
	line-height: 38px;
	border: none;
	background: transparent;
	width: 340px;
}
.wanyou-hd #scbar_form table {
	margin: 0;
	width: 100%;
}
.wanyou-hd .scbar_icon_td {
	width: 0;
	display: none;
}
.wanyou-hd #scbar_txt_td {
	padding-right: 2px;
}
.wanyou-hd #scbar_txt,
.wanyou-hd .scbar_txt_td input {
	width: 100%;
	max-width: 260px;
	height: 32px;
	line-height: 32px;
	border: 1px solid #ddd;
	border-radius: 4px 0 0 4px;
	padding: 0 10px;
	box-sizing: border-box;
}
.wanyou-hd #scbar_btn_td {
	width: 42px;
}
.wanyou-hd #scbar_btn {
	height: 34px;
	width: 42px;
	border-radius: 0 4px 4px 0;
	background: #2B7ACD;
	border: 1px solid #2B7ACD;
	color: #fff;
	margin: 0;
	padding: 0;
}
.wanyou-hd #scbar_btn:hover {
	background: #005AB4;
}
.wanyou-hd .scbar_type_td,
.wanyou-hd .scbar_hot_td {
	display: none;
}

/* ========== 主导航：无填充、黑字、当前蓝下划线（高优先级覆盖 Discuz 默认 #nv） ========== */
body.wanyou-body #nv.wanyou-nv,
body.wanyou-body #nv.wanyou-nv.wanyou-nv {
	overflow: hidden;
	height: 46px;
	line-height: 46px;
	background: transparent !important;
	border-top: 1px solid #eee;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body.wanyou-body #nv.wanyou-nv ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.wanyou-body #nv.wanyou-nv li {
	float: left;
	height: 46px;
	line-height: 46px;
	margin: 0;
	padding: 0 4px;
	background: none !important;
}
body.wanyou-body #nv.wanyou-nv li a,
body.wanyou-body #nv.wanyou-nv li a:visited {
	display: block;
	padding: 0 16px;
	height: 46px;
	line-height: 46px;
	color: #1a1a1a !important;
	font-size: 15px !important;
	font-weight: 500;
	letter-spacing: 0.02em;
	border-bottom: 3px solid transparent;
	box-sizing: border-box;
	background: none !important;
	transition: color 0.2s ease, border-bottom-color 0.2s ease;
}
body.wanyou-body #nv.wanyou-nv li a:hover {
	color: #2B7ACD !important;
	text-decoration: none !important;
	background: none !important;
}
body.wanyou-body #nv.wanyou-nv li.a a,
body.wanyou-body #nv.wanyou-nv li.a a:visited,
body.wanyou-body #nv.wanyou-nv li.a a:hover {
	color: #2B7ACD !important;
	font-weight: 600;
	border-bottom-color: #2B7ACD;
	background: none !important;
}
body.wanyou-body #nv.wanyou-nv #qmenu {
	float: right;
	margin: 9px 10px 0 0;
	padding: 0 12px;
	height: 30px;
	line-height: 30px;
	background: transparent !important;
	border: 1px solid #ddd;
	border-radius: 6px;
	color: #1a1a1a !important;
	font-size: 13px !important;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
body.wanyou-body #nv.wanyou-nv #qmenu:hover {
	text-decoration: none;
	background: rgba(0,0,0,0.04) !important;
	border-color: #ccc;
	color: #1a1a1a !important;
}

/* ========== 门户首页左右分栏 ========== */
.wanyou-portal-wrap {
	margin-bottom: 0;
}
.wanyou-ct {
	min-height: 400px;
	margin-top: 15px;
}
.wanyou-sidebar {
	float: left;
	width: 320px;
	margin-right: 20px;
}
.wanyou-main {
	float: left;
	width: 860px;
	overflow: hidden;
}

/* 左侧推广区 */
.wanyou-promo {
	border: none;
	background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 15px;
	position: relative;
	min-height: 180px;
}
.wanyou-promo-inner {
	padding: 24px 20px;
	position: relative;
}
.wanyou-promo-text {
	position: relative;
	z-index: 2;
}
.wanyou-promo-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1.4;
}
.wanyou-promo-tip {
	margin: 0 0 14px;
	font-size: 12px;
	color: rgba(255,255,255,0.85);
}
.wanyou-btn-collect {
	display: inline-block;
	padding: 8px 20px;
	background: #2B7ACD;
	color: #fff !important;
	border-radius: 4px;
	font-size: 14px;
	text-decoration: none;
	border: none;
}
.wanyou-btn-collect:hover {
	background: #005AB4;
	text-decoration: none;
	color: #fff;
}

/* 左侧模块标题（软件排行） */
.wanyou-block {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
}
.wanyou-block-h {
	border-bottom: 1px solid #e8e8e8;
	background: #fafafa;
	padding: 0 12px;
	height: 40px;
	line-height: 40px;
}
.wanyou-block-vline {
	display: inline-block;
	width: 4px;
	height: 18px;
	background: #2B7ACD;
	border-radius: 2px;
	margin-right: 8px;
	vertical-align: middle;
}
.wanyou-block-title {
	display: inline;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #333;
}
.wanyou-block-dots {
	color: #999;
	font-size: 18px;
	letter-spacing: 2px;
	cursor: default;
}

/* 右侧最新内容区 */
.wanyou-new-h {
	border-bottom: 1px solid #e8e8e8;
	padding: 0 15px;
	height: 44px;
	line-height: 44px;
	background: #fff;
}
.wanyou-new-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #333;
}
.wanyou-welcome {
	margin: 0 15px 12px;
	font-size: 13px;
}
.wanyou-tags {
	margin: 0 15px 15px;
	padding: 0 0 10px;
	border-bottom: 1px dashed #e0e0e0;
}
.wanyou-tag {
	display: inline-block;
	margin: 0 8px 6px 0;
	padding: 4px 12px;
	background: #f0f0f0;
	color: #555;
	border-radius: 4px;
	font-size: 12px;
	text-decoration: none;
}
.wanyou-tag:hover {
	background: #e5e5e5;
	color: #333;
	text-decoration: none;
}
.wanyou-tag.a {
	background: #2B7ACD;
	color: #fff !important;
}
.wanyou-tag.a:hover {
	background: #005AB4;
	color: #fff;
}
.wanyou-list-wrap {
	margin: 0 15px;
	padding: 0;
}
.wanyou-list-wrap .xld dt {
	padding: 6px 0 2px;
}
.wanyou-list-wrap .xld dd {
	margin-bottom: 6px;
}
.wanyou-list-wrap .xld li:before,
.wanyou-list-wrap .xl1 li:before {
	display: inline-block;
	content: "";
	width: 6px;
	height: 6px;
	background: #2B7ACD;
	border-radius: 3px;
	margin: 0 8px 2px 0;
	vertical-align: middle;
}

/* 用户信息区在头部右侧 */
.wanyou-hd #um {
	padding-top: 8px;
	padding-right: 0;
	padding-bottom: 10px;
	line-height: 1.8;
}
.wanyou-hd #um p {
	text-align: right;
}
.wanyou-hd .fastlg {
	padding-top: 6px;
}

/* 隐藏默认 toptb（若存在） */
body.wanyou-body #toptb {
	display: none;
}

/* 列表两列布局（最新内容） */
.wanyou-list-wrap .xl2 li {
	width: 50%;
	float: left;
	padding: 4px 10px 4px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.wanyou-list-wrap .xl2 li:nth-child(2n) {
	padding-right: 0;
}

/* ========== 门户列表页（资源下载 / 文章专区） ========== */
.wanyou-list-page { margin-top: 15px; margin-bottom: 20px; }
.wanyou-pt { padding: 8px 0; border-bottom: 1px solid #eee; }
.wanyou-list-head { position: relative; padding: 16px 0 12px; border-bottom: 1px solid #e8e8e8; }
.wanyou-list-title { margin: 0; font-size: 18px; font-weight: 700; color: #333; }
.wanyou-list-more { font-size: 18px; color: #999; cursor: default; letter-spacing: 2px; }
.wanyou-list-tabs { margin: 12px 0 20px; padding: 0 0 10px; border-bottom: 1px dashed #e0e0e0; }
.wanyou-list-tabs .wanyou-tab { display: inline-block; margin: 0 8px 6px 0; padding: 6px 14px; background: #f0f0f0; color: #555; border-radius: 4px; font-size: 13px; text-decoration: none; }
.wanyou-list-tabs .wanyou-tab:hover { background: #e5e5e5; color: #333; text-decoration: none; }
.wanyou-list-tabs .wanyou-tab.on { background: #2B7ACD; color: #fff !important; }
.wanyou-list-body { border: none; background: transparent; }
.wanyou-list-actions { margin-bottom: 12px; text-align: right; }
.wanyou-article-list .wanyou-article-item { border-bottom: 1px dashed #eee; padding: 12px 0; margin: 0; }
.wanyou-article-list .wanyou-article-item dt { padding: 0 0 4px; margin: 0; }
.wanyou-article-list .wanyou-article-item dt a { font-size: 14px; }
.wanyou-article-list .wanyou-article-item .wanyou-article-meta { margin: 0; padding: 0; font-size: 12px; }
.wanyou-article-list .wanyou-article-item dd.atc { float: left; margin: 0 12px 8px 0; }
.wanyou-pgs { margin-top: 20px; padding-top: 15px; border-top: 1px solid #eee; }

/* ========== 万有页脚说明条 ========== */
#ft-wanyou { background: #3d5a6c; color: #b8d4e3; padding: 20px 0 16px; margin-top: 0; }
#ft-wanyou .wanyou-ft-notice { margin: 0 0 8px; font-size: 12px; line-height: 1.6; }
#ft-wanyou .wanyou-ft-notice a { color: #b8d4e3; text-decoration: underline; }
#ft-wanyou .wanyou-ft-links { margin: 0; font-size: 12px; }
#ft-wanyou .wanyou-ft-links a { color: #fff; text-decoration: none; }
#ft-wanyou .wanyou-ft-links a:hover { text-decoration: underline; }
#ft-wanyou .pipe { margin: 0 8px; color: rgba(255,255,255,0.5); }

/* ========== 万有右侧浮动按钮 ========== */
#wanyou-float-btns { position: fixed; right: 24px; bottom: 80px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.wanyou-float-btn { display: block; width: 44px; height: 44px; line-height: 44px; text-align: center; background: #2B7ACD; color: #fff !important; border-radius: 50%; font-size: 20px; text-decoration: none; box-shadow: 0 2px 10px rgba(43,122,205,0.4); transition: background 0.2s, transform 0.2s; }
.wanyou-float-btn:hover { background: #005AB4; color: #fff; text-decoration: none; transform: scale(1.05); }
.wanyou-float-top { font-size: 22px; line-height: 42px; }
.wanyou-float-set { font-size: 18px; line-height: 44px; }

/* ========== 论坛列表页（forumdisplay） ========== */
body#nv_forum.pg_forumdisplay {
\tbackground: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 50%, #f5f7fa 100%);
\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body#nv_forum.pg_forumdisplay .boardnav {
\tmargin-top: 20px;
\tmargin-bottom: 40px;
}
body#nv_forum.pg_forumdisplay .boardnav #ct.wp {
\tmax-width: 1180px;
\tmargin: 0 auto;
}
body#nv_forum.pg_forumdisplay .mn > .bm.bml {
\tborder: 1px solid #e2e8f0;
\tborder-radius: 16px 16px 0 0;
\tbackground: #fff;
\tbox-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
body#nv_forum.pg_forumdisplay #threadlist {
\tborder: 1px solid #e2e8f0;
\tborder-radius: 0 0 16px 16px;
\tbackground: #fff;
\tbox-shadow: 0 2px 8px rgba(0,0,0,0.06);
\tmargin-top: 0;
}
body#nv_forum.pg_forumdisplay #threadlist .th {
\tbackground: #f9fafb;
\tborder-bottom: 1px solid #e5e7eb;
}
body#nv_forum.pg_forumdisplay #threadlist .th th,
body#nv_forum.pg_forumdisplay #threadlist .th td {
\tpadding: 10px 16px;
}
body#nv_forum.pg_forumdisplay #threadlist .bm_c {
\tpadding: 0 0 8px;
}
body#nv_forum.pg_forumdisplay #threadlisttableid tr {
\ttransition: background 0.15s ease;
}
body#nv_forum.pg_forumdisplay #threadlisttableid tr:hover {
\tbackground: #f9fafb;
}
body#nv_forum.pg_forumdisplay #threadlisttableid th a.s.xst {
\tfont-size: 15px;
\tfont-weight: 600;
\tcolor: #1f2937;
}
body#nv_forum.pg_forumdisplay #threadlisttableid th a.s.xst:hover {
\tcolor: #2B7ACD;
}
body#nv_forum.pg_forumdisplay #threadlisttableid td.by em a,
body#nv_forum.pg_forumdisplay #threadlisttableid td.num a {
\tcolor: #4b5563;
}
body#nv_forum.pg_forumdisplay #threadlisttableid td.by cite a {
\tcolor: #111827;
\tfont-weight: 500;
}

/* 论坛列表页顶部/底部分页与发帖按钮 */
body.wanyou-body.pg_forumdisplay .pgs .pgsbtn {
\tdisplay: inline-block;
\tpadding: 8px 18px;
\tbackground: linear-gradient(135deg, #2B7ACD 0%, #1d5a9e 100%);
\tcolor: #fff !important;
\tborder-radius: 8px;
\tfont-size: 14px;
\tfont-weight: 500;
\ttext-decoration: none;
\tbox-shadow: 0 2px 8px rgba(43,122,205,0.3);
\ttransition: all 0.2s;
}
body.wanyou-body.pg_forumdisplay .pgs .pgsbtn:hover {
\tbackground: linear-gradient(135deg, #005AB4 0%, #004080 100%);
\tcolor: #fff;
\ttext-decoration: none;
\ttransform: translateY(-1px);
}

/* ========== 帖子内页（viewthread） ========== */
body#nv_forum.pg_viewthread {
	background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 50%, #f5f7fa 100%);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body#nv_forum.pg_viewthread .wp { max-width: 1180px; padding: 0 20px; }
.wanyou-viewthread-ct {
	margin-top: 24px;
	margin-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 28px;
}
.wanyou-viewthread-main {
	flex: 1;
	min-width: 0;
	width: 720px;
}
.wanyou-viewthread-side {
	width: 280px;
	flex-shrink: 0;
	position: sticky;
	top: 88px;
}

/* 资源摘要：标题 + 下载地址/资源点评（红圈区域美化） */
.wanyou-resource-summary {
	display: flex;
	align-items: center;
	gap: 28px;
	background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
	border: 1px solid #e2e8f0;
	border-left: 4px solid #2B7ACD;
	border-radius: 16px;
	padding: 26px 30px;
	margin-bottom: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
}
.wanyou-resource-thumb {
	flex-shrink: 0;
	width: 140px;
	height: 140px;
	border-radius: 14px;
	overflow: hidden;
	background: #f1f5f9;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.wanyou-resource-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wanyou-resource-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.wanyou-resource-thumb-icon { font-size: 48px; opacity: 0.85; }
.wanyou-resource-meta-wrap { flex: 1; min-width: 0; }
.wanyou-resource-tt {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
	letter-spacing: -0.02em;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 14px;
}
.wanyou-resource-info {
	margin: 0 0 18px;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
	background: #f8fafc;
	border-radius: 10px;
	padding: 10px 16px;
	border: 1px solid #f1f5f9;
}
.wanyou-resource-info .pipe { margin: 0 12px; color: #cbd5e1; font-weight: 300; }
.wanyou-resource-actions {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 16px;
	width: 100%;
	justify-content: space-between;
}
.wanyou-dl-wrap { position: relative; flex: 1; min-width: 0; }
.wanyou-resource-summary .wanyou-dl-wrap .wanyou-btn-download { width: 100%; }
.wanyou-resource-summary .wanyou-btn-review { flex: 1; min-width: 0; }
.wanyou-resource-summary .wanyou-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.25s ease;
	border: none;
	cursor: pointer;
	box-sizing: border-box;
}
.wanyou-resource-summary .wanyou-btn:hover { text-decoration: none !important; }
.wanyou-btn-ico { font-size: 20px; line-height: 1; }
.wanyou-btn-caret { margin-left: 6px; font-size: 12px; opacity: 0.95; }
.wanyou-btn-download {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}
.wanyou-btn-download:hover {
	background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(249,115,22,0.5);
}
.wanyou-btn-review {
	background: linear-gradient(135deg, #2B7ACD 0%, #1e5fb0 100%) !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(43,122,205,0.35);
}
.wanyou-btn-review:hover {
	background: linear-gradient(135deg, #1e5fb0 0%, #164a8a 100%) !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(43,122,205,0.45);
}
.wanyou-download-dropdown {
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 10px;
	min-width: 260px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.12);
	z-index: 100;
	padding: 8px 0;
}
.wanyou-dl-item {
	display: block;
	padding: 10px 16px;
	font-size: 14px;
	color: #334155;
	text-decoration: none;
	transition: background 0.2s;
}
.wanyou-dl-item:hover {
	background: #f8fafc;
	color: #2B7ACD;
}
.wanyou-dl-empty {
	margin: 0;
	padding: 12px 16px;
	font-size: 13px;
	color: #94a3b8;
}

/* 面包屑 */
.wanyou-pt {
	padding: 14px 0;
	background: #fff;
	border-radius: 12px;
	margin: 0 0 20px;
	font-size: 13px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.06);
	padding-left: 20px;
	padding-right: 20px;
}
.wanyou-pt .z { color: #64748b; }
.wanyou-pt a {
	color: #475569;
	text-decoration: none;
	transition: color 0.2s;
	font-weight: 500;
}
.wanyou-pt a:hover { color: #2B7ACD; }
.wanyou-pt em { color: #94a3b8; margin: 0 8px; font-style: normal; font-weight: 400; }

/* 操作按钮区 */
.wanyou-pgt {
	padding: 18px 0;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	border-bottom: none;
}
.wanyou-pgt .pgt { margin: 0; }
.wanyou-pgt .pgb { margin: 0; margin-left: auto; }
.wanyou-pgt .pgb a {
	color: #64748b;
	font-size: 13px;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 8px;
	transition: all 0.2s;
	background: #f1f5f9;
	border: 1px solid transparent;
}
.wanyou-pgt .pgb a:hover { background: #e2e8f0; color: #2B7ACD; }
.wanyou-pgt .pgsbtn {
	display: inline-block;
	padding: 10px 22px;
	background: linear-gradient(135deg, #2B7ACD 0%, #1e5fb0 100%);
	color: #fff !important;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 3px 12px rgba(43,122,205,0.35);
	transition: all 0.25s ease;
	border: none;
	letter-spacing: 0.02em;
}
.wanyou-pgt .pgsbtn:hover {
	background: linear-gradient(135deg, #1e5fb0 0%, #164a8a 100%);
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(43,122,205,0.4);
}

/* 管理菜单 */
.wanyou-modmenu {
	font-size: 12px;
	padding: 12px 0;
	margin-bottom: 18px;
	color: #64748b;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	padding-left: 16px;
	padding-right: 16px;
}
.wanyou-modmenu a {
	margin: 0 8px 0 0;
	color: #2B7ACD;
	text-decoration: none;
	padding: 2px 0;
}
.wanyou-modmenu a:hover { text-decoration: underline; color: #1e5fb0; }
.wanyou-modmenu .pipe { color: #cbd5e1; margin: 0 6px; }

/* 帖子卡片 */
.wanyou-postlist { margin: 0; }
.wanyou-post-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 32px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	transition: box-shadow 0.25s ease, border-color 0.2s;
}
.wanyou-post-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
	border-color: #cbd5e1;
}
.wanyou-post-hd { margin-bottom: 20px; }
.wanyou-post-avatar { float: left; margin-right: 18px; }
.wanyou-post-avatar .avatar img {
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border: 1px solid rgba(255,255,255,0.8);
}
.wanyou-post-meta { overflow: hidden; }
.wanyou-post-title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
	letter-spacing: -0.02em;
}
.wanyou-post-subtitle {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 600;
	color: #334155;
	line-height: 1.4;
}
.wanyou-post-info { margin: 0; font-size: 13px; color: #64748b; }
.wanyou-post-info .xi2 { color: #2B7ACD; font-weight: 600; }
.wanyou-post-bd {
	clear: both;
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
}
.wanyou-post-bd .pcb { margin: 0; }
.wanyou-post-bd .t_f {
	font-size: 15px;
	line-height: 1.85;
	color: #334155;
}
.wanyou-post-bd .t_f h2, .wanyou-post-bd .t_f h3 {
	margin: 24px 0 14px;
	font-size: 17px;
	color: #1e293b;
	font-weight: 700;
	border-bottom: none;
	padding-bottom: 0;
}
.wanyou-post-bd .t_f h2:first-child, .wanyou-post-bd .t_f h3:first-child { margin-top: 0; }
.wanyou-post-bd .t_f ul, .wanyou-post-bd .t_f ol { margin: 14px 0; padding-left: 26px; }
.wanyou-post-bd .t_f li { margin-bottom: 8px; }
.wanyou-post-bd .t_f blockquote, .wanyou-post-bd .t_f .quote {
	margin: 16px 0;
	padding: 14px 18px;
	background: #f8fafc;
	border-left: 4px solid #2B7ACD;
	border-radius: 0 8px 8px 0;
	color: #475569;
}
.wanyou-post-ft {
	padding-top: 18px;
	margin-top: 18px;
	border-top: 1px dashed #e2e8f0;
	font-size: 13px;
	color: #64748b;
}
.wanyou-post-ft .fastre, .wanyou-post-ft .editp {
	margin-right: 18px;
	color: #2B7ACD;
	text-decoration: none;
	font-weight: 500;
}
.wanyou-post-ft .fastre:hover, .wanyou-post-ft .editp:hover { text-decoration: underline; }

/* 帖子内评论列表 */
.wanyou-post-card .cm { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f1f5f9; }
.wanyou-post-card .psth { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #334155; }
.wanyou-post-card .pstl { padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
.wanyou-post-card .pstl:last-of-type { border-bottom: none; }
.wanyou-post-card .psta { margin-bottom: 8px; }
.wanyou-post-card .psta img { border-radius: 8px; }
.wanyou-post-card .psti { font-size: 14px; line-height: 1.65; color: #475569; }
.wanyou-post-card .psti .xg1 { font-size: 12px; color: #94a3b8; }

/* 卡片通用 */
.wanyou-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px 28px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}
.wanyou-card-title { margin: 0 0 18px; font-size: 17px; font-weight: 700; color: #1e293b; }
.wanyou-title-vline { padding-left: 14px; border-left: 4px solid #2B7ACD; margin-left: -14px; }

/* 免责声明 */
.wanyou-disclaimer {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-color: #e2e8f0;
}
.wanyou-disclaimer-inner { position: relative; padding-right: 40px; }
.wanyou-disclaimer-text { margin: 0; font-size: 14px; color: #64748b; line-height: 1.65; }
.wanyou-disclaimer-toggle {
	position: absolute;
	right: 0;
	top: 0;
	width: 32px;
	height: 32px;
	line-height: 30px;
	text-align: center;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	cursor: pointer;
	font-size: 18px;
	color: #64748b;
	background: #fff;
	transition: all 0.2s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.wanyou-disclaimer-toggle:hover {
	background: #2B7ACD;
	color: #fff;
	border-color: #2B7ACD;
	transform: scale(1.05);
}

/* 标签区块 */
.wanyou-tags-block { padding: 20px 28px; }
.wanyou-label { margin-right: 12px; font-size: 14px; color: #64748b; font-weight: 600; }
.wanyou-tag-pill {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 8px 16px;
	background: #f1f5f9;
	color: #475569;
	border-radius: 999px;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.2s;
	border: 1px solid transparent;
}
.wanyou-tag-pill:hover {
	background: #e2e8f0;
	color: #2B7ACD;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 同类推荐 */
.wanyou-related-grid { margin: 0; padding: 0; list-style: none; overflow: hidden; display: flex; flex-wrap: wrap; gap: 14px; }
.wanyou-related-item { width: calc(33.333% - 10px); box-sizing: border-box; }
.wanyou-related-info {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px;
	transition: all 0.25s ease;
}
.wanyou-related-info:hover {
	background: #fff;
	border-color: #2B7ACD;
	box-shadow: 0 6px 20px rgba(43,122,205,0.12);
	transform: translateY(-2px);
}
.wanyou-related-tt {
	display: block;
	margin-bottom: 12px;
	font-size: 14px;
	color: #334155;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
}
.wanyou-related-tt:hover { color: #2B7ACD; text-decoration: none; }
.wanyou-btn-view {
	display: inline-block;
	padding: 8px 16px;
	background: linear-gradient(135deg, #2B7ACD 0%, #1e5fb0 100%);
	color: #fff !important;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	box-shadow: 0 2px 8px rgba(43,122,205,0.3);
}
.wanyou-btn-view:hover {
	background: linear-gradient(135deg, #1e5fb0 0%, #164a8a 100%);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(43,122,205,0.4);
}

/* 评论区 */
.wanyou-comment-block .tedt { margin-top: 18px; }
.wanyou-comment-tip {
	padding: 28px 0;
	font-size: 14px;
	color: #94a3b8;
	text-align: center;
	background: #f8fafc;
	border-radius: 12px;
	margin: 0 0 0 0;
	border: 1px dashed #e2e8f0;
}
.wanyou-fastpost {
	background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px 28px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.wanyou-fastpost .pls { padding: 0 20px 0 0; vertical-align: top; }
.wanyou-fastpost .pls .avatar img {
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border: 1px solid rgba(255,255,255,0.8);
}
.wanyou-fastpost .bar { margin-bottom: 14px; font-size: 13px; }
.wanyou-fastpost .bar a { color: #64748b; }
.wanyou-fastpost .bar a:hover { color: #2B7ACD; }
.wanyou-fastpost .area textarea {
	width: 100%;
	min-height: 120px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 18px;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.7;
	transition: border-color 0.2s, box-shadow 0.2s;
	resize: vertical;
}
.wanyou-fastpost .area textarea:focus {
	outline: none;
	border-color: #2B7ACD;
	box-shadow: 0 0 0 4px rgba(43,122,205,0.12);
}
.wanyou-fastpost .area textarea::placeholder { color: #94a3b8; }
.wanyou-fastpost-actions { margin: 18px 0 0; }
.wanyou-guest-qq {
	width: 160px;
	margin-right: 14px;
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.wanyou-guest-qq:focus {
	outline: none;
	border-color: #2B7ACD;
	box-shadow: 0 0 0 3px rgba(43,122,205,0.1);
}
.wanyou-btn-reply {
	padding: 12px 28px;
	background: linear-gradient(135deg, #2B7ACD 0%, #1e5fb0 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 3px 12px rgba(43,122,205,0.35);
	transition: all 0.25s ease;
}
.wanyou-btn-reply:hover {
	background: linear-gradient(135deg, #1e5fb0 0%, #164a8a 100%) !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(43,122,205,0.4);
}

/* 底部操作区 */
.wanyou-viewthread-ct .pgs {
	padding: 24px 0;
	margin-top: 28px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
.wanyou-viewthread-ct .pgs .pgb { margin-left: auto; }
.wanyou-viewthread-ct .pgs .pgb a {
	color: #64748b;
	font-size: 13px;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 8px;
	transition: all 0.2s;
	background: #f1f5f9;
}
.wanyou-viewthread-ct .pgs .pgb a:hover { background: #e2e8f0; color: #2B7ACD; }
.wanyou-viewthread-ct .pgs .pgsbtn {
	display: inline-block;
	padding: 10px 22px;
	background: linear-gradient(135deg, #2B7ACD 0%, #1e5fb0 100%);
	color: #fff !important;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 3px 12px rgba(43,122,205,0.35);
	transition: all 0.25s ease;
}
.wanyou-viewthread-ct .pgs .pgsbtn:hover {
	background: linear-gradient(135deg, #1e5fb0 0%, #164a8a 100%);
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(43,122,205,0.4);
}

/* 侧边栏 */
.wanyou-side-block {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 20px 22px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}
.wanyou-side-title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	padding-bottom: 12px;
	border-bottom: 2px solid #2B7ACD;
}
.wanyou-cat-grid { margin: 0; padding: 0; list-style: none; }
.wanyou-cat-btn {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 10px 18px;
	background: #f1f5f9;
	color: #475569;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
	border: 1px solid transparent;
}
.wanyou-cat-btn:hover { background: #e2e8f0; color: #2B7ACD; text-decoration: none; }
.wanyou-cat-btn.on {
	background: linear-gradient(135deg, #2B7ACD 0%, #1e5fb0 100%);
	color: #fff !important;
	border-color: transparent;
	box-shadow: 0 2px 8px rgba(43,122,205,0.3);
}
.wanyou-recommend-list { margin: 0; padding: 0; list-style: none; }
.wanyou-rec-item {
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
	transition: padding-left 0.2s, background 0.2s;
	border-radius: 8px;
	padding-left: 8px;
	margin: 0 -4px;
}
.wanyou-rec-item:hover { padding-left: 12px; background: #f8fafc; }
.wanyou-rec-item:last-child { border-bottom: none; }
.wanyou-rec-num {
	display: inline-block;
	width: 26px;
	height: 26px;
	line-height: 24px;
	text-align: center;
	border-radius: 8px;
	background: #e2e8f0;
	color: #64748b;
	font-size: 12px;
	margin-right: 12px;
	font-weight: 700;
}
.wanyou-rec-num-1 {
	background: linear-gradient(135deg, #2B7ACD 0%, #1e5fb0 100%);
	color: #fff;
	box-shadow: 0 2px 6px rgba(43,122,205,0.35);
}
.wanyou-rec-num-2 {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	color: #fff;
	box-shadow: 0 2px 6px rgba(14,165,233,0.35);
}
.wanyou-rec-item a { color: #334155; text-decoration: none; font-weight: 600; }
.wanyou-rec-item a:hover { color: #2B7ACD; text-decoration: none; }

/* 帖子内页：验证码/安全验证区域 */
body#nv_forum.pg_viewthread #seccheck_fastpost {
	margin-top: 14px;
	padding: 14px 0 0;
	border-top: 1px solid #f1f5f9;
}
body#nv_forum.pg_viewthread #seccheck_fastpost .p_tbl input[type="text"],
body#nv_forum.pg_viewthread #seccheck_fastpost input.px {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	transition: border-color 0.2s;
}
body#nv_forum.pg_viewthread #seccheck_fastpost input:focus {
	outline: none;
	border-color: #2B7ACD;
}
body#nv_forum.pg_viewthread .wanyou-fastpost-actions.cl {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
