/*
 * HNC Listening Redesign A+B
 * 两套视觉：A 静读工作台（暖纸） / B 节奏电台（深色）
 * 根容器 .hnc-lab；主题 .hnc-lab--a / .hnc-lab--b
 */

/* ============================================================
 * 1. 变量与基础
 * ============================================================ */

.hnc-lab {
  --font-serif-a: 'Source Serif 4', 'Songti SC', 'Noto Serif SC', Georgia, serif;
  --font-serif-b: 'Fraunces', 'Source Serif 4', 'Songti SC', Georgia, serif;
  --font-sans: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* A palette */
  --a-paper: #FAF6EE;
  --a-paper-deep: #F3ECDC;
  --a-ink: #231F1A;
  --a-ink-2: #5E5347;
  --a-ink-3: #8D8375;
  --a-rule: #E5DCC6;
  --a-rule-soft: #EFE7D4;
  --a-coral: #D8593A;
  --a-coral-soft: #F6E6DD;
  --a-leaf: #5A7A47;
  --a-leaf-soft: #E7EEDD;
  --a-gold: #B88A2D;
  --a-gold-soft: #F5EBCD;
  --a-indigo: #2D4057;
  --a-indigo-soft: #DDE4EC;

  /* B palette */
  --b-bg: #1C1F25;
  --b-panel: #262A31;
  --b-panel-2: #31363F;
  --b-rule: #3D434D;
  --b-ink: #F6F2E9;
  --b-ink-2: #C3BDAE;
  --b-ink-3: #8B8676;
  --b-amber: #F5B642;
  --b-amber-soft: rgba(245,182,66,0.12);
  --b-mint: #7FD4A1;
  --b-mint-soft: rgba(127,212,161,0.14);
  --b-rose: #F07777;
  --b-rose-soft: rgba(240,119,119,0.14);
  --b-violet: #A78BFA;
  --b-violet-soft: rgba(167,139,250,0.14);

  font-family: var(--font-sans);
  box-sizing: border-box;
}

.hnc-lab *,
.hnc-lab *::before,
.hnc-lab *::after { box-sizing: inherit; }

.hnc-lab button {
  font-family: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.hnc-lab [hidden] { display: none !important; }

/* ============================================================
 * 2. 主题切换器（悬浮右上）
 * ============================================================ */

.hnc-lab__theme-switch {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px 0;
  pointer-events: none;
}
.hnc-lab__theme-switch-pill {
  pointer-events: auto;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hnc-lab--a .hnc-lab__theme-switch-pill {
  background: var(--a-paper-deep);
  border: 1px solid var(--a-rule);
}
.hnc-lab--b .hnc-lab__theme-switch-pill {
  background: var(--b-panel-2);
  border: 1px solid var(--b-rule);
}
.hnc-lab__theme-btn {
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 150ms;
}
.hnc-lab__theme-btn .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.hnc-lab--a .hnc-lab__theme-btn { color: var(--a-ink-2); }
.hnc-lab--a .hnc-lab__theme-btn.is-active { background: var(--a-ink); color: var(--a-paper); }
.hnc-lab--a .hnc-lab__theme-btn.is-active .dot { background: var(--a-coral); opacity: 1; }
.hnc-lab--b .hnc-lab__theme-btn { color: var(--b-ink-3); }
.hnc-lab--b .hnc-lab__theme-btn.is-active { background: var(--b-bg); color: var(--b-ink); }
.hnc-lab--b .hnc-lab__theme-btn.is-active .dot { background: var(--b-amber); opacity: 1; }

/* ============================================================
 * 3. Direction A —— 静读工作台
 * ============================================================ */

.hnc-lab--a {
  background: var(--a-paper);
  color: var(--a-ink);
  min-height: 60vh;
}

/* 顶栏 + 模式切换 */
.hnc-lab--a .hnc-lab__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--a-rule);
  background: var(--a-paper);
  flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hnc-lab--a .hnc-lab__brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--a-ink); color: var(--a-paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-a);
  font-size: 26px; font-weight: 600; font-style: italic;
  letter-spacing: -0.5px;
}
.hnc-lab--a .hnc-lab__brand-eyebrow {
  font-size: 14.3px; font-weight: 500; color: var(--a-ink-3);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hnc-lab--a .hnc-lab__brand-title {
  font-family: var(--font-serif-a);
  font-size: 26px; font-weight: 600; color: var(--a-ink);
  letter-spacing: -0.3px;
}
.hnc-lab--a .hnc-lab__brand-title em {
  font-style: italic; color: var(--a-coral);
}
.hnc-lab--a .hnc-lab__mode-pill {
  display: inline-flex; padding: 3px;
  background: var(--a-paper-deep);
  border: 1px solid var(--a-rule);
  border-radius: 999px;
  font-size: 15.6px; font-weight: 500;
}
.hnc-lab--a .hnc-lab__mode-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  color: var(--a-ink-2);
  transition: all 150ms;
}
.hnc-lab--a .hnc-lab__mode-btn .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__mode-btn.is-active {
  background: var(--a-ink); color: var(--a-paper); font-weight: 600;
}
.hnc-lab--a .hnc-lab__mode-btn[data-mode="teacher"].is-active .dot { background: var(--a-coral); }
.hnc-lab--a .hnc-lab__mode-btn[data-mode="student"].is-active .dot { background: var(--a-leaf); }

