/* ==========================================================
   被遗忘的她 · 样式表
   配色：浅棕背景 + 浅粉主色调
   风格：扁平插画 + 圆角卡片
   ========================================================== */

:root {
  /* 主色调 */
  --primary: #E8A5A8;        /* 浅粉主色 */
  --primary-dark: #D4707A;   /* 深粉强调 */
  --primary-soft: #F5D6D9;   /* 粉柔色 */
  --primary-bg: #FDF4F5;     /* 极浅粉背景 */

  /* 背景色 */
  --bg: #F5EDE3;             /* 浅棕奶油背景 */
  --bg-warm: #EDE1D2;        /* 深一点的棕 */
  --bg-paper: #FBF6EF;       /* 米白纸色 */

  /* 文字 */
  --ink: #3D2C24;            /* 深棕文字 */
  --ink-soft: #6B5445;       /* 次文字 */
  --muted: #9A8A7C;          /* 辅助文字 */

  /* 其他 */
  --line: #E5D6C4;           /* 边框 */
  --mist: #F0E6D9;           /* 卡片悬停 */
  --success: #7FB77E;        /* 绿 */
  --shadow: 0 2px 12px rgba(61, 44, 36, 0.08);
  --shadow-lg: 0 8px 32px rgba(61, 44, 36, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
}

.hidden { display: none !important; }

/* ============ 导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 237, 227, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-soft);
  border-radius: 50%;
  font-size: 18px;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary-dark); }

/* ============ Hero Banner ============ */
.hero {
  position: relative;
  padding: 60px 24px 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    var(--primary-bg) 0%,
    var(--bg) 50%,
    var(--primary-soft) 100%);
  z-index: -1;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.hero-title-sub {
  background: linear-gradient(90deg, var(--primary-dark), #E8838F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 480px;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary-dark);
  color: #fff;
}
.btn-primary:hover { background: #c05862; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 13px;
}
.btn-outline:hover { background: var(--mist); border-color: var(--primary); }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ============ Hero 插画 ============ */
.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}
.illust-circle {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.illust-inner {
  width: 220px;
  height: 220px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow);
}
.atom {
  position: relative;
  width: 140px;
  height: 140px;
}
.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(232, 165, 168, 0.5);
  z-index: 2;
}
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid var(--primary-soft);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}
.orbit-1 { width: 100px; height: 100px; margin: -50px 0 0 -50px; }
.orbit-2 { width: 130px; height: 130px; margin: -65px 0 0 -65px; animation-duration: 22s; animation-direction: reverse; }
.orbit-3 { width: 160px; height: 160px; margin: -80px 0 0 -80px; animation-duration: 28s; }
@keyframes spin { to { transform: rotate(360deg); } }

.floating-icon {
  position: absolute;
  font-size: 28px;
  animation: float 4s ease-in-out infinite;
}
.icon-1 { top: 30px; left: 40px; animation-delay: 0s; }
.icon-2 { bottom: 50px; right: 30px; animation-delay: 0.8s; }
.icon-3 { bottom: 30px; left: 60px; animation-delay: 1.6s; font-size: 24px; }
.icon-4 { top: 60px; right: 50px; animation-delay: 2.4s; font-size: 22px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ 进度统计 ============ */
.progress-section {
  padding: 20px 24px 40px;
}
.progress-inner {
  max-width: 900px;
  margin: 0 auto;
}
.progress-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
}
.progress-ring {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--mist); stroke-width: 8; }
.ring-fill {
  fill: none;
  stroke: var(--primary-dark);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 0.8s ease;
}
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.ring-pct { font-size: 28px; color: var(--primary-dark); }
.ring-pct-suf { font-size: 14px; color: var(--muted); }
.progress-info { flex: 1; }
.progress-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.stat { text-align: center; }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* ============ 课程目录 ============ */
.courses-section {
  padding: 20px 24px 60px;
}
.section-header {
  max-width: 1100px;
  margin: 0 auto 28px;
  text-align: center;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}
.section-sub {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}
#courseList {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.module {
  background: var(--bg-paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.module-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--primary-bg), transparent);
}
.module-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.module-icon { font-size: 20px; }
.module-count {
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.module-lessons {
  padding: 8px;
  display: grid;
  gap: 6px;
}
.lesson {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  border: 1px solid transparent;
}
.lesson:hover {
  background: var(--mist);
  border-color: var(--primary-soft);
  transform: translateX(2px);
}
.lesson-status {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: var(--mist);
  color: var(--muted);
  border: 2px solid transparent;
  transition: all .2s;
}
.lesson.done .lesson-status {
  background: var(--primary);
  color: #fff;
}
.lesson.current .lesson-status {
  border-color: var(--primary-dark);
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-weight: 700;
}
.lesson-index {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
  width: 26px;
}
.lesson-info { flex: 1; min-width: 0; }
.lesson-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.lesson.done .lesson-title { color: var(--ink-soft); }
.lesson-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.lesson-arrow {
  color: var(--muted);
  font-size: 14px;
}

/* ============ 结语区 ============ */
.epilogue {
  padding: 40px 24px 60px;
  background: linear-gradient(180deg, transparent, var(--primary-bg));
}
.epilogue-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.epilogue-card {
  background: #fff;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  position: relative;
}
.epilogue-quote {
  position: absolute;
  top: 14px;
  left: 28px;
  font-size: 72px;
  color: var(--primary-soft);
  font-family: Georgia, serif;
  line-height: 1;
}
.epilogue-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.8;
  padding: 10px 0;
}
.epilogue-author {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.epilogue-cta {
  text-align: center;
  padding: 24px;
}
.epilogue-cta h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.epilogue-cta p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ============ 页脚 ============ */
.footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: var(--bg-warm);
}

