/* ════════════════════════════════════════════════════════════════
   home-nova.css v7 — 全站统一界面（双主题皮肤）
   ① 全局侧栏（.lsb-*）：所有内页共用的极简导航侧栏
   ② 报纸首页（.lnp-*）：渲染进 #view，整页接管（藏侧栏/右栏/页脚）
   两个主题共用同一套 HTML，配色 / 字体靠 --hz-* / --np-* 变量切：
     luxe    = 纯黑深色广报（黑底 + 亮黄 + 宋体大标题）
     cartoon = 暖卡通报纸（奶油底 + 薄荷绿 + Fredoka）
   类名 .lsb- / .lnp- 前缀，避开 luxe.css 通用选择器。
   ════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&display=swap');

/* ════ 主题变量 ════ */
html[data-theme="luxe"] {
  --hz-bg: #000;
  --hz-panel: #121316;
  --hz-panel-2: #1b1c21;
  --hz-inset: #0c0c0e;
  --hz-hover: #141417;
  --hz-sel: #1e1f24;
  --hz-chip: #1c1c21;
  --hz-line: #232329;
  --hz-shadow: none;
  --hz-shadow-hi: none;
  --hz-ink: #ECECEC;
  --hz-strong: #ffffff;
  --hz-dim: #8b8b93;
  --hz-faint: #5c5c64;
  --hz-accent: #F5C518;
  --hz-accent-d: #B8920A;
  --hz-accent-ink: #1a1200;
  --hz-accent-soft: rgba(245, 197, 24, .13);
  --hz-disp: "Space Grotesk", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hz-body: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hz-sb-bg: #050505;
  --hz-sb-shadow: none;
  /* —— 报纸首页 —— */
  --np-paper: #0b0b0c;
  --np-ink: #ecebe4;
  --np-ink-mid: #a6a59c;
  --np-ink-dim: #6f6e66;
  --np-rule: rgba(236, 235, 228, .20);
  --np-rule-bold: rgba(236, 235, 228, .85);
  --np-hover: rgba(255, 255, 255, .035);
  --np-spot: #f5c518;
  --np-spot-ink: #1a1606;
  --np-s1: #f5c518; --np-s2: #f5c518; --np-s3: #f5c518; --np-s4: #f5c518;
  --np-headline: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --np-btn-shadow: none;
  --np-grain: .055;
}
html[data-theme="cartoon"] {
  --hz-bg: #fff8ee;
  --hz-panel: #ffffff;
  --hz-panel-2: #ffffff;
  --hz-inset: #f7f1e6;
  --hz-hover: #f3ecdf;
  --hz-sel: #e7f8d8;
  --hz-chip: #f0ebdd;
  --hz-line: #ece4d5;
  --hz-shadow: 0 2px 10px rgba(74, 53, 20, .07);
  --hz-shadow-hi: 0 10px 22px rgba(74, 53, 20, .14);
  --hz-ink: #5b544c;
  --hz-strong: #3c3530;
  --hz-dim: #857c70;
  --hz-faint: #a89e8f;
  --hz-accent: #58cc02;
  --hz-accent-d: #46a302;
  --hz-accent-ink: #ffffff;
  --hz-accent-soft: #e6f7d6;
  --hz-disp: "Fredoka", "Noto Sans SC", system-ui, sans-serif;
  --hz-body: "Nunito", "Noto Sans SC", system-ui, sans-serif;
  --hz-sb-bg: #ffffff;
  --hz-sb-shadow: 4px 0 24px rgba(74, 53, 20, .05);
  /* —— 报纸首页 —— */
  --np-paper: #fbf6ec;
  --np-ink: #2b2117;
  --np-ink-mid: #6b6458;
  --np-ink-dim: #9a9384;
  --np-rule: rgba(43, 33, 23, .16);
  --np-rule-bold: rgba(43, 33, 23, .82);
  --np-hover: rgba(43, 33, 23, .038);
  --np-spot: #58cc02;
  --np-spot-ink: #ffffff;
  --np-s1: #1cb0f6; --np-s2: #ff9600; --np-s3: #ce82ff; --np-s4: #ff5a7e;
  --np-headline: "Fredoka", "Nunito", system-ui, sans-serif;
  --np-btn-shadow: 0 7px 18px -5px rgba(88, 204, 2, .5);
  --np-grain: .075;
}

