/* ===========================================================
   数学乐园 2.0 · 亲子数学思维实验室样式表 (v2-lab.css)
   温暖木桌绘本质感 · iPad 横竖屏触控优化 (≥48px) · 降噪去功利代币
   =========================================================== */

/* 1. 顶栏与全局去功利降噪（保留 DOM 供后台同步兼容，界面不再展示刷星/扭蛋标价） */
#starsBadge,
.ticket-badge,
.reward-views button[data-view="rewards"],
.reward-views button[data-view="gacha"],
.reward-wallet > strong,
.doll-price,
.acc-buy,
.gcard[data-id^="play-"],
#v2Pavilions[hidden],
.tb-flow-pill[hidden] {
  display: none !important;
}

/* 每日打卡强聚焦模式：未完成今日 4 站前，隐藏顶栏分心入口与旧日历干扰按钮 */
body.checkin-focus #btnChess,
body.checkin-focus #btnJournal,
body.checkin-focus #btnSiwei,
body.checkin-focus #btnDolls {
  display: none !important;
}
body.checkin-focus .pk-b-win .pk-b-btn,
body.checkin-focus .pk-b-done .pk-b-btn {
  display: none;
}

.tb-flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 2px solid #f59e0b;
  background: #fffbeb;
  color: #92400e;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.tb-flow-pill:hover {
  background: #fef3c7;
}
.tb-flow-pill.is-done {
  border-color: #22c55e;
  background: #ecfdf5;
  color: #166534;
}

.tb-v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid #ecd8bc;
  background: #fffdf8;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.tb-v2-btn:hover {
  background: #fff3de;
  border-color: #e4b678;
}
.tb-v2-btn.is-active {
  background: #ffedd5;
  border-color: #ea580c;
  color: #9a3412;
}

.v2-home-stage,
.v2-pavilions,
.v2-book-shelf {
  position: relative;
  z-index: 2;
}

.v2-tp-sub-top .speak {
  width: auto !important;
  height: auto !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  white-space: nowrap;
  font-size: 13px;
}

@media (max-width: 640px) {
  .tb-v2-btn b {
    display: none;
  }
  .tb-v2-btn {
    padding: 6px 10px;
  }
  #btnSiwei {
    display: none;
  }
}

.v2-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #b45309;
  background: #fef3c7;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.v2-plush-journal-note {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
}

/* 2. 关卡开始页：去前置剧透折叠抽屉（有效失败 Productive Failure） */
.in-hint-drawer {
  margin: 14px auto;
  max-width: 580px;
  border-radius: 18px;
  border: 2px dashed #e5cfa8;
  background: #fffcf5;
  text-align: left;
  overflow: hidden;
}
.in-hint-sum {
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 800;
  color: #9a5b13;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.in-hint-sum::-webkit-details-marker {
  display: none;
}
.in-hint-drawer[open] .in-hint-sum {
  border-bottom: 1px dashed #eddcc0;
}
.in-hint-drawer .in-points {
  margin: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* 3. 2.0 首页主舞台：「今日三幕亲子探索桌」 */
.v2-home-stage {
  background: linear-gradient(155deg, #fffdf8 0%, #fff6e6 100%);
  border: 2.5px solid #edd5b1;
  border-radius: 28px;
  padding: 22px 22px 20px;
  box-shadow: 0 12px 30px rgba(140, 96, 40, 0.08);
  margin-bottom: 18px;
}
.v2-hs-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.v2-hs-top h2 {
  margin: 2px 0 0;
  font-size: 25px;
  color: #1f2d3d;
}
.v2-hs-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v2-shuffle-btn,
.v2-whisper-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid #e5c99f;
  background: #fff;
  color: #5b4636;
}
.v2-whisper-btn {
  background: #2b3a4a;
  border-color: #2b3a4a;
  color: #ffe4a3;
}
.v2-whisper-btn:hover {
  background: #1e293b;
}

.v2-acts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .v2-acts-grid {
    grid-template-columns: 1fr;
  }
}

.v2-act-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 2px solid #f0dec2;
  border-radius: 22px;
  padding: 16px 18px;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}
