/* ============================================================
   螭吻传媒 · 国风墨韵设计系统 (chiwen.css)
   深墨黑底 · 鎏金/朱砂点缀 · 衬线中文标题 · 宣纸质感
   ============================================================ */

:root {
  /* 墨色阶 */
  --ink-900: #0f0e0c;
  --ink-850: #14120d;
  --ink-800: #1a1712;
  --ink-700: #221e17;
  --ink-600: #2c271d;
  --ink-500: #3a342700;

  /* 鎏金 */
  --gold: #c9a86a;
  --gold-soft: #e3c98f;
  --gold-deep: #a8843f;
  --gold-line: rgba(201, 168, 106, 0.22);

  /* 朱砂 */
  --cinnabar: #b5402f;
  --cinnabar-soft: #d4604a;

  /* 宣纸 */
  --paper: #f3ecdd;
  --paper-2: #e9e0cc;
  --paper-ink: #2a241a;

  /* 文字 */
  --text: #f1ebdd;
  --text-strong: #f8f2e4;   /* 标题/强强调：近白 */
  --text-dim: #b6ad98;      /* 提亮：卡片描述、次要文字更可读 */
  --text-faint: #807868;
  --gold-bright: #ecd29a;   /* 更亮金，用于强强调数字/标签 */

  --bg: var(--ink-900);
  --panel: var(--ink-800);
  --panel-2: var(--ink-700);
  --border: var(--gold-line);
  --border-soft: rgba(201, 168, 106, 0.10);

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.3);

  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(circle at 18% -10%, rgba(201, 168, 106, 0.07), transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(181, 64, 47, 0.06), transparent 38%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-strong);
}
.text-strong { color: var(--text-strong); }
.text-gold { color: var(--gold-soft); }
.lead { color: var(--text-dim); }

a { color: var(--gold-soft); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

main { flex: 1 0 auto; padding: 34px 0 60px; }

/* ============ 顶部导航 ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 14, 12, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s, border-color .25s, background .25s;
}
/* 向下滚动后：加金线 + 阴影 + 加深底色，强化吸顶感 */
.site-nav.scrolled {
  background: rgba(12, 11, 9, 0.94);
  border-bottom-color: var(--gold-line);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(201, 168, 106, 0.25);
}
.site-nav .bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(201, 168, 106, 0.25));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; }
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}
.brand-name-cn {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
}
.brand-name-en {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand small {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: .22em;
  font-family: var(--sans);
  text-transform: uppercase;
}

.nav-collapse { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--gold-soft);
  border-radius: 8px;
  width: 40px; height: 38px;
  font-size: 20px; line-height: 1;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-links a {
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  position: relative;
}
.nav-links a:hover { color: var(--gold-soft); background: rgba(201, 168, 106, 0.06); }
.nav-links a.active { color: var(--gold-soft); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.nav-user { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.nav-user .uname { color: var(--text-dim); font-size: 13.5px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-deep);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a1407;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, filter .12s;
  font-family: var(--sans);
}
.btn:hover { filter: brightness(1.05); box-shadow: 0 4px 14px rgba(201, 168, 106, 0.3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent; color: var(--gold-soft); border-color: var(--border);
}
.btn.ghost:hover { background: rgba(201, 168, 106, 0.08); }
.btn.cinnabar { background: linear-gradient(180deg, var(--cinnabar-soft), var(--cinnabar)); color: #fff; border-color: var(--cinnabar); }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ============ 区块标题 ============ */
.section { margin: 40px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 18px; border-bottom: 1px solid var(--border-soft); padding-bottom: 12px;
}
.section-head h2 {
  font-size: 21px; margin: 0; display: flex; align-items: center; gap: 10px;
}
.section-head h2::before {
  content: ""; width: 4px; height: 20px;
  background: linear-gradient(180deg, var(--gold), var(--cinnabar));
  border-radius: 2px;
}
.section-head .more { font-size: 13px; color: var(--text-faint); }
.section-head .more:hover { color: var(--gold-soft); }

/* ============ 卡片 ============ */
.grid { display: grid; gap: 18px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-850));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold-line); box-shadow: var(--shadow-soft); }
.card .kicker { color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.card h3 { margin: 6px 0 8px; font-size: 17px; line-height: 1.45; color: var(--text-strong); }
.card h3 a { color: var(--text-strong); }
.card h3 a:hover { color: var(--gold-soft); }
.card p { color: var(--text-dim); font-size: 13.5px; margin: 0; line-height: 1.7; }
.card .meta { color: var(--text-faint); font-size: 12.5px; margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 文章卡 / 课程卡 封面（国风纹理占位图） */
.article-card .cover, .course-card .cover {
  height: 130px; border-radius: var(--radius-sm); margin-bottom: 12px;
  background-size: cover; background-position: center;
  border: 1px solid var(--border-soft);
  position: relative;
}
.article-card .cover::after, .course-card .cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,14,12,.55));
  border-radius: var(--radius-sm);
}
.article-card .tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* 作家卡 */
.author-card { text-align: center; }
.author-card .avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--gold-deep), var(--ink-600));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; color: var(--gold-soft);
  border: 2px solid var(--gold-line);
}
.author-card .field { color: var(--text-faint); font-size: 12.5px; margin-top: 6px; }

/* 课程卡 */
.course-card .price { font-family: var(--serif); color: var(--gold-soft); font-size: 18px; }
.course-card .price .old { color: var(--text-faint); text-decoration: line-through; font-size: 13px; margin-left: 6px; }
.course-card .free-tag {
  display: inline-block; background: rgba(181,64,47,.16); color: var(--cinnabar-soft);
  border: 1px solid rgba(181,64,47,.4); padding: 1px 8px; border-radius: 20px; font-size: 12px;
}
.badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* 社群卡 */
.community-card .icon {
  width: 48px; height: 48px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 22px;
  background: rgba(201,168,106,.1); color: var(--gold-soft); border: 1px solid var(--gold-line);
}

/* ============ 标签 / 胶囊 ============ */
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12px;
  background: rgba(201,168,106,.1); color: var(--gold-soft); border: 1px solid var(--gold-line);
}
.tag.cinnabar { background: rgba(181,64,47,.14); color: var(--cinnabar-soft); border-color: rgba(181,64,47,.35); }
.tag.ghost { background: transparent; color: var(--text-faint); border-color: var(--border-soft); }

/* ============ 首页 Hero ============ */
.hero {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 46px 40px;
  margin: 26px 0 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(201,168,106,.12), transparent 45%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 380px; height: 380px;
  background: url("/assets/logo-mark.png") center/contain no-repeat;
  opacity: 0.07;
  filter: drop-shadow(0 0 30px rgba(201,168,106,0.4));
  pointer-events: none;
}
.hero-mark {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 12px rgba(201, 168, 106, 0.35));
}
.hero .eyebrow { color: var(--gold); letter-spacing: .3em; font-size: 12px; }
.hero h1 { font-size: 38px; margin: 8px 0 14px; line-height: 1.2; max-width: 720px; }
.hero p.lead { color: var(--text-dim); font-size: 15.5px; max-width: 640px; }
.hero .cta { margin-top: 24px; display: flex; gap: 12px; }

/* ============ 关于页主视觉 ============ */
.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 30px;
  margin: 24px 0 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,168,106,.10), transparent 50%),
    linear-gradient(180deg, var(--panel), var(--ink-850));
  border: 1px solid var(--border);
  border-radius: 14px;
}
.about-logo-full {
  max-width: 360px;
  width: 70%;
  height: auto;
  background: var(--paper);
  padding: 22px 28px;
  border-radius: 8px;
  border: 1px solid var(--gold-line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
}
.about-hero .brand-name-cn { font-size: 20px; }
.about-hero .brand-name-en { font-size: 12px; }

/* 头条大卡 */
.headline-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border: 1px solid var(--gold-line); border-radius: var(--radius);
  overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--ink-850));
}
.headline-card .body { padding: 26px; }
.headline-card .visual {
  background: linear-gradient(135deg, var(--ink-600), var(--cinnabar-soft));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 90px; color: rgba(255,255,255,.18);
}