/* Section tabs */
.hnc-lab--a .hnc-lab__sections {
  display: flex;
  gap: 0;
  padding: 0 32px;
  border-bottom: 1px solid var(--a-rule);
  background: var(--a-paper);
  flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__section-tab {
  padding: 16px 22px 14px;
  text-align: left;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__section-tab.is-active {
  color: var(--a-ink);
  border-bottom-color: var(--a-coral);
}
.hnc-lab--a .hnc-lab__section-tab-eyebrow {
  font-size: 14.3px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
}
.hnc-lab--a .hnc-lab__section-tab-title {
  font-family: var(--font-serif-a);
  font-size: 19.5px; font-style: italic;
  margin-top: 2px;
}
.hnc-lab--a .hnc-lab__section-tab.is-active .hnc-lab__section-tab-title {
  font-weight: 600;
}
.hnc-lab--a .hnc-lab__sections-meta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 15.6px; color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__sections-meta .bullet {
  width: 4px; height: 4px; border-radius: 2px; background: var(--a-ink-3);
}

/* 页面主体容器 */
.hnc-lab--a .hnc-lab__body {
  max-width: 1360px; margin: 0 auto;
  padding: 28px 32px 64px;
}

/* 标题块 + 进度 */
.hnc-lab--a .hnc-lab__title-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.hnc-lab--a .hnc-lab__chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14.3px; padding: 3px 8px;
  background: var(--a-coral); color: var(--a-paper);
  border-radius: 4px; letter-spacing: 1px;
  text-transform: uppercase;
}
.hnc-lab--a .hnc-lab__meta {
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--a-ink-3);
  margin-left: 10px;
}
.hnc-lab--a .hnc-lab__h1 {
  margin: 6px 0 0;
  font-family: var(--font-serif-a);
  font-size: 44.2px; font-weight: 700; color: var(--a-ink);
  letter-spacing: -0.8px; line-height: 1.1;
}
.hnc-lab--a .hnc-lab__progress {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px;
  background: var(--a-paper-deep);
  border: 1px solid var(--a-rule);
  border-radius: 12px;
}
.hnc-lab--a .hnc-lab__progress-cell-label {
  font-size: 13px; color: var(--a-ink-3);
  letter-spacing: 1px; text-transform: uppercase;
}
.hnc-lab--a .hnc-lab__progress-cell-value {
  font-family: var(--font-serif-a);
  font-size: 28.6px; font-weight: 700; color: var(--a-ink);
  font-style: italic;
}
.hnc-lab--a .hnc-lab__progress-cell-value.is-correct { color: var(--a-leaf); }
.hnc-lab--a .hnc-lab__progress-cell-value .suffix {
  font-size: 18.2px; color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__progress-sep {
  width: 1px; height: 28px; background: var(--a-rule);
}

/* 播放器 */
.hnc-lab--a .hnc-lab__player {
  background: var(--a-paper-deep);
  border: 1px solid var(--a-rule);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 24px;
}
.hnc-lab--a .hnc-lab__player-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__playbtn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--a-ink); color: var(--a-paper);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hnc-lab--a .hnc-lab__scrub-wrap { flex: 1; min-width: 200px; position: relative; }
.hnc-lab--a .hnc-lab__scrub {
  height: 6px; background: var(--a-rule);
  border-radius: 3px; cursor: pointer; position: relative;
}
.hnc-lab--a .hnc-lab__scrub-fill {
  position: absolute; inset: 0 auto 0 0;
  background: var(--a-coral); border-radius: 3px;
  width: 0;
}
.hnc-lab--a .hnc-lab__scrub-mark {
  position: absolute; top: -4px; bottom: -4px;
  width: 2px; background: var(--a-ink-2);
  border-radius: 1px;
  transform: translateX(-1px);
}
.hnc-lab--a .hnc-lab__scrub-thumb {
  position: absolute; left: 0; top: 50%;
  width: 14px; height: 14px;
  background: var(--a-paper);
  border: 2px solid var(--a-coral);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  pointer-events: none;
}
.hnc-lab--a .hnc-lab__scrub-times {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--a-ink-3);
  margin-top: 6px;
}
.hnc-lab--a .hnc-lab__icon-btn {
  font-family: var(--font-mono);
  font-size: 14.3px; padding: 6px 10px;
  color: var(--a-ink-2);
  border: 1px solid var(--a-rule); border-radius: 6px;
  line-height: 1;
}
.hnc-lab--a .hnc-lab__icon-btn.is-active {
  background: var(--a-ink); color: var(--a-paper);
  border-color: var(--a-ink);
}
.hnc-lab--a .hnc-lab__vrule {
  width: 1px; height: 20px; background: var(--a-rule); margin: 0 4px;
}
.hnc-lab--a .hnc-lab__player-bottom {
  display: flex; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--a-rule); padding-top: 10px;
  flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__keyhints {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__keyhint { display: inline-flex; align-items: center; gap: 6px; }
.hnc-lab--a .hnc-lab__key {
  padding: 2px 6px; background: var(--a-paper);
  border: 1px solid var(--a-rule); border-radius: 4px;
  color: var(--a-ink);
}
.hnc-lab--a .hnc-lab__transcript-toggle {
  font-size: 16.9px; font-weight: 500;
  padding: 8px 14px;
  color: var(--a-ink);
  border: 1px solid var(--a-rule); border-radius: 8px;
}
.hnc-lab--a .hnc-lab__transcript-toggle.is-on {
  background: var(--a-ink); color: var(--a-paper);
  border-color: var(--a-ink);
}

/* 双列主区 */
.hnc-lab--a .hnc-lab__grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  align-items: flex-start;
}
.hnc-lab--a .hnc-lab__grid.is-split {
  grid-template-columns: 1.05fr 1fr;
}
@media (max-width: 920px) {
  .hnc-lab--a .hnc-lab__grid.is-split { grid-template-columns: 1fr; }
}