.v2-act-card.is-done {
  background: #f7fdf9;
  border-color: #9ad9b5;
}
.v2-act-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
}
.v2-act-step {
  color: #64748b;
}
.v2-act-status {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff3db;
  color: #b45309;
}
.v2-act-card.is-done .v2-act-status {
  background: #dcfce7;
  color: #15803d;
}
.v2-act-card h3 {
  margin: 0;
  font-size: 18.5px;
  color: #1f2d3d;
  line-height: 1.35;
}
.v2-act-card p {
  margin: 0;
  font-size: 14px;
  color: #5b6b7c;
  line-height: 1.5;
  flex: 1;
}
.v2-act-dual {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v2-act-card .btn {
  min-height: 46px;
}

.v2-hs-celebrate {
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 16px;
  background: #ecfdf5;
  border: 1.5px solid #86efac;
  color: #166534;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

/* 3b. 强聚焦四站每日打卡流程、顶部进度条与下一站 CTA */
.v2-flow-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #fffcf4;
  border: 2px solid #f2d9b3;
  box-shadow: 0 4px 12px rgba(140, 96, 40, 0.06);
}
.v2-fb-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.v2-fb-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  background: #f1f5f9;
  color: #64748b;
}
.v2-fb-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  background: #cbd5e1;
  color: #fff;
}
.v2-fb-chip.is-done {
  background: #dcfce7;
  color: #166534;
}
.v2-fb-chip.is-done i {
  background: #16a34a;
}
.v2-fb-chip.is-cur {
  background: #ffedd5;
  color: #9a3412;
  border: 1.5px solid #fb923c;
}
.v2-fb-chip.is-cur i {
  background: #ea580c;
}
.v2-fb-chip.is-lock {
  opacity: 0.72;
}
.v2-fb-arrow {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 800;
}
.v2-fb-home {
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid #e2cbb0;
  background: #fff;
  color: #5b4636;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.v2-fb-home:hover {
  background: #fef3c7;
}

.v2-week-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 6px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #f0dec2;
}
.v2-ws-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}
.v2-ws-dot i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  background: #f1f5f9;
  color: #94a3b8;
  border: 1.5px solid #e2e8f0;
}
.v2-ws-dot.is-done i {
  background: #22c55e;
  border-color: #16a34a;
  color: #fff;
}
.v2-ws-dot.is-today i {
  border-color: #ea580c;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}
.v2-ws-dot.is-today span {
  color: #c2410c;
}

.v2-flow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
@media (max-width: 720px) {
  .v2-flow-list {
    grid-template-columns: 1fr;
  }
}
.v2-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid #f0dec2;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.v2-flow-step.is-done {
  background: #f2fdf6;
  border-color: #86efac;
}
.v2-flow-step.is-cur {
  background: linear-gradient(145deg, #fffdf7 0%, #fff4df 100%);
  border-color: #f59e0b;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.14);
}
.v2-flow-step.is-locked {
  opacity: 0.72;
  background: #faf8f4;
}
.v2-fs-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  background: #e2e8f0;
  color: #475569;
}
.v2-flow-step.is-done .v2-fs-num {
  background: #16a34a;
  color: #fff;
}
.v2-flow-step.is-cur .v2-fs-num {
  background: #ea580c;
  color: #fff;
}
.v2-fs-body {
  min-width: 0;
  flex: 1;
}
.v2-fs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.v2-fs-head strong {
  font-size: 15.5px;
  color: #1f2d3d;
}
.v2-fs-badge {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  background: #f1f5f9;
  color: #64748b;
}
.v2-flow-step.is-done .v2-fs-badge {
  background: #dcfce7;
  color: #15803d;
}
.v2-flow-step.is-cur .v2-fs-badge {
  background: #ffedd5;
  color: #c2410c;
}
.v2-fs-body p {
  margin: 0;
  font-size: 13px;
  color: #5b6b7c;
  line-height: 1.45;
}

.v2-flow-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.v2-flow-main-btn {
  width: 100%;
  max-width: 520px;
  min-height: 54px;
  font-size: 17px;
  font-weight: 900;
}
.v2-flow-lock-tip {
  font-size: 12.5px;
  color: #7c6852;
  font-weight: 700;
  text-align: center;
}

