.lesson-shell {
  min-height: 100vh;
}

.lesson-hero {
  width: min(1720px, calc(100% - 36px));
  margin: 24px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 38px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 251, 0.82)),
    repeating-linear-gradient(135deg, rgba(20, 33, 28, 0.04) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow);
}

.lesson-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 4vw, 60px);
  padding: 18px clamp(22px, 5vw, 72px) 52px;
}

.lesson-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 4.4vw, 5.1rem);
}

.lesson-progress-card {
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 0%, rgba(248, 196, 93, 0.34), transparent 16rem),
    #14211c;
  color: white;
  padding: clamp(24px, 3vw, 38px);
}

.lesson-progress-card h2 {
  margin-top: 24px;
  color: white;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.lesson-progress-card ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.lesson-progress-card li {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  font-weight: 950;
}

.lesson-main {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  width: min(1720px, calc(100% - 36px));
  margin: 34px auto;
  align-items: start;
}

.material-nav {
  position: sticky;
  top: 18px;
  /* 🔴 8 个 tab 的菜单总高会超过某些视口。此时 sticky 会卡在 top 不再移动，
     底部第 8 项（Parent Summary）永远露不出来 —— 必须滚到页面底部才看得到，
     用户会误以为"没有家长总结"。
     给一个视口上限 + 内部滚动：菜单自己可以滚，第 8 项随时可达。
     （滚到底后滚轮自然交给页面继续滚，不会把用户锁在菜单里。） */
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 33, 28, 0.22) transparent;
  display: grid;
  gap: 12px;
  border-radius: 30px;
  background: rgba(255, 255, 251, 0.88);
  padding: 18px;
  box-shadow: 0 18px 55px rgba(20, 33, 28, 0.1);
}

/* 菜单自身滚动时才出现的细滚动条（大屏不超高 → 完全不显示，视觉零变化） */
.material-nav::-webkit-scrollbar {
  width: 8px;
}

.material-nav::-webkit-scrollbar-track {
  background: transparent;
}

.material-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(20, 33, 28, 0.22);
}

.material-tab {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.8);
  color: var(--ink);
  padding: 18px;
  text-align: left;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 950;
}

.material-tab span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.material-tab.active {
  border-color: transparent;
  background: #14211c;
  color: white;
}

.material-tab.active span {
  color: rgba(255, 255, 255, 0.7);
}

.material-stage {
  border-radius: 34px;
  background: rgba(255, 255, 251, 0.9);
  padding: clamp(20px, 4vw, 42px);
  box-shadow: 0 18px 55px rgba(20, 33, 28, 0.1);
}

.panel-title {
  margin-bottom: 20px;
}

.lesson-panel {
  display: none;
}

.lesson-panel.active {
  display: block;
}

.document-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fffffb;
  padding: clamp(22px, 4vw, 44px);
}

.lesson-document h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.lesson-document h2 {
  margin-top: 32px;
  color: var(--orange);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
}

.lesson-document p {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.75;
}

.lesson-subtitle {
  color: var(--muted) !important;
  font-weight: 800;
}

.answer-box {
  width: 100%;
  min-height: 98px;
  margin: 10px 0 22px;
  border: 2px dashed rgba(217, 107, 66, 0.38);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.7);
  color: var(--ink);
  padding: 18px 20px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.6;
}

.answer-box:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(248, 196, 93, 0.35);
}

.choice-stack {
  display: grid;
  gap: 10px;
  margin: 10px 0 22px;
}

.choice-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.72);
  padding: 14px 16px;
  font-weight: 850;
}

.choice-option.correct {
  border-color: rgba(33, 132, 82, 0.45);
  background: rgba(207, 238, 218, 0.7);
}

.submission-bar,
.exam-toolbar,
.audio-actions,
.speed-row,
.voice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.submission-bar {
  margin-top: 18px;
}

.result-box {
  margin: 18px 0;
  border-radius: 22px;
  background: rgba(207, 238, 218, 0.72);
  padding: 18px 20px;
  font-weight: 950;
}

.result-box p,
.answer-explanation {
  margin: 8px 0 0;
  color: #31483e;
  font-weight: 850;
  line-height: 1.6;
}

.answer-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.answer-side {
  border: 1px solid rgba(20, 33, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 251, 0.74);
  padding: 14px 16px;
}

.answer-side strong {
  display: block;
  color: #d46f43;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-side {
  background: rgba(255, 255, 251, 0.9);
}

.expert-side {
  background: rgba(255, 248, 232, 0.92);
  border-color: rgba(248, 196, 93, 0.42);
}

.answer-explanation {
  border-top: 1px dashed rgba(20, 33, 28, 0.15);
  margin-top: 14px;
  padding-top: 12px;
}

.exam-toolbar {
  position: sticky;
  top: 14px;
  z-index: 5;
  border: 1px solid rgba(248, 196, 93, 0.42);
  border-radius: 28px;
  background: #14211c;
  padding: 16px;
}

.exam-toolbar strong {
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 20px;
  font-size: 1.2rem;
}

.exam-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.exam-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffffb;
  padding: 22px;
}