/* Transcript 面板 */
.hnc-lab--a .hnc-lab__transcript {
  background: var(--a-paper);
  border: 1px solid var(--a-rule);
  border-radius: 14px;
  padding: 24px 28px;
  position: sticky; top: 16px;
}
.hnc-lab--a .hnc-lab__transcript-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__transcript-eyebrow {
  font-size: 14.3px; font-weight: 500; color: var(--a-ink-3);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hnc-lab--a .hnc-lab__transcript-title {
  font-family: var(--font-serif-a);
  font-size: 26px; font-weight: 600; font-style: italic;
  margin-top: 3px;
}
.hnc-lab--a .hnc-lab__transcript-note {
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__transcript p {
  font-family: var(--font-serif-a);
  font-size: 22.1px; line-height: 1.75;
  color: var(--a-ink);
  margin: 0 0 14px;
  letter-spacing: 0.1px;
}
.hnc-lab--a .hnc-lab__tx-src {
  cursor: pointer;
  border-radius: 3px;
  transition: background 180ms;
  position: relative;
}
.hnc-lab--a .hnc-lab__tx-src.has-hint {
  background-image: linear-gradient(transparent 85%, var(--a-gold) 85%, var(--a-gold) 92%, transparent 92%);
}
.hnc-lab--a .hnc-lab__tx-src.is-answered {
  background: var(--a-gold-soft);
  padding: 2px 4px;
  background-image: none;
}
.hnc-lab--a .hnc-lab__tx-sup {
  font-family: var(--font-mono);
  font-size: 13px; margin-left: 4px;
  color: var(--a-gold); font-weight: 600;
  vertical-align: super;
}

/* Question card */
.hnc-lab--a .hnc-lab__questions {
  display: flex; flex-direction: column; gap: 14px;
}
.hnc-lab--a .hnc-lab__qcard {
  background: var(--a-paper);
  border: 1px solid var(--a-rule);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(35,31,26,0.03);
  transition: border-color 120ms, box-shadow 120ms;
}
.hnc-lab--a .hnc-lab__qcard.is-active {
  border-color: var(--a-ink);
  box-shadow: 0 6px 20px rgba(35,31,26,0.08);
}
.hnc-lab--a .hnc-lab__qhead {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__qhead-left {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__qlabel {
  font-family: var(--font-serif-a);
  font-size: 16.9px; font-style: italic; color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__qlabel .num {
  font-family: var(--font-mono); font-style: normal; color: var(--a-ink);
}
.hnc-lab--a .hnc-lab__jump-btn {
  font-family: var(--font-mono);
  font-size: 14.3px; padding: 3px 8px;
  background: var(--a-gold-soft); color: var(--a-gold);
  border-radius: 4px;
}
.hnc-lab--a .hnc-lab__stem-btn {
  font-size: 14.3px; padding: 3px 8px;
  color: var(--a-ink-2);
  border: 1px solid var(--a-rule); border-radius: 4px;
}
.hnc-lab--a .hnc-lab__stem-btn.is-on {
  background: var(--a-ink); color: var(--a-paper); border-color: var(--a-ink);
}
.hnc-lab--a .hnc-lab__qstate {
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__qstem {
  font-family: var(--font-serif-a);
  font-size: 24.7px; line-height: 1.55; color: var(--a-ink);
  margin-bottom: 16px; letter-spacing: -0.1px;
}
.hnc-lab--a .hnc-lab__qstem-roman {
  font-family: var(--font-mono);
  font-size: 0.78em; color: var(--a-ink-3); letter-spacing: 0;
  flex-shrink: 0; user-select: none;
}
.hnc-lab--a .hnc-lab__qstem-hidden {
  font-family: var(--font-serif-a);
  font-size: 18.2px; font-style: italic; color: var(--a-ink-3);
  margin-bottom: 16px; padding: 10px 14px;
  background: var(--a-paper-deep);
  border: 1px dashed var(--a-rule); border-radius: 8px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__qstem-hidden-tag {
  font-family: var(--font-mono);
  font-size: 13px; font-style: normal; color: var(--a-ink-3);
  padding: 2px 6px; background: var(--a-paper);
  border: 1px solid var(--a-rule); border-radius: 3px;
  letter-spacing: 1px;
}
.hnc-lab--a .hnc-lab__options {
  display: flex; flex-direction: column; gap: 8px;
}
.hnc-lab--a .hnc-lab__option {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 14px;
  background: var(--a-paper);
  border: 1px solid var(--a-rule);
  border-radius: 10px;
  text-align: left;
  transition: all 120ms;
  font-family: var(--font-serif-a);
  width: 100%;
}
.hnc-lab--a .hnc-lab__option:hover { background: var(--a-rule-soft); }
.hnc-lab--a .hnc-lab__option.is-picked { background: var(--a-paper-deep); border-color: var(--a-ink); }
.hnc-lab--a .hnc-lab__option.is-correct { background: var(--a-leaf-soft); border-color: var(--a-leaf); }
.hnc-lab--a .hnc-lab__option.is-wrong { background: var(--a-coral-soft); border-color: var(--a-coral); }
.hnc-lab--a .hnc-lab__opt-letter {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--a-paper);
  border: 1px solid var(--a-rule);
  color: var(--a-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 15.6px; font-weight: 600; flex-shrink: 0;
}
.hnc-lab--a .hnc-lab__option.is-picked .hnc-lab__opt-letter {
  background: var(--a-ink); color: var(--a-paper); border-color: var(--a-ink);
}
.hnc-lab--a .hnc-lab__option.is-correct .hnc-lab__opt-letter {
  background: var(--a-leaf); color: var(--a-paper); border-color: var(--a-leaf);
}
.hnc-lab--a .hnc-lab__option.is-wrong .hnc-lab__opt-letter {
  background: var(--a-coral); color: var(--a-paper); border-color: var(--a-coral);
}
.hnc-lab--a .hnc-lab__opt-text {
  flex: 1; font-size: 19.5px; line-height: 1.5; color: var(--a-ink); padding-top: 3px;
}
.hnc-lab--a .hnc-lab__opt-flag {
  font-family: var(--font-sans);
  font-size: 15.6px; font-weight: 600; padding-top: 6px;
}
.hnc-lab--a .hnc-lab__option.is-correct .hnc-lab__opt-flag { color: var(--a-leaf); }
.hnc-lab--a .hnc-lab__option.is-wrong .hnc-lab__opt-flag { color: var(--a-coral); }

.hnc-lab--a .hnc-lab__qfoot {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--a-rule);
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__qhint {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; flex: 1;
}
.hnc-lab--a .hnc-lab__qhint-tag {
  font-size: 14.3px; color: var(--a-ink-2);
  padding: 5px 10px; background: var(--a-paper-deep);
  border-radius: 6px; letter-spacing: 0.5px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.1;
  flex-shrink: 0;
}
.hnc-lab--a .hnc-lab__qhint-tag:hover {
  background: var(--a-coral-soft); color: var(--a-coral);
}
.hnc-lab--a .hnc-lab__qhint-tag.is-open {
  background: var(--a-coral-soft); color: var(--a-coral);
}
.hnc-lab--a .hnc-lab__qhint-tag-caret {
  font-size: 11px; opacity: 0.7;
}
.hnc-lab--a .hnc-lab__qhint-text {
  font-family: var(--font-serif-a);
  font-size: 18.2px; color: var(--a-ink-2); font-style: italic;
  white-space: pre-line;
  flex: 1; min-width: 200px;
}
.hnc-lab--a .hnc-lab__hint-cite {
  cursor: pointer;
  color: inherit;
  border-bottom: 1px dashed rgba(216, 89, 58, 0.55);
  padding-bottom: 1px;
  transition: border-bottom-color 0.15s ease;
}
.hnc-lab--a .hnc-lab__hint-cite:hover {
  border-bottom-color: var(--a-coral);
}
.hnc-lab--a .hnc-lab__reveal-btn {
  font-size: 16.9px; font-weight: 500;
  padding: 7px 14px;
  color: var(--a-ink);
  border: 1px solid var(--a-ink);
  border-radius: 8px;
}
.hnc-lab--a .hnc-lab__reveal-btn.is-on {
  background: var(--a-ink); color: var(--a-paper);
}
.hnc-lab--a .hnc-lab__reveal-btn[disabled] {
  opacity: 0.35; cursor: not-allowed;
}
.hnc-lab--a .hnc-lab__explain {
  margin-top: 12px; padding: 14px 16px;
  background: var(--a-leaf-soft);
  border-left: 3px solid var(--a-leaf);
  border-radius: 4px;
  font-family: var(--font-serif-a);
  font-size: 19.5px; line-height: 1.6; color: var(--a-ink);
}
.hnc-lab--a .hnc-lab__explain-head {
  font-family: var(--font-sans);
  font-size: 14.3px; font-weight: 600; color: var(--a-leaf);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
}
.hnc-lab--a .hnc-lab__explain-strategy {
  font-size: 19.5px; line-height: 1.7; color: var(--a-ink);
  margin-bottom: 10px;
}
.hnc-lab--a .hnc-lab__explain-source {
  font-size: 16.9px; line-height: 1.6; color: var(--a-ink-2);
  padding-top: 10px;
  border-top: 1px solid var(--a-rule);
  font-style: italic;
}

/* Answer key bar */
.hnc-lab--a .hnc-lab__answerkey {
  background: var(--a-ink); color: var(--a-paper);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-top: 4px;
}
.hnc-lab--a .hnc-lab__answerkey-label {
  font-family: var(--font-serif-a);
  font-size: 16.9px; font-style: italic;
  opacity: 0.7; letter-spacing: 1px;
}
.hnc-lab--a .hnc-lab__answerkey-cells {
  display: flex; gap: 12px;
}
.hnc-lab--a .hnc-lab__answerkey-cell {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hnc-lab--a .hnc-lab__answerkey-q {
  font-family: var(--font-mono); font-size: 13px; opacity: 0.5;
}
.hnc-lab--a .hnc-lab__answerkey-box {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-a);
  font-size: 20.8px; font-weight: 600; font-style: italic;
}
.hnc-lab--a .hnc-lab__answerkey-box.is-revealed {
  background: var(--a-leaf); border-color: var(--a-leaf);
}
.hnc-lab--a .hnc-lab__answerkey-btn {
  font-size: 16.9px; padding: 8px 14px;
  color: var(--a-paper);
  border: 1px solid var(--a-paper);
  border-radius: 8px;
}
.hnc-lab--a .hnc-lab__answerkey-btn.is-primary {
  background: var(--a-coral); border-color: var(--a-coral);
}
.hnc-lab--a .hnc-lab__answerkey-btn[hidden] { display: none; }
.hnc-lab--a .hnc-lab__answerkey-sp { flex: 1; }

/* Study materials */
.hnc-lab--a .hnc-lab__study {
  background: var(--a-paper);
  border: 1px solid var(--a-rule);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 24px;
}
.hnc-lab--a .hnc-lab__study-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__study-title {
  font-family: var(--font-serif-a);
  font-size: 26px; font-weight: 600; font-style: italic;
  margin-top: 2px;
}
.hnc-lab--a .hnc-lab__study-tabs {
  display: flex; gap: 4px;
  background: var(--a-paper-deep);
  padding: 4px; border-radius: 8px;
}
.hnc-lab--a .hnc-lab__study-tab {
  padding: 6px 12px; border-radius: 6px;
  color: var(--a-ink-3);
  font-size: 16.9px;
}
.hnc-lab--a .hnc-lab__study-tab.is-active {
  background: var(--a-paper); color: var(--a-ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.hnc-lab--a .hnc-lab__study-tab .count {
  font-family: var(--font-mono); font-size: 14.3px; opacity: 0.6; margin-left: 3px;
}
.hnc-lab--a .hnc-lab__vocab-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px;
}
.hnc-lab--a .hnc-lab__vocab-card {
  padding: 14px 16px;
  border: 1px solid var(--a-rule); border-radius: 10px;
  background: var(--a-paper);
}
.hnc-lab--a .hnc-lab__vocab-head {
  display: flex; align-items: baseline; gap: 6px 10px; margin-bottom: 4px;
  flex-wrap: wrap;
}
.hnc-lab--a .hnc-lab__vocab-word {
  font-family: var(--font-serif-a);
  font-size: 24.7px; font-weight: 600; color: var(--a-ink);
  flex-shrink: 0;
}
.hnc-lab--a .hnc-lab__vocab-ipa {
  font-family: var(--font-mono);
  font-size: 15.6px; color: var(--a-ink-3);
}
.hnc-lab--a .hnc-lab__vocab-cn {
  font-size: 16.9px; color: var(--a-ink); margin-bottom: 6px;
}
.hnc-lab--a .hnc-lab__vocab-eg {
  font-family: var(--font-serif-a);
  font-size: 18.2px; font-style: italic; color: var(--a-ink-2);
  line-height: 1.5; padding: 8px 10px;
  background: var(--a-paper-deep); border-radius: 6px;
}
.hnc-lab--a .hnc-lab__vocab-eg-tag {
  font-family: var(--font-sans);
  font-style: normal; font-size: 14.3px;
  color: var(--a-gold); font-weight: 600;
  letter-spacing: 1px; margin-right: 8px;
}
.hnc-lab--a .hnc-lab__expr-list {
  display: flex; flex-direction: column;
}
.hnc-lab--a .hnc-lab__expr-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 1fr) minmax(200px, 2fr);
  column-gap: 24px; row-gap: 4px;
  padding: 12px 14px;
  border-bottom: 1px dashed var(--a-rule);
  align-items: baseline;
  text-align: left;
}
.hnc-lab--a .hnc-lab__expr-row:last-child { border-bottom: 0; }
.hnc-lab--a .hnc-lab__expr-en {
  font-family: var(--font-serif-a);
  font-size: 20.8px; font-style: italic; color: var(--a-ink);
  text-align: left;
}
.hnc-lab--a .hnc-lab__expr-cn {
  font-size: 18.2px; color: var(--a-ink-2); text-align: left;
}
@media (max-width: 720px) {
  .hnc-lab--a .hnc-lab__expr-row {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
}
.hnc-lab--a .hnc-lab__culture-list {
  display: flex; flex-direction: column; gap: 10px;
}
.hnc-lab--a .hnc-lab__culture-item {
  padding: 14px 18px;
  background: var(--a-indigo-soft);
  border-left: 3px solid var(--a-indigo);
  border-radius: 10px;
  font-family: var(--font-serif-a);
  font-size: 19.5px; line-height: 1.65; color: var(--a-ink);
  display: flex; flex-direction: column; gap: 8px;
}
.hnc-lab--a .hnc-lab__culture-title {
  font-weight: 700; font-size: 20.8px; color: var(--a-indigo);
}
.hnc-lab--a .hnc-lab__culture-text { color: var(--a-ink); line-height: 1.7; }
.hnc-lab--a .hnc-lab__culture-sig {
  font-size: 18.2px; color: var(--a-ink-2); font-style: italic;
}
.hnc-lab--a .hnc-lab__culture-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.hnc-lab--a .hnc-lab__culture-tag {
  background: var(--a-indigo); color: #fff;
  border-radius: 20px; padding: 2px 10px;
  font-family: var(--font-sans); font-size: 14.3px;
}
.hnc-lab--a .hnc-lab__expr-eg {
  font-size: 17.6px; color: var(--a-ink-2); font-style: italic;
  text-align: left;
}

/* 原文引用动画（答题思路 → 原文连线） */
@keyframes hnc-cite-pulse-a {
  0%   { box-shadow: 0 0 0 0 rgba(216, 89, 58, 0.55); background: var(--a-coral-soft); }
  60%  { box-shadow: 0 0 0 14px rgba(216, 89, 58, 0);   background: var(--a-coral-soft); }
  100% { box-shadow: 0 0 0 0 rgba(216, 89, 58, 0);       background: transparent; }
}
.hnc-lab--a p.is-cite-pulse {
  animation: hnc-cite-pulse-a 2.6s ease-out;
  border-radius: 6px;
}
.hnc-lab__cite-svg {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.hnc-lab__cite-svg.is-on { opacity: 1; }
.hnc-lab__cite-svg.is-fading { opacity: 0; }
.hnc-lab__cite-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 4 4;
  opacity: 0.7;
}
.hnc-lab--a .hnc-lab__cite-svg { color: var(--a-coral); }

/* Footer */
.hnc-lab--a .hnc-lab__footer {
  border-top: 1px solid var(--a-rule);
  padding: 20px 32px;
  text-align: center;
  font-family: var(--font-serif-a);
  font-size: 16.9px; font-style: italic;
  color: var(--a-ink-3);
}

/* ============================================================
 * 4. Direction B —— 节奏电台
 * ============================================================ */

.hnc-lab--b {
  background: var(--b-bg);
  color: var(--b-ink);
  min-height: 60vh;
}

@keyframes hnc-lab-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* 顶栏 */
.hnc-lab--b .hnc-lab__topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--b-rule);
  background: var(--b-bg);
  flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__brand { display: flex; align-items: center; gap: 16px; }
.hnc-lab--b .hnc-lab__brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--b-amber); color: var(--b-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-b);
  font-size: 26px; font-weight: 700; font-style: italic;
}
.hnc-lab--b .hnc-lab__brand-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--b-ink-3);
  letter-spacing: 2px; text-transform: uppercase;
}
.hnc-lab--b .hnc-lab__brand-title {
  font-family: var(--font-serif-b);
  font-size: 26px; font-weight: 600; color: var(--b-ink);
}
.hnc-lab--b .hnc-lab__brand-title em {
  font-style: italic; color: var(--b-amber);
}
.hnc-lab--b .hnc-lab__mode-pill {
  display: inline-flex; padding: 3px;
  background: var(--b-bg);
  border: 1px solid var(--b-rule);
  border-radius: 999px;
}
.hnc-lab--b .hnc-lab__mode-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  color: var(--b-ink-3);
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  transition: all 150ms;
}
.hnc-lab--b .hnc-lab__mode-btn .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--b-ink-3);
}
.hnc-lab--b .hnc-lab__mode-btn.is-active {
  background: var(--b-panel-2); color: var(--b-ink);
}
.hnc-lab--b .hnc-lab__mode-btn[data-mode="teacher"].is-active .dot { background: var(--b-mint); }
.hnc-lab--b .hnc-lab__mode-btn[data-mode="student"].is-active .dot { background: var(--b-amber); }