.v2-flow-next-card {
  margin: 14px auto 6px;
  padding: 14px 18px;
  max-width: 520px;
  border-radius: 20px;
  background: linear-gradient(155deg, #fffdf7 0%, #fff2d9 100%);
  border: 2px solid #f59e0b;
  text-align: center;
}
.v2-fnc-meta {
  font-size: 13.5px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 10px;
}
.v2-flow-next-btn {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
  font-weight: 900;
}

.v2-done-flow-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.v2-done-pill {
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #86efac;
  background: #f0fdf4;
  color: #166534;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.v2-done-pill:hover {
  background: #dcfce7;
}
.v2-unlocked-chess {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.v2-shelf-parent-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 0;
}
.v2-tpc-unlocked {
  margin: 8px 0 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1.5px solid #86efac;
  color: #166534;
  font-size: 14px;
  font-weight: 700;
}

/* 4. 中部四大常驻探索馆 */
.v2-pavilions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 620px) {
  .v2-pavilions {
    grid-template-columns: 1fr;
  }
}
.v2-pav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 18px;
  min-height: 98px;
  border-radius: 22px;
  border: 2px solid #ead8be;
  background: #fffdf9;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.v2-pav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(120, 82, 32, 0.09);
}
.v2-pav-card.is-chess { border-color: #d8c4f8; background: linear-gradient(135deg, #fff 0%, #f8f3ff 100%); }
.v2-pav-card.is-theater { border-color: #bae6fd; background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%); }
.v2-pav-card.is-journal { border-color: #fde68a; background: linear-gradient(135deg, #fff 0%, #fffbeb 100%); }
.v2-pav-card.is-dolls { border-color: #fbcfe8; background: linear-gradient(135deg, #fff 0%, #fdf2f8 100%); }

.v2-pav-ico {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.v2-pav-copy strong {
  display: block;
  font-size: 18px;
  color: #1f2d3d;
  margin-bottom: 3px;
}
.v2-pav-copy p {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: #475569;
}
.v2-pav-copy small {
  font-size: 12px;
  font-weight: 700;
  color: #7c6852;
}

/* 5. 底部安静折叠区：「自由探索书架」 */
.v2-book-shelf {
  border: 2px solid #e6d7c0;
  border-radius: 24px;
  background: #faf6ee;
  margin-bottom: 16px;
  overflow: hidden;
}
.v2-book-shelf-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.v2-book-shelf-sum::-webkit-details-marker {
  display: none;
}
.v2-book-shelf-sum strong {
  display: block;
  font-size: 16.5px;
  color: #334155;
}
.v2-book-shelf-sum small {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}
.v2-shelf-arrow {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #dccab0;
  font-size: 13px;
  font-weight: 800;
  color: #5b4636;
  white-space: nowrap;
}
.v2-book-shelf-body {
  padding: 0 16px 18px;
  border-top: 1.5px dashed #e4d4bc;
}
.v2-quick-labs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 10px;
}
.v2-qlab-pill {
  min-height: 42px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid #dcc8a8;
  background: #fff;
  color: #334155;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}
.v2-qlab-pill.is-arcade {
  background: #f0f9ff;
  border-color: #7dd3fc;
  color: #0369a1;
}

/* 6. AI 家长陪玩锦囊弹窗 */
.v2-whisper-modal {
  text-align: left;
}
.v2-wm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.v2-wm-ico {
  font-size: 36px;
}
.v2-wm-head h3 {
  margin: 2px 0 0;
  font-size: 20px;
}
.v2-wm-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-wm-block {
  padding: 12px 14px;
  border-radius: 16px;
  background: #fffaf0;
  border: 1.5px solid #edd9b8;
}
.v2-wm-label {
  font-size: 13px;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 4px;
}
.v2-wm-block p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #1e293b;
}
.v2-wm-foot {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.v2-wm-foot small {
  color: #64748b;
  font-size: 12.5px;
}
.v2-wm-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 7. 第一幕：数感轻热身 (#v2-warmup) */
.v2-wu-panel {
  max-width: 720px;
  margin: 0 auto;
}
.v2-wu-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.v2-wu-pill {
  font-size: 13px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 5px 12px;
  border-radius: 999px;
}
.v2-wu-dots {
  display: flex;
  gap: 6px;
}
.v2-wu-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  display: inline-block;
}
.v2-wu-dots i.now { background: #f59e0b; transform: scale(1.2); }
.v2-wu-dots i.done { background: #22c55e; }
.v2-wu-cnt { font-weight: 800; color: #64748b; }

.v2-wu-card {
  background: #fffdf9;
  border: 2px solid #ecdac0;
  border-radius: 22px;
  padding: 20px;
}
.v2-wu-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.v2-wu-title-row h3 { margin: 0; font-size: 20px; }
.v2-wu-prompt { font-size: 16px; color: #334155; margin: 10px 0; }
.v2-wu-expr {
  font-size: 32px;
  font-weight: 900;
  color: #c2410c;
  text-align: center;
  padding: 10px 16px;
  background: #fff7ed;
  border-radius: 16px;
  margin: 8px 0;
}
.v2-wu-sub { font-size: 14px; color: #64748b; text-align: center; margin: 4px 0 16px; }

.v2-nl-wrap {
  padding: 24px 12px 12px;
}
.v2-nl-ends {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 18px;
}
.v2-nl-track {
  position: relative;
  height: 18px;
  background: #f1e4cf;
  border-radius: 999px;
  margin: 34px 0 22px;
  touch-action: none;
  cursor: pointer;
}
.v2-nl-zone {
  position: absolute;
  top: -4px;
  bottom: -4px;
  background: rgba(34, 197, 94, 0.25);
  border-radius: 999px;
}
.v2-nl-tick {
  position: absolute;
  top: 0;
  width: 2px;
  height: 18px;
  background: #94a3b8;
}
.v2-nl-tick i {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}
.v2-nl-flag,
.v2-nl-target {
  position: absolute;
  top: -34px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.v2-nl-flag { background: #ea580c; color: #fff; }
.v2-nl-target { top: -64px; background: #16a34a; color: #fff; }
.v2-nl-range {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  box-sizing: border-box;
  cursor: pointer;
}

.v2-bal-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}
.v2-bal-pan {
  flex: 1;
  background: #fff7ed;
  border: 2.5px solid #fdba74;
  border-radius: 20px;
  padding: 16px 12px;
  text-align: center;
}
.v2-bal-pan span { display: block; font-size: 12.5px; color: #9a3412; margin-bottom: 4px; }
.v2-bal-pan strong { font-size: 24px; color: #1e293b; }
.v2-bal-fulcrum { font-size: 32px; }
.v2-bal-peek {
  margin: 12px 0;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 14px;
  font-size: 14px;
}
.v2-bal-peek summary { cursor: pointer; font-weight: 800; color: #0369a1; }
.v2-bal-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 520px) {
  .v2-bal-choices { grid-template-columns: 1fr; }
}
.v2-bal-btn.is-right { background: #dcfce7 !important; border-color: #16a34a !important; color: #14532d !important; }
.v2-bal-btn.is-wrong { background: #fee2e2 !important; border-color: #ef4444 !important; }

.v2-wu-stem { font-size: 22px; margin: 14px 0; text-align: center; }
.v2-dots-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 12px 0; font-size: 22px; }
.v2-jump-hint { background: #fef9c3; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; text-align: center; margin: 12px 0; }
.v2-wu-fb { margin-top: 14px; padding: 12px 16px; border-radius: 16px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.v2-wu-fb.good { background: #ecfdf5; border: 1.5px solid #86efac; color: #14532d; }
.v2-wu-fb.calm { background: #fffbeb; border: 1.5px solid #fcd34d; color: #78350f; }
.v2-wu-acts, .v2-done-acts { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.v2-done-badge { font-size: 52px; text-align: center; }

/* 8. 《数学发现博物志》(#journal) & 公共页签 */
.v2-j-hero, .v2-th-hero {
  background: linear-gradient(145deg, #fffdf9 0%, #fef5e7 100%);
  border: 2px solid #ecd8bc;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.v2-j-hero h2, .v2-th-hero h2 { margin: 4px 0 6px; font-size: 24px; }
.v2-j-hero p, .v2-th-hero p { margin: 0; color: #475569; font-size: 14.5px; max-width: 640px; line-height: 1.55; }
.v2-j-progress { margin-top: 12px; }
.v2-j-bar { height: 12px; background: #f1e3cd; border-radius: 999px; overflow: hidden; }
.v2-j-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #10b981); border-radius: 999px; }
.v2-j-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #64748b; margin-top: 6px; }
.v2-j-stat-pill { background: #fff; border: 1.5px solid #e2cfa9; border-radius: 16px; padding: 10px 16px; text-align: center; margin-bottom: 8px; }
.v2-j-stat-pill span { display: block; font-size: 12px; color: #64748b; }
.v2-j-stat-pill b { font-size: 20px; color: #1e293b; }

.v2-j-gifts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13.5px; font-weight: 700; }
.v2-j-gift-chip { background: #fdf2f8; border: 1.5px solid #fbcfe8; padding: 4px 12px; border-radius: 999px; color: #9d174d; }

.v2-j-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.v2-j-tab {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid #e6d5bc;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
}
.v2-j-tab.is-on {
  background: #1e293b;
  border-color: #1e293b;
  color: #fde68a;
}

.v2-j-grid, .v2-th-grid, .v2-chess-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.v2-j-card, .v2-th-card, .v2-chess-card {
  background: #fff;
  border: 2px solid #ead8be;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-j-card.is-dim {
  background: #faf7f2;
  border-style: dashed;
  opacity: 0.88;
}
.v2-j-card.is-lit, .v2-th-card.is-lit, .v2-chess-card.is-lit {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fff 0%, #fffdf5 100%);
}
.v2-jc-top, .v2-thc-top, .v2-cc-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v2-jc-ico, .v2-thc-ico, .v2-cc-ico { font-size: 30px; }
.v2-jc-head { flex: 1; }
.v2-jc-cat, .v2-thc-chap, .v2-cc-tag { font-size: 12px; color: #64748b; font-weight: 700; display: block; }
.v2-jc-head h3, .v2-th-card h3, .v2-chess-card h3 { margin: 2px 0 0; font-size: 17.5px; color: #1e293b; }
.v2-jc-stamp, .v2-thc-lit {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
}
.v2-jc-essence, .v2-thc-idea { margin: 0; font-size: 14px; line-height: 1.55; color: #334155; }
.v2-jc-prompt { font-size: 13px; color: #0369a1; background: #f0f9ff; padding: 8px 12px; border-radius: 12px; }
.v2-jc-note {
  margin: 0;
  padding: 10px 12px;
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-size: 13.5px;
  color: #78350f;
}
.v2-jc-note cite { display: block; margin-top: 4px; font-size: 11.5px; font-style: normal; color: #92400e; }
.v2-jc-acts, .v2-thc-acts, .v2-cc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.v2-note-ta {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #e2cfa9;
  border-radius: 14px;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  margin: 12px 0;
}
.v2-note-acts { display: flex; justify-content: flex-end; gap: 8px; }

/* 9. 第二幕：《再深一层》微剧场播放器 & 反例沙盒 */
.v2-th-counters { margin-bottom: 18px; }
.v2-th-counter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 860px) {
  .v2-th-counter-grid { grid-template-columns: 1fr; }
}
.v2-th-counter-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 18px;
  cursor: pointer;
}
.v2-th-c-ico { font-size: 28px; }
.v2-th-counter-card strong { display: block; font-size: 15.5px; color: #14532d; }
.v2-th-counter-card p { margin: 3px 0 0; font-size: 12.5px; color: #166534; line-height: 1.4; }
.v2-th-c-go { margin-left: auto; font-weight: 800; color: #15803d; white-space: nowrap; font-size: 13px; }

.v2-tp-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 740px) {
  .v2-tp-layout {
    grid-template-columns: 1fr;
  }
}
.v2-tp-canvas-wrap {
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid #e8d2b0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  background: #fff8ec;
}
.v2-tp-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}
.v2-tp-side {
  background: #fffdf9;
  border: 2px solid #ead8be;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.v2-tp-badges { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.v2-tp-head h2 { margin: 6px 0 4px; font-size: 22px; }
.v2-tp-idea { margin: 0; font-size: 14.5px; color: #b45309; font-weight: 700; }
.v2-tp-prelab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}
.v2-tp-prelab strong { display: block; font-size: 14.5px; color: #14532d; }
.v2-tp-prelab p { margin: 2px 0 0; font-size: 13px; color: #166534; }

.v2-tp-segs { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-seg-pill {
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #e2cfa9;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.v2-seg-pill.is-on { background: #ea580c; border-color: #ea580c; color: #fff; }
.v2-seg-pill.is-chal { border-color: #f59e0b; }

.v2-tp-sub-box {
  background: #fff8eb;
  border: 1.5px solid #f1cf98;
  border-radius: 16px;
  padding: 12px 14px;
}
.v2-tp-sub-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; color: #9a3412; }
.v2-tp-sub-text { margin: 8px 0 0; font-size: 16px; font-weight: 700; color: #1e293b; line-height: 1.5; }
.v2-tp-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-tp-controls .btn { flex: 1; min-height: 46px; }

.v2-tp-challenge-card {
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: 18px;
  padding: 14px 16px;
}
.v2-tpc-tag { font-size: 13px; font-weight: 900; color: #b45309; margin-bottom: 6px; }
.v2-tpc-ask { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: #451a03; }
.v2-tpc-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* 反例沙盒内部 */
.v2-counter-card {
  background: #fffdf9;
  border: 2px solid #ead8be;
  border-radius: 24px;
  padding: 20px;
}
.v2-counter-claim {
  background: #fff7ed;
  border: 2px dashed #fb923c;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 15.5px;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 10px;
}
.v2-counter-mission {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14.5px;
  color: #334155;
  margin-bottom: 16px;
}
.v2-geo-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 720px) {
  .v2-geo-layout { grid-template-columns: 1fr; }
}
.v2-geo-svg { width: 100%; height: auto; display: block; max-width: 350px; margin: 0 auto; }
.v2-geo-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  background: #fef3c7;
}
.v2-geo-stats.is-ok { background: #dcfce7; color: #14532d; }
.v2-geo-controls { display: flex; flex-direction: column; gap: 12px; }
.v2-dim-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; padding: 10px 14px; border-radius: 14px; border: 1.5px solid #e5d5bc; }
.v2-dim-btns { display: flex; gap: 6px; }
.v2-geo-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.v2-chip-btn {
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #dcc9ad;
  background: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.v2-chip-btn.is-on { background: #1e293b; border-color: #1e293b; color: #fde68a; }
.v2-chip-btn.is-hot { background: #fee2e2; border-color: #ef4444; color: #991b1b; }
.v2-geo-slots { display: flex; flex-direction: column; gap: 8px; }
.v2-geo-slot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #f8fafc; border: 1.5px solid #cbd5e1; }
.v2-geo-slot.filled { background: #f0fdf4; border-color: #86efac; }
.v2-geo-slot small { display: block; font-size: 12px; color: #64748b; }

.v2-counter-win {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ecfdf5;
  border: 2px solid #34d399;
}
.v2-counter-win h4 { margin: 0 0 6px; color: #065f46; font-size: 17px; }
.v2-counter-win p { margin: 0 0 12px; font-size: 14px; color: #064e3b; line-height: 1.5; }
.v2-counter-win-acts { display: flex; flex-wrap: wrap; gap: 8px; }

.v2-hun-brushes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.v2-brush-btn { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 2px solid #d6c3a5; background: #fff; font-weight: 800; cursor: pointer; }
.v2-brush-btn.is-on { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.v2-hun-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  max-width: 480px;
  margin: 12px auto;
}
.v2-hun-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5d8c3;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}
.v2-hun-cell.is-hit {
  border-color: #ec4899;
  color: #831843;
  font-weight: 900;
}
.v2-hun-opts { display: flex; flex-direction: column; gap: 8px; }

.v2-mt-pickers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.v2-mt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v2-mt-nums { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-num-tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 2px solid #d6c3a5;
  background: #fff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}
.v2-num-tile.is-on { background: #ea580c; border-color: #ea580c; color: #fff; }
.v2-mt-arena {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 14px 0;
}
@media (max-width: 560px) {
  .v2-mt-arena { flex-direction: column; }
}
.v2-mt-box { flex: 1; background: #fff; border: 2px solid #e2d1b5; border-radius: 18px; padding: 14px; text-align: center; }
.v2-mt-box strong { display: block; font-size: 24px; margin: 6px 0; }
.v2-mt-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; font-style: normal; }
.v2-mt-dots i { font-style: normal; }
.v2-mt-vs { display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; color: #c2410c; }

/* 10. 第三幕：双人数学棋盘 (#chess) */
.v2-cr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.v2-cr-head h2 { margin: 2px 0 0; font-size: 23px; }
.v2-board-card {
  background: #fffdf9;
  border: 2.5px solid #e6d2b5;
  border-radius: 26px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.v2-bc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.v2-mode-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #f3e8d6;
  padding: 4px;
  border-radius: 999px;
}
.v2-seg-btn {
  min-height: 42px;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 800;
  color: #5b4636;
  cursor: pointer;
}
.v2-seg-btn.is-on {
  background: #fff;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.v2-bot-bar, .v2-rule-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.v2-rule-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.v2-turn-banner {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 16px;
  text-align: center;
  background: #fff7ed;
  border: 2px solid #fdba74;
}
.v2-turn-banner.p2 {
  background: #f0fdf4;
  border-color: #86efac;
}

.v2-gem-trail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 8px;
}
.v2-gem-stone {
  position: relative;
  min-height: 62px;
  border-radius: 16px;
  border: 2px solid #e2d3bc;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.v2-gem-stone.taken.p1 { background: #ffe4e6; border-color: #fb7185; opacity: 0.78; }
.v2-gem-stone.taken.p2 { background: #dcfce7; border-color: #4ade80; opacity: 0.78; }
.v2-gem-stone.is-fp { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28); }
.v2-gem-emo { font-size: 22px; }
.v2-gem-stone small { font-weight: 800; color: #64748b; font-size: 12px; }
.v2-fp-dot { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 12px; }

.v2-take-controls, .v2-postgame-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.v2-take-controls .btn { min-height: 50px; min-width: 112px; }
.v2-fp-note {
  margin: 0;
  padding: 10px 14px;
  background: #fffbeb;
  border-radius: 14px;
  font-size: 14px;
  color: #92400e;
  text-align: center;
}

/* 双生果盘 */
.v2-nim-plates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 540px) {
  .v2-nim-plates { grid-template-columns: 1fr; }
}
.v2-nim-plate {
  padding: 18px;
  border-radius: 22px;
  border: 2.5px solid #e2d1b5;
  background: #fff;
  cursor: pointer;
  text-align: center;
}
.v2-nim-plate.is-sel {
  border-color: #ea580c;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.16);
}
.v2-np-head { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 12px; }
.v2-np-fruits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 30px; min-height: 48px; }
.v2-np-fruits i { font-style: normal; }

/* 神秘数破译官 */
.v2-mys-setup, .v2-mys-play { text-align: center; }
.v2-mys-icon { font-size: 46px; }
.v2-mys-input-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}
.v2-num-input {
  width: 128px;
  height: 52px;
  border-radius: 16px;
  border: 2.5px solid #d6c1a0;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}
.v2-fold-bar-wrap { margin: 16px 0; }
.v2-fold-labels { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 800; color: #475569; margin-bottom: 6px; }
.v2-fold-track {
  position: relative;
  height: 22px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: visible;
  margin: 26px 0 28px;
}
.v2-fold-active {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  border-radius: 999px;
  transition: left 0.25s ease, width 0.25s ease;
}
.v2-fold-tick {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(100, 116, 139, 0.45);
  pointer-events: none;
  z-index: 1;
}
.v2-fold-tick i {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}
.v2-fold-pin {
  position: absolute;
  top: -24px;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.v2-fold-pin.low { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.v2-fold-pin.high { background: #ffedd5; color: #c2410c; border: 1px solid #fdba74; }
.v2-fold-pin.hit { background: #16a34a; color: #fff; border: 1px solid #15803d; z-index: 4; }
.v2-mys-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.v2-mys-tile {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 2px solid #ecd5b3;
  background: #fff;
  color: #1e293b;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.v2-mys-tile:hover:not(:disabled) {
  background: #fff7ed;
  border-color: #f59e0b;
  transform: translateY(-1px);
}
.v2-mys-tile.is-out,
.v2-mys-tile:disabled {
  opacity: 0.32;
  background: #f1f5f9;
  border-color: #cbd5e1;
  text-decoration: line-through;
  cursor: not-allowed;
}
.v2-mys-tip {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fefce8;
  border: 1.5px solid #fde047;
  color: #713f12;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}
.v2-mys-hist { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.v2-mys-chip { padding: 6px 12px; border-radius: 999px; font-size: 13px; background: #f1f5f9; }
.v2-mys-chip.low { background: #e0f2fe; color: #0369a1; font-weight: 700; }
.v2-mys-chip.high { background: #ffedd5; color: #9a3412; font-weight: 700; }
.v2-mys-chip.hit { background: #dcfce7; color: #166534; font-weight: 800; }

/* 方格圈地战 */
.v2-terr-scores {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.v2-ts-pill { padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 14.5px; }
.v2-ts-pill.p1 { background: #ffe4e6; color: #9f1239; }
.v2-ts-pill.p2 { background: #dcfce7; color: #166534; }
.v2-ts-mid { font-size: 13px; font-weight: 800; color: #64748b; }
.v2-terr-dice-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff8eb;
  border: 1.5px solid #f1cf98;
}
.v2-terr-factor strong { font-size: 20px; color: #c2410c; margin: 0 6px; }
.v2-terr-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}
.v2-terr-cell {
  aspect-ratio: 1;
  min-height: 28px;
  border-radius: 6px;
  border: 1.5px solid #dfd2be;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.v2-terr-cell.is-valid:hover {
  background: #fef3c7;
  border-color: #f59e0b;
}
.v2-terr-cell.p1 { background: #fb7185; border-color: #e11d48; cursor: default; }
.v2-terr-cell.p2 { background: #34d399; border-color: #059669; cursor: default; }

/* 11. 家长报告页 2.0 速览卡片 */
.v2-rp-card {
  border: 2px solid #a7f3d0 !important;
  background: linear-gradient(155deg, #ffffff 0%, #f0fdf4 100%) !important;
}
.v2-rp-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
@media (max-width: 560px) {
  .v2-rp-kpis { grid-template-columns: 1fr; }
}
.v2-rp-kpi {
  background: #fff;
  border: 1.5px solid #d1fae5;
  border-radius: 14px;
  padding: 10px 12px;
  text-align: center;
}
.v2-rp-kpi span { display: block; font-size: 12.5px; color: #64748b; }
.v2-rp-kpi b { font-size: 20px; color: #065f46; }
.v2-rp-notes ul { margin: 6px 0 0; padding-left: 18px; }
.v2-rp-notes li { margin-bottom: 4px; font-size: 14px; color: #1e293b; }

/* 12. 做题前算理微剧场（question-theaters.js） */
.v2-qtheater[hidden],
.v2-qt-body[hidden],
.v2-qt-mini[hidden] {
  display: none !important;
}
.v2-qtheater {
  background: #fffcf5;
  border: 2.5px solid #edd5b1;
  border-radius: 22px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(140, 96, 40, 0.07);
}
.v2-qtheater.is-lab {
  margin: 12px 0 16px;
}
.v2-qt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.v2-qt-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.v2-qt-title {
  margin: 0;
  font-size: 17px;
  color: #1f2d3d;
}
.v2-qt-formula {
  font-size: 13px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  border: 1.5px solid #fdba74;
}
.v2-qt-canvas-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #f1cf98;
  background: #fff8ec;
}
.v2-qt-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 500;
}
.v2-qt-scrub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff8ec;
  border: 1.5px solid #f1cf98;
}
.v2-qt-scrub-lbl {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #9a3412;
}
.v2-qt-scrub {
  flex: 1;
  min-height: 28px;
  accent-color: #ea580c;
  cursor: pointer;
}
.v2-qt-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #e6d5b8;
}
.v2-qt-segtag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 900;
  color: #9a3412;
  background: #ffedd5;
  padding: 3px 9px;
  border-radius: 999px;
}
.v2-qt-subtext {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  font-weight: 700;
  color: #1f2d3d;
  line-height: 1.5;
}
.v2-qt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.v2-qt-pill {
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #e2cbb0;
  background: #fff;
  color: #5b4636;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.14s ease;
}
.v2-qt-pill.is-on {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}
.v2-qt-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.v2-qt-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.v2-qt-controls .btn {
  min-height: 44px;
}
.v2-qt-ready-btn {
  min-height: 46px;
  font-size: 15px;
  font-weight: 900;
  background: #16a34a !important;
  border-color: #15803d !important;
  color: #fff !important;
}
.v2-qt-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.v2-qt-mini [data-qt-reopen] {
  min-height: 44px;
}
.v2-qt-mini-txt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #334155;
}
.v2-qt-seen-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #86efac;
  font-size: 12px;
  font-weight: 900;
}
.v2-qt-seen-pill[hidden] {
  display: none !important;
}
.v2-qt-mini-txt mark {
  background: #fef3c7;
  color: #9a3412;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 900;
}
.qbox .answer-area {
  transition: opacity 0.22s ease;
}
.qbox.qt-playing .answer-area {
  opacity: 0.56;
  pointer-events: auto;
}

/* 13. 尊重系统“减少动态效果”无障碍规范 */
@media (prefers-reduced-motion: reduce) {
  .tb-v2-btn,
  .tb-flow-pill,
  .v2-flow-step,
  .v2-mys-tile,
  .v2-pav-card,
  .v2-fold-active,
  .v2-wu-dots i,
  .v2-qt-pill,
  .qbox .answer-area {
    transition: none !important;
    transform: none !important;
  }
}
