/*
Theme Name: 讲堂风格
Description: 大讲课堂风格复刻：蓝色导航、宫格分类、轮播、热门标签、今日头条、频道分区（每频道 大图+标题列表+热门推荐）。
Author: push
Version: 1.0.0
*/

/* ============ 0. 变量与基础 ============ */
:root {
	--main: #1673ff;
	--main-deep: #0f5edb;
	--red: #f43b3b;
	--ink: #222;
	--gray: #888;
	--line: #eee;
	--bg: #f6f7f9;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Microsoft Yahei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	word-wrap: break-word;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--main); }
img { border: 0; vertical-align: middle; max-width: 100%; }
h1, h2, h3, h4 { font-weight: bold; margin: 0; }
ul, ol, p, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
time { color: var(--gray); font-size: 13px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 全站统一宽度容器：头部/导航/热点条/内容/页脚全部包在同一容器内，左右两侧不可能超出 */
.page-wrap {
	max-width: 1200px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 0 16px rgba(30, 60, 120, .08);
}

/* 通用白卡 */
.card { background: #fff; border-radius: 8px; }

/* 卡片标题条（最新文章 / 今日头条 等） */
.card-head {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
}
.card-head h2 { font-size: 17px; }
.card-head h2.tone-red { color: var(--red); }
.card-head h2::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 15px;
	border-radius: 3px;
	background: currentColor;
	margin-right: 8px;
	vertical-align: -2px;
}

/* 频道调色（模板输出 --tone） */
.tone { color: var(--tone, var(--main)); }

/* ============ 1. 顶部 ============ */
.site-header { background: #fff; padding: 18px 0 0; }
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { flex: 0 0 auto; }
.logo a {
	font-size: 42px;
	font-weight: bold;
	color: var(--main);
	letter-spacing: 2px;
	line-height: 1.2;
}

/* 顶部口号横幅（CSS 复刻，无需图片） */
.top-banner {
	flex: 1;
	height: 80px;
	border-radius: 10px;
	background: linear-gradient(100deg, #2f7dff 0%, #1668f5 55%, #0f56d8 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	font-size: 26px;
	font-weight: bold;
	letter-spacing: 8px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, .18);
}
.top-banner span.dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .55);
}

/* 顶部宣传图轮播：4 张图淡入淡出循环（纯 CSS），每张叠加一句宣传语 */
/* min-width:0 关键：top-banner 是 header-inner 的 flex 子项，否则会被内容撑开导致页面横向溢出 */
.top-banner { min-width: 0; position: relative; overflow: hidden; }
.bn-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: bn-fade 24s linear infinite;
}
.bn-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-slide b {
	position: relative;
	z-index: 1;
	text-shadow: 0 2px 6px rgba(8, 30, 80, .6);
}
.bn-slide:nth-child(1) { animation-delay: 0s; }
.bn-slide:nth-child(2) { animation-delay: 6s; }
.bn-slide:nth-child(3) { animation-delay: 12s; }
.bn-slide:nth-child(4) { animation-delay: 18s; }
@keyframes bn-fade {
	0%, 4% { opacity: 0; }
	8%, 25% { opacity: 1; }
	29%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.bn-slide { animation: none; }
	.bn-slide:nth-child(1) { opacity: 1; }
}

