/* =====================================================
   21天习惯养成 · 双皮肤系统（v1.14 版式精炼）
   -----------------------------------------------------
   设计原则（老万 2026-11-14 18:44 定）：
   1) 页面内「21天…」只出现一次（中间主标语），顶栏与广告位不再重复品牌词；
   2) 黑金版与白色版共用同一份 DOM 与同一套组件样式，只换 --lh-* 变量；
   3) 高级感 = 少装饰、统一间距、克制的强调色、清晰的字重层级。
   -----------------------------------------------------
   v1.13 的第 7 节「40 余条 dark 覆盖」已删除，改为第 2 节一组变量覆盖。
   ===================================================== */

/* ---------- 0. 盒模型基线（D-199 补） ----------
   老万 2026-11-30：全站「排版随意」。查下来头一条根因是基线不齐：
   只有 common.css 里写了 *{box-sizing:border-box}，而 common.css 只被十来页引用，
   其余三十多页（mygoods / discover / settle / wallet / food / slot …）都缺这条。
   缺了它的后果不是「难看」而是「顶破」：width:100% 再加左右内边距，
   元素就比屏幕宽 20~30px —— 门店流程图那张卡右边就是这么被切掉的。
   这里只补盒模型，不补 margin/padding:0（那会动到上百处既有排版）。 */
*,*::before,*::after{box-sizing:border-box;}

