:root {
  --primary: #2f5d50;        /* 墨绿：品牌主色（书卷气，替代廉价紫）*/
  --primary-dark: #244a40;
  --primary-tint: #e8f0ed;   /* 墨绿浅底 */
  --bg: #f6f4ef;             /* 暖奶油背景 */
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #8a8a83;         /* 暖灰 */
  --line: #e6e2d8;          /* 暖米边框 */
  --green: #1d9e75;         /* 判对 */
  --red: #cf4b34;           /* 判错（暖砖红，与奶油底协调）*/
  --amber: #c9a227;         /* 烫金：精批/高亮 */
  --gold: #c9a227;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text);
  padding-bottom: 70px;
}
.hidden { display: none !important; }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 17px; font-weight: 700; }
.due-badge {
  background: #fff; color: var(--primary); font-size: 13px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px; cursor: pointer;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { transform: scale(1.07); } }

main { max-width: 720px; margin: 0 auto; padding: 12px; }

/* 卡片 */
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(90,80,50,.07);
}
.card h2 { font-size: 16px; margin-bottom: 10px; color: var(--primary-dark); }
.sub { font-size: 13px; color: var(--muted); font-weight: 400; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0; }

/* 成员选择 chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 20px; border: 1.5px solid var(--line);
  background: #fff; font-size: 15px; cursor: pointer; user-select: none;
}
.chip.selected { border-color: var(--primary); background: var(--primary-tint); color: var(--primary); font-weight: 600; }

/* 上传 */
.upload-row { display: flex; gap: 10px; }
.upload-btn {
  flex: 1; text-align: center; padding: 22px 0; border-radius: var(--radius);
  border: 2px dashed var(--line); background: #faf9f5;
  font-size: 16px; cursor: pointer; color: var(--primary); font-weight: 600;
}
.upload-btn:active { background: var(--primary-tint); }
.preview-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.preview-item { position: relative; }
.preview-item img, .preview-item .pdf-chip {
  width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line);
}
.pdf-chip { display: flex; align-items: center; justify-content: center; background: #fff3e6; font-size: 12px; text-align: center; }
.preview-item .rm {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--red); color: #fff; border: none;
  font-size: 13px; line-height: 22px; cursor: pointer;
}