/* Section selector (卡片式) */
.hnc-lab--b .hnc-lab__sections {
  padding: 20px 32px 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__section-tab {
  padding: 12px 18px;
  background: var(--b-panel);
  border: 1px solid var(--b-rule); border-radius: 10px;
  text-align: left; min-width: 220px;
  display: flex; align-items: center; gap: 12px;
  flex: 1 1 auto; max-width: 320px;
}
.hnc-lab--b .hnc-lab__section-tab.is-active {
  background: var(--b-amber-soft); border-color: var(--b-amber);
}
.hnc-lab--b .hnc-lab__section-num {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--b-bg); color: var(--b-ink-2);
  border: 1px solid var(--b-rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-b);
  font-size: 23.4px; font-weight: 700; font-style: italic;
}
.hnc-lab--b .hnc-lab__section-tab.is-active .hnc-lab__section-num {
  background: var(--b-amber); color: var(--b-bg); border-color: var(--b-amber);
}
.hnc-lab--b .hnc-lab__section-tab-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.7px; color: var(--b-ink-3);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hnc-lab--b .hnc-lab__section-tab.is-active .hnc-lab__section-tab-eyebrow { color: var(--b-amber); }
.hnc-lab--b .hnc-lab__section-tab-title {
  font-family: var(--font-serif-b);
  font-size: 19.5px; color: var(--b-ink);
  font-weight: 500; margin-top: 2px;
}
.hnc-lab--b .hnc-lab__sections-stats {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: var(--b-panel); border: 1px solid var(--b-rule); border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--b-ink-2);
}
.hnc-lab--b .hnc-lab__sections-stats .val {
  color: var(--b-amber); font-size: 18.2px; font-weight: 700;
}

