/* =========================================================
   中国易经协会 · 现代易学门户主题 (ym2026)
   设计语言：宣纸底 + 品牌红 #C21B23 + 墨色，卡片化，响应式
   ========================================================= */

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Microsoft Yahei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.7;
	color: #3a352f;
	background: linear-gradient(180deg, #f4efe7 0, #f7f5f2 220px);
}
a { color: #3a352f; text-decoration: none; transition: color .15s; }
a:hover { color: #C21B23; }
img { max-width: 100%; border: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
p { margin: 0 0 12px; }
h1, h2, h3, h4 { margin: 0; font-weight: bold; line-height: 1.4; }

.ym-wrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clr { clear: both; }

/* ---------- 顶栏（深墨） ---------- */
.ym-topbar { background: #26221e; color: #b9b0a4; font-size: 12px; }
.ym-topbar .ym-wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.ym-topbar a { color: #cfc6ba; margin-left: 14px; }
.ym-topbar a:hover { color: #fff; }
.ym-topbar .ym-welcome { letter-spacing: 1px; }
.ym-topbar .ym-welcome b { color: #e6d9c8; font-weight: normal; }

/* ---------- 头部（logo + 搜索） ---------- */
.ym-header { background: #fff; border-bottom: 1px solid #efe9e0; }
.ym-header .ym-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; gap: 14px; }
.ym-brand { display: flex; align-items: center; gap: 14px; }
.ym-logo { width: 54px; height: 54px; background: #C21B23; border-radius: 6px; position: relative; flex: none; }
.ym-logo::after { content: "易"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 34px; font-weight: bold; font-family: "KaiTi", "STKaiti", serif; }
.ym-brand-text .ym-sitename { font-size: 26px; color: #C21B23; font-weight: bold; letter-spacing: 3px; font-family: "Microsoft Yahei"; line-height: 1.2; }
.ym-brand-text .ym-slogan { font-size: 12px; color: #9a938a; letter-spacing: 2px; margin-top: 3px; }
.ym-official { display: inline-block; font-size: 12px; color: #fff; background: linear-gradient(135deg, #d8a13a, #c78b23); padding: 2px 10px; border-radius: 2px; margin-left: 10px; vertical-align: 4px; letter-spacing: 2px; }

.ym-search { display: flex; width: 400px; max-width: 100%; }
.ym-search input[type=text] {
	flex: 1; border: 2px solid #C21B23; border-right: 0; padding: 9px 14px; font-size: 14px; outline: none;
	border-radius: 3px 0 0 3px; color: #3a352f; background: #fff;
}
.ym-search button {
	border: 0; background: #C21B23; color: #fff; padding: 0 26px; font-size: 14px; letter-spacing: 4px;
	cursor: pointer; border-radius: 0 3px 3px 0; font-family: "Microsoft Yahei";
}
.ym-search button:hover { background: #a5151c; }
.ym-search-hots { font-size: 12px; color: #9a938a; margin-top: 6px; }
.ym-search-hots a { color: #9a938a; margin-right: 10px; }
.ym-search-hots a:hover { color: #C21B23; }

/* ---------- 主导航（红，sticky） ---------- */
.ym-nav { background: linear-gradient(180deg, #cf2229, #C21B23 55%, #a8151c); box-shadow: 0 2px 6px rgba(0,0,0,.12); position: sticky; top: 0; z-index: 90; }
.ym-nav .ym-wrap { display: flex; align-items: stretch; }
.ym-nav-menu { display: flex; flex: 1; flex-wrap: wrap; }
.ym-nav a {
	display: block; color: #fff; font-size: 16px; letter-spacing: 2px; padding: 13px 22px;
	font-family: "Microsoft Yahei";
}
.ym-nav a:hover, .ym-nav a.on { background: rgba(0,0,0,.18); color: #fff; }
.ym-nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 18px; padding: 10px 15px; cursor: pointer; }

/* ---------- 面包屑 ---------- */
.ym-crumb { background: #fff; border-bottom: 1px solid #efe9e0; }
.ym-crumb .ym-wrap { padding-top: 10px; padding-bottom: 10px; font-size: 13px; color: #9a938a; }
.ym-crumb a { color: #7c746a; margin: 0 2px; }
.ym-crumb a:hover { color: #C21B23; }
.ym-crumb .ym-cur { color: #C21B23; }

/* ---------- 页面主体网格 ---------- */
.ym-body { padding: 22px 0 40px; }
.ym-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.ym-layout--full { grid-template-columns: 1fr; }
.ym-hero > *, .ym-layout > *, .ym-section > *, .ym-cols2 > *, .ym-cols3 > *, .post-grid > * { min-width: 0; }

/* ---------- 卡片与区块头 ---------- */
.ym-card { background: #fff; border: 1px solid #e9e2d8; border-radius: 4px; box-shadow: 0 1px 2px rgba(60,50,40,.04); }
.ym-panel { margin-bottom: 22px; }
.ym-panel-hd {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 18px; border-bottom: 1px solid #efe9e0;
}
.ym-panel-hd h2, .ym-panel-hd h3 {
	font-size: 17px; color: #2f2a26; letter-spacing: 1px; padding-left: 12px; position: relative; font-family: "Microsoft Yahei";
}
.ym-panel-hd h2::before, .ym-panel-hd h3::before {
	content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	width: 4px; height: 18px; background: #C21B23; border-radius: 2px;
}
.ym-panel-hd .ym-more { font-size: 13px; color: #9a938a; }
.ym-panel-hd .ym-more:hover { color: #C21B23; }
.ym-panel-bd { padding: 14px 18px 16px; }

/* ---------- 文章列表（栏目页/搜索） ---------- */
.ym-list .ym-item {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	padding: 11px 6px; border-bottom: 1px dashed #ece5da; font-size: 15px;
}
.ym-list .ym-item:last-child { border-bottom: 0; }
.ym-list .ym-item::before { content: "·"; color: #C21B23; font-weight: bold; flex: none; }
.ym-list .ym-item a { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ym-list .ym-item time { flex: none; font-size: 13px; color: #a39a8e; }
.ym-list .ym-item:hover { background: #fdfaf6; }

/* ---------- 分页 ---------- */
.ym-pager { text-align: center; padding: 18px 0 6px; font-size: 13px; color: #9a938a; }
.ym-pager a, .ym-pager span, .ym-pager strong {
	display: inline-block; min-width: 34px; padding: 6px 12px; margin: 0 3px;
	border: 1px solid #e2dbd0; border-radius: 3px; background: #fff; color: #6f685e;
}
.ym-pager a:hover { border-color: #C21B23; color: #C21B23; }
.ym-pager strong, .ym-pager span.current { background: #C21B23; border-color: #C21B23; color: #fff; font-weight: normal; }

/* ---------- 文章详情 ---------- */
.ym-article { padding: 8px 34px 30px; }
.ym-article-title { text-align: center; font-size: 26px; color: #2f2a26; letter-spacing: 1px; padding: 26px 0 8px; font-family: "Microsoft Yahei"; }
.ym-article-sub { display: flex; justify-content: center; gap: 18px; padding: 10px 0 18px; border-bottom: 2px solid #C21B23; margin-bottom: 4px; font-size: 13px; color: #9a938a; flex-wrap: wrap; }
.ym-article-body { padding-top: 18px; font-size: 16px; line-height: 1.95; color: #3a352f; word-break: break-word; }
.ym-article-body p { margin-bottom: 14px; text-indent: 0; }
.ym-article-body img { display: block; margin: 10px auto; border-radius: 3px; }
.ym-article-body h2, .ym-article-body h3 { color: #2f2a26; margin: 18px 0 10px; }
.ym-article-body h3 { font-size: 17px; border-left: 3px solid #C21B23; padding-left: 10px; line-height: 1.4; }
.ym-article-body ul, .ym-article-body ol { margin: 0 0 16px 22px; }
.ym-article-body li { margin-bottom: 6px; }
.ym-article-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 18px; }
.ym-article-body th, .ym-article-body td { border: 1px solid #e8e0d4; padding: 9px 12px; text-align: left; vertical-align: top; line-height: 1.8; }
.ym-article-body th { background: #f7f2ea; font-weight: bold; color: #5a5348; white-space: nowrap; }
.ym-article-body tr:nth-child(even) td { background: #fdfbf8; }
.ym-article-body a { color: #C21B23; }
.ym-pn { margin: 26px 0 0; padding: 14px 18px; background: #faf6f0; border: 1px dashed #e2d3bd; border-radius: 3px; font-size: 14px; line-height: 1.9; }
.ym-pn a { color: #C21B23; }
.ym-pn a:hover { text-decoration: underline; }
.ym-pn .ym-prev::before { content: "上一篇："; color: #9a938a; }
.ym-pn .ym-next::before { content: "下一篇："; color: #9a938a; }

/* ---------- 相关阅读 ---------- */
.ym-rel .ym-item { font-size: 14px; }
.ym-rel2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.ym-list2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.ym-rel2 > *, .ym-list2 > * { min-width: 0; }

/* ---------- 侧栏组件 ---------- */
.ym-side .ym-panel-hd h3 { font-size: 16px; }
.ym-notice-list .ym-item { font-size: 13px; padding: 8px 2px; }
.ym-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ym-member-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ym-member-wall > * { min-width: 0; }
.ym-quick a {
	display: flex; align-items: center; justify-content: center; height: 58px;
	background: #fdfaf6; border: 1px solid #efe6d8; border-radius: 3px;
	font-size: 13px; color: #8a5a1f; letter-spacing: 1px;
}
.ym-quick a::before { content: "◆ "; color: #C21B23; font-size: 10px; }
.ym-quick a:hover { border-color: #C21B23; color: #C21B23; background: #fff; }
.ym-member-list .ym-item { font-size: 13px; }
.ym-member-item-name { display: flex; align-items: center; gap: 8px; }
.ym-member-badge { flex: none; font-size: 11px; color: #fff; background: #C21B23; border-radius: 2px; padding: 1px 7px; letter-spacing: 1px; }
.ym-member-badge.lv { background: #c78b23; }

/* ---------- 首页 ---------- */
.ym-hero { display: grid; grid-template-columns: 1fr 380px; gap: 22px; margin-bottom: 22px; }
.ym-focus { position: relative; overflow: hidden; border-radius: 4px; border: 1px solid #e9e2d8; }
.ym-focus img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.ym-focus-cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(20,12,8,.78)); color: #fff; padding: 40px 20px 14px; font-size: 17px; letter-spacing: 1px; }
.ym-focus-cap small { display: block; font-size: 12px; opacity: .8; letter-spacing: 2px; margin-bottom: 4px; }

.ym-tabs-hd { display: flex; border-bottom: 2px solid #C21B23; }
.ym-tabs-hd a {
	flex: 1; text-align: center; padding: 11px 4px; font-size: 15px; color: #6f685e; letter-spacing: 1px;
	background: #f2ede6; border: 1px solid #e7dfd3; border-bottom: 0; margin-right: 6px; border-radius: 3px 3px 0 0;
}
.ym-tabs-hd a:last-child { margin-right: 0; }
.ym-tabs-hd a.on, .ym-tabs-hd a:hover { background: #C21B23; border-color: #C21B23; color: #fff; }
.ym-tab-list .ym-item { font-size: 15px; }

.ym-section { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.ym-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 22px; }
.ym-cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }

.ym-intro { padding: 20px 24px; font-size: 14px; line-height: 1.9; color: #5c554b; background: #fff; border: 1px solid #e9e2d8; border-radius: 4px; }
.ym-intro .ym-intro-t { font-size: 17px; color: #C21B23; font-weight: bold; letter-spacing: 2px; margin-bottom: 10px; font-family: "Microsoft Yahei"; }
.ym-intro .ym-btn-row { margin-top: 14px; }

.ym-btn {
	display: inline-block; background: #C21B23; color: #fff; padding: 9px 26px; border-radius: 3px;
	font-size: 14px; letter-spacing: 2px; border: 1px solid #C21B23; cursor: pointer; font-family: "Microsoft Yahei";
}
.ym-btn:hover { background: #a5151c; border-color: #a5151c; color: #fff; }
.ym-btn-ghost { background: #fff; color: #C21B23; }
.ym-btn-ghost:hover { background: #C21B23; color: #fff; }

/* ---------- 单页 / 表单（兼容 views 输出类名） ---------- */
.page-head { text-align: center; padding: 26px 0 4px; }
.page-title { font-size: 24px; color: #2f2a26; letter-spacing: 2px; }
.page-sub { font-size: 12px; color: #9a938a; margin-top: 8px; letter-spacing: 1px; }
.page-sub a { color: #9a938a; }
.page-sub a:hover { color: #C21B23; }
.sub-cats { padding: 0 20px 12px; }
.sub-cat { display: inline-block; font-size: 13px; color: #6f685e; border: 1px solid #e2dbd0; border-radius: 3px; padding: 4px 14px; margin: 4px 6px 4px 0; background: #fdfaf6; }
.sub-cat:hover { border-color: #C21B23; color: #C21B23; }
.empty { text-align: center; padding: 46px 0; color: #a39a8e; font-size: 14px; }

.form-card, .card { background: #fff; border: 1px solid #e9e2d8; border-radius: 4px; padding: 30px 35px; margin: 15px auto; width: 440px; max-width: 100%; }
.form-card { box-shadow: 0 2px 10px rgba(60,50,40,.06); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: #5c554b; margin-bottom: 6px; letter-spacing: 1px; }
.form-group input[type=text], .form-group input[type=password], .form-group input[type=email],
.form-group select, .form-group textarea {
	width: 100%; border: 1px solid #ddd3c6; padding: 10px 12px; font-size: 14px; outline: none;
	border-radius: 3px; color: #3a352f; background: #fff;
}
.form-group input:focus, .form-group textarea:focus { border-color: #C21B23; box-shadow: 0 0 0 2px rgba(194,27,35,.08); }
.form-tip { font-size: 12px; color: #a39a8e; margin-top: 4px; }
.btn { display: inline-block; background: #C21B23; color: #fff; border: 1px solid #C21B23; padding: 10px 26px; font-size: 14px;
	font-family: "Microsoft Yahei"; letter-spacing: 2px; cursor: pointer; border-radius: 3px; }
.btn:hover { background: #a5151c; }
.btn-block { display: block; width: 100%; }
.btn-success { background: #C21B23; }
.alert { padding: 11px 14px; font-size: 13px; margin: 12px 0; border: 1px solid; border-radius: 3px; }
.alert-error { color: #C21B23; border-color: #ecc2c4; background: #fdf3f3; }
.alert-ok { color: #2e7d32; border-color: #bcd9bd; background: #f3faf3; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 10px; }
.post-card { background: #fff; border: 1px solid #e9e2d8; border-radius: 4px; padding: 16px 18px; transition: box-shadow .15s, transform .15s; }
.post-card:hover { box-shadow: 0 4px 14px rgba(60,50,40,.1); transform: translateY(-2px); }
.post-card h3 { font-size: 15px; font-weight: normal; margin-bottom: 8px; line-height: 1.5; }
.post-card h3 a { color: #3a352f; display: block; }
.post-card .summary { font-size: 12px; color: #8a8378; line-height: 1.7; margin-bottom: 10px; }
.meta, .o-meta { font-size: 12px; color: #a39a8e; display: flex; justify-content: space-between; }
.meta .price, .vip-price, .buy-price { color: #C21B23; font-weight: bold; }

.pagination { text-align: center; margin: 22px 0 8px; font-size: 13px; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; border: 1px solid #e2dbd0; border-radius: 3px; margin: 0 3px; color: #6f685e; background: #fff; }
.pagination span.current, .pagination a:hover { background: #C21B23; border-color: #C21B23; color: #fff; text-decoration: none; }

.article-body, .content, .detail { font-size: 16px; line-height: 1.95; color: #3a352f; }
.article-body p, .content p, .detail p { margin-bottom: 13px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.order-table th, .order-table td { border: 1px solid #ece5da; padding: 9px 12px; text-align: left; }
.order-table th { background: #faf6f0; font-weight: normal; color: #6f685e; }
.badge { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 2px; background: #C21B23; color: #fff; }
.status-pending { color: #d98219; }
.vip-days, .vip-name, .m-label { font-size: 14px; color: #5c554b; }
.m-big { font-size: 24px; color: #C21B23; font-weight: bold; }
.m-sub, .oi-sub, .d-meta { font-size: 12px; color: #a39a8e; }
.nav-btn, .inline-form { display: inline; }
.footer-links { font-size: 13px; color: #8a8378; }
.footer-links a { color: #8a8378; margin-right: 12px; }
.d-field { margin-bottom: 10px; font-size: 14px; color: #5c554b; }
.d-fields { padding: 10px 0; }
.logo { font-size: 20px; color: #C21B23; font-weight: bold; }
.tag { display: inline-block; font-size: 12px; color: #8a8378; border: 1px solid #e2dbd0; padding: 3px 10px; margin: 0 6px 6px 0; border-radius: 3px; background: #fdfaf6; }

/* ---------- 页脚 ---------- */
.ym-footer { background: #26221e; color: #9c9285; margin-top: 30px; }
.ym-footer-main { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 30px; padding: 34px 0 26px; }
.ym-footer h4 { color: #d8cfc2; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; font-weight: normal; }
.ym-footer p, .ym-footer li { font-size: 13px; line-height: 2; }
.ym-footer a { color: #9c9285; text-decoration: none; }
.ym-footer a:hover { color: #e6d9c8; }
.ym-footer-links a { display: inline-block; margin: 0 14px 8px 0; }
.ym-footer-bar { border-top: 1px solid #3a342e; padding: 16px 0; text-align: center; font-size: 12px; color: #7d7466; letter-spacing: 1px; }

/* ---------- 友情链接 ---------- */
.ym-flinks { padding: 6px 18px 14px; }
.ym-flinks a { display: inline-block; font-size: 13px; color: #6f685e; border: 1px solid #e2dbd0; border-radius: 3px; padding: 4px 14px; margin: 5px 8px 5px 0; background: #fdfaf6; }
.ym-flinks a:hover { border-color: #C21B23; color: #C21B23; }

/* ---------- 返回顶部 ---------- */
#backtop { display: none; position: fixed; right: 22px; bottom: 70px; z-index: 99; width: 46px; height: 46px;
	background: #C21B23; color: #fff; text-align: center; line-height: 46px; font-size: 12px; cursor: pointer;
	letter-spacing: 1px; border-radius: 4px; opacity: .85; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
#backtop:hover { opacity: 1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
	.ym-layout { grid-template-columns: 1fr; }
	.ym-hero { grid-template-columns: 1fr; }
	.ym-cols3 { grid-template-columns: repeat(2, 1fr); }
	.ym-nav a { padding: 12px 14px; font-size: 15px; }
}
@media (max-width: 767px) {
	.ym-topbar .ym-links { display: none; }
	.ym-search { width: 100%; }
	.ym-nav-toggle { display: block; }
	.ym-nav .ym-wrap { flex-wrap: wrap; }
	.ym-nav-menu { display: none; width: 100%; flex-direction: column; }
	.ym-nav-menu.open { display: flex; }
	.ym-nav a { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.12); }
	.ym-section, .ym-cols2, .ym-cols3, .post-grid { grid-template-columns: 1fr; }
	.ym-rel2, .ym-list2, .ym-quick { grid-template-columns: 1fr; }
	.ym-member-wall { grid-template-columns: repeat(2, 1fr); }
	.ym-article { padding: 6px 20px 24px; }
	.ym-article-title { font-size: 21px; }
	.ym-focus img { min-height: 200px; }
	.ym-footer-main { grid-template-columns: 1fr; gap: 8px; padding: 26px 0 16px; }
}

/* =========================================================
   账户/支付页样式补丁 (ACCT_PATCH_20261120)
   覆盖：开通会员、登录注册、会员中心、订单查询/结果、专题页
   ========================================================= */

/* ---------- 开通会员卡片 ---------- */
.vip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	max-width: 900px;
	margin: 26px auto 0;
	padding: 0 16px;
}
.vip-card {
	background: #fff;
	border: 2px solid #e9e2d8;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(60,50,40,.06);
	padding: 26px 20px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
	position: relative;
}
.vip-card.hot { border-color: #C21B23; }
.vip-card .vip-name { font-size: 17px; font-weight: 700; color: #2f2a26; }
.vip-card .vip-price { color: #C21B23; font-size: 30px; font-weight: 700; margin: 4px 0 2px; }
.vip-card .vip-days { color: #9a938a; font-size: 13px; margin-bottom: 10px; }
.vip-card .btn { align-self: center; margin-top: auto; }
.vip-card .badge {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: #C21B23; color: #fff; font-size: 12px;
	padding: 2px 14px; border-radius: 20px; white-space: nowrap;
}

/* ---------- 登录/注册表单 ---------- */
.form-card {
	background: #fff;
	border: 1px solid #e9e2d8;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(60,50,40,.06);
	padding: 28px;
	max-width: 520px;
	margin: 26px auto 0;
}
.form-card h2 { font-size: 20px; margin: 0 0 6px; color: #2f2a26; }
.form-card .form-tip { color: #9a938a; font-size: 13px; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; color: #5c554b; }
.form-group input, .form-group select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e2dbd0;
	border-radius: 4px;
	font-size: 14px;
	background: #fff;
	color: #3a352f;
	outline: none;
}
.form-group input:focus, .form-group select:focus {
	border-color: #C21B23;
	box-shadow: 0 0 0 2px rgba(194,27,35,.10);
}
.auth-form { max-width: 420px; }
.form-actions { margin-top: 18px; }

/* ---------- 按钮 ---------- */
.btn-ghost { background: transparent; color: #C21B23; border: 1px solid #C21B23; }
.btn-ghost:hover { background: rgba(194,27,35,.06); color: #a5151c; }

/* ---------- 支付购买框 ---------- */
.buy-box {
	background: #f4efe7;
	border: 1px dashed #d8cfc0;
	border-radius: 6px;
	padding: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 16px 0;
}
.buy-box .buy-price { color: #C21B23; font-size: 26px; font-weight: 700; }
.paid-content-box { background: #fff; }

/* ---------- 订单结果 ---------- */
.result-box { text-align: center; padding: 34px 0; }
.result-box .order-no {
	display: inline-block; background: #f4efe7;
	border: 1px dashed #d8cfc0; border-radius: 6px;
	padding: 10px 20px; font-size: 20px; font-weight: 700; margin: 14px 0;
	color: #2f2a26;
}
.result-box .status-pending { color: #d8871a; font-weight: 600; }

/* ---------- 订单查询 ---------- */
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
	background: #fff;
	border: 1px solid #e9e2d8;
	border-radius: 6px;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.order-item .oi-title { font-weight: 600; color: #2f2a26; }
.order-item .oi-sub { color: #9a938a; font-size: 13px; }
.tag {
	display: inline-block; font-size: 12px; padding: 2px 10px;
	border-radius: 20px; background: #f4efe7; color: #5c554b;
}
.tag-paid { background: #e8f5e4; color: #3e8e41; }
.tag-unpaid { background: #fdf3e4; color: #d8871a; }
.order-row {
	border: 1px solid #e2dbd0; border-radius: 6px; padding: 12px 14px; background: #fff;
}
.order-row .o-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-row .o-title { font-weight: 600; font-size: 14px; color: #2f2a26; }
.order-row .o-meta { color: #9a938a; font-size: 12px; margin-top: 4px; }

/* ---------- 会员中心 ---------- */
.member-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 18px; margin: 26px auto 0; max-width: 1100px; padding: 0 16px; }
.member-grid > * { min-width: 0; }
.card { background: #fff; border: 1px solid #e9e2d8; border-radius: 6px; box-shadow: 0 1px 3px rgba(60,50,40,.06); padding: 24px; }
.m-status.ok { border-color: #b7d8b0; }
.m-label { font-size: 13px; color: #9a938a; margin-bottom: 12px; }
.m-orders { overflow-x: auto; }

/* ---------- 专题卡片 ---------- */
.topic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}
.topic-grid > * { min-width: 0; }
.topic-card {
	background: #fff;
	border: 1px solid #e9e2d8;
	border-radius: 6px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-shadow: 0 1px 3px rgba(60,50,40,.06);
	transition: transform .15s, box-shadow .15s;
}
.topic-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(60,50,40,.12); }
.topic-name { font-size: 17px; font-weight: 700; color: #2f2a26; }
.topic-summary { color: #9a938a; font-size: 13px; flex: 1; }
.topic-meta { color: #C21B23; font-size: 13px; font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 767px) {
	.vip-grid { grid-template-columns: 1fr; max-width: 400px; }
	.member-grid { grid-template-columns: 1fr; }
	.buy-box { flex-direction: column; gap: 12px; align-items: stretch; }
	.buy-box .buy-price { font-size: 22px; }
	.form-card { padding: 18px; max-width: 100%; }
	.form-group input, .form-group select { font-size: 16px; }
	.order-item { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   会员百科页样式补丁 (BK_PATCH_20261120)
   ========================================================= */
.bk-head {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	padding: 18px;
	background: linear-gradient(180deg, #faf6ef, #f4efe7);
	border: 1px solid #eee5d8;
	border-radius: 6px;
	margin-bottom: 18px;
}
.bk-head > * { min-width: 0; }
.bk-photo { flex: none; width: 130px; }
.bk-photo img {
	width: 130px; height: 130px;
	object-fit: cover; border-radius: 8px;
	border: 1px solid #e0d6c6; background: #fff;
}
.bk-photo-empty {
	width: 130px; height: 130px;
	border-radius: 8px; border: 1px solid #e0d6c6;
	background: #C21B23; color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 52px; font-weight: 700;
}
.bk-info { flex: 1; padding-top: 4px; }
.bk-name { font-size: 24px; margin: 0 0 8px; color: #2f2a26; line-height: 1.3; }
.bk-level {
	display: inline-block; font-size: 13px; font-weight: 400;
	color: #fff; background: #C21B23;
	padding: 2px 12px; border-radius: 20px;
	margin-left: 10px; vertical-align: 3px;
}
.bk-title { font-size: 14px; color: #8a6d3b; margin-bottom: 6px; }
.bk-summary { font-size: 14px; color: #5c554b; margin: 8px 0 10px; line-height: 1.8; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-tag {
	font-size: 12px; color: #8a6d3b; background: #f7f0e3;
	border: 1px solid #e8dcc4; border-radius: 3px; padding: 2px 10px;
}
.bk-meta {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0; border: 1px solid #eee5d8; border-radius: 6px;
	overflow: hidden; margin-bottom: 20px; background: #fff;
}
.bk-meta-row {
	display: flex; align-items: center;
	padding: 10px 16px; font-size: 14px;
	border-bottom: 1px solid #f2ece1;
}
.bk-meta-row:nth-child(2n) { background: #fbf8f2; }
.bk-meta-row span { width: 84px; flex: none; color: #9a938a; }
.bk-meta-row b { color: #3a352f; word-break: break-all; }
.bk-section { margin-bottom: 22px; }
/* 提高特异性压过 .ym-article-body h3（其 border-left 红线会与本节红条叠加错位） */
.ym-article-body .bk-hd {
	font-size: 17px; color: #2f2a26;
	margin: 22px 0 10px;
	padding: 8px 0 8px 16px; position: relative;
	border-left: 0; border-bottom: 1px solid #efe7dc;
	line-height: 1.5;
}
.ym-article-body .bk-hd::before {
	content: ""; position: absolute; left: 0; top: 50%;
	transform: translateY(-50%);
	width: 4px; height: 18px; background: #C21B23; border-radius: 2px;
}
.bk-text p { margin: 0 0 12px; text-indent: 2em; line-height: 1.9; color: #3a352f; font-size: 15px; }
.bk-tbd { color: #a39a8e !important; text-indent: 0 !important; }
.bk-ach { list-style: none; padding: 0; }
.bk-ach li {
	position: relative; padding: 6px 0 6px 22px;
	font-size: 15px; color: #3a352f; line-height: 1.8;
	border-bottom: 1px dashed #ece5da;
}
.bk-ach li:last-child { border-bottom: 0; }
.bk-ach li::before {
	content: ""; position: absolute; left: 4px; top: 15px;
	width: 7px; height: 7px; border-radius: 50%;
	background: #C21B23;
}
.bk-foot {
	font-size: 13px; color: #9a938a;
	border-top: 1px dashed #e0d6c6; padding-top: 14px;
	line-height: 1.8;
}
.bk-foot a { color: #C21B23; }
@media (max-width: 767px) {
	.bk-head { flex-direction: column; align-items: center; text-align: center; }
	.bk-photo { width: 110px; }
	.bk-photo img, .bk-photo-empty { width: 110px; height: 110px; }
	.bk-tags { justify-content: center; }
	.bk-meta { grid-template-columns: 1fr; }
	.bk-text p { text-indent: 1em; }
}

/* ---------- 会员百科：专题标签 / 子栏目 / 子信息页 (BK2_PATCH_20261120) ---------- */
.bk-tag-topic a { color: #C21B23; font-weight: 600; }
.bk-sublist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.bk-sublist > * { min-width: 0; }
.bk-subitem {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: #fff; border: 1px solid #e9e2d8; border-radius: 6px;
	padding: 14px 16px; text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.bk-subitem:hover { border-color: #C21B23; box-shadow: 0 3px 10px rgba(60,50,40,.08); }
.bk-subitem b { color: #2f2a26; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-subitem span { flex: none; font-size: 12px; color: #C21B23; }
.bk-subpage-head { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #efe7dc; }
.bk-subpage-title { font-size: 23px; color: #2f2a26; margin: 0 0 8px; line-height: 1.4; }
.bk-subpage-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #9a938a; }
.bk-subpage-meta a { color: #C21B23; }
.bk-subpage-body p { margin: 0 0 12px; text-indent: 2em; line-height: 1.9; color: #3a352f; font-size: 15px; }
.bk-subpage-body h2, .bk-subpage-body h3 { color: #2f2a26; border-left: 4px solid #C21B23; padding-left: 12px; margin: 20px 0 12px; }
.bk-subpage-body img { max-width: 100%; height: auto; border-radius: 4px; }
.bk-subpage-body blockquote {
	margin: 14px 0; padding: 10px 16px; background: #f7f2ea;
	border-left: 4px solid #d8a13a; color: #6b6355; border-radius: 0 4px 4px 0;
}
.bk-subpage-body table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14px; }
.bk-subpage-body th, .bk-subpage-body td { border: 1px solid #e0d6c6; padding: 8px 12px; }
.bk-subpage-body th { background: #f7f2ea; color: #5a5348; }
@media (max-width: 767px) {
	.bk-sublist { grid-template-columns: 1fr; }
	.bk-subpage-body p { text-indent: 1em; }
}