/* ---------- 1. 内页 light 皮肤对 common.css 的覆盖（保留） ---------- */
html[data-skin="light"]{
  --bg-void:#ffffff;
  --bg-deep:#f7f8fa;
  --bg-panel:#ffffff;
  --bg-raise:#f4f6f8;
  --bg-line:#e9ecf0;
  /* v1.63：白底下「金」整体换成品牌漆红 —— 老万「金色加黑还是土」。
     这六个变量是内页老装饰（标签、徽章、步骤号、折叠箭头）的取色处，
     统一改这里，record / competition / member 等页的金边金字一次全变红，
     不用逐条改每页的内联样式。 */
  --gold:#b2231a;
  --gold-bright:#d23a26;
  --gold-dim:#e9c5bf;
  --gold-deep:#8d1a11;
  --gold-soft:rgba(178,35,26,.07);
  --gold-glow:rgba(178,35,26,.16);
  --text-hi:#171a1f;
  --text:#3c434d;
  --text-mid:#6c7581;
  --text-low:#9aa3ae;
  --danger:#cf4b42;
  --ok:#2f9e73;
  --radius:12px;
  --radius-lg:16px;
  --nav-h:58px;
}
html[data-skin="light"] body{background:var(--bg-void);color:var(--text);}
html[data-skin="light"] .announce{background:var(--bg-deep);color:var(--text-mid);letter-spacing:.04em;}
html[data-skin="light"] .nav{background:rgba(255,255,255,.88);}
html[data-skin="light"] .logo .mark{background:linear-gradient(180deg,var(--lh-btn,#ef4d33),var(--lh-btn-2,#c22a17));color:var(--lh-btn-ink,#fff);}   /* v1.62 金→漆红；v1.71 补字色：红面必须白字，原来沿用了金面的深字 */
html[data-skin="light"] .nav-links a.on::after{box-shadow:none;}
html[data-skin="light"] .btn-gold{
  background:linear-gradient(180deg,var(--lh-btn) 0%,var(--lh-btn-2) 100%);
  color:var(--lh-btn-ink);border-color:var(--lh-btn-2);
  box-shadow:inset 0 1px 0 var(--lh-btn-shine, rgba(255,255,255,.3)),0 4px 14px var(--lh-btn-soft);
}
html[data-skin="light"] .btn-gold:hover{filter:brightness(1.06);box-shadow:0 8px 22px var(--lh-btn-soft);}
html[data-skin="light"] .btn-line{background:#fff;color:var(--lh-btn-t);border-color:var(--lh-btn-t);}
html[data-skin="light"] .btn-line:hover{background:var(--lh-btn-soft);box-shadow:none;}
/* v1.61：白底按钮一律走 --lh-btn-* 五个变量（此时是金），
   内页（member / record / competition …）的次级按钮也一并跟金；深色皮肤不动。
   注意：不许在这些规则里写死颜色，写死就换不了皮肤。 */
html[data-skin="light"] .code-btn,
html[data-skin="light"] .upload-btn,
html[data-skin="light"] .btn-sm{border-color:var(--lh-btn-t);color:var(--lh-btn-t);}
html[data-skin="light"] .code-btn:hover,
html[data-skin="light"] .upload-btn:hover,
html[data-skin="light"] .btn-sm:hover{background:var(--lh-btn-soft);}
html[data-skin="light"] .btn-sm.gold,
html[data-skin="light"] .btn-sm.gold:hover{
  background:linear-gradient(180deg,var(--lh-btn) 0%,var(--lh-btn-2) 100%);
  border-color:var(--lh-btn-2);color:var(--lh-btn-ink);
  box-shadow:inset 0 1px 0 var(--lh-btn-shine, rgba(255,255,255,.3));
}
html[data-skin="light"] .field input,
html[data-skin="light"] .field select,
html[data-skin="light"] .field textarea{background:#fff;border-color:var(--bg-line);}
html[data-skin="light"] footer{background:var(--bg-deep);}
html[data-skin="light"] .foot-bottom{border-top-color:var(--bg-line);}
html[data-skin="light"] .card,
html[data-skin="light"] .mstep,
html[data-skin="light"] .five,
html[data-skin="light"] .plan-card{box-shadow:0 6px 24px rgba(23,26,31,.05);border-color:var(--bg-line);}
html[data-skin="light"] .card:hover,
html[data-skin="light"] .mstep:hover,
html[data-skin="light"] .five:hover{box-shadow:0 14px 36px rgba(23,26,31,.09);border-color:var(--gold-dim);}
html[data-skin="light"] .hero::before{opacity:.35;}
html[data-skin="light"] .hero::after{opacity:.22;}
html[data-skin="light"] .stats{background:var(--bg-deep);}
html[data-skin="light"] .fivealign{background:var(--bg-deep);}

/* ---------- 2. 主屏设计变量：两套皮肤唯一差别 ----------
   组件样式（第 4 节）只引用这些变量，不写死颜色，
   因此黑金版与白色版的版式、尺寸、间距天然完全一致。 */

/* ---------- 2.0 字号倍率（v1.32 老万 21:23 定）----------
   问题：抽屉里的赛道名 / 副标 / 说明只有 10.5~13.5px，手机上偏小，长辈看不清。
   做法：html 上挂一个 --lh-fs 倍率，skin.css 里所有 px 字号都写成
   calc(Xpx * var(--lh-fs))，用户在抽屉「字号」里选标准 / 大 / 特大，
   整站（顶栏、抽屉、卡片、tab、输入框）跟着一起缩放，不用改任何 DOM。
   放在 html 上而不是 .lite-home 上：抽屉 / tabbar 是 fixed 元素，挂在 body 外也能继承。
   ⚠️ 主标语用 clamp() 自适应，不参与缩放（本来就是大字，再乘会溢出）。 */
html{ --lh-fs:1; }
html[data-fs="lg"]{ --lh-fs:1.12; }
html[data-fs="xl"]{ --lh-fs:1.26; }
/* 内页（common.css 体系：help / report / assistant / intro 等）字号不跟随三档：
   那里全部写死 px，用 zoom 会破坏 fixed 定位与宽度计算，改 rem 属大重构。
   诚实边界：字号三档只覆盖 .lite-home 体系（首页 / 商城 / 我的 / 机构四页的顶栏、
   抽屉、卡片、tab、输入框），内页保持原样。 */

/* v1.32 老万 21:23：mall / sponsor / mine 三页没有 .lite-home 容器，
   变量全部落空 → border 与 background 声明整条失效（白皮肤下看不出，深色下明显）。
   把变量同时挂到 body，任何页面都拿得到。 */
.lite-home,body{
  --lh-bg:#ffffff;
  --lh-surface:#fafbfc;
  --lh-surface-2:#f1f3f6;
  --lh-line:#eceef2;
  --lh-text:#171a1f;
  --lh-sub:#737c87;
  --lh-faint:#aeb5be;
  --lh-accent:#1b1f26;
  --lh-accent-ink:#ffffff;
  --lh-logo-bg:#f4f6fa;
  /* v1.43 老万 2026-11-16 19:09：**白底之下，所有按钮统一用红色**（喜庆）。
     --lh-btn / --lh-btn-2 是填充渐变的起止色，--lh-btn-ink 是按钮上的字色，
     --lh-btn-t 用于「描边 / 文字型」按钮（比填充色深一点，白底上才够对比），
     --lh-btn-soft 用于浅色底纹（提示条、选中行）。
     ⚠️ 所有按钮一律走这五个变量，不许再写死 #e0402f / #b31d16 —— 写死就换不了皮肤。 */
  /* v1.62 老万 11-17 23:56：「所有的按钮还是都要用上高级有光泽的红，金色加黑还是土。」
     金（v1.61，试过一版）→ 回红，但不是平涂红，是「漆面红」：
       上亮下深的两段渐变 + 顶部一道 1px 高光 + 底部同色系投影。
     --lh-btn / --lh-btn-2 是渐变起止，--lh-btn-ink 是字色（红面上的字用白），
     --lh-btn-t 用于描边 / 文字型按钮，--lh-btn-soft 用于底纹与投影，--lh-btn-shine 是顶部高光。
     ⚠️ 所有按钮一律走这几个变量，不许写死颜色 —— 写死就换不了皮肤。 */
  /* v1.64 老万 05:19：原 #a5190e 收到手机上发黑，看着像「红+黑」。
     起点抬到 #ef4d33、落点抬到 #c22a17 —— 仍是上亮下深的漆面，但不再压到黑。 */
  --lh-btn:#ef4d33;
  --lh-btn-2:#c22a17;
  --lh-btn-ink:#ffffff;
  --lh-btn-t:#b2231a;
  --lh-btn-soft:rgba(196,40,28,.16);
  --lh-btn-shine:rgba(255,255,255,.34);
}
html[data-skin="dark"] .lite-home,html[data-skin="dark"] body{
  --lh-bg:#080b10;
  --lh-surface:#10151d;
  --lh-surface-2:#161d27;
  --lh-line:#202833;
  --lh-text:#eef1f5;
  --lh-sub:#96a0ac;
  --lh-faint:#69737f;
  --lh-accent:#d9bd8b;
  --lh-accent-ink:#0a0d12;
  --lh-logo-bg:#121923;
  /* v1.62：深色皮肤同样用红，只是红要抬亮一档、高光更弱 —— 暗底上的漆红才不闷。 */
  --lh-btn:#f05a3e;
  --lh-btn-2:#c62c18;
  --lh-btn-ink:#ffffff;
  --lh-btn-t:#ef8168;
  --lh-btn-soft:rgba(228,81,58,.22);
  --lh-btn-shine:rgba(255,255,255,.26);
}

/* v1.43 统一按钮基类：想加新按钮直接挂 .hd-btn，皮肤一换自动跟着变。
   渐变、字色、描边、阴影全部来自变量，两套皮肤零覆盖。 */
.hd-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:9px 16px;border-radius:12px;cursor:pointer;font-family:var(--font-sans);
  font-size:calc(12.5px * var(--lh-fs));font-weight:600;line-height:1.35;
  border:1px solid var(--lh-btn-2);color:var(--lh-btn-ink);
  background:linear-gradient(180deg,var(--lh-btn) 0%,var(--lh-btn-2) 100%);
  box-shadow:inset 0 1px 0 var(--lh-btn-shine, rgba(255,255,255,.3)),
             0 3px 10px var(--lh-btn-soft);
  transition:filter .18s,box-shadow .18s,transform .12s;
}
.hd-btn:hover{
  filter:brightness(1.07);
  box-shadow:inset 0 1px 0 var(--lh-btn-shine, rgba(255,255,255,.3)),
             0 8px 20px var(--lh-btn-soft);
}
.hd-btn:active{transform:translateY(1px);filter:brightness(.97);}
.hd-btn:disabled{opacity:.5;cursor:not-allowed;filter:none;box-shadow:none;}
.hd-btn-line{
  background:transparent;color:var(--lh-btn-t);border-color:var(--lh-btn-t);box-shadow:none;
}
.hd-btn-line:hover{background:var(--lh-btn-soft);box-shadow:none;}

/* ---------- 3. 首页版式 ----------
   两种皮肤都是同一份 .lite-home。
   2026-11-28：原门户首页 .classic-only 整块已从 index.html 删除
   （内含 12,000+ 用户 / 98% 复购 等虚构数字），这条 display:none 的
   遮盖规则也就没有存在意义了 —— 没有假内容需要藏。 */
.lite-home{display:block;}

/* ---------- 4. 简约主屏组件（两套皮肤共用） ---------- */
.lite-home{
  min-height:100vh;
  background:var(--lh-bg);
  color:var(--lh-text);
  padding-bottom:calc(148px + env(safe-area-inset-bottom));
  font-family:var(--font-sans);
  -webkit-font-smoothing:antialiased;
}
.lite-home a{text-decoration:none;}
/* v1.64：这里原本还有一句 color:inherit，权重 (0,1,1)，把 .u2-btn / .btn-lite / .u2-pill
   这些 (0,1,0) 的按钮字色全盖成了正文深墨 —— 商城「加入购物车」就成了红底黑字。
   文字色交回 common.css 的 a{color:inherit}（(0,0,1)），按钮自己的规则才压得住。 */

/* 顶栏：只放汉堡 / 智能体昵称 / ◐，不重复品牌词 */
.lh-top{
  height:var(--nav-h);
  display:flex;align-items:center;gap:12px;
  padding:0 18px;border-bottom:1px solid var(--lh-line);
  background:var(--lh-bg);
  position:sticky;top:0;z-index:30;
}
.lh-icon{
  width:34px;height:34px;flex:none;border:1px solid var(--lh-line);
  background:var(--lh-surface);border-radius:50%;display:grid;place-items:center;
  cursor:pointer;font-size:calc(16px * var(--lh-fs));color:var(--lh-text);transition:background .18s;
}
.lh-icon:hover{background:var(--lh-surface-2);}
.lh-title{
  flex:1;min-width:0;text-align:center;font-size:calc(14px * var(--lh-fs));font-weight:500;
  letter-spacing:.08em;color:var(--lh-text);
}
.lh-title b{font-weight:500;}
/* v1.18 顶栏品牌语：可点击进站内品牌页，两套皮肤共用变量。
   v1.28：「全息双实，专注溯源」十个字（含全角逗号）上移到这里，字距与内距收一档，
   保证 320px 窄屏也单行不折、不挤压两侧圆形按钮 */
.lh-title a.lh-motto{
  display:inline-block;color:var(--lh-text);text-decoration:none;
  font-size:calc(15px * var(--lh-fs));font-weight:500;letter-spacing:.08em;
  padding:6px 8px;border-radius:12px;transition:color .18s;
  white-space:nowrap;
}
.lh-title a.lh-motto:hover,.lh-title a.lh-motto:focus-visible{color:var(--lh-accent);}
.lh-title a.lh-motto::after{content:" \2197";font-size:calc(12px * var(--lh-fs));opacity:.5;}

/* 顶部图片广告位：一条轻横幅，无渐变、无光斑、无胶囊按钮 */
.lh-banner{
  display:block;position:relative;overflow:hidden;
  margin:16px auto 0;max-width:560px;width:calc(100% - 32px);height:92px;
  border-radius:16px;background:var(--lh-surface);border:1px solid var(--lh-line);
  transition:border-color .18s;
}
.lh-banner:hover{border-color:var(--lh-accent);}
.lh-banner > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.lh-banner-ph{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;
  padding:0 44px 0 18px;gap:5px;
}
.lh-banner-ph .b-t{font-size:calc(14px * var(--lh-fs));font-weight:600;letter-spacing:.01em;color:var(--lh-text);}
.lh-banner-ph .b-s{font-size:calc(12.5px * var(--lh-fs));color:var(--lh-sub);line-height:1.5;}
.lh-banner-ph .b-arrow{
  position:absolute;right:18px;top:50%;transform:translateY(-50%);
  font-size:calc(17px * var(--lh-fs));color:var(--lh-faint);line-height:1;
}

/* 中间主舞台：LOGO + 唯一一句 slogan（v1.27 品牌总纲 · 两行衬线大字）
   中文衬线栈在前、Latin 字体栈在后；两套皮肤只换 --lh-* 变量，版式天然一致。 */
.lh-main{max-width:560px;margin:0 auto;padding:clamp(40px,10vh,96px) 24px 0;text-align:center;}
/* v1.30：入口副卡撤掉后，首页主标语下方留白显空；仅首页把内容块下沉到视觉中心，
   其他页（商城 / 机构 / 帮助）内容本就长，不受影响 */
.lh-main.lh-home-main{padding-top:clamp(52px,17vh,160px);}
.lh-logo{
  width:96px;height:96px;margin:0 auto 26px;border-radius:28px;
  background:var(--lh-logo-bg);border:1px solid var(--lh-line);
  display:grid;place-items:center;
}
.lh-logo img{width:64px;height:64px;display:block;}
.lh-main h1{
  margin:0 0 18px;color:var(--lh-text);font-weight:600;line-height:1.55;
  font-family:"Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC","SimSun",Georgia,serif;
  text-wrap:balance;
  /* 中文默认可在任意字间断行，会断出「商业信 / 任」这种破词；keep-all 让断点只落在标点后 */
  word-break:keep-all;overflow-wrap:normal;
}
/* v1.30 老万 19:56 定：顶栏品牌语缩为「大局观」，主标语改「让信任，有据可依」。
   v1.31 老万 20:37 定：主标语末字「依」改「寻」——「依/您」不押韵，「寻/您」
   同收 -n 韵腹，读起来才顺；字面含义不变（证据可追溯、可查证）。
   仍是两级排版 —— 主线八字做大字，收尾「小谱帮您」四字做金色副行。
   字数与「让信任，有据可依」相同，字号与字距不变，无需重调 clamp。 */
.lh-main h1 .sl-main{
  display:block;
  font-size:clamp(27px,7.2vw,50px);
  letter-spacing:.1em;text-indent:.1em;line-height:1.35;
}
.lh-main h1 .sl-sub{
  display:block;margin-top:.12em;
  font-size:clamp(22px,5.6vw,36px);font-weight:500;
  letter-spacing:.16em;text-indent:.16em;color:var(--lh-accent);
}
/* v1.30：主标语外层 a 与「企业 · 门店 · 分赛道组统一入口」副卡一并撤掉
   （入口按身份收进左侧抽屉），a.lh-slogan-link / .lh-slogan-entry 规则删除，不留死代码。 */
.lh-main .lh-sub{font-size:calc(13px * var(--lh-fs));color:var(--lh-sub);line-height:1.85;margin-bottom:32px;}
/* v1.22 老万 21:27 定：首页只留 LOGO + 唯一一句主标语；副标语 / 功能卡 / 说明文字 /
   免责长句一律不放首屏；备案号（法规要求）压成输入框下方一行极淡小字，跟豆包 /
   WorkBuddy 的底部提示位一致；智能体免责移到内页常驻。下方 .lh-main .lh-sub 与
   .lh-entry 系列样式保留但不再引用，避免以后误把说明文字加回首页。 */
.lh-composer .lh-foot{
  max-width:560px;margin:7px auto 0;padding:0 8px;text-align:center;
  font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);line-height:1.4;opacity:.8;
}
.lh-composer .lh-foot a{color:inherit;text-decoration:none;border-bottom:1px dotted var(--lh-line);}

/* 四个快捷卡：无阴影、无碎金点，统一高度与间距 */
.lh-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:440px;margin:0 auto;}
.lh-card{
  display:flex;align-items:center;gap:11px;text-align:left;min-height:56px;
  background:var(--lh-surface);border:1px solid var(--lh-line);border-radius:16px;
  padding:12px 14px;font-size:calc(13px * var(--lh-fs));color:var(--lh-text);cursor:pointer;
  transition:border-color .18s,background .18s;
}
.lh-card:hover{background:var(--lh-surface-2);border-color:var(--lh-accent);}
.lh-card .ci{
  width:28px;height:28px;flex:none;border-radius:12px;background:var(--lh-surface-2);
  display:grid;place-items:center;font-size:calc(14px * var(--lh-fs));color:var(--lh-sub);
}

/* v1.21 起首页不再使用（老万：豆包 / WorkBuddy 首页不放功能卡）；样式保留供内页复用 */
.lh-entry{max-width:440px;margin:0 auto;}
.lh-primary{
  display:flex;align-items:center;gap:14px;text-decoration:none;
  background:var(--lh-surface);border:1px solid var(--lh-line);border-radius:16px;
  padding:16px 18px;min-height:76px;color:var(--lh-text);
  transition:border-color .18s,background .18s;
}
.lh-primary:hover{background:var(--lh-surface-2);border-color:var(--lh-accent);}
.lh-primary .pi{
  width:40px;height:40px;flex:none;border-radius:12px;background:var(--lh-surface-2);
  display:grid;place-items:center;font-size:calc(19px * var(--lh-fs));color:var(--lh-accent);
}
.lh-primary .pt{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;gap:4px;}
.lh-primary .pt b{font-size:calc(15px * var(--lh-fs));font-weight:600;}
.lh-primary .pt small{font-size:calc(12px * var(--lh-fs));color:var(--lh-sub);line-height:1.5;}
.lh-primary .pa{font-size:calc(18px * var(--lh-fs));color:var(--lh-faint);flex:none;}
.lh-entry-hint{font-size:calc(13.5px * var(--lh-fs));color:var(--lh-faint);text-align:center;margin:12px 0 0;line-height:1.7;}

/* v1.19 我的 · 个人内页 */
.mine-wrap{max-width:560px;margin:0 auto;padding:20px 18px calc(96px + env(safe-area-inset-bottom));}
.mine-card{background:var(--lh-surface);border:1px solid var(--lh-line);border-radius:16px;padding:20px;margin-bottom:24px;}
.mine-card .mh{display:flex;align-items:center;gap:12px;}
.mine-av{width:46px;height:46px;flex:none;border-radius:50%;background:var(--lh-surface-2);display:grid;place-items:center;font-size:calc(17px * var(--lh-fs));color:var(--lh-accent);}
.mine-card .mn{font-size:calc(15px * var(--lh-fs));font-weight:600;color:var(--lh-text);}
.mine-card .ms{font-size:calc(12px * var(--lh-fs));color:var(--lh-sub);margin-top:4px;line-height:1.6;}
.mine-theme{margin-top:16px;padding-top:14px;border-top:1px solid var(--lh-line);font-size:calc(12px * var(--lh-fs));color:var(--lh-sub);line-height:1.7;}
.mine-theme b{color:var(--lh-text);font-weight:500;}
.mine-theme a{color:var(--lh-accent);text-decoration:none;}
.mine-btns{display:flex;gap:10px;margin-top:16px;}
.mine-btns a{flex:1;text-align:center;text-decoration:none;font-size:calc(13px * var(--lh-fs));padding:11px;border-radius:12px;border:1px solid var(--lh-line);color:var(--lh-text);background:transparent;}
.mine-btns a.pri{border-color:var(--lh-btn-2);color:var(--lh-btn-ink);background:linear-gradient(135deg,var(--lh-btn),var(--lh-btn-2));}
.mine-sec-t{font-size:calc(12px * var(--lh-fs));letter-spacing:.18em;color:var(--lh-faint);margin:0 0 10px;padding-left:4px;}
.mine-list{background:var(--lh-surface);border:1px solid var(--lh-line);border-radius:16px;overflow:hidden;margin-bottom:24px;}
.mine-list a{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--lh-text);padding:15px 16px;font-size:calc(13px * var(--lh-fs));border-bottom:1px solid var(--lh-line);}
.mine-list a:last-child{border-bottom:none;}
.mine-list a:hover{background:var(--lh-surface-2);}
.mine-list .mi{width:26px;flex:none;text-align:center;color:var(--lh-accent);font-size:calc(15px * var(--lh-fs));}
.mine-list .mt{flex:1;min-width:0;}
.mine-list .mt small{display:block;color:var(--lh-faint);font-size:calc(12px * var(--lh-fs));margin-top:3px;line-height:1.5;}
.mine-list .ma{color:var(--lh-faint);font-size:calc(15px * var(--lh-fs));}
.mine-foot{font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);line-height:1.9;text-align:center;margin-top:26px;}
.mine-note{font-size:calc(13.5px * var(--lh-fs));color:var(--lh-faint);line-height:1.8;margin:0 0 24px;padding-left:4px;}

