/* 词记单词 Web · 移动优先，桌面居中 */
:root {
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --text: #1A2333;
  --sub: #8A8F99;
  --line: #EDF0F5;
  --primary: #3A6FF5;
  --primary-dark: #2E5BD9;
  --primary-soft: #EAF1FF;
  --green: #16A34A;
  --orange: #D97706;
  --red: #E5484D;
  --radius: 18px;
  --shadow: 0 4px 16px rgba(31, 55, 105, 0.07);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 16px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 17px; letter-spacing: 0.5px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; font-size: 17px; }
.icon-btn:active { background: var(--primary-soft); }

/* ---------- 主体 ---------- */
.view { max-width: 720px; margin: 0 auto; padding: 16px 16px 96px; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; height: 60px; padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--sub); font-size: 11px; }
.tabbar a span { font-size: 19px; line-height: 1; }
.tabbar a.active { color: var(--primary); font-weight: 700; }

/* ---------- 通用 ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.row { display: flex; align-items: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.flex-1 { flex: 1; min-width: 0; }
.muted { color: var(--sub); font-size: 13px; }
.bold { font-weight: 700; }
.title { font-size: 19px; font-weight: 800; }
.ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 科目卡片 ---------- */
.subject-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: var(--radius); padding: 14px 16px;
  box-shadow: var(--shadow); margin-bottom: 12px;
  border-left: 4px solid var(--sc, var(--primary));
  transition: transform 0.12s ease;
}
.subject-card:active { transform: scale(0.985); }
.sc-ico {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: color-mix(in srgb, var(--sc, #3A6FF5) 14%, #fff);
}
.sc-ico-lg { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: #F1F4FA; }
.sc-name { font-size: 16px; font-weight: 800; }
.sc-desc { font-size: 12px; color: var(--sub); margin-top: 1px; }
.sc-meta { font-size: 12px; color: #5B6472; margin-top: 4px; }
.sc-arrow { color: var(--sub); font-size: 20px; padding-left: 4px; }
.subject-head .title { font-size: 20px; }

/* ---------- 知识卡 ---------- */
.kb-tag { display: inline-block; font-size: 11px; color: var(--sub);
  background: #F0F3F9; border-radius: 8px; padding: 2px 8px; margin-bottom: 10px; }
.kb-q { font-size: 19px; font-weight: 700; line-height: 1.55; margin: 2px 0 6px; white-space: pre-wrap; }
.kb-q.small { font-size: 14px; font-weight: 600; color: #5B6472; line-height: 1.5; }
.kb-a { margin-top: 12px; padding: 14px; border-radius: 14px; background: #F7F9FD;
  font-size: 15px; line-height: 1.75; white-space: pre-wrap; word-break: break-word;
  border: 1px solid #E8EEF9; }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px;
  background: #F0F3F9; color: #5B6472; font-size: 12px; }
.chip-blue { background: var(--primary-soft); color: var(--primary); }
.chip-green { background: #E7F7EF; color: var(--green); }
.chip-orange { background: #FFF4E5; color: var(--orange); }
.chip-red { background: #FEEBEA; color: var(--red); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px;
  border-radius: 22px; font-weight: 600; font-size: 15px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:active { background: var(--primary-dark); }
.btn-ghost { background: var(--primary-soft); color: var(--primary); }
.btn-danger { background: #FEEBEA; color: var(--red); }
.btn-block { width: 100%; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 17px; }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.input, .textarea, select.input {
  width: 100%; background: #F3F5FA; border: 1px solid transparent; border-radius: 12px;
  padding: 11px 14px; outline: none; font-size: 15px;
}
.input:focus, .textarea:focus { border-color: var(--primary); background: #fff; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.section-title { font-size: 15px; font-weight: 700; margin: 18px 4px 10px; }
.empty { text-align: center; color: var(--sub); padding: 48px 12px; }
.empty-icon { font-size: 44px; margin-bottom: 8px; }
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 12px);
  background: rgba(26, 35, 51, 0.9); color: #fff; padding: 10px 18px; border-radius: 20px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all 0.22s; z-index: 100; max-width: 84vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 首页 ---------- */
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hero-num { font-size: 40px; font-weight: 800; line-height: 1.1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin-top: 16px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.bar { width: 70%; border-radius: 6px 6px 0 0; background: #E4E8F0; min-height: 4px; }
.bar.on { background: var(--primary); }
.bar-label { font-size: 10px; color: var(--sub); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.entry-ico { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: #fff; margin-bottom: 10px; }
.entry-name { font-weight: 700; }
.entry-sub { font-size: 12px; color: var(--sub); margin-top: 2px; }
.bg-blue { background: #3A6FF5; } .bg-orange { background: #F59E0B; }
.bg-green { background: #16A34A; } .bg-purple { background: #8B5CF6; }
.daily-en { font-size: 17px; font-weight: 600; line-height: 1.55; margin-top: 10px; }
.daily-cn { color: var(--sub); font-size: 14px; margin-top: 6px; }

/* ---------- 学习卡 ---------- */
.progress { height: 6px; border-radius: 3px; background: #E4E8F0; overflow: hidden; margin: 4px 0 14px; }
.progress > i { display: block; height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.25s; }
.card-study { min-height: 300px; }
.word-img { display: flex; align-items: center; justify-content: center; border-radius: 16px; margin-bottom: 14px; position: relative; }
.word-img.md { height: 148px; }
.word-img.sm { height: 88px; border-radius: 12px; }
.word-img.lg { height: 190px; }
.word-img-emoji { font-size: 68px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.18)); }
.word-img.sm .word-img-emoji { font-size: 38px; }
.word-img.lg .word-img-emoji { font-size: 92px; }
.word-img-letter { font-size: 60px; font-weight: 800; color: rgba(255,255,255,0.92); text-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.word-img.sm .word-img-letter { font-size: 34px; }
.word-img.lg .word-img-letter { font-size: 78px; }
.word-img-pos {
  position: absolute; right: 10px; bottom: 8px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.18); border-radius: 999px; padding: 2px 9px;
  letter-spacing: 0.5px;
}
.ctx { font-size: 20px; font-weight: 600; line-height: 1.75; text-align: center; word-break: break-word; }
.ctx .hl { color: var(--primary-dark); font-weight: 800; background: var(--primary-soft);
  border-bottom: 3px solid var(--primary); border-radius: 4px 4px 0 0; padding: 0 3px; }
.ctx .blank { color: var(--primary); letter-spacing: 3px; font-weight: 800; }
.guide { text-align: center; color: #B0B6C0; font-size: 12px; margin-top: 12px; }
.tools { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.tool { height: 32px; padding: 0 13px; border-radius: 16px; background: #F0F3F9; color: #5B6472; font-size: 13px; }
.tool:active { background: #E4E8F0; }
.hint-box { margin-top: 12px; background: #FFF8E8; color: #B45309; border-radius: 10px; padding: 8px 12px;
  text-align: center; font-size: 13px; }
.know { margin-top: 16px; background: #F6F9FF; border: 1px solid #E1EAFF; border-radius: 14px; padding: 14px; }
.know-word { font-size: 24px; font-weight: 800; }
.know-ph { font-size: 14px; color: var(--sub); margin-left: 8px; }
.know-mean { font-size: 16px; font-weight: 600; margin-top: 6px; }
.know-label { font-size: 12px; color: var(--sub); margin-top: 12px; }
.colloc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.colloc span { background: #fff; border: 1px solid #D9E4FF; color: var(--primary); border-radius: 14px;
  padding: 3px 10px; font-size: 12px; }
.ex-list { margin-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.ex-item { background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 14px; line-height: 1.6; }
.ex-item .hl { color: var(--primary-dark); font-weight: 700; }
.expose { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.rate { display: flex; gap: 10px; margin-top: 16px; }
.rate .btn { flex: 1; }
.rate-tip { position: fixed; left: 50%; bottom: 150px; transform: translateX(-50%); background: rgba(26,35,51,0.9);
  color: #fff; padding: 9px 18px; border-radius: 18px; font-size: 14px; z-index: 90; }

/* ---------- 词书 ---------- */
.seg { display: flex; background: #E9EDF5; border-radius: 22px; padding: 3px; }
.seg button { flex: 1; height: 36px; border-radius: 19px; font-size: 14px; color: #5B6472; }
.seg button.active { background: #fff; color: var(--primary); font-weight: 700; box-shadow: 0 2px 6px rgba(31,55,105,0.08); }
.filters { display: flex; gap: 8px; margin: 12px 0; overflow-x: auto; }
.filters button { flex: 0 0 auto; height: 30px; padding: 0 12px; border-radius: 15px; background: #fff;
  color: var(--sub); font-size: 13px; border: 1px solid var(--line); }
.filters button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: none; }
.li-word { font-weight: 700; font-size: 16px; }
.li-ph { font-size: 12px; color: var(--sub); margin-left: 6px; }
.li-mean { font-size: 13px; color: #5B6472; margin-top: 2px; }
.li-ex { font-size: 12px; color: #9AA3B2; margin-top: 2px; }
.li-thumb { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px; }
.li-thumb .word-img { height: 44px; margin-bottom: 0; border-radius: 12px; }
.li-thumb .word-img-emoji { font-size: 22px; }
.li-thumb .word-img-letter { font-size: 18px; }
.more { width: 100%; margin-top: 12px; }

/* ---------- 详情 ---------- */
.detail-head { text-align: center; }
.detail-word { font-size: 30px; font-weight: 800; }
.tag-x { color: #C0C6D0; padding: 0 6px; }

/* ---------- 导入 ---------- */
.book-card { display: flex; align-items: center; gap: 12px; }
.book-card .entry-ico { margin: 0; }
.notice { background: #FFF8E8; color: #92400E; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 12px; }

/* ---------- 设置 ---------- */
.set-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); }
.set-item:last-child { border-bottom: none; }
.set-item label { font-size: 15px; }
.set-sub { font-size: 12px; color: var(--sub); }
.set-item select, .set-item input[type="number"] { width: auto; padding: 6px 10px; }
.switch { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #D5DAE3; transition: 0.2s; }
.switch.on { background: var(--primary); }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: 0.2s; }
.switch.on::after { left: 23px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stat-grid b { display: block; font-size: 20px; }
.stat-grid span { font-size: 11px; color: var(--sub); }

@media (min-width: 720px) {
  .view { padding-top: 24px; }
  .ctx { font-size: 22px; }
  .grid2 { grid-template-columns: repeat(4, 1fr); }
}

/* ================= v2：背 / 刷 双区 ================= */
/* 科目切换条 */
.seg-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; -webkit-overflow-scrolling: touch; }
.seg-row::-webkit-scrollbar { display: none; }
.seg { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 13px;
  border-radius: 17px; background: #fff; color: #5B6472; font-size: 13px; box-shadow: var(--shadow); }
.seg.on { background: var(--primary); color: #fff; font-weight: 700; }
.seg span { font-size: 15px; }

/* 今日：四科进度行 */
.today-row { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.today-row:last-child { border-bottom: none; }
.tr-ico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; display: flex; align-items: center;
  justify-content: center; font-size: 18px; background: color-mix(in srgb, var(--sc, #3A6FF5) 14%, #fff); }
.tr-name { font-size: 14px; font-weight: 700; }
.tr-sub { font-size: 11px; color: var(--sub); margin-top: 1px; }
.today-row .btn { padding: 0 12px; height: 30px; font-size: 13px; }

/* 章节行 + 掌握度色点 */
.li-chapter { display: flex; align-items: center; gap: 9px; padding: 11px 2px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: inherit; }
.li-chapter:last-child { border-bottom: none; }
.kp-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: #D5DAE3; }
.kp-dot.mid { background: var(--orange); }
.kp-dot.ok { background: var(--green); }

/* ================= 刷题（quizview） ================= */
.qz-card { padding: 16px; }
.qz-chapter { display: inline-block; font-size: 11px; color: var(--sub); background: #F0F3F9;
  border-radius: 8px; padding: 2px 8px; margin-bottom: 8px; }
.qz-stem { font-size: 16px; font-weight: 700; line-height: 1.65; margin: 6px 0 14px; white-space: pre-wrap; }
.qz-opts { display: flex; flex-direction: column; gap: 9px; }
.qz-opt { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff; font-size: 14px;
  line-height: 1.55; transition: border-color 0.12s, background 0.12s; }
.qz-opt.on { border-color: var(--primary); background: var(--primary-soft); }
.qz-letter { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: #EEF2FB; color: #5B6472;
  font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.qz-opt.on .qz-letter { background: var(--primary); color: #fff; }
.qz-input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  font-size: 16px; background: #F7F9FD; margin-top: 4px; }
.qz-verdict { margin-top: 12px; font-weight: 700; font-size: 15px; }
.qz-verdict.ok { color: var(--green); }
.qz-verdict.bad { color: var(--red); }
.qz-answer { margin-top: 10px; background: #F7F9FD; border: 1px solid #E8EEF9; border-radius: 12px; padding: 13px; }
.qz-analysis { color: #4A5568; font-size: 13.5px; line-height: 1.7; margin-top: 8px; white-space: pre-wrap; }
.qz-ref { font-weight: 600; margin-top: 4px; white-space: pre-wrap; line-height: 1.7; }

/* 例句中文翻译 */
.ctx-zh { font-size: 12.5px; line-height: 1.55; margin-top: 3px; opacity: 0.85; }

/* 试卷模式：交卷后成绩单 */
.qz-paper-item { padding: 11px 13px; margin-bottom: 9px; cursor: pointer; }
.qz-paper-item.open { border-color: var(--primary); }
.qz-paper-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.qz-paper-no { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: #EEF2FB;
  color: #5B6472; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.qz-paper-stem { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz-paper-mark { font-weight: 700; font-size: 16px; }
.qz-paper-detail { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.qz-answer-row { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.7; }
.qz-answer-row .muted { width: 64px; flex: 0 0 64px; }
.qz-opt-line { font-size: 13px; line-height: 1.7; color: #4A5568; }

/* ================= 响应式：平板 / 桌面 ================= */
/* 平板：内容放宽，卡片两列 */
@media (min-width: 768px) {
  .view { max-width: 860px; padding: 20px 24px 100px; }
  .grid2 { grid-template-columns: repeat(4, 1fr); }
  .subject-card { margin-bottom: 10px; }
  .today-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .today-list .today-row:nth-last-child(-n+2) { border-bottom: none; }
  .today-list .today-row:nth-child(odd) { padding-right: 12px; }
  .qz-stem { font-size: 17px; }
  /* 平板：底部导航收窄居中，避免图标过散 */
  .tabbar { max-width: 560px; left: 50%; right: auto; transform: translateX(-50%); border-radius: 18px 18px 0 0; box-shadow: 0 -4px 20px rgba(31,55,105,0.06); }
}

/* 桌面：左侧固定侧栏 + 内容区居中 */
@media (min-width: 1024px) {
  body { background: #F2F5FA; }

  .topbar {
    position: fixed; top: 0; left: 0; z-index: 40;
    width: 224px; height: 64px; padding: 0 20px;
    border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
    background: #fff; backdrop-filter: none;
  }
  .brand { font-size: 16px; }
  .topbar .top-actions { display: none; }

  .tabbar {
    position: fixed; left: 0; right: auto; top: 64px; bottom: 0; z-index: 35;
    width: 224px; max-width: none; height: calc(100vh - 64px); overflow-y: auto;
    transform: none;
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    gap: 4px; padding: 14px 12px;
    border-top: none; border-right: 1px solid var(--line);
    background: #fff; backdrop-filter: none;
  }
  .tabbar a {
    flex: 0 0 auto; flex-direction: row; justify-content: flex-start;
    gap: 12px; height: 46px; padding: 0 14px;
    border-radius: 12px; font-size: 14px;
    transition: background 0.15s;
  }
  .tabbar a em { font-style: normal; font-size: 14px; }
  .tabbar a span { font-size: 20px; }
  .tabbar a:hover { background: #F5F7FB; }
  .tabbar a.active { background: var(--primary-soft); color: var(--primary); }
  .tabbar a.active::before {
    content: ''; position: absolute; left: 0; width: 3px; height: 22px;
    border-radius: 0 3px 3px 0; background: var(--primary);
  }

  .view {
    margin-left: max(224px, calc((100vw - 1040px) / 2));
    max-width: 1040px;
    padding: 28px 36px 60px;
  }

  .card { padding: 20px 22px; }
  .section-title { margin: 22px 0 10px; }
  .hero-num { font-size: 44px; }

  /* 首页四科进度：两列 */
  .today-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }

  /* 科目切换条：桌面放宽 */
  .seg-row { gap: 10px; }
  .seg { height: 38px; padding: 0 18px; font-size: 14px; }

  /* 刷题：题干与解析更宽松 */
  .qz-stem { font-size: 18px; line-height: 1.7; }
  .qz-opt { padding: 13px 16px; font-size: 15px; }
  .qz-opt:hover { border-color: #C9D6F5; }
  .qz-answer { padding: 16px 18px; }
  .qz-analysis { font-size: 14.5px; }

  /* 卡片列表：两列 */
  .li-chapter { padding: 13px 4px; }
}

/* 大屏：更宽的内容区 */
@media (min-width: 1440px) {
  .view { max-width: 1120px; }
  .grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 手机横屏 / 小平板：避免卡片过高 */
@media (max-width: 480px) {
  .view { padding: 12px 12px 92px; }
  .card { padding: 14px; border-radius: 16px; }
  .hero-num { font-size: 34px; }
  .qz-stem { font-size: 15.5px; }
}

/* 解析分块（7 块） */
.qz-ansline { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: 0.4px; word-break: break-word; }
.qz-ansline b { color: var(--green); }
.qz-mine { font-size: 12.5px; color: var(--sub); margin-top: 5px; }
.qz-conclusion { margin-top: 10px; font-size: 14px; font-weight: 600; color: #2E5BD9;
  background: #EAF1FF; border-radius: 10px; padding: 8px 11px; }
.qz-pitfall { margin-top: 9px; font-size: 13.5px; color: #8A5A00; background: #FFF7E6;
  border: 1px solid #FBE2B0; border-radius: 10px; padding: 9px 11px; line-height: 1.65; }
.qz-chips { margin-top: 10px; }
.qz-source { margin-top: 9px; font-size: 12px; color: var(--sub); }
.qz-course { margin-top: 6px; font-size: 12.5px; color: #7A4FBF; background: #F5EFFC;
  border-radius: 8px; padding: 6px 10px; display: inline-block; }

/* 老师板书（OCR 原文） */
.qz-board { margin-top: 10px; border: 1px dashed #C9B8E8; background: #FAF7FE; border-radius: 10px; padding: 10px 12px; }
.qz-board-h { font-size: 11.5px; color: #7A4FBF; font-weight: 700; margin-bottom: 5px; }
.qz-board-b { font-size: 12.5px; line-height: 1.7; color: #4A3B63; white-space: pre-wrap; word-break: break-word; }
