/* ============ 话老师 品牌主题（覆盖 Bootstrap 5 变量）+ 自定义组件 ============ */
:root {
  --bs-primary: #C9A96E;
  --bs-primary-rgb: 201,169,110;
  --bs-primary-bg-subtle: #fdf6e9;
  --bs-secondary: #B76E79;
  --bs-secondary-rgb: 183,110,121;
  --bs-success: #5B8A72;
  --bs-success-rgb: 91,138,114;
  --bs-info: #4a56b8;
  --bs-info-rgb: 74,86,184;
  --bs-link-color: #A0854A;
  --bs-link-hover-color: #8a6a35;
  --bs-body-bg: #FAF8F3;
  --bs-body-color: #333344;
  --bs-border-color: #F0EBE0;
  --bs-border-radius: 0.75rem;
  --bs-border-radius-lg: 1rem;
  --bs-border-radius-sm: 0.5rem;
  --bs-font-family-sans-serif: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  --deep-indigo: #1e3a5f;
  --bronze-gold: #b8860b;
  --crimson: #9b2226;
  --steel-gray: #4a5568;
  --teal: #0d9488;
  --purple: #6c5ce7;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --ink: #1A1A2E;
  --ink-soft: #2D2D44;
  --cream: #FAF8F3;
  --cream-dark: #F0EBE0;
  --text: #333344;
  --text-light: #666677;
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-dark: #A0854A;
  --rose: #B76E79;
  --indigo: #4a56b8;
  --success: #5B8A72;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  --warn-bg: #FEF9F3;
  --warn-border: #E8A87C;
}
html { overflow-y: scroll; overflow-anchor: none; }
img { max-width: 100%; height: auto; }
body { background: #FAF8F3; font-family: 'Segoe UI', system-ui, -apple-system, "Microsoft YaHei", sans-serif; line-height: 1.7; color: #333344; }
.btn-primary { --bs-btn-bg:#C9A96E; --bs-btn-border-color:#C9A96E; --bs-btn-color:#1A1A2E;
  --bs-btn-hover-bg:#dfc392; --bs-btn-hover-border-color:#dfc392; --bs-btn-hover-color:#1A1A2E;
  --bs-btn-active-bg:#b89a5f; --bs-btn-active-border-color:#b89a5f; --bs-btn-active-color:#1A1A2E;
  --bs-btn-disabled-bg:#e5d5ab; --bs-btn-disabled-border-color:#e5d5ab; --bs-btn-disabled-color:#6b6b7a; }
.btn-outline-primary { --bs-btn-color:#A0854A; --bs-btn-border-color:#C9A96E;
  --bs-btn-hover-bg:#C9A96E; --bs-btn-hover-border-color:#C9A96E; --bs-btn-hover-color:#1A1A2E;
  --bs-btn-active-bg:#b89a5f; --bs-btn-active-border-color:#b89a5f; --bs-btn-active-color:#1A1A2E; }
.btn-secondary { --bs-btn-bg:#B76E79; --bs-btn-border-color:#B76E79; --bs-btn-color:#fff;
  --bs-btn-hover-bg:#a8606b; --bs-btn-hover-border-color:#a8606b; }
.navbar { background: #fff; }
a { text-decoration: none; }
.form-control:focus { border-color:#C9A96E; box-shadow: 0 0 0 0.25rem rgba(201,169,110,.15); }

/* 品牌 Hero */
.hero-brand { background: linear-gradient(135deg,#1A1A2E,#2D2D44 60%,#3a3a55);
    border-radius: 0 0 28px 28px; padding: 34px 22px 40px; color: #fff; position: relative; overflow: hidden;
    margin: 0 0 22px; }
.hero-brand::after { content: '💬'; position: absolute; right: 24px; bottom: -16px; font-size: 90px; opacity: .1; pointer-events: none; }
.hero-brand .slogan { font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.hero-brand .slogan em { color: #E8D5A3; font-style: normal; }
.hero-brand .desc { font-size: 13px; color: #c8cbe0; margin-top: 8px; line-height: 1.7; }

/* 数据条（仅首页，叠在 hero 底部，与内容同宽） */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: -18px 0 6px; position: relative; }
.stat-chip { background: #fff; border-radius: 14px; padding: 12px 8px; text-align: center; box-shadow: 0 6px 18px rgba(26,26,46,.08); }
.stat-chip b { display: block; font-size: 18px; color: #A0854A; }
.stat-chip span { font-size: 11px; color: #666677; }

/* 内容区 */
.section { padding: 20px 0 4px; }
.section h2 { font-size: 16px; font-weight: 800; color: #1A1A2E; margin: 0 0 12px; }

/* 卡片网格 */
.tool-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.tool-card { background:#fff; border-radius:16px; padding:16px 14px; box-shadow:0 4px 14px rgba(26,26,46,.06);
    text-decoration:none; color:inherit; display:block; }
.tool-card .t-icon { font-size: 26px; display:block; }
.tool-card .t-name { font-weight:800; color:#1A1A2E; font-size:14px; margin-top:6px; display:block; }
.tool-card .t-desc { font-size:12px; color:#666677; margin-top:2px; display:block; }
.tool-card.hot { border: 1.5px solid #E8D5A3; background: #fdf8ee; }

/* 话术卡 */
.quote-card { background:#fdf6e9; border:1.5px solid #E8D5A3; padding:16px; }
.quote-card .q-label { font-size:11.5px; color:#A0854A; font-weight:800; }
.quote-card .q-text { font-size:14px; color:#1A1A2E; line-height:1.8; margin-top:6px; }
.quote-card .q-scene { font-size:11.5px; color:#666677; margin-top:6px; }

/* 大横幅卡片 */
.banner-card { border-radius: 18px; padding: 20px; color: #fff; text-decoration: none; display: block; }
.banner-card .bc-tag { font-size: 11px; font-weight: 800; opacity: .85; letter-spacing: 1px; }
.banner-card h3 { font-size: 18px; font-weight: 900; margin: 4px 0 4px; }
.banner-card p { font-size: 12.5px; opacity: .9; margin: 0; line-height: 1.6; }
.bg-camp { background: linear-gradient(135deg,#2d2d44,#3a3a55); }
.bg-quiz { background: linear-gradient(135deg,#2f7d6a,#3f9380); }
.bg-vip { background: linear-gradient(135deg,#8a6a35,#b08d4f); }
.bg-ai { background: linear-gradient(135deg,#4a56b8,#6a76d0); }
.bg-rose { background: linear-gradient(135deg,#a85c6a,#c07d8b); }

/* 三件套 */
.trinity { display: grid; gap: 12px; }
.tri-card { background:#fff; border-radius:16px; padding:16px; box-shadow:0 4px 14px rgba(26,26,46,.06);
    text-decoration:none; display:flex; gap:12px; align-items:flex-start; color:inherit; }
.tri-card .t-icon { font-size:28px; }
.tri-card b { color:#1A1A2E; font-size:14.5px; display:block; }
.tri-card span { font-size:12.5px; color:#666677; line-height:1.6; }

/* 底部 Tab（移动端） */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px); border-top: 1px solid #F0EBE0; display: flex; justify-content: space-around;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); z-index: 1050; }
.bottom-nav a { flex:1; text-align:center; font-size:11px; color:#666677; text-decoration:none; padding:6px 0; }
.bottom-nav a .n-icon { font-size:20px; display:block; }
.bottom-nav a.on { color:#A0854A; }

/* 应用壳：移动端 16px、桌面 24px 统一水平边距；桌面内容列固定 900px */
.app-wrap { max-width: 560px; margin: 0 auto; min-height: 100vh; padding: 0 16px 90px; }
/* Bootstrap .container 填满 app-wrap 内容列（与导航/横幅同宽对齐，修复平板下 container 过窄） */
.app-wrap .container { max-width: 100%; }
@media (min-width: 768px) {
    .app-wrap { max-width: 948px; padding: 0 24px 24px; }
    .hero-brand, .lib-hero { border-radius: 0 0 36px 36px; padding: 56px 48px; margin: 0 0 24px; }
    /* 顶部 hero 统一贴顶圆角（与 hero-brand 同语言，桌面 36px） */
    .vip-hero, .ab-hero, .s-hero, .iv-hero, .legal-hero, .ch-hero, .auth-hero, .fav-hero,
    .quiz-hero, .qa-hero, .ref-hero, .ph-hero { border-radius: 0 0 36px 36px; }
    .hero-brand .slogan, .lib-hero h1 { font-size: 32px; }
    .hero-brand .desc, .lib-hero p { font-size: 15px; max-width: 620px; }
    .stats-row { margin: -22px auto 0; gap: 14px; }
    .stat-chip b { font-size: 24px; }
    .section { padding: 28px 0 8px; }
    .section h2 { font-size: 20px; margin-bottom: 16px; }
    .tool-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .tool-card { padding: 20px 16px; }
    .trinity { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .tri-card { flex-direction: column; padding: 20px; }
    .banner-card { padding: 24px; }
    .quote-card { padding: 20px 22px; }
    .quote-card .q-text { font-size: 15px; }
}

/* 对话气泡（AI 陪练） */
.chat-box { background:#fff; border:1px solid #F0EBE0; border-radius:18px; padding:20px; min-height:280px; max-height:56vh; overflow-y:auto;
    display:flex; flex-direction:column; gap:12px; box-shadow:0 10px 28px rgba(26,26,46,.05); }
.c-role { align-self:flex-start; background:#f6f4ee; border:1px solid #F0EBE0;
    border-radius:14px 14px 14px 4px; padding:10px 14px; color:#333344; font-size:14px; max-width:88%; line-height:1.7; }
.c-user { align-self:flex-end; background:#1A1A2E; color:#fff; border-radius:14px 14px 4px 14px;
    padding:10px 14px; font-size:14px; max-width:80%; font-weight:600; }
.c-tip { display:block; margin-top:8px; color:#A0854A; font-size:12.5px; line-height:1.6; }
.c-advice { align-self:center; background:#fdf6e9; border:1.5px solid #E8D5A3; color:#1A1A2E;
    border-radius:14px; padding:12px 16px; font-size:13.5px; max-width:92%; line-height:1.9; }
.c-empty { color:#999; font-size:13px; text-align:center; padding:40px 0; }
.c-stars { color:#A0854A; letter-spacing:2px; font-size:15px; }
.c-stars-dim { color:#d8d3c4; }
.c-thinking { align-self:flex-start; background:#f6f4ee; border-radius:14px 14px 14px 4px;
    padding:13px 16px; display:flex; gap:4px; }
.c-thinking span { width:7px; height:7px; border-radius:50%; background:#C9A96E; animation:blink 1.1s infinite; }
.c-thinking span:nth-child(2) { animation-delay:.2s; } .c-thinking span:nth-child(3) { animation-delay:.4s; }
@keyframes blink { 0%,80%,100% { opacity:.2; } 40% { opacity:1; } }
.c-role, .c-user, .c-advice { animation:fadeUp .32s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

/* 反击对话（AI 反击） */
.ai-chat { display:flex; flex-direction:column; gap:10px; max-height:56vh; overflow-y:auto;
    background:#fff; border:1px solid #F0EBE0; border-radius:18px; padding:18px;
    box-shadow:0 10px 28px rgba(26,26,46,.05); }
.ai-msg2-user { align-self:flex-end; background:#1A1A2E; color:#fff; padding:9px 13px;
    border-radius:12px 12px 2px 12px; font-size:13.5px; max-width:82%; line-height:1.6; }
.ai-msg2-ai { align-self:flex-start; background:#f6f4ee; border:1px solid #F0EBE0;
    padding:10px 14px; border-radius:12px 12px 12px 2px; font-size:13.5px; max-width:88%; line-height:1.7; }
.ai-msg2-ai b { color:#B76E79; }
.ai-msg2-ai .q { display:block; color:#666677; margin:2px 0; }
.f-score { margin-top:6px; font-size:12px; color:#666677; }
.f-stars { color:#A0854A; letter-spacing:2px; font-size:14px; }
.f-star-dim { color:#d8d3c4; }
.ai-msg2-ai, .ai-msg2-user { animation:fadeUp .32s ease both; }

/* 角色选择卡 */
.role-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.role-btn { background:#FAF8F3; border:1.5px solid #F0EBE0; border-radius:14px; padding:14px 10px;
    cursor:pointer; text-align:center; transition:.2s; font-family:inherit; color:#1A1A2E; }
.role-btn:hover { border-color:#C9A96E; }
.role-btn.on { border-color:#C9A96E; background:#fdf6e9; box-shadow:0 4px 14px rgba(201,169,110,.25); }
.role-btn .r-emoji { font-size:26px; display:block; }
.role-btn .r-name { font-size:13.5px; font-weight:800; color:#1A1A2E; margin-top:4px; display:block; }

/* 通用 */
.msg { font-size:13px; margin-top:10px; color:#B76E79; min-height:18px; }
.msg.ok { color:#5B8A72; }
.rel-links { margin-top:8px; font-size:12px; color:#8a8da8; }
.rel-links a { color:#4a56b8; font-weight:700; margin-right:10px; text-decoration:none; }
.rel-links a:hover { text-decoration:underline; }
.panel { background:#fff; border:1px solid #F0EBE0; border-radius:18px; padding:20px; }
.panel h2 { font-size:16px; font-weight:800; color:#1A1A2E; margin:0 0 4px; }
.panel .sub { font-size:13px; color:#666677; margin:0 0 14px; }

/* 品牌化自定义 */
.btn-active { background: #1A1A2E !important; color: #E8D5A3 !important; border-color: #1A1A2E; }
.badge-outline { background: transparent; border: 1px solid #C9A96E; color: #A0854A; }
.badge-primary { background: #C9A96E; color: #1A1A2E; }
.badge-secondary { background: #B76E79; color: #fff; }
.badge-success { background: #e6f5f1; color: #2f7d6a; }
.badge { display: inline-block; padding: .35em .65em; font-size: .75em; font-weight: 700; line-height: 1; border-radius: 50rem; }
.card { border: 1px solid #F0EBE0; border-radius: 1rem; }

/* ============ 库 / 场景 / 详情页共享组件（统一主题，原 shared.css 合并） ============ */

/* 库页 Hero */
.lib-hero { background: linear-gradient(135deg,#1A1A2E,#2D2D44); color:#fff; border-radius:0 0 28px 28px;
    padding:34px 22px 40px; margin:0 0 22px; min-height:150px; display:flex; flex-direction:column; justify-content:center; }
.lib-hero h1 { margin:0 0 8px; font-size:24px; line-height:1.3; }
.lib-hero h1 .gold { color:#E8D5A3; }
.lib-hero p { margin:4px 0; font-size:14.5px; line-height:1.7; color:#e8e8f2; }
@media (max-width: 700px) { .lib-hero { padding:22px 18px; } .lib-hero h1 { font-size:22px; } }

/* 模型卡片 */
.model-card { background:#fff; border-radius:18px; border:1px solid #F0EBE0;
    box-shadow:0 10px 40px rgba(0,0,0,0.06); margin-bottom:20px; overflow:hidden; scroll-margin-top:120px; }
.model-card summary { cursor:pointer; padding:16px 22px; font-weight:700; color:#1A1A2E; font-size:16px;
    list-style:none; display:flex; justify-content:space-between; align-items:center; }
.model-card summary::-webkit-details-marker { display:none; }
.model-card summary .toggle-icon { font-size:.8rem; color:var(--bronze-gold); transition:transform .2s; }
.model-card details[open] summary { border-bottom:1px solid #F0EBE0; background:#faf7f0; }
.model-card details[open] summary .toggle-icon { transform:rotate(180deg); }
.card-content { padding:18px 22px; }
@media (max-width: 700px) { .model-card summary { padding:12px 14px; font-size:15px; } .card-content { padding:14px 14px; } }

/* 模型精华区 */
.essence-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:12px; }
@media (max-width:760px) { .essence-row { grid-template-columns:1fr; } }
.essence-questions, .essence-strike { background:#f6f7fd; border-radius:12px; padding:14px 16px; font-size:13.5px; }
.essence-strike { background:#f0faf7; }
.essence-questions ol { margin:8px 0 0; padding-left:20px; }
.essence-questions li, .essence-strike p { margin:6px 0; line-height:1.7; }
.essence-icon { margin-right:.4rem; }
.model-essence { background:linear-gradient(135deg,#fffbeb 0%,#fef9e7 100%);
    border:1px solid #f0d78c; border-radius:12px; padding:1.2rem 1.5rem; margin-bottom:1.2rem; }

/* 核心标签 */
.core-tag { background:#fdf6e9; border-left:4px solid #C9A96E; padding:10px 14px; border-radius:0 10px 10px 0;
    font-size:13px; font-weight:600; color:#8a6d3b; margin-bottom:12px; display:inline-block; }

/* 简介/用法引导块（块库 intro/usage，经后台填空生成，整块显示） */
.intro-tag, .usage-tag { display:block; background:#f0f5fa; border:1px solid #d0dde8; border-left:4px solid #4a56b8;
    border-radius:0 12px 12px 0; padding:12px 16px; font-size:14px; line-height:1.8; color:#333344; margin-bottom:12px; }
.usage-tag { background:#fdf6e9; border-color:#F0EBE0; border-left-color:#C9A96E; }
.intro-tag b, .usage-tag b { color:#1A1A2E; }
.intro-tag p, .usage-tag p { margin:6px 0 0; }

/* 模型锚点目录（长详情页顶部） */
.toc-grid { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.toc-item { display:inline-flex; align-items:center; gap:6px; background:#fff; border:1.5px solid #E8D5A3;
    border-radius:30px; padding:7px 14px; font-size:13px; color:#333344; text-decoration:none; font-weight:600; transition:.15s; }
.toc-item:hover { border-color:#C9A96E; background:#fdf6e9; }
.toc-item .num { color:#A0854A; font-weight:800; }

/* 案例区块 */
.case-block { border:1px solid #F0EBE0; border-radius:12px; padding:12px 16px; font-size:14px; margin-bottom:1rem; }
.case-title { font-weight:700; color:#666677; margin-bottom:8px; font-size:13px; }
.scenario-item { margin:8px 0; line-height:1.7; }
.scenario-item strong { color:var(--crimson); }

/* 防御与练习框 */
.defense-box { background:#eff6ff; border:1px solid #bfdbfe; border-radius:8px; padding:1rem; margin-top:.8rem; }
.defense-title { font-weight:700; color:var(--deep-indigo); margin-bottom:.4rem; }
.practice-box { background:#f0fdf4; border:1px solid #bbf7d0; border-radius:8px; padding:1rem; margin-top:.8rem; }
.practice-title { font-weight:700; color:#166534; margin-bottom:.4rem; }
.pitfall-block { background:#fef2f2; padding:.8rem 1rem; border-radius:8px; border:1px solid #fecaca; margin-top:.8rem; }
.pitfall-title { font-weight:700; color:var(--crimson); margin-bottom:.3rem; }

/* 公式列表 */
.formula-list { margin:1rem 0; padding:0; }
.formula-list > li { margin-bottom:.8rem; padding:.8rem 1rem; background:#f8fafc;
    border-left:3px solid var(--teal); border-radius:8px; font-size:.9rem; line-height:1.7; list-style:none; }
.formula-list ul, .formula-list ol { margin:.5rem 0 0 1.2rem; padding:0; }
.formula-list ul li { list-style:disc; }
.formula-list ol li { list-style:decimal; }
.formula-list ul li, .formula-list ol li { margin-bottom:.4rem; font-size:.88rem; line-height:1.6;
    border:none; padding:.2rem 0; background:none; }

/* 分区标题 */
.section-title { font-size:1.4rem; font-weight:900; color:var(--deep-indigo); margin:2.5rem 0 1.2rem;
    padding-bottom:.5rem; border-bottom:3px solid var(--bronze-gold); }
.section-title .emoji { margin-right:.4rem; }

/* 融合场景 */
.scenario-meta { font-size:.85rem; color:var(--text-muted); margin-bottom:1rem; padding:.5rem;
    background:#f8fafc; border-radius:8px; display:inline-block; }
.model-combo { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1rem; align-items:center; }
.combo-label { font-weight:700; color:var(--purple); font-size:.85rem; }
.badge-model { display:inline-block; padding:.25rem .7rem; border-radius:12px; font-size:.78rem;
    font-weight:700; font-family:system-ui, sans-serif; text-decoration:none; transition:background .2s; }
.badge-model.bg-debate { background:#fef2f2; color:var(--crimson); }
.badge-model.bg-comm { background:#f0fdfa; color:var(--teal); }
.badge-model a { text-decoration:none; color:inherit; }

/* 对话脚本 */
.script-block { background:#fafaf8; border:1px solid #e5e0d8; border-radius:8px; padding:1rem 1.2rem;
    margin:.8rem 0; font-size:.9rem; line-height:1.8; }
.action { display:block; font-weight:700; color:var(--deep-indigo); margin:1rem 0 .5rem;
    padding:.4rem .6rem; background:#eef2ff; border-radius:4px; font-size:.9rem; }
.action.first { margin-top:0; }
.speaker { font-weight:700; color:var(--crimson); }
.right-route { background:#f0fdf4; padding:.8rem 1rem; border-radius:8px; border-left:3px solid #4ade80;
    margin:.5rem 0; line-height:1.8; }
.wrong-route { background:#fef2f2; padding:.8rem 1rem; border-radius:8px; border-left:3px solid #f87171;
    margin:.5rem 0; line-height:1.8; }
.model-ref { font-size:.8rem; color:var(--text-muted); }
.psy-tag { display:inline-block; padding:.1rem .5rem; border-radius:12px; font-size:.72rem;
    font-weight:700; font-family:system-ui, sans-serif; }
.psy-tag.info { background:#dbeafe; color:#1e40af; }
.psy-tag.success { background:#d1fae5; color:#065f46; }
.psy-tag.danger { background:#fecaca; color:#991b1b; }
.insight-bubble { background:#fffbeb; border:1px solid #fde68a; border-radius:8px; padding:.8rem 1rem;
    margin:.5rem 0; font-size:.88rem; line-height:1.7; }

/* 跨体系引用 */
.cross-ref { display:inline-block; padding:.2rem .6rem; border-radius:12px; font-size:.78rem;
    font-weight:700; background:#eef2ff; color:var(--deep-indigo); text-decoration:none; }
.cross-ref.advanced { background:#faf5ff; color:var(--purple); }
.cross-ref:hover { text-decoration:underline; }
.cross-ref-note { background:#f0f5fa; padding:.8rem 1rem; border-radius:8px; border:1px solid #d0dde8;
    margin-top:.8rem; font-size:.9rem; line-height:1.7; }
.cross-ref-note strong { color:var(--deep-indigo); }
.cross-ref-note.advanced { border-left-color:var(--purple); background:linear-gradient(135deg,#faf5ff 0%,#f0f5fa 100%); }
.cross-ref-note.family { border-left-color:var(--crimson); background:linear-gradient(135deg,#fef2f2 0%,#fff 100%); }

/* 折叠跨体系引用 */
.cross-system-refs details { margin-top:.8rem; }
.cross-system-refs summary { cursor:pointer; color:var(--purple); font-weight:700; font-size:.85rem; list-style:none; }
.cross-system-refs summary::-webkit-details-marker { display:none; }
.cross-system-refs summary::before { content:"▶ "; font-size:.7rem; display:inline-block; transition:transform .2s; }
.cross-system-refs details[open] summary::before { transform:rotate(90deg); }
.cross-system-refs .ref-row { margin-bottom:.5rem; padding-left:.5rem; border-left:2px solid #ddd6fe; }
.ref-tag.bridge-tag { background:#6c5ce7; color:#fff; padding:.1rem .4rem; border-radius:12px;
    font-size:.65rem; margin-right:.5rem; }

/* 反噬自检 */
.reflex-check { background:#eef2ff; border:1px solid #c7d2fe; border-left:4px solid var(--deep-indigo);
    border-radius:8px; padding:.8rem 1rem; margin-top:.8rem; font-size:.88rem; line-height:1.6; }
.reflex-icon { margin-right:.4rem; }

/* 模型链接 */
.model-link { color:#4a56b8; font-weight:700; text-decoration:none; border-bottom:1px dashed #4a56b8; }
.model-link:hover { color:#B76E79; border-bottom-color:#B76E79; }
.model-link.advanced-link { color:var(--purple); border-bottom-color:var(--purple); }
.model-link.bridge-link { color:var(--purple); text-decoration:underline; text-underline-offset:3px; }

/* 步骤流程 */
.flow-steps { display:flex; gap:.6rem; flex-wrap:wrap; margin:.8rem 0 1.2rem; align-items:center; }
.flow-step { background:#fdfdff; border:2px solid var(--deep-indigo); padding:.5rem .9rem; border-radius:20px;
    font-size:.82rem; font-weight:600; color:var(--deep-indigo); white-space:nowrap; }
.flow-arrow { font-size:.9rem; color:var(--bronze-gold); font-weight:700; }

/* 脚本框 */
.script-box { background:#fafaf8; border:1px solid #e5e0d8; border-radius:8px; padding:1rem 1.2rem;
    margin:.8rem 0; font-family:system-ui, sans-serif; font-size:.9rem; line-height:1.8; }
.step-label { font-weight:700; margin-right:.4rem; }
.step-label.gold-label { color:var(--bronze-gold); }
.step-label.attack-label { color:var(--crimson); }
.step-label.defense-label { color:var(--deep-indigo); }
.template-placeholder { background:#fff3cd; padding:.15rem .4rem; border-radius:3px; font-style:italic;
    color:#856404; font-weight:600; }

/* 决定性瞬间 & 思维实验 */
.decisive-moment { background:linear-gradient(135deg,#fef2f2 0%,#fff 100%); border:2px solid var(--crimson);
    border-radius:12px; padding:1.2rem 1.5rem; margin:1rem 0; }
.moment-label { font-weight:900; color:var(--crimson); font-size:.9rem; }
.thought-experiment { background:#f0fdfa; border:1px solid #99f6e4; border-radius:12px; padding:1.2rem 1.5rem; margin:1rem 0; }
.te-label { font-weight:900; color:var(--teal); }
.thought-options { display:flex; flex-direction:column; gap:.4rem; margin-top:.6rem; }
.thought-opt { padding:.5rem 1rem; background:#fff; border:1px solid #d0dde8; border-radius:8px;
    cursor:pointer; font-size:.85rem; transition:background .2s; }
.thought-opt:hover { background:#eff6ff; }
.thought-opt.selected { background:#dbeafe; border-color:var(--deep-indigo); font-weight:700; }

/* 标签 */
.highlight-badge { display:inline-block; background:#fef2f2; color:var(--crimson); padding:.1rem .4rem;
    border-radius:8px; font-size:.7rem; font-weight:700; }
.new-badge { display:inline-block; background:#dc2626; color:#fff; padding:.1rem .5rem;
    border-radius:8px; font-size:.7rem; font-weight:700; }

/* 场景库 */
.library-item { background:#fff; border-radius:12px; padding:1.2rem 1.5rem; margin-bottom:1rem;
    box-shadow:var(--card-shadow); border-left:5px solid #E8D5A3; transition:all .2s; scroll-margin-top:120px; }
.library-item:hover { box-shadow:0 4px 16px rgba(0,0,0,.1); }
.scenario-title { font-size:1rem; font-weight:700; color:var(--deep-indigo); margin-bottom:.8rem; }
.solution-row { display:flex; flex-direction:column; gap:.5rem; margin-bottom:.6rem; }
.solution { font-size:.9rem; line-height:1.7; padding:.6rem .8rem; background:#f8fafc; border-radius:8px; }

/* 心智模型库（models.php / model.php 共用） */
.mm-item { display:block; }
.mm-item .t { font-weight:700; color:#1A1A2E; font-size:15px; }
.mm-item .s { font-size:13px; color:#666677; margin-top:3px; line-height:1.6; }
.mm-item .meta { font-size:11px; color:#A0854A; font-weight:700; margin-top:6px; }
.today-card { border-left:5px solid #C9A96E !important; background:#fdfaf3; }

/* 表格 */
.table-responsive { overflow-x:auto; -webkit-overflow-scrolling:touch; margin:.8rem 0; }
table { width:100%; border-collapse:collapse; margin:.8rem 0; font-size:.9rem; }
table th { background:#1A1A2E; color:#fff; padding:.6rem; text-align:left; font-weight:600; }
table td { padding:.5rem .6rem; border-bottom:1px solid #e5e0d8; vertical-align:top; }
table tr:nth-child(even) td { background:#fdfdff; }
@media (max-width:700px) { table { font-size:.8rem; } table th, table td { padding:.45rem .4rem; } }

/* 页内"下一步"导航（translation 等） */
.next-steps { text-align:center; margin-top:2rem; padding:1rem 1.2rem; background:#faf7f0;
    border:1px solid #F0EBE0; border-radius:14px; font-size:.9rem; color:#666677; line-height:1.9; }
.next-steps a { color:#4a56b8; font-weight:700; text-decoration:none; margin:0 4px; }
.next-steps a:hover { text-decoration:underline; }

/* 模型边框色（.color-* 与 .border-*） */
.color-satir, .border-satir { border-left-color:#0d7b6c !important; }
.color-nvc, .border-nvc { border-left-color:#2e8b57 !important; }
.color-carnegie, .border-carnegie { border-left-color:#b8860b !important; }
.color-tki, .border-tki { border-left-color:#1e3a5f !important; }
.color-3f, .border-3f { border-left-color:#6c5ce7 !important; }
.color-fossa, .border-fossa { border-left-color:#0d9488 !important; }
.color-prep, .border-prep { border-left-color:#2563eb !important; }
.color-sbi, .border-sbi { border-left-color:#7c3aed !important; }
.color-grow, .border-grow { border-left-color:#059669 !important; }
.color-xyz, .border-xyz { border-left-color:#d97706 !important; }
.color-star, .border-star { border-left-color:#0891b2 !important; }
.color-aid, .border-aid { border-left-color:#4f46e5 !important; }
.color-ford, .border-ford { border-left-color:#db2777 !important; }
.color-pyramid, .border-pyramid { border-left-color:#9333ea !important; }
.color-funnel, .border-funnel { border-left-color:#475569 !important; }
.color-socratic, .border-socratic { border-left-color:#a16207 !important; }
.color-openq, .border-openq { border-left-color:#0284c7 !important; }
.color-powerq, .border-powerq { border-left-color:#16a34a !important; }
.color-scarf, .border-scarf { border-left-color:#6c5ce7 !important; }
.color-state, .border-state { border-left-color:#dc2626 !important; }
.color-scrtv, .border-scrtv { border-left-color:#0891b2 !important; }
.color-ride, .border-ride { border-left-color:#ea580c !important; }
.color-desc, .border-desc { border-left-color:#2563eb !important; }
.color-stara, .border-stara { border-left-color:#7c3aed !important; }
.color-pac, .border-pac { border-left-color:#6c5ce7 !important; }
.color-harvard, .border-harvard { border-left-color:#b8860b !important; }
.color-tactical, .border-tactical { border-left-color:#9b2226 !important; }
.color-utheory, .border-utheory { border-left-color:#0d9488 !important; }
.color-narrative, .border-narrative { border-left-color:#6c5ce7 !important; }
.color-influence, .border-influence { border-left-color:#b8860b !important; }
.color-appreciative, .border-appreciative { border-left-color:#059669 !important; }
.color-ladder, .border-ladder { border-left-color:#475569 !important; }
.color-asymmetric, .border-asymmetric { border-left-color:#6c5ce7 !important; }
.color-gottman, .border-gottman { border-left-color:#b91c1c !important; }
.color-acr, .border-acr { border-left-color:#0d9488 !important; }
.color-apology, .border-apology { border-left-color:#7c3aed !important; }
.color-compliment, .border-compliment { border-left-color:#db2777 !important; }
.color-trio, .border-trio { border-left-color:#9333ea !important; }

/* 子导航（nav.inc.php 输出） */
.sub-nav { display:flex; flex-wrap:nowrap; align-items:center; gap:4px; overflow-x:auto;
    background:#fff; border:1px solid #F0EBE0; border-top:none; border-radius:0;
    padding:8px 12px; margin:0; box-shadow:0 4px 16px rgba(0,0,0,0.04);
    position:sticky; top:56px; z-index:30; }
/* 二级导航与下方简介 bio 直接相接（库页 hero 紧贴其下，无空隙） */
.sub-nav + .hero-brand, .sub-nav + .lib-hero { margin-top:0; }
.sub-nav a { display:flex; align-items:center; justify-content:center;
    flex:1 1 0; min-width:78px; height:34px; padding:0 10px; border-radius:30px;
    font-size:13px; font-weight:600; color:#666677; text-decoration:none;
    white-space:nowrap; transition:.15s; }
.sub-nav a:hover { background:#F0EBE0; color:#1A1A2E; }
.sub-nav a.on, .sub-nav a.active, .sub-nav a[data-active="1"] { background:#1A1A2E; color:#E8D5A3; font-weight:800; }
@media (max-width:720px) { .sub-nav a { height:38px; min-width:64px; padding:0 10px; font-size:13px; } }

/* 场景推荐器（scene/index.php + js/recommender.js） */
.reco-box { background:#fff; border:1px solid var(--cream-dark); border-radius:18px; padding:18px 20px; margin-bottom:6px;
    box-shadow:0 4px 14px rgba(26,26,46,.06); }
.reco-title { font-size:14.5px; font-weight:800; color:var(--ink); margin-bottom:10px; }
.reco-box .form-select { margin-bottom:4px; }
.reco-result { display:none; margin-top:12px; }
.reco-result.show { display:block; }
.reco-pair { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:560px){ .reco-pair { grid-template-columns:1fr; } }
.reco-weapon { background:var(--cream); border:1px solid var(--cream-dark); border-radius:12px; padding:10px 12px; font-size:13px; }
.reco-weapon b { display:block; font-size:12px; color:var(--gold-dark); margin-bottom:4px; }
.reco-tip { font-size:13px; color:var(--text); margin-top:8px; line-height:1.7; }
.reco-camp { display:inline-block; margin-top:8px; font-size:13px; font-weight:700; color:var(--gold-dark); }

/* 通用填空（fills.js） */
.fill-src { display:inline-block; min-width:56px; border-bottom:2px dashed #A0854A; cursor:pointer;
    text-align:center; padding:0 4px; line-height:1.9; border-radius:4px 4px 0 0; transition:.15s; vertical-align:baseline; }
.fill-src:hover { background:#E8D5A3; border-bottom-style:solid; }
.fill-box.filled { color:#5B8A72; font-weight:700; }
.fill-hint { color:#b9a277; font-size:.9em; opacity:.85; }
.fill-input { border:1px solid #A0854A; border-radius:8px; font-family:inherit;
    font-size:16px; padding:2px 6px; background:#FFFDF7; color:#1A1A2E; }
.fill-input:focus { outline:none; border-color:#C9A96E; background:#fff; }

/* 通用收藏（favs.js） */
.fav-btn { position:absolute; top:10px; right:12px; z-index:5; width:30px; height:30px; border-radius:50%;
    border:2px solid #F0EBE0; background:#fff; color:#ccc; font-size:15px; cursor:pointer;
    display:flex; align-items:center; justify-content:center; transition:.2s; padding:0; line-height:1; }
.fav-btn:hover { border-color:#C9A96E; color:#C9A96E; }
.fav-btn.on { background:#C9A96E; border-color:#C9A96E; color:#fff; }
.fav-card { border-color:#C9A96E !important; box-shadow:0 0 0 2px rgba(201,169,110,0.22) !important; }

/* 登录态导航（auth-ui.js） */
.auth-status { margin-left:auto; font-size:13px; color:#cfd3e8; }
.auth-status a { color:#E8D5A3; text-decoration:none; font-weight:700; padding:6px 10px; border-radius:30px; }
.auth-status a:hover { background:rgba(255,255,255,0.12); }

/* 会员锁定面板 */
.lock-panel { text-align:center; padding:28px 20px 24px; }
.lock-emoji { font-size:40px; }
.lock-title { font-size:17px; font-weight:800; color:#1A1A2E; margin:8px 0 6px; }
.lock-sub { font-size:13px; color:#666677; margin:4px 0; }
.lock-sub a { color:#4a56b8; font-weight:700; }
.lock-plans { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin:16px 0; }
.lock-plan { background:#FAF8F3; border:1px solid #F0EBE0; border-radius:12px; padding:10px 18px; }
.lock-plan b { display:block; font-size:18px; color:#A0854A; }
.lock-plan span { font-size:12px; color:#666677; }
.lock-cta { display:inline-block; background:#C9A96E; color:#1A1A2E; font-weight:800;
    padding:11px 30px; border-radius:30px; text-decoration:none; margin:8px 0 12px; }
.lock-cta:hover { background:#dfc392; }

/* 段落级付费锁定提示 */
.vip-inline { display:block; background:#fdf6e9; border:1px dashed #C9A96E; border-radius:12px;
    padding:10px 16px; margin:12px 0; font-size:13.5px; color:#A0854A; }
.vip-inline a { color:#4a56b8; font-weight:700; text-decoration:none; margin-left:8px; }

/* 场景决策树（decision.js） */
.dec-box { background:#fff; border:1.5px solid #E8D5A3; border-radius:18px; padding:16px 18px; margin-bottom:20px; }
.dec-title { font-size:15px; font-weight:800; color:#1A1A2E; margin-bottom:10px; }
.dec-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.dec-q { font-size:13px; font-weight:700; color:#666677; margin-right:4px; }
.dec-opt { padding:7px 16px; border-radius:30px; border:1.5px solid #F0EBE0; background:#FAF8F3;
    font-size:13px; font-weight:700; color:#333344; cursor:pointer; font-family:inherit; }
.dec-opt:hover:not(:disabled) { border-color:#C9A96E; }
.dec-opt.on { background:#1A1A2E; color:#E8D5A3; border-color:#1A1A2E; }
.dec-opt:disabled { opacity:.4; cursor:not-allowed; }
.dec-result { background:#FAF8F3; border-radius:12px; padding:12px 14px; }
.dec-empty { color:#999; font-size:13px; text-align:center; padding:16px; }
.dec-reco { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid #F0EBE0;
    border-radius:30px; padding:5px 8px 5px 5px; margin:4px 8px 4px 0; }
.dec-reco a { font-weight:800; font-size:13.5px; color:#4a56b8; text-decoration:none; }
.dec-reco-tag { font-size:11px; font-weight:800; padding:3px 10px; border-radius:20px; background:#2f7d6a; color:#fff; }
.dec-reco-tag.alt { background:#B76E79; }
.dec-tip { font-size:12.5px; color:#666677; margin-top:4px; }

/* 武器卡"何时别用" */
.w-nowhen { margin-top:10px; font-size:12.5px; color:#8a5a2e; background:#fdf6e9;
    border-left:3px solid #C9A96E; border-radius:8px; padding:8px 12px; line-height:1.6; }

/* 维度标签与筛选 */
.tag-dim { background:#fdf6e9; color:#A0854A; }
.dim-btns { display:flex; flex-wrap:wrap; gap:6px; }

/* 全站页脚 */
.site-footer { margin-top:40px; padding:24px 0 10px; text-align:center; font-size:12.5px;
    color:#666677; border-top:1px solid #F0EBE0; line-height:2; }
.site-footer a { color:#4a56b8; text-decoration:none; }
.site-footer a:hover { text-decoration:underline; }

/* 锚点高亮（anchor.js） */
.highlight-flash { animation:hflash 1.2s ease; }
@keyframes hflash { 0% { box-shadow:0 0 0 3px rgba(201,169,110,0.6); background:#FFF8E7; } 100% { box-shadow:0 0 0 0 rgba(201,169,110,0); } }

/* ============ 首页专属（index.php，body class="home"） ============ */
.home .navbar { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px); border-bottom: 1px solid #F0EBE0; }
@media (min-width: 768px) {
    .home .stat-chip { padding: 16px 10px; }
    .home .tool-card .t-icon { font-size: 30px; }
    .home .tri-card .t-icon { font-size: 32px; }
    .home .banner-card h3 { font-size: 16px; }
    .home .banner-card p { font-size: 12px; }
}

/* ============ 法律/协议页（privacy/terms/refund） ============ */
.legal-wrap { max-width: 760px; margin: 30px auto; }
.legal-hero { background: linear-gradient(135deg,#1A1A2E,#3a3a55); color:#fff; border-radius:0 0 28px 28px;
    padding:32px; margin-bottom:22px; min-height:150px; display:flex; flex-direction:column; justify-content:center; }
.legal-hero h1 { margin:0 0 8px; font-size:24px; line-height:1.3; }
.legal-hero p { margin:4px 0; font-size:14.5px; line-height:1.7; color:#e8e8f2; }
.legal-card { background:#fff; border:1px solid #F0EBE0; border-radius:18px;
    padding:24px 28px; margin-bottom:16px; font-size:14px; color:#333344; line-height:1.9; }
.legal-card h2 { font-size:16px; color:#1A1A2E; margin:22px 0 8px; }
.legal-card h2:first-child { margin-top:0; }
.legal-card b { color:#1A1A2E; }
.legal-update { font-size:12.5px; color:#666677; margin-top:16px; }

/* ============ 外观精修（金黑风 v1，追加层可整体回滚） ============ */
body { -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }

::selection { background:rgba(201,169,110,.32); }

/* 滚动条 */
::-webkit-scrollbar { width:10px; height:10px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:#d9d2c0; border-radius:8px; border:2px solid #FAF8F3; }
::-webkit-scrollbar-thumb:hover { background:#c6bda4; }

/* 统一卡片质感：柔和双层阴影 + 一致圆角 */
.card, .panel, .tool-card, .tri-card, .model-card, .library-item, .quote-card, .stat-chip, .lib-card {
    box-shadow:0 1px 2px rgba(26,26,46,.04), 0 10px 28px rgba(26,26,46,.05);
    border-color:#EDE7DA;
}
.card, .panel, .tool-card, .tri-card, .model-card, .library-item, .quote-card { border-radius:18px; }

/* 按钮：柔光（无位移，避免整页抖动） */
.btn { border-radius:.75rem; font-weight:600; letter-spacing:.2px;
    transition:color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .2s ease; }
.btn-primary { box-shadow:0 4px 14px rgba(201,169,110,.28); }
.btn-primary:hover { box-shadow:0 7px 18px rgba(201,169,110,.36); }
.btn-primary:active { box-shadow:0 2px 6px rgba(201,169,110,.2); }

/* 顶部导航：更轻的阴影 + 细分隔线 */
.navbar { box-shadow:0 1px 2px rgba(26,26,46,.05); }
.navbar-brand { font-weight:900; font-size:20px; letter-spacing:.5px; }

/* 表单 */
.form-control, .form-select { border-color:#e6e0d3; border-radius:.75rem; }
.form-control:focus, .form-select:focus { border-color:#C9A96E; box-shadow:0 0 0 .25rem rgba(201,169,110,.15); }

/* Hero：深度阴影 + 文字可读性 */
.hero-brand, .lib-hero { box-shadow:0 24px 60px -24px rgba(26,26,46,.45); }
.hero-brand .slogan, .lib-hero h1 { text-shadow:0 2px 14px rgba(0,0,0,.28); }

/* 区块标题 */
.section h2, .panel h2 { letter-spacing:.3px; }

/* 链接颜色过渡 */
a { transition:color .15s; }

/* 长列表卡屏外跳过渲染（basic/fallacies 等百KB长页，手机渲染加速；锚点与站内搜索不受影响） */
.library-item, .model-card { content-visibility:auto; contain-intrinsic-size:auto 320px; }

/* ============ 训练营 camp.php（原页内样式迁移，缓存复用） ============ */
/* 顶部导航（主站统一） */
        
        
        
        

        /* 英雄区 */
        .hero {
            background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 60%, #3a3a55 100%);
            color: #fff; border-radius: 0 0 28px 28px; padding: 34px 22px 40px; margin: 0 0 22px;
            position: relative; overflow: hidden;
        }
        .hero::after {
            content: '🗣️'; position: absolute; right: 30px; bottom: -20px;
            font-size: 120px; opacity: 0.12; transform: rotate(-10deg);
        }
        .hero .badge {
            display: inline-block; background: var(--gold); color: var(--ink);
            font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 30px;
            margin-bottom: 14px; letter-spacing: 1px;
        }
        .hero h1 { font-size: 32px; margin: 0 0 10px; line-height: 1.3; }
        .hero h1 .gold { color: var(--gold-light); }
        .hero p { margin: 6px 0; color: #c8cbe0; font-size: 15px; }
        .hero .stats { display: flex; gap: 26px; margin-top: 20px; flex-wrap: wrap; }
        .hero .stat { text-align: center; }
        .hero .stat b { display: block; font-size: 26px; color: var(--gold-light); }
        .hero .stat span { font-size: 12px; color: #a9adc6; }

        /* 进度条（进度环 + 详情） */
        .progress-bar { background: #fff; border-radius: 18px; padding: 18px 22px; margin-bottom: 26px;
            box-shadow: var(--shadow); border: 1px solid var(--cream-dark); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
        .ring-wrap { flex: none; text-align: center; }
        .ring { width: 88px; height: 88px; border-radius: 50%; position: relative;
            background: conic-gradient(var(--gold) calc(var(--pct)*1%), var(--cream-dark) 0);
            display: flex; align-items: center; justify-content: center; }
        .ring::before { content: ''; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
        .ring b { position: relative; z-index: 1; font-size: 18px; color: var(--gold-dark); }
        .ring-label { font-size: 11.5px; color: var(--text-light); margin-top: 6px; display: block; }
        .progress-info { flex: 1; min-width: 200px; }
        .progress-title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
        .progress-line { font-size: 12.5px; color: var(--text-light); margin-bottom: 8px; font-weight: 600; }
        .progress-track { height: 10px; background: var(--cream-dark); border-radius: 10px; overflow: hidden; }
        .progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); border-radius: 10px; transition: width 0.5s ease; }
        .progress-sub { font-size: 12px; color: #b9a277; margin-top: 8px; }

        /* 工具条：维度筛选 */
        .toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
        .phase-btn { padding: 7px 14px; border-radius: 30px; border: 1px solid var(--cream-dark);
            background: #fff; font-size: 12px; cursor: pointer; font-weight: 600; color: var(--text-light); transition: 0.2s; }
        .phase-btn:hover { border-color: var(--gold); color: var(--ink); }
        .phase-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

        /* 天卡片 */
        .day-card {
            background: #fff; border-radius: 16px; border: 1px solid var(--cream-dark);
            box-shadow: var(--shadow); margin-bottom: 22px; overflow: hidden;
            transition: box-shadow 0.2s;
        }
        .day-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,0.10); }
        .day-head {
            display: flex; align-items: center; gap: 14px; padding: 16px 22px; cursor: pointer;
            background: linear-gradient(90deg, #fff, #faf7f0);
            border-bottom: 1px solid var(--cream-dark);
        }
        .day-head:hover { background: #fbf7ee; }
        .day-num {
            width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--gold-light);
            display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
            flex-shrink: 0;
        }
        .day-card.done .day-num { background: var(--success); color: #fff; }
        .day-title { flex: 1; }
        .day-title h3 { margin: 0; font-size: 17px; color: var(--ink); }
        .day-title .tag-row { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
        .tag-chip { font-size: 11px; padding: 2px 10px; border-radius: 20px; font-weight: 600; }
        .tag-think { background: #eef0fb; color: #4a56b8; }
        .tag-say { background: #e6f5f1; color: #2f7d6a; }
        .tag-free { background: var(--rose); color: #fff; }
        .free-tip { background: linear-gradient(135deg,#fffdf6,#fdf6e9); border: 1.5px solid var(--gold-light);
            border-radius: 14px; padding: 12px 16px; font-size: 13.5px; color: var(--ink); margin-bottom: 14px; }
        .day-arrow { color: var(--text-light); transition: 0.25s; }
        .day-card.open .day-arrow { transform: rotate(180deg); }
        .day-check {
            width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--cream-dark);
            display: flex; align-items: center; justify-content: center; cursor: pointer;
            background: #fff; font-size: 14px; color: transparent; transition: 0.2s; flex-shrink: 0;
        }
        .day-card.done .day-check { background: var(--success); border-color: var(--success); color: #fff; }

        .day-body { display: none; padding: 24px 22px 26px; }
        .day-card.open .day-body { display: block; }

        .weapon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
        @media (max-width: 760px) { .weapon-grid { grid-template-columns: 1fr; } }
        .weapon-card { border-radius: 16px; padding: 16px 18px; border: 1px solid var(--cream-dark); }
        .weapon-think { background: #f6f7fd; border-left: 4px solid #4a56b8; }
        .weapon-say { background: #f0faf7; border-left: 4px solid #2f7d6a; }
        .weapon-card .w-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
        .weapon-card .w-icon { font-size: 20px; }
        .weapon-card .w-type { font-size: 11px; font-weight: 700; letter-spacing: 1px; }
        .weapon-think .w-type { color: #4a56b8; }
        .weapon-say .w-type { color: #2f7d6a; }
        .weapon-card h4 { margin: 0 0 2px; font-size: 15px; color: var(--ink); }
        .weapon-card h4 .w-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(160,133,74,.45); }
        .weapon-card h4 .w-link:hover { color: var(--gold-dark); border-bottom-color: var(--gold-dark); }
        .weapon-card .w-what { font-size: 13px; color: var(--text); margin-bottom: 8px; }
        .weapon-card .w-formula {
            background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 12.5px;
            border: 1px dashed var(--cream-dark); color: var(--ink); font-weight: 600;
        }
        .weapon-card .w-how { font-size: 12.5px; color: var(--text-light); margin-top: 8px; }
        .weapon-card .w-how b { color: var(--text); }

        /* 话术区 */
        .phrase-block { border-radius: 16px; border: 1px solid var(--cream-dark); background: var(--warn-bg); padding: 16px 18px; margin-bottom: 18px; }
        .phrase-block .ph-title { font-weight: 700; color: var(--gold-dark); font-size: 14px; margin-bottom: 10px; }
        .phrase-item { padding: 10px 0; border-bottom: 1px dashed var(--warn-border); }
        .phrase-item:last-child { border-bottom: none; padding-bottom: 0; }
        .phrase-item .ph-scene { font-size: 12px; font-weight: 700; color: var(--rose); margin-bottom: 4px; }
        .phrase-item .ph-template { font-size: 14px; color: var(--ink); line-height: 1.6; }
        .phrase-item .ph-template em { color: var(--success); font-style: normal; font-weight: 600; }
        .phrase-item .ph-note { font-size: 12px; color: var(--text-light); margin-top: 4px; }

        /* 练习区 */
        .practice-block { border-radius: 16px; background: #fff7f3; border: 1px solid #f3d9c4; padding: 16px 18px; }
        .practice-block .pr-title { font-weight: 700; color: #c76a2e; font-size: 14px; margin-bottom: 8px; }
        .practice-block ul { margin: 0; padding-left: 20px; }
        .practice-block li { font-size: 13px; margin: 4px 0; }
        .practice-block .pr-tip { margin-top: 10px; font-size: 12.5px; color: var(--text-light);
            background: #fff; border-radius: 10px; padding: 10px 12px; border-left: 3px solid var(--gold); }
        .practice-block .pr-check-title { font-weight: 700; color: #2f7d6a; font-size: 13px;
            margin: 12px 0 4px; }
        .practice-block .pr-check { list-style: none; margin: 0; padding-left: 4px; }
        .practice-block .pr-check li { font-size: 13px; margin: 5px 0; line-height: 1.6; }

        /* 空结果 */
        .empty { text-align: center; color: var(--text-light); padding: 60px 0; font-size: 15px; }

        /* ===== 填空（可编辑） ===== */
        .fill { display: inline-block; min-width: 70px; border-bottom: 2px dashed var(--gold-dark);
            color: var(--success); font-weight: 700; cursor: pointer; padding: 0 6px; text-align: center;
            line-height: 1.9; transition: 0.15s; border-radius: 4px 4px 0 0; }
        .fill:hover { background: var(--gold-light); border-bottom-style: solid; }
        .fill.filled { border-bottom: 2px solid var(--success); }

        /* ===== 收藏 ===== */
        .day-fav { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
            justify-content: center; font-size: 17px; cursor: pointer; background: #fff;
            border: 2px solid var(--cream-dark); color: #ccc; flex-shrink: 0; transition: 0.2s; }
        .day-fav:hover { border-color: var(--gold); }
        .day-fav.on { background: var(--gold); border-color: var(--gold); color: #fff; }

        /* ===== 笔记 ===== */
        .note-block { border-radius: 16px; border: 1px solid var(--cream-dark); background: #fffdf7;
            padding: 14px 18px; margin-bottom: 14px; }
        .nb-title { font-weight: 700; color: var(--gold-dark); font-size: 13.5px; margin-bottom: 8px; }
        .note-block textarea { width: 100%; min-height: 64px; border: 1px dashed var(--warn-border);
            border-radius: 10px; padding: 10px 12px; font-size: 16px; font-family: inherit;
            background: #fff; resize: vertical; color: var(--text); line-height: 1.7; }
        .note-block textarea:focus { outline: none; border-color: var(--gold); border-style: solid; }
        .nb-saved { font-size: 11px; color: var(--success); margin-left: 6px; opacity: 0; transition: 0.4s; }
        .nb-saved.show { opacity: 1; }

        /* ===== 失败复盘 ===== */
        .review-block { border-radius: 16px; border: 1px solid #e3d9f5; background: #faf7ff;
            padding: 14px 18px; margin-bottom: 14px; }
        .rv-title { font-weight: 700; color: #6a4fb5; font-size: 13.5px; margin-bottom: 6px; }
        .rv-prompt { font-size: 13px; color: var(--text); background: #f1eafc; border-radius: 10px;
            padding: 10px 12px; margin-bottom: 10px; line-height: 1.7; }
        .review-block textarea { width: 100%; min-height: 70px; border: 1px dashed #c9b6ee;
            border-radius: 10px; padding: 10px 12px; font-size: 16px; font-family: inherit;
            background: #fff; resize: vertical; color: var(--text); line-height: 1.7; }
        .review-block textarea:focus { outline: none; border-color: #6a4fb5; border-style: solid; }

        /* ===== 录音 ===== */
        .rec-block { border-radius: 16px; border: 1px solid var(--cream-dark); background: #f7f9ff;
            padding: 14px 18px; margin-bottom: 14px; }
        .rb-title { font-weight: 700; color: #4a56b8; font-size: 13.5px; margin-bottom: 8px; }
        .rec-btn { padding: 8px 20px; border-radius: 30px; border: none; background: var(--ink);
            color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.2s; font-family: inherit; }
        .rec-btn:hover { background: var(--gold-dark); }
        .rec-btn.recording { background: #c0392b; animation: pulse 1s infinite; }
        @keyframes pulse { 50% { opacity: 0.65; } }
        .rec-status { margin-left: 12px; font-size: 12.5px; color: var(--text-light); }
        .rec-list { margin-top: 10px; }
        .rec-item { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px;
            padding: 6px 12px; margin: 6px 0; border: 1px solid var(--cream-dark); flex-wrap: wrap; }
        .rec-item audio { height: 34px; flex: 1; min-width: 200px; }
        .rec-item span { font-size: 11px; color: var(--text-light); white-space: nowrap; }
        .rec-del { border: none; background: none; cursor: pointer; font-size: 15px; padding: 4px; }
        .rec-del:hover { transform: scale(1.2); }
        .rec-empty { font-size: 12.5px; color: var(--text-light); padding: 4px 0; }

        /* ===== 毕业徽章 ===== */
        .grad-banner { background: linear-gradient(135deg, #1A1A2E, #A0854A); color: #fff;
            border-radius: 22px; padding: 30px 32px; text-align: center; margin-bottom: 24px;
            border: 2px solid var(--gold); box-shadow: 0 12px 44px rgba(201,169,110,0.35); }
        .grad-banner .gb-emoji { font-size: 52px; display: block; margin-bottom: 8px; }
        .grad-banner h2 { margin: 0 0 6px; font-size: 24px; color: var(--gold-light); }
        .grad-banner p { margin: 4px 0; color: #d5d9f0; font-size: 14px; }
        .grad-banner .gb-line { display: inline-block; margin-top: 10px; background: var(--gold);
            color: var(--ink); font-weight: 800; padding: 6px 20px; border-radius: 30px; font-size: 13px; }

        @media (max-width: 640px) { .hero h1 { font-size: 24px; } .day-head { padding: 12px 16px; } }

/* ============ 布局精修 v2（2026-09-11；如需回滚，整段删除即可） ============ */
/* 宽屏内容列：统一 1020px，知识卡页同宽避免跳转（旧 1080/1000 双值已合并） */
@media (min-width: 1200px) { .app-wrap { max-width: 1020px; } }

/* 首页会员横幅：之前塞在 3 列网格里只占 1/3，改为整行横幅 */
.banner-section { display: block; }
.banner-section .banner-card { padding: 24px 28px; }

/* 首页新手 3 步：移动端三列一行；超小屏隐藏描述防挤压 */
@media (max-width: 767px) {
  #newbieGrid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  #newbieGrid .tool-card { padding: 12px 8px; }
  #newbieGrid .tool-card .t-icon { font-size: 22px; }
  #newbieGrid .tool-card .t-name { font-size: 13px; }
  #newbieGrid .tool-card .t-desc { font-size: 10.5px; }
}
@media (max-width: 380px) {
  #newbieGrid .tool-card .t-desc { display: none; }
}

/* 模型库列表：桌面两列，减少“一行一条”的大片留白 */
@media (min-width: 768px) {
  .mm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: stretch; }
  .mm-grid .library-item { margin: 0; }
}

/* 付费墙锁定块：从细线提示升级为深色 CTA 卡 */
.vip-lock { display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #1A1A2E, #2D2D44); color: #fff;
  border-radius: 16px; padding: 16px 18px; margin: 18px 0 6px;
  box-shadow: 0 12px 30px -14px rgba(26,26,46,.5); }
.vip-lock-ico { font-size: 24px; flex-shrink: 0; }
.vip-lock-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vip-lock-body b { color: #E8D5A3; font-size: 14.5px; }
.vip-lock-body span { font-size: 12.5px; color: #c8cbe0; line-height: 1.6; }
.vip-lock-acts { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.vip-lock-btn { background: #C9A96E; color: #1A1A2E; font-weight: 800; font-size: 13px;
  padding: 8px 16px; border-radius: 24px; text-decoration: none; text-align: center; white-space: nowrap; }
.vip-lock-btn:hover { background: #dfc392; color: #1A1A2E; }
.vip-lock-login { color: #c8cbe0; font-size: 12px; text-align: center; text-decoration: none; white-space: nowrap; }
.vip-lock-login:hover { color: #fff; }
@media (max-width: 440px) {
  .vip-lock { flex-wrap: wrap; }
  .vip-lock-body { flex: 1 1 60%; }
  .vip-lock-acts { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

/* ============ 金黑高级感精修 v3（2026-09-11；如需回滚，整段删除即可） ============ */
/* 1) 阅读排版：中文正文 15px 基准，卡片内行高放松 */
body { font-size: 15px; }
.card-content { font-size: 15px; line-height: 1.85; }
.card-content p { line-height: 1.85; }
.scenario-item { font-size: 14px; line-height: 1.85; }
.core-tag { font-size: 14px; line-height: 1.8; padding: 12px 16px; }
.reflex-check, .cross-ref-note { font-size: 14px; line-height: 1.8; padding: 12px 16px; }
.formula-list > li { font-size: 14px; line-height: 1.85; }
.essence-questions, .essence-strike { font-size: 14px; line-height: 1.8; }
.case-title, .pitfall-title { font-size: 14px; }

/* 2) 宽屏下：与上面统一 1020px，保证中文行宽舒适且不跳变 */
@media (min-width: 1200px) {
  .app-wrap:has(.model-card) { max-width: 1020px; }
}

/* 3) 知识卡头部：可点击感 + 圆形箭头 */
.model-card summary { padding: 18px 24px; transition: background .15s; }
.model-card summary:hover { background: #faf7f0; }
.model-card summary .toggle-icon { width: 26px; height: 26px; border-radius: 50%; background: #fdf6e9;
  display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; color: #A0854A; }
.model-card details[open] summary .toggle-icon { background: #1A1A2E; color: #E8D5A3; }
@media (max-width: 700px) {
  .model-card summary { padding: 14px 16px; font-size: 14.5px; }
}

/* 4) 卡片间距节奏统一（圆角已在上文定为 18px） */
.model-card { margin-bottom: 18px; }
.tool-card, .tri-card, .library-item { transition: transform .15s, box-shadow .15s, border-color .15s; }
.tool-card:hover, .tri-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,26,46,.10); }
.library-item:hover { border-left-color: #C9A96E; }

/* 5) 分区标题右侧渐隐线，页面层级更清楚 */
.section h2 { display: flex; align-items: center; gap: 10px; }
.section h2::after { content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, #EDE7DA, rgba(237,231,218,0)); }

/* 6) 按钮统一为胶囊 + 金色主按钮文字深色 */
.btn { border-radius: 30px; font-weight: 700; }

/* 7) 首页话术卡与会员横幅质感 */
.quote-card { background: linear-gradient(135deg, #fffdf7, #fdf6e9); }
.banner-card { transition: filter .15s; }
.banner-card:hover { filter: brightness(1.06); }

/* 8) 训练营日卡右侧：箭头做成与收藏同款的圆形按钮，点按区域更大 */
.day-arrow { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: #fff; border: 2px solid var(--cream-dark); color: #A0854A;
  font-size: 11px; flex-shrink: 0; }
.day-card.open .day-arrow { border-color: #C9A96E; background: #fdf6e9; }
.day-arrow:hover { border-color: #C9A96E; background: #fdf6e9; }
.day-check:hover { border-color: var(--success); color: rgba(91, 138, 114, .5); }

/* 9) 首页 hero 首屏层级：徽章 / 热词 / CTA / 信任背书 */
.hero-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px;
  color: #E8D5A3; background: rgba(232, 213, 163, .14); border: 1px solid rgba(232, 213, 163, .35);
  border-radius: 30px; padding: 5px 14px; margin-bottom: 12px; }
.hero-brand .slogan { margin-bottom: 6px; }
.hero-brand .desc { max-width: 680px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.hero-chips .hc-label { font-size: 12.5px; color: #a9adc6; }
.hero-chips a { font-size: 12.5px; color: #E8D5A3; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px; padding: 3px 12px; transition: .15s; }
.hero-chips a:hover { background: rgba(232, 213, 163, .18); border-color: rgba(232, 213, 163, .5); }
.hero-cta { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.hero-cta-2 { color: #E8D5A3; font-weight: 700; font-size: 14px; text-decoration: none; }
.hero-cta-2:hover { color: #fff; }
.hero-trust { margin-top: 16px; font-size: 12px; color: #a9adc6; }
.hero-trust a { color: #E8D5A3; text-decoration: none; border-bottom: 1px dashed rgba(232, 213, 163, .5); }
@media (max-width: 767px) {
  .hero-badge { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
  .hero-brand .desc { font-size: 13px; }
  .hero-trust { font-size: 11.5px; line-height: 1.9; }
}

/* 10) 目录吸顶：模型页目录 + 逻辑基石等页的 chip 目录，桌面端滚动时固定导航 */
@media (min-width: 900px) {
  .mm-toc { position: sticky; top: 104px; z-index: 40; background: rgba(250, 248, 243, .97);
    backdrop-filter: blur(8px); box-shadow: 0 8px 18px -12px rgba(26, 26, 46, .28); }
  .toc-grid { position: sticky; top: 104px; z-index: 40; flex-wrap: nowrap; overflow-x: auto;
    background: rgba(250, 248, 243, .97); backdrop-filter: blur(8px);
    padding: 10px; margin: -10px 0 20px; border-radius: 16px;
    box-shadow: 0 8px 18px -12px rgba(26, 26, 46, .22); }
  .toc-grid .toc-item { flex-shrink: 0; }
}

/* 11) 支付二维码区块 */
.pay-box { text-align: center; margin-top: 14px; padding: 16px; border: 1.5px dashed var(--gold-light);
  border-radius: 14px; background: #fffdf7; }
.pay-title { font-weight: 800; color: var(--ink); font-size: 14.5px; }
.pay-qr { width: 200px; height: 200px; margin: 10px auto 6px; display: block;
  border: 6px solid #fff; border-radius: 12px; box-shadow: 0 8px 22px -10px rgba(26, 26, 46, .3); }
.pay-tip { font-size: 12px; color: var(--text-light); }