/* 底部输入框 */
.lh-composer{
  position:fixed;left:0;right:0;bottom:calc(60px + env(safe-area-inset-bottom));z-index:28;
  padding:10px 16px 12px;background:var(--lh-bg);
}
.lh-composer-in{
  max-width:560px;margin:0 auto;display:flex;align-items:center;gap:8px;
  background:var(--lh-surface);border:1px solid var(--lh-line);border-radius:26px;
  padding:5px 6px;
}
.lh-plus{
  width:34px;height:34px;flex:none;border:none;background:transparent;color:var(--lh-sub);
  border-radius:50%;font-size:calc(20px * var(--lh-fs));line-height:1;cursor:pointer;transition:background .18s;
}
.lh-plus:hover{background:var(--lh-surface-2);}
.lh-composer input{
  flex:1;min-width:0;border:none;outline:none;background:transparent;
  font-size:calc(14px * var(--lh-fs));color:var(--lh-text);font-family:var(--font-sans);padding:0 4px;
}
.lh-composer input::placeholder{color:var(--lh-faint);}
.lh-send{
  flex:none;border:1px solid var(--lh-btn-2);background:linear-gradient(135deg,var(--lh-btn),var(--lh-btn-2));color:var(--lh-btn-ink);
  border-radius:20px;height:34px;padding:0 17px;font-size:calc(13px * var(--lh-fs));font-weight:500;
  cursor:pointer;font-family:var(--font-sans);
}

