/* ===== 主题变量 ===== */
:root {
  --blue: #2f6fdb;
  --blue-deep: #2058b8;
  --blue-light: #eaf1fd;
  --beige: #f6efdc;
  --beige-deep: #d8c79a;
  --exam-accent: #7c5ce0;
  --exam-deep: #6346c8;
  --exam-light: #f0ecfc;
  --english-accent: #6c5ce7;
  --english-grad: linear-gradient(135deg, #5b8def, #7c6cf0);
  --text: #2d3340;
  --text-sub: #8a94a6;
  --bg: #f3f5f9;
  --card: #fff;
  --danger: #e5484d;
  --success: #1fa97c;
  --warn: #f5a623;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(31, 45, 80, 0.06);
  --shadow-strong: 0 10px 30px rgba(31, 45, 80, 0.12);
  --tabbar-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app { max-width: 480px; margin: 0 auto; height: 100vh; display: flex; flex-direction: column; background: var(--bg); position: relative; overflow: hidden; }
.status-bar { height: env(safe-area-inset-top, 0px); min-height: 12px; background: var(--bg); flex-shrink: 0; }

/* ===== 页面主体 ===== */
.page { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 14px 24px; }

/* ===== 顶部 Header ===== */
.page-header {
  border-radius: 20px;
  padding: 20px 18px;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.page-header::before {
  content: '';
  position: absolute; top: -40px; right: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.page-header::after {
  content: '';
  position: absolute; bottom: -50px; right: 40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.page-header.blue { background: linear-gradient(135deg, #4a8ae6, #2f6fdb); }
.page-header.beige { background: linear-gradient(135deg, #f0e0b0, #d8c79a); color: #6b5523; }
.page-header.beige::before, .page-header.beige::after { background: rgba(255,255,255,0.25); }
.page-header.english { background: var(--english-grad); }
.page-header.exam { background: linear-gradient(135deg, #9a7bf0, #7c5ce0); }
.page-header.me { background: linear-gradient(135deg, #5a6678, #2d3748); }
.page-header h1 { font-size: 21px; font-weight: 700; position: relative; z-index: 1; }
.page-header .sub { font-size: 12px; opacity: 0.88; margin-top: 5px; position: relative; z-index: 1; }

/* ===== 卡片 ===== */
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 15px; margin-bottom: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31,45,80,0.03);
}
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.card-title .badge { font-size: 12px; color: var(--text-sub); font-weight: 500; }

/* 面试题明细：答题思路 / 参考答案 / 记忆要点 */
.iv-block { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 14px 14px 14px 16px; margin-top: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.iv-block-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.iv-block p { font-size: 14px; line-height: 1.75; color: #444; margin: 0; }
.iv-hint { border-left: 4px solid #b08a2e; }
.iv-hint .iv-block-title { color: #8a6d22; }
.iv-answer { border-left: 4px solid #2a9d8f; }
.iv-answer .iv-block-title { color: #1f7d72; }
.iv-memory { border-left: 4px solid #7c5ce0; }
.iv-memory .iv-block-title { color: #5f43c4; }
.iv-empty { color: #bbb !important; font-style: italic; }

/* 形体展示 / 实操 / 体能测试 固定流程卡 */
.flow-steps { margin: 4px 0 6px; }
.flow-step { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #ececec; }
.flow-step:last-child { border-bottom: none; }
.flow-no { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #8a6d22; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.flow-text { font-size: 14px; line-height: 1.7; color: #444; }
.flow-note { font-size: 12.5px; color: #999; line-height: 1.6; margin-top: 12px; background: #faf8f0; border-radius: 10px; padding: 10px 12px; }

/* ===== 通用按钮 ===== */
.btn {
  display: inline-block; border: none; border-radius: 12px;
  padding: 12px 18px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .15s; text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.btn:active { transform: scale(0.97); box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.btn-primary { background: linear-gradient(135deg, #4a8ae6, #2f6fdb); color: #fff; }
.btn-block { width: 100%; }
.btn-outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn-ghost { background: #eef1f6; color: var(--text); box-shadow: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ===== 列表项 ===== */
.list-item {
  display: flex; align-items: center; padding: 14px 8px;
  border-bottom: 1px solid #f2f4f8; cursor: pointer;
  transition: background .12s;
}
.list-item:last-child { border-bottom: none; }
.list-item:active { background: #f7f9fc; }
.list-item .li-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 13px; flex-shrink: 0; box-shadow: inset 0 -2px 4px rgba(0,0,0,0.04); }
.list-item .li-body { flex: 1; min-width: 0; }
.list-item .li-title { font-size: 15px; font-weight: 600; }
.list-item .li-sub { font-size: 12px; color: var(--text-sub); margin-top: 3px; }
.list-item .li-arrow { color: #c9d0db; font-size: 20px; }
.list-item .li-check { color: #22c55e; font-size: 18px; font-weight: 700; }

/* ===== 底部导航 ===== */
.tabbar {
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #fff;
  border-top: 1px solid #eef1f5;
  display: flex; align-items: stretch; flex-shrink: 0;
  box-shadow: 0 -6px 24px rgba(31, 45, 80, 0.06);
  position: relative; z-index: 50;
}
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: #9aa3b2; gap: 3px;
  position: relative; transition: color .18s;
}
.tab-item .tab-icon { line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform .18s; }
.tab-item .tab-label { font-size: 11px; font-weight: 500; letter-spacing: 0.3px; }
.tab-item.active { color: var(--blue); font-weight: 600; }
.tab-item.active .tab-icon { transform: translateY(-1px) scale(1.08); }
.tab-item.active .tab-label { font-weight: 700; }
.tab-item.active.exam-tab { color: var(--exam-accent); }
.tab-item.active.english-tab { color: #6c5ce7; }
.tab-item.active.beige-tab { color: #b08a2e; }

/* 中间主按钮（英语）凸起突出 */
.tab-item-main { position: relative; }
.tab-item-main .tab-icon {
  width: 52px; height: 52px; margin-top: -20px;
  border-radius: 50%;
  background: var(--english-grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(108, 92, 231, 0.38);
  border: 4px solid #fff;
}
.tab-item-main .tab-label { margin-top: 2px; }
.tab-item-main.active .tab-icon { transform: translateY(-1px) scale(1.04); box-shadow: 0 8px 20px rgba(108, 92, 231, 0.5); }
.tab-item-main .tab-icon svg { width: 24px; height: 24px; }

/* ===== 笔试答题 ===== */
.option {
  display: flex; align-items: center; padding: 13px 14px; margin-bottom: 10px;
  border: 1.5px solid #e5e7eb; border-radius: 12px; cursor: pointer;
  transition: all .15s; background: #fff;
}
.option .opt-tag { width: 26px; height: 26px; border-radius: 50%; background: #f0f2f5; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-right: 12px; flex-shrink: 0; }
.option.selected { border-color: var(--blue); background: var(--blue-light); }
.option.selected .opt-tag { background: var(--blue); color: #fff; }
.option.correct { border-color: var(--success); background: #e8f7f0; }
.option.correct .opt-tag { background: var(--success); color: #fff; }
.option.wrong { border-color: var(--danger); background: #fdeaea; }
.option.wrong .opt-tag { background: var(--danger); color: #fff; }

.q-type { font-size: 12px; color: var(--exam-accent); font-weight: 600; margin-bottom: 6px; }
.q-stem { font-size: 16px; font-weight: 600; margin-bottom: 14px; line-height: 1.6; white-space: pre-wrap; }
.q-stem .q-passage { display: block; font-size: 14px; font-weight: 400; color: #555; line-height: 1.8; padding: 12px 14px; background: #f7f8fa; border-radius: 10px; margin-bottom: 12px; }
/* ===== 七选五 作答组件 ===== */
.qxb-stem { font-size: 15px; line-height: 1.9; }
.qxb-blank { display: inline-block; min-width: 64px; margin: 0 4px; padding: 3px 8px; font-size: 15px; font-weight: 600; text-align: center; border: 1.5px solid var(--blue); border-radius: 8px; background: #fff; color: var(--blue); vertical-align: baseline; }
.qxb-blank.correct { border-color: var(--success); color: var(--success); background: #e8f7f0; }
.qxb-blank.wrong { border-color: var(--danger); color: var(--danger); background: #fdeaea; }
.qxb-opts-card { margin-top: 14px; padding: 12px 14px; background: #f7f8fa; border-radius: 10px; }
.qxb-opts-title { font-size: 13px; font-weight: 700; color: #888; margin-bottom: 8px; }
.qxb-opt { display: flex; align-items: flex-start; padding: 6px 0; font-size: 14px; line-height: 1.6; }
.qxb-opt .opt-tag { width: 24px; height: 24px; border-radius: 50%; background: #e9ebf0; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-right: 10px; flex-shrink: 0; color: #555; }
.qxb-opt-text { flex: 1; }
.cloze-blank { display: inline-block; min-width: 130px; max-width: 200px; margin: 4px 2px; padding: 4px 8px; font-size: 14px; font-weight: 500; border: 1.5px solid var(--blue); border-radius: 8px; background: #fff; color: #333; vertical-align: baseline; }
.cloze-blank.correct { border-color: var(--success); color: var(--success); background: #e8f7f0; }
.cloze-blank.wrong { border-color: var(--danger); color: var(--danger); background: #fdeaea; }
.cloze-blank:disabled { opacity: 1; }
.grammar-blank { display: inline-block; min-width: 80px; max-width: 220px; width: 130px; margin: 4px 3px; padding: 4px 8px; font-size: 14px; font-weight: 500; border: 1.5px solid var(--blue); border-radius: 8px; background: #fff; color: #333; vertical-align: baseline; }
.grammar-blank:focus { outline: none; border-color: var(--purple, #7c5ce0); box-shadow: 0 0 0 2px rgba(124,92,224,.15); }
.grammar-blank.correct { border-color: var(--success); color: var(--success); background: #e8f7f0; }
.grammar-blank.wrong { border-color: var(--danger); color: var(--danger); background: #fdeaea; }
.grammar-blank:disabled { opacity: 1; }
/* 题目配图 */
.q-image { margin: 0 0 14px; text-align: center; }
.q-image img { max-width: 100%; max-height: 280px; border-radius: 10px; border: 1px solid #eee; background: #fff; object-fit: contain; }
.opt-img { display: block; margin-top: 6px; max-width: 220px; max-height: 160px; border-radius: 8px; border: 1px solid #eee; background: #fff; object-fit: contain; cursor: zoom-in; }
/* 图片放大预览 */
.img-mask { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.86); display: flex; align-items: center; justify-content: center; }
.img-mask img { max-width: 94%; max-height: 82%; border-radius: 8px; }
.img-mask .img-close { position: absolute; top: 18px; right: 18px; color: #fff; font-size: 14px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; }

/* ===== 富文本题干 / 选项：公式 / 表格 / 图片 ===== */
.q-rich { font-family: 'Cambria','STZhongsong','宋体',serif; }
.q-rich img { max-width: 100%; max-height: 220px; border-radius: 6px; margin: 4px 0; display: inline-block; }
.q-rich sup { font-size: 0.7em; vertical-align: super; }
.q-rich sub { font-size: 0.7em; vertical-align: sub; }
.q-rich b, .q-rich strong { font-weight: 700; color: #222; }
.q-rich br { line-height: 1.6; }
/* KaTeX 公式：高考级衬线风格 */
.q-rich .katex { font-size: 1.05em; }
.q-rich .katex-display { margin: 12px 0; overflow-x: auto; overflow-y: hidden; }
.q-rich .katex-error { color: #c33; font-family: monospace; background: #fff5f5; padding: 1px 4px; border-radius: 3px; }
/* 表格：高考正式卷面 */
.q-table-wrap { margin: 10px 0; overflow-x: auto; }
.q-table { border-collapse: collapse; font-size: 14px; line-height: 1.6; margin: 0 auto; }
.q-table th, .q-table td { border: 1px solid #555; padding: 6px 12px; text-align: center; }
.q-table th { background: #f5f5f5; font-weight: 700; }
.q-table tbody tr:nth-child(even) { background: #fafbfc; }

/* 答题底部操作栏 */
.action-bar { display: flex; gap: 10px; margin-top: 16px; }
.action-bar .btn { flex: 1; }

/* ===== 结果展示 ===== */
.result-icon { font-size: 48px; text-align: center; margin: 16px 0 8px; }
.result-score { text-align: center; font-size: 30px; font-weight: 800; }
.result-score .unit { font-size: 14px; color: var(--text-sub); }

/* ===== 晋级图标/头像 ===== */
.avatar-wrap { position: relative; width: 72px; height: 72px; margin: 0 auto; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #3a7bdc, #7c5ce0); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; }
.badge-worn { position: absolute; right: -4px; bottom: -4px; font-size: 26px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }

/* ===== Toast ===== */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0,0,0,0.78); color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 999; max-width: 80%;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ===== 进度条 ===== */
.progress { height: 8px; background: #e9edf3; border-radius: 6px; overflow: hidden; }
.progress .bar { height: 100%; background: linear-gradient(90deg, #4a8ae6, #2f6fdb); border-radius: 6px; transition: width .3s; }
.progress .bar.green { background: linear-gradient(90deg, #34c38f, #1fa97c); }
.progress .bar.purple { background: linear-gradient(90deg, #9a7bf0, #7c5ce0); }

/* ===== 网格 ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-box { background: var(--card); border-radius: var(--radius); padding: 16px 14px; text-align: center; box-shadow: var(--shadow); border: 1px solid rgba(31,45,80,0.03); }
.stat-box .num { font-size: 24px; font-weight: 800; background: linear-gradient(135deg, #3a7bdc, #2f6fdb); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-box .label { font-size: 12px; color: var(--text-sub); margin-top: 5px; }

/* ===== 分类标签 ===== */
.chip { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; margin: 3px; }
.chip-blue { background: var(--blue-light); color: var(--blue); }
.chip-purple { background: var(--exam-light); color: var(--exam-accent); }
.chip-beige { background: #f3ead0; color: #8a6d22; }

/* ===== 单词卡片 ===== */
.word-card { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-strong); margin-bottom: 16px; text-align: center; border: 1px solid rgba(31,45,80,0.03); }
.word-main { font-size: 32px; font-weight: 800; color: #2d3748; letter-spacing: 0.5px; }
.word-phonetic { font-size: 14px; color: var(--text-sub); margin: 6px 0; }
.word-meaning { font-size: 16px; margin: 10px 0; color: #4a5568; }
.word-method { background: #f7f9fc; border-radius: 12px; padding: 13px; font-size: 13px; color: #555; text-align: left; margin-top: 14px; }
.word-method .m-label { color: var(--blue); font-weight: 700; margin-bottom: 5px; }

/* ===== 输入框 ===== */
.input {
  width: 100%; padding: 12px 15px; border: 1.5px solid #e5e7eb; border-radius: 12px;
  font-size: 15px; margin-top: 6px; outline: none; transition: border .15s, box-shadow .15s;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,219,0.12); }

/* ===== 空状态 ===== */
.empty { text-align: center; padding: 48px 20px; color: var(--text-sub); }
.empty .empty-icon { font-size: 52px; margin-bottom: 14px; }

/* ===== 答题卡总览 ===== */
.sheet-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.sheet-cell {
  height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #eef1f6; font-size: 14px; font-weight: 600;
  color: #666; cursor: pointer; transition: all .15s;
}
.sheet-cell:active { transform: scale(0.94); }
.sheet-cell.sheet-correct { background: #e6f7f0; color: var(--success); }
.sheet-cell.sheet-wrong { background: #fdeaea; color: var(--danger); }
.sheet-cell.sheet-active { outline: 2.5px solid var(--exam-accent); outline-offset: 1px; }

/* ===== 单词默写结果 ===== */
#dictate-input { text-transform: none; }

/* ===== 任务中心（打卡页模块分组） ===== */
.module-group { margin-bottom: 16px; }
.module-head {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; margin-bottom: 4px;
}
.module-icon { font-size: 20px; }
.module-name { font-weight: 700; font-size: 15px; flex: 1; }
.module-head .badge { background: var(--blue-light); color: var(--blue); }

/* 任务详情配图与摘要 */
.task-image { width: 100%; border-radius: 14px; margin-bottom: 12px; display: block; }
.task-summary {
  background: var(--blue-light); color: var(--blue);
  border-radius: 12px; padding: 11px 15px; font-size: 13px;
  margin-bottom: 12px; line-height: 1.6;
}

/* ===== 精选英语（三入口卡片） ===== */
.feat-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; cursor: pointer;
  box-shadow: var(--shadow); border: 1px solid rgba(31,45,80,0.03);
  transition: transform .15s, box-shadow .15s;
}
.feat-card:active { transform: scale(0.98); box-shadow: var(--shadow-strong); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.feat-body { flex: 1; min-width: 0; }
.feat-title { font-size: 16px; font-weight: 700; }
.feat-sub { font-size: 12px; color: var(--text-sub); margin-top: 3px; }
.feat-arrow { color: #c9d0db; font-size: 22px; }

/* ===== 单词打卡出题方式切换 ===== */
.mode-switch {
  display: flex; gap: 10px; margin-top: 4px;
}
.mode-btn {
  flex: 1; padding: 10px 0; border-radius: 10px; border: 1px solid #e3e7ef;
  background: #f6f8fb; font-size: 14px; font-weight: 600; color: #666;
  cursor: pointer; transition: all .15s;
}
.mode-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ===== 错题本词库标签 ===== */
.tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  padding: 1px 7px; border-radius: 8px; margin-left: 4px; vertical-align: 1px;
  background: #eef3fd; color: #4a6ee0;
}

/* =====================================================
   v2 重设计视觉体系（氛围头部 + 环形进度 + 卡片网格 + 胶囊tab）
   ===================================================== */

/* 氛围头部：大标题 + 问候语 + 胶囊标签 */
.v2-header {
  border-radius: 22px;
  padding: 22px 18px 64px;
  margin-bottom: -40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.v2-header::before {
  content: ''; position: absolute; top: -60px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.v2-header::after {
  content: ''; position: absolute; bottom: -70px; left: -30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.v2-header .v2-kicker { font-size: 13px; opacity: 0.92; position: relative; z-index: 1; font-weight: 600; }
.v2-header .v2-title { font-size: 22px; font-weight: 800; margin-top: 4px; position: relative; z-index: 1; }
.v2-header .v2-sub { font-size: 12px; opacity: 0.85; margin-top: 6px; position: relative; z-index: 1; }
.v2-header .v2-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; position: relative; z-index: 1; }
.v2-chip {
  font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,0.24); color: inherit;
  padding: 4px 11px; border-radius: 20px; white-space: nowrap;
}
.v2-header.blue { background: linear-gradient(135deg, #4a8ae6, #2f6fdb); }
.v2-header.beige { background: linear-gradient(135deg, #f0e0b0, #d8c79a); color: #6b5523; }
.v2-header.beige .v2-chip { background: rgba(255,255,255,0.35); }
.v2-header.english { background: var(--english-grad); }
.v2-header.exam { background: linear-gradient(135deg, #9a7bf0, #7c5ce0); }
.v2-header.me { background: linear-gradient(135deg, #5a6678, #2d3748); }

/* 头部下方上浮的内容容器 */
.v2-body { padding: 0 14px 24px; position: relative; z-index: 2; }

/* 环形进度卡 */
.v2-progress {
  background: #fff; border-radius: 18px; padding: 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-strong);
}
.v2-ring { width: 58px; height: 58px; border-radius: 50%; position: relative; flex-shrink: 0; }
.v2-ring::after {
  content: ''; position: absolute; inset: 7px; background: #fff; border-radius: 50%;
}
.v2-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; z-index: 1; }
.v2-progress .v2-p-title { font-size: 15px; font-weight: 700; }
.v2-progress .v2-p-sub { font-size: 12px; color: var(--text-sub); margin-top: 3px; }

/* 区块 */
.v2-sec { margin-top: 18px; }
.v2-sec-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; margin-bottom: 10px; }
.v2-sec-title { font-size: 15px; font-weight: 700; }
.v2-sec-more { font-size: 12px; color: var(--text-sub); }

/* 2×2 卡片网格 */
.v2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v2-card {
  background: #fff; border-radius: 16px; padding: 15px;
  box-shadow: var(--shadow); border: 1px solid rgba(31,45,80,0.03);
  cursor: pointer; transition: transform .15s;
}
.v2-card:active { transform: scale(0.97); }
.v2-card-icon {
  width: 40px; height: 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 10px;
}
.v2-card-title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.v2-card-sub { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.v2-mini-bar { height: 5px; background: #edf0f5; border-radius: 4px; margin-top: 11px; overflow: hidden; }
.v2-mini-fill { height: 100%; border-radius: 4px; }

/* 胶囊标签行（面试分类） */
.v2-chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-cat-chip {
  font-size: 13px; padding: 8px 14px; border-radius: 20px;
  background: #fff; border: 1px solid #e8ebf0; color: #555;
  cursor: pointer; transition: all .15s; font-weight: 500;
}
.v2-cat-chip:active { transform: scale(0.96); }
.v2-cat-chip.on { background: #f3ead0; border-color: #e2d3a6; color: #8a6d22; font-weight: 700; }

/* 清单卡（今日打卡 / 我的服务） */
.v2-list { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(31,45,80,0.03); }
.v2-list-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid #f2f4f8; cursor: pointer; }
.v2-list-item:first-child { border-top: none; }
.v2-list-item:active { background: #fafbfd; }
.v2-li-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.v2-li-body { flex: 1; min-width: 0; }
.v2-li-title { font-size: 14px; font-weight: 600; }
.v2-li-sub { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.v2-li-check {
  width: 22px; height: 22px; border-radius: 50%; background: #e8f7f0; color: var(--success);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; font-weight: 700;
}
.v2-li-arrow { color: #c9d0db; font-size: 20px; }

/* 个人中心：用户头像头部 */
.v2-user { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.v2-avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,0.24); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.v2-user-name { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.v2-user-badge { font-size: 11px; background: rgba(255,255,255,0.24); padding: 3px 9px; border-radius: 10px; font-weight: 500; }
.v2-user-sub { font-size: 12px; opacity: 0.85; margin-top: 4px; }

/* 三项统计条 */
.v2-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-strong); }
.v2-stat { padding: 16px 8px; text-align: center; }
.v2-stat + .v2-stat { border-left: 1px solid #f2f4f8; }
.v2-stat-num { font-size: 20px; font-weight: 800; }
.v2-stat-label { font-size: 12px; color: var(--text-sub); margin-top: 3px; }

/* 徽章墙 */
.v2-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
#badge-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.v2-badge { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.v2-badge-ic { width: 48px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.v2-badge-name { font-size: 11px; color: var(--text-sub); text-align: center; line-height: 1.2; }

/* 底部导航胶囊高亮 */
.v2-tabbar { display: flex; background: #fff; border-top: 1px solid #eef1f5; }
.v2-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 4px; cursor: pointer; color: #9aa3b2; }
.v2-tab-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all .18s; }
.v2-tab-icon svg { width: 22px; height: 22px; }
.v2-tab-label { font-size: 11px; font-weight: 500; letter-spacing: 0.3px; }
.v2-tab.active { color: var(--blue); font-weight: 700; }
.v2-tab.active .v2-tab-icon { background: var(--blue-light); }
.v2-tab.active.exam { color: var(--exam-accent); }
.v2-tab.active.exam .v2-tab-icon { background: var(--exam-light); }
.v2-tab.active.english { color: #6c5ce7; }
.v2-tab.active.english .v2-tab-icon { background: #eeecfc; }
.v2-tab.active.beige { color: #b08a2e; }
.v2-tab.active.beige .v2-tab-icon { background: #f3ead0; }

/* 出题方式胶囊按钮 */
.v2-modes { display: flex; gap: 10px; }
.v2-mode-btn {
  flex: 1; padding: 11px 0; border-radius: 12px; border: 1px solid #e3e7ef;
  background: #f6f8fb; font-size: 14px; font-weight: 600; color: #666;
  cursor: pointer; transition: all .15s; text-align: center;
}
.v2-mode-btn.on { background: #6c5ce7; color: #fff; border-color: #6c5ce7; }
.v2-mode-btn.on.exam { background: var(--exam-accent); border-color: var(--exam-accent); }

/* 英语技巧分享区块 */
/* 英语技巧分享（参考面试页「题型分类」设计：分区标题 + 分类胶囊） */
.skill-share { margin-top: 12px; padding: 14px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid rgba(31,45,80,0.03); }
.skill-share .v2-sec { margin-top: 0; }
.skill-share .v2-sec-title { color: var(--exam-accent); font-size: 17px; }
.skill-share .v2-sec-more { color: #9a93c4; }
.skill-share .v2-chips-wrap { margin-top: 2px; }
/* 分类胶囊：默认紫边，选中态用英语紫主题 */
.skill-share .v2-cat-chip { background: #fff; border: 1px solid #e3def5; color: #6b63a8; }
.skill-share .v2-cat-chip.on { background: var(--exam-light); border-color: var(--exam-accent); color: var(--exam-accent); font-weight: 700; }
.skill-share .chip-cnt { opacity: .55; font-size: 11px; margin-left: 4px; }
.skill-list { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.skill-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.skill-card-icon { width: 40px; height: 40px; border-radius: 10px; background: #f0ecff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; }
.skill-card-body { flex: 1; min-width: 0; }
.skill-card-title { font-size: 14px; font-weight: 600; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skill-card-meta { font-size: 11px; color: #999; margin-top: 2px; }
.skill-card-btn { flex: 0 0 auto; padding: 7px 16px; border-radius: 8px; border: none; background: #6c5ce7; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.skill-card-btn.disabled { background: #c9c4e8; cursor: not-allowed; }

/* 「全部」= 分类入口网格（每张卡片 = 一个分类，点进具体分类才显示 PDF） */
.skill-cat-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skill-cat-tile { display: flex; align-items: center; gap: 10px; padding: 12px 10px; background: #fff; border: 1px solid #eceaf4; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.skill-cat-tile:active { transform: scale(0.97); box-shadow: 0 0 0 rgba(0,0,0,0); }
.skill-cat-tile .t-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: #f3edff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.skill-cat-tile .t-body { flex: 1; min-width: 0; }
.skill-cat-tile .t-name { font-size: 14px; font-weight: 700; color: #333; }
.skill-cat-tile .t-cnt { font-size: 11px; color: #999; margin-top: 2px; }
.skill-cat-tile .t-arrow { flex: 0 0 auto; color: #c4bcd9; font-size: 18px; font-weight: 700; line-height: 1; }

/* ============ 打卡页置顶：30 天常识判断知识点打卡 ============ */
.kp-pin { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 14px 0; padding: 16px; background: linear-gradient(135deg,#f3edff,#fbf8ff); border: 1px solid #e6ddfb; border-radius: 16px; box-shadow: 0 2px 10px rgba(124,92,224,.08); cursor: pointer; }
.kp-pin-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kp-pin-badge { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--exam-accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.kp-pin-icon { font-size: 16px; line-height: 1; }
.kp-pin-label { font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.5px; }
.kp-pin-title { font-size: 16px; font-weight: 800; color: #4a3aa0; }
.kp-pin-sub { font-size: 12px; color: #8b7fc8; margin-top: 2px; }
.kp-pin-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.kp-pin-ring { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.kp-pin-ring-num { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--exam-accent); }
.kp-pin-meta { font-size: 11px; color: #6b5fa8; text-align: right; line-height: 1.4; }

/* 计划总览 */
.kp-overview { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.kp-overview-ring { width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.kp-overview-num { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; color: var(--exam-accent); }
.kp-overview-info { flex: 1; min-width: 0; }
.kp-overview-row { font-size: 13px; color: #555; margin: 3px 0; }
.kp-overview-row b { color: var(--exam-accent); font-size: 15px; }

/* 打卡日历：30 天标记 */
.kp-days { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.kp-day { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5px 0; background: #f4f3fa; border: 1px solid #e9e7f2; border-radius: 8px; cursor: pointer; transition: all .15s; }
.kp-day .kp-day-num { font-size: 13px; font-weight: 700; color: #555; }
.kp-day .kp-day-pct { font-size: 9px; color: #aaa; margin-top: 1px; }
.kp-day.cur { border-color: var(--exam-accent); background: #f3edff; }
.kp-day.cur .kp-day-num { color: var(--exam-accent); }
.kp-day.done { background: #eaf7ee; border-color: #bfe6cb; }
.kp-day.done .kp-day-num { color: #2f9e57; }
.kp-day.done .kp-day-pct { color: #2f9e57; }

/* 当天 20 组打卡标签 */
.kp-sessions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kp-sess { display: flex; flex-direction: column; gap: 3px; padding: 12px; background: #fff; border: 1px solid #eceaf4; border-radius: 12px; cursor: pointer; transition: all .15s; }
.kp-sess-no { font-size: 14px; font-weight: 700; color: #444; }
.kp-sess-tip { font-size: 11px; color: #aaa; }
.kp-sess-check { font-size: 12px; font-weight: 700; color: #2f9e57; }
.kp-sess.done { background: #eaf7ee; border-color: #bfe6cb; }
.kp-sess.done .kp-sess-no { color: #2f9e57; }

/* 知识点学习页 */
.kp-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.kp-point { display: flex; gap: 12px; padding: 14px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.kp-point-no { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--exam-light); color: var(--exam-accent); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.kp-point-body { flex: 1; min-width: 0; }
.kp-point-q { font-size: 15px; font-weight: 600; color: #333; line-height: 1.6; }
.kp-point-a { font-size: 14px; margin-top: 6px; line-height: 1.6; background: #fff5f5; padding: 8px 10px; border-radius: 8px; border-left: 3px solid #e5484d; }
.kp-point-a-label { color: #b03038; font-weight: 600; }
.kp-point-a-text { color: #e5484d; font-weight: 700; }
.kp-day-row-done { opacity: 0.65; }
.kp-day-row-done .v2-li-title { color: #2f9e57 !important; }