/* ════════════════════════════════════════════════════
   全局侧栏（.lsb-*）—— mountLayout 渲染，两个主题共用
   ════════════════════════════════════════════════════ */
/* 容器：收掉原侧栏装饰，用 --hz- 变量重铺 */
html[data-theme="luxe"] .sidebar,
html[data-theme="cartoon"] .sidebar {
  background: var(--hz-sb-bg) !important;
  border-right: 0 !important;
  box-shadow: var(--hz-sb-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 18px 12px 14px !important;
}
html[data-theme="luxe"] .sidebar *,
html[data-theme="luxe"] .sidebar *::before,
html[data-theme="luxe"] .sidebar *::after,
html[data-theme="cartoon"] .sidebar *,
html[data-theme="cartoon"] .sidebar *::before,
html[data-theme="cartoon"] .sidebar *::after { box-sizing: border-box; }
html[data-theme="luxe"] .sidebar svg,
html[data-theme="cartoon"] .sidebar svg { display: block; }

.lsb-brand {
  display: flex; align-items: center; gap: 11px;
  padding: 4px 8px 18px;
  text-decoration: none;
}
.lsb-logo {
  flex: none; width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--hz-accent); color: var(--hz-accent-ink);
  font-family: var(--hz-disp);
  font-weight: 700; font-size: 19px;
  display: grid; place-items: center;
}
.lsb-brand-name {
  font-family: var(--hz-disp);
  font-size: 18px; font-weight: 700; letter-spacing: .01em;
  color: var(--hz-strong);
}

.lsb-nav { display: flex; flex-direction: column; gap: 2px; }
.lsb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 10px;
  color: var(--hz-dim); font-family: var(--hz-body);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background .14s, color .14s;
}
.lsb-ic { flex: none; width: 19px; height: 19px; color: inherit; }
.lsb-ic svg { width: 100%; height: 100%; }
.lsb-label { flex: 1; min-width: 0; }
.lsb-item:hover { background: var(--hz-hover); color: var(--hz-ink); }
.lsb-item.is-active { background: var(--hz-sel); color: var(--hz-strong); }
.lsb-item.is-active .lsb-ic { color: var(--hz-accent); }
.lsb-badge {
  flex: none; min-width: 22px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--hz-accent); color: var(--hz-accent-ink);
  font-family: var(--hz-disp);
  font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}

.lsb-sect {
  padding: 18px 10px 7px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--hz-faint);
}
.lsb-groups { display: flex; flex-direction: column; gap: 1px; }
.lsb-grp-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px; border-radius: 10px;
  border: 0; background: none; cursor: pointer;
  color: var(--hz-dim);
  font-family: var(--hz-body); font-size: 14px; font-weight: 600;
  transition: background .14s, color .14s;
}
.lsb-grp-head:hover { background: var(--hz-hover); color: var(--hz-ink); }
.lsb-grp-arr { width: 16px; height: 16px; color: var(--hz-faint); transition: transform .2s; }
.lsb-grp-arr svg { width: 100%; height: 100%; }
.lsb-grp.is-open .lsb-grp-arr { transform: rotate(180deg); }
.lsb-grp-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .22s ease;
}
.lsb-grp.is-open .lsb-grp-body { grid-template-rows: 1fr; }
.lsb-grp-body > div { overflow: hidden; min-height: 0; }
.lsb-sub {
  display: block;
  padding: 8px 10px 8px 30px;
  border-radius: 8px; color: var(--hz-faint);
  font-family: var(--hz-body); font-size: 13.5px; font-weight: 600;
  text-decoration: none;
  transition: background .14s, color .14s;
}
.lsb-sub:hover { background: var(--hz-hover); color: var(--hz-ink); }
.lsb-sub.is-active { color: var(--hz-accent); }

/* 反馈入口：贴侧栏底部，低调但点得到 */
.lsb-foot-link {
  margin-top: auto;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--hz-faint);
  font-family: var(--hz-body); font-size: 13.5px; font-weight: 600;
  text-decoration: none;
  transition: background .14s, color .14s;
}
.lsb-foot-link:hover { background: var(--hz-hover); color: var(--hz-ink); }
.lsb-foot-ic {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit;
}
.lsb-foot-ic svg { width: 100%; height: 100%; }