/* 底部 tab bar */
.lh-tabbar{
  position:fixed;left:0;right:0;bottom:0;z-index:29;height:calc(60px + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom);
  background:var(--lh-bg);border-top:1px solid var(--lh-line);display:flex;align-items:stretch;
}
.lh-tabbar a{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  font-size:calc(12.5px * var(--lh-fs));color:var(--lh-faint);transition:color .18s;
}
.lh-tabbar a .ti{font-size:calc(18px * var(--lh-fs));line-height:1.2;}
.lh-tabbar a.on{color:var(--lh-btn-t);font-weight:600;}
.lh-tabbar a:hover{color:var(--lh-text);}

/* 左侧项目抽屉 */
.lh-mask{
  position:fixed;inset:0;background:rgba(8,12,18,.44);z-index:40;opacity:0;
  pointer-events:none;transition:opacity .22s;
}
.lh-mask.on{opacity:1;pointer-events:auto;}
.lh-drawer{
  position:fixed;top:0;bottom:0;left:0;width:min(288px,84vw);z-index:41;
  background:var(--lh-bg);border-right:1px solid var(--lh-line);
  transform:translateX(-102%);transition:transform .26s cubic-bezier(.22,.61,.36,1);
  padding:24px 16px;overflow:auto;
}
.lh-drawer.on{transform:translateX(0);}
/* v1.29：.dh / .ds（原「21 天打卡 · 通用入口」标题与副行）已随通用入口卡一并撤掉 */
.lh-drawer a,.lh-drawer button{
  display:flex;align-items:center;gap:11px;width:100%;text-align:left;
  border:none;background:none;border-radius:12px;padding:12px;margin-bottom:3px;
  font-size:calc(14.5px * var(--lh-fs));color:var(--lh-sub);cursor:pointer;font-family:var(--font-sans);line-height:1.45;
  transition:background .18s,color .18s;
}
.lh-drawer a:hover,.lh-drawer button:hover{background:var(--lh-surface);color:var(--lh-text);}
.lh-drawer .di{width:20px;text-align:center;color:var(--lh-sub);font-size:calc(15px * var(--lh-fs));flex:none;}
.lh-drawer .df{
  margin-top:20px;padding-top:16px;border-top:1px solid var(--lh-line);
  font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);line-height:1.85;
}