/* Waveform + transport */
.hnc-lab--b .hnc-lab__studio {
  padding: 22px 32px;
}
.hnc-lab--b .hnc-lab__studio-panel {
  background: var(--b-panel);
  border: 1px solid var(--b-rule);
  border-radius: 16px;
  padding: 6px 24px 18px;
}
.hnc-lab--b .hnc-lab__wave {
  position: relative; padding: 24px 0 6px;
}
.hnc-lab--b .hnc-lab__wave-markers {
  position: relative; height: 24px; margin-bottom: 4px;
}
.hnc-lab--b .hnc-lab__wave-marker {
  position: absolute;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.hnc-lab--b .hnc-lab__wave-marker-tag {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--b-ink-2);
  padding: 2px 6px; border-radius: 3px;
  border: 1px solid var(--b-rule);
  white-space: nowrap;
}
.hnc-lab--b .hnc-lab__wave-marker.is-active .hnc-lab__wave-marker-tag {
  color: var(--b-amber);
  background: var(--b-amber-soft);
  border-color: var(--b-amber);
}
.hnc-lab--b .hnc-lab__wave-marker-tick {
  width: 1px; height: 10px; background: var(--b-rule); margin-top: 2px;
}
.hnc-lab--b .hnc-lab__wave-marker.is-active .hnc-lab__wave-marker-tick { background: var(--b-amber); }
.hnc-lab--b .hnc-lab__wave-bars {
  height: 96px; display: flex; align-items: center; gap: 2px;
  cursor: pointer; position: relative;
}
.hnc-lab--b .hnc-lab__wave-bar {
  flex: 1; background: var(--b-rule); border-radius: 1px;
  transition: background 120ms;
  opacity: 0.7;
}
.hnc-lab--b .hnc-lab__wave-bar.is-played {
  background: var(--b-amber); opacity: 1;
}
.hnc-lab--b .hnc-lab__wave-scrubber {
  position: absolute; top: -4px; bottom: -4px;
  width: 2px; background: var(--b-ink);
  pointer-events: none; left: 0;
  box-shadow: 0 0 10px var(--b-amber);
}
.hnc-lab--b .hnc-lab__wave-times {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--b-ink-3);
  letter-spacing: 1px;
}
.hnc-lab--b .hnc-lab__wave-times .mid { color: var(--b-ink-2); }
.hnc-lab--b .hnc-lab__wave.is-wave-loading .hnc-lab__wave-bar { opacity: 0.35; }
.hnc-lab--b .hnc-lab__wave.is-wave-loading .hnc-lab__wave-times .mid {
  color: var(--b-amber); letter-spacing: 2px;
  animation: hnc-lab-pulse 1.4s ease-in-out infinite;
}
@keyframes hnc-lab-pulse { 50% { opacity: 0.5; } }

