/* ============ 基础变量 ============ */
:root {
  --primary: #1e5eff;
  --primary-dark: #1546c4;
  --primary-light: #e8effe;
  --accent: #ff7a1a;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e5e7eb;
  --footer-bg: #111827;
  --footer-text: #9ca3af;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(17, 24, 39, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.ico { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; margin-right: 6px; }

/* ============ 顶部信息栏 ============ */
.topbar { background: var(--primary-dark); color: #dbe4ff; font-size: 13px; }
.topbar-inner { display: flex; gap: 28px; flex-wrap: wrap; padding: 8px 20px; }
.topbar-left { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.topbar a:hover { color: #fff; }

/* ============ 导航 ============ */
.navbar { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--primary-dark); }
.brand-logo { height: 40px; width: 40px; }
.nav-menu { display: flex; gap: 6px; margin-left: auto; }
.nav-auth { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-left: 24px; padding-left: 24px; border-left: 1px solid var(--border); font-size: 15px; white-space: nowrap; min-width: 250px; }
.nav-auth a:hover, .nav-auth .linkbtn:hover { color: var(--primary); }
.nav-auth .btn-register { padding: 8px 20px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; }
.nav-auth .btn-register:hover { background: var(--primary-dark); color: #fff; }
.nav-menu a { display: block; padding: 10px 16px; font-weight: 500; border-radius: 6px; transition: .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: var(--primary-light); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ 通用区块 ============ */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { display: inline-block; color: var(--primary); font-weight: 600; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-head p { color: var(--text-light); }
.btn { display: inline-block; padding: 12px 28px; border-radius: 999px; font-weight: 600; transition: .2s; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary-dark); }
.btn-light { background: var(--primary-light); color: var(--primary-dark); }
.btn-light:hover { background: var(--primary); color: #fff; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ Hero ============ */
.hero { position: relative; color: #fff; background: linear-gradient(135deg, #0f2f8a 0%, #1e5eff 60%, #3d7bff 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero::before { content: ""; position: absolute; left: -80px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.05); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 520px; padding: 80px 20px; }
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; margin-bottom: 18px; }
.hero h1 small { display: block; font-size: 18px; font-weight: 500; opacity: .85; margin-bottom: 8px; letter-spacing: 2px; }
.hero p { font-size: 17px; opacity: .92; margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art img { width: 100%; max-width: 480px; margin-left: auto; }

/* ============ 首页 - 简介 ============ */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-preview h2 { font-size: 32px; margin-bottom: 16px; }
.about-preview p { color: var(--text-light); margin-bottom: 24px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.stat strong { display: block; font-size: 28px; color: var(--primary); }
.stat span { font-size: 13px; color: var(--text-light); }

/* ============ 卡片 ============ */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 15px; flex: 1; }
.card .card-link { margin-top: 18px; color: var(--primary); font-weight: 600; font-size: 14px; }
.card .card-link::after { content: " →"; }
.card-num { font-size: 40px; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: 12px; }
.card-meta { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.card-cat { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 2px 10px; border-radius: 999px; font-size: 12px; margin-right: 8px; }

/* ============ CTA ============ */
.cta { background: var(--primary-dark); color: #fff; padding: 64px 0; text-align: center; }
.cta h2 { font-size: 30px; margin-bottom: 12px; }
.cta p { opacity: .85; margin-bottom: 28px; }

/* ============ 内页头部 ============ */
.page-head { background: linear-gradient(135deg, #0f2f8a, #1e5eff); color: #fff; padding: 64px 0; }
.page-head h1 { font-size: 36px; margin-bottom: 8px; }
.breadcrumb { font-size: 14px; opacity: .85; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before { content: "/"; margin: 0 8px; opacity: .6; }

/* ============ 关于我们 ============ */
.prose p { color: var(--text); margin-bottom: 18px; font-size: 16.5px; }
.about-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.info-box { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.info-box h3 { margin-bottom: 16px; font-size: 18px; }
.info-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.info-box dt { color: var(--text-light); white-space: nowrap; }
.values { margin-top: 56px; }

/* ============ 文章 ============ */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-body h2 { font-size: 28px; margin-bottom: 10px; }
.article-body .card-meta { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.sidebar .info-box + .info-box { margin-top: 24px; }
.sidebar ul li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.sidebar ul li:last-child { border-bottom: 0; }
.sidebar ul li a:hover { color: var(--primary); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 15px; }
.article-nav a { color: var(--primary); }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.contact-item { text-align: center; padding: 36px 24px; }
.contact-item .card-icon { margin: 0 auto 18px; }
.contact-item strong { display: block; font-size: 17px; margin-bottom: 6px; }
.contact-item span { color: var(--text-light); font-size: 15px; word-break: break-all; }
.map-wrap { position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: repeating-linear-gradient(45deg, #eef2f9 0 12px, #f5f7fb 12px 24px); }
.map-canvas { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 20px; gap: 6px; }
.map-fallback .card-icon { margin-bottom: 10px; }
.map-fallback strong { font-size: 18px; }
.map-fallback span { color: var(--text-light); font-size: 15px; }
.map-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.map-wrap.no-map .map-fallback { display: flex; }
.map-wrap.no-map .map-canvas { display: none; }
.map-image { position: absolute; inset: 0; display: block; }
.map-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.map-image:hover img { transform: scale(1.03); }
.map-caption { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); background: rgba(255,255,255,.94); border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--text-light); box-shadow: var(--shadow); line-height: 1.6; }
.map-caption strong { display: block; color: var(--text); font-size: 15px; }
.map-caption em { display: block; font-style: normal; color: var(--primary); font-weight: 600; font-size: 13px; margin-top: 4px; }
.map-info { padding: 6px 4px 0; font-size: 14px; line-height: 1.6; }
.map-info strong { display: block; font-size: 15px; margin-bottom: 2px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--footer-bg); color: var(--footer-text); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 60px 20px 40px; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 18px 20px; font-size: 13px; }
.beian a { color: var(--footer-text); display: inline-flex; align-items: center; gap: 4px; }
.beian a + a { margin-left: 16px; }
.beian a:hover { color: #fff; }
.beian img { height: 16px; width: auto; display: inline-block; }

/* ============ 回到顶部 ============ */
.scroll-top { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 20px; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); z-index: 90; }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: auto; padding: 60px 20px; }
  .hero p { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-art { display: none; }
  .about-preview, .about-layout, .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head h2, .about-preview h2 { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .page-head h1 { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .topbar-inner { gap: 6px 20px; font-size: 12px; }
  .nav-toggle { display: flex; }
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 10px 20px 16px; box-shadow: var(--shadow); }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 28px; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat strong { font-size: 22px; }
}

/* ============ 账号功能：表单 / 登录注册 / 账号中心 ============ */
form.inline { display: inline; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linkbtn.danger { color: #c0392b; }
.linkbtn.danger:hover { color: #8e2318; }
button.btn { border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn.block { display: block; width: 100%; margin-top: 22px; }
.btn.small { padding: 9px 20px; font-size: 14px; }
.btn.danger { background: #c0392b; color: #fff; }
.btn.danger:hover { background: #8e2318; }
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 8px; font-size: 15px; margin-bottom: 8px; border: 1px solid var(--border); background: var(--bg-soft); }
.flash.ok { background: #eafaf0; border-color: #bfe8cf; color: #1d6b3a; }
.flash.err { background: #fdecea; border-color: #f5c6c1; color: #a1281c; }
.flash.info { background: var(--primary-light); border-color: #c9d8ff; color: var(--primary-dark); }
label { display: block; font-size: 14px; color: var(--text-light); margin: 14px 0 6px; }
input[type=text], input[type=tel], input[type=password], select, textarea { width: 100%; padding: 11px 14px; border: 1px solid #d5d9e2; border-radius: 8px; font: inherit; font-size: 15px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid #c9d8ff; border-color: var(--primary); }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.pwfield { position: relative; }
.pwfield input { padding-right: 44px; }
.pwtoggle { position: absolute; top: 0; right: 0; height: 100%; width: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: #9aa3b5; cursor: pointer; }
.pwtoggle:hover { color: var(--primary); }
.pwtoggle:focus-visible { outline: 2px solid #c9d8ff; border-radius: 8px; }
.captcharow { display: flex; gap: 10px; align-items: center; }
.captcharow input { flex: 1; }
img.captcha { height: 44px; width: 132px; max-width: none; border: 1px solid #d5d9e2; border-radius: 8px; cursor: pointer; flex: none; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 4px; font-size: 14px; color: var(--text); }
.agree input { margin-top: 5px; flex: none; }
.agree a, .fine a, .authcard .sub a { color: var(--primary); }
.fine { font-size: 13px; color: var(--text-light); margin-top: 18px; line-height: 1.7; }
.authwrap { padding: 64px 20px 88px; background: var(--bg-soft); }
.authcard { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 36px 32px; box-shadow: var(--shadow); }
.authcard h1 { font-size: 24px; margin-bottom: 6px; }
.authcard .sub { color: var(--text-light); font-size: 14.5px; margin-bottom: 22px; }
.errcode { font-size: 56px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 12px; }
.account-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.account-layout > * { min-width: 0; }
.account-layout .card { display: block; }
.account-layout .card:hover { transform: none; box-shadow: none; border-color: var(--border); }
.account-layout .card h3 { margin-bottom: 4px; }
.account-layout .card .muted { color: var(--text-light); font-size: 14px; margin-bottom: 8px; }
.stackform { max-width: 420px; }
.stackform .btn { margin-top: 18px; }
.card.danger-zone { border-color: #f5c6c1; }
label em { color: #c0392b; font-style: normal; }
.card .kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.card .kv dt { color: var(--text-light); white-space: nowrap; }
/* 账号中心侧栏导航 */
.console-nav .console-user { color: var(--text-light); font-size: 14px; margin: -8px 0 14px; }
.console-nav ul { list-style: none; margin: 0; padding: 0; }
.console-nav li + li { margin-top: 4px; }
.console-nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text); font-size: 15px; }
.console-nav a:hover { background: #fff; color: var(--primary); }
.console-nav a.active { background: var(--primary); color: #fff; font-weight: 600; }
/* 发布信息 / 我的投稿 */
.postform { max-width: 560px; }
.posts-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 12px; }
.posts-table th, .posts-table td { padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.posts-table tbody tr:hover { background: var(--bg-soft); }
.posts-table th { color: var(--text-light); font-weight: 500; font-size: 13px; white-space: nowrap; letter-spacing: .02em; }
.posts-table td a { color: var(--text); }
.posts-table td a:hover { color: var(--primary); }
.posts-table .nowrap { white-space: nowrap; color: var(--text-light); }
.status { display: inline-block; white-space: nowrap; padding: 3px 12px; border-radius: 999px; font-size: 13px; background: var(--bg-soft); color: var(--text-light); }
.status-pending { background: #fff4e0; color: #9a5b00; }
.status-approved { background: #eafaf0; color: #1d6b3a; }
.status-rejected { background: #fdecea; color: #a1281c; }
.empty { color: var(--text-light); padding: 12px 0; }
.empty a { color: var(--primary); }
.post-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; margin: 16px 0; }
.post-detail dt { color: var(--text-light); white-space: nowrap; }
.post-body { white-space: pre-wrap; line-height: 1.8; font-size: 15.5px; padding-top: 16px; border-top: 1px solid var(--border); }
.balance { color: var(--primary); font-size: 20px; }
.rechargeform { max-width: 460px; margin: 0; }
.amount-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.amount-chip { padding: 9px 18px; border: 1px solid #d5d9e2; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; }
.amount-chip:hover { border-color: var(--primary); color: var(--primary); }
.amount-chip.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
/* 操作列：td 保持表格单元格（flex 放在内层，否则整行 hover 高亮盖不到该格）；链接/按钮横向排开、靠右 */
.row-actions { text-align: right; white-space: nowrap; }
.row-actions a, .row-actions form.inline { display: inline-block; vertical-align: middle; }
.row-actions a + form.inline, .row-actions a + a { margin-left: 16px; }
/* 充值记录：订单号占满余宽，其余列贴右排列，列宽稳定 */
.rc-records .rc-order { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--text-light); letter-spacing: .01em; }
.rc-records th:first-child, .rc-records td:first-child { width: 100%; }
.rc-records th:not(:first-child), .rc-records td:not(:first-child) { white-space: nowrap; }
.rc-records .rc-amount, .rc-records th.rc-num { text-align: right; }
.rc-records .rc-amount { font-weight: 600; color: var(--text); }
.rc-records th:last-child, .rc-records td:last-child { text-align: right; padding-left: 24px; }
/* 扫码支付页 */
.pay-view { max-width: 320px; margin: 8px auto 0; text-align: center; }
.pay-amount { font-size: 30px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.pay-qr { display: inline-block; }
.pay-qr img { width: 240px; height: 240px; border: 1px solid var(--border); border-radius: 12px; padding: 10px; background: #fff; }
.pay-view .muted { margin-top: 12px; }
.pay-order { justify-content: center; margin: 16px auto; font-size: 14px; }
.pay-view .fine { text-align: left; }
@media (max-width: 768px) {
  .posts-table thead { display: none; }
  .posts-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .posts-table td { padding: 0; border: 0; }
  .posts-table td:first-child { grid-column: 1 / -1; font-weight: 600; }
}
@media (max-width: 768px) {
  .nav-auth { margin-left: auto; margin-right: 6px; padding-left: 0; border-left: 0; gap: 12px; font-size: 14px; min-width: 0; }
  .nav-auth .btn-register { padding: 6px 14px; font-size: 13px; }
  .authcard { padding: 28px 20px; }
}

/* ============ 协议类长文 ============ */
.doc { max-width: 820px; margin: 0 auto; font-size: 15.5px; }
.doc h1 { font-size: 30px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.doc .meta { color: var(--text-light); font-size: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.doc h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 12px 1.5em; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--primary); }
.doc .box { background: var(--bg-soft); border-left: 3px solid var(--primary); padding: 14px 18px; margin: 16px 0 8px; border-radius: 0 8px 8px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0 18px; }
.doc th, .doc td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--text-light); font-weight: 500; font-size: 13px; background: var(--bg-soft); }
.footer-legal a { color: var(--footer-text); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 768px) { .doc table { display: block; overflow-x: auto; } }

/* ---- 第三方发布(2026-09-24) ---- */
.posts-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.cat-tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.cat-tabs a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; color: var(--text); }
.cat-tabs a.active, .cat-tabs a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.posts-grid .card h3 { font-size: 17px; margin: 6px 0 8px; }
.posts-grid .card p { flex: 1; color: var(--text-light); font-size: 14px; }
.post-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; }
.post-price { color: #d9480f; font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: 16px; margin-top: 28px; font-size: 14px; }
.post-page .post-detail { max-width: 860px; margin: 0 auto; }
.post-facts { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; margin: 16px 0; font-size: 14.5px; }
.post-facts dt { color: var(--text-light); }
.post-facts dd { margin: 0; }
.post-body { white-space: pre-wrap; line-height: 1.8; margin: 8px 0 20px; }
.post-disclaimer { font-size: 13px; border-top: 1px solid var(--border); padding-top: 12px; margin-bottom: 16px; }
.btn.small { padding: 8px 16px; font-size: 14px; }
@media (max-width: 720px) { .post-facts { grid-template-columns: 1fr; } }