/* ---------- 4.1 抽屉分组 ----------
   v1.20 起的「21 天打卡 = 全栏目通用入口」独立卡已由 v1.29（2026-11-15 12:10 老万）撤掉：
   抽屉首屏不再重复一张打卡卡，直接从「栏目」开始；通用入口仍走首页引导卡 / 底部「打卡」tab /
   十二有谱每条赛道 / 任务页父级。原 .dh / .ds / .lh-universal 规则随之删除，不留死代码。
   十二有谱 = 可展开的 12 条赛道，每条都指向同一个 record.html，只在「竞赛内容」上不同。 */
/* 抽屉首节标题不再预留 20px 上间距（原来上方有通用入口卡） */
.lh-drawer > .lh-sec-t:first-child{margin-top:2px;}
.lh-sec-t{
  font-size:calc(12.5px * var(--lh-fs));letter-spacing:.14em;color:var(--lh-faint);
  margin:22px 0 9px;padding-left:12px;
}

/* ---------- 4.1.1 v1.30 身份条（老万 19:56 定）----------
   原首页主标语下方那张「企业 · 门店 · 分赛道组统一入口」把三个身份并列摆出来，
   每个访客都会以为要先挑一个。改为抽屉里一条紧凑身份条：只显示当前身份 + 可升级方向。
   身份由 role-gate.js 按 member.role_code 注入，无会话一律「个人（未登录）」。 */
.lh-idcard{
  display:flex;align-items:center;gap:9px;
  padding:10px 12px;margin-bottom:2px;border-radius:12px;
  background:var(--lh-surface);border:1px solid var(--lh-line);
}
.lh-idcard .ic-badge{
  flex:none;font-size:calc(12px * var(--lh-fs));line-height:1.5;letter-spacing:.04em;
  padding:1px 8px;border-radius:999px;white-space:nowrap;
  border:1px solid var(--lh-accent);color:var(--lh-accent);
}
.lh-idcard .ic-text{font-size:calc(12.5px * var(--lh-fs));color:var(--lh-sub);line-height:1.5;}
.lh-drawer a.lh-idup{color:var(--lh-btn-t);}
.lh-drawer a.lh-idup:hover{background:var(--lh-btn-soft);color:var(--lh-btn-t);}
.lh-drawer a.lh-idup .di{color:var(--lh-btn-t);font-size:calc(12px * var(--lh-fs));}
.lh-idnote{
  font-size:calc(13.5px * var(--lh-fs));color:var(--lh-faint);line-height:1.7;
  padding:1px 12px 0;letter-spacing:.01em;
}
.lh-drawer button.lh-group-head{
  display:flex;align-items:center;gap:10px;width:100%;text-align:left;
  border:none;background:none;border-radius:12px;padding:11px 12px;margin-bottom:2px;
  font-size:calc(13.5px * var(--lh-fs));color:var(--lh-text);cursor:pointer;font-family:var(--font-sans);
}
.lh-drawer button.lh-group-head:hover{background:var(--lh-surface);}
/* 组头右侧那行小字（3 套 / 4 项 / 二维码 · 一码双证 · 分享 …）
   v1.41：跟随组的展开/收起显示 —— 老万当时说「不是隐藏，是折叠」。
   v1.42：老万看过折叠效果后定「这些小字可以不要，显得乱」（第 4 条，截图是展开态），
          所以展开时也不再显示。**字段和 DOM 都留着**（nav.js 的 n），
          将来要恢复：删掉下面这一行 `.g-n{display:none}` 即可，不用改任何数据。
   ⚠️ 竖排 bug 防御必须保留 .gt 那三条：.g-n 曾经没有 flex / nowrap，
      长文本会把组名挤成单字折行（截图里「推广与邀请」竖着排就是这个）。 */