.hnc-lab--b .hnc-lab__transport {
  margin-top: 14px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  background: var(--b-panel-2);
  border: 1px solid var(--b-rule);
  border-radius: 12px;
  flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__tbtn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--b-rule);
  color: var(--b-ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hnc-lab--b .hnc-lab__tbtn--big {
  width: 56px; height: 56px;
  background: var(--b-amber); color: var(--b-bg);
  border: 0;
}
.hnc-lab--b .hnc-lab__vrule {
  width: 1px; height: 30px; background: var(--b-rule); margin: 0 4px;
}
.hnc-lab--b .hnc-lab__rates {
  display: inline-flex; gap: 4px;
  background: var(--b-bg); padding: 3px; border-radius: 8px;
}
.hnc-lab--b .hnc-lab__rate-btn {
  padding: 5px 11px; border-radius: 5px;
  color: var(--b-ink-2);
  font-family: var(--font-mono);
  font-size: 14.3px; font-weight: 600;
}
.hnc-lab--b .hnc-lab__rate-btn.is-active {
  background: var(--b-amber); color: var(--b-bg);
}
.hnc-lab--b .hnc-lab__transcript-toggle {
  margin-left: auto;
  padding: 8px 14px;
  color: var(--b-ink);
  border: 1px solid var(--b-rule);
  border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16.9px; font-weight: 500;
}
.hnc-lab--b .hnc-lab__transcript-toggle .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--b-amber);
}
.hnc-lab--b .hnc-lab__transcript-toggle.is-on {
  background: var(--b-amber); color: var(--b-bg);
  border-color: var(--b-amber);
}
.hnc-lab--b .hnc-lab__transcript-toggle.is-on .dot {
  background: var(--b-bg);
  animation: hnc-lab-pulse 1.5s infinite;
}

/* Body grid (transcript + questions) */
.hnc-lab--b .hnc-lab__body {
  padding: 4px 32px 48px;
  max-width: 1400px; margin: 0 auto;
}
.hnc-lab--b .hnc-lab__grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  align-items: flex-start;
}
.hnc-lab--b .hnc-lab__grid.is-split {
  grid-template-columns: 1fr 1.05fr;
}
@media (max-width: 920px) {
  .hnc-lab--b .hnc-lab__grid.is-split { grid-template-columns: 1fr; }
}