.exam-card.exam-correct {
  border-color: rgba(33, 132, 82, 0.55);
  background: linear-gradient(145deg, rgba(207, 238, 218, 0.55), #fffffb);
}

.exam-card.exam-incorrect {
  border-color: rgba(217, 107, 66, 0.55);
  background: linear-gradient(145deg, rgba(255, 241, 207, 0.66), #fffffb);
}

.exam-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.choice-option.wrong {
  border-color: rgba(217, 82, 58, 0.5);
  background: rgba(255, 224, 216, 0.65);
}

.exam-feedback {
  margin-top: 16px;
  border-radius: 20px;
  background: rgba(20, 33, 28, 0.06);
  padding: 16px 18px;
}

.exam-feedback strong,
.exam-feedback p {
  display: block;
}

.exam-feedback p {
  margin: 8px 0 0;
  color: #394e46;
  font-weight: 820;
  line-height: 1.55;
}

.exam-feedback .answer-comparison {
  margin-top: 12px;
}

.breakdown-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.breakdown-grid span {
  border-radius: 999px;
  background: rgba(255, 255, 251, 0.78);
  padding: 8px 12px;
}

@media (max-width: 720px) {
  .answer-comparison {
    grid-template-columns: minmax(0, 1fr);
  }
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

.audio-room {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: clamp(620px, calc(100dvh - 32px), 820px);
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 32px;
  background: #14211c;
  color: white;
  padding: clamp(16px, 3vw, 28px);
}

.voice-button,
.speed-button {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 13px 18px;
  font: inherit;
  font-weight: 950;
}

.voice-button span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.voice-button.active span {
  color: rgba(20, 33, 28, 0.72);
}

.voice-button.active,
.speed-button.active {
  border-color: transparent;
  background: var(--gold);
  color: var(--ink);
}

.sticky-player {
  position: static;
  flex: 0 0 auto;
  z-index: 6;
  display: grid;
  gap: 10px;
  margin: 12px 0;
  border: 1px solid rgba(248, 196, 93, 0.35);
  border-radius: 28px;
  background: rgba(20, 33, 28, 0.96);
  padding: 12px 16px;
}

.sticky-player audio {
  width: 100%;
}

.audio-note {
  flex: 0 0 auto;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.caption-list {
  display: grid;
  min-height: 0;
  overflow: auto;
  gap: 10px;
  align-content: start;
  box-sizing: border-box;
  padding: 10px 8px 0 0;
  overscroll-behavior: contain;
  scroll-behavior: auto;
}

.caption-list::after {
  content: "";
  display: block;
  height: var(--caption-tail, 0px);
  pointer-events: none;
}

.caption-line {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.74);
  padding: 18px 20px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 950;
  line-height: 1.55;
}

.caption-line.active,
.caption-line[data-current="true"] {
  position: relative;
  z-index: 2;
  border-color: transparent;
  background: var(--gold) !important;
  color: var(--ink) !important;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.embed-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fffffb;
  padding: 24px;
}

.embed-card .badge {
  display: inline-flex;
  border-radius: 999px;
  background: #fff1cf;
  color: #8d5c00;
  padding: 8px 12px;
  font-weight: 950;
}

.embed-slot {
  display: grid;
  min-height: 240px;
  place-items: center;
  border: 2px dashed rgba(217, 107, 66, 0.34);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.74);
  color: var(--muted);
  padding: 20px;
  text-align: center;
  font-weight: 950;
}

.embed-slot.vertical {
  min-height: 420px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  width: min(100%, 300px);
}

@media (max-width: 980px) {
  .lesson-hero-grid,
  .lesson-main,
  .embed-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .material-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lesson-hero,
  .lesson-main {
    width: min(100% - 20px, 720px);
  }

  .material-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .lesson-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .audio-room {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    height: clamp(600px, calc(100dvh - 16px), 780px);
    min-height: 0;
    overflow: hidden;
    padding: 16px;
  }

  .voice-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .voice-button {
    min-width: 0;
    padding: 10px 4px;
    font-size: 0.78rem;
  }

  .sticky-player {
    gap: 8px;
    margin: 8px 0;
    padding: 9px 10px;
  }

  .speed-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
  }

  .speed-button {
    min-width: 0;
    padding: 8px 5px;
    font-size: 0.74rem;
  }

  .speed-row strong {
    flex: 0 0 auto;
    font-size: 0.72rem;
  }

  .speed-button {
    flex: 1 1 0;
  }

  .caption-list {
    min-height: 0;
    max-height: none;
    gap: 8px;
    padding-top: 8px;
  }

  .caption-line {
    padding: 12px 14px;
    line-height: 1.4;
  }
}

/* ==== PVS-TAB-CSS v2 (Parent Summary 家长可见摘要) ==== */
.lesson-document.parent-summary {
  max-width: 78ch;
}
.lesson-document.parent-summary .parent-lead {
  margin: 0 0 4px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.85);
  padding: 16px 20px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.7;
}
.lesson-document.parent-summary .parent-title {
  margin: 26px 0 6px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.9vw, 1.86rem);
  font-weight: 900;
  line-height: 1.4;
}
.lesson-document.parent-summary .parent-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 8px;
}
.lesson-document.parent-summary .parent-facts > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}
.lesson-document.parent-summary .parent-facts dt {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 900;
}
.lesson-document.parent-summary .parent-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.6;
}
.lesson-document.parent-summary h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  border-left: 6px solid var(--orange);
  padding-left: 14px;
  color: var(--ink);
  font-size: clamp(1.14rem, 1.5vw, 1.36rem);
  font-weight: 900;
  line-height: 1.45;
}
.lesson-document.parent-summary p {
  margin: 0 0 12px;
  font-size: 1.03rem;
  line-height: 1.8;
}
.lesson-document.parent-summary .parent-label {
  margin: 18px 0 6px;
  color: var(--orange);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.lesson-document.parent-summary ul,
.lesson-document.parent-summary ol {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 24px;
}
.lesson-document.parent-summary li {
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.75;
}
@media (max-width: 720px) {
  .lesson-document.parent-summary .parent-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ==== I18N-BILINGUAL v1 (菜单与标题的中英对照小字) ==== */
/* 规则：中文为主（原有字号），英文为辅（下方小字）。
   字号用 rem 固定，保证在任何父元素下都清晰可读。 */
.i18n-en {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.42;
  text-transform: none;
}
.lesson-hero h1 .i18n-en {
  margin-top: 12px;
  font-size: clamp(0.98rem, 1.15vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(20, 33, 28, 0.68);
}
.hero-lead .i18n-en {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
  color: rgba(20, 33, 28, 0.62);
}
.lesson-progress-card h2 .i18n-en,
.panel-title h2 .i18n-en {
  margin-top: 5px;
}
.nav-links a .i18n-en {
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5d6f66;
}
.home-pill .i18n-en,
.member-pill .i18n-en {
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.82;
}
/* 按钮内的小字跟随按钮前景色，深浅底都看得清 */
button .i18n-en,
.primary-action .i18n-en,
.secondary-action .i18n-en,
.embed-card .i18n-en {
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.78;
}
.embed-card h3 .i18n-en {
  font-size: 0.8rem;
  opacity: 0.72;
}
.site-footer .i18n-en {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}
/* ==== /I18N-BILINGUAL ==== */

/* ==== 手机端横向溢出防护（2026-09-16）====
   与首页同一口径：网格列 `1fr` 的最小值是 min-content，内部不可收缩的
   元素会把整列顶得比屏幕宽（手机上看就是右侧被切掉）。 */
.lesson-hero-grid > *,
.lesson-main > *,
.embed-grid > *,
.material-nav > *,
.material-tab,
.material-stage,
.lesson-panel,
.document-card {
  min-width: 0;
}

.lesson-hero,
.lesson-main,
.material-nav,
.material-stage,
.lesson-panel,
.document-card {
  overflow-wrap: anywhere;
}

/* 控件不得超出容器（安卓上 <input> 默认宽度会随字体回退变大） */
.lesson-main input,
.lesson-main select,
.lesson-main textarea,
.lesson-hero input {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 640px) {
  .material-tab {
    padding: 14px 16px;
  }

  .choice-option {
    overflow-wrap: anywhere;
  }
}
/* ==== 教师友好版式 · 课号徽章 / 答案对照 / 本课深度讲解（2026-09-16）====
   追加块。原有规则一律不动，只在这里覆盖需要改的部分。
   三件事：
     ① 课号放大成徽章 —— 学生/家长一眼看到「这是第几课」
     ② 答案对照分色 —— 题面(要问什么) / 参考答案 / 教师讲解 / 中文讲解 / 要点 / 脚手架
     ③ 本课深度讲解面板的版式（语言切换 + 双语双音轨）
   ==========================================================================*/

/* ---------- ① 课号徽章 ---------- */
.lesson-hero-grid .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 5px;
  border: 1px solid rgba(233, 127, 0, 0.3);
  border-radius: 999px;
  background: rgba(233, 127, 0, 0.1);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.lesson-hero-grid .eyebrow .eyebrow-no {
  display: inline-grid;
  min-width: 88px;
  padding: 9px 17px;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 950;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(233, 127, 0, 0.32);
}

.lesson-hero-grid .eyebrow .eyebrow-sub {
  padding-right: 17px;
  color: #a4581c;
  font-size: clamp(0.86rem, 1.15vw, 1.02rem);
  font-weight: 850;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .lesson-hero-grid .eyebrow {
    gap: 8px;
    padding: 4px;
  }

  .lesson-hero-grid .eyebrow .eyebrow-no {
    min-width: 0;
    padding: 8px 13px;
  }

  .lesson-hero-grid .eyebrow .eyebrow-sub {
    padding-right: 12px;
    font-size: 0.8rem;
  }
}

/* ---------- ② 答案对照 · 教师友好配色 ----------
   取材自课堂实况：老师要「念题 → 看答案 → 追问」，
   所以题面必须是最大的深色字，答案必须自带色块和标签，
   两者绝不能用同一个颜色。整体暖白纸底 + 深墨绿字（不用纯黑纯白）护眼。 */
#answerDocument .ak-doc {
  color: #1b2a24;
}

#answerDocument .ak-sec {
  margin: 0 0 26px;
  padding: 0;
}

#answerDocument .ak-h {
  margin: 30px 0 14px;
  padding-left: 14px;
  border-left: 6px solid var(--orange);
  color: #16241e;
  font-size: clamp(1.28rem, 1.9vw, 1.7rem);
  font-weight: 950;
  line-height: 1.35;
}