.lsb-user {
  margin-top: auto;
  width: 100%;
  display: flex; align-items: center; gap: 11px;
  padding: 10px; border: 0; cursor: pointer;
  border-radius: 12px; background: var(--hz-inset);
  font-family: var(--hz-body); text-align: left;
  transition: background .14s;
}
.lsb-user:hover { background: var(--hz-hover); }
.lsb-user-av {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(140deg, var(--hz-accent), var(--hz-accent-d));
  color: var(--hz-accent-ink);
  font-family: var(--hz-disp); font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
}
.lsb-user-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lsb-user-name {
  font-size: 14px; font-weight: 700; color: var(--hz-strong);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lsb-user-sub { font-size: 13px; color: var(--hz-faint); }
.lsb-user-star { flex: none; width: 16px; height: 16px; color: var(--hz-accent); }

/* 账号菜单分隔线（设置中枢用，两主题各取一色） */
html[data-theme="luxe"] .account-menu-sep { background: rgba(255, 255, 255, .08); }
html[data-theme="cartoon"] .account-menu-sep { background: rgba(74, 53, 20, .10); }
.account-menu-sep { height: 1px; margin: 5px 10px; }
/* 阶段 popover 无锚点（从账号菜单打开）时：顶部居中 */
.sb-stage-pop.is-centered {
  left: 50% !important;
  top: 64px !important;
  transform: translateX(-50%) !important;
}
/* ════════════════════════════════════════════════════
   双段主题开关「卡通 | 金箔」—— 报纸首页报头 + 全站右上角浮动共用
   ════════════════════════════════════════════════════ */
.theme-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--ts-track, rgba(128, 128, 128, .16));
  flex: none;
}
.theme-seg .theme-seg-btn {
  appearance: none; -webkit-appearance: none;
  margin: 0; border: 0; cursor: pointer;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  line-height: 1; letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ts-ink, #888);
  background: transparent;
  box-shadow: none;
  transition: background .16s, color .16s;
}
.theme-seg .theme-seg-btn.is-on {
  background: var(--ts-on-bg, #58cc02);
  color: var(--ts-on-ink, #fff);
}
.theme-seg .theme-seg-btn:not(.is-on):hover { color: var(--ts-ink-hover, #555); }


/* 侧边栏全站搜索按钮：logo 下方，伪 input 样式 */
.lsb-search {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  margin: 0 0 12px;
  padding: 9px 12px;
  background: var(--hz-hover);
  border: 0;
  border-radius: 10px;
  color: var(--hz-dim);
  font-family: var(--hz-body);
  font-size: 13.5px;
  cursor: pointer;
  text-align: left;
  transition: background .14s, color .14s;
}
.lsb-search:hover { color: var(--hz-ink); filter: brightness(1.06); }
html[data-theme="luxe"] .lsb-search:hover { filter: brightness(1.35); }
.lsb-search-ic { flex: none; width: 16px; height: 16px; opacity: .75; }
.lsb-search-ic svg { width: 100%; height: 100%; display: block; }
.lsb-search-text { flex: 1; min-width: 0; }
.lsb-search-kbd {
  flex: none;
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: .04em;
  padding: 2px 6px;
  background: var(--hz-bg, rgba(255,255,255,0.5));
  border-radius: 4px;
  color: var(--hz-dim);
  opacity: .8;
}

/* 全站搜索结果项：选中态用左侧高亮色条 + 朗读按钮带文字标签，
   让用户能明显感觉到"点了它就在原地展开看详细解释" */
.gs-item { position: relative; }
.gs-item.active { box-shadow: inset 3px 0 0 0 var(--hz-accent); }
.gs-item-speak-lbl {
  font-size: 13px; margin-left: 6px;
  font-family: var(--hz-body); font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
/* 强制盖过 style.css 的 38×38 固定方块（原本设计是装一个小喇叭图标的）
   不加 !important 会被 width/height 卡住，文字塞不下就竖排 */
.gs-item-speak {
  width: auto !important;
  height: 34px !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  padding: 0 14px 0 10px !important;
  border-radius: 999px !important;
}
.gs-item-speak .ic { flex: none; }

/* 侧边栏里的开关：logo 下方，铺满侧栏内容宽度 */
.lsb-themebar { padding: 2px 0 6px; }
.lsb-voicebar { padding: 0 0 6px; }
.lsb-ratebar  { padding: 0 0 12px; }
/* 倍速选择器只在"当前页确实有蓝色喇叭可点"时才露脸 —— 没音频的页面藏起来 */
.lsb-ratebar { display: none; }
body:has(.lj-listen-play, .lj-typing-spk, .lj-word-tts, .lj-speak-original, .fv-mini-play, .fv-audio-play, [data-speak], button[aria-label*="听"]) .lsb-ratebar {
  display: block;
}
.sidebar .theme-seg {
  display: flex; width: 100%;
  --ts-ink: var(--hz-dim);
  --ts-ink-hover: var(--hz-strong);
  --ts-on-bg: var(--hz-accent);
  --ts-on-ink: var(--hz-accent-ink);
}
.sidebar .theme-seg .theme-seg-btn {
  flex: 1; min-width: 0;
  padding: 5px 8px;
  overflow: hidden; text-overflow: ellipsis;
}
[data-theme="luxe"] .sidebar .theme-seg { --ts-track: rgba(255, 255, 255, .06); }
[data-theme="cartoon"] .sidebar .theme-seg { --ts-track: rgba(43, 33, 23, .055); }

/* ════════════════════════════════════════════════════════════════
   v3b cartoon-only 覆写（Finder 列表式 · 温和日用版）
   仅在卡通主题生效，luxe 完全不受影响
   ════════════════════════════════════════════════════════════════ */

/* 容器：padding 收紧，让 32px 行高的 nav 看着更紧凑 */
html[data-theme="cartoon"] .sidebar {
  padding: 16px 8px 8px !important;
}

/* brand 缩小（34px → 26px，10px 圆角 → 4px） */
html[data-theme="cartoon"] .lsb-brand { padding: 4px 6px 14px; gap: 10px; }
html[data-theme="cartoon"] .lsb-logo {
  width: 26px; height: 26px; border-radius: 4px;
  font-size: 14px; font-weight: 800;
}
html[data-theme="cartoon"] .lsb-brand-name {
  font-family: var(--hz-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0;
}

/* 搜索框：保持原有 button 结构，但去掉 kbd 框花纹（用户禁了），更紧凑 */
html[data-theme="cartoon"] .lsb-search {
  height: 32px; padding: 0 10px 0 30px; margin: 0 2px 8px;
  border-radius: 6px; gap: 6px;
  background: var(--hz-hover);
  border: 1px solid transparent;
  position: relative;
  transition: background .18s, border-color .18s;
}
html[data-theme="cartoon"] .lsb-search:hover {
  background: var(--hz-chip); filter: none;
}
html[data-theme="cartoon"] .lsb-search-ic {
  position: absolute; left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px; opacity: 1;
  color: var(--hz-faint);
}
html[data-theme="cartoon"] .lsb-search-text {
  font-size: 13px; font-weight: 500;
  color: var(--hz-dim);
}
/* 把"K 键帽小方框花纹"打回纯文字提示 */
html[data-theme="cartoon"] .lsb-search-kbd {
  font-family: var(--hz-body);
  background: none !important;
  padding: 0;
  border-radius: 0;
  font-size: 12px; letter-spacing: 0;
  color: var(--hz-faint); opacity: 1;
}

/* nav wrap：cartoon 下让它撑满剩余空间 + 内部可滚 + 给 active bar 提供定位 */
.lsb-nav-wrap { position: relative; }
html[data-theme="cartoon"] .lsb-nav-wrap {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-top: 4px;
}
/* luxe 下 wrap 就是普通块，自然高度堆叠；.lsb-foot-link 仍靠 margin-top:auto 推底 */

/* active bar：3px 实色滑条，跨组追踪 */
.lsb-active-bar {
  position: absolute; left: 0; top: 0;
  width: 3px; height: 32px;
  background: var(--hz-accent);
  border-radius: 0 2px 2px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-100px);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
              height 200ms ease, opacity 180ms ease;
  z-index: 1;
}
.lsb-active-bar.is-on { opacity: 1; }
/* luxe 主题里 active bar 不出现 */
html[data-theme="luxe"] .lsb-active-bar { display: none; }

/* nav item：32px 行高 / 14px 字 / 14px 图标 / 6px 圆角 / hover 浅底 */
html[data-theme="cartoon"] .lsb-nav { gap: 1px; }
html[data-theme="cartoon"] .lsb-item {
  height: 32px; padding: 0 14px; gap: 10px;
  border-radius: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--hz-dim);
}
html[data-theme="cartoon"] .lsb-ic {
  width: 17px; height: 17px; opacity: 1;
  color: var(--hz-dim);
}
html[data-theme="cartoon"] .lsb-ic svg { width: 100%; height: 100%; }
html[data-theme="cartoon"] .lsb-item:hover .lsb-ic { color: var(--hz-strong); }
html[data-theme="cartoon"] .lsb-item.is-active .lsb-ic { color: var(--hz-accent); }
html[data-theme="cartoon"] .lsb-item:hover {
  background: var(--hz-hover); color: var(--hz-strong);
}
/* active：背景加深 + 加粗，左侧 active-bar 提供色边（不再用 inset 色） */
html[data-theme="cartoon"] .lsb-item.is-active {
  background: var(--hz-hover); color: var(--hz-strong);
  font-weight: 700;
}
html[data-theme="cartoon"] .lsb-item.is-active .lsb-ic { color: var(--hz-strong); opacity: 1; }

/* badge：v3b 温和版的小药丸（6px 圆角，brand-soft 底 + brand-darker 字） */
html[data-theme="cartoon"] .lsb-badge {
  min-width: 0; height: auto; padding: 2px 8px;
  border-radius: 6px;
  background: var(--hz-accent-soft); color: var(--hz-accent-d);
  font-family: var(--hz-body); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center;
}

/* "更多" section header 在 v3b 里没意义 → 隐 */
html[data-theme="cartoon"] .lsb-sect { display: none; }

/* group label：场景化、12px 字 ink-fade、可折叠 chevron */
html[data-theme="cartoon"] .lsb-grp-head {
  height: 28px; padding: 0 14px;
  border-radius: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--hz-faint); letter-spacing: 0;
  text-transform: none;
}
html[data-theme="cartoon"] .lsb-grp-head:hover {
  background: var(--hz-hover); color: var(--hz-dim);
}
html[data-theme="cartoon"] .lsb-grp-arr {
  width: 12px; height: 12px;
  transform: rotate(-90deg); /* 默认收起箭头朝侧 */
  transition: transform 200ms ease;
}
html[data-theme="cartoon"] .lsb-grp.is-open .lsb-grp-arr {
  transform: rotate(0deg); /* 展开箭头朝下 */
}

/* sub-item：跟 nav item 一样 32px 行，左缘多 8px 表示二级；带小图标（cartoon 限定） */
html[data-theme="cartoon"] .lsb-sub {
  height: 32px; padding: 0 14px 0 22px;
  display: flex; align-items: center; gap: 10px;
  border-radius: 6px;
  font-size: 13.5px; font-weight: 500;
  color: var(--hz-dim);
}
html[data-theme="cartoon"] .lsb-sub:hover {
  background: var(--hz-hover); color: var(--hz-strong);
}
html[data-theme="cartoon"] .lsb-sub.is-active {
  background: var(--hz-hover); color: var(--hz-strong);
  font-weight: 700;
}
/* 二级项图标：默认藏（luxe 一直没图标，保留原样），仅 cartoon 显示 14px */
.lsb-sub-ic { display: none; }
html[data-theme="cartoon"] .lsb-sub-ic {
  display: inline-flex; flex: none;
  width: 14px; height: 14px;
  color: var(--hz-faint);
}
html[data-theme="cartoon"] .lsb-sub-ic svg { width: 100%; height: 100%; }
html[data-theme="cartoon"] .lsb-sub:hover .lsb-sub-ic { color: var(--hz-dim); }
html[data-theme="cartoon"] .lsb-sub.is-active .lsb-sub-ic { color: var(--hz-accent); }
html[data-theme="cartoon"] .lsb-sub-label { flex: 1; min-width: 0; }

/* cartoon 主题 .lsb-foot-link 微调：v3b 紧凑风（高度 32px、6px 圆角、13px 字）
   margin-top:auto 沿用基类规则，把反馈链接推到侧栏最底 */
html[data-theme="cartoon"] .lsb-foot-link {
  height: 32px; padding: 0 14px; gap: 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--hz-faint);
}
html[data-theme="cartoon"] .lsb-foot-ic { width: 14px; height: 14px; }

/* themebar / voicebar / ratebar：保留功能，但在 cartoon 下稍微收紧间距，
   不让"卡通/金箔"那一排 toggle 抢 v3b 的视觉节奏 */
html[data-theme="cartoon"] .lsb-themebar,
html[data-theme="cartoon"] .lsb-voicebar,
html[data-theme="cartoon"] .lsb-ratebar {
  margin: 0 2px 4px;
}

/* ════════════════════════════════════════════════════════════════
   v1 极简 Linear 风 — luxe-only 覆写
   纯黑底、亮金激活、左 2px active bar、克制呼吸感
   ════════════════════════════════════════════════════════════════ */

/* 容器：真纯黑 */
html[data-theme="luxe"] .sidebar {
  background: #050505 !important;
  padding: 18px 8px 12px !important;
}
html[data-theme="luxe"] body { background: #000; }

/* brand：缩到 28px L + 17px 字 */
html[data-theme="luxe"] .lsb-brand { padding: 4px 8px 18px; gap: 10px; }
html[data-theme="luxe"] .lsb-logo {
  width: 28px; height: 28px; border-radius: 5px;
  font-size: 16px; font-weight: 700;
}
html[data-theme="luxe"] .lsb-brand-name {
  font-family: var(--hz-disp);
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

/* 搜索框：34px 高 + 真黑底 + 1px 暗灰边 + 砍掉 Ctrl K kbd 框 */
html[data-theme="luxe"] .lsb-search {
  height: 34px; padding: 0 10px 0 32px; margin: 0 4px 10px;
  border-radius: 7px;
  background: #000;
  border: 1px solid #232329;
  position: relative;
  gap: 8px;
  transition: border-color .18s ease;
}
html[data-theme="luxe"] .lsb-search:hover {
  background: #000; filter: none;
  border-color: #2e2e36;
}
html[data-theme="luxe"] .lsb-search-ic {
  position: absolute; left: 11px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px; opacity: 1;
  color: #5c5c64;
}
html[data-theme="luxe"] .lsb-search-text {
  font-size: 13px; font-weight: 500;
  color: #8b8b93;
}
/* Ctrl K kbd 框：用户明令砍掉 */
html[data-theme="luxe"] .lsb-search-kbd { display: none; }

/* nav wrap：v1 把 nav 用 padding 包起来 */
html[data-theme="luxe"] .lsb-nav-wrap {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 8px 0;
}

/* 主导航 4 项：36px 行高、18px 金线图标（默认灰，hover/active 才变金）、左 2px active bar */
html[data-theme="luxe"] .lsb-nav { gap: 0; }
html[data-theme="luxe"] .lsb-item {
  height: 36px; padding: 0 12px; gap: 12px;
  border-radius: 6px;
  position: relative;
  font-family: var(--hz-body);
  font-size: 14px; font-weight: 500;
  color: #ECECEC;
  margin: 1px 0;
  transition: background .2s ease, color .2s ease;
}
html[data-theme="luxe"] .lsb-ic {
  width: 18px; height: 18px;
  color: #8b8b93;
  transition: color .2s ease;
  opacity: 1;
}
html[data-theme="luxe"] .lsb-ic svg { width: 100%; height: 100%; }
html[data-theme="luxe"] .lsb-item:hover {
  background: #0c0c0e;
  color: #fff;
}
html[data-theme="luxe"] .lsb-item:hover .lsb-ic { color: #fff; }
/* active：左 2px 实金 + 整行变亮金（强化区分度，比真 luxe 当前只图标变金更明显） */
html[data-theme="luxe"] .lsb-item.is-active {
  background: transparent;
  color: #F5C518;
  font-weight: 500;
}
html[data-theme="luxe"] .lsb-item.is-active .lsb-ic { color: #F5C518; }
html[data-theme="luxe"] .lsb-item.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: #F5C518;
  border-radius: 1px;
  transform-origin: center;
  animation: lsb-luxe-bar-in .28s cubic-bezier(.2,.7,.2,1);
}
@keyframes lsb-luxe-bar-in {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* badge */
html[data-theme="luxe"] .lsb-badge {
  min-width: 0; height: auto; padding: 1px 6px;
  border-radius: 4px;
  background: transparent; color: #5c5c64;
  font-family: var(--hz-body); font-size: 11px; font-weight: 500;
}

/* "更多" section header：藏掉（v1 极简不需要） */
html[data-theme="luxe"] .lsb-sect { display: none; }

/* group head：28px 高 + 小 chevron 在左 */
html[data-theme="luxe"] .lsb-grp-head {
  height: 28px; padding: 0 12px; gap: 6px;
  border-radius: 5px;
  font-family: var(--hz-body);
  font-size: 12px; font-weight: 500;
  color: #8b8b93;
  letter-spacing: 0; text-transform: none;
  justify-content: flex-start; /* 推翻基类 space-between，让 chev + 文字都靠左 */
  transition: color .18s ease, background .18s ease;
}
html[data-theme="luxe"] .lsb-grp-head:hover {
  background: #0c0c0e; color: #fff;
}
html[data-theme="luxe"] .lsb-grp-arr {
  width: 10px; height: 10px;
  color: #5c5c64;
  transform: rotate(-90deg);
  transition: transform .2s ease;
  order: -1; /* chev 放左侧 */
}
html[data-theme="luxe"] .lsb-grp.is-open .lsb-grp-arr {
  transform: rotate(0deg);
}

/* sub-row：30px 高 + 缩进 + 带 14px 小图标（v1 风格） */
html[data-theme="luxe"] .lsb-sub {
  height: 30px; padding: 0 12px 0 20px;
  display: flex; align-items: center; gap: 10px;
  border-radius: 5px;
  font-family: var(--hz-body);
  font-size: 13px; font-weight: 500;
  color: #8b8b93;
  transition: background .18s ease, color .18s ease;
}
html[data-theme="luxe"] .lsb-sub:hover {
  background: #0c0c0e; color: #fff;
}
html[data-theme="luxe"] .lsb-sub.is-active { color: #F5C518; }
/* sub-row 小图标：默认 dim、hover 白、激活金 */
html[data-theme="luxe"] .lsb-sub-ic {
  display: inline-flex; flex: none;
  width: 14px; height: 14px;
  color: #8b8b93;
  transition: color .18s ease;
}
html[data-theme="luxe"] .lsb-sub-ic svg { width: 100%; height: 100%; }
html[data-theme="luxe"] .lsb-sub:hover .lsb-sub-ic { color: #fff; }
html[data-theme="luxe"] .lsb-sub.is-active .lsb-sub-ic { color: #F5C518; }
html[data-theme="luxe"] .lsb-sub-label { flex: 1; min-width: 0; }

/* 反馈链接：32px 行 + 13px 灰字 + 14px 图标 */
html[data-theme="luxe"] .lsb-foot-link {
  margin-top: auto;
  height: 32px; padding: 0 12px; gap: 12px;
  border-radius: 6px;
  font-family: var(--hz-body);
  font-size: 13px; font-weight: 500;
  color: #5c5c64;
  transition: background .18s ease, color .18s ease;
}
html[data-theme="luxe"] .lsb-foot-link:hover {
  background: #0c0c0e; color: #fff;
}
html[data-theme="luxe"] .lsb-foot-ic { width: 14px; height: 14px; }

/* themebar / voicebar / ratebar：在 luxe 下稍微收紧，跟 v1 的克制感融合
   （保留功能，用户可继续切主题/配音/语速） */
html[data-theme="luxe"] .lsb-themebar,
html[data-theme="luxe"] .lsb-voicebar,
html[data-theme="luxe"] .lsb-ratebar {
  margin: 0 4px 4px;
}