/* ============ 文章详情 ============ */
.article-view { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.article-body {
  background: linear-gradient(180deg, var(--panel), var(--ink-850));
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 34px 38px;
}
.article-body h1 { font-size: 28px; line-height: 1.35; margin: 0 0 8px; }
.article-body .article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin: 0 0 18px; display: block; }
/* ★v1.2 A12：icon 图片渲染（URL 图标）统一样式 */
img.icon-img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; vertical-align: -3px; display: inline-block; }
.hp-custom-icon img.icon-img { width: 24px; height: 24px; }
.news-window-icon img.icon-img { width: 26px; height: 26px; }
.v2-col-ic img.icon-img, .mci-name img.icon-img, .icon img.icon-img, .avatar img.icon-img { width: 18px; height: 18px; }
.article-body .byline { color: var(--text-faint); font-size: 13.5px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
/* ★T4：转载新闻四要素标注块（规定第十五条） */
.reprint-meta { background: linear-gradient(135deg, rgba(201,168,106,.08), rgba(26,23,18,.35)); border: 1px solid var(--gold-line); border-radius: 12px; padding: 16px 18px; margin: 0 0 22px; }
.reprint-meta .rm-head { font-size: 13px; color: var(--gold-soft); font-weight: 600; margin-bottom: 12px; }
.reprint-meta .rm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; }
.reprint-meta .rm-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.reprint-meta .rm-item > span { font-size: 11.5px; color: var(--text-faint); }
.reprint-meta .rm-item > b { font-size: 13.5px; color: var(--text); font-weight: 600; word-break: break-all; }
.reprint-meta .rm-item > b a { color: var(--gold-soft); }
.reprint-meta .rm-warn { margin-top: 12px; font-size: 12.5px; color: #f0a429; background: rgba(240,165,41,.1); border: 1px solid rgba(240,165,41,.3); border-radius: 8px; padding: 8px 12px; }
@media (max-width: 600px) { .reprint-meta .rm-grid { grid-template-columns: repeat(2, 1fr); } }
.article-body .content { font-size: 15.5px; line-height: 1.95; color: #d9d2c2; }
.article-body .content h2 { font-size: 20px; margin: 30px 0 12px; color: var(--gold-soft); }
.article-body .content h3 { font-size: 17px; margin: 22px 0 10px; }
.article-body .content p { margin: 14px 0; }
.article-body .content ul, .article-body .content ol { margin: 14px 0; padding-left: 24px; }
.article-body .content li { margin: 6px 0; }
.article-body .content strong { color: var(--text); }
.article-body .content blockquote {
  margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--gold-deep);
  background: rgba(201,168,106,.06); color: var(--text-dim); border-radius: 0 6px 6px 0;
}

/* 正文通用排版增强（v1.3 排版归一：表格/代码/图片/链接/列表细节） */
.article-body .content img, #f_preview_box img, #pi_preview_box img, #aw_preview_box img {
  max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 16px auto;
}
.article-body .content table, #f_preview_box table, #pi_preview_box table, #aw_preview_box table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px;
}
.article-body .content th, #f_preview_box th, #pi_preview_box th, #aw_preview_box th {
  background: rgba(201,168,106,.14); color: var(--gold-soft); font-weight: 600;
}
.article-body .content th, .article-body .content td,
#f_preview_box th, #f_preview_box td, #pi_preview_box th, #pi_preview_box td,
#aw_preview_box th, #aw_preview_box td {
  border: 1px solid var(--border-soft); padding: 9px 12px; text-align: left; vertical-align: top;
}
.article-body .content code, #f_preview_box code, #pi_preview_box code, #aw_preview_box code {
  background: rgba(201,168,106,.1); padding: 2px 6px; border-radius: 4px;
  font-size: .92em; color: var(--gold-soft);
}
.article-body .content pre, #f_preview_box pre, #pi_preview_box pre, #aw_preview_box pre {
  background: var(--ink-850); border: 1px solid var(--border-soft); border-radius: 8px;
  padding: 14px 16px; overflow-x: auto; margin: 18px 0;
}
.article-body .content pre code { background: none; padding: 0; }
.article-body .content a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.article-body .content hr, #f_preview_box hr, #pi_preview_box hr, #aw_preview_box hr {
  border: none; border-top: 1px solid var(--border); margin: 26px 0;
}
.article-body .content ul, .article-body .content ol { padding-left: 26px; }
.article-body .content li { margin: 6px 0; line-height: 1.85; }

/* 编辑器预览盒（后台/作家端统一排版预览） */
#f_preview_box, #pi_preview_box, #aw_preview_box {
  font-size: 15px; line-height: 1.95; color: var(--text-dim);
}
#f_preview_box h2, #pi_preview_box h2, #aw_preview_box h2 {
  font-size: 20px; margin: 26px 0 12px; color: var(--gold-soft);
}
#f_preview_box h3, #pi_preview_box h3, #aw_preview_box h3 {
  font-size: 17px; margin: 20px 0 10px; color: var(--text);
}
#f_preview_box p, #pi_preview_box p, #aw_preview_box p { margin: 13px 0; }
#f_preview_box blockquote, #pi_preview_box blockquote, #aw_preview_box blockquote {
  margin: 16px 0; padding: 10px 16px; border-left: 3px solid var(--gold-deep);
  background: rgba(201,168,106,.06); color: var(--text-dim); border-radius: 0 6px 6px 0;
}

/* 风险提示（强制附在正文末） */
.risk-note {
  margin-top: 26px !important; padding: 14px 18px;
  background: rgba(181,64,47,.08); border: 1px solid rgba(181,64,47,.3);
  border-radius: var(--radius-sm); color: var(--cinnabar-soft);
  font-size: 13.5px !important; line-height: 1.7 !important;
}

/* 侧栏 */
.aside-card {
  background: linear-gradient(180deg, var(--panel), var(--ink-850));
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 20px; margin-bottom: 18px;
}
.aside-card h4 { margin: 0 0 14px; font-size: 15px; color: var(--gold-soft); }

/* ============ 作家主页 ============ */
.author-hero {
  display: flex; gap: 26px; align-items: center;
  background: linear-gradient(180deg, var(--panel), var(--ink-850));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px;
}
.author-hero .avatar {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-deep), var(--ink-600));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 40px; color: var(--gold-soft); border: 2px solid var(--gold-line);
}
.author-hero .credential {
  display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 20px;
  background: rgba(181,64,47,.14); color: var(--cinnabar-soft); font-size: 12px; border: 1px solid rgba(181,64,47,.35);
}
.author-hero .follow-btn { margin-left: auto; }

/* ============ 课程详情 / 章节 ============ */
.course-hero {
  display: grid; grid-template-columns: 320px 1fr; gap: 30px;
  background: linear-gradient(180deg, var(--panel), var(--ink-850));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
}
.course-hero .cover {
  height: 200px; border-radius: var(--radius-sm);
  background-size: cover; background-position: center;
  border: 1px solid var(--border-soft);
}
.chapter {
  background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
}
.chapter .ch-title {
  padding: 13px 18px; font-family: var(--serif); font-weight: 600; font-size: 15px;
  background: var(--panel-2); border-bottom: 1px solid var(--border-soft);
}
.lesson-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft); cursor: pointer; transition: background .12s;
}
.lesson-row:last-child { border-bottom: none; }
.lesson-row:hover { background: rgba(201,168,106,.05); }
.lesson-row .idx {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  background: var(--ink-600); color: var(--gold-soft); border: 1px solid var(--gold-line);
}
.lesson-row.done .idx { background: var(--gold); color: #1a1407; }
.lesson-row .lv-title { flex: 1; }
.lesson-row .lv-meta { color: var(--text-faint); font-size: 12.5px; }
.lesson-row .preview-tag { color: var(--gold-soft); font-size: 12px; }

/* 进度条 */
.progress { height: 8px; background: var(--ink-600); border-radius: 20px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); }

/* ============ 社群详情 ============ */
.post {
  background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
}
.post .post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.post .post-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink-600);
  display: flex; align-items: center; justify-content: center; color: var(--gold-soft); font-size: 14px;
  border: 1px solid var(--gold-line);
}
.post .post-title { font-weight: 600; font-family: var(--serif); font-size: 15.5px; }
.post .post-content { color: var(--text-dim); font-size: 14px; }
.post.notice { border-color: rgba(201,168,106,.3); background: rgba(201,168,106,.05); }
.composer { background: var(--panel); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.composer textarea {
  width: 100%; min-height: 80px; resize: vertical; background: var(--ink-900);
  border: 1px solid var(--border-soft); border-radius: var(--radius-sm); color: var(--text);
  padding: 12px; font-family: var(--sans); font-size: 14px;
}
.composer textarea:focus { outline: none; border-color: var(--gold-line); }

/* ============ 表单 ============ */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink-900); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); color: var(--text); padding: 10px 12px;
  font-family: var(--sans); font-size: 14px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-line); }
.auth-box { max-width: 380px; margin: 40px auto; }

/* ============ 鉴权页 · 双栏格局（国风墨韵） ============ */
.auth-shell {
  max-width: 920px;
  margin: 44px auto 64px;
  display: grid;
  grid-template-columns: 0.92fr 1.12fr;
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,106,.1);
}
.auth-aside {
  position: relative;
  padding: 48px 34px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background:
    radial-gradient(circle at 28% 18%, rgba(201,168,106,.16), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(214,96,74,.08), transparent 50%),
    linear-gradient(168deg, #211d18, #14110e 72%);
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.auth-aside::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}
.auth-aside::after {
  content: "螭吻"; position: absolute; right: -26px; bottom: -14px;
  font-family: var(--serif); font-size: 120px; line-height: 1;
  color: rgba(201,168,106,.05); letter-spacing: .05em; user-select: none;
}
.auth-aside .aside-logo { display: flex; align-items: center; gap: 14px; }
.auth-aside .aside-logo img { height: 54px; filter: drop-shadow(0 0 12px rgba(201,168,106,.38)); }
.auth-aside .aside-brand-cn { font-family: var(--serif); font-size: 23px; color: var(--gold-soft); letter-spacing: .12em; }
.auth-aside .aside-brand-en { font-size: 10.5px; color: var(--text-faint); letter-spacing: .24em; margin-top: 5px; }
.auth-aside .aside-slogan {
  font-family: var(--serif); font-size: 21px; color: var(--text-strong);
  letter-spacing: .14em; line-height: 1.9; margin-top: 6px;
}
.auth-aside .aside-desc { color: var(--text-dim); font-size: 13.5px; line-height: 2; max-width: 300px; }
.auth-aside .aside-seal {
  margin-top: 10px; align-self: flex-start;
  width: 56px; height: 56px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cinnabar-soft); color: var(--cinnabar-soft);
  font-family: var(--serif); font-size: 16px; letter-spacing: .08em;
  transform: rotate(-5deg); opacity: .92;
  box-shadow: 0 6px 16px rgba(214,96,74,.15);
}
.auth-card {
  padding: 46px 42px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-mobile-brand { display: none; }
.auth-card .auth-head { margin-bottom: 24px; }
.auth-card .auth-title {
  font-family: var(--serif); font-size: 27px; color: var(--text-strong);
  letter-spacing: .08em; margin: 0 0 6px;
}
.auth-card .auth-sub { color: var(--text-faint); font-size: 13px; letter-spacing: .02em; }
.auth-card .auth-head::after {
  content: ""; display: block; width: 46px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent); margin-top: 16px;
}
.auth-card .field { margin-bottom: 18px; }
.auth-card .field label { font-size: 13px; letter-spacing: .06em; }
.auth-card .field input, .auth-card .field select {
  background: rgba(0,0,0,.28); border: 1px solid var(--border-soft);
  border-radius: 9px; padding: 12px 14px; font-size: 14px; color: var(--text);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.auth-card .field input:focus, .auth-card .field select:focus {
  border-color: var(--gold-line); box-shadow: 0 0 0 3px rgba(201,168,106,.14);
  background: rgba(0,0,0,.34);
}
.auth-card .field input::placeholder { color: rgba(179,170,150,.45); }
.auth-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }

/* ===== 签约作者入驻 6 步向导（PRD_作者注册前后端打通） ===== */
.wz-wrap { max-width: 640px; margin: 32px auto 56px; }
.wz-head { text-align: center; margin-bottom: 22px; }
.wz-title { font-family: var(--serif); font-size: 26px; color: var(--gold-soft); letter-spacing: .08em; }
.wz-sub { color: var(--text-faint); font-size: 13px; margin-top: 8px; }
.wz-steps { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
.wz-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .5; }
.wz-step.active, .wz-step.done { opacity: 1; }
.wz-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.3); border: 1px solid var(--border-soft); color: var(--text-dim); font-size: 13px; }
.wz-step.active .wz-dot { border-color: var(--gold-line); color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(201,168,106,.14); }
.wz-step.done .wz-dot { background: var(--gold); color: #1a1712; border-color: var(--gold); }
.wz-label { font-size: 11.5px; color: var(--text-dim); letter-spacing: .02em; }
.wz-progress { height: 4px; background: rgba(0,0,0,.3); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.wz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width .3s; }
.wz-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 26px 26px 30px; }
.wz-card .field { margin-bottom: 16px; }
.wz-card .field label { font-size: 13px; letter-spacing: .06em; color: var(--text-dim); }
.wz-card .field .req { color: var(--cinnabar-soft); }
.wz-card .field input, .wz-card .field select, .wz-card .field textarea {
  width: 100%; background: rgba(0,0,0,.28); border: 1px solid var(--border-soft);
  border-radius: 9px; padding: 11px 13px; font-size: 14px; color: var(--text); margin-top: 6px; }
.wz-card .field textarea { min-height: 72px; resize: vertical; }
.wz-card .field-row { display: flex; gap: 10px; }
.wz-card .field-row input { flex: 1; }
.wz-card .field-row .btn { white-space: nowrap; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { padding: 6px 12px; border-radius: 20px; font-size: 12.5px; cursor: pointer; user-select: none;
  border: 1px solid var(--border-soft); color: var(--text-dim); background: rgba(0,0,0,.22); transition: all .15s; }
.chip.on { border-color: var(--gold-line); color: var(--gold-soft); background: rgba(201,168,106,.12); }
.wz-consent { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 16px; }
.wz-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-dim); cursor: pointer; }
.wz-check input { margin-top: 3px; }
/* ★P2-4 协议全文展示（注册第6步签署前必读） */
.wz-check-wrap { display: flex; flex-direction: column; gap: 6px; }
.wz-check-wrap .wz-check { flex-wrap: wrap; }
.agr-link { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; margin: 0 2px; cursor: pointer; }
.agr-toggle { color: var(--gold-line); font-size: 12px; cursor: pointer; margin-left: 6px; white-space: nowrap; }
.agr-toggle:hover { color: var(--gold-soft); }
.agr-body { max-height: 240px; overflow-y: auto; background: rgba(0,0,0,.28); border: 1px solid var(--border-soft);
  border-left: 2px solid var(--gold-line); border-radius: 6px; padding: 12px 14px; }
.agr-title { font-family: var(--serif); color: var(--gold-soft); font-size: 13.5px; margin-bottom: 8px; }
.agr-text { font-size: 12.5px; color: var(--text-dim); line-height: 1.9; text-align: justify; }
.wz-note { font-size: 12.5px; color: var(--text-faint); background: rgba(0,0,0,.18); border-left: 2px solid var(--gold-line);
  padding: 9px 12px; border-radius: 6px; line-height: 1.7; }
.wz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.wz-nav-right { display: flex; gap: 12px; }
.wz-foot { text-align: center; font-size: 12px; color: var(--text-faint); margin-top: 16px; }
.wz-result { text-align: center; padding: 48px 24px; }
.wz-result-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px;
  font-size: 32px; font-weight: 700; }
.wz-result.ok .wz-result-icon { background: rgba(120,180,140,.18); color: #8fd0a0; border: 1px solid rgba(120,180,140,.5); }
.wz-result.bad .wz-result-icon { background: rgba(213,96,74,.18); color: #e08a78; border: 1px solid rgba(213,96,74,.5); }
.wz-result h2 { font-family: var(--serif); color: var(--gold-soft); margin-bottom: 10px; }
.wz-result p { color: var(--text-dim); font-size: 14px; line-height: 1.8; }
.wz-result .wz-sub { color: var(--text-faint); font-size: 12.5px; margin-top: 8px; }

.auth-entry { margin-top: 16px; text-align: center; font-size: 13px; }
.auth-entry a { color: var(--gold-soft); text-decoration: none; letter-spacing: .04em; border-bottom: 1px dashed rgba(201,168,106,.5); padding-bottom: 2px; }
.auth-entry a:hover { color: var(--gold); }
.auth-card .btn { border-radius: 9px; padding: 13px; font-size: 15px; letter-spacing: .1em; }
.auth-links {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-faint);
}
.auth-links a { color: var(--gold-soft); transition: color .15s; }
.auth-links a:hover { color: var(--gold); }
.auth-demo {
  margin-top: 16px; padding: 10px 12px; border-radius: 8px;
  background: rgba(201,168,106,.05); border: 1px dashed var(--border-soft);
  font-size: 12px; color: var(--text-faint); text-align: center; letter-spacing: .03em;
}
.auth-demo b { color: var(--gold-soft); font-weight: 600; }
/* 注册页 · 学员资料采集区 */
.reg-sec {
  margin: 4px 0 18px; padding: 18px 18px 14px;
  border: 1px solid var(--border-soft); border-radius: 11px;
  background: rgba(201,168,106,.035);
}
.reg-sec-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.reg-sec-title {
  font-family: var(--serif); font-size: 15px; color: var(--gold-soft);
  letter-spacing: .08em; position: relative; padding-left: 11px;
}
.reg-sec-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px; border-radius: 2px; background: var(--gold);
}
.reg-sec-sub { font-size: 12px; color: var(--text-faint); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.reg-grid .field { margin-bottom: 14px; }
.reg-note {
  margin: 8px 0 0; font-size: 11.5px; line-height: 1.75; color: var(--text-faint);
  padding-top: 10px; border-top: 1px dashed var(--border-soft);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-soft); background: rgba(0,0,0,.22);
  color: var(--text-dim); font-size: 12.5px; letter-spacing: .02em;
  transition: all .16s;
}
.chip:hover { border-color: var(--gold-line); color: var(--text); }
.chip.on {
  border-color: var(--gold); color: var(--gold-soft);
  background: rgba(201,168,106,.14); font-weight: 600;
}
@media (max-width: 720px) {
  .auth-shell { grid-template-columns: 1fr; max-width: 480px; }
  .auth-aside { display: none; }
  .auth-card { padding: 36px 26px; }
  .reg-grid { grid-template-columns: 1fr; }
  .auth-mobile-brand {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 22px;
  }
  .auth-mobile-brand img { height: 36px; }
  .auth-mobile-brand span { font-family: var(--serif); font-size: 18px; color: var(--gold-soft); letter-spacing: .1em; }
}

/* ============ 页脚 ============ */
.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 106, 0.06), transparent 60%),
    var(--ink-850);
  padding: 48px 0 26px;
  margin-top: 56px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.site-footer .cols { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo {
  height: 48px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201, 168, 106, 0.28));
}
.footer-name-cn {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-strong);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.footer-name-en {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  margin-top: 3px;
  line-height: 1.3;
}
.site-footer .slogan { color: var(--text-dim); font-size: 14px; max-width: 380px; margin: 6px 0 18px; line-height: 1.9; }
.site-footer h5 {
  font-family: var(--serif); color: var(--gold-soft); font-size: 15px;
  margin: 0 0 16px; letter-spacing: .05em;
}
.site-footer h5::after {
  content: ""; display: block; width: 24px; height: 2px;
  background: var(--gold-line); margin-top: 8px;
}
/* ===== 模块可折叠（桌面端表现如普通列标题，移动端变成下拉面板） ===== */
.site-footer .footer-col { min-width: 0; }
.site-footer .footer-col > summary {
  list-style: none; cursor: default;
  font-family: var(--serif); color: var(--gold-soft);
  font-size: 15px; letter-spacing: .05em;
  margin: 0 0 16px; display: block;
}
.site-footer .footer-col > summary::-webkit-details-marker { display: none; }
.site-footer .footer-col > summary::marker { display: none; }
.site-footer .footer-col > summary::after {
  content: ""; display: block; width: 24px; height: 2px;
  background: var(--gold-line); margin-top: 8px;
}
.site-footer a { display: block; color: var(--text-dim); font-size: 13.5px; margin-bottom: 11px; transition: color .15s, padding-left .15s; }
.site-footer a:hover { color: var(--gold-soft); padding-left: 4px; }
/* 关注我们 · 公众号二维码卡 + 视频号/小程序待上线 */
.footer-social { display: flex; gap: 14px; margin-top: 6px; align-items: flex-start; }
.footer-social .qr-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 0; padding: 0; border: none; background: transparent;
  transition: transform .2s ease;
}
.footer-social .qr-card:hover { transform: translateY(-3px); padding-left: 0; }
.footer-social .qr-thumb {
  width: 72px; height: 72px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.4), 0 0 8px rgba(201,168,106,.18);
  position: relative;
  overflow: hidden;
}
.footer-social .qr-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 4px; }
.footer-social .qr-card .qr-label {
  font-size: 12px; color: var(--gold-soft); letter-spacing: .12em;
}
.footer-social .qr-pending {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 72px;
  background: transparent;
  color: var(--text-faint);
  font-size: 12px;
  text-align: center;
  cursor: default;
}
.footer-social .qr-thumb-empty {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border: 1px dashed rgba(201,168,106,.32);
  border-radius: 8px;
  background: rgba(201,168,106,.04);
  color: var(--text-faint);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .12em;
  margin-bottom: 0;
}
.footer-social .qr-pending .qr-label { letter-spacing: .08em; opacity: .75; }