/* Live transcript */
.hnc-lab--b .hnc-lab__transcript {
  background: var(--b-panel);
  border: 1px solid var(--b-rule);
  border-radius: 14px;
  padding: 20px 22px;
  position: sticky; top: 16px;
}
.hnc-lab--b .hnc-lab__transcript-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 13px; color: var(--b-ink-3);
  letter-spacing: 2px; text-transform: uppercase;
}
.hnc-lab--b .hnc-lab__tx-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--b-ink-3);
}
.hnc-lab--b .hnc-lab__transcript.is-playing .hnc-lab__tx-live-dot {
  background: var(--b-rose);
  animation: hnc-lab-pulse 1.2s infinite;
}
.hnc-lab--b .hnc-lab__tx-live-sp { flex: 1; }
.hnc-lab--b .hnc-lab__tx-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 180ms;
}
.hnc-lab--b .hnc-lab__tx-row.is-active {
  background: var(--b-amber-soft);
  border-left-color: var(--b-amber);
}
.hnc-lab--b .hnc-lab__tx-idx {
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--b-ink-3);
  flex-shrink: 0; padding-top: 3px; letter-spacing: 1px;
}
.hnc-lab--b .hnc-lab__tx-row.is-active .hnc-lab__tx-idx { color: var(--b-amber); }
.hnc-lab--b .hnc-lab__tx-sent {
  flex: 1;
  font-family: var(--font-serif-b);
  font-size: 20.8px; line-height: 1.6;
  color: var(--b-ink-2);
  font-weight: 400;
}
.hnc-lab--b .hnc-lab__tx-row.is-active .hnc-lab__tx-sent {
  color: var(--b-ink); font-weight: 500;
}
.hnc-lab--b .hnc-lab__tx-highlight {
  padding: 0; background: transparent;
  border-radius: 3px;
  transition: all 160ms;
}
.hnc-lab--b .hnc-lab__tx-highlight.is-revealed {
  background: var(--b-amber-soft);
  box-shadow: inset 0 -2px 0 var(--b-amber);
  padding: 2px 4px;
}
.hnc-lab--b .hnc-lab__tx-tag {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hnc-lab--b .hnc-lab__tx-qbadge {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  padding: 2px 6px; border-radius: 3px;
  background: var(--b-amber); color: var(--b-bg);
  letter-spacing: 1px;
}
.hnc-lab--b .hnc-lab__tx-qhint {
  font-size: 15.6px; color: var(--b-amber); font-weight: 600;
}

/* Question card B */
.hnc-lab--b .hnc-lab__questions {
  display: flex; flex-direction: column; gap: 14px;
}
.hnc-lab--b .hnc-lab__qcard {
  background: var(--b-panel);
  border: 1px solid var(--b-rule);
  border-radius: 14px;
  padding: 20px 22px;
  transition: all 150ms;
}
.hnc-lab--b .hnc-lab__qcard.is-active {
  border-color: var(--b-amber);
  box-shadow: 0 0 0 1px var(--b-amber), 0 10px 30px rgba(0,0,0,0.4);
}
.hnc-lab--b .hnc-lab__qhead {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__qnum {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--b-bg);
  border: 1px solid var(--b-rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-b);
  font-size: 26px; font-weight: 700; color: var(--b-amber); font-style: italic;
}
.hnc-lab--b .hnc-lab__qhead-mid { flex: 1; min-width: 140px; }
.hnc-lab--b .hnc-lab__qhead-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--b-ink-3);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hnc-lab--b .hnc-lab__qhead-time {
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--b-amber); margin-top: 2px;
}
.hnc-lab--b .hnc-lab__stem-btn {
  padding: 6px 10px;
  color: var(--b-ink-2);
  border: 1px solid var(--b-rule); border-radius: 6px;
  font-size: 14.3px; font-weight: 500;
}
.hnc-lab--b .hnc-lab__stem-btn.is-on {
  background: var(--b-ink); color: var(--b-bg);
}
.hnc-lab--b .hnc-lab__jump-btn {
  padding: 6px 12px;
  background: var(--b-amber-soft); color: var(--b-amber);
  border: 1px solid var(--b-amber); border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 14.3px; font-weight: 600;
}
.hnc-lab--b .hnc-lab__qstem {
  font-family: var(--font-serif-b);
  font-size: 24.7px; line-height: 1.5; color: var(--b-ink);
  margin-bottom: 14px;
}
.hnc-lab--b .hnc-lab__qstem-roman {
  font-family: var(--font-mono);
  font-size: 0.78em; color: var(--b-ink-3); letter-spacing: 0;
  flex-shrink: 0; user-select: none;
}
.hnc-lab--b .hnc-lab__qstem-hidden {
  font-size: 16.9px; color: var(--b-ink-3);
  margin-bottom: 14px; padding: 10px 14px;
  background: var(--b-bg);
  border: 1px dashed var(--b-rule); border-radius: 8px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__qstem-hidden-tag {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--b-amber); font-weight: 700;
  padding: 2px 6px; background: var(--b-amber-soft);
  border: 1px solid var(--b-amber); border-radius: 3px;
  letter-spacing: 1px;
}
.hnc-lab--b .hnc-lab__options {
  display: flex; flex-direction: column; gap: 8px;
}
.hnc-lab--b .hnc-lab__option {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 14px;
  background: var(--b-bg);
  border: 1px solid var(--b-rule); border-radius: 10px;
  text-align: left;
  transition: all 120ms;
  width: 100%;
}
.hnc-lab--b .hnc-lab__option:hover { background: var(--b-panel-2); }
.hnc-lab--b .hnc-lab__option.is-picked { background: var(--b-panel-2); border-color: var(--b-ink-2); }
.hnc-lab--b .hnc-lab__option.is-correct { background: var(--b-mint-soft); border-color: var(--b-mint); }
.hnc-lab--b .hnc-lab__option.is-wrong { background: var(--b-rose-soft); border-color: var(--b-rose); }
.hnc-lab--b .hnc-lab__opt-letter {
  width: 26px; height: 26px; border-radius: 6px;
  border: 1px solid var(--b-ink-3);
  color: var(--b-ink-3);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 14.3px; font-weight: 700; flex-shrink: 0;
}
.hnc-lab--b .hnc-lab__option.is-picked .hnc-lab__opt-letter {
  background: var(--b-ink); color: var(--b-bg); border-color: var(--b-ink);
}
.hnc-lab--b .hnc-lab__option.is-correct .hnc-lab__opt-letter {
  background: var(--b-mint); color: var(--b-bg); border-color: var(--b-mint);
}
.hnc-lab--b .hnc-lab__option.is-wrong .hnc-lab__opt-letter {
  background: var(--b-rose); color: var(--b-bg); border-color: var(--b-rose);
}
.hnc-lab--b .hnc-lab__opt-text {
  flex: 1; font-family: var(--font-serif-b);
  font-size: 19.5px; line-height: 1.5;
  color: var(--b-ink); padding-top: 2px;
}
.hnc-lab--b .hnc-lab__opt-flag {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  padding-top: 6px;
}
.hnc-lab--b .hnc-lab__option.is-correct .hnc-lab__opt-flag { color: var(--b-mint); }
.hnc-lab--b .hnc-lab__option.is-wrong .hnc-lab__opt-flag { color: var(--b-rose); }

.hnc-lab--b .hnc-lab__qfoot {
  margin-top: 14px;
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__qhint {
  display: flex; gap: 10px; align-items: flex-start; flex: 1;
  padding: 10px 12px;
  background: var(--b-violet-soft);
  border-left: 3px solid var(--b-violet);
  border-radius: 8px;
  min-width: 180px;
  flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__qhint-tag {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--b-violet); font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s ease;
  line-height: 1.1;
  flex-shrink: 0;
}
.hnc-lab--b .hnc-lab__qhint-tag:hover,
.hnc-lab--b .hnc-lab__qhint-tag.is-open {
  background: rgba(167,139,250,0.2);
}
.hnc-lab--b .hnc-lab__qhint-tag-caret {
  font-size: 11px; opacity: 0.8;
}
.hnc-lab--b .hnc-lab__qhint-text {
  font-size: 16.9px; color: var(--b-ink-2); white-space: pre-line;
  flex: 1; min-width: 200px;
}
.hnc-lab--b .hnc-lab__hint-cite {
  cursor: pointer;
  color: inherit;
  border-bottom: 1px dashed rgba(245, 182, 66, 0.55);
  padding-bottom: 1px;
  transition: border-bottom-color 0.15s ease;
}
.hnc-lab--b .hnc-lab__hint-cite:hover {
  border-bottom-color: var(--b-amber);
}
@keyframes hnc-cite-pulse-b {
  0%   { box-shadow: 0 0 0 0 rgba(245, 182, 66, 0.6); background: var(--b-amber-soft); }
  60%  { box-shadow: 0 0 0 16px rgba(245, 182, 66, 0); background: var(--b-amber-soft); }
  100% { box-shadow: 0 0 0 0 rgba(245, 182, 66, 0); background: transparent; }
}
.hnc-lab--b .hnc-lab__tx-row.is-cite-pulse {
  animation: hnc-cite-pulse-b 2.6s ease-out;
  border-radius: 8px;
}
.hnc-lab--b .hnc-lab__cite-svg { color: var(--b-amber); }
.hnc-lab--b .hnc-lab__reveal-btn {
  padding: 9px 14px;
  color: var(--b-ink);
  border: 1px solid var(--b-rule); border-radius: 8px;
  font-size: 16.9px; font-weight: 500; white-space: nowrap;
}
.hnc-lab--b .hnc-lab__reveal-btn.is-on {
  background: var(--b-ink); color: var(--b-bg); border-color: var(--b-ink);
}
.hnc-lab--b .hnc-lab__reveal-btn[disabled] {
  opacity: 0.35; cursor: not-allowed;
}
.hnc-lab--b .hnc-lab__explain {
  margin-top: 12px; padding: 14px 16px;
  background: var(--b-mint-soft);
  border-left: 3px solid var(--b-mint);
  border-radius: 8px;
  font-family: var(--font-serif-b);
  font-size: 19.5px; line-height: 1.6; color: var(--b-ink);
}
.hnc-lab--b .hnc-lab__explain-head {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--b-mint); font-weight: 700;
  letter-spacing: 1px; margin-bottom: 8px;
}
.hnc-lab--b .hnc-lab__explain-strategy {
  font-size: 19.5px; line-height: 1.7; color: var(--b-ink);
  margin-bottom: 10px;
}
.hnc-lab--b .hnc-lab__explain-source {
  font-size: 16.9px; line-height: 1.6; color: var(--b-ink-3);
  padding-top: 10px;
  border-top: 1px solid var(--b-rule);
  font-style: italic;
}