#answerDocument .ak-sec > p,
#answerDocument .ak-doc > p {
  max-width: 74ch;
  margin: 0 0 12px;
  color: #24352d;
  font-size: clamp(1.02rem, 1.34vw, 1.15rem);
  font-weight: 650;
  line-height: 1.85;
}

/* 编号问答题对：题面一条、答案一条，颜色与底色都不同 */
#answerDocument .ak-qa {
  margin: 0 0 16px;
  border: 1px solid rgba(20, 33, 28, 0.12);
  border-radius: 18px;
  background: #fffefb;
  overflow: hidden;
}

#answerDocument .ak-ques {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(20, 33, 28, 0.1);
  background: rgba(20, 33, 28, 0.055);
  color: #14211c;
  font-size: clamp(1.06rem, 1.42vw, 1.22rem);
  font-weight: 900;
  line-height: 1.6;
}

#answerDocument .ak-no {
  display: inline-grid;
  flex: 0 0 auto;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  place-items: center;
  border-radius: 11px;
  background: #14211c;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

#answerDocument .ak-ques-text {
  min-width: 0;
}

#answerDocument .ak-ans {
  margin: 0;
  padding: 14px 18px 16px;
  border-left: 7px solid #12866a;
  background: linear-gradient(180deg, rgba(18, 134, 106, 0.12), rgba(18, 134, 106, 0.04));
  color: #0e3227;
  font-size: clamp(1.03rem, 1.36vw, 1.18rem);
  font-weight: 720;
  line-height: 1.8;
}

#answerDocument .ak-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #12866a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#answerDocument .ak-ans-text {
  display: block;
}

/* 标签行：左标签右内容，扫读时一眼定位 */
#answerDocument .ak-row {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 6px 14px;
  align-items: start;
  margin: 0 0 10px;
  padding: 11px 14px;
  border-left: 5px solid var(--ak-accent, rgba(20, 33, 28, 0.25));
  border-radius: 12px;
  background: rgba(20, 33, 28, 0.035);
}

#answerDocument .ak-key {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--ak-accent, #556e64);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#answerDocument .ak-val {
  min-width: 0;
  color: #1b2a24;
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  font-weight: 620;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* 六类语义色：题面 / 参考答案 / 教师讲解 / 中文讲解 / 核心要点 / 脚手架 */
#answerDocument .ak-c-q {
  --ak-accent: #24352d;
  background: rgba(20, 33, 28, 0.07);
}

#answerDocument .ak-c-a {
  --ak-accent: #12866a;
  background: rgba(18, 134, 106, 0.11);
}

#answerDocument .ak-c-tip {
  --ak-accent: #3b52c4;
  background: rgba(59, 82, 196, 0.08);
}

#answerDocument .ak-c-zh {
  --ak-accent: #b0691a;
  background: rgba(176, 105, 26, 0.11);
}

#answerDocument .ak-c-key {
  --ak-accent: #4d6b5f;
  background: rgba(77, 107, 95, 0.09);
}

#answerDocument .ak-c-ev {
  --ak-accent: #8a4f9e;
  background: rgba(138, 79, 158, 0.085);
}

#answerDocument .ak-c-txt {
  --ak-accent: #6a5b46;
  background: rgba(106, 91, 70, 0.08);
}

#answerDocument .ak-c-opt {
  --ak-accent: #12866a;
  background: rgba(18, 134, 106, 0.06);
}

/* 题面类的值也加粗 —— 老师照着念的就是它 */
#answerDocument .ak-c-q .ak-val {
  color: #14211c;
  font-weight: 870;
}

/* 中文讲解：中文友好的行距，给中文家长/学生看 */
#answerDocument .ak-c-zh .ak-val {
  font-weight: 700;
  line-height: 1.9;
}

@media (max-width: 640px) {
  #answerDocument .ak-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  #answerDocument .ak-qa {
    border-radius: 15px;
  }

  #answerDocument .ak-ques {
    padding: 12px 14px;
  }

  #answerDocument .ak-ans {
    padding: 12px 14px 14px;
  }
}

/* ---------- ③ 本课深度讲解 ---------- */
.dd-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.dd-lang {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 1px solid rgba(20, 33, 28, 0.14);
  border-radius: 16px;
  background: #fffdf7;
  color: #14211c;
  padding: 10px 18px;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  min-height: 44px;
}

.dd-lang span {
  color: #6b7a73;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dd-lang.active {
  border-color: #14211c;
  background: #14211c;
  color: #fff;
}

.dd-lang.active span {
  color: #f8c45d;
}

/* 单一播放器：中英共用，切语言时换 src */
.dd-player {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(20, 33, 28, 0.14);
  border-radius: 18px;
  background: #fffdf7;
  padding: 13px 16px;
  margin: 0 0 18px;
}

.dd-player-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.dd-player-head strong {
  color: #14211c;
  font-size: 1rem;
  font-weight: 900;
}

.dd-player-head span {
  color: #6b7a73;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.dd-player audio {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
}

.dd-lang-block[hidden] {
  display: none !important;
}

.dd-doc .lesson-document h2 {
  margin-top: 26px;
}

.dd-doc .lesson-document p {
  max-width: 76ch;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.92;
}

.dd-doc .dd-lead {
  color: #14211c !important;
  font-size: clamp(1.12rem, 1.55vw, 1.34rem) !important;
  font-weight: 850;
}

.dd-doc .dd-story {
  border-left: 6px solid #f8c45d;
  background: rgba(248, 196, 93, 0.14);
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
  margin: 0 0 18px;
}

.dd-note {
  margin: 18px 0 0;
  border-radius: 16px;
  background: rgba(20, 33, 28, 0.05);
  padding: 14px 18px;
  color: #24352d;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.75;
}

/* 手机端：按钮铺满一行两个；播放器给足触控高度 */
@media (max-width: 640px) {
  .dd-switch {
    gap: 6px;
  }
  .dd-lang {
    flex: 1 1 calc(50% - 3px);
    align-items: center;
    padding: 11px 10px;
    border-radius: 14px;
  }
  .dd-lang span {
    font-size: 0.68rem;
  }
  .dd-player {
    padding: 12px 13px;
    border-radius: 16px;
  }
  .dd-player audio {
    height: 48px;
  }
  .dd-doc .lesson-document p {
    font-size: 1.06rem;
    line-height: 1.86;
  }
  .dd-doc .dd-story {
    padding: 14px 15px;
    border-left-width: 5px;
  }
  .dd-doc .lesson-document h2 {
    margin-top: 22px;
    font-size: 1.16rem;
  }
}
/* ==== 教师友好版式 · 结束 ==== */