/* 表单 */
.form-grid { display: grid; gap: 10px; }
.form-grid label { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
input, select, textarea {
  padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; background: #fff; color: var(--text); width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--primary); }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* 按钮 */
.primary-btn {
  width: 100%; padding: 14px; border: none; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  font-size: 17px; font-weight: 700; cursor: pointer;
}
.primary-btn:disabled { opacity: .55; }
.second-btn {
  padding: 10px 16px; border: 1.5px solid var(--primary); border-radius: 10px;
  background: #fff; color: var(--primary); font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-row { display: flex; gap: 10px; margin-top: 12px; }
.btn-row .primary-btn { flex: 2; padding: 12px; font-size: 15px; }
.btn-row .second-btn { flex: 1; }
.inline-form { display: flex; gap: 8px; margin-top: 10px; }

/* 筛选栏 */
.filter-bar { display: flex; gap: 8px; margin-bottom: 12px; }
.filter-bar select, .filter-bar input { flex: 1; min-width: 0; }

/* 记录列表 */
.record-card {
  background: var(--card); border-radius: var(--radius); padding: 14px;
  margin-bottom: 10px; display: flex; gap: 12px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(90,80,50,.07);
}
.record-card img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.record-info { flex: 1; min-width: 0; }
.record-title { font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.record-meta { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--primary-tint); color: var(--primary); padding: 1px 8px; border-radius: 10px; font-size: 12px; }
.score-pill {
  align-self: center; font-weight: 800; font-size: 15px; color: var(--primary);
  background: var(--primary-tint); border-radius: 12px; padding: 8px 10px; white-space: nowrap;
}
.status-grading { color: var(--amber); } .status-error { color: var(--red); }
.status-pending {
  align-self: center; color: #b26a00; background: #fff4e0;
  border-radius: 12px; padding: 8px 10px; font-size: 13px; font-weight: 600; white-space: nowrap;
}

/* 详情 */
.detail-actions { flex-wrap: wrap; }
.detail-actions select { flex: 1 1 100%; }
.detail-actions .second-btn { flex: 1; white-space: nowrap; }
.back-btn { background: none; border: none; color: var(--primary); font-size: 15px; font-weight: 600; cursor: pointer; padding: 6px 0; margin-bottom: 6px; }
.detail-imgs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.detail-imgs img { height: 130px; border-radius: 10px; border: 1px solid var(--line); }
.item-row { border-left: 4px solid var(--green); background: #f7fcf9; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.item-row.wrong { border-left-color: var(--red); background: #fdf5f5; }
.item-q { font-weight: 600; font-size: 14px; margin-bottom: 4px; white-space: pre-wrap; }
.item-line { font-size: 13.5px; margin: 2px 0; }
.item-line b { color: var(--muted); font-weight: 500; }
.kp-tag { display: inline-block; background: #fff4e0; color: #b26a00; font-size: 12px; padding: 1px 8px; border-radius: 10px; margin-top: 4px; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.override-tag { display: inline-block; background: #fdf0d5; color: #a5670a; font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 10px; }
.override-btn {
  padding: 3px 10px; font-size: 12px; border-radius: 8px; cursor: pointer;
  border: 1px dashed var(--line); background: #fff; color: var(--muted); flex-shrink: 0;
}
.override-btn:active { border-color: var(--primary); color: var(--primary); }

/* 知识点统计 */
.stat-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #efede6; }
.stat-row input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; }
.stat-name { flex: 1; font-size: 14.5px; }
.stat-bar-wrap { flex: 1.2; height: 10px; background: #ebe8df; border-radius: 5px; overflow: hidden; }
.stat-bar { height: 100%; background: var(--green); border-radius: 5px; }
.stat-bar.has-wrong { background: linear-gradient(90deg, var(--red), var(--amber)); }
.stat-nums { font-size: 12px; color: var(--muted); width: 74px; text-align: right; flex-shrink: 0; }

/* 提醒 */
.reminder-card {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px;
}
.reminder-card.due { border-color: var(--amber); background: #fffaf0; }
.reminder-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.reminder-meta { font-size: 12.5px; color: var(--muted); margin: 4px 0 8px; }
.reminder-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-btn { padding: 6px 12px; font-size: 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.mini-btn.warn { color: var(--red); border-color: #f3c2c4; }
.mini-btn.go { color: #fff; background: var(--primary); border-color: var(--primary); }

/* 练习卷 */
.practice-sheet { background: var(--card); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.practice-sheet h3 { margin-bottom: 12px; }
.pq { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed #e6e2d8; }
.pq-head { font-size: 14.5px; font-weight: 600; white-space: pre-wrap; }
.pq-type { font-size: 12px; color: var(--primary); background: var(--primary-tint); border-radius: 8px; padding: 1px 8px; margin-right: 6px; }
.pq-answer { font-size: 13.5px; margin-top: 6px; background: #f2fbf6; border-radius: 8px; padding: 8px 10px; }

/* 对话框 */
.chat-list { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; margin-bottom: 10px; }
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg .bubble {
  max-width: 86%; padding: 9px 13px; border-radius: 14px;
  font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word;
}
.chat-msg.user .bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.ai .bubble { background: #efede6; border-bottom-left-radius: 4px; }
textarea { resize: vertical; font-family: inherit; }

/* 设置 */
.member-row, .provider-card { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #efede6; }
.provider-card { flex-direction: column; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.provider-grid { display: grid; gap: 8px; }
@media (min-width: 560px) { .provider-grid { grid-template-columns: 1fr 1fr; } }
.provider-grid label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.test-result { font-size: 13px; margin-top: 4px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 10px; cursor: pointer; }
.check-row input[type=checkbox] { width: 18px; height: 18px; }
details.hint summary { cursor: pointer; color: var(--primary); }

/* 底部导航 */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  background: #fff; border-top: 1px solid #e6e2d8;
  display: flex; height: 62px;
}
.tabbar button {
  flex: 1; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); position: relative;
}
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button.active svg { stroke-width: 2.4; }
.tab-badge {
  position: absolute; top: 6px; right: 50%; margin-right: -22px;
  background: var(--red); color: #fff; font-style: normal; font-size: 11px; font-weight: 700;
  min-width: 17px; height: 17px; line-height: 17px; border-radius: 9px; padding: 0 4px;
}
.tabbar button span { font-size: 11px; }
.tabbar button.active { color: var(--primary); }
.tabbar button.active span { font-weight: 600; }

/* Toast */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: rgba(43,42,38,.94); color: #fff; padding: 10px 18px;
  border-radius: 22px; font-size: 14px; z-index: 99; max-width: 88%;
}

/* 批改小结分享图（渲染在屏幕外，由 html2canvas 转成 PNG） */
.share-card {
  position: absolute; left: -9999px; top: 0; width: 700px;
  background: #fff; color: #2b2b2b; padding: 36px 40px;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.sc-title { font-size: 26px; font-weight: 800; }
.sc-meta { color: #8a8a83; font-size: 14px; margin: 8px 0 18px; }
.sc-stats { display: flex; gap: 12px; margin-bottom: 20px; }
.sc-stat { flex: 1; border-radius: 12px; padding: 14px 18px; background: #f2f2ee; }
.sc-stat.green { background: #e8f6ef; } .sc-stat.green b, .sc-stat.green span { color: #1d7a53; }
.sc-stat.red { background: #fdeaea; } .sc-stat.red b, .sc-stat.red span { color: #b3282d; }
.sc-stat span { display: block; font-size: 14px; margin-bottom: 4px; }
.sc-stat b { font-size: 32px; font-weight: 800; }
.sc-h { font-size: 17px; font-weight: 700; margin: 18px 0 10px; }
.sc-secs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.sc-sec { border: 1px solid #e6e2d8; border-radius: 10px; padding: 10px 12px; }
.sc-sec-name { font-size: 13px; color: #5f5e58; margin-bottom: 4px; }
.sc-sec-score { font-size: 17px; font-weight: 800; color: #1d7a53; }
.sc-sec-score.bad { color: #b3282d; }
.sc-banner { border-radius: 12px; padding: 13px 16px; font-size: 14.5px; line-height: 1.65; margin: 14px 0; }
.sc-banner.good { background: #e8f6ef; color: #14532d; }
.sc-banner.tip { background: #faf3dc; color: #8a6d10; }
.sc-wrong { border-left: 4px solid #b3282d; border-radius: 8px; background: #fdf7f7; padding: 12px 14px; margin-bottom: 10px; }
.sc-wq { font-weight: 700; font-size: 14.5px; color: #b3282d; margin-bottom: 5px; white-space: pre-line; }
.sc-note { font-size: 12px; color: #8a8a83; font-style: italic; margin: -2px 0 4px; }
.sc-kp { font-weight: 400; font-size: 12px; background: #fff4e0; color: #b26a00; border-radius: 8px; padding: 1px 8px; }
.sc-old { color: #a3a29a; text-decoration: line-through; font-size: 14px; }
.sc-new { color: #1d7a53; font-weight: 700; font-size: 16px; margin: 3px 0; }
.sc-exp { font-size: 13.5px; color: #5f5e58; }
.sc-foot { margin-top: 20px; padding-top: 12px; border-top: 1px solid #e6e2d8; color: #8a8a83; font-size: 13px; }

/* 分享图预览层 */
.share-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(30,28,20,.65);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.share-box {
  background: #fff; border-radius: 14px; padding: 14px;
  max-width: 480px; width: 100%; max-height: 92vh; display: flex; flex-direction: column;
}
.share-box img { width: 100%; overflow-y: auto; border: 1px solid #e6e2d8; border-radius: 8px; flex: 1; object-fit: contain; min-height: 0; }

/* 错题本 */
.mistake-src { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.mistake-src a { color: var(--primary); text-decoration: none; }
.mk-pick { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); float: right; cursor: pointer; }
.mk-pick input { width: 16px; height: 16px; }

/* 阅读原文 */
.passage-box {
  background: #faf9f5; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin: 14px 0 10px; font-size: 13.5px; line-height: 1.7;
  white-space: pre-wrap;
}
.passage-box b { display: block; color: var(--primary); font-size: 12.5px; margin-bottom: 6px; }
.passage-fold { margin: 4px 0 6px; font-size: 13px; }
.passage-fold summary { cursor: pointer; color: var(--primary); }
.passage-fold div { white-space: pre-wrap; background: #faf9f5; border-radius: 8px; padding: 10px 12px; margin-top: 6px; line-height: 1.7; }

/* 错题重练卷 */
.redo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.redo-blank { font-size: 13.5px; color: var(--text); margin-top: 8px; }
.redo-qr-box { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.redo-qr-box span { font-size: 11px; color: var(--muted); }
.redo-qr { width: 92px; height: 92px; }
.redo-q { padding-bottom: 26px; }

/* 学习报告 */
.practice-sheet h4 { margin: 16px 0 8px; font-size: 15px; }
.report-totals { display: flex; gap: 8px; margin: 10px 0; }
.report-totals > div {
  flex: 1; text-align: center; background: #f6f4ef; border-radius: 10px; padding: 10px 4px;
  display: flex; flex-direction: column; gap: 2px;
}
.report-totals b { font-size: 20px; color: var(--primary); }
.report-totals span { font-size: 12px; color: var(--muted); }
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.report-table th, .report-table td { border: 1px solid #e6e2d8; padding: 6px 8px; text-align: left; }
.report-table th { background: #f6f4ef; font-weight: 600; color: var(--muted); }

/* 打印（练习卷 / 错题本 / 学习报告 / 批改单） */
@media print {
  body * { visibility: hidden; }
  .print-target, .print-target * { visibility: visible; }
  .print-target { position: absolute; top: 0; left: 0; width: 100%; box-shadow: none; }
  .hide-print { display: none !important; }
  .no-print { display: none !important; }
  .report-totals > div { border: 1px solid #ddd; }
  .chat-list { max-height: none; overflow: visible; }
}

/* ===== 登录层（商业版） ===== */
.login-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-box {
  background: var(--card); border-radius: 18px;
  box-shadow: 0 8px 40px rgba(90,80,50,.14);
  padding: 30px 24px; width: 100%; max-width: 360px;
  display: flex; flex-direction: column; gap: 12px;
}
.login-logo { font-size: 44px; text-align: center; }
.login-box h2 { font-size: 20px; text-align: center; }
.login-box input {
  width: 100%; padding: 12px 14px; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #faf9f5;
}
.login-box input:focus { outline: none; border-color: var(--primary); }
.login-box .inline-form { align-items: stretch; }
.login-box #send-code-btn { white-space: nowrap; min-width: 96px; }

/* ===== 精批按钮 & 对比卡（②转化层） ===== */
.premium-btn { padding: 8px 16px; border-radius: 20px; border: none;
  background: var(--gold); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.premium-btn:active { transform: scale(.97); }
.ans-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; cursor: pointer; }
.ans-row input[type="number"] { width: 58px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 8px; }
.mode-seg { display: flex; gap: 0; margin-top: 12px; border: 1.5px solid var(--primary); border-radius: 12px; overflow: hidden; }
.seg-btn {
  flex: 1; padding: 10px 0; border: none; background: #fff; color: var(--primary);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.seg-btn + .seg-btn { border-left: 1.5px solid var(--primary); }
.seg-btn.active { background: var(--primary); color: #fff; }
.explain-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; cursor: pointer; }
.premium-badge {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  background: #fdf6e3; color: #8a6d10; border: 1px solid var(--gold);
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px;
}
.premium-badge .ico { color: var(--gold); }
.compare-card { border: 1.5px solid var(--gold); background: #fffdf7; }
.cmp-head { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.cmp-head .sub { margin-left: auto; font-size: 12px; }
.cmp-icon { font-size: 18px; }
.cmp-big { font-size: 16px; margin: 12px 0 8px; }
.cmp-big b { color: var(--red); font-size: 22px; }
.cmp-miss { color: var(--red); }
.cmp-item { border-left: 3px solid var(--red); background: #fff;
  padding: 8px 12px; border-radius: 0 8px 8px 0; margin: 8px 0; }
.cmp-item.mini { border-left-color: var(--green); }
.cmp-q { font-weight: 500; margin-bottom: 4px; }
.cmp-row { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; margin: 4px 0; }
.cmp-old { color: var(--muted); }
.cmp-new { color: var(--red); font-weight: 600; }
.cmp-item.mini .cmp-new { color: var(--green); }
.cmp-sub { font-size: 14px; margin: 14px 0 4px; color: var(--muted); }
.cmp-cta { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #f0d9a8; }

/* ===== 三层阶梯（设置页） ===== */
/* 三层阶梯:竖向步骤条(圆点+连线表达"层层递进") */
.steps { margin: 14px 0 4px; }
.step { display: flex; gap: 12px; }
.step-rail { display: flex; flex-direction: column; align-items: center; width: 26px; flex-shrink: 0; }
.step-dot {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--primary); color: var(--primary); background: #fff;
  font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.step-dot.gold { border-color: var(--gold); color: #8a6d10; background: #fdf6e3; }
.step-dot.fill { background: var(--primary); border-color: var(--primary); color: #fff; }
.step-line { flex: 1; width: 1.5px; background: var(--line); margin: 4px 0; min-height: 16px; }
.step-body { flex: 1; min-width: 0; padding-bottom: 18px; }
.step:last-child .step-body { padding-bottom: 0; }
.step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.step-title { font-weight: 600; font-size: 14.5px; color: var(--text); }
.step-chip { font-size: 12px; padding: 2px 10px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }
.step-chip.free { background: var(--primary-tint); color: var(--primary); }
.step-chip.gold { background: #fdf0d5; color: #8a6d10; }
.step-chip.vip { background: var(--primary); color: #fff; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.65; margin-top: 4px; }
.step-desc em { font-style: normal; color: var(--primary-dark); font-weight: 500; }

/* 精批对比卡：平反（good）样式 */
.cmp-big.good b { color: var(--green); }
.cmp-ok { color: var(--green); font-weight: 600; }
.cmp-item.good { border-left-color: var(--green); }
.cmp-item.good .cmp-new.ok { color: var(--green); font-weight: 600; }

/* 反馈列表（管理员） */
.fb-item { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; }
.fb-item.done { opacity: .55; }
.fb-body { font-size: 14px; white-space: pre-wrap; }
.fb-meta { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fb-done { color: var(--green); }

/* ===== 喵喵品牌视觉补充 ===== */
/* 分享图品牌水印（转发家长群时露出 = 裂变入口） */
.sc-brand { text-align: center; font-size: 12px; color: var(--primary);
  margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 500; }
/* 阅读原文/文段用衬线体，添书卷气（借鉴作文版）*/
.passage-box, .passage-fold > div, .item-row .passage {
  font-family: Georgia, "Songti SC", "SimSun", serif; line-height: 1.9;
  background: #faf9f5; border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 10px 12px; }

/* ===== 统一线条图标 & 首字头像 ===== */
.ico { vertical-align: -3px; flex-shrink: 0; }
h2 .ico, h3 .ico { vertical-align: -2px; }
.logo .ico { vertical-align: -4px; }
.login-logo { color: var(--primary); }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-tint); color: var(--primary);
  font-size: 13px; font-weight: 600; flex-shrink: 0;
  margin-right: 6px; vertical-align: -6px;
}
.avatar.sm { width: 18px; height: 18px; font-size: 11px; margin-right: 3px; vertical-align: -4px; }
.chip .avatar { margin-right: 6px; margin-left: -4px; }
.chip { display: inline-flex; align-items: center; }
.cmp-icon .ico { vertical-align: -3px; }