/* 蓝色导航 */
.site-nav { background: var(--main); margin-top: 16px; }
.site-nav ul { display: flex; flex-wrap: wrap; }
.site-nav a {
	display: block;
	padding: 0 22px;
	line-height: 44px;
	color: #fff;
	font-size: 16px;
	white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-category-parent > a { background: var(--main-deep); color: #fff; }

/* 热点条：三组分类速览 */
.hot-bar { background: #fff; border-bottom: 1px solid var(--line); }
.hot-bar .container { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-top: 9px; padding-bottom: 9px; }
.hot-group { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.hot-group b {
	color: var(--tone, var(--main));
	font-size: 15px;
	padding-right: 14px;
	border-right: 1px solid var(--line);
}
.hot-group a { color: #555; }
.hot-group a:hover { color: var(--main); }

/* 热点条右侧：日期 + 登录按钮 */
.hot-extra { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hot-date { color: #888; font-size: 14px; white-space: nowrap; }
.hot-user { color: var(--main); font-size: 14px; }
.btn-login {
	display: inline-block;
	padding: 5px 24px;
	border-radius: 16px;
	background: var(--main);
	color: #fff;
	font-size: 14px;
	white-space: nowrap;
}
.btn-login:hover { background: var(--main-deep); color: #fff; }
.btn-login.btn-ws {
	background: #fff;
	color: var(--main);
	border: 1px solid var(--main);
	padding: 4px 18px;
}
.btn-login.btn-ws:hover { background: var(--main); color: #fff; }

/* ============ 2. 首屏：宫格 + 轮播 + 热门标签 ============ */
.home-hero {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr) 290px;
	gap: 15px;
	margin-top: 15px;
}

/* 分类宫格 3x3；行高平分并垂直居中，保证与轮播底边对齐 */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; align-content: stretch; background: #fff; border-radius: 8px; padding: 6px; }
.cat-grid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 14px 4px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: #333;
}
.cat-grid a:hover { background: #f2f7ff; color: var(--main); }
.cat-grid .ico {
	width: 40px; height: 40px;
	border-radius: 12px;
	background: var(--tone, var(--main));
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 轮播 */
.carousel { position: relative; border-radius: 8px; overflow: hidden; background: #dfe9f8; min-height: 300px; }
.carousel .slide { position: absolute; inset: 0; display: none; }
.carousel .slide.on { display: block; }
.carousel .slide a { display: block; position: relative; height: 100%; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .slide .cap {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 26px 16px 12px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	background: linear-gradient(transparent, rgba(0, 0, 0, .62));
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.carousel .ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 34px; font-weight: bold; letter-spacing: 6px;
	color: rgba(255, 255, 255, .85);
	background: var(--tone, var(--main));
}
.carousel .dots {
	position: absolute;
	right: 14px; bottom: 46px;
	display: flex; gap: 7px;
}
.carousel .dots i {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
}
.carousel .dots i.on { background: #fff; }

/* 热门标签云 */
.tag-cloud { background: #fff; border-radius: 8px; padding: 8px 12px 14px; }
.tag-cloud .tc-head { font-size: 15px; font-weight: bold; color: var(--red); padding: 8px 2px 6px; }
.tag-cloud .tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud .tags a {
	padding: 4px 11px;
	border-radius: 15px;
	font-size: 13px;
	color: var(--tone, var(--main));
	background: color-mix(in srgb, var(--tone, var(--main)) 12%, #fff);
}
.tag-cloud .tags a:hover { background: var(--tone, var(--main)); color: #fff; }

/* ============ 3. 今日头条 ============ */
.headline-wrap {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 15px;
	margin-top: 15px;
}

/* 侧栏：最新文章 */
.side-latest li { padding: 10px 16px; border-bottom: 1px dashed var(--line); }
.side-latest li:last-child { border-bottom: 0; }
.side-latest a {
	display: block;
	font-size: 14px;
	line-height: 1.5;
	max-height: 42px;
	overflow: hidden;
	margin-bottom: 4px;
}
.side-latest time { font-size: 12px; }

/* 头条主区 */
.headline-main { padding-bottom: 10px; }
.hl-cards {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	padding: 14px 16px 6px;
}
.hl-cards a { display: block; }
.hl-cards .im {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 108px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--tone, var(--main));
	margin-bottom: 7px;
}
.hl-cards .im img { width: 100%; height: 100%; object-fit: cover; }
.hl-cards .im .ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; font-weight: bold; letter-spacing: 4px;
	color: rgba(255, 255, 255, .88);
}
.hl-cards .tt {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	max-height: 38px;
	overflow: hidden;
}
.hl-cards a:hover .tt { color: var(--main); }

.hl-list { padding: 4px 16px 6px; }
.hl-list ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.hl-list li { min-width: 0; }
.hl-list li a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 14px;
}
.hl-list .t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hl-list time { color: var(--red); flex: 0 0 auto; }
.hl-list li a:hover .t { color: var(--main); }

/* ============ 4. 橙色口号横幅 ============ */
.promo-banner {
	margin-top: 15px;
	border-radius: 10px;
	height: 96px;
	background: linear-gradient(98deg, #ffb03a 0%, #ff9221 48%, #ff7d12 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	font-size: 34px;
	font-weight: bold;
	letter-spacing: 10px;
	text-shadow: 0 2px 5px rgba(160, 70, 0, .3);
}
.promo-banner span.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5); }

/* 橙条滚动热文：标题横向无缝滚动（可点击、悬停暂停）；bn-dot 用 margin 撑间隔，保证双份内容 translateX(-50%) 精确无缝 */
.promo-banner .bn-tag {
	flex: 0 0 auto;
	font-size: 18px;
	letter-spacing: 2px;
	padding: 5px 14px;
	border-radius: 15px;
	background: rgba(255, 255, 255, .22);
	text-shadow: none;
}
.promo-banner .bn-scroll {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}
.promo-banner .bn-track {
	width: max-content;
	display: flex;
	align-items: center;
	animation: bn-marquee 60s linear infinite;
}
.promo-banner .bn-scroll:hover .bn-track { animation-play-state: paused; }
.promo-banner .bn-track a {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #fff;
	white-space: nowrap;
}
.promo-banner .bn-track a:hover { color: #fff3d6; }
.promo-banner .bn-dot {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	margin: 0 16px;
}
@keyframes bn-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ============ 5. 频道区块 ============ */
.channel { margin-top: 26px; }
.channel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid var(--tone, var(--main));
	padding-bottom: 8px;
	margin-bottom: 14px;
}
.channel-head h2 { font-size: 22px; color: var(--tone, var(--main)); letter-spacing: 1px; }
.channel-head .more { color: var(--red); font-size: 14px; }

.channel-body {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr) 285px;
	gap: 18px;
	background: #fff;
	border-radius: 8px;
	padding: 16px;
}

/* 左：大图特写 */
.ch-feature { position: relative; border-radius: 8px; overflow: hidden; height: 264px; background: var(--tone, var(--main)); }
.ch-feature img { width: 100%; height: 100%; object-fit: cover; }
.ch-feature .cap {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 40px 14px 12px;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	background: linear-gradient(transparent, rgba(0, 0, 0, .66));
	max-height: 96px;
	overflow: hidden;
}
.ch-feature .ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; font-weight: bold; letter-spacing: 4px;
	color: rgba(255, 255, 255, .88);
}

/* 中：标题列表 */
.ch-list li { border-bottom: 1px dashed var(--line); }
.ch-list li:last-child { border-bottom: 0; }
.ch-list a { display: block; padding: 9px 2px; }
.ch-list .t {
	font-size: 16px;
	font-weight: bold;
	color: #222;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-list .d {
	font-size: 13px;
	color: var(--gray);
	margin-top: 3px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-list a:hover .t { color: var(--tone, var(--main)); }

/* 右：热门推荐 2x2 */
.ch-hot .h { font-size: 15px; font-weight: bold; color: var(--red); margin-bottom: 10px; }
.ch-hot ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch-hot a { display: block; position: relative; height: 100px; border-radius: 8px; overflow: hidden; background: var(--tone, var(--main)); }
.ch-hot img { width: 100%; height: 100%; object-fit: cover; }
.ch-hot .cap {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 20px 8px 6px;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	background: linear-gradient(transparent, rgba(0, 0, 0, .62));
	max-height: 52px;
	overflow: hidden;
}
.ch-hot .ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, .85);
	font-weight: bold;
	padding: 0 8px;
	text-align: center;
}

/* ============ 6. 列表页 / 归档 ============ */
.leader { background: #fff; border-radius: 8px; padding: 15px 18px; margin-top: 15px; display: flex; align-items: baseline; justify-content: space-between; }
.leader h1 { font-size: 19px; color: var(--tone, var(--main)); }
.leader small { color: var(--gray); font-size: 13px; font-weight: normal; }

.post-list { background: #fff; border-radius: 8px; margin-top: 12px; padding: 4px 18px; }
.post-list li { border-bottom: 1px dashed var(--line); }
.post-list li:last-child { border-bottom: 0; }
.post-list a { display: flex; gap: 16px; padding: 14px 0; }
.post-list .im { flex: 0 0 150px; height: 94px; border-radius: 8px; overflow: hidden; background: var(--tone, var(--main)); }
.post-list .im img { width: 100%; height: 100%; object-fit: cover; }
.post-list .im .ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 24px; font-weight: bold; color: rgba(255, 255, 255, .88);
}
.post-list .tx { flex: 1; min-width: 0; }
.post-list .t { font-size: 17px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-list .d {
	color: var(--gray); font-size: 13px; margin-top: 5px;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.post-list .m { margin-top: 8px; font-size: 12px; color: #aaa; }
.post-list .m span { margin-right: 14px; }

/* 分页 */
.pagination { text-align: center; padding: 20px 0 4px; }
.pagination a, .pagination span {
	display: inline-block;
	margin: 0 4px;
	padding: 7px 14px;
	background: #fff;
	border-radius: 6px;
	color: #555;
	font-size: 13px;
}
.pagination .current { background: var(--main); color: #fff; }

/* ============ 7. 文章页 ============ */
.single-card { background: #fff; border-radius: 8px; margin-top: 15px; padding: 28px 30px; }
.article-head { text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.article-head h1 { font-size: 24px; line-height: 1.4; }
.article-meta { margin-top: 10px; color: var(--gray); font-size: 13px; }
.article-meta span { margin: 0 10px; }
.article-meta a { color: var(--main); }

.article-content { font-size: 16px; line-height: 1.9; padding-top: 6px; word-wrap: break-word; }
.article-content::after { content: ""; display: block; clear: both; }
.article-content p { margin: 16px 0; }
.article-content h2 { font-size: 20px; margin: 24px 0 14px; padding-left: 12px; border-left: 4px solid var(--main); }
.article-content h3 { font-size: 18px; margin: 20px 0 12px; }
.article-content ul { list-style: disc; margin: 0 0 16px 30px; }
.article-content ol { list-style: decimal; margin: 0 0 16px 30px; }
.article-content li { margin-bottom: 5px; }
.article-content a { color: var(--main); text-decoration: underline; }
.article-content img { display: block; margin: 10px auto; border-radius: 6px; }
.article-content blockquote {
	margin: 18px 0; padding: 10px 16px;
	color: #777; background: #f7f9fc; border-left: 4px solid var(--line); border-radius: 4px;
}

/* 文末声明 + 上下篇 */
.post-declare {
	margin-top: 22px;
	padding: 12px 16px;
	background: #f7f9fc;
	border-radius: 8px;
	color: #999;
	font-size: 13px;
	line-height: 1.7;
}
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; font-size: 14px; }
.post-nav a { color: #555; }
.post-nav a:hover { color: var(--main); }

/* 相关推荐 */
.relates { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 14px; }
.relates .rt { font-size: 17px; font-weight: bold; color: var(--main); margin-bottom: 10px; }
.relates li { padding: 7px 0; }
.relates a { color: #444; font-size: 14px; }
.relates a::before { content: "·"; color: var(--main); margin-right: 8px; font-weight: bold; }
.relates a:hover { color: var(--main); }

/* ============ 8. 页脚 ============ */
.site-footer { margin-top: 30px; background: #fff; border-top: 1px solid var(--line); padding: 22px 0 26px; text-align: center; color: #999; font-size: 13px; }
.site-footer a { color: #999; margin: 0 8px; }
.site-footer a:hover { color: var(--main); }
.site-footer p { margin-top: 8px; }

/* 回顶部 */
.backtop {
	position: fixed;
	right: 24px; bottom: 90px;
	width: 46px; height: 46px;
	border-radius: 10px;
	background: var(--main);
	color: #fff;
	display: none;
	align-items: center; justify-content: center;
	font-size: 12px;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(22, 115, 255, .35);
}
.backtop.show { display: flex; }

/* ============ 8.5 登录页（/login，风格与注册页一致） ============ */
/* 登录/忘记密码页：整页上下左右居中 */
body.push-login-body {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 20px 15px;
}
.login-page { max-width: 400px; width: 100%; margin: 0 auto; }
.login-card {
	background: #fff;
	border-radius: 10px;
	padding: 36px 40px 30px;
	box-shadow: 0 6px 24px rgba(20, 60, 130, .10);
}
.login-head { text-align: center; margin-bottom: 24px; }
.login-head .lg {
	display: block;
	font-size: 26px;
	font-weight: bold;
	color: var(--main);
	letter-spacing: 2px;
}
.login-head .lg:hover { color: var(--main-deep); }
.login-head .sub { margin-top: 8px; color: #999; font-size: 13px; }
.login-form p { margin: 0 0 14px; }
.login-form label { display: block; color: #555; font-size: 14px; margin-bottom: 6px; }
.login-form .input {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid var(--line);
	border-radius: 6px;
	outline: none;
	box-sizing: border-box;
}
.login-form .input:focus { border-color: var(--main); }
.login-form .forgetmenot { display: flex; align-items: center; }
.login-form .forgetmenot label { margin: 0; }
.login-form .submit { margin-top: 20px; text-align: center; }
.login-form #wp-submit,
.login-form #sms-go,
.login-form #fp-go {
	width: 100%;
	padding: 11px;
	border: 0;
	border-radius: 22px;
	background: var(--main);
	color: #fff;
	font-size: 16px;
	letter-spacing: 6px;
	cursor: pointer;
}
.login-form #wp-submit:hover,
.login-form #sms-go:hover,
.login-form #fp-go:hover { background: var(--main-deep); }
.login-form #sms-go:disabled,
.login-form #fp-go:disabled { opacity: .6; cursor: default; }
.login-links { margin-top: 18px; text-align: center; font-size: 13px; color: #999; }
.login-links a { color: var(--main); margin: 0 6px; }
.login-links a:hover { color: var(--main-deep); }
.login-foot { margin-top: 16px; text-align: center; color: #bbb; font-size: 12px; }
.login-error {
	background: #fff;
	border-left: 4px solid var(--red, #e5484d);
	border-radius: 6px;
	padding: 10px 14px;
	margin-bottom: 16px;
	color: #c0392b;
	font-size: 13px;
}

/* 登录页：账号/手机切换标签 + 手机验证码表单 */
.login-tabs {
	display: flex;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line);
}
.login-tabs b {
	flex: 1;
	text-align: center;
	padding: 10px 0;
	font-size: 15px;
	font-weight: normal;
	color: #888;
	cursor: pointer;
	border-bottom: 2px solid transparent;
}
.login-tabs b.on { color: var(--main); border-bottom-color: var(--main); font-weight: bold; }
.sms-form .input { letter-spacing: 1px; }
.code-row { position: relative; }
.code-row .input { padding-right: 104px; }
#sms-send,
#fp-send {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 39px;
	line-height: 39px;
	padding: 0 12px;
	border: 0;
	background: none;
	color: var(--main);
	font-size: 13px;
	cursor: pointer;
}
#sms-send:hover,
#fp-send:hover { color: var(--main-deep); }
#sms-send:disabled,
#fp-send:disabled { color: #bbb; cursor: default; }
.sms-msg { min-height: 18px; margin-top: 4px; font-size: 13px; color: #e5484d; }
.sms-msg.ok { color: #1a9e55; }

/* ============ 9. 响应式（基础） ============ */
@media (max-width: 1024px) {
	.home-hero { grid-template-columns: 1fr 1fr; }
	.cat-grid { grid-column: 1 / -1; }
	.headline-wrap { grid-template-columns: 1fr; }
	.channel-body { grid-template-columns: 1fr; }
	.ch-feature { height: 210px; }
	.hl-cards { grid-template-columns: repeat(3, 1fr); }
	.top-banner { display: none; }
}
@media (max-width: 640px) {
	.home-hero { grid-template-columns: 1fr; }
	.hl-cards { grid-template-columns: 1fr 1fr; }
	.hl-list ul { grid-template-columns: 1fr; }
	.logo a { font-size: 26px; }
	.site-nav a { padding: 0 12px; font-size: 14px; }
	.promo-banner { font-size: 20px; letter-spacing: 4px; height: 64px; }
	.post-list a { gap: 12px; }
	.post-list .im { flex-basis: 110px; height: 72px; }
	.single-card { padding: 18px 16px; }
}

/* ============ 10. 创作者工作台（/workspace，独立发文界面） ============ */
body.push-ws-body { background: var(--bg); }

/* 顶栏 */
.ws-top { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 4px rgba(20, 60, 130, .05); }
.ws-top-inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 15px;
	height: 58px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.ws-brand { font-size: 20px; font-weight: bold; color: var(--main); letter-spacing: 1px; white-space: nowrap; }
.ws-brand span {
	font-size: 13px;
	font-weight: normal;
	color: #fff;
	background: var(--main);
	border-radius: 12px;
	padding: 2px 10px;
	margin-left: 8px;
	vertical-align: 2px;
}
.ws-nav { display: flex; }
.ws-nav a { display: block; line-height: 58px; padding: 0 16px; font-size: 15px; color: #444; }
.ws-nav a:hover { color: var(--main); }
.ws-nav a.on { color: var(--main); font-weight: bold; box-shadow: inset 0 -2px 0 var(--main); }
.ws-user { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; color: #555; white-space: nowrap; }
.ws-user a { color: #666; }
.ws-user a:hover { color: var(--main); }

/* 主体 */
.ws-main { max-width: 1080px; margin: 18px auto 50px; padding: 0 15px; }
.ws-banner {
	background: #fff7e6;
	border: 1px solid #ffd591;
	color: #ad6800;
	border-radius: 8px;
	padding: 10px 16px;
	margin-bottom: 14px;
	font-size: 14px;
}

/* 统计卡片 */
.ws-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 14px; }
.ws-card { background: #fff; border-radius: 8px; padding: 14px 16px; }
.ws-card span { display: block; color: #999; font-size: 13px; margin-bottom: 6px; }
.ws-card b { font-size: 26px; line-height: 1.2; color: var(--ink); }
.ws-card b small { font-size: 13px; color: #999; font-weight: normal; }
.ws-card b.tone-blue { color: var(--main); }
.ws-card b.tone-red { color: var(--red); }
.ws-card b.tone-main { color: var(--main); }

/* 面板 */
.ws-panel { background: #fff; border-radius: 8px; padding: 18px 20px; margin-bottom: 14px; }
.ws-panel h3 { font-size: 16px; display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ws-panel h3 span { color: #999; font-size: 13px; font-weight: normal; }
.ws-panel h3 .ws-new { margin-left: auto; padding: 6px 18px; font-size: 14px; font-weight: normal; }

/* 文章搜索 */
.ws-search { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; flex-wrap: wrap; }
.ws-search .ws-input { width: 260px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; outline: none; font-size: 14px; }
.ws-search .ws-input:focus { border-color: var(--main); }
.ws-search .ws-btn { height: 34px; line-height: 32px; padding: 0 18px; }

/* 列表分页 */
.ws-page { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 0 4px; }
.ws-page .pg-btn {
	display: inline-block;
	min-width: 32px;
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: 6px;
	text-align: center;
	font-size: 14px;
	color: #555;
	background: #fff;
}
.ws-page .pg-btn:hover { color: var(--main); border-color: var(--main); }
.ws-page .pg-btn.on { background: var(--main); border-color: var(--main); color: #fff; font-weight: bold; }
.ws-page .pg-info { color: #999; font-size: 13px; margin-left: 6px; }

/* 资料表单 */
.ws-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ws-form label { display: block; color: #555; font-size: 13px; margin-bottom: 6px; }
.ws-input {
	width: 100%;
	height: 38px;
	padding: 0 12px;
	font-size: 14px;
	border: 1px solid var(--line);
	border-radius: 6px;
	outline: none;
	box-sizing: border-box;
}
.ws-input:focus { border-color: var(--main); }

/* 表格 */
.ws-scroll { overflow-x: auto; }
.ws-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ws-table th, .ws-table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid #f0f2f5; vertical-align: top; }
.ws-table th { background: #fafbfc; color: #666; font-weight: bold; white-space: nowrap; }
.ws-table .tt { max-width: 320px; font-weight: bold; }
.ws-table .note { color: #e02020; font-size: 13px; max-width: 220px; }
.ws-table .ws-empty { text-align: center; color: #aaa; padding: 30px 0; }

/* 状态徽章 */
.ws-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12px;
	margin-right: 4px;
	white-space: nowrap;
}
.ws-badge.b-green { background: #e6f7ef; color: #0f9d58; }
.ws-badge.b-blue { background: #e8f1ff; color: var(--main); }
.ws-badge.b-gray { background: #f2f3f5; color: #888; }
.ws-badge.b-red { background: #ffeef0; color: #e02020; }

/* 按钮 */
.ws-btn {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 4px;
	border: 1px solid var(--main);
	color: var(--main);
	background: #fff;
	font-size: 13px;
	cursor: pointer;
	text-align: center;
}
.ws-btn:hover { background: #f0f6ff; color: var(--main-deep); border-color: var(--main-deep); }
.ws-btn.primary { background: var(--main); color: #fff; }
.ws-btn.primary:hover { background: var(--main-deep); color: #fff; }
.ws-btn.red { border-color: #e02020; color: #e02020; }
.ws-btn.red:hover { background: #fff1f0; color: #e02020; border-color: #e02020; }
.ws-btn:disabled { opacity: .6; cursor: default; }

/* 编辑页 */
.ws-editor .ws-title {
	width: 100%;
	height: 46px;
	font-size: 18px;
	font-weight: bold;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 6px;
	outline: none;
	box-sizing: border-box;
}
.ws-editor .ws-title:focus { border-color: var(--main); }
.ws-editor .wp-editor-container { border-radius: 6px; overflow: hidden; }
.ws-actions { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ws-note { color: #999; font-size: 13px; }
.ws-msg { font-size: 13px; color: #e5484d; }
.ws-msg.ok { color: #1a9e55; }

/* 工作台响应式 */
@media (max-width: 900px) {
	.ws-cards { grid-template-columns: repeat(2, 1fr); }
	.ws-form { grid-template-columns: 1fr; }
	.ws-nav a { padding: 0 10px; font-size: 14px; }
	.ws-brand span { display: none; }
}
