/* 阶段 2m：我的成长计划 / 能力对比（两条机会卡片 + 五维条形图） */
  .qt-sp-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:10px 0 14px; }
  .qt-sp-card { background:var(--card,#fff); border:1px solid var(--border,#e5e7eb); border-radius:14px; padding:14px; }
  .qt-sp-card-head { font-size:14px; font-weight:700; margin-bottom:10px; color:var(--text,#111); }
  .qt-sp-row { display:flex; justify-content:space-between; align-items:center; font-size:13px; padding:4px 0; color:var(--text-light,#666); }
  .qt-sp-row b { color:var(--text,#111); }
  .qt-sp-row-note { font-size:13px; color:var(--text-light,#888); margin-top:8px; line-height:1.5; }
  .qt-sp-bar-row { display:flex; align-items:center; gap:8px; font-size:13px; padding:3px 0; }
  .qt-sp-bar-name { flex:0 0 56px; color:var(--text-light,#666); }
  .qt-sp-bar-track { flex:1 1 auto; height:8px; border-radius:6px; background:rgba(0,0,0,.06); overflow:hidden; display:block; }
  .qt-sp-bar-fill { display:block; height:100%; border-radius:6px; background:var(--primary,#3b82f6); }
  .qt-sp-fill-mentor { background:#10b981; }
  .qt-sp-bar-val { flex:0 0 44px; text-align:right; color:var(--text,#111); font-weight:600; }
  @media (max-width:640px){ .qt-sp-grid{ grid-template-columns:1fr; } }

  * { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
  /* 锁定系统/浏览器字体自动放大：iOS 横竖屏切换、Android WebView 字体加粗放大均不再改变布局 */
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
  img { max-width:100%; height:auto; }
  :root {
    /* 青藤跃迁官方品牌色（2026-10-29 对齐封面参考图青藤绿）
       主色 青藤绿 #2E7D32 ｜ 深色 #1B5E20 ｜ 强调 描金 #D4AF5E ｜ 浅绿底 #E8F5E9 */
    --primary:#2E7D32; --primary-light:#43A047; --primary-dark:#1B5E20;
    --green:#2E7D32; --green-dark:#1B5E20; --gold-accent:#D4AF5E;
    --green-light:#E8F5E9; --light-green:#E8F5E9;
    --bg:#F7F5EF; --bg-outer:#E8F5E9; --white:#FFFFFF; --text:#1A1A2E; --text-secondary:#4F5F58; --text-light:#606F68;
    --link:#2F6A5C;
    --border:#E5E7EB; --border-light:#F3F4F6; --card-shadow:0 2px 12px rgba(0,0,0,.06);
    /* 语义表面色（次级背景、进度条底等） */
    --surface-2:#F3F4F6; --surface-3:#E5E7EB;
    /* 状态色背景 + 文字（浅色模式） */
    --warning-bg:#FEF3C7; --warning-text:#92400E;
    --success-bg:#E8F5E9; --success-text:#2E7D32;
    --info-bg:#DBEAFE; --info-text:#1E40AF;
    --danger-bg:#FEE2E2; --danger-text:#B91C1C;
    --gold-bg:#FEFCE8; --gold-text:#A16207;
    --radius:12px; --radius-lg:16px; --radius-xl:16px; --radius-md:12px;
    --gradient-primary:linear-gradient(135deg,#1B5E20 0%,#388E3C 100%);
    --gradient-gold:linear-gradient(135deg,#D4AF5E 0%,#B45309 100%);
    --gradient-profile:linear-gradient(135deg,#1B5E20 0%,#2E7D32 40%,#43A047 100%);
    --danger:#B91C1C; --warning:#B45309; --gold:#A16207; --silver:#5F6E67; --bronze:#8A4B1E;
    --green-ink:#2E7D32; --danger-ink:#B91C1C; --warning-ink:#B45309; --gold-ink:#A16207;
    --silver-ink:#5F6E67; --bronze-ink:#8A4B1E;
    /* 登录页背景：对齐参考图深绿→中绿渐变 */
    --login-bg:linear-gradient(165deg,#1B5E20 0%,#27712B 40%,#348839 100%);
  }
  /* ===== 深色模式：跟随系统（data-theme="auto" 时生效） ===== */
  @media (prefers-color-scheme: dark) {
    html[data-theme="auto"] {
      --bg:#0F1115; --bg-outer:#0A0C0F; --white:#1A1D23; --text:#F5F5F7; --text-secondary:#B4B4BC; --text-light:#9CA3AF;
      --link:#7CC7B3;
      --green-ink:#66BB6A; --danger-ink:#F87171; --warning-ink:#FBBF24; --gold-ink:#FBBF24;
      --silver-ink:#D1D5DB; --bronze-ink:#E0A16A;
      --border:#2A2D35; --border-light:#22252C; --card-shadow:0 2px 12px rgba(0,0,0,.35);
      --surface-2:#22252C; --surface-3:#2A2D35;
      --warning-bg:rgba(245,158,11,.14); --warning-text:#FBBF24;
      --success-bg:rgba(56,142,60,.18); --success-text:#66BB6A;
      --info-bg:rgba(59,130,246,.14); --info-text:#60A5FA;
      --danger-bg:rgba(239,68,68,.14); --danger-text:#F87171;
      --gold-bg:rgba(251,191,36,.14); --gold-text:#FBBF24;
      --gradient-primary:linear-gradient(135deg,#1B5E20 0%,#388E3C 100%);
      --gradient-profile:linear-gradient(135deg,#1B5E20 0%,#2E7D32 40%,#43A047 100%);
      color-scheme:dark;
    }
  }
  /* ===== 深色模式：手动强制（data-theme="dark"） ===== */
  html[data-theme="dark"] {
    --bg:#0F1115; --bg-outer:#0A0C0F; --white:#1A1D23; --text:#F5F5F7; --text-secondary:#B4B4BC; --text-light:#9CA3AF;
    --link:#7CC7B3;
    --green-ink:#66BB6A; --danger-ink:#F87171; --warning-ink:#FBBF24; --gold-ink:#FBBF24;
    --silver-ink:#D1D5DB; --bronze-ink:#E0A16A;
    --border:#2A2D35; --border-light:#22252C; --card-shadow:0 2px 12px rgba(0,0,0,.35);
    --surface-2:#22252C; --surface-3:#2A2D35;
    --warning-bg:rgba(245,158,11,.14); --warning-text:#FBBF24;
    --success-bg:rgba(56,142,60,.18); --success-text:#66BB6A;
    --info-bg:rgba(59,130,246,.14); --info-text:#60A5FA;
    --danger-bg:rgba(239,68,68,.14); --danger-text:#F87171;
    --gold-bg:rgba(251,191,36,.14); --gold-text:#FBBF24;
    --gradient-primary:linear-gradient(135deg,#1B5E20 0%,#388E3C 100%);
    --gradient-profile:linear-gradient(135deg,#1B5E20 0%,#2E7D32 40%,#43A047 100%);
    color-scheme:dark;
  }
  /* data-theme="light" 时不覆盖任何变量，直接用 :root 原值 */
  /* 移动优先：body 与 .app 同色、全宽，避免宽屏手机两侧漏出深绿"画中画" */
  body { font-family:var(--font-sans,"KWNotoSansSC","Noto Sans SC","Source Han Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif); background:var(--bg); color:var(--text); text-rendering:optimizeLegibility; transition:background .25s,color .25s; touch-action:manipulation; overscroll-behavior-y:none; }
  /* 尊重系统级"减弱动态效果"偏好 */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  }
  .app { width:100%; max-width:100%; min-height:100vh; min-height:100dvh; background:var(--bg); position:relative; overflow-x:hidden; }

  /* ===== Pages ===== */
  .page { display:none; min-height:100vh; min-height:100dvh; padding-bottom:calc(72px + env(safe-area-inset-bottom)); animation:fadeIn .25s ease; }
  .page.active { display:block; }
  @keyframes fadeIn { from{opacity:0} to{opacity:1} }

  /* ===== Login Page — Green Gold Theme ===== */
  .login-page { background:var(--login-bg); padding:20px; min-height:100vh; min-height:100dvh; position:relative; overflow:hidden; }
  .page.login-page.active { display:flex; align-items:center; justify-content:center; }
  .login-page::before { content:''; position:absolute; width:360px; height:360px; border-radius:50%; background:rgba(255,255,255,.04); top:-120px; right:-90px; }
  .login-page::after { content:''; position:absolute; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.03); bottom:-70px; left:-70px; }
  .login-card { background:rgba(255,255,255,.96); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border-radius:16px; padding:38px 30px 30px; width:100%; max-width:380px; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,.28),0 4px 16px rgba(0,0,0,.08); position:relative; z-index:1; color:#1A1A2E; }
  .login-logo { display:flex; flex-direction:column; align-items:center; margin-bottom:10px; }
  .login-logo-img { width:110px; height:auto; object-fit:contain; margin-bottom:8px; filter:drop-shadow(0 4px 12px rgba(27,94,32,.3)); }
  /* 登录页按钮：统一高度 44px，宽度贴合文字、单行居中显示，与输入框/标签高度一致。
     注意：必须是 display:flex（块级）而非 inline-flex，否则 margin:auto 不生效、按钮会贴左/异常。 */
  .login-card .btn-primary,
  .login-card .guest-btn,
  .login-card .wechat-reg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    height: 44px;
    padding: 0 28px;
  }
  /* 登录页输入框：统一 44px 高度，更紧凑、不显笨重（覆盖基础 .form-input 与居中变体） */
  .login-card .form-input,
  .login-card .form-group-center .form-input {
    height: 44px;
    padding: 0 14px;
  }
  .login-back { text-align:left; font-size:13px; color:var(--primary); margin-top:8px; cursor:pointer; }
  .profile-member-no { display:inline-block; font-size:14px; font-weight:700; color:var(--primary); letter-spacing:.5px; margin-top:4px; padding:3px 10px; background:var(--surface-2); border-radius:8px; }
  .member-info-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--border-light); font-size:14px; }
  .member-info-row:last-of-type { border-bottom:none; }
  .member-info-row span { color:var(--text-secondary); }
  .member-info-row b { color:var(--text); font-weight:700; word-break:break-all; text-align:right; }
  .member-no-val { color:var(--primary); font-weight:700; letter-spacing:.5px; font-size:15px; }
  .login-title { font-size:15px; font-weight:500; color:var(--text-light); margin:4px 0 22px; }

  .form-group { text-align:left; margin-bottom:14px; }
  .form-input:focus { border-color:var(--primary); }
  .form-group-center { text-align:center; }
  .form-group-center .form-input { width:50%; display:inline-block; text-align:center; padding:11px 14px; font-size:16px; }
  .login-hint { font-size:13px; color:var(--text-light); text-align:center; margin:10px 0 0; line-height:1.5; }
  .register-pane-content { padding:18px 0 6px; text-align:center; }
  .register-hint { font-size:13px; color:#4B5563; line-height:1.6; margin:0 0 14px; }
  .wechat-reg-btn { padding:14px 22px; font-size:16px; margin:6px 0 10px; background:#2E7D32; }
  .wechat-reg-btn:hover { background:#2E7D32; }
  .register-sub-hint { font-size:13px; color:var(--text-light); margin:0; }
  /* 支付方案弹窗 */
  .pay-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; z-index:5000; padding:16px; }
  .pay-modal { background:#fff; border-radius:14px; padding:22px 20px calc(18px + env(safe-area-inset-bottom)); width:100%; max-width:360px; color:#1A1A2E; max-height:90vh; max-height:90dvh; overflow-y:auto; -webkit-overflow-scrolling:touch; box-shadow:0 20px 60px rgba(0,0,0,.3); }
  .pay-modal-title { margin:0 0 6px; font-size:17px; text-align:center; color:#1A1A2E; }
  .pay-modal-sub { margin:0 0 14px; font-size:13px; color:var(--text-light); text-align:center; }
  .pay-testi { margin:0 0 12px; padding:10px 12px; border-radius:10px; background:#F7F5EF; border:1px solid rgba(39,113,43,.16); font-size:13px; line-height:1.6; color:#374151; }
  .pay-testi b { color:#27712B; }
  .pay-testi .who { display:block; margin-top:4px; font-size:13px; color:var(--text-light); }
  .pay-form-group { margin-bottom:10px; }
  .pay-form-group label { display:block; font-size:13px; color:#374151; margin-bottom:5px; font-weight:500; }
  .pay-plans-list { display:flex; flex-direction:column; gap:8px; margin:12px 0 14px; }
  .pay-plan-card { border:1.5px solid #E5E7EB; border-radius:10px; padding:12px 14px; cursor:pointer; transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; display:flex; align-items:center; justify-content:space-between; background:#fff; }
  .pay-plan-card:hover { border-color:var(--primary); transform:translateY(-1px); }
  .pay-plan-card.selected { border-color:var(--primary); background:rgba(46,125,50,.05); }
  .pay-plan-left { flex:1; }
  .pay-plan-label { font-size:15px; font-weight:600; color:#1A1A2E; }
  .pay-plan-desc { font-size:13px; color:var(--text-light); margin-top:2px; }
  .pay-plan-right { text-align:right; }
  .pay-plan-price { font-size:20px; font-weight:700; color:var(--primary); }
  .pay-plan-days { font-size:13px; color:var(--text-light); }
  .pay-modal-actions { display:flex; gap:10px; margin-top:10px; }
  .pay-modal-actions .btn { flex:1; padding:12px; }
  .pay-modal-cancel { text-align:center; color:var(--text-light); font-size:13px; cursor:pointer; padding:10px; margin-top:6px; }
  .pay-pending { text-align:center; padding:24px 10px; }
  .pay-pending-msg { font-size:14px; color:#374151; margin:12px 0 4px; }
  .pay-pending-hint { font-size:13px; color:var(--text-light); }
  .pay-spinner { display:inline-block; width:32px; height:32px; border:3px solid #E5E7EB; border-top-color:var(--primary); border-radius:50%; animation:_spin 1s linear infinite; }
  @keyframes _spin { to { transform:rotate(360deg); } }
  .checkbox-row { display:flex; align-items:flex-start; gap:10px; cursor:pointer; padding:10px 4px; }
  .checkbox-row input[type=checkbox] { width:20px; height:20px; accent-color:var(--primary); margin-top:1px; flex-shrink:0; }
  .checkbox-label { font-size:15px; color:#374151; line-height:1.6; }
  .checkbox-label strong { color:#1A1A2E; font-weight:600; }
  .checkbox-hint { font-size:13px; color:var(--text-light); margin-top:2px; padding-left:0; }

  .btn { width:100%; padding:14px; border:none; border-radius:var(--radius); font-size:16px; font-weight:600; cursor:pointer; transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; display:inline-flex; align-items:center; justify-content:center; gap:6px; }
  .btn-primary { background:var(--green); color:#fff; }
  .btn-primary:hover { background:var(--green-dark); }
  .btn-primary:active { transform:scale(.98); }
  .btn-outline { background:var(--white); color:var(--text-secondary); border:1.5px solid var(--border); }
  .btn-outline:hover { border-color:var(--primary); color:var(--primary); }
  .btn-purple { background:var(--primary); color:#fff; }
  .btn-purple:hover { background:var(--primary-dark); }

  .divider-text { text-align:center; margin:24px 0 16px; font-size:13px; color:var(--text-light); }
  .section-label { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--text); margin-bottom:12px; text-align:left; }
  .section-label-icon { font-size:17px; }
  .guest-btn { width:100%; padding:13px; border:1.5px solid var(--border); border-radius:var(--radius); background:var(--white); font-size:14px; color:var(--text-secondary); cursor:pointer; transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; }
  .guest-btn:hover { border-color:var(--primary); color:var(--primary); }
  .non-member { text-align:center; font-size:13px; color:var(--text-light); margin-top:16px; }
  .auth-tabs { display:flex; gap:8px; margin:14px 0 18px; }
  .auth-tab { flex:1; height:44px; display:flex; align-items:center; justify-content:center; box-sizing:border-box; border:1.5px solid #E5E7EB; border-radius:var(--radius); background:#F3F4F6; color:var(--text-light); font-size:14px; cursor:pointer; transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; }
  .auth-tab.active { background:#1A1A2E; color:#fff; border-color:#1A1A2E; }

  /* ===== 登录极简化（2026-11-07 契约 §3）：主入口 / 折叠区 / 手机号验证码弹层 ===== */
  /* 折叠区展开后卡片可能超过一屏：让登录页可纵向滚动，卡片在内容不足时仍垂直居中。
     注意：宽度 100%、无横向滚动（移动端 480px 优先）。 */
  .login-page { overflow-x:hidden; overflow-y:auto; }
  .page.login-page.active { align-items:flex-start; justify-content:center; }
  .login-page::after { bottom:0; }
  .login-card { margin:auto 0; }
  .login-main-entries { display:flex; flex-direction:column; gap:10px; margin:6px 0 2px; }
  /* 主入口按钮：整宽、46px 高，绿底一键登录 / 白底描边快捷登录 / 白底描边先玩 */
  .login-card .login-entry-btn { display:flex; align-items:center; justify-content:center; width:100%; max-width:100%; min-height:46px; height:auto; margin:0; padding:12px 18px; border:none; border-radius:12px; font-size:16px; font-weight:600; font-family:inherit; cursor:pointer; white-space:normal; }
  .login-card .login-entry-btn:active { transform:scale(.99); }
  .login-card .login-entry-btn.wechat-reg-btn { background:#2E7D32; color:#fff; }
  .login-card .login-entry-btn.phone-entry-btn { background:#fff; color:#2E7D32; border:1.5px solid #2E7D32; }
  .login-card .login-entry-btn.login-entry-ghost { background:#fff; color:#374151; border:1.5px solid var(--border); font-size:15px; font-weight:500; }
  .login-entry-reason { margin:0; font-size:13px; color:#B45309; line-height:1.5; text-align:center; }
  .login-main-entries .non-member { margin:2px 0 0; }
  /* 折叠区（<details>）：默认收起，点击标题展开 */
  .login-fold { margin-top:10px; border-top:1px solid #E5E7EB; text-align:left; }
  .login-fold-summary { list-style:none; cursor:pointer; padding:12px 4px; font-size:14px; color:var(--link); font-weight:500; text-decoration:underline; text-underline-offset:2px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
  .login-fold-summary::-webkit-details-marker { display:none; }
  .login-fold-summary::after { content:'▾'; font-size:13px; color:var(--text-light); transition:transform .2s; }
  .login-fold[open] > .login-fold-summary::after { transform:rotate(180deg); }
  .login-fold-body { padding:2px 0 6px; }
  .login-fold .form-group-center .form-input { width:100%; text-align:left; }
  .login-card .login-fold-body .btn-primary { width:100%; }
  .login-fold-link { margin:8px 0 0; font-size:13px; color:var(--text-light); text-align:center; }
  .login-fold-link a { color:var(--link); font-weight:500; text-decoration:underline; text-underline-offset:2px; }
  /* 底部统一同意行（年满 18 + 用户协议/隐私政策） */
  .login-consent { margin-top:14px; border-top:1px solid #E5E7EB; padding-top:12px; }
  .login-consent a { color:var(--link); font-weight:500; text-decoration:underline; text-underline-offset:2px; }
  /* 手机号验证码弹层（复用 .modal-mask/.modal-box 骨架，只收窄与排版） */
  .modal-box.phone-login-box { max-width:360px; text-align:left; }
  .phone-login-title { text-align:center; }
  .phone-login-sub { margin:0 0 14px; font-size:13px; color:var(--text-light); text-align:center; line-height:1.5; }
  .phone-login-label { display:block; font-size:13px; color:#374151; margin-bottom:5px; font-weight:500; }
  .phone-login-box .form-input { width:100%; }
  .phone-login-box .btn { width:100%; margin-top:10px; }
  .phone-login-msg { min-height:18px; margin:8px 0 0; font-size:13px; line-height:1.5; color:var(--text-light); }
  .phone-login-sent { margin:0 0 10px; font-size:13px; color:#374151; line-height:1.6; word-break:break-all; }
  .phone-login-sent b { color:#2E7D32; }
  .phone-login-resend { font-size:14px; }
  .phone-login-change { margin:10px 0 0; text-align:center; font-size:13px; }
  .phone-login-change a { color:var(--link); font-weight:500; text-decoration:underline; text-underline-offset:2px; }

  /* ===== Common Header ===== */
  .header { display:flex; align-items:center; justify-content:space-between; padding:calc(14px + env(safe-area-inset-top)) 16px 8px; background:var(--bg); position:sticky;top:0;z-index:100; }
  .header-left { display:flex; align-items:center; gap:2px; color:var(--primary); font-size:15px; font-weight:600; line-height:1; cursor:pointer; padding:8px 4px; min-width:44px; min-height:44px; background:transparent; }
  .header-left svg { width:22px; height:22px; display:block; flex-shrink:0; }
  .header-center { font-size:clamp(16px, 4.6vw, 18px); font-weight:700; color:var(--text); }
  .header-right { min-width:44px; min-height:44px; display:flex; align-items:center; justify-content:flex-end; padding:0 4px; text-align:right; }
  /* 竞技场顶部标题栏（与 .header 风格统一） */
  .top-bar { display:flex; align-items:center; justify-content:center; padding:calc(14px + env(safe-area-inset-top)) 16px 8px; background:var(--bg); position:sticky; top:0; z-index:100; }
  .top-title { font-size:clamp(16px, 4.6vw, 18px); font-weight:700; color:var(--text); }
  .greeting-right { display:flex; align-items:center; gap:10px; }
  .lang-switch { display:flex; gap:2px; background:#F1F5F9; border-radius:999px; padding:2px; }
  .lang-switch button { border:0; background:transparent; font-size:13px; line-height:1; padding:8px 12px; border-radius:999px; color:#64748B; cursor:pointer; white-space:nowrap; font-family:inherit; }
  .lang-switch button.active { background:var(--primary); color:#fff; font-weight:600; }
  .back-arrow { font-size:28px; line-height:1; font-weight:700; }

  /* ===== Home Page ===== */
  .home-greeting { padding:14px 16px 10px; }
  .greeting-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .greeting-text { font-size:clamp(15px, 4.5vw, 18px); font-weight:600; color:var(--text-0); flex:1 1 auto; min-width:0; line-height:1.4; overflow-wrap:anywhere; word-break:break-word; }
  .greeting-name { color:var(--primary); font-weight:700; }
  .greeting-bell { width:44px; height:44px; border-radius:50%; background:var(--white); display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--text-secondary);box-shadow:0 1px 4px rgba(0,0,0,.08);cursor:pointer;position:relative;}
  /* 2026-11-03：右上角铃铛从「红点」改成「未读数」——未读 6 条就显示 6，读完消失 */
  .greeting-bell.has-unread::after{display:none;}
  .notif-badge { position:absolute; top:-5px; right:-5px; min-width:19px; height:19px; padding:0 5px; border-radius:10px; background:var(--danger); color:#fff; font-size:13px; font-weight:700; line-height:19px; text-align:center; border:2px solid var(--white); box-sizing:border-box; display:none; }

  .stats-row { display:flex; gap:10px; padding:12px 16px 8px; }
  /* 2026-11-04：真实用户反馈（李瑞莹授权使用，实名+学校） */
  .testi-card { margin:12px 16px 4px; padding:14px 16px; border-radius:16px; background:linear-gradient(135deg,#F7F5EF 0%,#EEF6EF 100%); border:1px solid rgba(39,113,43,.18); box-shadow:0 2px 10px rgba(27,94,32,.06); cursor:pointer; }
  .testi-top { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; font-size:13px; color:var(--text-light); }
  .testi-top b { color:#27712B; font-size:13px; }
  .testi-quote { margin-top:8px; font-size:15px; line-height:1.7; font-weight:700; color:#12281E; }
  .testi-cta { margin-top:8px; font-size:13px; color:#27712B; font-weight:700; }
  .testi-note { margin-top:6px; font-size:13px; color:var(--text-light); }
  /* P0-1（2026-10-27）一键开演 · 今日一战大卡：首屏第一个动作，免挑选直接进对话 */
  .today-battle-card { margin:12px 16px 4px; border-radius:16px; background:linear-gradient(135deg,#2E7D32 0%,#388E3C 100%); color:#fff; padding:16px 18px; cursor:pointer; box-shadow:0 6px 16px rgba(27,94,32,.22); position:relative; overflow:hidden; }
  .today-battle-card::after { content:""; position:absolute; right:-26px; top:-26px; width:110px; height:110px; border-radius:50%; background:rgba(255,255,255,.08); }
  /* 品牌主口号（2026-11-03）：首页最上方一行大字，直接当开练入口 */
  .home-hero { margin:14px 16px 6px; border-radius:18px; padding:20px 16px 15px; text-align:center; color:#fff; cursor:pointer; position:relative; overflow:hidden;
    background:linear-gradient(135deg,#143d24 0%,#1B5E20 45%,#2E7D32 100%); box-shadow:0 10px 24px rgba(27,94,32,.25); }
  .home-hero::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 82% -10%,rgba(245,210,122,.22),transparent 55%); }
  .home-hero:active { transform:scale(.992); }
  .home-hero-slogan { position:relative; display:inline-block; font-size:clamp(27px,8.2vw,38px); font-weight:900; letter-spacing:2px; line-height:1.2; white-space:nowrap; padding-bottom:6px; border-bottom:3px solid rgba(245,210,122,.9); text-shadow:0 2px 12px rgba(0,0,0,.22); }
  .home-hero-sub { position:relative; margin-top:8px; font-size:13px; color:rgba(255,255,255,.9); letter-spacing:.3px; }
  .home-hero-sub .arr { color:#FFE8B5; font-weight:700; }
  .today-battle-top { display:flex; justify-content:space-between; align-items:center; font-size:13px; }
  .today-battle-label { font-weight:700; letter-spacing:.5px; }
  .today-battle-tip { font-size:13px; opacity:1; }
  .today-battle-name { font-size:21px; font-weight:700; margin-top:8px; line-height:1.3; }
  .today-battle-goal { font-size:13.5px; opacity:1; margin-top:4px; line-height:1.5; }
  .today-battle-cta { display:inline-block; margin-top:12px; background:#fff; color:#2E7D32; font-weight:700; font-size:14px; padding:8px 18px; border-radius:999px; }
  .stat-card { flex:1; background:var(--white); border-radius:var(--radius); padding:16px 12px; box-shadow:var(--card-shadow); text-align:center; }
  .stat-value { font-size:clamp(19px, 6vw, 24px); font-weight:800; color:var(--primary); line-height:1.2; }
  .stat-label { font-size:13px; color:var(--text-light); margin-top:4px; }
  .stat-card:nth-child(2) .stat-value { color:#2E7D32; }
  .stat-card:nth-child(3) .stat-value { color:var(--green-ink); }

  .search-bar { margin:8px 16px; position:relative; }
  .search-bar input { width:100%; padding:12px 16px 12px 40px; border:1.5px solid transparent; border-radius:var(--radius-xl); background:var(--white); font-size:16px; outline:none; box-shadow:0 1px 6px rgba(0,0,0,.05); color:var(--text); -webkit-appearance:none; appearance:none; }
  .search-bar input:focus { border-color:var(--primary); }
  .search-icon { position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:16px;color:var(--text-light);}
  .search-hint { font-size:13px; color:var(--text-light); margin:4px 16px 0; }

  /* 每日一句（原首页核心展示位） */
  .daily-quote { margin:10px 16px; padding:14px 16px; background:linear-gradient(135deg,#FFFBEB 0%,#FEF3C7 100%); border-radius:var(--radius); border-left:4px solid #F59E0B; display:flex; gap:10px; align-items:flex-start; box-shadow:0 1px 4px rgba(245,158,11,.08); }
  .daily-quote::before { content:'💡'; font-size:18px; flex-shrink:0; line-height:1.4; }
  .daily-quote-body { flex:1; }
  .daily-quote-title { font-size:13px; font-weight:700; color:#92400E; margin-bottom:4px; }
  .daily-quote-text { font-size:14px; color:#78350F; line-height:1.6; }
  /* 「AI 生成」标识（仅模型生成的句子才显示；人工写的不显示） */
  .daily-quote-tag { display:none; margin-top:6px; padding:1px 6px; border:1px solid rgba(146,64,14,.25); border-radius:4px; font-size:13px; color:#92400E; width:fit-content; }

  .warning-banner { margin:10px 16px; padding:10px 14px; background:var(--warning-bg); border-radius:var(--radius); font-size:13px; color:var(--warning-text); display:flex; align-items:center; gap:8px; }
  .warning-banner::before { content:'⚠'; font-size:14px; flex-shrink:0; font-weight:700; }

  /* 首页最近实战动态滚动条（向左循环 marquee） */
  .activity-feed { margin:10px 16px; padding:8px 12px; background:var(--warning-bg); border-radius:var(--radius); font-size:13px; color:var(--warning-text); overflow:hidden; position:relative; display:flex; align-items:center; gap:8px; }
  .activity-feed::before { content:'📣'; font-size:14px; flex-shrink:0; }
  .activity-feed-track { display:inline-flex; white-space:nowrap; animation:activity-marquee 22s linear infinite; will-change:transform; }
  .activity-feed:hover .activity-feed-track { animation-play-state:paused; }
  .activity-feed-item { display:inline-block; padding-right:48px; }
  @keyframes activity-marquee {
    from { transform:translateX(0); }
    to   { transform:translateX(-50%); }
  }

  .ai-card { margin:12px 16px; padding:20px; border-radius:var(--radius-lg); background:var(--gradient-primary); color:#fff; position:relative; overflow:hidden; display:flex; gap:14px; align-items:center; }
  .ai-card::after { content:''; position:absolute;right:-20px;top:-30px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.07); }
  .ai-card-avatar { width:56px; height:56px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.3); flex-shrink:0; position:relative; z-index:2; }
  .ai-card-body { position:relative; z-index:2; flex:1; }
  .ai-card-title { font-size:16px; font-weight:700; margin-bottom:6px; }
  .ai-card-desc { font-size:13px; opacity:1; line-height:1.5; margin-bottom:12px; }
  .ai-btn { display:inline-flex;padding:8px 20px;background:rgba(255,255,255,.2);border-radius:14px;font-size:13px;font-weight:600;color:#fff;border:none;cursor:pointer;transition:background .2s;}
  .ai-btn:hover { background:rgba(255,255,255,.3); }

  /* 首页精简（2026-10-27）：更多玩法折叠区 */
  .more-zone { margin:12px 16px; border:1px solid var(--border-light); border-radius:var(--radius); background:var(--white); overflow:hidden; }
  .more-zone-head { display:flex; align-items:center; justify-content:space-between; padding:13px 16px; font-size:14px; font-weight:700; color:var(--text); cursor:pointer; min-height:44px; }
  .more-zone-arrow { color:var(--text-light); font-size:13px; transition:transform .2s; }
  .more-zone.open .more-zone-arrow { transform:rotate(180deg); }
  .more-zone-body { border-top:1px dashed var(--border-light); }
  .more-zone-body .section { padding:12px 14px 4px; }
  .more-zone-body .ai-card { margin:10px 0; }
  .more-zone-body .activity-feed { margin:10px 0 0; }

  /* 2026-11-01：能力三阶概念条（.triple-*）已移除——其内容与首屏「模块实战 · 边学边练」
     重复（三模块 × 单元数 vs 逐模块展开的实战单元），改由 .cp-* 承担。样式一并清理。 */

  .section { padding:16px 16px 4px; }
  .section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
  .section-title { font-size:16px; font-weight:700; }
  .section-more { font-size:13px; color:var(--primary); cursor:pointer; }

  .course-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .course-card { background:var(--white); border-radius:var(--radius); padding:14px; box-shadow:var(--card-shadow); }
  .course-icon { width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:10px;}
  .course-title { font-size:13px; font-weight:600; margin-bottom:2px; white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .course-subtitle { font-size:13px; color:var(--text-light); margin-bottom:6px; white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .course-stars { font-size:13px; color:#FBBF24; margin-bottom:8px; letter-spacing:1px; }
  .progress-bar { height:4px;background:var(--surface-2);border-radius:2px;margin-bottom:8px;overflow:hidden;}
  .progress-fill { height:100%;border-radius:2px;background:var(--primary);transition:width .3s;}
  .course-footer { display:flex; align-items:center; justify-content:space-between; }
  .course-progress-text { font-size:13px; color:var(--text-light); }
  .course-continue { font-size:13px; color:var(--primary); font-weight:600; cursor:pointer; }

  /* 场景实战：纵向 2 列网格，随页面上下滚动（桌面/移动端通用，无需横滑） */
  .scene-carousel { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; align-items:stretch; }
  /* 场景分类标签：横向滚动胶囊，默认展示「推荐」精选短列表，解决长列表划不到底 */
  .scene-tabs { display:flex; gap:8px; overflow-x:auto; padding:2px 0 12px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .scene-tabs::-webkit-scrollbar { display:none; }
  .scene-tab { flex:0 0 auto; padding:10px 14px; font-size:13px; line-height:1; border-radius:999px; background:#F1F5F9; color:#64748B; cursor:pointer; white-space:nowrap; transition:background .15s,color .15s,border-color .15s,transform .15s,opacity .15s ease; border:1px solid transparent; }
  .scene-tab.active { background:var(--primary); color:#fff; font-weight:600; box-shadow:0 2px 8px rgba(46,125,50,.25); }
  .scene-card { background:var(--white); border-radius:var(--radius); padding:11px 12px; box-shadow:var(--card-shadow); cursor:pointer; transition:transform .12s ease, box-shadow .12s ease; min-width:0; }
  .scene-card:hover { box-shadow:0 4px 14px rgba(0,0,0,.1); }
  .scene-card:active { transform:scale(.98); }
  .scene-card .course-icon { width:34px; height:34px; border-radius:8px; font-size:18px; margin-bottom:6px; position:relative; overflow:hidden; }
  .scene-card .course-icon .scene-card-avatar { width:100%; height:100%; object-fit:cover; border-radius:8px; display:block; }
  .scene-card .course-icon .scene-card-emoji { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:20px; line-height:1; }
  .scene-card .course-title { font-size:13px; font-weight:600; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; }
  .scene-card .course-subtitle { font-size:13px; margin-bottom:4px; line-height:1.35; color:var(--text-light); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; word-break:break-word; overflow-wrap:break-word; text-overflow:clip; }
  .scene-card .course-stars { font-size:13px; margin-bottom:4px; }
  .scene-card .course-footer { margin-top:2px; }
  .scene-card .course-progress-text { font-size:13px; }
  .scene-card .course-continue { font-size:13px; }
  .scene-card-locked { opacity:1; border:1.5px dashed var(--warning); }
  .scene-lock-badge { position:absolute; top:-4px; right:-4px; background:var(--warning); color:#fff; font-size:13px; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(0,0,0,.15); }

  /* 豪哥茶餐厅 · 首页独立横栏（左右贯通，场景下方/专家推荐上方） */
  .haoge-bar { position:relative; margin:14px 0 0; padding:12px 16px; background:linear-gradient(115deg,#2E7D32 0%,#2E7D32 42%,#D4AF5E 130%); color:#fff; overflow:hidden; cursor:pointer; display:flex; align-items:center; gap:12px; box-shadow:0 6px 20px rgba(27,94,32,.30); }
  .haoge-bar:active { transform:scale(.992); }
  .haoge-bar .hk-avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0; border:2.5px solid rgba(255,255,255,.85); box-shadow:0 4px 10px rgba(0,0,0,.22); animation:hk-bounce 1.5s ease-in-out infinite; }
  .haoge-bar .hk-emoji-fallback { display:none; width:44px; height:44px; border-radius:50%; align-items:center; justify-content:center; font-size:26px; background:rgba(255,255,255,.18); border:2.5px solid rgba(255,255,255,.85); flex-shrink:0; animation:hk-bounce 1.5s ease-in-out infinite; }
  @keyframes hk-bounce { 0%,100%{ transform:translateY(0) rotate(-5deg);} 50%{ transform:translateY(-6px) rotate(5deg);} }
  .haoge-bar .hk-body { flex:1; min-width:0; }
  .haoge-bar .hk-tag { display:inline-block; font-size:13px; font-weight:700; background:rgba(255,255,255,.22); border:1px solid rgba(255,255,255,.5); padding:2px 8px; border-radius:999px; margin-bottom:5px; letter-spacing:.5px; }
  .haoge-bar .hk-title { font-size:17px; font-weight:800; letter-spacing:.3px; }
  .haoge-bar .hk-sub { font-size:13px; line-height:1.35; opacity:1; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .haoge-bar .hk-cta { margin-top:9px; display:inline-flex; align-items:center; gap:4px; background:#fff; color:#2E7D32; font-size:13px; font-weight:800; padding:6px 14px; border-radius:999px; box-shadow:0 2px 8px rgba(0,0,0,.12); }
  .haoge-bar .hk-glow { position:absolute; right:-26px; top:-30px; width:120px; height:120px; background:radial-gradient(circle, rgba(255,255,255,.28), transparent 70%); pointer-events:none; }

  .expert-card { display:flex; align-items:center; gap:12px; background:var(--white); border-radius:var(--radius); padding:12px; margin-bottom:8px; box-shadow:var(--card-shadow); }
  .expert-avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0; }
  .expert-info { flex:1; min-width:0; }
  .expert-name { font-size:14px; font-weight:600; }
  .expert-role { font-size:13px; color:var(--text-light); }
  .expert-action { padding:10px 14px; border-radius:12px; font-size:13px; font-weight:600; cursor:pointer; border:1.5px solid var(--primary); color:var(--primary); background:transparent; flex-shrink:0; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }

  /* ===== Leaderboard Page ===== */
  .lb-header { text-align:center; padding:4px 16px 12px; }
  .lb-subtitle { font-size:13px; color:var(--text-secondary); margin-top:2px; }
  .data-card { background:var(--white); border-radius:var(--radius-lg); margin:0 16px 16px; padding:20px; box-shadow:var(--card-shadow); }
  .data-card-title { display:flex; align-items:center; gap:6px; font-size:14px; font-weight:700; margin-bottom:16px; color:var(--primary); }
  .data-stats { display:flex; justify-content:space-around;text-align:center;}
  .data-stat-item .num { font-size:28px; font-weight:800; }
  .data-stat-item .label { font-size:13px; color:var(--text-light); margin-top:2px; }
  .data-stat-item:nth-child(1) .num { color:var(--primary); }
  .data-stat-item:nth-child(2) .num { color:#2E7D32; }
  .data-stat-item:nth-child(3) .num { color:var(--green-ink); }
  .lb-progress { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-top:1px solid var(--border-light); }
  .lb-progress-left { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text-secondary); }
  .lb-progress-val { font-size:18px; font-weight:700; color:var(--text); }
  .lb-badge { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px; background:var(--gold-bg); border-radius:var(--radius); font-size:14px; font-weight:600; color:var(--gold-text); margin-top:8px; }
  .action-row { display:flex; gap:8px; margin-top:14px; }
  .action-chip { flex:1; padding:10px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:13px; text-align:center; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:4px; background:var(--white); transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; }
  .action-chip:hover { border-color:var(--primary); color:var(--primary); }
  .action-chip.share { background:var(--primary); color:#fff; border-color:var(--primary); }

  .tab-row { display:flex; gap:0; margin:0 16px 12px; background:var(--white); border-radius:var(--radius); padding:3px; box-shadow:var(--card-shadow); }
  .tab-item { flex:1; padding:10px; text-align:center; font-size:14px; font-weight:500; color:var(--text-secondary); border-radius:8px; cursor:pointer; transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; }
  .tab-item.active { background:var(--primary); color:#fff; font-weight:600; }

  .rank-list { padding:0 16px 8px; }
  .rank-more-btn { text-align:center; padding:12px; margin:0 16px 8px; color:var(--primary); font-size:14px; font-weight:600; cursor:pointer; background:#F7F5EF; border-radius:10px; transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; }
  .rank-more-btn:active { background:#E8F5E9; }
  .rank-item { display:flex; align-items:center; gap:12px; background:var(--white); border-radius:var(--radius); padding:14px; margin-bottom:10px; box-shadow:var(--card-shadow); border-left:4px solid transparent; }
  .rank-item.rank-1 { border-left-color:var(--gold-ink); }
  .rank-item.rank-2 { border-left-color:var(--silver-ink); }
  .rank-item.rank-3 { border-left-color:var(--bronze-ink); }
  .rank-num { font-size:18px; font-weight:800; color:var(--text-light); width:24px; text-align:center; }
  .rank-item.rank-1 .rank-num { color:var(--gold-ink); }
  .rank-item.rank-2 .rank-num { color:var(--silver-ink); }
  .rank-item.rank-3 .rank-num { color:var(--bronze-ink); }
  .rank-avatar { width:42px; height:42px; border-radius:50%; object-fit:cover; flex-shrink:0; }
  .rank-info { flex:1; min-width:0; }
  .rank-name { font-size:15px; font-weight:600; }
  .rank-detail { font-size:13px; color:var(--text-light); margin-top:2px; }
  .rank-score { font-size:22px; font-weight:800; color:var(--warning-ink); }

  /* ===== Team Page ===== */
  .team-header-info { text-align:center; padding:4px 16px 16px; }
  .team-header-info p { font-size:13px; color:var(--text-secondary); margin-top:2px; }
  .team-btn-row { display:flex; gap:10px; margin:0 16px 24px; }
  .team-btn-row .btn { flex:1; }
  .empty-state { text-align:center; padding:36px 20px; color:var(--text-light); background:var(--white); border-radius:var(--radius-lg); margin:0 16px; box-shadow:var(--card-shadow); }
  .empty-state p { font-size:14px; }
  .user-card { display:flex; align-items:center; gap:12px; background:var(--white); border-radius:var(--radius); padding:14px; margin:0 16px 10px; box-shadow:var(--card-shadow); }
  .user-avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0; }
  .user-info { flex:1; }
  .user-name { font-size:15px; font-weight:600; }
  .user-stats { font-size:13px; color:var(--text-light); margin-top:2px; }
  .user-add-btn { padding:10px 16px; border-radius:12px; background:var(--primary); color:#fff; border:none; font-size:13px; font-weight:600; cursor:pointer; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }

  /* ===== Growth Page ===== */
  .growth-header { display:flex; align-items:center; justify-content:space-between; padding:14px 16px 4px; }
  .growth-stats-inline { display:flex; gap:16px; }
  .growth-stat { text-align:center; }
  .growth-stat .gval { font-size:18px; font-weight:800; }
  .growth-stat .glbl { font-size:13px; color:var(--text-light); }
  .dl-icon { font-size:20px; color:var(--text-secondary); cursor:pointer; }

  .chart-card { background:var(--white); border-radius:var(--radius-lg); margin:8px 16px 12px; padding:16px; box-shadow:var(--card-shadow); }
  .chart-title { font-size:15px; font-weight:700; margin-bottom:14px; }
  /* ── P2-1 训练日历热力图 ── */
  .heatmap-summary { font-size:13px; color:var(--text-light); margin:2px 0 10px; }
  .heatmap-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:4px; }
  .heatmap-grid { display:flex; gap:3px; min-width:max-content; }
  .hm-col { display:flex; flex-direction:column; gap:3px; }
  .hm { width:11px; height:11px; border-radius:2px; background:#ebf2ee; flex:0 0 auto; }
  .hm.h0 { background:#ebf2ee; }
  .hm.hc { background:#cfe8df; }
  .hm.h1 { background:#a7d8c4; }
  .hm.h2 { background:#4caf87; }
  .hm.h3 { background:#1f7a5c; }
  .heatmap-legend { display:flex; align-items:center; gap:3px; font-size:13px; color:var(--text-light); margin-top:8px; }
  .heatmap-legend .hm { width:10px; height:10px; }
  /* ── P2-2 本周训练周报 ── */
  .weekly-grid { display:flex; gap:8px; margin-top:6px; }
  .weekly-tile { flex:1; background:var(--bg); border-radius:10px; padding:10px 4px; text-align:center; }
  .weekly-tile .wt-val { font-size:18px; font-weight:700; color:var(--primary); }
  .weekly-tile .wt-lbl { font-size:13px; color:var(--text-light); margin-top:2px; }
  .weekly-delta { font-size:13px; }
  .weekly-delta.up { color:var(--green-ink); }
  .weekly-delta.down { color:var(--danger-ink); }
  .weekly-delta.flat { color:var(--text-light); }
  /* ── P2-3 积分商城 V2 ── */
  .mall-balance { background:linear-gradient(135deg,var(--primary),var(--green)); color:#fff; border-radius:14px; margin:12px 16px; padding:18px; text-align:center; }
  .mb-label { font-size:13px; opacity:1; }
  .mb-val { font-size:34px; font-weight:800; margin:2px 0; }
  .mb-hint { font-size:13px; opacity:1; }
  .mall-tabs { display:flex; gap:0; margin:0 16px 8px; background:var(--white); border-radius:10px; overflow:hidden; box-shadow:var(--card-shadow); }
  .mall-tab { flex:1; text-align:center; padding:10px 0; font-size:13px; font-weight:600; color:var(--text-light); cursor:pointer; border:none; background:none; transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; }
  .mall-tab.active { color:#fff; background:var(--primary); }
  .mall-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:0 16px; }
  .mall-item { background:var(--white); border-radius:12px; padding:14px; box-shadow:var(--card-shadow); display:flex; flex-direction:column; position:relative; overflow:hidden; }
  .mall-item .mi-cat { position:absolute; top:0; right:0; font-size:13px; padding:3px 8px; border-radius:0 0 0 8px; color:#fff; font-weight:600; }
  .mi-cat.virtual { background:var(--primary); }
  .mi-cat.physical { background:#F59E0B; }
  .mi-cat.consult { background:#8B5CF6; }
  .mi-cat.ai_quota { background:#3B82F6; }
  .mi-cat.scene_unlock { background:#2E7D32; }
  .mi-cat.coupon { background:#EF4444; }
  .mi-cat.badge { background:#F59E0B; }
  .mi-cat.vip { background:#6366F1; }
  /* P1批3 连胜保护卡：青绿偏蓝，与打卡页 🛡 提示同调，区别于 vip 的靛蓝 */
  .mi-cat.streak_shield { background:#0EA5E9; }
  /* 兜底类目：未知 category 时角标不能无底色（白字压白卡片不可读） */
  .mi-cat.other { background:#6B7280; }
  .mall-item .mi-icon { font-size:28px; margin-bottom:6px; }
  .mall-item .mi-name { font-weight:700; font-size:14px; }
  .mall-item .mi-desc { font-size:13px; color:var(--text-light); margin:4px 0 8px; flex:1; line-height:1.5; }
  .mall-item .mi-price-row { display:flex; align-items:baseline; gap:6px; margin-bottom:8px; }
  .mall-item .mi-cost { color:var(--primary); font-weight:700; font-size:15px; }
  .mall-item .mi-original { font-size:13px; color:var(--text-light); text-decoration:line-through; }
  .mall-item .mi-discount-badge { background:#EF4444; color:#fff; font-size:13px; padding:2px 6px; border-radius:4px; font-weight:600; }
  .mall-item .mi-btn { background:var(--primary); color:#fff; border:none; border-radius:10px; padding:8px; font-size:13px; cursor:pointer; }
  .mall-item .mi-btn:disabled { background:#ccc; cursor:not-allowed; }
  .mall-item .mi-stock { font-size:13px; color:var(--text-light); margin-top:4px; text-align:center; }
  /* 物流弹窗 */
  .shipping-modal { position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:5000; display:flex; align-items:flex-end; justify-content:center; }
  .shipping-sheet { background:var(--white); width:100%; max-width:480px; border-radius:16px 16px 0 0; padding:20px 20px calc(20px + env(safe-area-inset-bottom)); max-height:90vh; max-height:90dvh; overflow-y:auto; -webkit-overflow-scrolling:touch; }
  .shipping-sheet h3 { font-size:17px; font-weight:700; margin-bottom:14px; text-align:center; }
  .shipping-sheet .ss-row { margin-bottom:12px; }
  .shipping-sheet .ss-label { font-size:13px; color:var(--text-light); margin-bottom:4px; }
  .shipping-sheet .ss-input { width:100%; border:1px solid var(--border); border-radius:10px; padding:10px; font-size:16px; outline:none; }
  .shipping-sheet .ss-input:focus { border-color:var(--primary); }
  .shipping-sheet .ss-3col { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; }
  .shipping-sheet .ss-btn { width:100%; background:var(--primary); color:#fff; border:none; border-radius:12px; padding:12px; font-size:15px; font-weight:700; cursor:pointer; margin-top:8px; }
  .shipping-sheet .ss-close { text-align:center; color:var(--text-light); padding:10px; font-size:14px; cursor:pointer; }
  /* 抽奖 */
  .lottery-box { margin:0 16px; background:linear-gradient(135deg,#6366F1,#8B5CF6); border-radius:16px; padding:24px 20px; text-align:center; color:#fff; }
  .lottery-box .lb-title { font-size:20px; font-weight:800; margin-bottom:4px; }
  .lottery-box .lb-desc { font-size:13px; opacity:1; margin-bottom:16px; }
  .lottery-box .lb-cost { display:inline-block; background:rgba(255,255,255,.2); border-radius:20px; padding:4px 14px; font-size:13px; margin-bottom:16px; }
  .lottery-wheel { width:200px; height:200px; margin:0 auto 16px; position:relative; }
  .lottery-pointer { width:80px; height:80px; border-radius:50%; background:#fff; color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:10; box-shadow:0 4px 12px rgba(0,0,0,.2); cursor:pointer; border:none; }
  .lottery-pointer.spinning { animation:lottery-pulse .6s ease infinite; will-change:transform; }
  @keyframes lottery-pulse { 0%,100% { transform:translate(-50%,-50%) scale(1); } 50% { transform:translate(-50%,-50%) scale(1.08); } }
  .lottery-sectors { width:100%; height:100%; border-radius:50%; overflow:hidden; position:relative; box-shadow:inset 0 0 0 4px rgba(255,255,255,.3); will-change:transform; }
  .lottery-result { background:rgba(255,255,255,.15); border-radius:12px; padding:12px; margin-top:12px; font-size:15px; font-weight:700; min-height:20px; }
  .lottery-result.win { background:rgba(255,255,255,.25); }
  .lottery-prizes { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:12px; }
  .lottery-prize-tag { background:rgba(255,255,255,.2); border-radius:8px; padding:4px 10px; font-size:13px; }
  /* 权益展示 */
  .ent-section { margin:12px 16px; }
  .ent-card { background:var(--white); border-radius:12px; padding:14px; box-shadow:var(--card-shadow); margin-bottom:8px; display:flex; align-items:center; gap:12px; }
  .ent-card .ent-icon { font-size:24px; }
  /* P1批3 连胜保护卡：淡蓝底衬托 🛡，与其他权益区分 */
  .ent-card .ent-icon-shield { background:#E0F2FE; border-radius:10px; padding:6px 8px; line-height:1; }
  .ent-card .ent-info { flex:1; }
  .ent-card .ent-name { font-size:14px; font-weight:700; }
  .ent-card .ent-val { font-size:13px; color:var(--text-light); margin-top:2px; }
  .ent-card .ent-tag { font-size:13px; padding:3px 8px; border-radius:6px; font-weight:600; }
  .ent-tag.active { background:#EFEADC; color:#2E7D32; }
  .ent-tag.used { background:#F3F4F6; color:var(--text-light); }
  .mall-redemptions .mr-item { font-size:13px; color:var(--text-light); padding:10px 16px; border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; }
  .mr-item .mr-status { font-size:13px; padding:2px 8px; border-radius:6px; font-weight:600; }
  .mr-status.fulfilled { background:#EFEADC; color:#2E7D32; }
  .mr-status.pending { background:#FEF3C7; color:var(--text-light); }
  .mr-status.shipped { background:#DBEAFE; color:#2563EB; }
  .mr-status.delivered { background:#E0E7FF; color:#4F46E5; }

  /* ═══ P2-4 社区 / 动态广场 ═══ */
  .comm-box { background:var(--white); border-radius:14px; margin:12px 16px; padding:12px; box-shadow:var(--card-shadow); }
  .comm-textarea { width:100%; border:1px solid var(--border); border-radius:10px; padding:10px; font-size:16px; resize:none; min-height:64px; font-family:inherit; outline:none; }
  .comm-box .comm-actions { display:flex; justify-content:flex-end; margin-top:8px; }
  .comm-send { background:var(--primary); color:#fff; border:none; border-radius:10px; padding:8px 18px; font-size:13px; cursor:pointer; }
  .comm-send:disabled { background:#ccc; cursor:not-allowed; }
  .comm-feed { padding:8px 16px 16px; }
  .comm-post { background:var(--white); border-radius:14px; padding:14px; margin-bottom:12px; box-shadow:var(--card-shadow); }
  .comm-head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
  .comm-avatar { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--green)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; }
  .comm-author { font-weight:700; font-size:14px; }
  .comm-time { font-size:13px; color:var(--text-light); }
  .comm-scene { display:inline-block; font-size:13px; color:var(--primary); background:var(--green-light); padding:2px 8px; border-radius:8px; margin-left:6px; }
  .comm-content { font-size:14px; line-height:1.6; color:#222; white-space:pre-wrap; word-break:break-word; }
  .comm-foot { display:flex; gap:18px; margin-top:10px; font-size:13px; color:var(--text-light); }
  .comm-act { cursor:pointer; display:flex; align-items:center; gap:4px; user-select:none; min-height:32px; padding:4px 6px; border-radius:6px; }
  .comm-act.liked { color:var(--primary); }
  .comm-comments { margin-top:10px; border-top:1px solid var(--border); padding-top:8px; display:none; }
  .comm-comments.show { display:block; }
  .comm-cmt { font-size:13px; padding:6px 0; border-bottom:1px dashed var(--border); }
  .comm-cmt .cc-author { font-weight:600; color:var(--primary); margin-right:6px; }
  .comm-cmt-input { display:flex; gap:8px; margin-top:8px; }
  .comm-cmt-input input { flex:1; border:1px solid var(--border); border-radius:8px; padding:8px; font-size:16px; outline:none; }
  .comm-cmt-input button { background:var(--primary); color:#fff; border:none; border-radius:8px; padding:0 14px; font-size:13px; cursor:pointer; }
  .comm-empty { text-align:center; color:var(--text-light); font-size:13px; padding:30px 0; }
  /* PK 进行中横幅（对话面板顶部） */
  .pk-banner { background:linear-gradient(135deg,#FEF3C7 0%,#FED7AA 100%); color:#9A3412; border-radius:12px; padding:10px 14px; font-size:13px; margin:8px 0 12px; display:flex; justify-content:space-between; align-items:center; gap:10px; }
  .pk-banner strong { color:#7C2D12; }
  .pk-banner-tip { font-size:13px; color:#B45309; }

  /* ═══ P2-5 多人实时场景（竞技场） ═══ */
  .arena-create { background:var(--white); border-radius:14px; margin:12px 16px; padding:14px; box-shadow:var(--card-shadow); }
  .arena-create select { width:100%; border:1px solid var(--border); border-radius:10px; padding:10px 36px 10px 10px; font-size:16px; outline:none; background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance:none; appearance:none; }
  .arena-create .arena-btn { margin-top:10px; width:100%; background:var(--primary); color:#fff; border:none; border-radius:10px; padding:11px; font-size:14px; cursor:pointer; }
  .arena-list { padding:0 16px 16px; }
  .arena-room { background:var(--white); border-radius:12px; padding:14px; margin-bottom:10px; box-shadow:var(--card-shadow); display:flex; align-items:center; justify-content:space-between; }
  .arena-room .ar-name { font-weight:700; font-size:14px; }
  .arena-room .ar-meta { font-size:13px; color:var(--text-light); margin-top:4px; }
  .arena-room .ar-join { background:var(--green); color:#fff; border:none; border-radius:10px; padding:8px 16px; font-size:13px; cursor:pointer; }
  .arena-chat { display:none; flex-direction:column; }
  .arena-chat.show { position:fixed; top:0; left:50%; transform:translateX(-50%); width:100%; max-width:430px; height:100vh; height:100dvh; background:var(--bg); z-index:2000; display:flex; }
  /* 桌面浏览器（>430px）下 arena-chat 只占中间 430px，两侧空白需要全屏遮罩，
     否则会露出下层首页内容（与 chat-panel 同款问题） */
  .arena-chat-mask { position:fixed; top:0; left:0; width:100%; height:100vh; height:100dvh; background:var(--bg); z-index:1999; display:none; }
  .arena-chat-mask.active { display:block; }
  .arena-header { display:flex; align-items:center; gap:10px; padding:calc(14px + env(safe-area-inset-top)) 16px; background:var(--gradient-primary); color:#fff; box-shadow:0 2px 8px rgba(0,0,0,.1); }
  .arena-header-back { display:flex; align-items:center; justify-content:center; cursor:pointer; width:44px; height:44px; font-size:22px; }
  .arena-header-avatar { width:38px; height:38px; border-radius:50%; border:2px solid rgba(255,255,255,.4); object-fit:cover; }
  .arena-header-info { flex:1; min-width:0; }
  .arena-header-title { font-size:16px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .arena-header-sub { font-size:13px; opacity:1; }
  .arena-header-actions { margin-left:auto; display:flex; align-items:center; gap:8px; }
  .arena-msgs { flex:1; overflow-y:auto; padding:14px 16px; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
  .arena-row { margin-bottom:12px; max-width:82%; }
  .arena-row.me { margin-left:auto; text-align:right; }
  .arena-bubble { display:inline-block; padding:9px 13px; border-radius:14px; font-size:14px; line-height:1.5; white-space:pre-wrap; word-break:break-word; text-align:left; }
  .arena-row.player .arena-bubble { background:var(--green-light); color:#2E7D32; }
  .arena-row.ai .arena-bubble { background:#F1F5F9; color:#222; border:1px solid var(--border); }
  .arena-row.me .arena-bubble { background:var(--primary); color:#fff; }
  .arena-row.system { max-width:100%; text-align:center; }
  .arena-row.system .arena-bubble { background:transparent; color:var(--text-light); font-size:13px; }
  .arena-who { font-size:13px; color:var(--text-light); margin-bottom:3px; }
  .arena-input { display:flex; gap:8px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); border-top:1px solid var(--border); background:var(--white); }
  .arena-input input { flex:1; border:1px solid var(--border); border-radius:10px; padding:10px; font-size:16px; outline:none; }
  .arena-input button { background:var(--primary); color:#fff; border:none; border-radius:10px; padding:0 18px; font-size:14px; cursor:pointer; }
  .arena-back { font-size:13px; color:var(--primary); cursor:pointer; padding:8px 16px; }

  .bar-chart-row { display:flex; align-items:center; margin-bottom:10px; }
  .bar-label { width:84px; font-size:13px; color:var(--text-secondary); flex-shrink:0; white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .bar-track { flex:1;height:22px;background:var(--surface-2);border-radius:11px;overflow:hidden;}
  .bar-fill { height:100%;border-radius:11px;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;font-size:13px;color:#fff;font-weight:600;min-width:24px;}
  .bar-count { width:24px; text-align:right; font-size:13px; color:var(--text-secondary); flex-shrink:0; margin-left:6px; }

  .trend-wrap { position:relative; height:150px; }
  .suggest-text { font-size:13px; color:var(--text-secondary); line-height:1.6; padding:4px 16px 12px; }

  .record-item { background:var(--white); border-radius:var(--radius); padding:14px; margin:0 16px 8px; box-shadow:var(--card-shadow); }
  .record-title { font-size:14px; font-weight:600; margin-bottom:4px; }
  .record-meta { display:flex; align-items:center; justify-content:space-between; }
  .record-date { font-size:13px; color:var(--text-light); }
  .record-view { font-size:13px; color:var(--primary); cursor:pointer; display:flex;align-items:center;gap:2px;}

  .report-card { background:var(--white); border-radius:var(--radius); padding:14px; margin:0 16px 8px; box-shadow:var(--card-shadow); }
  .report-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
  .report-name { font-size:14px; font-weight:600; }
  .report-score { font-size:24px; font-weight:800; color:var(--warning-ink); }
  .report-score-unit { font-size:13px; color:var(--text-light); font-weight:400; }
  .report-date { font-size:13px; color:var(--text-light); margin-bottom:8px; }
  .tag-row { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
  .tag { padding:3px 10px; border-radius:12px; font-size:13px; }
  .tag.green { background:var(--success-bg); color:var(--success-text); }
  .tag.blue { background:var(--info-bg); color:var(--info-text); }
  .report-actions { display:flex; gap:8px; }
  .report-btn { flex:1; padding:8px; border-radius:var(--radius); font-size:13px; text-align:center; cursor:pointer; border:1.5px solid var(--border); background:var(--white); }
  .report-btn.primary { background:var(--success-bg); color:var(--primary); border-color:transparent; }

  /* ===== Profile/My Page ===== */
  .profile-card { margin:12px 16px 16px; padding:16px 18px; border-radius:var(--radius-xl); background:var(--gradient-profile); color:#fff; display:flex; align-items:center; gap:14px; position:relative; overflow:hidden; }
  .profile-card::after { content:''; position:absolute; right:-30px; top:-30px; width:140px; height:140px; border-radius:50%; background:rgba(255,255,255,.06); }
  .profile-left { display:flex; flex-direction:column; align-items:center; gap:6px; flex-shrink:0; position:relative; z-index:2; }
  .profile-avatar-lg { width:64px; height:64px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.3); cursor:pointer; }
  .profile-settings-btn { padding:4px 10px; border-radius:10px; border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.12); color:#fff; font-size:13px; cursor:pointer; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
  .profile-main { flex:1; min-width:0; position:relative; z-index:2; cursor:pointer; padding-right:70px; }
  .profile-name { font-size:18px; font-weight:700; display:flex; align-items:center; gap:6px; }
  .profile-member-no { display:inline-block; font-size:13px; font-weight:700; letter-spacing:.5px; margin-top:3px; padding:2px 8px; background:rgba(255,255,255,.92); border-radius:6px; color:var(--primary); }
  .profile-role-time { display:flex; align-items:center; gap:10px; margin-top:5px; font-size:13px; opacity:1; }
  .profile-time { opacity:1; }
  .profile-medal-area { position:absolute; top:14px; right:16px; z-index:3; text-align:right; max-width:42%; }
  .profile-medal { display:inline-flex; align-items:center; gap:5px; background:rgba(255,255,255,.14); padding:4px 8px; border-radius:10px; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); max-width:100%; }
  .profile-medal canvas { display:block; flex-shrink:0; }
  .profile-medal-name { font-size:13px; font-weight:700; white-space:nowrap; }
  .profile-growth { font-size:13px; opacity:1; margin-top:3px; white-space:normal; line-height:1.5; word-break:break-word; }

  .menu-section { margin:0 16px 20px; }
  .menu-section-title { font-size:15px; font-weight:700; margin-bottom:10px; padding-left:2px; }
  .menu-item { display:flex; align-items:center; gap:12px; background:var(--white); border-radius:var(--radius); padding:14px 16px; margin-bottom:10px; box-shadow:var(--card-shadow); cursor:pointer; transition:background .15s; }
  .menu-item:active { background:var(--border-light); }
  .menu-icon { width:34px; height:34px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
  .menu-text { flex:1; font-size:14px; }
  .menu-arrow { color:var(--text-light); font-size:14px; }
  .toggle-switch { width:44px; height:24px; border-radius:12px; background:var(--surface-3); position:relative; cursor:pointer; transition:background .2s; flex-shrink:0; }
  .toggle-switch.on { background:var(--primary); }
  .toggle-switch::after { content:''; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%; background:#E5E7EB; transition:transform .2s; box-shadow:0 1px 3px rgba(0,0,0,.3); }
  .toggle-switch.on::after { transform:translateX(20px); background:#fff; }
  .menu-right-text { font-size:13px; color:var(--text-secondary); }

  /* ===== Bottom Navigation ===== */
  .bottom-nav { position:fixed; bottom:0; left:0; right:0; width:100%; background:var(--white); border-top:1px solid var(--border); display:flex; justify-content:space-around; padding:6px 2px; padding-bottom:max(6px,env(safe-area-inset-bottom)); z-index:200; }
.nav-item { display:flex; flex-direction:column; align-items:center; gap:2px; padding:4px 0; cursor:pointer; min-width:0; flex:1 1 0; color:var(--text-light); transition:color .2s; -webkit-tap-highlight-color:transparent; min-height:48px; justify-content:center; }
.nav-item.active { color:var(--primary); }
.nav-icon { width:24px; height:24px; display:flex; align-items:center; justify-content:center; line-height:0; }
.nav-icon svg { width:22px; height:22px; display:block; }
.nav-label { font-size:13px; font-weight:500; overflow:visible; }
@media (max-width:380px) { .nav-icon { width:22px; height:22px; } .nav-icon svg { width:18px; height:18px; } .nav-label { font-size:13px; } .nav-item { gap:1px; padding:3px 0; min-height:46px; } }
  /* ===== 实战对话面板（Phase 2.5：接入 /stream_run 流式接口） ===== */
  .chat-panel { position:fixed; top:0; left:50%; transform:translateX(-50%); max-width:430px; width:100%; height:100vh; height:100dvh; background:var(--bg); z-index:2000; display:none; flex-direction:column; overscroll-behavior:contain; }
  .chat-panel.active { display:flex; }
  /* 桌面浏览器（>430px）下 chat-panel 只占中间 430px，两侧空白需要全屏遮罩，
     否则会露出下层首页内容。移动端 ≤430px 时 chat-panel 已 width:100% 铺满，遮罩自然隐藏 */
  .chat-panel-mask { position:fixed; top:0; left:0; width:100%; height:100vh; height:100dvh; background:var(--bg); z-index:1999; display:none; }
  .chat-panel-mask.active { display:block; }
  .chat-header { display:flex; align-items:center; gap:10px; padding:calc(14px + env(safe-area-inset-top)) 16px; background:var(--gradient-primary); color:#fff; box-shadow:0 2px 8px rgba(0,0,0,.1); }
  .chat-header-left { display:flex; align-items:center; justify-content:center; cursor:pointer; width:44px; height:44px; padding:0; }
  .back-arrow { width:28px; height:28px; display:block; }
  .chat-header-avatar { width:38px; height:38px; border-radius:50%; border:2px solid rgba(255,255,255,.4); object-fit:cover; }
  .chat-header-emoji { width:38px; height:38px; border-radius:50%; border:2px solid rgba(255,255,255,.4); display:flex; align-items:center; justify-content:center; font-size:22px; line-height:1; background:rgba(255,255,255,.15); flex-shrink:0; }
  .chat-header-info { flex:1; min-width:0; }
  .chat-header-title { font-size:16px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .chat-header-sub { font-size:13px; opacity:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .chat-header-status { font-size:13px; opacity:1; white-space:nowrap; }
  .chat-header-actions { display:flex; align-items:center; gap:6px; }
  .chat-header-btn { padding:10px 14px; border:1px solid rgba(255,255,255,.5); border-radius:10px; background:transparent; color:#fff; font-size:13px; cursor:pointer; white-space:nowrap; line-height:1.2; }
  .chat-header-btn:active { background:rgba(255,255,255,.15); }
  .chat-header-btn.active { background:rgba(255,255,255,.22); border-color:#fff; }
  .chat-header-btn.danger { border-color:rgba(255,255,255,.7); background:rgba(255,255,255,.1); }
  .chat-header-rec-status { font-size:13px; opacity:1; white-space:nowrap; padding:4px 8px; background:rgba(239,68,68,.85); border-radius:8px; color:#fff; }
  .chat-messages { flex:1; overflow-y:auto; padding:16px 14px; display:flex; flex-direction:column; gap:14px; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
  .chat-bubble { max-width:80%; padding:11px 14px; border-radius:14px; font-size:14px; line-height:1.6; word-break:break-word; box-shadow:0 1px 4px rgba(0,0,0,.05); white-space:pre-wrap; }
  .chat-bubble.user { align-self:flex-end; background:var(--primary); color:#fff; border-bottom-right-radius:4px; }
  .chat-bubble.ai { align-self:flex-start; background:var(--white); color:var(--text); border-bottom-left-radius:4px; }
  .chat-bubble.ai.ai-ended { border-left:3px solid var(--green); background:var(--light-green, #ECFDF3); }
  .ai-end-tag { font-size:13px; color:var(--green-ink); font-weight:700; margin-top:6px; }
  /* P1 首战故事化（2026-10-27）：首战卡横幅 */
  .first-battle-banner { margin:10px 0 4px; background:linear-gradient(135deg,#FFF7E6,#FFF3D6); border:1px solid #F5D78E; border-radius:12px; padding:10px 12px; cursor:pointer; }
  .first-battle-banner .fbb-title { font-size:14px; font-weight:800; color:#92400E; }
  .first-battle-banner .fbb-sub { font-size:13px; color:#A16207; margin-top:3px; }
  .chat-bubble.ai .chat-role { font-size:13px; color:var(--primary); font-weight:600; margin-bottom:4px; }
  /* P1 导览出口（2026-10-27）：AI 教练介绍完场景后，气泡内附「去练 →」按钮 */
  .guide-cta-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
  .guide-cta { display:inline-flex; align-items:center; gap:4px; border:1px solid var(--primary); background:#fff; color:var(--primary); font-size:13px; font-weight:600; border-radius:16px; padding:5px 12px; cursor:pointer; }
  .guide-cta:active { background:var(--primary); color:#fff; }
  .chat-bubble.error { align-self:flex-start; background:var(--danger-bg); color:var(--danger-text); border-bottom-left-radius:4px; }
  /* 内容引用卡（curriculum_refs）：AI 教练回复下方展示内容/案例/成长路径出处 */
  .chat-refs { display:flex; flex-direction:column; gap:6px; margin-top:8px; border-top:1px dashed rgba(0,0,0,.08); padding-top:8px; }
  .chat-ref-card { display:flex; align-items:center; gap:8px; background:var(--surface-2,#F6F7F9); border-left:3px solid var(--primary); border-radius:8px; padding:6px 10px; font-size:13px; line-height:1.5; }
  .chat-ref-card.case { border-left-color:#8B5CF6; }
  .chat-ref-card.path { border-left-color:#2E7D32; }
  .chat-ref-badge { flex:0 0 auto; font-size:13px; padding:1px 7px; border-radius:9px; color:#fff; background:var(--primary); }
  .chat-ref-card.case .chat-ref-badge { background:#8B5CF6; }
  .chat-ref-card.path .chat-ref-badge { background:#2E7D32; }
  .chat-ref-title { font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:45%; }
  .chat-ref-source { color:var(--text-light,#8A919F); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* 内容阅读弹层 + 成长营内容库（curriculum 单元阅读） */
  .cur-unit-title { font-size:17px; font-weight:700; color:var(--text); line-height:1.45; }
  .cur-unit-meta { font-size:13px; color:var(--text-light); margin:4px 0 10px; }
  .cur-unit-sum { font-size:13px; color:var(--text-secondary); line-height:1.7; background:var(--surface-2,#F6F7F9); border-radius:8px; padding:10px 12px; margin:8px 0 12px; white-space:pre-wrap; }
  .cur-unit-block { font-size:14px; font-weight:600; margin:12px 0 6px; color:var(--text); }
  .cur-content { font-size:13.5px; color:var(--text-secondary); line-height:1.8; white-space:pre-wrap; margin-bottom:6px; }
  .cur-card { background:var(--surface-2,#F6F7F9); border:1px solid rgba(0,0,0,.05); border-radius:10px; padding:10px 12px; margin:8px 0; }
  .cur-card-title { font-size:13.5px; font-weight:600; color:var(--text); }
  .cur-card-tag { display:inline-block; font-size:13px; color:var(--primary); background:rgba(59,130,246,.08); padding:1px 8px; border-radius:10px; margin-left:6px; vertical-align:1px; }
  .cur-card-teaching { font-size:13px; color:var(--text-secondary); line-height:1.7; margin-top:6px; white-space:pre-wrap; }
  .cur-card-example { font-size:13px; color:var(--text-light); line-height:1.6; margin-top:6px; white-space:pre-wrap; }
  /* 案例库阅读弹层（2026-11-03）：结构化案例卡（一句话看懂 + 情境/抉择/做法/结果/教训/可迁移/误判） */
  .case-tags { display:flex; gap:6px; flex-wrap:wrap; margin:6px 0 4px; }
  .case-tag { font-size:13px; padding:2px 9px; border-radius:10px; background:var(--surface-2,#F6F7F9); color:var(--text-secondary); border:1px solid rgba(0,0,0,.05); }
  .case-tag.diff-hard { color:#B91C1C; background:#FEF2F2; border-color:#FEE2E2; }
  .case-tag.diff-medium { color:#B45309; background:#FFFBEB; border-color:#FDE68A; }
  .case-tag.diff-easy { color:#047857; background:#ECFDF5; border-color:#D1FAE5; }
  .case-insight { background:linear-gradient(135deg,#F0FDF4,#F7FEE7); border:1px solid rgba(46,125,50,.18); border-left:4px solid var(--primary,#2E7D32); border-radius:10px; padding:11px 13px; margin:8px 0 14px; font-size:13.5px; line-height:1.75; color:var(--text); }
  .case-insight .lbl { display:block; font-size:13px; font-weight:700; color:var(--primary,#2E7D32); letter-spacing:.5px; margin-bottom:4px; }
  .case-sec { margin:12px 0; }
  .case-sec-h { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--text); margin-bottom:4px; }
  .case-sec-h .ico { font-size:14px; }
  .case-sec p { margin:0; font-size:13.5px; line-height:1.8; color:var(--text-secondary); white-space:pre-wrap; }
  .case-sec.misread p, .case-misread-list { color:#9A3412; }
  .case-misread-list { margin:0; padding-left:18px; font-size:13px; line-height:1.8; }
  .case-foot { margin-top:16px; padding-top:10px; border-top:1px dashed rgba(0,0,0,.08); font-size:13px; color:var(--text-light); line-height:1.6; }
  .case-cta { margin-top:12px; width:100%; background:var(--primary,#2E7D32); color:#fff; border:none; border-radius:10px; padding:11px 14px; font-size:14px; font-weight:700; cursor:pointer; }
  .qt-cur-unit { display:flex; align-items:flex-start; gap:8px; padding:8px 4px; border-bottom:1px dashed rgba(0,0,0,.06); cursor:pointer; font-size:13px; }
  .qt-cur-unit:hover { background:var(--surface-2,#F6F7F9); }
  .qt-cur-unit-no { flex:0 0 auto; min-width:22px; text-align:center; color:var(--primary); font-weight:600; font-size:13px; padding-top:1px; }
  .qt-cur-unit-title { font-weight:600; color:var(--text); }
  .qt-cur-unit-sum { display:block; color:var(--text-light); font-size:13px; line-height:1.6; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* 2026-11-01：未开通模块的单元 —— 弱化并把实战入口换成「未开通」标记 */
  .qt-cur-unit-locked { opacity:1; }
  .qt-cur-unit-locked .qt-cur-unit-title { font-weight:500; }
  .qt-cur-go { flex:0 0 auto; font-size:13px; font-weight:600; color:var(--primary); background:rgba(59,130,246,.08); border-radius:14px; padding:4px 10px; cursor:pointer; }
  .qt-cur-go-locked { flex:0 0 auto; font-size:13px; font-weight:600; color:var(--text-light); background:rgba(0,0,0,.05); border-radius:14px; padding:4px 10px; cursor:not-allowed; }
  .qt-cur-lesson-head { font-size:13px; font-weight:700; color:var(--text-secondary); padding:8px 4px 2px; }
  /* 案例库卡片总览（与内容库模块卡同构）：行业卡片 + 总览卡 + 案例数徽标 */
  .qt-case-card .qt-course-head:hover { background:var(--surface-2,#F6F7F9); }
  .qt-case-count { flex:0 0 auto; font-size:13px; font-weight:700; color:var(--primary); background:rgba(59,130,246,.08); border-radius:999px; padding:4px 10px; }
  .qt-case-overview { margin-bottom:2px; }
  .qt-case-overview .qt-course-title { display:flex; align-items:center; gap:6px; }
  .qt-case-overview .qt-course-meta { color:var(--text-light); font-weight:500; }
  /* 模块实战（实战页 · 内容单元一键进场景） */
  .cp-wrap { margin:12px 12px 0; }
  .cp-head { display:flex; align-items:center; justify-content:space-between; padding:10px 2px 4px; }
  .cp-title { font-size:15px; font-weight:700; color:var(--text); }
  .cp-sub { font-size:13px; color:var(--text-light); padding:0 2px 8px; line-height:1.6; }
  .cp-course { background:var(--white); border-radius:var(--radius); padding:10px 12px; margin-bottom:10px; box-shadow:var(--card-shadow); }
  .cp-course-head { display:flex; align-items:center; justify-content:space-between; font-size:14px; font-weight:700; color:var(--text); padding:4px 2px 2px; }
  .cp-course-meta { font-size:13px; color:var(--text-light); padding:0 2px 6px; }
  .cp-unit { display:flex; align-items:center; gap:8px; padding:8px 4px; border-bottom:1px dashed rgba(0,0,0,.06); font-size:13px; }
  .cp-unit:last-child { border-bottom:none; }
  .cp-unit-seq { flex:0 0 auto; min-width:20px; text-align:center; color:var(--primary); font-weight:600; font-size:13px; }
  .cp-unit-body { flex:1 1 auto; min-width:0; }
  .cp-unit-title { font-weight:600; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .cp-unit-scene { font-size:13px; color:var(--text-light); margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .cp-go { flex:0 0 auto; font-size:13px; font-weight:600; color:var(--primary); background:rgba(59,130,246,.08); border-radius:14px; padding:5px 12px; cursor:pointer; min-height:30px; display:flex; align-items:center; }
  .cp-go:active { background:rgba(59,130,246,.16); }
  /* 2026-11-01：未开通模块的单元 —— 弱化呈现并阻断入口，避免「点进去空场」 */
  .cp-unit-locked { opacity:1; }
  .cp-unit-locked .cp-unit-title { font-weight:500; }
  .cp-unit-lockhint { color:var(--text-light); }
  .cp-go-locked { color:var(--text-light); background:rgba(0,0,0,.05); cursor:not-allowed; }
  .cp-go-locked:active { background:rgba(0,0,0,.05); }
  .cp-course-locked { opacity:1; }
  .cp-course-locked .cp-course-head { color:var(--text-secondary); }
  .cp-more { text-align:center; font-size:13px; color:var(--primary); padding:6px 0 2px; cursor:pointer; }
  .cp-loading { font-size:13px; color:var(--text-light); padding:10px 2px; }
  .chat-typing { align-self:flex-start; background:var(--white); padding:13px 16px; border-radius:14px; border-bottom-left-radius:4px; display:flex; gap:5px; box-shadow:0 1px 4px rgba(0,0,0,.05); }
  .chat-typing span { width:7px; height:7px; border-radius:50%; background:var(--text-light); animation:chatBlink 1.2s infinite; }
  .chat-typing span:nth-child(2){animation-delay:.2s} .chat-typing span:nth-child(3){animation-delay:.4s}
  @keyframes chatBlink { 0%,60%,100%{opacity:.3} 30%{opacity:1} }
  /* 2026-11-20：首屏开口提示（降低"第一句说什么"门槛） */
  .chat-starter { display:flex; flex-wrap:wrap; gap:6px; padding:8px 12px; background:#F7FBF8; border-top:1px solid var(--border); }
  .chat-starter-label { flex:0 0 100%; font-size:13px; color:var(--text-light); }
  .chat-starter-chip { border:1px solid #BFE3CC; background:var(--white); color:#1B5E20; border-radius:14px; padding:6px 10px; font-size:13px; line-height:1.35; cursor:pointer; max-width:100%; text-align:left; }
  .chat-starter-chip:active { background:#E8F7EE; }
  .chat-input-bar { display:flex; align-items:center; gap:10px; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:var(--white); border-top:1px solid var(--border); }
  .chat-input { flex:1; min-width:0; padding:13px 16px; border:1.5px solid var(--border); border-radius:14px; font-size:16px; line-height:1.45; min-height:46px; outline:none; background:var(--bg); color:var(--text); }
  .chat-input:focus { border-color:var(--primary); }
  .chat-send-btn { width:44px; height:44px; padding:0; border:none; border-radius:50%; background:var(--green); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:0 2px 6px rgba(46,125,50,.25); }
  .chat-send-btn svg { width:18px; height:18px; fill:#fff; transform:translateX(1px); }
  .chat-send-btn:disabled { background:var(--text-light); cursor:not-allowed; box-shadow:none; }
  .chat-end-btn { margin-left:8px; border:none; border-radius:18px; padding:10px 16px; font-size:13px; font-weight:700; color:#fff; background:rgba(255,255,255,.18); cursor:pointer; white-space:nowrap; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
  .chat-end-btn:active { background:rgba(255,255,255,.3); }
  .chat-end-btn:disabled { opacity:.5; cursor:not-allowed; }
  /* 2026-11-26：手动交卷按钮（浮在输入栏上方，练到 1 轮后出现） */
  .chat-finish-row { position:absolute; right:16px; bottom:calc(92px + env(safe-area-inset-bottom)); z-index:6; display:none; }
  .chat-finish-btn { border:1.5px solid var(--green); border-radius:999px; background:var(--white); color:var(--green-dark); padding:9px 14px; font-size:13px; font-weight:700; font-family:inherit; cursor:pointer; box-shadow:0 3px 12px rgba(0,0,0,.14); white-space:nowrap; }
  .chat-finish-btn:active { background:var(--green-light); }
  .chat-finish-btn:disabled { border-color:var(--border); color:var(--text-light); background:var(--white); box-shadow:none; cursor:default; }
  /* 窄屏下压缩聊天头部，防止标题被挤成竖排 */
  @media (max-width:380px) {
    .chat-header-sub { display:none; }
    .chat-btn-text { display:none; }
    .chat-header-actions { gap:4px; }
    .chat-header-btn { padding:10px 8px; }
  }

  /* ===== 全局轻提示 Toast ===== */
  .toast { position:fixed; left:50%; bottom:calc(84px + env(safe-area-inset-bottom)); transform:translateX(-50%) translateY(20px); z-index:9000; max-width:84%; padding:11px 18px; border-radius:22px; font-size:13px; font-weight:500; color:#fff; background:rgba(26,26,46,.92); box-shadow:0 8px 24px rgba(0,0,0,.25); opacity:0; pointer-events:none; transition:all .28s cubic-bezier(.2,.8,.2,1); text-align:center; }
  .toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
  .toast.toast-ok { background:rgba(46,125,50,.95); }
  .toast.toast-err { background:rgba(220,38,38,.95); }
  .toast.toast-warn { background:rgba(217,119,6,.95); }

  /* ===== 全屏加载遮罩（用于评分等耗时操作） ===== */
  .loading-mask { position:fixed; inset:0; background:rgba(7,30,18,.42); display:none; align-items:center; justify-content:center; z-index:9500; flex-direction:column; gap:14px; }
  .loading-mask.show { display:flex; }
  .loading-spinner { width:38px; height:38px; border:4px solid rgba(255,255,255,.35); border-top-color:#fff; border-radius:50%; animation:spin .8s linear infinite; }
  .loading-text { color:#fff; font-size:14px; font-weight:600; }
  @keyframes spin { to { transform:rotate(360deg); } }
  .chat-voice-btn { width:44px; height:44px; padding:0; border:1.5px solid var(--border); border-radius:50%; background:var(--white); font-size:16px; cursor:pointer; color:var(--text); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .15s,color .15s,border-color .15s,transform .15s,opacity .15s; }
  .chat-voice-btn.active { background:var(--green); border-color:var(--green-ink); color:#fff; }
  .chat-voice-btn.recording { background:#ef4444; border-color:#ef4444; color:#fff; animation:pulse 1s infinite; }
  /* 录音波形覆盖层 */
  .rec-overlay { display:flex; align-items:center; gap:12px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:var(--white); border-top:1px solid var(--border); }
  .rec-overlay canvas { flex:1; height:48px; max-width:200px; }
  .rec-info { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text); white-space:nowrap; }
  .rec-dot { width:8px; height:8px; border-radius:50%; background:#ef4444; animation:pulse 1s infinite; flex-shrink:0; }
  .rec-text { font-weight:600; color:var(--danger-ink); }
  .rec-time { color:var(--text-light); font-variant-numeric:tabular-nums; min-width:32px; }
  .rec-stop-btn { padding:8px 16px; border:none; border-radius:14px; background:#ef4444; color:#fff; font-size:14px; font-weight:600; cursor:pointer; white-space:nowrap; flex-shrink:0; }
  .chat-upload-btn { width:44px; height:44px; padding:0; border:1.5px solid var(--border); border-radius:50%; background:var(--white); font-size:16px; cursor:pointer; color:var(--text); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .15s,color .15s,border-color .15s,transform .15s,opacity .15s; }
  .chat-upload-btn:hover { border-color:var(--green-ink); color:var(--green-ink); }
  .chat-upload-btn:disabled { opacity:.5; cursor:not-allowed; }
  .chat-bubble.system { text-align:center; font-size:13px; color:var(--text-light); margin:6px auto; background:var(--surface-2); padding:4px 10px; border-radius:10px; max-width:90%; }
  .chat-material-chip { display:inline-flex; align-items:center; gap:4px; margin:2px 4px 0 0; padding:3px 8px; background:var(--info-bg); color:var(--info-text); border-radius:10px; font-size:13px; max-width:60%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
  .chat-speak-inline { display:inline-flex; align-items:center; gap:3px; margin-top:5px; padding:3px 10px; border:1px solid var(--border); border-radius:12px; background:var(--white); font-size:13px; color:var(--text-light); cursor:pointer; transition:background .15s,color .15s,border-color .15s,transform .15s,opacity .15s; }
  .chat-speak-inline:hover { border-color:var(--green-ink); color:var(--green-ink); }
  .chat-speak-inline.playing { background:var(--green); border-color:var(--green-ink); color:#fff; }
  @keyframes pulse { 0%{opacity:1;} 50%{opacity:.55;} 100%{opacity:1;} }
  /* 场景搜索结果（半径安全：≤14px） */
  .scene-results { margin:0 16px 8px; background:var(--white); border-radius:14px; box-shadow:var(--card-shadow); overflow:hidden; }
  .scene-result-item { display:flex; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid var(--border-light); cursor:pointer; transition:background .15s; }
  .scene-result-item:last-child { border-bottom:none; }
  .scene-result-item:active { background:var(--bg); }
  .scene-result-icon { width:40px; height:40px; border-radius:10px; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
  .scene-result-text { flex:1; min-width:0; }
  .scene-result-name { font-size:14px; font-weight:600; color:var(--text); }
  .scene-result-desc { font-size:13px; color:var(--text-secondary); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; }
  .scene-result-go { color:var(--primary); font-size:18px; flex-shrink:0; }
  /* ===== Phase 2.5：评价报告真实渲染 + 详情弹窗 ===== */
  .report-empty { padding:18px 16px; color:var(--text-light); font-size:13px; text-align:center; line-height:1.6; }
  .chat-score-btn { padding:0 12px; border:1.5px solid var(--primary); border-radius:var(--radius); background:var(--white); color:var(--primary); font-size:13px; cursor:pointer; white-space:nowrap; min-height:44px; }
  .chat-score-btn:active { background:var(--success-bg); }
  /* 全局弹窗默认垂直居中：内容长度不可预估（报告全文/对话回放/通讯录/通知列表），
     贴底抽屉会把标题和关闭按钮顶出屏幕，长内容根本读不到。
     需要抽屉形态的（语言选择器）单独加 .drawer。 */
  .modal-mask { position:fixed; inset:0; background:rgba(0,0,0,.5); display:none; align-items:center; justify-content:center; padding:16px; box-sizing:border-box; z-index:3000; }
  .modal-mask.show { display:flex; }
  .modal-mask.drawer { align-items:flex-end; padding:0; }
  .confirm-modal-mask { align-items:center; padding:16px; box-sizing:border-box; }
  .confirm-modal-mask .modal-box { width:min(360px, calc(100vw - 32px)); max-width:360px; max-height:calc(100dvh - 32px); overflow-y:auto; border-radius:16px; padding:22px 20px calc(20px + env(safe-area-inset-bottom)); box-sizing:border-box; }
  .confirm-modal-actions { display:flex; gap:10px; margin-top:18px; }
  .confirm-modal-actions button { flex:1; min-height:48px; margin:0 !important; padding:12px 8px !important; box-sizing:border-box; }
  .modal-box { background:var(--white); width:100%; max-width:480px; max-height:calc(100dvh - 32px); overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; border-radius:16px; padding:22px 20px; position:relative; }
  .drawer .modal-box { max-height:88dvh; border-radius:16px 16px 0 0; padding-bottom:calc(28px + env(safe-area-inset-bottom)); }
.lang-picker-box { padding:18px 16px calc(20px + env(safe-area-inset-bottom)) 16px; }
.lang-picker-title { font-size:16px; font-weight:600; color:var(--text-0); margin-bottom:14px; padding:0 4px; }
.lang-picker-options { display:flex; flex-direction:column; gap:8px; }
.lang-picker-option { display:flex; align-items:center; gap:10px; padding:13px 14px; border-radius:12px; background:var(--surface-1); border:1.5px solid transparent; font-size:15px; color:var(--text-0); cursor:pointer; -webkit-tap-highlight-color:transparent; transition:all .15s; font-family:inherit; }
.lang-picker-option.selected { border-color:var(--primary); background:rgba(46,125,50,.06); }
.lang-picker-option .opt-check { margin-left:auto; color:var(--primary); font-weight:700; opacity:0; transition:opacity .15s; font-size:16px; }
.lang-picker-option.selected .opt-check { opacity:1; }
  .modal-close { position:absolute; top:8px; right:8px; width:44px; height:44px; font-size:24px; color:var(--text-light); cursor:pointer; line-height:1; display:flex; align-items:center; justify-content:center; }
  .modal-title { font-size:17px; font-weight:700; color:var(--text); margin-bottom:6px; }
  .modal-score { font-size:26px; font-weight:800; color:var(--warning-ink); }
  .modal-score span { font-size:13px; font-weight:500; color:var(--primary); margin-left:6px; }
  .modal-first { font-size:13px; font-weight:600; color:var(--gold-text); background:var(--gold-bg, rgba(214,172,86,.12)); padding:8px 12px; border-radius:10px; margin:10px 0 2px; line-height:1.5; }
  .modal-comment { font-size:13px; color:var(--text-secondary); margin:6px 0 12px; line-height:1.6; }
  .modal-engine-tag { display:inline-block; font-size:13px; font-weight:600; color:var(--info-text); background:var(--info-bg); padding:3px 10px; border-radius:12px; margin:4px 0 8px; }
  .modal-sub { font-size:14px; font-weight:600; margin:14px 0 6px; color:var(--text); }
  .dim-list, .modal-list { font-size:13px; color:var(--text-secondary); }
  .dim-row { display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px solid var(--border); }
  .dim-comment { font-size:13px; color:var(--text-secondary); margin:-2px 0 6px; line-height:1.5; padding-left:2px; }
  .dim-evidence { font-size:13px; color:var(--gold-text); margin:-2px 0 8px; line-height:1.5; padding-left:2px; }

  /* ===== 实战记录操作 / 训练回放 / 同场景对比 ===== */
  .record-acts { display:flex; gap:10px; align-items:center; }
  .record-act { font-size:13px; color:var(--green-ink); cursor:pointer; font-weight:600; }
  .record-act:hover { text-decoration:underline; }
  .replay-score { display:inline-block; margin:6px 0 12px; padding:5px 12px; border-radius:20px; background:var(--light-green); color:var(--green-ink); font-weight:700; font-size:13px; }
  .replay-score-muted { background:var(--bg); color:var(--text-secondary); font-weight:500; }
  .replay-chat { display:flex; flex-direction:column; gap:12px; max-height:46vh; overflow-y:auto; padding:4px 2px; -webkit-overflow-scrolling:touch; }
  .replay-bub { max-width:82%; padding:10px 12px; border-radius:14px; font-size:14px; line-height:1.55; }
  .replay-bub .replay-role { font-size:13px; color:var(--text-light); margin-bottom:3px; }
  .replay-bub.user { align-self:flex-end; background:var(--green); color:#fff; border-bottom-right-radius:4px; }
  .replay-bub.bot { align-self:flex-start; background:var(--bg); color:var(--text); border-bottom-left-radius:4px; }
  .replay-actions { margin-top:14px; }
  .compare-list { display:flex; flex-direction:column; gap:8px; margin-top:8px; }
  .compare-item { display:flex; justify-content:space-between; align-items:center; padding:12px 14px; background:var(--bg); border-radius:10px; cursor:pointer; }
  .compare-item:hover { background:var(--border-light); }
  .compare-score { font-weight:700; color:var(--green-ink); }
  .compare-head { display:flex; align-items:center; gap:10px; margin:8px 0 14px; }
  .compare-sub { font-size:13px; color:var(--text-light); }
  .compare-big { font-size:22px; font-weight:800; color:var(--text); }
  .compare-arrow { color:var(--text-light); font-size:18px; }
  .compare-delta { margin-left:auto; font-size:20px; font-weight:800; }
  .compare-delta.up { color:var(--green-ink); }
  .compare-delta.down { color:var(--danger-ink); }
  .compare-delta.flat { color:var(--text-light); }
  .compare-dims { display:flex; flex-direction:column; gap:2px; }
  .compare-dim-row { display:flex; align-items:center; gap:8px; padding:9px 4px; border-bottom:1px solid var(--border-light); font-size:13px; }
  .cd-name { flex:1; color:var(--text-secondary); }
  .cd-a, .cd-b { width:42px; text-align:center; font-weight:700; color:var(--text); }
  .cd-arrow { color:var(--text-light); }
  .cd-delta { width:48px; text-align:right; font-weight:700; }
  .cd-delta.up { color:var(--green-ink); }
  .cd-delta.down { color:var(--danger-ink); }
  .cd-delta.flat { color:var(--text-light); }

  .dim-score { font-weight:700; color:var(--primary); }
  .modal-list > div { padding:4px 0; line-height:1.5; }
  /* ===== 分享面板 ===== */
  .share-sheet-mask { position:fixed; inset:0; background:rgba(0,0,0,.5); display:none; align-items:flex-end; justify-content:center; z-index:3500; }
  .share-sheet-mask.show { display:flex; }
  .share-sheet { background:var(--white); width:100%; max-width:480px; border-radius:16px 16px 0 0; padding:20px 16px calc(20px + env(safe-area-inset-bottom)); animation:slideUp .25s ease; }
  @keyframes slideUp { from { transform:translateY(100%); } to { transform:translateY(0); } }
  .share-sheet-title { font-size:15px; font-weight:700; color:var(--text); text-align:center; margin-bottom:16px; }
  .share-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px 8px; margin-bottom:16px; }
  .share-item { display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; -webkit-tap-highlight-color:transparent; }
  .share-item:active { opacity:.7; }
  .share-icon { width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:24px; }
  .share-icon.wechat { background:#2E7D32; color:#fff; }
  .share-icon.moments { background:#2E7D32; color:#fff; }
  .share-icon.qq { background:#12B7F5; color:#fff; }
  .share-icon.qzone { background:#FECE00; color:#333; }
  .share-icon.copy { background:#6B7280; color:#fff; }
  .share-icon.poster { background:var(--primary); color:#fff; }
  .share-item-label { font-size:13px; color:var(--text-secondary); }
  .share-cancel { width:100%; padding:12px; text-align:center; font-size:15px; color:var(--text-secondary); border-top:1px solid var(--border-light); cursor:pointer; }
  .share-cancel:active { background:var(--bg); }
  .share-toast { position:fixed; bottom:30%; left:50%; transform:translateX(-50%); background:rgba(0,0,0,.8); color:#fff; padding:10px 20px; border-radius:8px; font-size:13px; z-index:3600; opacity:0; transition:opacity .3s; pointer-events:none; max-width:90vw; text-align:center; }
  .share-toast.show { opacity:1; }
  /* ===== 训练目标卡片 ===== */
  .goal-card { background:var(--white); border:1px solid var(--border-light); border-radius:var(--radius-md); padding:14px 16px; margin-bottom:8px; }
  .goal-row { display:flex; justify-content:space-between; align-items:center; padding:6px 0; border-bottom:1px solid var(--border-light); font-size:13px; color:var(--text-secondary); }
  .goal-row:last-of-type { border-bottom:none; }
  .goal-row strong { color:var(--text); font-size:14px; }
  /* ===== 投诉/提醒表单 ===== */
  .form-input { width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:16px; line-height:1.45; color:var(--text); outline:none; box-sizing:border-box; background:var(--white); transition:border-color .2s; -webkit-appearance:none; appearance:none; }
  .form-input:focus { border-color:var(--primary); }
  textarea.form-input { resize:vertical; min-height:104px; line-height:1.5; }

  /* ===== 打卡连胜卡片 ===== */
  .checkin-card { margin:4px 16px 8px; background:linear-gradient(135deg,#2E7D32 0%,#2E7D32 55%,#388E3C 100%); border-radius:var(--radius); padding:16px; color:#fff; box-shadow:0 6px 18px rgba(56,142,60,.25); position:relative; overflow:hidden; }
  .checkin-card::after{content:'🔥';position:absolute;right:10px;bottom:-6px;font-size:60px;opacity:.18;}
  .checkin-top { display:flex; justify-content:space-between; align-items:flex-start; }
  .checkin-streak-num { font-size:30px; font-weight:800; line-height:1; }
  .checkin-streak-label { font-size:13px; opacity:1; margin-top:2px; }
  .checkin-points { font-size:13px; background:rgba(255,255,255,.18); padding:3px 8px; border-radius:var(--radius-xl); margin-top:6px; display:inline-block; }
  .checkin-week { display:flex; gap:6px; margin-top:14px; }
  .checkin-day { flex:1; text-align:center; }
  .checkin-day-dot { width:26px; height:26px; line-height:26px; margin:0 auto; border-radius:50%; background:rgba(255,255,255,.18); font-size:14px; }
  .checkin-day-dot.on { background:#fff; }
  .checkin-day-wk { font-size:13px; opacity:1; margin-top:3px; }
  .checkin-btn { margin-top:14px; width:100%; border:none; border-radius:var(--radius); padding:11px; font-size:15px; font-weight:700; color:var(--green-ink); background:#fff; cursor:pointer; }
  .checkin-btn:disabled { color:#2E7D32; background:rgba(255,255,255,.65); cursor:default; }
  .checkin-warn { margin-top:12px; background:rgba(255,255,255,.92); color:#B45309; font-size:13px; font-weight:700; padding:9px 12px; border-radius:var(--radius); line-height:1.5; }
  .checkin-shield { margin-top:6px; display:inline-block; font-size:13px; font-weight:600; color:#1B5E20; background:rgba(255,255,255,.9); padding:3px 9px; border-radius:var(--radius-xl); }

  /* ===== P1批4：本周实战榜 + 双人搭子 ===== */
  .rank-partner-row { display:flex; gap:10px; margin:0 16px 10px; }
  .rank-card, .partner-card { flex:1; min-width:0; background:#fff; border:1px solid rgba(56,142,60,.18); border-radius:var(--radius); padding:12px; cursor:pointer; box-shadow:0 2px 8px rgba(56,142,60,.06); }
  .rank-title, .partner-title { font-size:14px; font-weight:800; color:var(--green-ink); margin-bottom:6px; }
  .rank-my, .partner-body { font-size:13px; color:#555; line-height:1.6; word-break:break-all; }
  .rank-delta-up { color:#2E7D32; font-weight:800; }
  .rank-delta-down { color:#DC2626; font-weight:800; }
  .rank-delta-new { color:var(--warning-ink); font-weight:800; }

  /* ===== P1批5：今日待办卡片 ===== */
  .todo-card { margin:0 16px 10px; background:#fff; border:1px solid rgba(56,142,60,.18); border-radius:var(--radius); padding:12px 14px; box-shadow:0 2px 8px rgba(56,142,60,.06); }
  .todo-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
  .todo-title { font-size:14px; font-weight:800; color:var(--green-ink); }
  .todo-progress { font-size:13px; color:var(--text-light); }
  .todo-item { display:flex; align-items:center; gap:8px; padding:7px 4px; border-bottom:1px solid #f6f6f6; cursor:pointer; }
  .todo-item:last-child { border-bottom:none; }
  .todo-item.done { opacity:1; cursor:default; }
  .todo-check { flex:0 0 22px; width:22px; height:22px; border-radius:50%; border:1.5px solid #ddd; display:flex; align-items:center; justify-content:center; font-size:13px; color:#fff; }
  .todo-item.done .todo-check { background:#2E7D32; border-color:#2E7D32; }
  .todo-txt { flex:1; min-width:0; }
  .todo-txt-title { font-size:13px; font-weight:600; color:#333; }
  .todo-txt-desc { font-size:13px; color:var(--text-light); line-height:1.5; }
  .todo-go { font-size:13px; color:var(--green-ink); font-weight:700; flex:0 0 auto; }

  /* ===== 个性化成长路径 ===== */
  .path-card { margin:4px 16px 8px; background:var(--white); border-radius:var(--radius); padding:16px; box-shadow:var(--card-shadow); border:1px solid var(--border-light); }
  .path-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .path-title { font-size:16px; font-weight:800; color:var(--text); }
  .path-weak { font-size:13px; color:var(--gold-text); background:var(--gold-bg); padding:3px 8px; border-radius:20px; white-space:nowrap; }
  .path-rec { display:flex; gap:12px; align-items:center; margin-top:14px; }
  .path-avatar { width:48px; height:48px; border-radius:12px; object-fit:cover; flex-shrink:0; background:var(--border-light); }
  .path-info { flex:1; min-width:0; }
  .path-name { font-size:15px; font-weight:700; color:var(--text); }
  .path-role { font-size:13px; color:var(--text-light); margin-top:1px; }
  .path-reason { font-size:13px; color:var(--text-secondary); margin-top:6px; line-height:1.5; }
  .path-go { flex-shrink:0; border:none; border-radius:var(--radius); padding:12px 16px; font-size:13px; font-weight:700; color:#fff; background:var(--green); cursor:pointer; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
  .path-opts { display:flex; gap:8px; margin-top:12px; overflow-x:auto; padding-bottom:2px; -webkit-overflow-scrolling:touch; }
  .path-opt { flex:1; min-width:0; background:var(--bg); border:1px solid var(--border-light); border-radius:10px; padding:9px 10px; cursor:pointer; text-align:left; }
  .path-opt-name { font-size:13px; font-weight:600; color:var(--text); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; }
  .path-opt-reason { font-size:13px; color:var(--text-light); margin-top:3px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  /* P1批7（2026-10-24）：本周任务块 + 进度线 */
  .path-week { margin-top:12px; padding:12px 14px; background:var(--bg); border:1px solid var(--border-light); border-radius:12px; }
  .path-week-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .path-week-badge { font-size:13px; font-weight:700; color:var(--green-ink); background:var(--green-bg, #E7EFE9); padding:3px 9px; border-radius:20px; }
  .path-week-done { font-size:13px; font-weight:700; color:var(--green-ink); }
  .path-week-title { font-size:14px; font-weight:700; color:var(--text); margin-top:8px; line-height:1.45; }
  .path-week-prog { font-size:13px; color:var(--text-light); margin-top:4px; }
  .path-week-prog-strong { display:flex; align-items:center; gap:8px; margin-top:8px; font-size:13px; font-weight:700; color:var(--green-ink); }
  .path-week-prog-strong .pct { color:var(--gold, #B8913E); }
  .path-week-bar { display:flex; gap:4px; margin-top:8px; }
  .path-week-cell { flex:1; height:5px; border-radius:3px; background:var(--border-light); }
  .path-week-cell.done { background:var(--green); }
  .path-week-cell.cur { background:var(--gold, #B8913E); }
  .path-week .path-go { margin-top:12px; width:100%; }
  /* P1批7：首页本周推荐卡（置顶） */
  .wk-card { grid-column: 1 / -1; margin-bottom:10px; padding:14px 16px; border-radius:12px;
    background:linear-gradient(135deg,#EFF6FF 0%,#F7F3E7 100%); border:1px solid #C7DDF3; }
  .wk-card-done { background:linear-gradient(135deg,#E7EFE9 0%,#F7F3E7 100%); border-color:#C6DCCB; }
  .wk-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .wk-badge { font-size:13px; font-weight:700; color:#1D4ED8; background:#DBEAFE; padding:3px 9px; border-radius:20px; }
  .wk-done { font-size:13px; font-weight:700; color:var(--primary, #2E7D32); }
  .wk-title { font-size:15px; font-weight:700; color:var(--text); margin-top:8px; line-height:1.45; }
  .wk-prog { font-size:13px; color:var(--text-light); margin-top:4px; }
  .wk-bar { display:flex; gap:4px; margin-top:10px; }
  .wk-go { margin-top:12px; width:100%; border:none; border-radius:var(--radius); padding:12px 16px;
    font-size:13px; font-weight:700; color:#fff; background:var(--primary, #2E7D32); cursor:pointer;
    min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
  .wk-done-tip { margin-top:10px; font-size:13px; color:var(--text-light); text-align:center; }

  /* ===== 新手引导全屏弹窗 ===== */
  .onboard-mask { position:fixed; inset:0; background:rgba(7,30,18,.55); display:none; align-items:center; justify-content:center; z-index:4000; padding:20px; }
  .onboard-mask.show { display:flex; }
  .onboard-box { width:100%; max-width:360px; background:var(--white); border-radius:var(--radius-lg); padding:26px 22px 22px; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,.3); }
  .onboard-emoji { font-size:54px; line-height:1; }
  .onboard-title { font-size:20px; font-weight:800; color:var(--text); margin-top:12px; }
  .onboard-desc { font-size:14px; color:var(--text-secondary); margin-top:8px; line-height:1.6; }
  .onboard-steps { text-align:left; margin:18px 0 6px; }
  .onboard-step { display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--border-light); }
  .onboard-step:last-child { border-bottom:none; }
  .onboard-step-no { width:28px; height:28px; flex-shrink:0; border-radius:50%; background:var(--light-green); color:var(--green-ink); font-weight:800; font-size:14px; display:flex;align-items:center;justify-content:center; }
  .onboard-step-t { font-size:14px; font-weight:600; color:var(--text); }
  .onboard-step-d { font-size:13px; color:var(--text-light); margin-top:2px; }
  .onboard-dots { display:flex; justify-content:center; gap:7px; margin:16px 0; }
  .onboard-dot { width:8px; height:8px; border-radius:50%; background:var(--border); transition:background .2s,color .2s,border-color .2s,transform .2s,opacity .2s; }
  .onboard-dot.active { background:var(--green); width:20px; border-radius:4px; }
  .onboard-btn { width:100%; border:none; border-radius:var(--radius); padding:13px; font-size:16px; font-weight:700; color:#fff; background:var(--green); cursor:pointer; }
  .onboard-skip { margin-top:12px; font-size:13px; color:var(--text-light); cursor:pointer; }
  .onboard-skip:hover { color:var(--text-secondary); }

  /* ===== 通知项（接入真实未读状态） ===== */
  .notif-item.unread .notif-title { font-weight:700; color:var(--text); }
  .notif-unread-dot { width:8px; height:8px; border-radius:50%; background:var(--danger); flex-shrink:0; margin-top:6px; }
  .notif-empty { text-align:center; color:var(--text-light); padding:30px 0; font-size:14px; line-height:1.6; }
  .notif-clear { font-size:13px; color:var(--text-light); text-align:right; padding:4px 2px; cursor:pointer; }

  /* ═══ P2 修复：全局优化 ═══ */
  /* ::placeholder 统一样式 */
  ::placeholder { color:var(--text-light); opacity:1; }
  :focus::placeholder { color:var(--border); }
  /* :focus-visible 仅键盘导航时显示焦点环 */
  input:focus, select:focus, textarea:focus { outline:none; }
  input:focus-visible, select:focus-visible, textarea:focus-visible,
  button:focus-visible, [tabindex]:focus-visible {
    outline:2px solid var(--primary); outline-offset:2px;
  }
  /* 交互元素禁止文字选中（防长按高亮） */
  .header-left, .back-arrow, .greeting-bell, .dl-icon, .lottery-pointer,
  .arena-header-back, .nav-item, .nav-icon, .modal-close, .share-cancel,
  .onboard-skip, .scene-tab, .tab-item, .mall-tab, .auth-tab,
  .chat-header-btn, .chat-end-btn, .chat-send-btn, .chat-voice-btn,
  .chat-upload-btn, .checkin-btn, .onboard-btn, .btn, .guest-btn,
  .ai-btn, .share-item, .rank-more-btn, .comm-act, .comm-send,
  .arena-back, .arena-room .ar-join, .path-go, .path-opt,
  .report-btn, .report-view, .record-view, .record-act,
  .course-continue, .section-more, .login-back, .menu-item,
  .toggle-switch, .action-chip, .arena-create .arena-btn,
  .mall-item .mi-btn, .rec-stop-btn, .chat-score-btn,
  .ss-btn, .ss-close, .pay-modal-cancel, .wechat-reg-btn { user-select:none; -webkit-user-select:none; }

  /* ═══ P2 修复：文字溢出处理 ═══ */
  .expert-name, .rank-name, .user-name, .comm-author, .path-title,
  .path-name, .arena-room .ar-name, .report-name, .record-title,
  .chart-title, .menu-section-title, .modal-title, .section-title,
  .lb-badge, .data-card-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mall-item .mi-name { line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; }
  .profile-name { overflow:hidden; }
  .menu-item { min-width:0; }
  .menu-text { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .arena-header-sub { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

  /* ═══ P2 修复：滚动容器性能优化 ═══ */
  .chat-messages, .arena-msgs, .modal-box, .pay-modal,
  .shipping-sheet, .replay-chat { contain:layout style paint; }
  /* 缺失的 overscroll-behavior */
  .pay-modal, .shipping-sheet, .replay-chat { overscroll-behavior:contain; }
  /* 横向滚动容器隐藏滚动条 */
  .heatmap-scroll, .path-opts { scrollbar-width:none; }
  .heatmap-scroll::-webkit-scrollbar, .path-opts::-webkit-scrollbar { display:none; }
  /* 纵向滚动条美化 */
  .chat-messages::-webkit-scrollbar, .arena-msgs::-webkit-scrollbar,
  .modal-box::-webkit-scrollbar, .replay-chat::-webkit-scrollbar,
  .pay-modal::-webkit-scrollbar, .shipping-sheet::-webkit-scrollbar { width:3px; }
  .chat-messages::-webkit-scrollbar-thumb, .arena-msgs::-webkit-scrollbar-thumb,
  .modal-box::-webkit-scrollbar-thumb, .replay-chat::-webkit-scrollbar-thumb,
  .pay-modal::-webkit-scrollbar-thumb, .shipping-sheet::-webkit-scrollbar-thumb { background:var(--border); border-radius:3px; }
  .chat-messages::-webkit-scrollbar-track, .arena-msgs::-webkit-scrollbar-track,
  .modal-box::-webkit-scrollbar-track, .replay-chat::-webkit-scrollbar-track,
  .pay-modal::-webkit-scrollbar-track, .shipping-sheet::-webkit-scrollbar-track { background:transparent; }

  /* ═══ P2 修复：触摸目标增大 ═══ */
  .login-back, .section-more, .course-continue, .onboard-skip, .notif-clear {
    min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:4px 8px;
  }
  .dl-icon { min-width:44px; min-height:44px; display:flex; align-items:center; justify-content:center; }

  /* ═══ P2 修复：响应式断点 ═══ */
  /* 小屏安卓 ≤360px：缩小间距和字号 */
  @media (max-width:360px) {
    .course-grid, .mall-grid { gap:8px; }
    /* 字号已由 clamp() 流式收缩，此处不再硬写，避免断点跳变 */
    .section { padding:12px 12px 4px; }
    .stats-row { gap:6px; padding:10px 12px 6px; }
    .ai-card { margin:10px 12px; padding:16px; }
    .ai-card-avatar { width:48px; height:48px; }
    .data-card { margin:0 12px 12px; padding:16px; }
    .comm-box { margin:10px 12px; }
    .chart-card { margin:8px 12px 10px; }
  }
  /* 大屏 ≥768px：利用额外空间 */
  /* 桌面端 ≥768px：还原"居中 430/480 移动 App"取景框，body 改用深绿 --bg-outer */
  @media (min-width:768px) {
    body { background:var(--bg-outer); }
    .app { max-width:480px; margin:0 auto; box-shadow:0 0 40px rgba(0,0,0,.08); }
    .course-grid, .mall-grid { grid-template-columns:1fr 1fr 1fr; }
    .scene-carousel { grid-template-columns:repeat(3, minmax(0, 1fr)); }
    .share-grid { grid-template-columns:repeat(6, 1fr); }
  }

  /* ═══ 报告上墙（2026-11-10 契约 §5.1）：入口 / 徽标 / 弹窗状态区 / 设置开关 ═══ */
  .report-wall-link { float:right; font-size:13px; font-weight:600; color:var(--primary); cursor:pointer; }
  .report-wall-link:active { opacity:.7; }
  .wall-badge { padding:3px 10px; border-radius:12px; font-size:13px; line-height:1.5; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .wall-badge.on { background:var(--success-bg); color:var(--success-text); }
  .wall-badge.todo { background:var(--info-bg); color:var(--info-text); }
  .wall-badge.pending { background:#FEF3C7; color:#92400E; }
  .wall-badge.off { background:var(--surface-2); color:var(--text-light); }
  .report-card .report-actions { flex-wrap:wrap; }
  .report-card .wall-publish-btn { flex:0 0 100%; }
  .report-wall-box { margin-top:12px; padding:11px 13px; border:1px dashed #C9A24B; border-radius:12px; background:#FEFCE8; }
  .report-wall-title { font-size:13px; font-weight:700; color:#3B2A0E; margin-bottom:6px; }
  .report-wall-state { font-size:13px; line-height:1.65; color:#3B2A0E; }
  .report-wall-state.on { color:var(--success-text); font-weight:600; }
  .report-wall-state.off, .report-wall-state.loading { color:var(--gold-text); }
  .report-wall-state.err { color:#B91C1C; }
  .report-wall-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:9px; }
  .report-wall-actions .report-btn { flex:1 1 auto; min-width:104px; }
  .report-wall-retry { color:var(--primary); font-weight:700; cursor:pointer; text-decoration:underline; }
  #showcasePrefHint { padding:2px 14px 12px; font-size:13px; line-height:1.6; color:var(--text-light); }
  /* 移动端 480px：作品墙状态区与按钮保持单行可点、不溢出 */
  @media (max-width:480px) {
    .report-card .report-actions, .report-wall-actions { gap:6px; }
    .report-wall-box { padding:10px 11px; }
    .report-wall-actions .report-btn { min-width:92px; }
    .report-wall-link { font-size:13px; }
  }

  /* ═══ P2 修复：transition 优化 ═══ */
  .toast { transition:opacity .28s cubic-bezier(.2,.8,.2,1), transform .28s cubic-bezier(.2,.8,.2,1); }
.qt-tb-resume{background:linear-gradient(135deg,#2E7D32,#1B5E20);color:#fff;border-radius:14px;padding:20px;text-align:center;box-shadow:0 2px 8px rgba(27,94,32,.25);}
  .qt-tb-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;}
  .qt-tb-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px;text-align:center;cursor:pointer;}
  .qt-resume-input{width:100%;box-sizing:border-box;margin:6px 0;padding:10px;border:1px solid #ddd;border-radius:8px;font-size:14px;}
  textarea.qt-resume-input{min-height:60px;}
  .qt-resume-claim{padding:6px 0;border-bottom:1px dashed #eee;font-size:13px;}

  /* ═══════════ 实战页重构（2026-11-18）：一屏一个动作 ═══════════ */
  #page-shizhan .sz-wrap { padding: 2px 16px 8px; }

  .sz-hero { position:relative; overflow:hidden; border-radius:20px; padding:18px;
    background:linear-gradient(150deg,#1B5E20 0%,#2E7D32 58%,#35883A 100%);
    color:#fff; box-shadow:0 12px 26px -16px rgba(27,94,32,.7); }
  .sz-hero::after { content:""; position:absolute; right:-54px; top:-70px; width:190px; height:190px; border-radius:50%;
    background:radial-gradient(circle,rgba(212,175,94,.28),rgba(212,175,94,0) 68%); pointer-events:none; }
  .sz-hero-top { display:flex; align-items:center; justify-content:space-between; position:relative; z-index:1; gap:8px; }
  .sz-brand { font-size:13px; font-weight:600; letter-spacing:1.6px; color:#E7C982; white-space:nowrap; }
  .sz-hero-tag { font-size:13px; color:rgba(255,255,255,.62); text-align:right; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .sz-hero-name { font-size:clamp(23px,6.2vw,26px); line-height:1.22; font-weight:800; margin:9px 0 0; letter-spacing:.3px; position:relative; z-index:1; word-break:break-word; }
  .sz-hero-goal { font-size:13px; line-height:1.6; margin:6px 0 0; color:rgba(255,255,255,.86); position:relative; z-index:1; }
  .sz-hero-meta { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:11px; font-size:13px; color:rgba(255,255,255,.6); position:relative; z-index:1; }
  .sz-hero-meta i { width:3px; height:3px; border-radius:50%; background:rgba(255,255,255,.45); display:inline-block; }
  .sz-hero-actions { display:flex; gap:10px; margin-top:15px; position:relative; z-index:1; }
  .sz-primary { flex:1; height:46px; border:0; border-radius:999px; background:#fff; color:#1B5E20; font-size:15px; font-weight:700; font-family:inherit; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:6px; }
  .sz-primary:active { transform:scale(.99); }
  .sz-secondary { width:96px; height:46px; border-radius:999px; border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff; font-size:13px; font-weight:600; font-family:inherit; cursor:pointer; }
  .sz-hero[data-state="error"] .sz-hero-tag { color:#FFD98A; }

  .sz-progress { width:100%; margin-top:12px; border:1px solid var(--border); background:var(--white); border-radius:14px; padding:11px 13px; display:flex; align-items:center; gap:12px; font-family:inherit; text-align:left; cursor:pointer; box-shadow:var(--card-shadow); color:var(--text); }
  .sz-progress:active { opacity:.92; }
  .sz-p-left { display:flex; flex-direction:column; gap:2px; flex:0 0 auto; }
  .sz-p-label { font-size:13px; color:var(--text-light); }
  .sz-p-value { font-size:15px; font-weight:800; color:var(--green-dark); line-height:1.1; }
  .sz-p-mid { flex:1; min-width:0; }
  .sz-p-segs { display:flex; gap:4px; }
  .sz-p-segs i { height:4px; flex:1; border-radius:2px; background:var(--surface-3); display:block; }
  .sz-p-segs i.on { background:var(--green); }
  .sz-p-segs i.cur { background:rgba(46,125,50,.35); }
  .sz-p-hint { font-size:13px; color:var(--text-light); margin-top:5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .sz-p-streak { flex:0 0 auto; font-size:13px; color:var(--gold-text); background:var(--gold-bg); border:1px solid rgba(212,175,94,.35); border-radius:999px; padding:4px 9px; white-space:nowrap; }
  .sz-p-streak b { font-size:13px; }

  .sz-sec-head { display:flex; align-items:baseline; justify-content:space-between; margin:20px 2px 9px; }
  .sz-sec-head h2 { font-size:16px; font-weight:700; margin:0; letter-spacing:.2px; color:var(--text); }
  .sz-link { border:0; background:none; font-family:inherit; font-size:13px; color:var(--text-secondary); cursor:pointer; padding:4px 0; }
  .sz-chev { color:#5B6A63; font-size:17px; line-height:1; flex:0 0 auto; }

  .sz-scene-list { display:flex; flex-direction:column; gap:8px; }
  .sz-scene { display:flex; align-items:center; gap:12px; width:100%; min-width:0; text-align:left; background:var(--white); border:1px solid var(--border-light); border-radius:16px; padding:11px 12px; cursor:pointer; font-family:inherit; box-shadow:var(--card-shadow); color:var(--text); }
  .sz-scene:active { background:var(--surface-2); }
  .sz-scene-avatar { width:46px; height:46px; border-radius:12px; object-fit:cover; flex:0 0 auto; background:var(--green-light); display:flex; align-items:center; justify-content:center; font-size:20px; }
  .sz-scene-body { flex:1; min-width:0; display:flex; flex-direction:column; }
  .sz-scene-title { display:block; font-size:14.5px; font-weight:700; line-height:1.25; color:var(--text); }
  .sz-scene-sub { display:block; font-size:13px; color:var(--text-secondary); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .sz-scene-sub em { font-style:normal; color:var(--green-dark); font-weight:600; }
  .sz-scene-meta { display:block; font-size:13px; color:var(--text-light); margin-top:4px; }
  .sz-scene.is-locked { opacity:1; }
  .sz-lock { display:inline-block; margin-left:5px; font-size:13px; color:var(--warning-text); background:var(--warning-bg); border-radius:6px; padding:1px 5px; vertical-align:1px; font-weight:600; }

  .sz-note { font-size:13px; color:var(--text-light); margin:8px 2px 0; line-height:1.5; }

  .sz-module-list { display:flex; flex-direction:column; gap:8px; }
  .sz-module { display:flex; align-items:center; gap:10px; width:100%; text-align:left; border:1px solid var(--border-light); background:var(--white); border-radius:14px; padding:12px 13px; font-family:inherit; cursor:pointer; box-shadow:var(--card-shadow); color:var(--text); }
  .sz-module:active { background:var(--surface-2); }
  .sz-module-body { flex:1; min-width:0; }
  .sz-module-name { display:block; font-size:14px; font-weight:700; }
  .sz-module-meta { display:block; font-size:13px; color:var(--text-light); margin-top:3px; }
  .sz-module.is-locked .sz-module-name { color:var(--text-secondary); }

  .sz-row { display:flex; align-items:center; gap:12px; width:100%; text-align:left; background:var(--white); border:1px solid var(--border-light); border-radius:16px; padding:11px 12px; cursor:pointer; font-family:inherit; box-shadow:var(--card-shadow); margin-top:10px; color:var(--text); }
  .sz-row:active { background:var(--surface-2); }
  .sz-row-body { flex:1; min-width:0; display:flex; flex-direction:column; }
  .sz-row-title { display:block; font-size:14px; font-weight:700; }
  .sz-row-sub { display:block; font-size:13px; color:var(--text-light); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .sz-row-score { font-size:20px; font-weight:800; color:var(--green-dark); letter-spacing:-.3px; flex:0 0 auto; }

  .sz-quote { margin:14px 2px 0; padding-left:11px; border-left:2px solid #E4D3A8; }
  .sz-quote-text { font-size:13px; line-height:1.65; color:var(--text-secondary); }
  .sz-quote-who { font-size:13px; color:var(--text-light); margin-top:4px; }
  .sz-quote-legal { font-size:13px; color:var(--text-light); opacity:1; margin-top:2px; }

  .sz-more { display:flex; align-items:center; width:100%; gap:8px; border:0; background:none; font-family:inherit; padding:15px 2px 6px; cursor:pointer; font-size:13px; color:var(--text-light); }
  .sz-more-label { font-weight:700; color:var(--text-secondary); }
  .sz-more-items { flex:1; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

  /* 弹层：复用 .modal-mask/.modal-box 骨架 */
  .sz-sheet { padding:0; display:flex; flex-direction:column; max-height:88dvh; overflow:hidden; }
  .sz-sheet-head { position:relative; padding:18px 18px 8px; flex:0 0 auto; }
  .sz-sheet-title { font-size:17px; font-weight:700; color:var(--text); padding-right:40px; }
  .sz-sheet-title span { font-size:13px; color:var(--text-light); font-weight:500; }
  .sz-search-wrap { padding:0 16px 8px; flex:0 0 auto; }
  .sz-search { width:100%; height:42px; border:1px solid var(--border); border-radius:12px; padding:0 14px; font-size:14px; font-family:inherit; color:var(--text); background:var(--surface-2); outline:none; box-sizing:border-box; }
  .sz-search:focus { border-color:var(--green-ink); }
  .sz-chips { display:flex; gap:8px; overflow-x:auto; padding:0 16px 10px; flex:0 0 auto; scrollbar-width:none; }
  .sz-chips::-webkit-scrollbar { display:none; }
  .sz-chip { flex:0 0 auto; border:0; border-radius:999px; padding:7px 13px; background:var(--surface-2); color:var(--text-secondary); font-size:13px; font-family:inherit; cursor:pointer; }
  .sz-chip.active { background:var(--green); color:#fff; font-weight:600; }
  .sz-sheet-body { flex:1 1 auto; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; padding:2px 16px calc(24px + env(safe-area-inset-bottom)); }
  .sz-group-label { font-size:13px; font-weight:600; color:var(--text-light); margin:13px 2px 7px; }
  .sz-group-label:first-child { margin-top:4px; }

  .sz-more-body { padding-top:6px; }
  .sz-more-row { display:flex; align-items:center; gap:12px; width:100%; border:0; border-bottom:1px solid var(--border-light); background:none; padding:13px 2px; font-family:inherit; text-align:left; cursor:pointer; color:var(--text); }
  .sz-more-ico { width:36px; height:36px; border-radius:10px; background:var(--green-light); display:flex; align-items:center; justify-content:center; font-size:18px; flex:0 0 auto; }
  .sz-more-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
  .sz-more-main b { font-size:14px; font-weight:700; }
  .sz-more-main small { font-size:13px; color:var(--text-light); }
  .sz-more-quote { margin:16px 2px 0; padding:12px 13px; border-radius:12px; background:var(--gold-bg); color:var(--gold-text); font-size:13px; line-height:1.65; }

  .sz-rec-sec { margin-top:16px; }
  .sz-rec-sec:first-child { margin-top:4px; }
  .sz-rec-title { font-size:13px; font-weight:700; color:var(--text); margin-bottom:8px; }
  .sz-rec-card { border:1px solid var(--border-light); border-radius:12px; padding:12px 13px; background:var(--white); }
  .sz-rec-row { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:13px; color:var(--text-secondary); padding:3px 0; }
  .sz-rec-row b { color:var(--text); font-size:13px; }
  .sz-rec-bar { height:5px; border-radius:3px; background:var(--surface-2); overflow:hidden; margin:8px 0 6px; }
  .sz-rec-bar i { display:block; height:100%; background:var(--green); border-radius:3px; }
  .sz-rec-note { font-size:13px; color:var(--text-light); line-height:1.6; }
  .sz-rec-btn { display:inline-flex; align-items:center; justify-content:center; height:38px; padding:0 16px; margin-top:9px; border:0; border-radius:999px; background:var(--green); color:#fff; font-size:13px; font-weight:600; font-family:inherit; cursor:pointer; }
  .sz-rec-days { display:flex; gap:6px; margin-top:7px; }
  .sz-rec-day { flex:1; text-align:center; font-size:13px; color:var(--text-light); }
  .sz-rec-day i { display:block; width:100%; height:26px; line-height:26px; border-radius:8px; background:var(--surface-2); font-style:normal; margin-bottom:3px; }
  .sz-rec-day i.on { background:var(--green-light); color:var(--green-dark); }

  @media (max-width:360px) {
    #page-shizhan .sz-wrap { padding-left:12px; padding-right:12px; }
    .sz-hero { padding:15px; }
    .sz-secondary { width:88px; }
  }
  .sz-social { display:flex; align-items:center; gap:6px; margin:10px 2px 0; font-size:13px; color:var(--text-light); line-height:1.5; }
  .sz-social::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--green); flex:0 0 auto; }

  /* 身份切换：在校 / 已工作（持久偏好，控制首屏 3 个备选） */
  .sz-stage { display:flex; align-items:center; gap:6px; margin:-3px 2px 9px; }
  .sz-stage-label { font-size:13px; color:var(--text-light); margin-right:2px; }
  .sz-stage button { border:0; border-radius:999px; padding:5px 12px; font-size:13px; font-family:inherit; background:var(--surface-2); color:var(--text-secondary); cursor:pointer; }
  .sz-stage button.active { background:var(--green); color:#fff; font-weight:600; }

  /* 2026-11-18：场景头像上的锁头（未开通/会员/专属/未到阶段） */
  .sz-avatar-wrap { position:relative; width:46px; height:46px; flex:0 0 auto; }
  .sz-avatar-wrap .sz-scene-avatar { width:100%; height:100%; }
  .sz-avatar-lock { position:absolute; right:-5px; top:-5px; width:20px; height:20px; border-radius:50%; background:#E5484D; color:#fff; font-size:13px; line-height:1; display:flex; align-items:center; justify-content:center; border:2px solid var(--white); box-shadow:0 1px 4px rgba(0,0,0,.28); }
  .sz-scene.is-locked .sz-scene-avatar { filter:grayscale(.45); opacity:.82; }

  /* 2026-11-18：大四 T4 提前学徽标 */
  .sz-preview { display:inline-block; margin-left:6px; padding:1px 6px; border-radius:8px; background:#E8F7EE; color:#0F7A3D; font-size:13px; font-weight:700; vertical-align:1px; }
.site-icp { padding:18px 16px calc(88px + env(safe-area-inset-bottom)); text-align:center; font-size:13px; line-height:1.9; color:var(--text-light); background:var(--bg); }
.site-icp a { color:inherit; text-decoration:none; }
.site-icp a:hover { text-decoration:underline; }
.site-icp-sep { margin:0 6px; }