/* 公众号二维码大图灯箱 */
.qr-lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.qr-lightbox.open { opacity: 1; pointer-events: auto; }
.qr-lightbox-card {
  position: relative;
  background: linear-gradient(180deg, #faf6ee, #f0e9d8);
  color: #2a2419;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 28px 30px 22px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,106,.2);
  transform: scale(.94);
  transition: transform .22s ease;
}
.qr-lightbox.open .qr-lightbox-card { transform: scale(1); }
.qr-lightbox-card .qr-lightbox-img { width: 280px; height: 280px; display: block; margin: 0 auto 14px; border-radius: 6px; }
.qr-lightbox-card .qr-lightbox-title {
  font-family: var(--serif); font-size: 18px; color: #2a2419;
  letter-spacing: .12em; margin: 0 0 4px;
}
.qr-lightbox-card .qr-lightbox-sub {
  font-size: 13px; color: #6f6857; margin: 0;
}
.qr-lightbox-close {
  position: absolute; top: 8px; right: 12px;
  width: 28px; height: 28px; line-height: 26px;
  font-size: 22px; color: #6f6857; background: transparent;
  border: none; border-radius: 50%; cursor: pointer;
  transition: background .15s;
}
.qr-lightbox-close:hover { background: rgba(0,0,0,.08); color: #2a2419; }

.site-footer .risk-foot { color: var(--text-faint); font-size: 12px; line-height: 1.7; margin-top: 14px; }
.site-footer .bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border-soft);
  color: var(--text-faint); font-size: 12.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.site-footer .bottom .risk-inline { color: var(--cinnabar-soft); }
.site-footer .license-badge {
  margin-top: 12px; padding: 8px 14px; border: 1px solid var(--gold-soft, #c9a96a);
  border-radius: 6px; background: rgba(201,169,106,.10); color: var(--gold-soft, #c9a96a);
  font-size: 12.5px; letter-spacing: .02em; text-align: center;
}

/* ★T7 非新闻信息服务声明条（详情页，区分原创/研报/观点/行情 与 新闻信息服务） */
.article-body .non-news-notice {
  margin: 16px 0; padding: 13px 16px; border: 1px solid var(--border-soft, #2a2620);
  border-left: 4px solid var(--text-faint, #8a8175); border-radius: 8px;
  background: rgba(255,255,255,.03);
}
.article-body .non-news-notice .nn-head {
  font-size: 13px; font-weight: 600; color: var(--text-dim, #cfc7b8); margin-bottom: 4px;
}
.article-body .non-news-notice .nn-body {
  font-size: 12.5px; line-height: 1.7; color: var(--text-faint, #9a9183);
}

/* T5：转载类权益未持证降级提示（首页等级位下方） */
.reprint-notice {
  margin: 12px auto 0; max-width: 720px; padding: 9px 14px;
  border: 1px solid #e0a23a; border-radius: 6px; background: rgba(224,162,58,.12);
  color: #a8601e; font-size: 12.5px; letter-spacing: .01em; text-align: center;
}

/* ============ 面包屑 / 小工具 ============ */
.breadcrumb { color: var(--text-faint); font-size: 13px; margin: 6px 0 18px; }
.breadcrumb a { color: var(--text-dim); }
.page-title { font-size: 30px; margin: 4px 0 8px; color: var(--text-strong); }
.page-sub { color: var(--text-dim); margin-bottom: 26px; font-size: 15px; }

.empty { text-align: center; color: var(--text-faint); padding: 60px 0; }

/* Toast —— v1.3（2026-08-19）：右上角不挡主内容；同文案去重；上限 4 条 */
.toast-wrap { position: fixed; top: 76px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; max-width: 420px; }
.toast {
  background: var(--ink-700); border: 1px solid var(--gold-line); color: var(--text);
  padding: 10px 18px; border-radius: 30px; font-size: 13.5px; box-shadow: var(--shadow);
  max-width: 100%; word-break: break-word;
  animation: toastIn .25s ease;
}
.toast.err { border-color: var(--cinnabar); color: var(--cinnabar-soft); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* 加载占位 */
.skeleton { color: var(--text-faint); padding: 50px 0; text-align: center; }

/* ============ 动效与细节打磨 ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero, .section, .about-hero, .author-hero, .course-hero, .headline-card { animation: fadeUp .6s ease both; }
.card { animation: fadeUp .5s ease both; }
.card:nth-child(2) { animation-delay: .04s; }
.card:nth-child(3) { animation-delay: .08s; }
.card:nth-child(4) { animation-delay: .12s; }
.card:nth-child(5) { animation-delay: .16s; }
.card:nth-child(6) { animation-delay: .20s; }
.card:nth-child(7) { animation-delay: .24s; }
.card:nth-child(8) { animation-delay: .28s; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .25s;
}
.card:hover::before { opacity: 1; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
::selection { background: rgba(201,168,106,.32); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.article-body .content { text-align: justify; }
.article-body .content p { text-indent: 2em; }
@media (prefers-reduced-motion: reduce) {
  .hero, .section, .about-hero, .author-hero, .course-hero, .headline-card, .card { animation: none; }
}

/* ============ 关于页 · 国风时间线 ============ */
.timeline {
  position: relative;
  margin: 8px 0 36px;
  padding-left: 30px;
}
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201,168,106,.15));
}
.tl-item { position: relative; padding: 0 0 26px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -29px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink-900); border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(201,168,106,.12);
  transition: background .2s, box-shadow .2s;
}
.tl-item:hover .tl-dot { background: var(--gold); box-shadow: 0 0 10px rgba(201,168,106,.5); }
.tl-year {
  display: inline-block; font-family: var(--serif); font-size: 13px; color: var(--gold-soft);
  letter-spacing: .12em; margin-bottom: 4px;
}
.tl-body { background: linear-gradient(180deg, var(--panel), var(--ink-850)); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px 18px; transition: border-color .2s, transform .2s; }
.tl-item:hover .tl-body { border-color: var(--gold-line); transform: translateX(3px); }
.tl-body h3 { margin: 0 0 6px; font-size: 16px; color: var(--text-strong); }
.tl-body p { margin: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.7; }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .article-view, .course-hero, .headline-card, .author-hero { grid-template-columns: 1fr; }
  .headline-card .visual { min-height: 140px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 0; }
  .site-footer .footer-brand-col {
    padding: 6px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 4px;
  }
  /* 模块下拉折叠 */
  .site-footer .footer-col {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
  }
  .site-footer .footer-col:last-of-type { border-bottom: none; }
  .site-footer .footer-col > summary {
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    margin: 0; padding: 2px 0;
  }
  .site-footer .footer-col > summary::after {
    content: "▾";
    width: auto; height: auto; background: none; margin-top: 0;
    color: var(--text-faint); font-size: 14px; line-height: 1;
    transition: transform .25s ease;
  }
  .site-footer .footer-col:not([open]) > summary::after { transform: rotate(-90deg); }
  .site-footer .footer-col > a {
    padding: 10px 0 10px 4px; margin-bottom: 0;
    border-top: 1px dashed rgba(201,168,106,.14);
  }
  .site-footer .footer-col[open] > a:first-of-type { border-top-color: transparent; }
  .site-footer .footer-col > a:hover { padding-left: 8px; }
  .site-footer .bottom { flex-direction: column; gap: 6px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-collapse {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(15,14,12,.98); border-bottom: 1px solid var(--border);
    padding: 12px 22px 16px; box-shadow: var(--shadow);
  }
  .site-nav.open .nav-collapse { display: flex; }
  .nav-collapse .nav-links { flex-direction: column; width: 100%; gap: 2px; }
  .nav-collapse .nav-links a { padding: 12px 14px; }
  .nav-collapse .nav-user { flex-direction: column; align-items: stretch; margin: 8px 0 0; }
  .nav-collapse .nav-user .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .hero { padding: 30px 22px; }
  .hero h1 { font-size: 28px; }
  .article-body { padding: 22px 18px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* ============ 分段标签 Tabs ============ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--border-soft); background: var(--ink-800); color: var(--text-dim);
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; cursor: pointer; transition: all .15s;
}
.tab:hover { color: var(--text); border-color: var(--gold-line); }
.tab.active { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--ink-900); border-color: transparent; font-weight: 600; }
/* 鉴权页 Tab 体系：模式（登录/注册）+ 一级（个人/机构）+ 二级（用户/作家） */
.auth-tabs { justify-content: center; margin: 6px 0 8px; }
.auth-tabs.mode-tabs { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.auth-tabs.mode-tabs .tab { font-size: 15px; padding: 9px 26px; letter-spacing: .08em; }
.auth-tabs.sub-tabs { gap: 6px; margin-top: 4px; }
.auth-tabs.sub-tabs .tab { padding: 5px 14px; font-size: 13px; }
.auth-tip {
  text-align: center; color: var(--text-faint); font-size: 12.5px;
  margin: 4px 0 12px; padding: 6px 12px;
  border-left: 2px solid var(--gold-line);
  background: rgba(201,168,106,.04); border-radius: 4px;
  line-height: 1.6;
}

/* ============ 作家 IP 档次徽章 ============ */
.tier { display: inline-block; font-size: 11px; padding: 2px 10px; border-radius: 999px; letter-spacing: .04em; }
.tier-gold { background: rgba(201,168,106,.18); color: var(--gold-soft); border: 1px solid var(--gold-line); }
.tier-silver { background: rgba(214,96,74,.16); color: var(--cinnabar-soft); border: 1px solid rgba(214,96,74,.3); }
.tier-bronze { background: rgba(155,176,163,.16); color: #9bb0a3; border: 1px solid rgba(155,176,163,.3); }

/* ============ 作家职业分类徽章 ============ */
.profession-badge {
  display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; letter-spacing: .03em;
  background: rgba(120,140,200,.12); color: #a9b6e0; border: 1px solid rgba(120,140,200,.32);
}

/* ============ 直播卡片 ============ */
.live-card .live-cover {
  position: relative; height: 120px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--ink-700), var(--ink-600));
  display: flex; align-items: flex-start; justify-content: space-between; padding: 12px;
  overflow: hidden; margin-bottom: 12px;
}
.live-card .live-cover::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--gold); opacity: .08;
}
.live-badge { position: relative; z-index: 1; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.live-badge.on { background: var(--cinnabar); color: #fff; }
.live-badge.soon { background: var(--gold); color: var(--ink-900); }
.live-badge.replay { background: rgba(155,176,163,.22); color: #cfe0d6; }
.live-cat { position: relative; z-index: 1; font-size: 11.5px; color: var(--text-faint); align-self: flex-start; }
.live-card .live-host { font-size: 12.5px; color: var(--gold-soft); margin: 4px 0 6px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 5px; animation: blink 1.2s infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: .25; } }
.live-reserve { display: inline-block; margin-left: 8px; padding: 3px 11px; border-radius: 999px; background: var(--gold, #c9a86a); color: var(--ink-900, #1a1a1a); font-size: 11.5px; font-weight: 600; cursor: pointer; user-select: none; }
.live-reserve:hover { opacity: .85; }
.live-card .meta { display: flex; flex-wrap: wrap; align-items: center; }

/* ============ 资讯子版块 · 独立窗口（站内精选 + 站外参考） ============ */
.news-window { margin-bottom: 32px; }
.news-window-head {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 30px; margin-bottom: 20px;
  border: 1px solid var(--gold-line); border-radius: 14px;
  background:
    radial-gradient(circle at 12% 30%, rgba(201,168,106,.12), transparent 52%),
    var(--ink-850);
}
.news-window-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--gold-soft);
  border: 1px solid var(--gold-line); border-radius: 14px;
  background: rgba(201,168,106,.08);
  box-shadow: inset 0 0 18px rgba(201,168,106,.08);
}
.news-window-head-main { flex: 1; min-width: 0; }
.news-window-meta { color: var(--text-faint); font-size: 12.5px; letter-spacing: .05em; }
.news-window-cols {
  display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; align-items: start;
}
.news-col {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--ink-800); padding: 20px 20px 12px;
}
.news-col-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-size: 16px; color: var(--text-strong);
  letter-spacing: .06em;
}
.news-col-dot { font-size: 12px; }
.news-col-dot.in { color: var(--gold-soft); }
.news-col-dot.out { color: var(--cinnabar-soft); }
.news-col-sub { color: var(--text-faint); font-size: 12px; margin: 4px 0 16px; }
.news-col .article-card { margin-bottom: 12px; }
.ext-link {
  display: block; padding: 12px 14px; margin-bottom: 10px;
  border: 1px solid var(--border-soft); border-radius: 9px;
  background: rgba(0,0,0,.16);
  transition: border-color .15s, transform .15s, background .15s;
}
.ext-link:hover { border-color: var(--gold-line); background: rgba(201,168,106,.05); transform: translateY(-2px); }
.ext-title { color: var(--text); font-size: 13.5px; font-weight: 600; line-height: 1.55; }
.ext-note { color: var(--text-faint); font-size: 12px; margin-top: 5px; line-height: 1.5; }
.ext-source {
  display: inline-block; margin-left: 8px; padding: 1px 9px;
  border-radius: 999px; background: rgba(201,168,106,.12);
  color: var(--gold-soft); font-size: 11px; letter-spacing: .04em;
}
@media (max-width: 860px) {
  .news-window-cols { grid-template-columns: 1fr; }
  .news-window-head { flex-direction: column; text-align: center; padding: 22px 18px; }
  .news-window-icon { width: 54px; height: 54px; font-size: 26px; }
}

/* ============ 实时快讯 Ticker（横向滚动） ============ */
.ticker {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; margin-bottom: 18px;
  border: 1px solid var(--gold-line); border-radius: 12px;
  background: var(--ink-850); overflow: hidden;
}
.ticker-label {
  flex-shrink: 0; font-family: var(--serif); color: var(--gold-soft);
  font-size: 12.5px; letter-spacing: .12em;
  padding: 4px 12px; border: 1px solid var(--gold-line); border-radius: 999px;
  background: rgba(201,168,106,.1); white-space: nowrap;
}
.ticker-viewport { flex: 1; overflow: hidden; position: relative; height: 24px; }
.ticker-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  animation: tickerMove 45s linear infinite; will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a, .ticker-track span { color: var(--text-dim); font-size: 13px; padding-right: 46px; transition: color .15s; }
.ticker-track a:hover { color: var(--gold-soft); }
.ticker-track .tk-src {
  color: var(--text-faint); font-size: 11px; margin-left: 8px;
  padding: 1px 8px; border-radius: 999px; background: rgba(201,168,106,.08);
}
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 快讯 · 垂直滚动展示 ============ */
.flash-scroll { height: 540px; overflow: hidden; position: relative; }
.flash-scroll .flash-track { animation: flashUp 42s linear infinite; will-change: transform; }
.flash-scroll:hover .flash-track { animation-play-state: paused; }
.flash-scroll .article-card { margin-bottom: 12px; }
@keyframes flashUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* ============ 作家短文动态（微博式） ============ */
.post-card {
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--ink-800); padding: 14px 18px; margin-bottom: 10px;
  line-height: 1.8; color: var(--text);
}
.post-card .post-meta {
  margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border-soft);
  color: var(--text-faint); font-size: 12px; display: flex; gap: 16px;
}