/* ==========================================================================
   Y1-2 精品课程 · 逐课界面（在共享 lesson.css 之后覆盖）
   ========================================================================== */

/* ---------------- 学生讲义：左导航 + 课本正文 ---------------- */
.bk-wrap{display:grid;grid-template-columns:186px minmax(0,1fr);gap:18px;align-items:start}
.bk-nav{
  position:sticky;top:12px;max-height:calc(100vh - 90px);overflow:auto;
  display:flex;flex-direction:column;gap:3px;
  padding:12px 10px;border-radius:14px;
  background:linear-gradient(180deg,#FBF8F1,#F6F2E8);
  border:1px solid var(--line,#E7E0D2);
}
.bk-nav::-webkit-scrollbar{width:6px}
.bk-nav::-webkit-scrollbar-thumb{background:#D9D1C2;border-radius:6px}
.bknav-a{
  display:grid;grid-template-columns:24px 1fr;gap:7px;align-items:center;
  padding:6px 8px;border-radius:9px;text-decoration:none;color:#465661;
  font-size:12px;line-height:1.3;transition:background .15s,color .15s;
}
.bknav-a i{
  font-style:normal;font-family:Georgia,serif;font-size:10px;font-weight:700;
  color:#9E9890;text-align:center;
}
.bknav-a b{font-weight:600;color:#1E2A31}
.bknav-a span{display:none}
.bknav-a:hover{background:#EFEAE0}
.bknav-a.on{background:#1B5E57;color:#fff}
.bknav-a.on b{color:#fff}
.bknav-a.on i{color:#BFE3DD}

.bk-card{padding:0;overflow:hidden}
.bk-card .bk{padding:22px 24px 34px}
.bk-sec{scroll-margin-top:14px}
.bk-body{font-size:15px}

/* ---------------- 深度讲解 ---------------- */
.dd-card{padding:26px 28px 30px}
.dd-head h3{font-family:Georgia,"Songti SC",serif;font-size:24px;color:#0E3B37;margin:6px 0 8px}
.dd-head h3 .i18n-en{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9E9890;margin-top:4px}
.dd-lead{color:#465661;font-size:14px;line-height:1.75;margin:0 0 18px}
.dd-audio{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}
.dd-player{background:#FBF8F1;border:1px solid #E7E0D2;border-radius:12px;padding:12px 14px}
.dd-tag{display:inline-block;font-size:11px;letter-spacing:.1em;font-weight:700;color:#1B5E57;margin-bottom:8px}
.dd-tag.en{color:#2A6F97}
.dd-player audio{width:100%;height:34px}
.dd-block{display:grid;grid-template-columns:46px 1fr;gap:14px;padding:16px 0;border-top:1px solid #F1ECE1}
.dd-n{font-family:Georgia,serif;font-size:20px;font-weight:700;color:#C3DBD5}
.dd-c h4{margin:0 0 6px;font-size:16px;color:#0E3B37}
.dd-c p{margin:0 0 8px;font-size:14px;line-height:1.8;color:#1E2A31}
.dd-en{color:#7B8892 !important;font-size:13px !important;line-height:1.7 !important}
.dd-tip{margin-top:18px;padding:14px 16px;border-radius:12px;background:#E8F1EE;
  border:1px solid #C3DBD5;font-size:13.5px;line-height:1.8;color:#0E3B37}

/* ---------------- 复述范文 ---------------- */
.rt-head h3{font-family:Georgia,"Songti SC",serif;font-size:23px;color:#0E3B37;margin:6px 0 8px}
.rt-head h3 .i18n-en{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9E9890;margin-top:4px}
.rt-lead{font-size:14px;line-height:1.75;color:#465661;margin:0 0 14px}
.rt-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}
.rt-card{border:1px solid #E7E0D2;border-radius:14px;background:#FFFDF8;margin-bottom:14px;overflow:hidden}
.rt-card header{display:flex;align-items:baseline;gap:10px;padding:12px 16px;background:#FBF8F1;border-bottom:1px solid #F1ECE1}
.rt-card header b{font-size:15px;color:#0E3B37}
.rt-card header span{font-size:12px;color:#7B8892}
.rt-card header em{margin-left:auto;font-style:normal;font-size:11px;color:#B98A2E;letter-spacing:.06em}
.rt-list{margin:0;padding:12px 16px 14px 34px}
.rt-list li{margin-bottom:7px;line-height:1.65}
.rt-zh{display:block;font-size:13px;color:#9E9890}
.rt-en{display:block;font-size:15px;color:#1E2A31;transition:filter .2s,opacity .2s}
.rt-en.masked{filter:blur(6px);opacity:.35;user-select:none}
.rt-tip{margin-top:16px;padding:14px 16px;border-radius:12px;background:#F6EEDC;
  border:1px solid #E4D3A8;font-size:13.5px;line-height:1.8}

/* ---------------- 选择题 ---------------- */
.quiz-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.mode-switch{display:inline-flex;background:#F1ECE1;border-radius:11px;padding:3px;gap:2px}
.mode-btn{border:0;background:transparent;padding:8px 14px;border-radius:9px;
  font-size:12.5px;color:#465661;cursor:pointer;font-family:inherit;transition:.15s}
.mode-btn.active{background:#fff;color:#0E3B37;font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.09)}
.quiz-score{margin-left:auto;font-family:Georgia,serif;font-size:15px;font-weight:700;color:#7B8892}
.quiz-score.good{color:#1B5E57}
.quiz-list{display:flex;flex-direction:column;gap:14px}
.q-card{display:grid;grid-template-columns:40px 1fr;gap:12px;
  background:#FFFDF8;border:1px solid #E7E0D2;border-radius:14px;padding:16px 18px}
.q-card.pass{border-color:#BFD9C4;background:#F7FBF7}
.q-card.fail{border-color:#EFC9BE;background:#FEF9F7}
.q-n{font-family:Georgia,serif;font-size:16px;font-weight:700;color:#C3DBD5}
.q-stem{margin:0 0 12px;font-size:15px;line-height:1.7;color:#1E2A31}
.q-stem b{color:#0E3B37}
/* 中文版的小标签：只说考点，不说答案 */
.q-tag{display:inline-block;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.04em;
  color:#8A6516;background:#FBF0D6;border:1px solid #F0DFB8;border-radius:6px;
  padding:1px 7px;margin-right:7px;vertical-align:2px}
.q-stem .zh,.q-why .zh{display:block;font-size:12.5px;line-height:1.65;color:#6E7C84;margin-top:5px;font-weight:400}
.q-opts{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.q-opt{display:grid;grid-template-columns:26px 1fr;gap:9px;align-items:start;width:100%;
  text-align:left;border:1.5px solid #E7E0D2;background:#fff;border-radius:11px;
  padding:10px 13px;cursor:pointer;font-family:inherit;font-size:14px;line-height:1.55;
  color:#1E2A31;transition:.14s}
.q-opt:hover:not(:disabled){border-color:#C3DBD5;background:#FBFDFC}
.q-opt i{font-style:normal;font-weight:700;color:#B98A2E;font-family:Georgia,serif}
.q-opt .zh{display:block;font-size:11.5px;color:#9E9890;margin-top:2px}
.q-opt.sel{border-color:#1B5E57;background:#F0F7F5;box-shadow:0 0 0 3px rgba(27,94,87,.09)}
.q-opt.ok{border-color:#3F7A45;background:#EBF3EC}
.q-opt.ok i{color:#3F7A45}
.q-opt.bad{border-color:#C9502F;background:#FBEBE5}
.q-opt.bad i{color:#C9502F}
.q-opt:disabled{cursor:default}
/* 计时考试：没点「开始考试」之前选项要看起来就是不能点的 */
.exam-hint{font-size:12.5px;line-height:1.7;color:#8A6516;background:#FBF0D6;border:1px solid #F0DFB8;
  border-radius:10px;padding:9px 13px;margin:0 0 14px}
.exam-note{font-size:12.5px;line-height:1.7;color:#465661;background:#F4F1E9;border:1px solid #E7E0D2;
  border-radius:10px;padding:9px 13px;margin:0 0 8px}
.exam-note b{color:#0E3B37}
#examList.is-locked .q-opt{opacity:.55;cursor:not-allowed}
#examList.is-locked .q-opt:hover{border-color:#E7E0D2;background:#fff}
#startExam.is-on{opacity:.6}
.q-why{margin-top:12px;padding:11px 13px;border-radius:10px;background:#F7F4EC;
  font-size:13px;line-height:1.75;color:#465661}
.q-why b{color:#0E3B37}
.quiz-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}

/* ---------------- 听写 ---------------- */
.dict-head h3{font-family:Georgia,"Songti SC",serif;font-size:22px;color:#0E3B37;margin:0 0 6px}
.dict-head h3 .i18n-en{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9E9890;margin-top:3px}
.dict-head p{font-size:13.5px;line-height:1.8;color:#465661;margin:0 0 18px}
.dict-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dict-card{border:1px solid #E7E0D2;border-radius:13px;background:#FFFDF8;padding:13px 15px}
.dict-card.pass{border-color:#BFD9C4;background:#F7FBF7}
.dict-card.fail{border-color:#EFC9BE;background:#FEF9F7}
.dict-card header{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.dict-tag{font-size:10.5px;font-weight:700;letter-spacing:.08em;color:#2A6F97;
  background:#E8F1F6;padding:3px 8px;border-radius:6px}
.dict-tag.sent{color:#6E5A93;background:#F0ECF6}
.dict-state{font-size:11.5px;color:#9E9890;margin-left:auto;padding:3px 9px;border-radius:999px;
  background:#F4F1E9;white-space:nowrap;transition:.16s}
.dict-state[data-s="playing"]{color:#0E3B37;background:#D8EEE6;font-weight:700}
.dict-state[data-s="waiting"]{color:#8A6516;background:#FBF0D6;font-weight:600}
.dict-state[data-s="stopped"]{color:#A8402A;background:#FBEAE4;font-weight:600}
.dict-state[data-s="done"]{color:#3F7A45;background:#E7F2E8;font-weight:600}
.dict-card.is-playing{border-color:#9CCBB8;box-shadow:0 0 0 3px rgba(27,94,87,.07)}
.dict-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:9px}
.dict-play,.dict-stop,.dict-more,.dict-show{border:1px solid #E7E0D2;background:#fff;border-radius:9px;
  padding:7px 11px;font-size:12px;color:#465661;cursor:pointer;font-family:inherit;transition:.14s}
.dict-play{background:#1B5E57;border-color:#1B5E57;color:#fff;font-weight:600}
.dict-play:hover{background:#0E3B37}
.dict-stop{border-color:#E3B9AC;background:#FDF5F2;color:#A8402A;font-weight:700}
.dict-stop:hover:not(:disabled){background:#FAE5DD}
.dict-stop:disabled{opacity:.45;cursor:not-allowed;background:#fff;border-color:#E7E0D2;color:#9E9890;font-weight:400}
.dict-more:hover,.dict-show:hover{background:#F7F4EC}
.dict-count{font-size:12px;color:#B98A2E;font-weight:600;margin-bottom:7px}
.dict-input{width:100%;border:1.5px solid #E7E0D2;border-radius:10px;padding:10px 12px;
  font-size:15px;font-family:inherit;color:#1E2A31;background:#fff}
.dict-input:focus{outline:none;border-color:#1B5E57;box-shadow:0 0 0 3px rgba(27,94,87,.1)}
.dict-ans{margin-top:9px;padding:9px 12px;border-radius:9px;background:#F7F4EC;font-size:13px;line-height:1.6}
.dict-ans b{color:#0E3B37}
.dict-ans .zh{display:block;font-size:11.5px;color:#9E9890;margin-top:2px}
.ok-mark{color:#3F7A45;font-weight:700;margin-right:6px}
.bad-mark{color:#C9502F;font-weight:700;margin-right:6px}

/* ---------------- 可视化听读 ---------------- */
.ra-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px;align-items:center}
.ra-pick{display:flex;gap:6px;flex-wrap:wrap}
.ra-btn{border:1px solid #E7E0D2;background:#fff;border-radius:10px;padding:8px 12px;
  font-size:13px;font-weight:600;color:#465661;cursor:pointer;font-family:inherit;transition:.14s}
.ra-btn span{display:block;font-size:10.5px;font-weight:400;color:#9E9890;margin-top:1px}
.ra-btn.active{background:#1B5E57;border-color:#1B5E57;color:#fff}
.ra-btn.active span{color:#BFE3DD}
.ra-voice{display:inline-flex;background:#F1ECE1;border-radius:10px;padding:3px;gap:2px;margin-left:auto}
.ra-v{border:0;background:transparent;padding:7px 14px;border-radius:8px;font-size:12.5px;
  color:#465661;cursor:pointer;font-family:inherit}
.ra-v.active{background:#fff;color:#0E3B37;font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.09)}
.ra-stage{position:sticky;top:0;z-index:5;background:#FFFDF8;border:1px solid #E7E0D2;
  border-radius:13px;padding:12px 14px;margin-bottom:14px}
.ra-stage audio{width:100%}
.ra-speed{display:flex;gap:6px;margin-top:9px}
.ra-speed .sp{border:1px solid #E7E0D2;background:#fff;border-radius:8px;padding:5px 10px;
  font-size:11.5px;color:#465661;cursor:pointer;font-family:inherit}
.ra-speed .sp.active{background:#E8F1EE;border-color:#C3DBD5;color:#0E3B37;font-weight:700}
.ra-caption{display:flex;flex-direction:column;gap:6px}
.cap-line{display:block;width:100%;text-align:left;border:1px solid transparent;
  background:#FFFDF8;border-radius:10px;padding:10px 14px;cursor:pointer;font-family:inherit;transition:.16s}
.cap-line:hover{background:#FBF8F1}
.cap-line .cap-en{display:block;font-size:15px;line-height:1.55;color:#1E2A31}
.cap-line .cap-zh{display:block;font-size:11.5px;color:#9E9890;margin-top:2px}
.cap-line.on{background:#F0F7F5;border-color:#C3DBD5;box-shadow:inset 3px 0 0 #1B5E57}
.cap-line.on .cap-en{color:#0E3B37;font-weight:600}

/* ---------------- 游戏 ---------------- */
.game-head h3{font-family:Georgia,"Songti SC",serif;font-size:22px;color:#0E3B37;margin:0 0 5px}
.game-head h3 .i18n-en{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9E9890;margin-top:3px}
.game-head p{font-size:13.5px;color:#465661;margin:0 0 18px}
.game-card{border:1px solid #E7E0D2;border-radius:15px;background:#FFFDF8;padding:16px 18px;margin-bottom:16px}
.game-card header{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.game-card header b{font-size:16px;color:#0E3B37}
.game-card header span{font-size:12.5px;color:#7B8892}
.game-card header em{margin-left:auto;font-style:normal;font-size:12.5px;font-weight:700;color:#B98A2E}
.gm-wrap{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gm-legend{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:7px;
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#A79E90;font-weight:600}
/* 小屏单列布局：拖的距离变长，先把「点两下也能配对」说清楚 */
.gm-touch-tip{display:none;margin:0 0 10px;font-size:12px;line-height:1.6;color:#8A6516;
  background:#FBF0D6;border:1px solid #F0DFB8;border-radius:9px;padding:7px 11px}
@media (max-width:640px){.gm-touch-tip{display:block}}
.gm-pool,.gm-slots{display:flex;flex-direction:column;gap:7px}
.gm-chip{border:1.5px solid #E7E0D2;background:#fff;border-radius:10px;padding:10px 13px;
  font-size:14px;font-weight:600;color:#1E2A31;cursor:grab;font-family:inherit;text-align:left;transition:.14s;
  /* 拖拽走 pointer 事件，必须禁掉浏览器自己接管触摸手势，否则手指一划页面就滚、拖不动 */
  touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;
  -webkit-touch-callout:none}
.gm-chip:hover{border-color:#C3DBD5}
.gm-chip.sel{border-color:#1B5E57;background:#F0F7F5;box-shadow:0 0 0 3px rgba(27,94,87,.1)}
.gm-chip.used{opacity:.28;pointer-events:none;text-decoration:line-through}
.gm-chip.dragging{opacity:.5}
/* 拖起来跟着手指/鼠标走的浮层 */
.gm-ghost{position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-50%);
  padding:9px 13px;border-radius:10px;border:1.5px solid #1B5E57;background:#F0F7F5;
  font-size:14px;font-weight:600;color:#0E3B37;font-family:inherit;white-space:nowrap;
  box-shadow:0 10px 24px rgba(0,0,0,.18)}
.gm-slot{display:flex;align-items:center;gap:10px;border:1.5px dashed #D9D1C2;background:#FBF8F1;
  border-radius:10px;padding:9px 13px;cursor:pointer;font-family:inherit;text-align:left;transition:.14s}
.gm-slot .gm-zh{font-size:15px;font-weight:600;color:#0E3B37;flex:1 1 auto}
.gm-slot .gm-drop{font-size:11.5px;color:#B3AA9C}
.gm-slot.over{border-color:#1B5E57;background:#F0F7F5}
.gm-slot.filled{border-style:solid;border-color:#3F7A45;background:#EBF3EC}
.gm-slot.filled .gm-drop{color:#3F7A45;font-weight:700}
.gm-slot.wrong{border-color:#C9502F;background:#FBEBE5}
.gm-slot.shake{animation:gmshake .4s}
@keyframes gmshake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.gm-actions{display:flex;gap:9px;margin-top:13px}
.go-target{border:1.5px dashed #D9D1C2;border-radius:12px;background:#FBF8F1;padding:14px 16px;margin-bottom:12px}
.go-hint{font-size:12px;color:#B3AA9C}
.go-line{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px;min-height:6px}
.go-line.pass{border-radius:9px;background:#EBF3EC;box-shadow:0 0 0 6px #EBF3EC}
.go-line.fail{border-radius:9px;background:#FBEBE5;box-shadow:0 0 0 6px #FBEBE5}
.go-bank{display:flex;gap:7px;flex-wrap:wrap}
.go-chip{border:1.5px solid #E7E0D2;background:#fff;border-radius:9px;padding:8px 12px;
  font-size:14px;color:#1E2A31;cursor:pointer;font-family:inherit;transition:.14s}
.go-chip:hover{border-color:#C3DBD5;background:#FBFDFC}
.go-chip.used{opacity:.25;pointer-events:none}
.go-chip.built{background:#E8F1EE;border-color:#C3DBD5;color:#0E3B37;font-weight:600}

/* 游戏三 · 句子里找词 */
.hunt-ask{margin:2px 0 12px;font-size:13.5px;color:#465661}
.hunt-ask b{color:#0E3B37;font-weight:700}
.hunt-line{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;
  border:1.5px dashed #D9D1C2;border-radius:12px;background:#FBF8F1;padding:16px 18px}
.hunt-w{border:1.5px solid transparent;background:transparent;border-radius:7px;padding:4px 7px;
  font-size:15.5px;line-height:1.5;color:#1E2A31;cursor:pointer;font-family:inherit;transition:.13s}
.hunt-w:hover{background:#fff;border-color:#C3DBD5}
.hunt-w.ok{background:#EBF3EC;border-color:#3F7A45;color:#245029;font-weight:700}
.hunt-w.no{background:#FBEBE5;border-color:#C9502F;color:#8E3418;animation:gmshake .4s}

/* ---------------- 答案对照 ---------------- */
.ak-head h3{font-family:Georgia,"Songti SC",serif;font-size:23px;color:#0E3B37;margin:6px 0 18px}
.ak-head h3 .i18n-en{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9E9890;margin-top:4px}
.ak-h{font-size:14px;letter-spacing:.08em;color:#B98A2E;margin:24px 0 12px;
  padding-bottom:7px;border-bottom:1px solid #F1ECE1}
.ak-q{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid #F7F4EC}
.ak-n{font-family:Georgia,serif;font-size:15px;font-weight:700;color:#C3DBD5}
.ak-stem{margin:0 0 8px;font-size:14px;line-height:1.65;color:#1E2A31}
.ak-opts{list-style:none;margin:0 0 9px;padding:0;display:grid;gap:4px;font-size:13.5px}
.ak-opts li{padding:5px 10px;border-radius:8px;color:#7B8892}
.ak-opts li.ok{background:#EBF3EC;color:#2C5C31;font-weight:600}
.ak-opts li .zh{display:inline;font-size:11.5px;color:#9E9890;margin-left:6px}
.ak-why{margin:0;font-size:12.5px;line-height:1.7;color:#465661}
.ak-why-en{margin:4px 0 0;font-size:12px;line-height:1.65;color:#9E9890}
.ak-list{margin:0;padding-left:22px;font-size:14px;line-height:2}
.ak-list .zh{display:inline;font-size:11.5px;color:#9E9890;margin-left:7px}

/* ---------------- 家长摘要 ---------------- */
.pm-head h3{font-family:Georgia,"Songti SC",serif;font-size:23px;color:#0E3B37;margin:6px 0 6px}
.pm-head h3 .i18n-en{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#9E9890;margin-top:4px}
.pm-lead{font-size:14px;line-height:1.75;color:#465661;margin:0 0 8px}

.load-fail{padding:24px;color:#9E9890;font-size:13px}

/* ---------------- 响应式 ---------------- */
@media (max-width:1100px){
  .bk-wrap{grid-template-columns:1fr}
  .bk-nav{position:static;max-height:none;flex-direction:row;flex-wrap:wrap}
  .bknav-a{grid-template-columns:auto 1fr}
  .dict-grid{grid-template-columns:1fr}
  .dd-audio{grid-template-columns:1fr}
  .gm-wrap{grid-template-columns:1fr}
  .gm-legend{display:none}
}
@media (max-width:640px){
  .bk-card .bk{padding:16px 14px 24px}
  .q-card{grid-template-columns:1fr;padding:14px}
  .q-n{font-size:14px}
  .ra-voice{margin-left:0}
  .mode-btn{padding:7px 10px;font-size:11.5px}
}


/* ==========================================================================
   讲义 · 翻页阅读器（Flipbook Reader）
   --------------------------------------------------------------------------
   杨老师原话：「这样完全绝对不行，要做成翻页式的，就像 flipbook 一样的感觉，
   可以选择页码，也可以通过 Heading 进行定位……可以放大缩小成舒适眼睛的大小，
   而且最好在单词内容处有直接可以点击的录音音频，但是不能影响到阅读的字体大小！」

   设计要点（逐条对应）：
   1. 一页一张纸 —— 每个 `.bk-sec` 就是一页（本课 27 页），不是一条长滚动。
   2. 翻页动画 —— 用真实的 3D 绕左边缘旋转（transform-origin:left），
      旧页转走、新页在下面被「揭开」，不是简单淡入。
   3. 页码 —— 工具条里可直接输入页码跳转。
   4. Heading 定位 —— 工具条「目录」弹出 27 条标题，点哪条去哪页。
   5. 缩放 —— 用 CSS `zoom`（会重排，不会模糊、不会裁切），
      字号变大后纸自动变高，舞台滚动；阅读栏宽保持不变（不拉长行宽）。
   6. 单词发音 —— 词卡右上角一枚 16px 的小喇叭，**绝对定位**，
      完全不参与文本排版，所以绝不会改变字号或行距。
   ========================================================================== */

.fb {
  --fb-accent: #1B5E57;
  --fb-deep: #0E3B37;
  --fb-ink: #22303A;
  --fb-line: #E7DFCD;
  --fb-paper: #FFFDF7;
  --fb-z: 1;
  position: relative;
  border-radius: 26px;
  background: linear-gradient(180deg, #F8F3E7 0%, #F1EADA 100%);
  border: 1px solid #E7DFCD;
  box-shadow: 0 16px 46px rgba(20, 33, 28, 0.1);
  overflow: hidden;
}

/* ---------------------------------------------------------------- 工具条 */
.fb-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 253, 247, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fb-line);
  flex-wrap: wrap;
}

.fb-tocbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 10px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--fb-deep);
  font-family: var(--zhf, inherit);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
  white-space: nowrap;
}
.fb-tocbtn:hover { border-color: #BFD3C9; box-shadow: 0 3px 12px rgba(27, 94, 87, 0.13); }
.fb-tocbtn[aria-expanded="true"] { background: #F0F7F3; border-color: #A9C8B8; }
.fb-tocbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fb-tocbtn em {
  display: block;
  font-style: normal;
  font-family: var(--display, inherit);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A9A92;
  font-weight: 700;
  line-height: 1.1;
}
.fb-tocbtn > span { display: block; text-align: left; line-height: 1.15; }

/* 页码 */
.fb-pager {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--fb-line);
  border-radius: 13px;
  background: #fff;
}
.fb-arrow {
  width: 32px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--fb-deep);
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}
.fb-arrow:hover:not(:disabled) { background: #EFF5F1; }
.fb-arrow:active:not(:disabled) { transform: scale(0.93); }
.fb-arrow:disabled { opacity: 0.28; cursor: default; }
.fb-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.fb-count { display: inline-flex; align-items: baseline; gap: 3px; padding: 0 4px; font-family: var(--display, inherit); }
.fb-count input {
  width: 40px;
  padding: 3px 2px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #F7F4EC;
  text-align: center;
  font-family: var(--display, inherit);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fb-deep);
  -moz-appearance: textfield;
}
.fb-count input::-webkit-outer-spin-button,
.fb-count input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fb-count input:focus { outline: none; border-color: #A9C8B8; background: #fff; }
.fb-count i { font-style: normal; color: #A9B4AE; font-size: 12.5px; }
.fb-count b { font-size: 13px; color: #7A8A83; font-weight: 700; }

/* 缩放 */
.fb-zoom {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--fb-line);
  border-radius: 13px;
  background: #fff;
}
.fb-zoom button {
  border: 0;
  background: transparent;
  color: var(--fb-deep);
  font-family: var(--display, inherit);
  cursor: pointer;
  border-radius: 9px;
  transition: background 0.15s;
}
.fb-zoom button:hover { background: #EFF5F1; }
#fbZoomOut, #fbZoomIn { width: 32px; height: 30px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1; }
#fbZoomOut sup, #fbZoomIn sup { font-size: 10px; margin-left: 1px; vertical-align: super; line-height: 0; }
#fbZoomVal { min-width: 52px; height: 30px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }

.fb-fs {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--fb-deep);
  cursor: pointer;
  transition: background 0.15s;
}
.fb-fs:hover { background: #EFF5F1; }
.fb-fs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* 进度条 */
.fb-progress { height: 3px; background: #E8E1D0; position: relative; overflow: hidden; }
.fb-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2E7D6E, #6FB59C);
  transition: width 0.4s cubic-bezier(0.4, 0.05, 0.2, 1);
}

/* ---------------------------------------------------------------- 舞台 */
.fb-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(14px, 2.2vw, 28px);
  min-height: 58vh;
  /* ★ 2026-10-29 手机横划翻页的关键一行：
     横向手势归 JS（翻页），纵向手势仍归浏览器（上下滚读）。
     没有这一行时，手指一横划浏览器立刻抢去做 pan 并发出 pointercancel，
     pointermove/pointerup 全部断掉 —— 手机上就只能靠上方页码器翻页。
     注意：纸宽恒等于舞台宽（见 .fb-paper width 由 JS 按 clientWidth/zoom 计算），
     不会出现需要横向滚动的情况，所以 pan-y 不会挡掉任何正常操作。 */
  touch-action: pan-y;
}

.fb-book {
  position: relative;
  perspective: 2600px;
  perspective-origin: 50% 40%;
  width: 100%;
  max-width: 800px;
}

.fb-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform-origin: left center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.62s cubic-bezier(0.36, 0.06, 0.18, 1), opacity 0.42s ease;
}
.fb-page.is-under { z-index: 1; }
.fb-page.is-over { z-index: 3; }
.fb-page.is-hidden { opacity: 0; pointer-events: none; }
.fb-page.is-turning { box-shadow: -24px 0 60px -20px rgba(20, 33, 28, 0.4); }

/* 纸 */
.fb-paper {
  position: relative;
  background: var(--fb-paper);
  border: 1px solid #E9E1CF;
  border-radius: 18px;
  box-shadow: 0 1px 0 #F1EADA, 0 22px 48px -22px rgba(20, 33, 28, 0.3);
  padding: clamp(16px, 2.4vw, 34px) clamp(16px, 2.4vw, 34px) clamp(20px, 2.8vw, 40px);
  overflow: hidden;
  zoom: var(--fb-z);
  /* 纸的最小高度：短节也像一张纸，不会缩成一条。
     除以 --fb-z 是为了让「视觉高度」恒定 —— 放大字号时纸不该被硬撑高。 */
  min-height: calc(860px / var(--fb-z));
  /* 纸左侧的书脊阴影，让「翻页」有实物感 */
  background-image: linear-gradient(90deg, rgba(20, 33, 28, 0.05) 0, rgba(20, 33, 28, 0) 46px);
}

/* 翻页时纸面上的高光/阴影 */
.fb-glare {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(20, 33, 28, 0.22) 0%, rgba(20, 33, 28, 0.04) 22%, rgba(255, 255, 255, 0) 55%);
  transition: opacity 0.5s ease;
  z-index: 5;
}
.fb-page.is-turning .fb-glare { opacity: 1; }

/* 页内：把课本那套「印刷版式」在纸里扶正 */
.fb-paper .bk {
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 16.5px;
  line-height: 1.74;
  color: var(--fb-ink);
}
.fb-paper .bk-sec { margin: 0; }
.fb-paper .bk-sec-head { margin-bottom: 20px; }
/* 两栏 / 三栏：纸够宽就并排，窄了自动单栏，不做 !important 硬压 */
.fb-paper .bk .two,
.fb-paper .bk .three { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) {
  .fb-paper .bk .two,
  .fb-paper .bk .three { grid-template-columns: 1fr; }
}
/* 词卡 4 列在纸里保持 4 列（课本原版式），窄屏退 3 / 2 列 */
.fb-paper .bk .wordrow { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .fb-paper .bk .wordrow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .fb-paper .bk .wordrow { grid-template-columns: repeat(2, 1fr); } }

/* 旧版左侧 27 节目录条：翻页模式里由「目录」弹层取代 */
.fb .bk-nav { display: none !important; }

/* ------------------------------------------------------ 单词发音小喇叭 */
/* ★ 绝对定位，不占文本流 —— 所以字号、行高、换行一个像素都不会变。 */
.fb-paper .wcard { position: relative; }
.fb-paper td.w,
.fb-paper .combo td.z { position: relative; }
/* 给表格里的小喇叭留出位置：长词（New Zealand）不会被按钮压住。
   用固定 22px 而不是 calc(24px / var(--fb-z)) —— 实测 Chrome 不接受
   除数是 var() 的 calc 除法，声明会被整条丢掉，留白等于没加。
   22px 在 100%–170% 全程都够：按钮本身 17px，缩放后按同比例变大。 */
.fb-paper .wordtable td.w,
.fb-paper .combo td.z { padding-right: 22px; }
.fb-say {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 94, 87, 0.1) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B5E57' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.15s, transform 0.15s, background-color 0.15s;
  font-size: 0;
  line-height: 0;
  z-index: 4;
}
/* 表格里的词：竖直居中贴在单元格右侧，避开文字 */
.fb-say.in-cell { top: 50%; right: 4px; transform: translateY(-50%); }
.fb-say:hover { opacity: 1; background-color: rgba(27, 94, 87, 0.2); transform: scale(1.12); }
.fb-say.in-cell:hover { transform: translateY(-50%) scale(1.12); }
.fb-say.is-on { opacity: 1; background-color: #1B5E57; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- 页脚 */
.fb-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px 12px;
  border-top: 1px solid rgba(231, 223, 205, 0.8);
  font-family: var(--zhf, inherit);
  font-size: 12.5px;
  color: #7C8B84;
}
.fb-foot #fbFootNo { font-weight: 700; color: var(--fb-deep); }
.fb-foot #fbFootTt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- 目录 */
.fb-toc {
  position: absolute;
  top: 58px;
  left: 12px;
  z-index: 40;
  width: min(560px, calc(100% - 24px));
  max-height: min(80vh, 700px);
  overflow: auto;
  padding: 12px;
  border: 1px solid #DCD3BF;
  border-radius: 18px;
  background: #FFFDF7;
  box-shadow: 0 26px 60px -18px rgba(20, 33, 28, 0.34);
  animation: fbTocIn 0.18s ease both;
}
@keyframes fbTocIn { from { opacity: 0; transform: translateY(-6px) scale(0.99); } to { opacity: 1; transform: none; } }
.fb-toc h4 {
  margin: 2px 4px 9px;
  font-family: var(--display, inherit);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #96A29B;
  font-weight: 700;
}
.fb-toc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
@media (max-width: 620px) { .fb-toc-list { grid-template-columns: 1fr; } }
.fb-toc-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: center;
  padding: 7px 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s;
  min-width: 0;
}
.fb-toc-item:hover { background: #F2F7F3; }
.fb-toc-item.on { background: #E7F1EA; }
.fb-toc-item i {
  font-style: normal;
  font-family: var(--display, inherit);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #B9C8C0;
  border-radius: 8px;
  height: 24px;
  display: grid;
  place-items: center;
}
.fb-toc-item.on i { background: linear-gradient(150deg, #2E7D6E, #0E3B37); }
.fb-toc-item b {
  display: block;
  font-family: var(--zhf, inherit);
  font-size: 13px;
  font-weight: 700;
  color: var(--fb-deep);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fb-toc-item span {
  display: block;
  font-family: var(--display, inherit);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #97A39C;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- 状态 */
.fb-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--zhf, inherit);
  font-size: 13.5px;
  color: #8A968F;
  background: rgba(248, 243, 231, 0.9);
  z-index: 25;
  transition: opacity 0.3s;
}
.fb-hint[hidden] { display: none; }

/* 全屏 */
/* ★ 全屏必须自己能滚：浏览器把 :fullscreen 元素拉成正好一屏高，
   而 .fb 带 overflow:hidden —— 纸一旦比屏幕高，底部就被切掉，
   而且没有任何可滚动的容器，滚轮完全没反应（杨老师报的「只能显示一部分」）。
   → 全屏时把 .fb 变成滚动容器；工具条是 sticky，仍然贴顶。 */
.fb:fullscreen {
  border-radius: 0;
  background: #F3EDDD;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.fb:fullscreen .fb-stage { min-height: calc(100vh - 120px); }
/* 全屏比窗口宽一点，但不放到 1100 —— 16.5px 字号下 1100px 一行近 95 字，
   小学生读起来会串行。900 是「多占一点屏」和「行宽别太长」的折中。 */
.fb:fullscreen .fb-book { max-width: 900px; }
/* ★ 不要给 .fb-arrow 加 position:fixed —— 工具条有 backdrop-filter，
   会给 fixed 子元素生成包含块，箭头会按工具条的高度定位（top:50% ≈ 31px），
   正好压住右边「退出全屏」按钮，点了没反应。翻页箭头留在工具条里就够用，
   工具条本身是 sticky，滚下去也一直看得到。 */

/* 移动端收紧 */
@media (max-width: 720px) {
  .fb-bar { gap: 7px; padding: 8px 9px; }
  .fb-tocbtn { padding: 6px 10px; font-size: 12.5px; }
  .fb-tocbtn em { display: none; }
  /* 缩放不能藏 —— 手机屏小，放大字号恰恰是这里最需要的。
     只把它压窄，让它跟页码挤在同一行。 */
  #fbZoomOut, #fbZoomIn { width: 28px; height: 28px; font-size: 12.5px; }
  #fbZoomVal { min-width: 44px; height: 28px; font-size: 11.5px; }
  .fb-arrow { width: 28px; height: 28px; }
  .fb-count input { width: 32px; font-size: 13px; }
  .fb-fs { width: 30px; height: 30px; }
  .fb-stage { padding: 10px; }
  .fb-paper { border-radius: 14px; }
  .fb-foot { padding: 8px 12px 10px; font-size: 11.5px; }
}

/* 打印：只出纸，不出工具条 */
@media print {
  .fb-bar, .fb-progress, .fb-foot, .fb-toc, .fb-hint { display: none !important; }
  .fb { border: 0; box-shadow: none; background: #fff; }
  .fb-page { position: static !important; transform: none !important; opacity: 1 !important; }
  .fb-book { height: auto !important; }
  .fb-paper { box-shadow: none; border: 0; zoom: 1 !important; width: auto !important; }
}