/* Study materials B */
.hnc-lab--b .hnc-lab__study {
  background: var(--b-panel);
  border: 1px solid var(--b-rule);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 22px;
}
.hnc-lab--b .hnc-lab__study-head {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--b-rule);
  margin-bottom: 18px; padding-bottom: 2px;
  flex-wrap: wrap;
}
.hnc-lab--b .hnc-lab__study-tab {
  padding: 10px 2px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--b-ink-3);
  font-size: 16.9px; font-weight: 500; letter-spacing: 0.3px;
}
.hnc-lab--b .hnc-lab__study-tab.is-active {
  border-bottom-color: var(--b-amber);
  color: var(--b-ink); font-weight: 600;
}
.hnc-lab--b .hnc-lab__study-tab .count {
  font-family: var(--font-mono); font-size: 14.3px; opacity: 0.6; margin-left: 4px;
}
.hnc-lab--b .hnc-lab__vocab-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px;
}
.hnc-lab--b .hnc-lab__vocab-card {
  padding: 14px;
  background: var(--b-bg);
  border: 1px solid var(--b-rule); border-radius: 10px;
}
.hnc-lab--b .hnc-lab__vocab-head { display: flex; align-items: baseline; gap: 4px 8px; margin-bottom: 4px; flex-wrap: wrap; }
.hnc-lab--b .hnc-lab__vocab-word {
  font-family: var(--font-serif-b);
  font-size: 24.7px; font-weight: 700; color: var(--b-ink);
  flex-shrink: 0;
}
.hnc-lab--b .hnc-lab__vocab-ipa {
  font-family: var(--font-mono);
  font-size: 14.3px; color: var(--b-amber); margin-bottom: 4px;
}
.hnc-lab--b .hnc-lab__vocab-cn { font-size: 16.9px; color: var(--b-ink-2); margin-bottom: 6px; }
.hnc-lab--b .hnc-lab__vocab-eg {
  font-family: var(--font-serif-b);
  font-size: 16.9px; font-style: italic;
  color: var(--b-ink-2);
  padding: 8px 10px;
  background: var(--b-panel-2);
  border-radius: 6px; line-height: 1.5;
  border-left: 2px solid var(--b-amber);
}
.hnc-lab--b .hnc-lab__expr-list {
  display: flex; flex-direction: column;
  background: var(--b-bg);
  border: 1px solid var(--b-rule); border-radius: 10px;
  overflow: hidden;
}
.hnc-lab--b .hnc-lab__expr-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 1fr) minmax(200px, 2fr);
  column-gap: 24px; row-gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--b-rule);
  align-items: baseline;
  text-align: left;
}
.hnc-lab--b .hnc-lab__expr-row:last-child { border-bottom: 0; }
.hnc-lab--b .hnc-lab__expr-en {
  font-family: var(--font-serif-b);
  font-size: 19.5px; font-style: italic; color: var(--b-amber);
  text-align: left;
}
.hnc-lab--b .hnc-lab__expr-cn {
  font-size: 16.9px; color: var(--b-ink-2); text-align: left;
}
.hnc-lab--b .hnc-lab__expr-eg {
  font-size: 16.9px; color: var(--b-ink-3); font-style: italic;
  text-align: left;
}
@media (max-width: 720px) {
  .hnc-lab--b .hnc-lab__expr-row {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
}
.hnc-lab--b .hnc-lab__culture-list { display: flex; flex-direction: column; gap: 12px; }
.hnc-lab--b .hnc-lab__culture-item {
  padding: 14px 18px;
  background: var(--b-violet-soft);
  border-left: 3px solid var(--b-violet);
  border-radius: 6px;
  font-family: var(--font-serif-b);
  font-size: 19.5px; color: var(--b-ink); line-height: 1.6;
  display: flex; flex-direction: column; gap: 8px;
}
.hnc-lab--b .hnc-lab__culture-title {
  font-size: 20.8px; font-weight: 700; color: var(--b-violet);
}
.hnc-lab--b .hnc-lab__culture-text { color: var(--b-ink); line-height: 1.7; }
.hnc-lab--b .hnc-lab__culture-sig { font-size: 18.2px; color: var(--b-ink-3); font-style: italic; }
.hnc-lab--b .hnc-lab__culture-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hnc-lab--b .hnc-lab__culture-tag {
  background: var(--b-violet); color: #fff;
  border-radius: 20px; padding: 2px 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.5px;
}

/* ============================================================
 * 5. 共用：audio element 隐藏（我们控制自己的 UI），兼容旧样式
 * ============================================================ */

.hnc-lab .hnc-lab__native-audio {
  display: none;
}
.hnc-lab .hnc-lab__audio-warning {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16.9px;
}
.hnc-lab--a .hnc-lab__audio-warning {
  background: var(--a-coral-soft);
  color: var(--a-coral);
  border: 1px solid var(--a-coral);
}
.hnc-lab--b .hnc-lab__audio-warning {
  background: var(--b-rose-soft);
  color: var(--b-rose);
  border: 1px solid var(--b-rose);
}

/* 响应式 —— 窄屏压缩 */
@media (max-width: 720px) {
  .hnc-lab--a .hnc-lab__topbar,
  .hnc-lab--a .hnc-lab__sections,
  .hnc-lab--a .hnc-lab__body,
  .hnc-lab--a .hnc-lab__footer,
  .hnc-lab--b .hnc-lab__topbar,
  .hnc-lab--b .hnc-lab__sections,
  .hnc-lab--b .hnc-lab__studio,
  .hnc-lab--b .hnc-lab__body { padding-left: 16px; padding-right: 16px; }
  .hnc-lab--a .hnc-lab__h1 { font-size: 33.8px; }
  .hnc-lab--a .hnc-lab__qstem,
  .hnc-lab--b .hnc-lab__qstem { font-size: 22.1px; }
}