/* ============ 学员端 · 资料未完善提醒条 ============ */
.pf-tip {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; margin: 0 0 14px;
  background: linear-gradient(135deg, rgba(201,168,106,.14), rgba(201,168,106,.04));
  border: 1px solid rgba(201,168,106,.42); border-left: 3px solid var(--gold-soft, #c9a86a);
  border-radius: 10px;
}
.pf-tip .ic { font-size: 20px; line-height: 1; }
.pf-tip .txt { flex: 1; min-width: 0; font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.pf-tip .txt b { display: block; color: var(--gold-soft, #c9a86a); font-size: 14px; margin-bottom: 2px; }
.pf-tip .btn { flex: none; white-space: nowrap; }
@media (max-width: 720px) {
  .pf-tip { flex-wrap: wrap; }
  .pf-tip .txt { flex: 1 1 100%; order: 2; }
  .pf-tip .btn { order: 3; margin-left: auto; }
}

/* ============ 读者中心模块卡片网格 ============ */
.study-hero {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(201,168,106,.08), rgba(26,23,18,.3));
  border: 1px solid var(--gold-line); border-radius: 14px;
}
.study-hero .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 28px; color: var(--ink-900);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 4px 14px rgba(201,168,106,.4);
}
.study-hero .info { flex: 1; min-width: 0; }
.study-hero .info h2 { margin: 0 0 4px; font-family: var(--serif); font-size: 22px; color: var(--gold-soft); }
.study-hero .info .sub { color: var(--text-faint); font-size: 13px; }
.module-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.module-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 14px 16px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--ink-800);
  text-align: center; color: var(--text);
  transition: all .15s; position: relative;
}
.module-card:hover { border-color: var(--gold-line); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,168,106,.18); }
.module-card .ic {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--gold-soft);
  background: rgba(201,168,106,.1); border: 1px solid var(--gold-line);
}
.module-card .name { font-size: 14px; font-weight: 600; color: var(--text); }
.module-card .count { font-size: 12px; color: var(--text-faint); }
.module-card .count b { color: var(--gold-soft); font-weight: 700; font-size: 13px; }
.module-card.disabled { opacity: .35; }
.module-card.disabled .ic { background: rgba(255,255,255,.03); border-color: var(--border); color: var(--text-faint); }
.pref-toggle { background: var(--ink-800); border: 1px solid var(--gold-line); color: var(--gold-soft); }
.pref-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px; max-height: 360px; overflow: auto;
}
.pref-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: all .12s;
}
.pref-item:hover { border-color: var(--gold-line); background: rgba(201,168,106,.05); }
.pref-item input { width: 16px; height: 16px; accent-color: var(--gold); }
.pref-item.checked { border-color: var(--gold-line); background: rgba(201,168,106,.12); }
.pref-item .ic { font-size: 20px; }
.pref-item .name { font-size: 13.5px; flex: 1; }

@media (max-width: 720px) {
  .study-hero { flex-direction: column; text-align: center; }
}