.lh-group-head .g-n{display:none;}
.lh-group-head .gt{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* v1.79 · 2026-11-22 19:10：折叠箭头原来是一个字符 \u25BE（▾），
   12px 下多数手机上被字体渲染成一个圆点 —— 抽屉里每个分组右边挂一颗灰点，
   客户看不出「这行能点开」。改用 CSS 画的三角，不依赖任何字体字形：
   三角朝下＝可展开，展开后转 180° 朝上＝可收起。字符仍在 DOM 里（无障碍可读），
   font-size:0 让它在视觉上不占位。 */
.lh-group-head .g-ar{flex:none;width:0;height:0;font-size:0;color:transparent;
  margin-top:5px;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid var(--lh-faint);transition:transform .2s;}
.lh-group-head[aria-expanded="true"] .g-ar{transform:rotate(180deg);}
.lh-group-body{padding-bottom:4px;}
.lh-group-body[hidden]{display:none;}
.lh-drawer a.lh-sub{
  display:flex;align-items:center;gap:9px;width:100%;text-align:left;
  /* 🔴 box-sizing:width:100% 再加左 20 右 10 的内边距，不设 border-box 就宽出 30px，
     整条右侧（含那颗「→」）被抽屉的 overflow 裁掉一半 —— 每行都少半颗箭头。 */
  box-sizing:border-box;text-decoration:none;
  padding:8px 10px 8px 20px;margin-bottom:1px;border-radius:0 10px 10px 0;
  border-left:2px solid var(--lh-line);font-size:calc(14px * var(--lh-fs));color:var(--lh-sub);
}
.lh-drawer a.lh-sub:hover{background:var(--lh-surface);color:var(--lh-text);border-left-color:var(--lh-accent);}
/* v1.96 · 抽屉首屏的品类行（商城 / 首页）
   品类是「能直接点到的货架」，必须比下面的折叠分组更实、更近 —— 原来沿用 a.lh-sub 的
   14px 灰字，结果能点的比点不开的还淡，首屏看着像一堆注释。这里抬成正文色与正文号。 */
.lh-drawer a.lh-catrow{
  color:var(--lh-text);font-size:calc(15.5px * var(--lh-fs));line-height:1.3;
  padding:13px 10px 13px 20px;border-left:0;
  /* 抽屉里每一条都是链接，浏览器默认给 a 加下划线 —— 一屏十几条全带下划线
     像旧论坛。文字本身已经够清楚，箭头也已经说明可点。 */
  text-decoration:none;
}
.lh-drawer a.lh-catrow:hover{background:var(--lh-surface);border-left-color:var(--lh-accent);}
.lh-drawer a.lh-catrow .sg{color:var(--lh-faint);}
/* 品类是「一组」，最后一个与下面的折叠入口之间要留出段落间距，
   否则 5 条之间隔 60px、最后一条与分组之间只隔 10px，节奏突兀。 */
.lh-drawer a.lh-catrow:last-of-type{margin-bottom:12px;}
.lh-catgap{height:12px;}
/* v1.96 · 抽屉最底的出口（首页 / 我的 / 官网）
   原来三条是带底色 + 边框 + 红色图标的卡片，字号与分组标题同级，比货架还抢眼。
   出口是「离开这一层」，一律压成灰色纯文字行，并用一条细线与上面的目录分开。 */
.lh-outbox{
  margin:18px 0 6px;padding-top:10px;border-top:1px solid var(--lh-line);
}
.lh-drawer a.lh-out{
  display:flex;align-items:center;gap:9px;padding:8px 12px;border-radius:10px;
  font-size:calc(13px * var(--lh-fs));color:var(--lh-sub);text-decoration:none;
}
.lh-drawer a.lh-out:hover{background:var(--lh-surface);color:var(--lh-text);}
.lh-drawer a.lh-out .hi{
  flex:none;width:18px;text-align:center;
  font-size:calc(12.5px * var(--lh-fs));color:var(--lh-faint);
}
.lh-drawer a.lh-sub .di{width:17px;flex:none;text-align:center;font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);font-family:var(--font-mono);}
.lh-drawer a.lh-sub .sn{flex:1;min-width:0;}
.lh-drawer a.lh-sub .sn small{display:block;font-size:calc(12.5px * var(--lh-fs));color:var(--lh-faint);margin-top:2px;}
.lh-drawer a.lh-sub .sg{font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);flex:none;}

/* ---------- 5. 内页右下角皮肤切换按钮 ----------
   🔴 2026-11-29 老万：「这个要改」——原来 bottom:22px（窄屏 16px）、z-index 60，
   而底栏 .lh-tabbar 是 z-index 29 / 高 60px，于是这颗圆钮正压在底栏上，
   手机窄屏直接盖住第五格「养成」的点击区（截图实证）。
   现在一律抬到底栏之上（60 + 14），层级降到 28（低于底栏）——
   万一某页还有浮钮挤在同一角，它宁可被底栏盖住，也不许再挡导航。
   ⚠️ 有右下角浮动主按钮（FAB）的页面（如 life.html 的「＋发布」）另在页内隐藏它，
     两个圆钮叠在同一个角，哪个都不好点。 */