/* ============ 学习详情页 ============ */
.study-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}
.study-back {
  background: none;
  border: none;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  font-family: inherit;
}
.study-back:hover { color: #c05862; }
.study-header {
  margin-top: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.study-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 16px;
  margin-bottom: 12px;
}
.study-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.study-subtitle {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}
.study-body {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.study-avatar {
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.study-content {
  flex: 1;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.9;
}
.study-content p { margin-bottom: 14px; }
.study-content strong { color: var(--primary-dark); }
.study-content blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 14px;
  margin: 14px 0;
  color: var(--ink-soft);
  font-style: italic;
}
.study-quiz {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quiz-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quiz-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quiz-option {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  transition: all .2s;
  text-align: left;
  font-family: inherit;
}
.quiz-option:hover { background: var(--mist); border-color: var(--primary); }
.quiz-option.correct {
  background: #E8F5E9;
  border-color: var(--success);
  color: var(--success);
  font-weight: 600;
}
.quiz-option.wrong {
  background: #FDE8E8;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}
.quiz-explain {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-soft);
  display: none;
}
.quiz-explain.show { display: block; }
.study-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

/* ============ 弹窗 ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 44, 36, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--bg-paper);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
}
.modal-close:hover { color: var(--ink); }
#reportBody h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}
.report-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.report-row:last-child { border-bottom: none; }
.report-row .label { color: var(--ink-soft); }
.report-row .val { font-weight: 700; color: var(--ink); }
.report-tip {
  margin-top: 16px;
  padding: 14px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ 学习顶部进度条 ============ */
.study-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
}
.study-progressbar { flex: 1; }
.progress-track {
  height: 6px;
  background: var(--mist);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 3px;
  transition: width .6s ease;
  width: 0;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.study-tools {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.tool-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.tool-btn:hover { background: var(--primary-bg); border-color: var(--primary); color: var(--primary-dark); }
.tool-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============ 情景决策互动 ============ */
.study-scenario {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary-bg), #fff);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
}
.study-scenario.hidden { display: none; }
.scenario-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.scenario-step {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  line-height: 1.7;
}
.scenario-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scenario-option {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.scenario-option:hover:not(:disabled) { background: var(--mist); border-color: var(--primary); transform: translateX(2px); }
.scenario-option:disabled { opacity: 0.5; cursor: not-allowed; }
.scenario-option.picked { background: var(--primary-bg); border-color: var(--primary); }
.scenario-feedback {
  margin-top: 14px;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border-left: 3px solid var(--primary);
  color: var(--ink-soft);
}
.scenario-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.scenario-progress .dot {
  width: 20px; height: 4px;
  background: var(--line);
  border-radius: 2px;
  transition: background .3s;
}
.scenario-progress .dot.done { background: var(--primary); }

/* ============ AI 教练面板 ============ */
.coach-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 340px;
  height: 420px;
  background: var(--bg-paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 150;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.coach-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-bg);
  border-radius: var(--radius) var(--radius) 0 0;
}
.coach-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
}
.coach-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.coach-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.coach-bot {
  background: var(--mist);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.coach-user {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.coach-input {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 10px;
  gap: 8px;
}
.coach-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.coach-input input:focus { border-color: var(--primary); }
.coach-input button {
  background: var(--primary-dark);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.coach-input button:hover { background: #c05862; }

/* ============ 笔记面板 ============ */
.note-panel {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 340px;
  height: 320px;
  background: var(--bg-paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 150;
  animation: slideUp .3s ease;
}
.note-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.note-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
}
.note-panel textarea {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  resize: none;
  font-family: inherit;
  background: var(--bg-paper);
}
.note-footer {
  padding: 8px 14px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}
.lesson-counter {
  font-size: 13px;
  color: var(--muted);
  background: var(--mist);
  padding: 6px 16px;
  border-radius: 16px;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: 32px; }
  .hero-illustration { order: -1; }
  .illust-circle { width: 240px; height: 240px; }
  .illust-inner { width: 170px; height: 170px; }
  .progress-card { flex-direction: column; gap: 20px; text-align: center; }
  .progress-stats { justify-content: center; }
  .epilogue-card { padding: 28px 20px; }
  .epilogue-text { font-size: 17px; }
  .module-title { font-size: 16px; }
  .coach-panel, .note-panel {
    width: calc(100% - 32px);
    right: 16px;
    left: 16px;
    bottom: 16px;
  }
  .study-topbar { flex-wrap: wrap; }
  .study-scenario, .study-quiz { padding: 18px; }
}