/* ==================== C 端首页与后台打通（千人千面 2026-08-11） ==================== */
.hp-personal { display: grid; grid-template-columns: 280px 1fr 300px; gap: 14px; align-items: start; margin: 18px 0 8px; }
.hp-card { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.hp-card-t { font-size: 14px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.hp-level-head { display: flex; justify-content: space-between; align-items: flex-start; }
.hp-lv-name { font-size: 22px; font-weight: 800; color: var(--cinnabar, #c8102e); }
.hp-lv-title { font-size: 13px; font-weight: 700; color: var(--text, #1f2733); margin-left: 6px; }
.hp-lv-sub { font-size: 12px; color: var(--text-dim, #6b7686); margin-top: 6px; }
.hp-lv-badge { background: var(--cinnabar-soft, #fdecef); color: var(--cinnabar, #c8102e); border-radius: 20px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.hp-bar { height: 9px; background: var(--border, #e6e9ef); border-radius: 6px; overflow: hidden; margin-top: 12px; }
.hp-bar > i { display: block; height: 100%; background: var(--cinnabar, #c8102e); }
.hp-grow-label { font-size: 12px; color: var(--text-dim, #6b7686); margin-top: 6px; display: flex; justify-content: space-between; }
.hp-next-tip { font-size: 12px; color: var(--cinnabar, #c8102e); margin-top: 8px; font-weight: 600; line-height: 1.6; }
.hp-cta { display: flex; gap: 8px; margin-top: 12px; }
.hp-note { font-size: 11px; color: var(--text-faint, #9aa3b2); margin-top: 10px; line-height: 1.6; }
.hp-promo-wrap { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.hp-promo { background: linear-gradient(135deg, var(--cinnabar-soft, #fdecef), #fff); border: 1px solid #f3c9d2; border-radius: 10px; padding: 15px; position: relative; }
.hp-promo-pt { font-size: 14px; font-weight: 700; color: var(--cinnabar, #c8102e); display: flex; align-items: center; gap: 8px; }
.hp-ad { font-size: 10px; color: #fff; background: #999; border-radius: 4px; padding: 1px 5px; font-weight: 400; }
.hp-promo-pd { font-size: 12.5px; color: #7a2230; margin-top: 6px; line-height: 1.6; }
.hp-promo-pb { margin-top: 10px; }
.hp-feed-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 4px; }
.hp-feed-t { font-size: 16px; font-weight: 700; }
.hp-feed-sub { font-size: 12px; color: var(--text-dim, #6b7686); }
.hp-article { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; cursor: pointer; transition: box-shadow .15s; }
.hp-article:hover { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.hp-article.locked { border-left: 3px solid var(--gold, #c9a45c); }
.hp-tt { font-size: 15.5px; font-weight: 600; line-height: 1.45; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp-minlv { font-size: 11px; font-weight: 700; border-radius: 5px; padding: 2px 7px; flex: 0 0 auto; }
.hp-minlv.m0 { background: #eef2f7; color: #475569; }
.hp-minlv.m2 { background: #dcfce7; color: #15803d; }
.hp-minlv.m3 { background: #fef9c3; color: #a16207; }
.hp-meta { font-size: 12px; color: var(--text-dim, #6b7686); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.hp-lock { color: var(--cinnabar, #c8102e); font-weight: 600; }
.hp-source { font-size: 11.5px; color: var(--text-faint, #9aa3b2); margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--border, #e6e9ef); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hp-source b { color: #475569; font-weight: 600; }
.hp-src-type { background: var(--chip, #eef2f7); border-radius: 4px; padding: 1px 6px; font-size: 10.5px; }
.hp-src-lk { color: var(--link, #2563eb); }
.hp-src-hot { font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--border, #e6e9ef); display: flex; justify-content: space-between; }
.hp-src-hot:last-child { border-bottom: none; }
.hp-src-num { color: var(--text-faint, #9aa3b2); font-size: 12px; }
.hp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cinnabar, #c8102e); display: inline-block; }
.hp-readall { margin-left: auto; font-size: 11px; color: var(--text-dim, #6b7686); background: none; border: 1px solid var(--border, #e6e9ef); border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.hp-msg { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border, #e6e9ef); font-size: 12.5px; }
.hp-msg:last-child { border-bottom: none; }
.hp-msg.unread b { color: var(--cinnabar, #c8102e); }
.hp-msg .hp-msg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cinnabar, #c8102e); margin-top: 5px; flex: none; }
.hp-msg-c { font-size: 11.5px; color: var(--text-faint, #9aa3b2); margin-top: 2px; line-height: 1.5; }
.hp-mask { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: none; align-items: center; justify-content: center; z-index: 100; }
.hp-mask.show { display: flex; }
.hp-modal { background: #fff; border-radius: 14px; width: 380px; max-width: 92vw; padding: 24px; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.hp-modal h4 { font-size: 17px; margin: 0 0 8px; }
.hp-modal p { font-size: 13px; color: var(--text-dim, #6b7686); line-height: 1.7; margin: 0; }
.hp-modal .hp-mbtns { display: flex; gap: 10px; margin-top: 14px; }
.hp-modal .hp-mbtns .btn { flex: 1; }
@media (max-width: 1080px) {
  .hp-personal { grid-template-columns: 1fr; }
  .hp-left, .hp-right { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .hp-left, .hp-right { grid-template-columns: 1fr; }
}

/* ==================== 首页原布局优化版（恢复门户骨架 + 后台打通元素 2026-08-11） ==================== */
.hp-lvbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, #fff8e6 0%, #fef0d6 100%); border: 1px solid #e8c97a; border-radius: 14px; padding: 16px 22px; box-shadow: 0 2px 10px rgba(201, 164, 92, 0.15); font-size: 14px; color: #3a2810; }
.hp-lvbar-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #c8102e, #a30d24); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; flex: 0 0 auto; box-shadow: 0 2px 6px rgba(200, 16, 46, 0.3); }
.hp-lvbar-badge-lg { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(135deg, #c8102e, #a30d24); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; line-height: 1.1; flex: 0 0 auto; box-shadow: 0 2px 6px rgba(200, 16, 46, 0.3); }
.hp-lvbar-badge-lg small { font-size: 11px; font-weight: 500; opacity: 0.92; margin-top: 3px; white-space: nowrap; }
.hp-lvbar-body { flex: 1; min-width: 220px; }
.hp-lvbar-title { font-size: 15.5px; font-weight: 700; color: #3a2810; line-height: 1.5; }
.hp-lvbar-title b { color: #c8102e; font-weight: 800; margin: 0 2px; }
.hp-lvbar-sub { font-size: 12.5px; color: #6a4d20; margin-top: 6px; line-height: 1.7; }
.hp-lvbar-bar { height: 8px; background: #e8ddc9; border-radius: 6px; overflow: hidden; margin: 8px 0 4px; max-width: 360px; }
.hp-lvbar-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #d4a85a, #b07820); }
.hp-lvbar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hp-lvbar-tag { background: #fff; border: 1px solid #e8c97a; border-radius: 20px; padding: 4px 11px; font-size: 12px; color: #6a4d20; white-space: nowrap; }
.hp-lvbar-actions { display: flex; gap: 10px; flex: 0 0 auto; align-items: center; }
.hp-lvbar-btn { background: linear-gradient(135deg, #c8102e, #a30d24); color: #fff !important; border: 1px solid #a30d24; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 4px rgba(200, 16, 46, 0.2); transition: all 0.15s; }
.hp-lvbar-btn:hover { background: linear-gradient(135deg, #d31e3a, #b80f28); color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(200, 16, 46, 0.3); }
.hp-lvbar-btn-outline { background: #fff; color: #6a4d20 !important; border: 1px solid #c9a45c; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all 0.15s; }
.hp-lvbar-btn-outline:hover { background: #fdf6ec; color: #6a4d20 !important; border-color: #b07820; }
.hp-lvbar-tip-num { font-weight: 600; }
.hp-promo-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg, var(--cinnabar-soft, #fdecef), #fff); border: 1px solid #f3c9d2; border-radius: 10px; padding: 12px 16px; }
.hp-promo-line .pt { font-weight: 700; color: var(--cinnabar, #c8102e); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hp-promo-line .pd { flex: 1; min-width: 220px; font-size: 12.5px; color: #7a2230; line-height: 1.6; }
.hp-feed-card { position: relative; }
.hp-feed-card .hp-minlv { position: absolute; top: 12px; right: 12px; }
.hp-feed-card.locked { border-left: 3px solid var(--gold, #c9a45c); }
.hp-feed-card .hp-lock { color: var(--cinnabar, #c8102e); font-weight: 600; font-size: 12px; }
.hp-feed-card .hp-source { font-size: 11.5px; color: var(--text-faint, #9aa3b2); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border, #e6e9ef); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hp-feed-card .hp-source b { color: #475569; font-weight: 600; }
.hp-src-type { background: var(--chip, #eef2f7); border-radius: 4px; padding: 1px 6px; font-size: 10.5px; }
.hp-src-lk { color: var(--link, #2563eb); }
.hp-chips-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp-msgrow { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border, #e6e9ef); font-size: 12.5px; }
.hp-msgrow:last-child { border-bottom: none; }
.hp-msgrow.unread b { color: var(--cinnabar, #c8102e); }
.hp-msgrow .hp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cinnabar, #c8102e); margin-top: 5px; flex: none; }
.hp-msg-c { font-size: 11.5px; color: var(--text-faint, #9aa3b2); margin-top: 2px; line-height: 1.5; }
.hp-readall { margin-left: auto; font-size: 11px; color: var(--text-dim, #6b7686); background: none; border: 1px solid var(--border, #e6e9ef); border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.hp-src-hot { font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--border, #e6e9ef); display: flex; justify-content: space-between; }
.hp-src-hot:last-child { border-bottom: none; }
.hp-src-num { color: var(--text-faint, #9aa3b2); font-size: 12px; }
.hp-mask { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: none; align-items: center; justify-content: center; z-index: 100; }
.hp-mask.show { display: flex; }
.hp-modal { background: #fff; border-radius: 14px; width: 380px; max-width: 92vw; padding: 24px; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.hp-modal h4 { font-size: 17px; margin: 0 0 8px; }
.hp-modal p { font-size: 13px; color: var(--text-dim, #6b7686); line-height: 1.7; margin: 0; }
.hp-modal .hp-mbtns { display: flex; gap: 10px; margin-top: 14px; }
.hp-modal .hp-mbtns .btn { flex: 1; }

/* ==================== 官方聊天室（PRD v1.0，2026-08-11） ==================== */
.chat-tip { background: #fff8e6; border: 1px solid #e8c97a; border-radius: 10px; padding: 10px 16px; margin: 12px 0; font-size: 13px; color: #6a4d20; }
.chat-tip a { color: var(--cinnabar, #c8102e); font-weight: 600; }
.chat-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 8px 0 16px; }
.chat-room-card { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 16px; }
.chat-room-card h3 { font-size: 16px; margin: 8px 0 6px; display: flex; align-items: center; gap: 6px; }
.chat-room-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chat-room-type { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.chat-room-type.author { background: var(--cinnabar-soft, #fdecef); color: var(--cinnabar, #c8102e); }
.chat-room-type.official { background: #eef2f7; color: #475569; }
.chat-room-type.vip { background: #fef9c3; color: #a16207; }
.chat-room-intro { font-size: 12.5px; color: var(--text-dim, #6b7686); line-height: 1.6; margin: 0 0 8px; }
.chat-ann { font-size: 12px; background: #fdf6ec; border: 1px dashed #e8c97a; border-radius: 8px; padding: 8px 10px; color: #6a4d20; margin: 0 0 10px; line-height: 1.6; }
.chat-room-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim, #6b7686); margin-bottom: 12px; }
.chat-host { color: var(--cinnabar, #c8102e); font-weight: 600; }
.chat-v { color: var(--cinnabar, #c8102e); font-weight: 800; margin-left: 2px; }
.chat-v-lg { display: inline-block; background: var(--cinnabar, #c8102e); color: #fff; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 2px 8px; vertical-align: middle; margin-left: 6px; }
.chat-risk { font-size: 11px; color: var(--text-faint, #9aa3b2); line-height: 1.7; margin-top: 14px; }
.chat-room-headbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.chat-room-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-dim, #6b7686); }
.chat-body { display: grid; grid-template-columns: 1fr 340px; gap: 14px; align-items: start; }
.chat-col { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 14px; }
.chat-col-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.chat-col-head h3 { font-size: 14px; margin: 0; }
.chat-refresh { font-size: 11px; color: var(--text-dim, #6b7686); background: none; border: 1px solid var(--border, #e6e9ef); border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.chat-msg-list, .chat-q-list { max-height: 56vh; overflow-y: auto; }
.chat-msg { padding: 10px 12px; border-radius: 10px; margin-bottom: 8px; background: #f8f9fb; border: 1px solid var(--border, #e6e9ef); }
.chat-msg.writer { background: var(--cinnabar-soft, #fdecef); border-color: #f3c9d2; }
.chat-msg.pinned { border-left: 3px solid var(--gold, #c9a45c); }
.chat-msg-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-msg-name { font-weight: 700; font-size: 13px; color: var(--text, #1f2733); }
.chat-msg.writer .chat-msg-name { color: var(--cinnabar, #c8102e); }
.chat-msg-time { font-size: 11px; color: var(--text-faint, #9aa3b2); }
.chat-msg-ops { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.chat-op { font-size: 11px; color: var(--text-dim, #6b7686); background: #fff; border: 1px solid var(--border, #e6e9ef); border-radius: 5px; padding: 2px 8px; cursor: pointer; }
.chat-op:hover { border-color: var(--cinnabar, #c8102e); color: var(--cinnabar, #c8102e); }
.chat-op.primary { background: var(--cinnabar, #c8102e); color: #fff; border-color: var(--cinnabar, #c8102e); }
.chat-msg-content { font-size: 13.5px; line-height: 1.7; margin-top: 6px; color: var(--text, #1f2733); }
.chat-msg-src { font-size: 11px; color: var(--text-faint, #9aa3b2); margin-top: 4px; }
.chat-q { padding: 10px 12px; border: 1px solid var(--border, #e6e9ef); border-radius: 10px; margin-bottom: 8px; background: #fff; }
.chat-q-head { display: flex; justify-content: space-between; align-items: center; }
.chat-q-user { font-size: 12.5px; font-weight: 700; color: var(--text, #1f2733); }
.chat-q-votes { font-size: 12px; color: var(--cinnabar, #c8102e); font-weight: 700; }
.chat-q-content { font-size: 13px; line-height: 1.6; margin: 6px 0; color: var(--text, #1f2733); }
.chat-q-ops { display: flex; gap: 6px; }
.chat-inputbar { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
.chat-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.chat-tabs .tab { font-size: 12.5px; padding: 6px 14px; border: 1px solid var(--border, #e6e9ef); background: #fff; border-radius: 20px; cursor: pointer; color: var(--text-dim, #6b7686); }
.chat-tabs .tab.active { background: var(--cinnabar, #c8102e); color: #fff; border-color: var(--cinnabar, #c8102e); }
.chat-input-row { display: flex; gap: 10px; }
.chat-input-row input { flex: 1; border: 1px solid var(--border, #e6e9ef); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; outline: none; }
.chat-input-row input:focus { border-color: var(--cinnabar, #c8102e); }
.chat-input-row .btn { white-space: nowrap; }
@media (max-width: 960px) {
  .chat-body { grid-template-columns: 1fr; }
}

/* ==================== 首页自定义模块卡片（后台首页模块管理 2026-08-11） ==================== */
.hp-custom-card { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 18px 20px; }
.hp-custom-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hp-custom-icon { font-size: 18px; }
.hp-custom-head h2 { font-size: 17px; margin: 0; }
.hp-custom-sub { font-size: 13px; color: var(--text-dim, #6b7686); margin: 0 0 10px; line-height: 1.7; }
.hp-custom-body { font-size: 13.5px; color: var(--text, #1f2733); line-height: 1.8; }
.hp-custom-body a { color: var(--link, #2563eb); }
.hp-custom-body ul { padding-left: 20px; margin: 6px 0; }
.hp-custom-body li { margin: 4px 0; }

/* ==================== 研究院研究员（从业资质作家，2026-08-11） ==================== */
.res-team { background: linear-gradient(135deg, #fdf6ec, #fbf1e3); border: 1px solid #ecd9b8; border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.res-team-head { font-size: 15px; font-weight: 700; color: var(--cinnabar, #c8102e); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.res-team-sub { font-size: 11.5px; color: var(--text-faint, #9aa3b2); font-weight: 400; }
.res-team-list { display: flex; gap: 12px; flex-wrap: wrap; }
.res-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border, #e6e9ef); border-radius: 10px; padding: 10px 14px; min-width: 220px; }
.res-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cinnabar, #c8102e); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: none; }
.res-name { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.res-lic { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.res-lic-item { font-size: 10.5px; background: var(--chip, #eef2f7); color: #475569; border-radius: 4px; padding: 1px 7px; }
.res-teacher { border: 1px solid #f3c9d2; background: var(--cinnabar-soft, #fdecef); border-radius: 10px; padding: 12px; }
.res-teacher-head { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.res-teacher-note { font-size: 11px; color: var(--text-faint, #9aa3b2); margin-top: 8px; }
.aw-res-card { display: flex; align-items: flex-start; gap: 14px; background: #f8f9fb; border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.aw-res-card.ok { background: linear-gradient(135deg, var(--cinnabar-soft, #fdecef), #fff); border-color: #f3c9d2; }
.aw-res-icon { font-size: 26px; }
.aw-res-body { flex: 1; }
.aw-res-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.aw-res-lic { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.aw-res-tip { font-size: 12.5px; color: var(--text-dim, #6b7686); margin-top: 6px; line-height: 1.7; }
.aw-res-tip a { color: var(--cinnabar, #c8102e); font-weight: 600; }

/* ==================== 研究院准入五步进度（2026-08-11） ==================== */
.aw-res-steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.aw-res-step { width: 26px; height: 26px; border-radius: 50%; background: #eef2f7; color: #9aa3b2; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 1px solid var(--border, #e6e9ef); }
.aw-res-step.done { background: var(--cinnabar, #c8102e); color: #fff; border-color: var(--cinnabar, #c8102e); }
.aw-res-step-txt { font-size: 11.5px; color: var(--text-faint, #9aa3b2); margin-left: 4px; }
.res-audit-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border, #e6e9ef); font-size: 12.5px; flex-wrap: wrap; }
.res-audit-row:last-child { border-bottom: none; }
.res-audit-step { font-weight: 700; color: var(--cinnabar, #c8102e); min-width: 70px; }
.res-audit-result.pass { color: #15803d; font-weight: 600; }
.res-audit-result.reject { color: var(--cinnabar, #c8102e); font-weight: 600; }

/* ==================== 栏目官方/用户二分 + 内容漏斗（PRD v1.0，2026-08-12） ==================== */
/* 栏目页头：标题 + 我要开栏目入口 */
.col-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.col-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* 归属角标：官方（鎏金）/ 用户（青蓝） */
.owner-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; white-space: nowrap; line-height: 1.7; }
.owner-official { background: rgba(201, 168, 106, .16); color: var(--gold-deep, #a8843f); border: 1px solid var(--gold-line, rgba(201,168,106,.22)); }
.owner-user { background: rgba(47, 111, 237, .12); color: #2f6fed; border: 1px solid rgba(47, 111, 237, .24); }

/* 我的栏目申请状态条 */
.mine-col-bar { border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; background: rgba(201, 168, 106, .05); }
.mine-col-h { font-size: 13px; font-weight: 700; color: var(--gold-deep, #a8843f); margin-bottom: 10px; }
.mine-col-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; padding: 7px 0; border-bottom: 1px dashed var(--border, #e6e9ef); }
.mine-col-item:last-child { border-bottom: none; }
.mci-name { font-weight: 600; }
.mci-st { padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mine-col-item.wait .mci-st { background: rgba(230, 162, 60, .14); color: #c98a1e; }
.mine-col-item.ok .mci-st { background: rgba(103, 194, 58, .14); color: #4a9c2d; }
.mine-col-item.err .mci-st { background: rgba(181, 64, 47, .12); color: var(--cinnabar, #b5402f); }
.mine-col-item.off .mci-st { background: rgba(120, 128, 138, .14); color: #6b7280; }
.mci-rs { color: var(--cinnabar, #b5402f); }
.mine-col-item.off .mci-rs { color: #6b7280; }
.mci-go { color: var(--gold-deep, #a8843f); font-weight: 600; }

/* 开栏目申请表单控件 */
.ca-lb { font-size: 12.5px; font-weight: 600; color: var(--text-dim, #6b7686); }
.ca-ip { width: 100%; margin-top: 6px; padding: 9px 11px; border: 1px solid var(--border, #e6e9ef); border-radius: 9px; font-size: 13.5px; font-family: inherit; background: var(--panel, #fff); color: inherit; box-sizing: border-box; }
.ca-ip:focus { outline: none; border-color: var(--gold, #c9a86a); }
.ca-icon { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border, #e6e9ef); background: var(--panel, #fff); font-size: 17px; cursor: pointer; }
.ca-icon.on { border-color: var(--gold, #c9a86a); background: rgba(201, 168, 106, .14); }

/* 内容漏斗徽章：引流 / 进阶 / 深度 */
.role-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; white-space: nowrap; line-height: 1.7; }
.role-lead { background: rgba(255, 107, 53, .14); color: #e05a22; border: 1px solid rgba(255, 107, 53, .26); }
.role-advance { background: rgba(47, 111, 237, .12); color: #2f6fed; border: 1px solid rgba(47, 111, 237, .24); }
.role-deep { background: rgba(142, 68, 173, .12); color: #8e44ad; border: 1px solid rgba(142, 68, 173, .24); }

/* 引流课详情「进阶推荐」承接区 */
.adv-rec { margin-top: 30px; padding: 20px 22px; border: 1px solid var(--gold-line, rgba(201,168,106,.22)); border-radius: 14px; background: rgba(201, 168, 106, .05); }
.adv-rec-h { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.adv-rec-h h3 { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--gold-deep, #a8843f); }
.adv-rec-sub { font-size: 12.5px; color: var(--text-dim, #6b7686); margin: 0 0 16px; line-height: 1.8; }

/* ===== V2 用户自助发布端 · 会员栏目创作（个人中心内嵌） ===== */
.v2-col-card { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 14px 16px; }
.v2-col-top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.v2-col-ic { font-size: 18px; }
.v2-col-intro { font-size: 12.5px; color: var(--text-dim, #6b7686); margin: 8px 0; line-height: 1.7; max-height: 56px; overflow: hidden; }
.v2-col-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.v2-rs { font-size: 12px; color: var(--cinnabar, #b5402f); }
.v2-lk { color: var(--gold-soft, #c9a86a); font-weight: 600; cursor: pointer; text-decoration: none; }
.v2-lk:hover { color: var(--gold, #c9a86a); }
.v2-editor { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 16px 18px; margin-bottom: 6px; }
.v2-post-list { display: flex; flex-direction: column; gap: 10px; }
.v2-post-item { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 12px 14px; }
.v2-post-meta { font-size: 12px; color: var(--text-dim, #6b7686); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.v2-post-content { font-size: 13.5px; line-height: 1.7; margin: 8px 0; white-space: pre-wrap; word-break: break-all; }
.v2-post-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.v2-post-imgs img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border, #e6e9ef); }
.v2-empty { font-size: 13.5px; color: var(--text-dim, #6b7686); padding: 8px 0; }
/* 读者社群发布区：帖子配图 + 编辑器缩略图 */
.post-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.post-imgs img { width: 104px; height: 104px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border, #e6e9ef); cursor: zoom-in; }
.composer-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.composer-imgs .thumb { position: relative; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border, #e6e9ef); }
.composer-imgs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.composer-imgs .thumb .x { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px; text-align: center; border: none; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: 13px; padding: 0; }
/* 线下交流会帖子样式 */
.post-meetup { border-left: 3px solid var(--gold, #c9a86a); }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 2px; font-size: 13px; color: var(--text-dim, #6b7686); }
.post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tag.meetup { background: var(--gold, #c9a86a); color: #1a1a1a; border-color: var(--gold, #c9a86a); font-weight: 600; }

/* ===== 官方聊天室 ===== */
.chat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; }
.chat-room-card { padding: 18px 20px; }
.chat-room-head { display: flex; gap: 14px; align-items: center; }
.chat-room-head .icon { flex: 0 0 auto; border-radius: 12px; background: rgba(201,168,106,.14); color: var(--gold-deep, #a8843f); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.chat-announce { margin-top: 10px; padding: 9px 12px; border-radius: 9px; background: rgba(47,111,237,.08); color: var(--text-dim, #6b7686); font-size: 13px; border: 1px solid rgba(47,111,237,.16); }
.chat-tip { margin: 12px 0; padding: 14px 16px; border-radius: 10px; background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); color: var(--text-dim, #6b7686); line-height: 1.7; font-size: 14px; }
.chat-msg-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.chat-msg { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 12px 14px; }
.chat-msg.mine { border-color: var(--gold, #c9a86a); background: rgba(201,168,106,.06); }
.chat-msg-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.chat-msg-head b { color: var(--text, #1a1a1a); }
.chat-ts { margin-left: auto; color: var(--text-faint, #9aa3ad); font-size: 12px; }
.chat-msg-body { margin: 8px 0; font-size: 14.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.chat-source { font-size: 12px; color: var(--text-dim, #6b7686); margin-top: 4px; }
.chat-msg-ops { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chat-q-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.chat-q { display: flex; gap: 12px; background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 12px 14px; }
.chat-q-vote { flex: 0 0 auto; }
.chat-q-body { flex: 1; font-size: 14px; line-height: 1.7; }
.chat-q-body .meta { margin-top: 6px; }
.chat-input-box { background: var(--panel, #fff); border: 1px solid var(--border, #e6e9ef); border-radius: 12px; padding: 12px 14px; }
.chat-input-box textarea { width: 100%; border: 1px solid var(--border, #e6e9ef); border-radius: 9px; padding: 9px 11px; font-family: inherit; font-size: 14px; background: var(--panel, #fff); color: var(--text, #1a1a1a); resize: vertical; box-sizing: border-box; }
.chat-input-box textarea:focus { outline: none; border-color: var(--gold, #c9a86a); }

/* ============================================================
   ★第二设计风格：明昼·商务浅色（2026-08-16）
   现有「国风墨韵」= 深墨底 + 鎏金 + 宣纸文字；本风格 = 浅灰底 + 白面板 + 品牌蓝
   切换：html[data-style="light"]（跟随站点全局默认 site_style / 顶栏手动切换 localStorage）
   ============================================================ */
html[data-style="light"] {
  --ink-900: #F3F5F9;
  --ink-850: #F8FAFC;
  --ink-800: #FFFFFF;
  --ink-700: #F1F5F9;
  --ink-600: #E2E8F0;
  --ink-500: #CBD5E1;
  --gold: #3B82F6;
  --gold-soft: #60A5FA;
  --gold-deep: #2563EB;
  --gold-line: rgba(59,130,246,.25);
  --gold-bright: #93C5FD;
  --cinnabar: #DC2626;
  --cinnabar-soft: #EF4444;
  --paper: #F1F5F9;
  --paper-2: #E5E7EB;
  --paper-ink: #1F2937;
  --text: #1F2937;
  --text-strong: #111827;
  --text-dim: #4B5563;
  --text-faint: #6B7280;
  --bg: var(--ink-900);
  --panel: var(--ink-800);
  --panel-2: var(--ink-700);
  --border: var(--gold-line);
}
html[data-style="light"] .site-nav {
  background: rgba(255,255,255,.92); border-bottom: 1px solid var(--gold-line);
}
html[data-style="light"] .site-nav .brand-name,
html[data-style="light"] .site-nav .nav-links a,
html[data-style="light"] .site-nav .uname { color: var(--text-strong); }
html[data-style="light"] .site-nav .nav-links a:hover,
html[data-style="light"] .site-nav .nav-links a.active { color: var(--gold-deep); background: #EFF6FF; }
html[data-style="light"] .footer { background: var(--ink-800); }
html[data-style="light"] .btn.ghost { background: transparent; color: var(--gold-deep); border-color: var(--gold-line); }
/* C 端顶栏风格切换小按钮 */
.style-switch {
  border: 1px solid var(--border); background: transparent; color: var(--text-dim);
  width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; margin-left: 8px;
}
.style-switch:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ★头像图片适配（2026-08-16）：作者卡/详情页 hero 有头像时显示图片（圆形裁剪） */
.author-card .avatar img, .author-hero .avatar img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
}

/* ===== 文章互动：点赞 / 收藏 / 转载 ===== */
.art-inter { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border-soft); font-size: 12.5px; color: var(--text-faint); }
.art-inter .ai { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; user-select: none; transition: color .15s; }
.art-inter .ai b { font-weight: 600; color: var(--text-dim); }
.art-inter .ai:hover { color: var(--gold-soft); }
.art-inter .ai[data-act="like"].on { color: #e0524d; }
.art-inter .ai[data-act="like"].on b { color: #e0524d; }
.art-inter .ai[data-act="fav"].on { color: var(--gold-soft); }
.art-inter .ai[data-act="fav"].on b { color: var(--gold-soft); }
/* 详情页三按钮 */
.art-act { display: inline-flex; align-items: center; gap: 5px; }
.art-act b { font-weight: 600; }
.art-act[data-act="like"].on { color: #e0524d; border-color: rgba(224,82,77,.5); background: rgba(224,82,77,.1); }
.art-act[data-act="fav"].on { color: var(--gold-soft); border-color: var(--gold-line); background: rgba(201,168,106,.12); }