.hd-skin-toggle{
  position:fixed;right:18px;bottom:calc(60px + 14px + env(safe-area-inset-bottom));z-index:28;
  width:38px;height:38px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:#171a1f;color:#fff;border:1px solid rgba(255,255,255,.12);
  border-radius:50%;cursor:pointer;
  box-shadow:0 8px 26px rgba(20,24,32,.2);font-family:var(--font-sans);
  transition:transform .18s;
}
.hd-skin-toggle:hover{transform:translateY(-2px);}
.hd-skin-toggle .sw{
  width:16px;height:16px;border-radius:50%;flex:none;
  background:linear-gradient(135deg,#fff 50%,#171a1f 50%);border:1px solid rgba(255,255,255,.5);
}
html[data-skin="dark"] .hd-skin-toggle{background:#f4f6f8;color:#171a1f;border-color:#e6e8ec;}
html[data-skin="dark"] .hd-skin-toggle .sw{background:linear-gradient(135deg,#e8c98a 50%,#05070a 50%);border-color:#d8dce2;}
@media(max-width:600px){
  .hd-skin-toggle{right:12px;bottom:calc(60px + 12px + env(safe-area-inset-bottom));
    width:34px;height:34px;font-size:calc(12px * var(--lh-fs));}
}

/* ---------- 6. 智能体页 / 帮助页微调（两套皮肤共用） ---------- */
html[data-skin="light"] .ag-shell{padding-top:24px;}
html[data-skin="light"] .ag-stage{border-color:#eef0f3;box-shadow:0 10px 40px rgba(23,26,31,.05);border-radius:20px;}
html[data-skin="light"] .ag-item.on{background:#f7f4ee;border-color:#e8dcc6;}
html[data-skin="light"] .ag-input input{background:#f6f7f9;}
html[data-skin="light"] .msg.bot{background:#f6f7f9;}
html[data-skin="light"] .msg.user{background:#f7f4ee;border-color:#e8dcc6;}
html[data-skin="light"] .res{border-color:#e8dcc6;}
html[data-skin="light"] .res .rh{background:#f7f4ee;}
html[data-skin="light"] .attach{border-color:#e4e7ec;}
html[data-skin="light"] .hp,
html[data-skin="light"] .report-wrap{color:var(--text);}

/* 智能体欢迎空态：两种配色都显示，容器颜色由各自变量决定 */
.ag-welcome{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:22px 0 8px;gap:8px;
}
.ag-welcome .w-logo{
  width:72px;height:72px;border-radius:22px;background:var(--bg-panel);
  border:1px solid var(--bg-line);display:grid;place-items:center;
}
.ag-welcome .w-logo img{width:50px;height:50px;}
.ag-welcome b{font-size:calc(19px * var(--lh-fs));color:var(--text-hi);font-weight:500;}
.ag-welcome span{font-size:calc(12px * var(--lh-fs));color:var(--text-low);}

/* ---------- 7. 内页导航收敛（v1.14） ----------
   避免内页顶部再出现一次「21天…」与页面主标语重复；
   英文副标为早期口径，一并隐藏，字号与字重回到简约层级。 */
.logo .txt{font-size:calc(15px * var(--lh-fs));font-weight:500;letter-spacing:.06em;}
.logo .txt small{display:none;}
.logo .mark{width:32px;height:32px;border-radius:12px;font-size:calc(14px * var(--lh-fs));}

/* ---------- 4.6 角色功能（v1.32 老万 21:23 定）----------
   老万：个人 / 门店 / 企业 / 分赛道四类主体的功能设置，要按「我的角色」放到左侧上方。
   位置：抽屉首节「我的身份」之下、「栏目」之上 —— 先看清自己是谁，再看自己能做什么，
   最后才是公共栏目。功能条目由 governance.js 的 renderRoleFns() 按角色注入，
   全部指向真实存在的页面 / 区块，不编不存在的入口。 */
.lh-rolefn{margin:0 0 2px;}
.lh-rolefn a{position:relative;}
.lh-rolefn a .di{color:var(--lh-accent);}
.lh-rolefn-note{
  font-size:calc(13.5px * var(--lh-fs));color:var(--lh-faint);
  line-height:1.75;padding:2px 12px 0;
}
/* 无功能项的角色（理论上不会有）不占位 */

/* ---------- 4.7 字号（v1.32 老万 21:23 定）----------
   长辈看不清楚是真实诉求，除了把基准字号调大，还要允许用户自己定。
   三档：标准 / 大 / 特大 → html[data-fs] 改 --lh-fs，整站跟着缩放。 */
.lh-fsrow{display:flex;gap:8px;padding:0 12px 2px;}
.lh-fsrow button{
  flex:1;min-width:0;display:block;width:auto;text-align:center;margin:0;
  border:1px solid var(--lh-line);border-radius:12px;background:transparent;
  padding:9px 4px;font-size:calc(12.5px * var(--lh-fs));color:var(--lh-sub);
  cursor:pointer;font-family:var(--font-sans);transition:border-color .18s,color .18s,background .18s;
}
.lh-fsrow button.on{
  border-color:var(--lh-btn-2);color:var(--lh-btn-ink);
  background:linear-gradient(135deg,var(--lh-btn),var(--lh-btn-2));font-weight:600;
}
.lh-fsrow button:not(.on):hover{color:var(--lh-text);}

/* ---------- 4.8 底部五栏（v1.32 老万 21:23 定）----------
   原四栏「任务 / 打卡 / 发现 / 我的」没有商城，且「任务」与「打卡」语义重叠。
   现五栏：商城 / 任务 / 打卡 / 发现 / 我的。flex:1 自动均分，五栏在 320px 下不换行。 */
.lh-tabbar a{white-space:nowrap;}

/* ---------- 直播 / 视频播放器（v1.39 老万第 4 条）
   放在 skin.css 而不是 frame.css：record.html 与 competition.html 只加载
   common.css + skin.css，不引 frame.css，样式放错文件等于白写。 ---------- */
.lv{margin-top:14px;}
.lv-hd{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.lv-hd b{font-size:calc(13px * var(--lh-fs));color:var(--lh-text);}
.lv-badge{
  padding:1px 9px;border-radius:999px;border:1px solid var(--lh-line);
  font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);white-space:nowrap;
}
.lv-badge.on{border-color:var(--lh-btn-t);color:var(--lh-btn-t);}
.lv-stage{
  position:relative;width:100%;aspect-ratio:16 / 9;border-radius:12px;overflow:hidden;
  background:var(--lh-surface-2);border:1px solid var(--lh-line);
}
.lv-video{display:block;width:100%;height:100%;object-fit:contain;background:#000;}
.lv-empty{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:7px;text-align:center;padding:0 18px;
}
.lv-ico{
  width:38px;height:38px;line-height:38px;border-radius:50%;
  border:1px solid var(--lh-line);color:var(--lh-faint);font-size:13px;
}
.lv-empty em{font-style:normal;font-size:calc(12.5px * var(--lh-fs));color:var(--lh-faint);line-height:1.7;}
.lv-bar{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap;}
.lv-btn{
  flex:1 1 auto;min-width:120px;padding:9px 12px;border-radius:12px;cursor:pointer;
  border:1px solid var(--lh-line);background:transparent;color:var(--lh-sub);
  font-family:inherit;font-size:calc(12px * var(--lh-fs));
}
.lv-btn:hover{border-color:var(--lh-accent);color:var(--lh-text);}
.lv-btn.is-off{opacity:.55;}
.lv-btn.lv-main{
  background:linear-gradient(135deg,var(--lh-btn),var(--lh-btn-2));
  border-color:var(--lh-btn-2);color:var(--lh-btn-ink);font-weight:600;
}
.lv-btn.lv-main:hover{color:var(--lh-btn-ink);filter:brightness(1.06);}
.lv-now{margin-top:7px;font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);}
.lv-ok{
  margin-top:8px;padding:8px 11px;border-radius:12px;
  background:rgba(195,56,44,.08);border-left:2px solid #c3382c;
  font-size:calc(12px * var(--lh-fs));line-height:1.8;color:var(--lh-sub);
}
.lv-more{margin-top:8px;}
.lv-more summary{
  cursor:pointer;font-size:calc(12px * var(--lh-fs));color:var(--lh-faint);
  list-style:none;
}
.lv-more summary::-webkit-details-marker{display:none;}
.lv-more summary::before{content:"\25B8 ";color:var(--lh-accent);}
.lv-more[open] summary::before{content:"\25BE ";}
.lv-note{
  margin-top:6px;padding:9px 11px;border-radius:12px;background:var(--lh-surface-2);
  font-size:calc(13.5px * var(--lh-fs));line-height:1.85;color:var(--lh-faint);
}

/* 创建主题入口（v1.39 第 1 条：卡片默认收起，这一行是唯一入口） */
.cc-entry{margin:0 0 10px;font-size:calc(13px * var(--lh-fs));line-height:1.7;}
.cc-entry a{color:var(--lh-btn-t);text-decoration:none;border-bottom:1px dashed var(--lh-btn-t);}
.cc-entry a:hover{filter:brightness(.9);}

/* =====================================================
   v1.44 抽屉新结构（老万第 1、7 条）
   ① .lh-tabmap  —— 底栏五入口快捷条：抽屉与底栏一一对上
   ② .lh-sec-in  —— 组内节标题（我的功能写在「我的身份」组里面，不再单列）
   ③ .lh-langbox —— 八国语言选择器（外观与语言组内）
   ===================================================== */

/* ① 底栏五入口：五格等分，图标在上、字在下，和底栏形状一致，一眼对得上 */
.lh-tabmap{
  display:grid;grid-template-columns:repeat(5,1fr);gap:4px;
  margin:10px 0 4px;padding:7px 4px;border-radius:12px;
  background:var(--lh-surface);border:1px solid var(--lh-line);
}
.lh-tabmap a{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:5px 0;border-radius:12px;text-decoration:none;
  color:var(--lh-sub);transition:background .16s,color .16s;
}
.lh-tabmap a:hover{background:var(--lh-bg);color:var(--lh-btn-t);}
.lh-tabmap .tm-i{font-size:calc(15px * var(--lh-fs));line-height:1;}
.lh-tabmap .tm-t{font-size:calc(12px * var(--lh-fs));letter-spacing:.02em;}

/* ② 组内节标题：紧跟身份卡，上边距收窄，否则展开后像断了一截 */
.lh-sec-t.lh-sec-in{margin:14px 0 7px;padding-left:0;}

/* ③ 语言选择器 */
.lh-langbox{margin:6px 2px 2px;padding:9px 10px;border-radius:12px;
  background:var(--lh-surface);border:1px solid var(--lh-line);}
.lh-lang-h{font-size:calc(12px * var(--lh-fs));letter-spacing:.08em;
  color:var(--lh-faint);margin-bottom:7px;}
.lh-langrow{display:flex;flex-wrap:wrap;gap:5px;}
.lh-langrow .lh-lang-b{
  min-width:38px;padding:5px 8px;border-radius:12px;cursor:pointer;
  border:1px solid var(--lh-line);background:transparent;color:var(--lh-sub);
  font-size:calc(12px * var(--lh-fs));font-family:var(--font-sans);
  transition:all .16s;
}
.lh-langrow .lh-lang-b:hover{border-color:var(--lh-btn-t);color:var(--lh-btn-t);}
.lh-langrow .lh-lang-b.on{
  background:var(--lh-btn);border-color:var(--lh-btn);
  color:var(--lh-btn-ink);font-weight:600;
}

/* =====================================================
   v1.44 老万第 3 条配色校准
   浅色版：黑（主文字/主色）+ 金（点缀）+ 红（按钮）
   深色版：金（主色/按钮）+ 白（文字，层次靠明度差而不是换色）
   ===================================================== */

/* 浅色版：金只做点缀 —— 组头图标、身份卡描边、分隔线。
   不给标题用金，否则白底上金色字对比不足、显得脏。 */
html[data-skin="light"] .lh-drawer .lh-group-head .di{color:var(--lh-btn-t);}
html[data-skin="light"] .lh-drawer .lh-idcard{border-color:#e4d6bb;}
html[data-skin="light"] .lh-drawer .lh-tabmap .tm-i{color:var(--lh-btn-t);}
html[data-skin="light"] .lh-drawer .lh-tabmap a:hover .tm-i{color:var(--lh-btn-t);}
html[data-skin="light"] .lh-drawer .lh-home .hi{color:var(--lh-btn-t);}

/* 深色版：文字抬亮，"白色字体"落到实处；仍然保留三级明度，避免一页全白没主次 */
html[data-skin="dark"]{
  --lh-text:#f4f6f9;
}
html[data-skin="dark"] .lite-home,html[data-skin="dark"] body{
  --lh-text:#f4f6f9;
  --lh-sub:#b9c2cc;
  --lh-faint:#8b95a1;
}

/* =====================================================
   v1.46 多语言提示条
   切到非中文界面后，正文（法律/合规表述）仍是中文原文 —— 必须让访客知道
   这是有意为之，不是网页坏了。悬浮在底栏上方，不遮底栏五项，可一键收起。
   ===================================================== */
.lh-i18n-note{
  position:fixed;left:10px;right:10px;
  bottom:calc(60px + env(safe-area-inset-bottom) + 10px);
  z-index:28;display:flex;align-items:center;gap:10px;
  padding:9px 12px;border-radius:12px;
  background:var(--lh-surface);border:1px solid var(--lh-line);
  box-shadow:0 6px 20px rgba(8,12,18,.14);
  font-size:calc(12px * var(--lh-fs));line-height:1.5;color:var(--lh-sub);
  animation:lhNoteIn .24s ease-out;
}
.lh-i18n-note span{flex:1;min-width:0;}
.lh-i18n-note button{
  flex:none;border:1px solid var(--lh-btn-t);background:transparent;color:var(--lh-btn-t);
  border-radius:12px;padding:4px 10px;font-size:calc(12px * var(--lh-fs));
  cursor:pointer;font-family:var(--font-sans);white-space:nowrap;
}
.lh-i18n-note button:hover{background:var(--lh-btn-soft);}
@keyframes lhNoteIn{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){.lh-i18n-note{animation:none;}}

/* ---------- v1.63 全站按钮统一「漆面红」----------
   老万 2026-11-17 23:56：「所有的按钮还是都要用上高级有光泽的红，金色加黑还是土。」
   这一节是最后一道收口：无论哪个皮肤、哪个页面，只要叫按钮就走 --lh-btn* 五个变量。
   金从此只留在勋章上（奖品用金合理），不再出现在任何按钮里。 */
.btn-gold{
  background:linear-gradient(180deg,var(--lh-btn) 0%,var(--lh-btn-2) 100%);
  color:var(--lh-btn-ink);border:1px solid var(--lh-btn-2);
  box-shadow:inset 0 1px 0 var(--lh-btn-shine, rgba(255,255,255,.3)),0 4px 14px var(--lh-btn-soft);
}
.btn-gold:hover{filter:brightness(1.07);box-shadow:inset 0 1px 0 var(--lh-btn-shine, rgba(255,255,255,.3)),0 8px 22px var(--lh-btn-soft);}
.btn-line{color:var(--lh-btn-t);border-color:var(--lh-btn-t);}
.btn-line:hover{background:var(--lh-btn-soft);color:var(--lh-btn-t);}
