/* BUILD:39072810m */
/* ============================================================
   晓之俱乐部 · 「傻牛」视觉层  pet.css
   ------------------------------------------------------------------
   版面语言、几何数值、间距节奏对齐参考站 aitudou.cn（数据来自其线上 CSS）：
     · 内容宽度 min(91.3%, 1280px)，Hero 用 frame 宽度 min(96%, 1402px)
     · 区块 padding-block clamp(24px,2.6vw,48px)
     · 区块标题：方形编号徽章 + clamp(30px,4.7vw,52px)/950 大标题 + 右侧链接
     · 按钮 7px 圆角 / 44px 高；卡片 8px；封面图 5px；标签 4px；筛选胶囊 30px
     · 卡片阴影极淡；浅色下主按钮为实色（非渐变）
   配色用傻牛的「奶油 + 棕褐 + 暖橙」体系（令牌见 theme.css）。
   内容、栏目结构、功能模块一律不动。
   ============================================================ */

:root {
  --pet-paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%238B5E34'%3E%3Cellipse cx='24' cy='34' rx='8' ry='11'/%3E%3Cellipse cx='43' cy='24' rx='8' ry='12'/%3E%3Cellipse cx='62' cy='26' rx='8' ry='12'/%3E%3Cellipse cx='80' cy='38' rx='8' ry='11'/%3E%3Cpath d='M52 44c15 0 27 11 27 23 0 11-12 16-27 16s-27-5-27-16c0-12 12-23 27-23z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   1. 版心与区块节奏
   ============================================================ */
.page { padding: 0; }
.section {
  width: var(--content-w);
  margin-inline: auto;
  padding-block: clamp(24px, 2.6vw, 48px);
}
.page > .section:first-of-type { padding-block: clamp(10px, 1.4vw, 20px) clamp(24px, 2.6vw, 48px); }
.section + .section { padding-top: 0; }

/* ============================================================
   2. 侧栏 / 品牌 / 导航
   ============================================================ */
.sidebar { background: var(--paper); border-right: 1px solid var(--hair); }

.brand { padding: 18px 20px 16px; border-bottom: 1px solid var(--hair); gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--amber-2), var(--accent));
  color: var(--accent-ink);
  font-size: 19px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--sh-amber);
}
.brand-mark::after { display: none; }
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-mark:hover { transform: rotate(-4deg) scale(1.04); }
.brand-name { font-family: var(--display); font-weight: 850; font-size: 16px; letter-spacing: -.03em; color: var(--ink); }
.brand-en { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--mute-2); margin-top: 2px; }

.side-search {
  margin: 12px 12px 2px;
  padding: 9px 13px;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12.5px;
  transition: box-shadow .18s var(--ease), color .18s var(--ease);
}
.side-search:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.side-search .kbd { border-radius: var(--r-xs); border: 1px solid var(--hair-2); background: var(--paper); padding: 2px 6px; font-size: 9.5px; }

.sidebar-scroll { padding: 8px 12px 16px; }
.nav-section { padding: 5px 0; }
.nav-label { padding: 8px 12px 6px; font-size: 9.5px; letter-spacing: .18em; color: var(--mute-2); }

.nav-item {
  padding: 9px 11px;
  border-radius: var(--r-xs);
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 1px;
  border: 1px solid transparent;
}
.nav-item:hover {
  background: color-mix(in srgb, var(--amber) 10%, transparent);
  color: var(--ink);
  padding-left: 11px;
  border-color: transparent;
}
.nav-item:hover::before { display: none; }
.nav-item.active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 800;
  border-color: transparent;
}
.nav-item.active::before {
  content: "";
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 18px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}
.nav-item.active .nav-icon, .nav-item.active .count { color: var(--accent); }
.nav-item .nav-icon { color: var(--mute-2); }
.nav-item:hover .nav-icon { color: var(--amber); }
.nav-item .count { font-size: 9.5px; letter-spacing: .06em; }
.nav-item-vip .count { border-radius: var(--r-xs); padding: 1px 6px; background: color-mix(in srgb, var(--amber) 18%, transparent); }

.sidebar-cta {
  margin: 8px 12px;
  padding: 18px 16px 16px;
  border: 0;
  border-radius: var(--r-lg);
  background:
    var(--pet-paw) no-repeat right -12px bottom -16px / 104px 104px,
    linear-gradient(150deg, #F2551F, #D8450F 62%, #B83708);
  color: var(--accent-ink);
  box-shadow: var(--sh-a);
}
html[data-theme="dark"] .sidebar-cta {
  background:
    var(--pet-paw) no-repeat right -12px bottom -16px / 104px 104px,
    linear-gradient(150deg, #B87F45, #8A5C33 62%, #6B4525);
}
.sidebar-cta::before { background: radial-gradient(circle at 84% 0%, rgba(255, 255, 255, .26), transparent 58%); }
.sidebar-cta h4 { font-weight: 850; font-size: 15.5px; letter-spacing: -.02em; color: #FFFFFF; }
.sidebar-cta p { font-size: 11.5px; color: rgba(255, 249, 239, .74); margin-bottom: 12px; }
.sidebar-cta .btn-primary {
  background: #FFFFFF; color: #8A2A05;
  border-radius: var(--r-btn);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 750; letter-spacing: 0;
  border: 0; box-shadow: none; width: 100%; justify-content: space-between;
}
.sidebar-cta .btn-primary:hover { background: #FFFFFF; transform: none; }

.sidebar-biz {
  margin: 2px 12px 12px;
  padding: 11px 14px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  font-size: 12.5px; font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  box-shadow: none;
}
.sidebar-biz:hover { background: var(--ink); color: var(--bg); transform: none; box-shadow: none; border-color: var(--ink); }
.sidebar-biz:hover > .mono { color: var(--amber-2); }

/* ============================================================
   2b. 顶部横向导航（参考站式）：logo + 横排栏目 + 当前项下划线 + 登录
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
}
.site-nav-inner {
  /* 🔴 2026-10-07 放宽：91.3%/1280px 在 1440 屏只占 1171px，
     白白浪费右侧空间还逼得链接字被压小（见 learn 页旧污染段）。
     1560px 上限 + 92% 宽，让 10 个链接在一行内用 15.5px 排得下。 */
  width: min(92%, 1560px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
}
.sn-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
/* 返回阿晓AI官网（2026-10-11 用户令：从官网进 /club 后没路回官网）。
   放在品牌区**左侧**、用次级色 + 小箭头，视觉上退到品牌之后，不抢俱乐部自身导航。 */
.sn-back {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px 6px 9px;
  border-radius: var(--r-md);
  text-decoration: none; flex-shrink: 0;
  font-size: 13px; font-weight: 600; color: var(--mute-1);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  transition: color .16s ease, background .16s ease;
}
.sn-back svg { width: 15px; height: 15px; }
.sn-back:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 10%, transparent); }
@media (max-width: 734px) {
  /* 手机上只留箭头，省出宽度给品牌与导航（文字在 title 里）。 */
  .sn-back span { display: none; }
  .sn-back { padding: 6px; }
}
.sn-logo {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(150deg, var(--amber-2), var(--accent));
  box-shadow: var(--sh-amber);
}
.sn-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-brand-text b { display: block; font-family: var(--display); font-size: 18px; font-weight: 900; letter-spacing: -.02em; line-height: 1.12; }
.sn-brand-text i { display: block; font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--mute-2); }

.sn-links { display: flex; align-items: center; gap: 9px; margin-left: 6px; flex: 1; min-width: 0; }
.sn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: var(--r-btn);
  border: 0;
  background: transparent;
  font-family: var(--sans);
  /* 🔴 2026-10-07 14px → 15.5px，字重 700 → 650
     基准取自参考站 aitudou.cn 实测值 17px/650；我们链接数是它的两倍（10 vs 6）
     且带右侧操作区，故取 15.5px 折中，视觉重量对齐。 */
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.sn-link:hover { color: var(--accent); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.sn-link.active { color: var(--accent); }
.sn-link.active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 1px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--amber);
}

.sn-drop { position: relative; }
.sn-drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  display: none;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 4px 26px;
  padding: 18px 22px 20px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.sn-drop:hover .sn-drop-panel,
.sn-drop:focus-within .sn-drop-panel { display: grid; }
.sn-drop-col h5 {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--mute-2);
  text-transform: uppercase;
}
.sn-drop-col a {
  display: block;
  padding: 6px 9px;
  border-radius: var(--r-xs);
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.sn-drop-col a:hover { color: var(--accent); background: color-mix(in srgb, var(--amber) 10%, transparent); }

/* 「更多」下拉（2026-10-07 顶栏瘦身）
 * 参考站 aitudou.cn 顶栏只有 6 链接 + 登录，无 20 项大下拉、无主题切换。
 * 我们的次要入口（选型工具/ 模型目录 / 付费社群 / 关于）收进这一个单列窄面板，
 * 面板靠右对齐，避免从「更多」按钮左侧伸出、顶开视觉重心。 */
.sn-drop-more .sn-drop-panel {
  left: auto; right: -12px;
  grid-template-columns: 1fr;
  min-width: 176px;
  gap: 2px;
  padding: 12px 14px 14px;
  box-shadow: var(--sh-2);
}
.sn-drop-more .sn-drop-col a { font-size: 15px; font-weight: 650; padding: 8px 11px; }
.sn-drop-more .sn-drop-col a:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.sn-drop-more > .sn-link { display: inline-flex; align-items: center; gap: 4px; }

.sn-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.sn-icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-btn);
  border: 1px solid var(--hair);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.sn-icon:hover { color: var(--accent); border-color: var(--accent); }
.sn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border-radius: var(--r-btn);
  background: var(--amber);
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--sh-amber);
  transition: background .16s var(--ease), transform .16s var(--ease);
}
.sn-login:hover { background: var(--amber-2); color: #3A290E; transform: translateY(-1px); }

/* 侧栏退役：全站改顶部导航后，原侧栏 / 旧顶栏 / 悬浮按钮组全部隐藏
   （DOM 保留：搜索与主题切换按钮通过 click() 转发原有功能） */
.app { grid-template-columns: minmax(0, 1fr) !important; }
.sidebar { display: none !important; }
.topbar { display: none; }
.floating-actions { display: none !important; }

/* 顶栏逐级降级（2026-10-07）
   桌面基准 15.5px / 容器 min(92%,1560px)。窗口收窄时**逐级**缩小，
   每一档都先牺牲 padding 再牺牲字号，避免一上来就把字压到 12px。
   关键约束：全程 white-space:nowrap，任何档位都不许把链接折行。 */
@media (max-width: 1400px) {
  .site-nav-inner { gap: 16px; }
  .sn-link { font-size: 14.5px; padding: 9px 10px; }
  .sn-brand-text i { display: none; }
}
@media (max-width: 1200px) {
  .sn-link { font-size: 13.5px; padding: 8px 7px; }
  .sn-logo { width: 38px; height: 38px; }
  .sn-brand-text b { font-size: 16px; }
  .sn-actions { gap: 6px; }
}
@media (max-width: 1040px) {
  .sn-link { font-size: 12.5px; padding: 7px 5px; gap: 0; }
  .sn-brand-text b { font-size: 15px; }
  .site-nav-inner { gap: 10px; }
}
/* 900~1040 之间有可滑动的横向滚动兜底，但实测 900px 时 10 个链接仍被裁 47px。
   这里再收一档 gap，保证 1024（常见笔记本）能完整一行显示。 */
@media (max-width: 1024px) {
  .sn-links { gap: 4px; }
  .sn-link { font-size: 12px; padding: 6px 4px; }
  .sn-actions { gap: 5px; }
}

/* 移动端顶栏：横排导航可横向滑动，保证全部栏目可达 */
@media (max-width: 900px) {
  .site-nav-inner { height: 62px; gap: 12px; }
  .sn-links {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .sn-links::-webkit-scrollbar { display: none; }
  .sn-brand-text b { font-size: 15px; }
  .sn-brand-text i { display: none; }
  .sn-drop-panel { grid-template-columns: 1fr; left: auto; right: -40px; min-width: 220px; }
  .sn-login { min-height: 36px; padding: 0 18px; font-size: 13px; }
  .sn-icon { width: 32px; height: 32px; }
}

/* ============================================================
   3. 顶栏 / 悬浮操作
   ============================================================ */
.topbar {
  padding: 12px 158px 12px 24px;
  border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.crumb { font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.crumb .cur { color: var(--ink); font-weight: 700; }
.icon-btn.topbar-hamburger { border-radius: var(--r-xs); border-color: var(--hair); }
.icon-btn.topbar-hamburger:hover { border-color: var(--accent); color: var(--accent); background: var(--paper); }

.theme-toggle {
  border-radius: var(--r-btn);
  border: 1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink-2);
  font-size: 11px;
  box-shadow: var(--sh-1);
}
.theme-toggle:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.theme-toggle.login-btn { padding: 0 13px; font-family: var(--sans); }

/* ============================================================
   4. 按钮 / 标签 / 胶囊（对齐参考站：7px / 4px / 30px）
   ============================================================ */
.btn {
  border-radius: var(--r-btn);
  padding: 12px 22px;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: 0;
  gap: 9px;
  transition: all .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); box-shadow: none; }
.btn-primary:hover {
  background: var(--accent-hov);
  border-color: var(--accent-hov);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: var(--sh-a);
}
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--hair-2); box-shadow: none; }
.btn-ghost:hover {
  background: color-mix(in srgb, var(--amber) 12%, var(--paper));
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-danger { background: var(--danger); color: #fff; border-radius: var(--r-btn); }
.btn-danger:hover { background: #A5381F; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--r-xs);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
  line-height: 1.35;
}
.tag-vip { background: var(--amber); color: #FFFFFF; }
.tag-free { background: color-mix(in srgb, var(--sage) 16%, var(--paper)); color: #40592F; }
html[data-theme="dark"] .tag-free { background: color-mix(in srgb, var(--sage) 26%, transparent); color: #D3E6C4; }
.tag-pick { background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--accent); border: 1px solid rgba(255, 253, 249, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.pills { gap: 8px; margin-bottom: 26px; }
.pill {
  padding: 0 18px;
  min-height: 36px;
  border-radius: 30px;
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  font-size: 13px;
  font-weight: 680;
  color: var(--muted);
}
.pill:hover { color: var(--ink); }
.pill.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.kbd, .search-kbd { border-radius: var(--r-xs); border-color: var(--hair-2); }

/* ============================================================
   5. Hero：暖奶油巨幅 + 傻牛主视觉（两种主题下都保持浅底）
   ============================================================ */
.mission-hero-section { /* 参考站 hero 是通栏 section（pad=0），内层 1402 几乎贴边。
  我们原来 padding-block 48px 上下不缩，但padding-inline 会被 .section 的
  padding-block 之外再收 —— 实测 hero 被这层又扣掉 96px。横向 padding 归零。 */
  width: 100% !important; padding-inline: 0 !important; }
.brand-hero.mission-hero,
html[data-theme="dark"] .brand-hero.mission-hero {
  --mission-hero-surface: #FCF5E6;
  --mission-hero-copy: #2C2318;
  --mission-hero-block-fg: #FCF5E6;
  --mission-hero-border: rgba(139, 94, 52, .14);
  --mission-hero-dark: url(pet-hero.webp);

  height: auto;
  min-height: 0;
  aspect-ratio: 2 / 1;
  max-height: 660px;
  border: 0;
  /* 🔴 2026-10-07 参考站 aitudou.cn 实测 hero 为 border-radius:0 的直角通栏横幅，
     我们原来是 var(--r-xl) 大圆角 → 视觉上变成「浮在页面里的卡片」，右侧越发空。 */
  border-radius: 0;
  background: var(--mission-hero-surface);
  box-shadow: none;
  overflow: hidden;
}
.mission-hero-bg {
  background-image: var(--mission-hero-dark);
  background-size: auto 100%;
  background-position: right -1% bottom 0;
  background-repeat: no-repeat;
  filter: none;
  left: 40%;
}
.mission-hero-shade {
  background:
    linear-gradient(90deg,
      var(--mission-hero-surface) 0%,
      color-mix(in srgb, var(--mission-hero-surface) 96%, transparent) 36%,
      color-mix(in srgb, var(--mission-hero-surface) 40%, transparent) 54%,
      transparent 68%);
}
.mission-hero-copy { left: clamp(28px, 3.4vw, 52px); width: min(52%, 680px); }
.mission-hero-copy h1 {
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.06em;
  color: var(--mission-hero-copy);
}
.mission-hero-slogan {
  margin-top: 18px;
  gap: 10px;
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--mission-hero-copy);
}
.mission-hero-slash { color: var(--amber); font-size: 1.1em; }
.mission-hero-slogan em {
  padding: 1px 11px 3px;
  border-radius: var(--r-xs);
  background: linear-gradient(135deg, var(--amber-2), var(--amber));
  color: #3A290E;
  transform: rotate(-1.5deg);
  box-shadow: none;
}
.mission-hero-community { margin-top: 26px; }
.mission-hero-avatars { gap: 8px; }
.mission-hero-avatar {
  width: 50px; height: 50px;
  border: 2px solid var(--paper);
  background: linear-gradient(150deg, var(--amber-2), var(--accent));
  box-shadow: 0 0 0 1px rgba(139, 94, 52, .18);
  color: var(--accent-ink);
}
.mission-hero-avatar .avatar-letter { font-size: 13px; font-weight: 800; color: var(--accent-ink); }
.mission-hero-member-count { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.mission-hero-member-count b { color: var(--accent); font-size: 15.5px; font-weight: 850; }

.btn.mission-hero-community-cta {
  width: auto;
  min-width: 320px;
  max-width: 420px;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 22px 0 26px;
  border: 1px solid var(--accent);
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 750;
  box-shadow: none;
}
.btn.mission-hero-community-cta b { font-family: var(--mono); font-weight: 900; letter-spacing: 0; }
.btn.mission-hero-community-cta:hover { background: var(--accent-hov); border-color: var(--accent-hov); transform: translateY(-1px); box-shadow: var(--sh-a); }

/* Hero 上的手写批注式小装饰（对应参考站的 hand-note / scribble） */
.mission-hero-copy::after {
  content: "";
  display: block;
  width: 34px; height: 3px;
  margin-top: 20px;
  border-radius: 3px;
  background: var(--amber);
  box-shadow: 12px 0 0 0 var(--clay), 24px 0 0 0 var(--accent);
  opacity: .7;
}

/* ============================================================
   6. 跑马灯
   ============================================================ */
.post-brand::before, .post-brand::after { display: none; }
.post-brand .ticker, .ticker {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  padding: 13px 0;
  margin: 16px 0 4px;
}
.ticker-track { font-size: 11.5px; letter-spacing: .2em; font-weight: 650; color: var(--muted); }
.ticker-track .sep { color: var(--amber); padding: 0 20px; }

/* ============================================================
   7. 区块标题：方形编号徽章 + 大标题 + 右侧链接（参考站语言）
   ============================================================ */
.section-head {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: clamp(14px, 1.5vw, 28px);
}
.section-head .num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  min-width: clamp(38px, 4.6vw, 56px);
  min-height: clamp(38px, 4.6vw, 56px);
  padding: 6px 12px;
  border-radius: var(--r-md);
  background: var(--amber);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
}
.section-head h3 {
  font-size: clamp(30px, 4.7vw, 52px);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 0;
}
.section-head h3 .accent { color: var(--accent); }
.section-head .meta { margin-left: auto; font-size: clamp(11px, 1vw, 13px); letter-spacing: .1em; color: var(--mute-2); text-align: right; }
.section-head .meta-link {
  color: var(--accent);
  font-family: var(--sans);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 750;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-head .meta-link:hover { color: var(--accent-hov); }
.latest-head-meta { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

/* ============================================================
   8. 头版（反色大卡）
   ============================================================ */
.feature {
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #2E2318, #221A12 62%, #1C150F);
  color: #F7ECD9;
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.feature-media { background: #241B12; border-right: 1px solid rgba(247, 236, 217, .08); }
.feature-media .placeholder .grid-overlay {
  background-image:
    linear-gradient(rgba(247, 236, 217, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 236, 217, .05) 1px, transparent 1px);
}
.feature-media .mono-meta { color: rgba(247, 236, 217, .55); }
.feature-body { padding: 34px 38px; }
.feature-body .ep { color: var(--amber-2); font-family: var(--mono); font-size: 11px; letter-spacing: .18em; }
.feature-body h2 { font-weight: 900; letter-spacing: -.04em; line-height: 1.24; }
.feature-body .desc { color: rgba(247, 236, 217, .68); font-size: 14px; line-height: 1.7; }
.feature-body .btn-primary { background: var(--amber); border-color: var(--amber); color: #FFFFFF; align-self: flex-start; }
.feature-body .btn-primary:hover { background: var(--amber-2); border-color: var(--amber-2); color: #2E2318; }
.feature-body .author-row { border-top: 1px solid rgba(247, 236, 217, .12); color: rgba(247, 236, 217, .55); }
.feature-body .avatar { background: linear-gradient(140deg, var(--amber-2), var(--accent)); color: #FFFFFF; border-radius: 50%; }

/* ============================================================
   9. 卡片 / 精选瓦片 / 分类轨道（圆角 8px、封面 5px、阴影极淡）
   ============================================================ */
.cards { gap: clamp(16px, 1.6vw, 24px); }

.card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: box-shadow .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--amber) 42%, var(--hair));
  box-shadow: var(--sh-2);
}
.card:hover .card-title { color: var(--accent); }

.card-media {
  background:
    var(--pet-paw) no-repeat right 14px bottom 10px / 44px 44px,
    linear-gradient(150deg, #F3E4C8, #E9D4B0);
  border-bottom: 1px solid var(--hair);
}
.card-media .thumb::before { display: none; }
.card-media .ep-num {
  color: #FFFFFF;
  background: color-mix(in srgb, #2C2318 62%, transparent);
  border: 0;
  padding: 4px 9px;
  border-radius: var(--r-xs);
  font-size: 10.5px;
  font-weight: 800;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.card-body { padding: 16px 18px 18px; }
.card-cat { font-size: 11px; letter-spacing: .02em; color: var(--muted); margin-bottom: 8px; font-family: var(--sans); text-transform: none; }
.card-cat .accent { color: var(--amber); font-size: 11px; }
.card-title { font-size: 17px; font-weight: 780; letter-spacing: -.015em; line-height: 1.42; }
.card-desc { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.card-meta { border-top: 1px solid var(--hair); font-size: 11px; color: var(--mute-2); padding-top: 12px; font-family: var(--sans); letter-spacing: 0; }

.drops-head { font-size: 11px; letter-spacing: .2em; color: var(--mute-2); }
.drops-kicker { color: var(--accent); font-weight: 800; }
.drop-art {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background:
    var(--pet-paw) no-repeat left 16px bottom 12px / 50px 50px,
    linear-gradient(150deg, #EFDFC0, #E2CAA4 60%, #D6BC95);
  border-bottom: 1px solid var(--hair);
}
.drop-art-num {
  position: absolute;
  right: 14px; bottom: 6px;
  font-size: 54px; font-weight: 900; line-height: .82; letter-spacing: -.06em;
  color: color-mix(in srgb, var(--accent) 26%, transparent);
}
.drop-art-tag {
  top: 12px; bottom: auto; left: 12px;
  border-radius: var(--r-xs);
  padding: 4px 10px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.drop-caption { font-size: 16px; font-weight: 800; letter-spacing: -.015em; line-height: 1.42; }
.drop-sub { font-size: 12px; color: var(--muted); line-height: 1.75; font-family: var(--sans); }
.drop-article-discovery { color: var(--mute-2); font-size: 10.5px; letter-spacing: .04em; }
.drop-meta { color: var(--mute-2); font-size: 11px; letter-spacing: 0; }
.drop-arrow { color: var(--accent); }
.drop-tile:hover .drop-arrow { transform: translateX(3px); }
.drop-article-source-title { font-weight: 800; }
.card-body.drop-body { padding: 16px 18px 18px; }

.cat-rail {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--sh-1);
}
.cat-card { padding: 26px 24px; border-right: 1px solid var(--hair); background: var(--paper); min-height: 180px; }
.cat-card:hover { background: color-mix(in srgb, var(--amber) 12%, var(--paper)); color: var(--ink); transform: none; }
.cat-card:hover .cat-num { color: var(--muted); }
.cat-card:hover .cat-en { color: var(--mute-2); }
.cat-card:hover .cat-count { color: var(--muted); }
.cat-card:hover .cat-count b { color: var(--accent); }
.cat-card:hover .arrow { color: var(--accent) !important; }
.cat-num { font-size: 10.5px; letter-spacing: .16em; margin-bottom: 12px; color: var(--mute-2); }
.cat-name { font-size: 25px; font-weight: 900; letter-spacing: -.035em; line-height: 1.1; }
.cat-en { font-size: 9.5px; letter-spacing: .18em; color: var(--mute-2); }
.cat-count { font-size: 12px; color: var(--muted); }
.cat-card .cat-count b { color: var(--accent); font-size: 17px; }

/* ============================================================
   10. 列表页：参考站 KB 列表语言（大标题 + 筛选胶囊 + 三列卡）
   ============================================================ */
.list-wrap { width: var(--content-w); max-width: var(--content-w); margin-inline: auto; padding: 34px 0 100px; }
.list-hero {
  padding: 26px 0 26px;
  margin: 0 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.list-hero::after { display: none; }
.list-hero .eyebrow { font-size: 11.5px; letter-spacing: .18em; color: var(--accent); margin-bottom: 16px; font-weight: 800; }
.list-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.list-hero h1 em { color: var(--accent); font-style: normal; }
.list-hero .desc { font-size: 15px; color: var(--muted); max-width: 680px; margin-bottom: 22px; line-height: 1.7; }
.list-hero .stats { gap: 30px; font-size: 12px; letter-spacing: .04em; color: var(--mute-2); display: flex; }
.list-hero .stats b { font-size: 21px; font-family: var(--sans); font-weight: 850; color: var(--ink); letter-spacing: -.02em; }

.list-toolbar { padding: 4px 0 26px; margin-bottom: 0; gap: 24px; }
.list-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.list-sort button {
  padding: 0 18px;
  min-height: 36px;
  border-radius: 30px;
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0;
  color: var(--muted);
}
.list-sort button:hover { color: var(--ink); }
.list-sort button.on { background: var(--accent); color: var(--accent-ink); }
.list-sort button[data-sort="free"] { background: color-mix(in srgb, var(--sage) 15%, var(--paper)); color: #40592F; }
.list-sort button[data-sort="vip"] { background: color-mix(in srgb, var(--amber) 22%, var(--paper)); color: #8A5A16; }
.list-sort button.on[data-sort="free"], .list-sort button.on[data-sort="vip"] { background: var(--accent); color: var(--accent-ink); }
.list-count { font-size: 12px; color: var(--mute-2); letter-spacing: 0; }
.list-count b { color: var(--accent); font-size: 14px; }

/* 三列卡片式列表（封面在上、标签、标题、摘要、元信息在下）
 * 🔴 2026-10-07 改为自适应列数：参考站 aitudou.cn 1920 屏能放 9 张以上，
 *   我们原来固定 3 列（1920 屏每栏 413px，卡片过大、一屏只有 6 张）。
 *   auto-fill + minmax(300px,1fr) → 1440 屏 3 列、1920 屏 4 列，卡片恒定 ~300px 宽。 */
.row-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 1.8vw, 26px) 20px; border-top: 0; align-items: stretch; }
.list-row {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.list-row:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.06); background: var(--paper); padding-left: 0; }
/* 🔴 2026-10-07 卡片密度对齐参考站 aitudou.cn
 *实测：参考站 kb 卡片约 310x250，封面占比约 58%，1920 屏一屏 3行 x 3 列 = 9 张。
 * 我们原来是 344x454，封面 215px（16/10）→ 16/9 后降到 193px，卡片总高约 420。
 * 再配合 .row-list 放宽到 1280（同 .page-container 内层），1440 屏每栏 344 → 400+。
 */
.list-thumb {
  order: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
  background:
    var(--pet-paw) no-repeat right 10px bottom 8px / 38px 38px,
    linear-gradient(150deg, #F3E4C8, #E9D4B0);
}
.list-num {
  order: 0;
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: var(--r-xs);
  background: color-mix(in srgb, #2C2318 62%, transparent);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.list-main { order: 2; flex: 1 1 auto; display: flex; flex-direction: column; padding: 12px 14px 0; min-width: 0; }
.list-cat { color: var(--accent); font-size: 11.5px; letter-spacing: .02em; font-weight: 800; margin-bottom: 6px; text-transform: none; }
.list-title { font-size: 17px; font-weight: 780; letter-spacing: -.015em; line-height: 1.45; margin: 0 0 5px; -webkit-line-clamp: 2; min-height: 2.9em; }
.list-row:hover .list-title { color: var(--accent); }
.list-desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; -webkit-line-clamp: 2; min-height: 3.4em; }
/* 🔴 2026-10-07 密度对齐参考站：摘要限 2 行但不再强制 min-height 撑位，
 *   元信息行压缩padding。参考站卡片约 250px 高，我们目标 ~360px（封面 193+ 正文 165）。 */
.list-meta { order: 3; margin-top: auto; padding: 8px 14px 10px; font-size: 11px; color: var(--mute-2); text-align: left !important; letter-spacing: 0; display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.list-meta .m-row1 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--muted); }
.list-meta .m-row2 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.list-meta .m-sep { opacity: .35; }
.list-action { order: 0; position: absolute; top: 10px; right: 10px; z-index: 2; justify-content: flex-end; }
.list-action .tag { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.list-action .tag-free { background: color-mix(in srgb, #FFFFFF 88%, transparent); color: #40592F; }
.list-action .tag-vip { background: color-mix(in srgb, var(--amber) 94%, transparent); color: #FFFFFF; }
.list-more { padding: 34px 0 0; justify-content: center; }

.cat-chip { border-radius: 30px !important; border: 1px solid var(--hair-2) !important; background: var(--paper); padding: 6px 14px !important; font-size: 12px !important; }

/* ============================================================
   11. 文章详情页
   ============================================================ */
.nd-wrap { max-width: 820px; padding: 32px 0 90px; }
.nd-back {
  border-radius: var(--r-btn);
  border: 1px solid var(--hair);
  background: var(--paper);
  padding: 8px 14px;
  font-size: 11px;
  color: var(--muted);
  box-shadow: none;
}
.nd-back:hover { border-color: var(--accent); color: var(--accent); background: var(--paper); }
.nd-head { border-bottom: 1px solid var(--hair); padding-bottom: 28px; margin-bottom: 36px; }
.nd-h { font-size: clamp(30px, 3.8vw, 48px); font-weight: 900; letter-spacing: -.04em; line-height: 1.2; }
.nd-sub { font-size: 15px; color: var(--muted); line-height: 1.8; }
.nd-meta { font-size: 11.5px; color: var(--mute-2); letter-spacing: 0; }
.nd-author { color: var(--accent); font-weight: 750; }

.article-cover {
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: none;
  background:
    var(--pet-paw) no-repeat right 16px bottom 12px / 60px 60px,
    linear-gradient(150deg, #F3E4C8, #E9D4B0);
}
.article-cover::after {
  content: "傻牛 · MASCOT OF XIAOZHI CLUB";
  left: 14px; bottom: 14px;
  border-radius: var(--r-xs);
  padding: 5px 11px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  color: var(--accent);
  font-size: 9.5px;
  letter-spacing: .14em;
  font-weight: 800;
}
.nd-body { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.nd-body h3 { font-weight: 850; letter-spacing: -.02em; border-left: 3px solid var(--amber); padding-left: 14px; border-radius: 0; }
.nd-body blockquote {
  background: color-mix(in srgb, var(--amber) 8%, var(--paper));
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-2);
  font-style: normal;
  font-size: 15px;
}
.nd-body pre { border-radius: var(--r-sm); }
.nd-body code { border-radius: var(--r-xs); background: color-mix(in srgb, var(--amber) 12%, var(--paper)); border-color: var(--hair); }
.nd-body table { border-radius: var(--r-xs); overflow: hidden; }
.nd-body th { background: color-mix(in srgb, var(--amber) 12%, var(--paper)); }

.article-trial-wall {
  border: 1px dashed color-mix(in srgb, var(--amber) 60%, transparent);
  border-radius: var(--r-md);
  background:
    var(--pet-paw) no-repeat right 14px bottom 10px / 56px 56px,
    color-mix(in srgb, var(--amber) 6%, var(--paper));
  margin: 36px 0;
}

.nd-cta {
  display: block;
  text-align: center;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--paper), color-mix(in srgb, var(--amber) 12%, var(--paper)));
  box-shadow: var(--sh-1);
  margin: 56px 0;
}
.nd-related { border-top: 1px solid var(--hair); }
.nd-related-title { font-size: 13.5px; font-weight: 800; }
.nd-rel-list { border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; background: var(--hair); }
.nd-rel-item { background: var(--paper); }
.nd-rel-item:hover { background: color-mix(in srgb, var(--amber) 10%, var(--paper)); }

/* ============================================================
   12. 会员页：暖黄横幅 + 卡片化权益与价格
   ============================================================ */
.members-wrap { width: var(--content-w); margin-inline: auto; padding-bottom: 40px; }
.members-hero {
  position: relative;
  padding: clamp(38px, 4.4vw, 64px) clamp(26px, 3.6vw, 54px);
  margin: 10px 0 30px;
  border: 1px solid rgba(180, 120, 10, .28);
  border-radius: var(--r-lg);
  background:
    var(--pet-paw) no-repeat right -22px bottom -30px / 200px 200px,
    linear-gradient(135deg, #FFE27A 0%, #FFD24D 58%, #FFC01F 100%);
  box-shadow: var(--sh-1);
  color: #2C2318;
  overflow: hidden;
}
.members-hero .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); justify-content: start; align-items: end; gap: 16px 44px; }
.members-hero .members-facts-note { display: block; max-width: 240px; margin-top: 6px; font-size: 9.5px !important; line-height: 1.55; }
.members-hero h1 { font-size: clamp(38px, 5vw, 72px); font-weight: 950; letter-spacing: -.05em; line-height: 1.05; color: #241A08; }
.members-hero .desc { font-size: 15px; line-height: 1.75; color: rgba(36, 26, 8, .76); max-width: 620px; }
.members-hero .hero-stats { margin: 26px 0; }
.members-hero .hero-stat b { font-family: var(--sans); font-size: 28px; font-weight: 900; color: #8A2A05; letter-spacing: -.03em; }
.members-hero .hero-stat span { color: rgba(36, 26, 8, .68); font-size: 11.5px; letter-spacing: .02em; }
.members-hero .btn-primary { background: var(--amber); border-color: var(--amber); color: #3A290E; box-shadow: none; }
.members-hero .btn-primary:hover { background: var(--amber-2); border-color: var(--amber-2); color: #3A290E; }
.members-hero .btn-ghost { background: transparent; color: #F7ECD9; border-color: rgba(247, 236, 217, .3); }
.members-hero .btn-ghost:hover { background: rgba(247, 236, 217, .12); color: #F7ECD9; border-color: rgba(247, 236, 217, .45); }
.members-facts-note { color: rgba(247, 236, 217, .55) !important; }

/* 会员页：两档价卡铺满 + FAQ 收窄（加号不至于飘到最右） */
/* 🔴 2026-10-07 从 2列改 3 列：新增「升级差价 ¥79.2」方案卡，对齐参考站
 *   aitudou.cn /vip 的三张价格卡并排（¥30 / ¥80 / ¥288）布局。 */
.members-section .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 窄屏降级：平板 2 列、手机 1 列 */
@media (max-width: 1080px) { .members-section .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .members-section .price-grid { grid-template-columns: 1fr; } }
/* 升级差价卡：视觉上作为「中间档」，比primary 弱、比单篇强 */
.price-col.upgrade { border-color: var(--hair-2); background: color-mix(in srgb, var(--amber) 4%, var(--paper)); }
.price-col.upgrade .price-num { color: var(--ink-2); }
.members-section .faq-list { max-width: 940px; }
/* 权益卡 3 列（6 张 = 3+3，避免 4+2 的孤行） */
.members-section .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
/* 辅助文字对比度 */
.price-unit { color: var(--ink-2) !important; }
.price-note { color: var(--ink-2) !important; }
/* 会员卡页：三档菜单等宽 */
.xz-menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

.members-section { width: var(--content-w); margin-inline: auto; padding-block: clamp(26px, 2.8vw, 48px); }

.benefits { gap: 20px; background: transparent; border: 0; }
.benefit {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 24px 22px;
  box-shadow: var(--sh-1);
  transition: box-shadow .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.benefit:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--amber) 42%, var(--hair)); box-shadow: var(--sh-2); }
.benefit-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 24px; padding: 0 8px;
  border-radius: var(--r-xs);
  background: var(--amber);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 11px; font-weight: 850; letter-spacing: .04em;
  box-shadow: none;
  margin-bottom: 12px;
}
.benefit h4 { font-size: 16.5px; font-weight: 850; letter-spacing: -.02em; }
.benefit p { font-size: 13px; line-height: 1.8; color: var(--muted); }

.price-grid { gap: 22px; }
.price-col {
  position: relative;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--paper);
  padding: 26px;
  box-shadow: var(--sh-1);
  transition: box-shadow .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.price-col:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.price-col.primary { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 8%, var(--paper)); box-shadow: var(--sh-1); }
.price-col.primary::before {
  content: "推荐";
  position: absolute;
  top: 20px; right: 22px;
  padding: 3px 11px;
  border-radius: 12px;
  background: var(--amber);
  color: #FFFFFF;
  font-size: 11px; font-weight: 800;
  letter-spacing: .04em;
}
.price-num { font-family: var(--sans); font-size: 36px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.price-unit { font-size: 11.5px; letter-spacing: .1em; color: var(--mute-2); }
.price-list li { font-size: 13px; }
.price-list li::before { content: "✓"; color: var(--sage); font-weight: 800; }
.price-note { font-size: 11.5px; color: var(--mute-2); letter-spacing: 0; }
.price-tag { border-radius: var(--r-xs); }

.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { padding: 20px 2px; font-size: 14.5px; font-weight: 750; letter-spacing: 0; }
.faq-item summary::after {
  content: "+";
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: var(--r-xs);
  border: 1px solid var(--hair-2);
  background: var(--paper);
  font-size: 14px;
  color: var(--accent);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.faq-item[open] summary::after { content: "−"; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq-a { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: 780px; }

/* ============================================================
   13. 社群页（cm-*） / 微信模拟器（wx-*）
   ============================================================ */
.cm-wrap { width: var(--content-w); margin-inline: auto; padding-bottom: 40px; }
.cm-hero {
  padding: clamp(34px, 4vw, 56px) clamp(24px, 3.4vw, 50px);
  margin: 10px 0 12px;
  border: 1px solid rgba(247, 236, 217, .1);
  border-radius: var(--r-lg);
  background:
    var(--pet-paw) no-repeat right -20px bottom -26px / 190px 190px,
    linear-gradient(135deg, #33261A 0%, #221A12 62%, #1B140E 100%);
  box-shadow: var(--sh-2);
  color: #F7ECD9;
  overflow: hidden;
}
.cm-hero-eyebrow { font-size: 11.5px; letter-spacing: .18em; color: var(--amber-2) !important; font-weight: 800; }
.cm-hero-eyebrow .cm-sep { opacity: .5; }
.cm-hero-member { color: rgba(247, 236, 217, .75) !important; border-color: rgba(247, 236, 217, .25) !important; }
.cm-hero-h { font-size: clamp(32px, 4vw, 58px); font-weight: 950; letter-spacing: -.05em; line-height: 1.14; color: #F7ECD9; }
.cm-hero-p { font-size: 15px; color: rgba(247, 236, 217, .74) !important; line-height: 1.75; }
.cm-live {
  border-radius: var(--r-xs);
  padding: 5px 11px;
  background: color-mix(in srgb, var(--sage) 14%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--sage) 38%, transparent);
  color: var(--sage);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cm-stat-box { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--paper); padding: 18px 20px; box-shadow: var(--sh-1); }
.cm-stat-num { font-family: var(--sans); font-size: 28px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.cm-stat-suf { font-size: 12px; color: var(--muted); }
.cm-stat-lbl { font-size: 11px; letter-spacing: .1em; color: var(--mute-2); }
.cm-stat-accent { color: var(--amber); }
.cm-section { width: var(--content-w); margin-inline: auto; padding-block: clamp(26px, 2.8vw, 48px); }

.cm-what { gap: 20px; }
.cm-what-card {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--paper);
  padding: 24px 22px;
  box-shadow: var(--sh-1);
  transition: box-shadow .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.cm-what-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--amber) 42%, var(--hair)); box-shadow: var(--sh-2); }
.cm-what-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 24px; padding: 0 8px;
  border-radius: var(--r-xs);
  background: var(--amber);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 11px; font-weight: 850;
}
.cm-what-t { font-size: 16.5px; font-weight: 850; letter-spacing: -.02em; }
.cm-what-d { font-size: 13px; color: var(--muted); line-height: 1.8; }
.cm-what-meta { font-size: 11px; color: var(--mute-2); letter-spacing: .02em; }

.cm-rules { border: 1px solid var(--hair); border-radius: var(--r-lg); background: var(--paper); padding: clamp(24px, 2.8vw, 38px); box-shadow: var(--sh-1); }
.cm-rules-h { font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; letter-spacing: -.03em; }
.cm-rules-p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.cm-rules-list li { font-size: 13.5px; line-height: 1.85; }
.cm-note { border: 1px solid var(--hair); border-radius: var(--r-md); background: color-mix(in srgb, var(--amber) 7%, var(--paper)); padding: 22px 24px; }
.cm-note-mark { color: var(--amber); }
.cm-note-text { font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.cm-note-avatar { border-radius: 50%; overflow: hidden; }
.cm-note-name { font-weight: 800; font-size: 13px; }
.cm-note-role, .cm-note-sign { font-size: 11px; color: var(--mute-2); letter-spacing: .04em; }

.cm-faq { border-top: 1px solid var(--hair); }
.cm-faq-item { border-bottom: 1px solid var(--hair); }
.cm-faq-q { font-size: 14.5px; font-weight: 750; padding: 20px 2px; }
.cm-faq-a { font-size: 13px; line-height: 1.9; color: var(--muted); }
.cm-faq-n { font-family: var(--mono); font-size: 11px; color: var(--amber); letter-spacing: .04em; }
.cm-faq-caret { color: var(--accent); }

.cm-bottom {
  position: relative;
  width: var(--content-w);
  margin: 20px auto 30px;
  padding: clamp(32px, 3.6vw, 56px) clamp(24px, 3.4vw, 46px);
  border: 1px solid rgba(247, 236, 217, .12);
  border-radius: var(--r-lg);
  background:
    var(--pet-paw) no-repeat right -16px bottom -22px / 170px 170px,
    linear-gradient(135deg, #33261A 0%, #221A12 62%, #1B140E 100%);
  color: #F7ECD9;
  text-align: center;
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.cm-bottom-h { font-size: clamp(24px, 2.8vw, 42px); font-weight: 950; letter-spacing: -.045em; color: #F7ECD9; }
.cm-bottom-eye { font-size: 11.5px; letter-spacing: .2em; color: var(--amber-2) !important; font-weight: 800; }
.cm-facts-note { color: rgba(247, 236, 217, .55) !important; }
.cm-bottom .btn-primary { background: var(--amber); border-color: var(--amber); color: #3A290E; }
.cm-bottom .btn-ghost { background: transparent; color: #F7ECD9; border-color: rgba(247, 236, 217, .35); }
.cm-bottom .btn-ghost:hover { background: rgba(247, 236, 217, .12); color: #F7ECD9; }

.wx-chat { border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.wx-chat-body { background: var(--wx-bg); }
.wx-message-bubble { border-radius: 8px; }
.wx-sessions { border-right: 1px solid var(--wx-line); }

/* 01 头版右列：观看量前三（小横卡：图左文右） */
.featured-wrap .hot-grid { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 20px); }
.featured-wrap .hot-grid .list-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 0 14px;
  align-items: center;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
  cursor: pointer;
}
.featured-wrap .hot-grid .list-thumb { width: 100%; height: 100%; min-height: 96px; aspect-ratio: auto; border: 0; border-right: 1px solid var(--hair); border-radius: 0; }
.featured-wrap .hot-grid .list-num { position: static; background: transparent; color: var(--mute-2); padding: 0; font-size: 10px; }
.featured-wrap .hot-grid .list-main { padding: 12px 14px 12px 0; }
.featured-wrap .hot-grid .list-title { font-size: 14.5px; -webkit-line-clamp: 2; }
.featured-wrap .hot-grid .list-desc { display: none; }
.featured-wrap .hot-grid .list-meta { display: none; }
.featured-wrap .hot-grid .list-action { position: static; margin: 0 10px 0 0; }
.featured-wrap .hot-grid .list-action .tag { font-size: 9.5px; padding: 3px 7px; }
.featured-wrap .hot-grid .list-row { position: relative; }
.featured-wrap .hot-grid .list-link { position: absolute; inset: 0; }

/* 所有 .list-row 内的 .list-link 一律全覆盖（修复教程页/工具页卡片点击无效） */
.row-list .list-link,
.app-grid .list-link { position: absolute; inset: 0; z-index: 3; }

/* ============================================================
   14. 会员卡页（card.html · xz-*）
   ============================================================ */
.xz-card {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 22px 24px 20px;
  background:
    var(--pet-paw) no-repeat right -14px top -12px / 120px 120px,
    linear-gradient(140deg, #F7E7C9, #EFD9B2 56%, #E5C795);
  box-shadow: var(--sh-1);
  color: #2C2318;
}
html[data-theme="dark"] .xz-card {
  background:
    var(--pet-paw) no-repeat right -14px top -12px / 120px 120px,
    linear-gradient(140deg, #45301A, #33240F 60%, #241A0D);
  color: #F7ECD9;
}
.xz-card::after { background: radial-gradient(circle, rgba(200, 126, 43, .24), transparent 68%); }
.xz-card-title, .xz-card-h1 { font-weight: 900; letter-spacing: -.03em; color: inherit; }
.xz-card-no { color: color-mix(in srgb, currentColor 76%, transparent); }
.xz-card-badge {
  border-radius: var(--r-xs);
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  background: color-mix(in srgb, #FFFFFF 52%, transparent);
  color: #5A431F;
  font-weight: 850;
}
html[data-theme="dark"] .xz-card-badge { background: rgba(247, 236, 217, .12); color: #F7ECD9; }
.xz-card-badge.on { background: var(--amber); color: #FFFFFF; border-color: var(--amber); }
.xz-card-row > div span { color: color-mix(in srgb, currentColor 60%, transparent); }
.xz-card-row > div b { color: inherit; }
.xz-card-tip { color: color-mix(in srgb, currentColor 68%, transparent); font-size: 11.5px; }

.xz-menu-grid { gap: 18px; }
.xz-menu-item {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--paper);
  padding: 20px 20px 18px;
  box-shadow: var(--sh-1);
}
.xz-menu-item:hover { border-color: color-mix(in srgb, var(--amber) 42%, var(--hair)); transform: translateY(-3px); box-shadow: var(--sh-2); }
.xz-menu-item h4 { font-weight: 850; letter-spacing: -.02em; }
.xz-menu-item .xz-price { font-family: var(--sans); font-size: 24px; font-weight: 850; letter-spacing: -.04em; }
.xz-menu-item p { font-size: 12px; }
.xz-step b { background: var(--amber); color: #FFFFFF; }
.xz-benefit { border: 1px solid var(--hair); border-radius: var(--r-sm); background: var(--paper); }
.xz-benefit h5 { font-weight: 850; }
.xz-menu-item.is-owned { border-color: color-mix(in srgb, var(--sage) 42%, var(--hair)); }

/* ============================================================
   15. 登录 / 协议 / 后台
   ============================================================ */
.flow-left { background: var(--bg-soft); border-right: 1px solid var(--hair); }
.flow-right { background: var(--paper); }
.flow-h { font-weight: 950; letter-spacing: -.045em; line-height: 1.08; }
.flow-h em { color: var(--accent); font-style: normal; }
.flow-p { color: var(--muted); }
.flow-card { border-radius: var(--r-lg); }
.auth-hero-mark {
  width: 58px; height: 58px;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--amber-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: var(--sh-amber);
  overflow: hidden;
}
.auth-hero-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auth-method-tabs { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--bg-soft); padding: 4px; }
.auth-method-tab { border-radius: var(--r-xs); font-weight: 700; }
.auth-method-tab.on { background: var(--accent); color: var(--accent-ink); }
.auth-method-tab:hover:not(.on) { background: color-mix(in srgb, var(--amber) 12%, transparent); }
.auth-form-card, .login-card {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--paper);
  padding: clamp(22px, 2.6vw, 36px);
  box-shadow: var(--sh-1);
}
.input-row { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--bg-soft); padding: 12px 14px; }
.input-row:focus-within { border-color: var(--accent); background: var(--paper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.form-field input, .form-field textarea, .form-field select { color: var(--ink); }
.flow-step { border: 1px solid var(--hair); border-radius: var(--r-sm); background: var(--bg-soft); }
.flow-step.cur { background: var(--accent); border-color: var(--accent); }
.flow-step.cur .n, .flow-step.cur .l { color: var(--accent-ink); }
.flow-step.done { border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: color-mix(in srgb, var(--amber) 12%, var(--paper)); }

.legal-wrap { width: var(--content-w); max-width: 860px; margin-inline: auto; padding: 40px 0 110px; }
.legal-title { font-weight: 900; letter-spacing: -.045em; }
.legal-meta { font-size: 11px; letter-spacing: .18em; color: var(--accent); font-weight: 800; }
.legal-lead {
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: color-mix(in srgb, var(--amber) 8%, var(--paper));
  color: var(--ink-2);
}
.legal-body h2 { border-top: 1px solid var(--hair); font-weight: 850; letter-spacing: -.02em; }
.legal-foot { border-top: 1px solid var(--hair); color: var(--muted); }

.admin-wrap { width: var(--content-w); margin-inline: auto; padding: 34px 0 80px; }
.admin-card, .panelCard, .gateCard { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--paper); padding: 24px 22px; box-shadow: var(--sh-1); }
.admin-card h3, .panelCard h3, .gateCard h3 { font-weight: 850; letter-spacing: -.02em; }
.admin-input, .admin-label + input, .admin-card input, .admin-card textarea, .admin-card select {
  border: 1px solid var(--hair);
  border-radius: var(--r-xs);
  background: var(--bg-soft);
  color: var(--ink);
}
.admin-note { font-size: 11.5px; color: var(--muted); }
.admin-table { border-radius: var(--r-sm); overflow: hidden; }
.tab-btns button { border-radius: 30px; border: 1px solid var(--hair); background: var(--paper); }
.tab-btns button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.art-grid { gap: 18px; }

/* ============================================================
   16. 浮层：搜索 / 抽屉 / 提示 / 弹窗
   ============================================================ */
.search-modal {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-2);
}
.search-input-row { border-bottom: 1px solid var(--hair); }
.search-input { font-weight: 750; letter-spacing: -.02em; }
.search-item { border-radius: var(--r-xs); margin: 2px 10px; }
.search-item:hover, .search-item.focused { background: color-mix(in srgb, var(--amber) 12%, transparent); color: var(--ink); }
.search-item:hover .search-meta, .search-item.focused .search-meta { color: var(--muted); }
.search-item:hover .search-icon, .search-item.focused .search-icon { background: var(--accent); color: var(--accent-ink); }
.search-cover { border-radius: var(--r-xs); }
.search-cover-fallback { background: linear-gradient(150deg, #F3E4C8, #E9D4B0); border-radius: var(--r-xs); }
.search-footer { border-top: 1px solid var(--hair); font-size: 10.5px; color: var(--mute-2); }
.search-backdrop { background: color-mix(in srgb, #2C2318 32%, transparent); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.drawer-panel { background: var(--paper); border-right: 1px solid var(--hair); box-shadow: var(--sh-2), 1px 0 0 0 var(--amber) inset; }
.drawer-panel .nav-item.active { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.drawer-root.is-open .drawer-backdrop { background: color-mix(in srgb, #2C2318 28%, transparent); }

.toast { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--paper); box-shadow: var(--sh-2); padding: 14px 16px; }
.toast::before { border-radius: var(--r-md) 0 0 var(--r-md); }
.toast-ok::before { background: var(--sage); }
.toast-ok .toast-ic { background: var(--sage); color: #fff; }
.toast-info .toast-ic { background: var(--accent); color: var(--accent-ink); }
.toast-err .toast-ic { background: var(--danger); color: #fff; }
.toast-t { font-weight: 800; }
.toast-action { background: var(--accent); color: var(--accent-ink); border-radius: var(--r-xs); }
.toast-close { border-radius: var(--r-xs); }

.biz-modal { border: 1px solid var(--hair); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh-2); }
.biz-modal-close { border: 1px solid var(--hair); background: var(--bg-soft); color: var(--ink-2); border-radius: 50%; }
.biz-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.biz-row { border: 1px solid var(--hair); border-radius: var(--r-sm); background: var(--bg-soft); }
.biz-row:hover { border-color: var(--accent); background: color-mix(in srgb, var(--amber) 10%, var(--paper)); }
.biz-foot { border-top: 1px solid var(--hair); }
.biz-backdrop { background: color-mix(in srgb, #2C2318 32%, transparent); }
.wx-qr { border: 2px dashed var(--hair-2); border-radius: var(--r-md); background: var(--bg-soft); }

.demo-member-toggle {
  border-radius: var(--r-btn) !important;
  background: var(--accent) !important;
  border: 0 !important;
  box-shadow: var(--sh-a) !important;
  font-family: var(--sans) !important;
  font-weight: 750 !important;
}
.demo-member-toggle:hover { box-shadow: 0 18px 36px -14px rgba(139, 94, 52, .5) !important; }

/* ============================================================
   17. 页脚
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  padding: 24px 32px 26px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mute-2);
}
.site-footer-inner { width: var(--content-w); margin-inline: auto; }
.site-footer .sf-link { color: var(--muted); }
.site-footer .sf-link:hover { color: var(--accent); text-decoration: none; }
.site-footer .sf-sep { color: var(--hair-2); }
.site-footer .sf-credit { color: var(--mute-2); }
.site-footer .sf-credit .sf-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .sf-credit .sf-link:hover { color: var(--accent); }
.site-footer .sf-legacy { color: var(--accent); font-weight: 700; }
.site-footer .sf-legacy:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 分页条（参考站 kb-pagination：N / M + 上一页/下一页） */
.kb-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 34px 0 0; }
.pg-total { font-size: 12px; color: var(--mute-2); letter-spacing: .04em; margin-right: 6px; }
.pg-total b { color: var(--accent); font-weight: 800; }
.pg-btn {
  min-height: 36px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  border: 1px solid var(--hair-2);
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease), opacity .16s var(--ease);
}
.pg-btn:hover:not(:disabled) {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--amber) 10%, var(--paper));
}
.pg-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---- 页码按钮组 + 跳页（2026-10-07 新增）----
   起因：原先只有「上一页 / 下一页」，120 篇 = 10 页，翻到第 8 页要点 7 次。
   现在给页码按钮 + 跳页输入 + 键盘快捷键。*/
.kb-pagination { flex-wrap: wrap; row-gap: 12px; }
.pg-numbers { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pg-num {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  background: none;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.pg-num:hover { color: var(--accent); border-color: var(--accent); background: color-mix(in srgb, var(--amber) 10%, var(--paper)); }
.pg-num[aria-current="page"] {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 800;
}
.pg-gap {
  min-width: 22px;
  text-align: center;
  color: var(--mute-2);
  font-size: 13px;
  user-select: none;
}
.pg-jump { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute-2); }
.pg-jump-input {
  width: 56px;
  height: 34px;
  padding: 0 8px;
  text-align: center;
  border-radius: var(--r-btn);
  border: 1px solid var(--hair-2);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}
.pg-jump-input:focus { outline: none; border-color: var(--accent); color: var(--accent); }
.pg-keys { margin: 12px 0 0; text-align: center; font-size: 11.5px; color: var(--mute-2); }
.pg-keys kbd {
  display: inline-block;
  padding: 1px 6px;
  margin: 0 1px;
  border: 1px solid var(--hair-2);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--paper);
  font-family: var(--mono, monospace);
  font-size: 11px;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .pg-keys { display: none; }
  .pg-num { min-width: 30px; height: 30px; font-size: 12px; }
}

/* ============================================================
   23. 顶部导航登录态（参考站用户下拉）
   ============================================================ */
.sn-user { position: relative; }
.sn-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 12px 4px 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.sn-user-btn:hover { border-color: var(--amber); box-shadow: var(--sh-1); }
.sn-user-btn img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(150deg, var(--amber-2), var(--accent));
}
.sn-user-nick { font-size: 13px; font-weight: 750; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  display: none;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  overflow: hidden;
  z-index: 90;
}
.sn-user-menu.open { display: block; }
.sn-user-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 12px;
}
.sn-user-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: linear-gradient(150deg, var(--amber-2), var(--accent)); }
.sn-user-meta b { display: block; font-size: 15px; font-weight: 850; color: var(--ink); letter-spacing: -.01em; }
.sn-user-meta span { display: block; font-size: 11.5px; color: var(--mute-2); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-user-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 14px 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--amber) 10%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
}
.sn-user-plan-t { display: flex; align-items: center; gap: 10px; }
.sn-user-plan-t .sn-ic { color: var(--amber); display: inline-flex; }
.sn-user-plan-t b { display: block; font-size: 13px; font-weight: 800; color: var(--ink); }
.sn-user-plan-t span { display: block; font-size: 11px; color: var(--muted); }
.sn-user-plan .sn-user-go {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-btn);
  background: var(--amber);
  color: #3A290E;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.sn-user-plan .sn-user-go:hover { background: var(--amber-2); }
.sn-user-plan.is-member { background: color-mix(in srgb, var(--sage) 12%, var(--paper)); border-color: color-mix(in srgb, var(--sage) 35%, transparent); }
.sn-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  border-top: 1px solid var(--hair);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.sn-user-item:hover { background: color-mix(in srgb, var(--amber) 9%, transparent); color: var(--accent); }
.sn-user-item .sn-ic { color: var(--mute-2); display: inline-flex; }
.sn-user-item:hover .sn-ic { color: var(--accent); }
.sn-user-out {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 28px);
  margin: 10px 14px 14px;
  padding: 10px;
  border-radius: var(--r-sm);
  border: 0;
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  color: var(--danger);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.sn-user-out:hover { background: color-mix(in srgb, var(--danger) 16%, transparent); }
.sn-actions .sn-login[style*="display: none"], .sn-actions .sn-login[style*="display:none"] { display: none !important; }

/* 未开放栏目：导航置灰 + 整页拦截 */
.sn-link.sn-disabled { color: var(--mute-2); cursor: default; pointer-events: none; }
.soon-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background:
    radial-gradient(900px 520px at 12% -10%, color-mix(in srgb, var(--amber) 12%, transparent), transparent 60%),
    var(--bg);
  padding: 24px;
}
.soon-gate img {
  width: clamp(96px, 11vw, 150px);
  height: clamp(96px, 11vw, 150px);
  object-fit: cover;
  border-radius: 30% 30% 36% 36% / 26% 26% 40% 40%;
  box-shadow: var(--sh-1);
  margin-bottom: 14px;
}
.soon-gate h1 { margin: 0; font-size: clamp(30px, 4vw, 52px); font-weight: 950; letter-spacing: -.04em; color: var(--ink); }
.soon-gate p { margin: 0 0 22px; font-size: 15px; color: var(--muted); }

/* ============================================================
   18. 空状态 / 兜底
   ============================================================ */
.empty-ill { color: var(--hair-2); }
.empty-t { font-weight: 850; letter-spacing: -.02em; }
.list-empty { border: 1px dashed var(--hair-2); border-radius: var(--r-md); background: var(--paper); color: var(--muted); }
.list-empty a { color: var(--accent); }
.mono { letter-spacing: .05em; }
.mono-meta > span:first-child { color: var(--amber); font-weight: 800; }
.author-row .avatar { border-radius: 50%; }

/* ============================================================
   19. 响应式（对齐参考站断点 1024 / 900 / 720 / 640）
   ============================================================ */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card:nth-child(2n) { border-right: 0; }
}

@media (max-width: 1024px) {
  .row-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { padding: 11px 128px 11px 18px; }
}

@media (max-width: 900px) {
  .section-head h3 { font-size: clamp(26px, 6vw, 34px); }
  .list-hero h1 { font-size: 48px; }
}

@media (max-width: 767px) {
  .section { width: calc(100% - 32px); padding-block: 26px; }
  .mission-hero-section { width: calc(100% - 24px) !important; }
  .topbar { padding: 10px 112px 10px 14px; }
  .cards { grid-template-columns: 1fr; }
  .cat-rail { grid-template-columns: 1fr; }
  .cat-card { border-right: 0; border-bottom: 1px solid var(--hair); }

  .brand-hero.mission-hero { aspect-ratio: auto; height: auto; min-height: 0; padding: 30px 20px 300px; }
  .mission-hero-bg { left: 0; background-size: auto 240px; background-position: center bottom 10px; }
  .mission-hero-shade {
    background: linear-gradient(180deg,
      var(--mission-hero-surface) 0%,
      color-mix(in srgb, var(--mission-hero-surface) 92%, transparent) 44%,
      transparent 74%);
  }
  .mission-hero-copy { position: static; transform: none; width: auto; left: auto; }
  .mission-hero-copy h1 { font-size: clamp(38px, 11vw, 54px); letter-spacing: -.05em; }
  .mission-hero-slogan { font-size: 17px; }
  .mission-hero-copy::after { display: none; }
  .mission-hero-avatar { width: 40px; height: 40px; }
  .btn.mission-hero-community-cta { width: 100%; min-height: 50px; }

  .section-head { align-items: flex-start; gap: 12px; }
  .section-head .num { min-width: 34px; min-height: 34px; padding: 5px 9px; font-size: 10px; }
  .section-head .meta { font-size: 10.5px; }

  .feature { grid-template-columns: 1fr; gap: 0; }
  .feature-media { min-height: 220px; border-right: 0; border-bottom: 1px solid rgba(247, 236, 217, .1); }
  .feature-body { padding: 24px 20px 26px; }

  .list-wrap { width: calc(100% - 32px); padding: 22px 0 70px; }
  .list-hero { padding: 18px 0 20px; }
  .list-hero h1 { font-size: 38px; }
  .list-hero .stats { gap: 20px; flex-wrap: wrap; }
  .row-list { grid-template-columns: 1fr; gap: 24px; }
  .list-row { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 0 13px; align-items: start; }
  .list-thumb { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 16/10; }
  .list-num { top: 8px; left: 8px; }
  .list-main { grid-column: 2; padding-top: 0; }
  .list-title { font-size: 14.5px; }
  .list-desc { -webkit-line-clamp: 2; font-size: 11.5px; }
  .list-meta { grid-column: 2; }
  .list-action { top: 54px; right: auto; left: 8px; }
  .list-action .tag { font-size: 9.5px; padding: 3px 6px; }

  .members-hero, .cm-hero, .cm-bottom { border-radius: var(--r-md); }
  .members-wrap, .cm-wrap, .admin-wrap { width: calc(100% - 32px); }
  .nd-wrap { max-width: 100%; padding: 22px 0 70px; }
  .legal-wrap { width: calc(100% - 32px); padding: 28px 0 80px; }
  .price-num { font-size: 32px; }
}

@media print {
  body { background-image: none; }
  .sidebar, .topbar, .floating-actions, .site-footer, .cursor-dot, .cursor-spot { display: none !important; }
}

/* ============================================================
   20. 文章库（参考站知识库版式）：左分类栏 + 搜索 + Hero 插画
   ============================================================ */
.kb-library {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0 28px;
  align-items: start;
}
.kb-rail { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 1px; }
/* gap 10 → 6：rail 宽 180px，「跟着阿晓学·02 理清思维」原本 scrollWidth 143 / clientWidth 140，
   差 3px 被截成「…理清…」。收紧名称与计数之间的间距即可容纳，不动布局宽度。 */
.kb-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--r-xs);
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.kb-rail-item:hover { color: var(--ink); background: color-mix(in srgb, var(--amber) 8%, transparent); }
/* active 不再加粗到 800 —— 中文加粗会撑宽 3px，把「跟着阿晓学·02 理清思维」顶成
   ellipsis 截断。靠橙色文字 + 底色 + 左侧橙条区分选中态即可，视觉差异依然明显。 */
.kb-rail-item.active { color: var(--accent); font-weight: 650; background: color-mix(in srgb, var(--amber) 13%, transparent); }
.kb-rail-item.active::before {
  content: "";
  position: absolute;
  left: -12px; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.kb-rail-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-rail-n { font-family: var(--mono); font-size: 10px; color: var(--mute-2); flex-shrink: 0; }

.kb-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 440px);
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-btn);
  background: var(--paper);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--hair-2);
  transition: box-shadow .18s var(--ease);
}
.kb-search:focus-within { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.kb-search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
}
.kb-search input::placeholder { color: var(--mute-2); }

/* Hero 右侧插画：手写句 + 黄色圆角傻牛块 */
.list-hero { position: relative; }
.kb-hero-art {
  position: absolute;
  right: clamp(6px, 3vw, 44px);
  top: 46%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: none;
}
.kb-hand {
  font-family: var(--display);
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--ink);
  text-align: right;
}
.kb-hand em { font-style: normal; color: var(--accent); border-bottom: 3px solid var(--amber); padding-bottom: 2px; }
.kb-cube {
  width: clamp(120px, 12vw, 176px);
  height: clamp(120px, 12vw, 176px);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, #F8DFA8, #EFC46F 70%, #E7B455);
  box-shadow: var(--sh-1);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.kb-cube img {
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: 34% 34% 0 0 / 30% 30% 0 0;
}
.kb-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  background: var(--amber);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--sh-amber);
  transition: transform .16s var(--ease), background .16s var(--ease);
}
.kb-cta:hover { background: var(--amber-2); color: #3A290E; transform: translateY(-1px); }

@media (max-width: 1024px) {
  .kb-library { grid-template-columns: 150px minmax(0, 1fr); gap: 0 20px; }
}
@media (max-width: 767px) {
  .kb-library { display: block; }
  .kb-rail {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 6px;
    gap: 6px;
    scrollbar-width: none;
  }
  .kb-rail::-webkit-scrollbar { display: none; }
  .kb-rail-item { flex: 0 0 auto; padding: 8px 12px; min-height: 36px; }
  .kb-rail-item.active::before { display: none; }
  .kb-rail-n { margin-left: 4px; }
  .kb-hero-art { display: none; }
  .kb-search { width: 100%; }
}

/* ============================================================
   21. 首页五大板块（参考站 HomeView 数值）
   ============================================================ */
.home-hero {
  width: 100% !important;
  padding-block: clamp(10px, 1.4vw, 20px) 0 !important;
}
.home-hero .brand-hero.mission-hero,
html[data-theme="dark"] .home-hero .brand-hero.mission-hero {
  aspect-ratio: 2 / 1;
  max-height: 700px;
}
.home-hero .mission-hero-copy h1 { font-size: clamp(48px, 5.6cqw, 84px); letter-spacing: -.06em; font-weight: 950; line-height: 1.08; }
.home-hero .mission-hero-copy h1 span { color: var(--amber); }
.home-hero .mission-hero-copy { width: min(46%, 620px); }

/* 区块标题：方块编号 + 大标题 + 右侧链接（参考站 section-heading） */
.section-head { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); margin-bottom: clamp(14px, 1.5vw, 28px); }
.section-head .num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(35px, 5vw, 56px);
  height: clamp(35px, 5vw, 56px);
  padding: 0;
  border-radius: var(--r-md);
  background: var(--amber);
  color: #FFFFFF;
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 850;
  letter-spacing: 0;
}
.section-head h3 { font-size: clamp(30px, 4.7vw, 52px); font-weight: 950; letter-spacing: -.04em; line-height: 1.2; }
.section-head h3 em { font-style: normal; color: var(--accent); }
.soon-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid color-mix(in srgb, var(--amber) 55%, transparent);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
  color: var(--accent);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: .08em;
  transform: translateY(-6px);
}
.meta-link.meta-soon { color: var(--mute-2); font-weight: 700; }
.section-head .meta { margin-left: auto; }
.section-head .meta-link { margin-left: auto; color: var(--accent); font-family: var(--sans); font-size: clamp(12px, 1vw, 15px); font-weight: 750; letter-spacing: 0; }

/* 头版头条：lead 深色大卡 + 右列纵排小卡（editorial-grid 1.42fr/1fr） */
.featured-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.featured-wrap .feature { min-height: 0; }
.featured-wrap .drops-grid { grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 20px); }
.featured-wrap .drop-tile { display: grid; grid-template-columns: 168px minmax(0, 1fr); }
.featured-wrap .drop-tile .drop-art { aspect-ratio: 16/10; border-bottom: 0; border-right: 1px solid var(--hair); }
.featured-wrap .drop-tile .drop-art-num { font-size: 34px; }
.featured-wrap .card-body.drop-body { padding: 14px 16px; display: flex; flex-direction: column; }
.featured-wrap .drop-sub { display: none; }
.featured-wrap .drop-article-source { display: none; }
.featured-wrap .drop-caption { font-size: 15px; margin-bottom: 4px; }
.drops-head { display: none; }

/* 分类色带（knowledge-band：41%/59% + 圆形编号三条） */
.band-section { width: 100% !important; padding-block: clamp(26px, 3vw, 52px) !important; }
.band-inner {
  width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 41% 59%;
  gap: 0;
}
.band-copy { padding-right: 8%; padding-bottom: 10px; }
.band-copy h3 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 48px); font-weight: 950; line-height: 1.3; letter-spacing: -.04em; color: var(--ink); }
.band-copy p { margin: 0 0 24px; max-width: 520px; font-size: clamp(13px, 1.4vw, 21px); line-height: 1.65; color: var(--muted); }
.band-cta { min-height: 46px; padding: 0 24px; }
.band-section .section-head { display: none; }
.band-section .cat-rail {
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-left: 1px solid color-mix(in srgb, var(--amber) 45%, transparent);
  padding-left: 5%;
  gap: 0;
}
.band-section .cat-card {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 30px);
  min-height: 0;
  padding: 16px 0;
  border-right: 0;
  border-bottom: 1px solid var(--hair-2);
  background: transparent;
  box-shadow: none;
}
.band-section .cat-card:last-child { border-bottom: 0; }
.band-section .cat-card:hover { background: transparent; color: var(--accent); }
.band-section .cat-card:hover .cat-name { color: var(--accent); }
.band-section .cat-card > div:first-child { flex: 1; min-width: 0; }
.band-section .cat-num { display: none; }
.band-section .cat-name { font-size: clamp(16px, 1.85vw, 29px); font-weight: 850; margin: 0 0 4px; }
.band-section .cat-en { margin: 0; font-size: clamp(9px, 1vw, 12px); }
.band-section .cat-count { font-size: clamp(11px, 1.15vw, 15px); margin-right: 4px; }
.band-section .cat-card .arrow { position: static; width: 20px; height: 20px; flex-shrink: 0; }
.band-bg { background: color-mix(in srgb, var(--amber) 12%, var(--bg)); }

/* 最新发布三卡（application-grid） */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }

/* 会员横幅（membership-band：黄底 + 斜纹 + 吉祥物 + 贴纸） */
.membership-section { width: 100% !important; padding-block: clamp(26px, 3vw, 52px) !important; }
.membership-band {
  position: relative;
  width: var(--content-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 42% 20% 20% 18%;
  align-items: center;
  height: clamp(220px, 26vw, 360px);
  padding: 0 clamp(20px, 3vw, 48px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(ellipse at 57% 50%, #F9E4AC 0, #F2D387 62%, #EBC568 100%);
  color: #3A290E;
}
html[data-theme="dark"] .membership-band { background: radial-gradient(ellipse at 57% 50%, #4C351C 0, #3A2713 62%, #2E1F0F 100%); color: #F7ECD9; }
.membership-band::before,
.membership-band::after {
  content: "";
  position: absolute;
  top: -30%; bottom: -30%;
  width: 30%;
  background: repeating-linear-gradient(145deg, transparent 0 3px, rgba(255, 255, 255, .35) 3px 4px);
  pointer-events: none;
}
.membership-band::before { left: -10%; }
.membership-band::after { right: -10%; }
.mb-copy { position: relative; z-index: 2; }
.mb-head { display: flex; align-items: flex-start; gap: clamp(10px, 1.5vw, 20px); }
.mb-num {
  width: clamp(40px, 5.2vw, 64px); height: clamp(40px, 5.2vw, 64px);
  border-radius: var(--r-md);
  background: var(--amber);
  color: #FFFFFF;
  display: grid; place-items: center;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 850;
  flex-shrink: 0;
}
.mb-head h2 { margin: 0; font-size: clamp(24px, 3.2vw, 44px); font-weight: 950; line-height: 1.22; letter-spacing: -.04em; }
.mb-copy > p { margin: clamp(10px, 1.4vw, 18px) 0 clamp(12px, 1.6vw, 20px) clamp(50px, 7.2vw, 84px); font-size: clamp(12px, 1.3vw, 17px); font-weight: 700; opacity: .82; }
.mb-copy .btn-primary { margin-left: clamp(50px, 7.2vw, 84px); background: #D8450F; border-color: #D8450F; color: #FFFFFF; box-shadow: none; min-height: 48px; }
.mb-copy .btn-primary:hover { background: #241A08; border-color: #241A08; }
/* members-hero 主按钮在亮黄底上：白字 → 深墨字 */
.members-hero .btn-primary { background: #241A08; border-color: #241A08; color: #FFF9EF; }
.members-hero .btn-primary:hover { background: #3A290E; border-color: #3A290E; }
.mb-mascot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.mb-mascot img { width: 100%; max-width: 190px; object-fit: contain; border-radius: 30% 30% 38% 38% / 26% 26% 40% 40%; box-shadow: var(--sh-2); }
.mb-note { position: relative; z-index: 2; text-align: center; }
.mb-hand { display: inline-block; font-family: var(--display); font-size: clamp(15px, 1.9vw, 26px); font-weight: 800; line-height: 1.6; letter-spacing: .02em; }
.mb-hand:after { content: ""; display: block; width: 76%; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--amber); }
.mb-stickers { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.mb-stickers span {
  width: 100%; max-width: 170px;
  text-align: center;
  padding: .42em .3em;
  border: 2px solid var(--paper);
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #FFFFFF;
  font-size: clamp(12px, 1.4vw, 17px);
  font-weight: 900;
  line-height: 1.15;
}
.mb-stickers span:nth-child(2) { background: var(--amber); color: #3A290E; }
.mb-stickers span:nth-child(3) { background: #FFFFFF; color: #3A290E; }

/* 价格卡（plan-grid：参考站三卡，featured 橙边+淡橙底） */
.plans-section { width: var(--content-w) !important; margin-inline: auto !important; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
}
.home-plan.featured { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 7%, var(--paper)); }
.home-plan h3 { margin: 10px 0 0; font-size: 20px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.plan-tag {
  position: absolute;
  top: 24px; right: 24px;
  padding: 3px 12px;
  border-radius: 12px;
  background: var(--amber);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
}
.plan-price { margin: 18px 0 8px; font-size: 36px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.plan-price small { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.home-plan p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.home-plan ul { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.home-plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.home-plan li b { color: var(--accent); font-weight: 900; }
.home-plan li::before { content: "✓"; color: var(--sage); font-weight: 800; flex-shrink: 0; }
.home-plan .btn { margin-top: auto; }

/* FAQ 双栏（faq-section 1fr/2fr） */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  width: var(--content-w) !important;
  margin-inline: auto !important;
  padding-bottom: clamp(40px, 5vw, 80px) !important;
}
.faq-left .faq-num {
  display: grid; place-items: center;
  width: clamp(35px, 5vw, 56px); height: clamp(35px, 5vw, 56px);
  border-radius: var(--r-md);
  background: var(--amber);
  color: #FFFFFF;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 850;
}
.faq-left h2 { margin: 16px 0 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.faq-left .faq-more { font-size: 13px; color: var(--muted); }
.faq-left .faq-more a { color: var(--accent); font-weight: 700; text-decoration: none; }
.faq-left .faq-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-section .faq-item { border-bottom: 1px solid var(--hair); }
.faq-section .faq-item summary { padding: 20px 2px; font-size: 14.5px; font-weight: 750; color: var(--ink); list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.faq-section .faq-item summary::-webkit-details-marker { display: none; }
.faq-section .faq-item summary::after { content: "+"; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.faq-section .faq-item[open] summary::after { content: "−"; }
.faq-section .faq-a { padding: 0 2px 20px; font-size: 13px; line-height: 1.9; color: var(--muted); }

@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: 1fr; }
  .faq-section { grid-template-columns: 1fr; gap: 18px; }
}

/* 03 AI应用：三个自研应用卡（应用封面 + 名称 + 简介） */
.app-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .26s var(--ease-out), box-shadow .26s var(--ease-out), border-color .26s var(--ease-out);
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--amber) 45%, var(--hair));
  box-shadow: var(--sh-2);
}
.app-cover {
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--hair);
  background-color: #F2E3C8;
}
.app-cover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 8, .55));
}
.app-num {
  position: absolute;
  left: 12px; bottom: 10px;
  z-index: 2;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.app-body { padding: 16px 18px 18px; }
.app-cat {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--amber);
  margin-bottom: 8px;
}
.app-title { margin: 0 0 6px; font-size: 17px; font-weight: 850; letter-spacing: -.015em; line-height: 1.4; color: var(--ink); }
.app-desc { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* ============================================================
   22. 子页面通用：页头 + 工具/教程/关于
   ============================================================ */
.page-hero {
  position: relative;
  width: var(--content-w);
  margin-inline: auto;
  padding: clamp(26px, 3vw, 48px) 0 clamp(18px, 2vw, 30px);
}
.page-hero h1 {
  margin: 14px 0 16px;
  max-width: 760px;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.02;
  color: var(--ink);
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .desc { max-width: 640px; margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.page-hero .eyebrow { font-size: 11px; letter-spacing: .2em; color: var(--accent); font-weight: 800; }
.page-hero .kb-hero-art { top: 50%; }

.about-wrap { width: var(--content-w); margin-inline: auto; padding-bottom: 90px; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 34px 0; }
.about-card { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--paper); padding: 24px 22px; box-shadow: var(--sh-1); }
.about-card h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.about-card p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.about-card .ab-num { font-family: var(--sans); font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: var(--accent); display: block; margin-bottom: 6px; }

@media (max-width: 1024px) {
  .featured-wrap { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: 1fr; gap: 24px; }
  .band-copy { padding-right: 0; }
  .band-section .cat-rail { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); padding-left: 0; padding-top: 12px; }
  .membership-band { grid-template-columns: 1fr 1fr; height: auto; padding: 32px 24px; gap: 20px; }
  .mb-note, .mb-stickers { display: none; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .featured-wrap .drop-tile { grid-template-columns: 1fr; }
  .featured-wrap .drop-tile .drop-art { border-right: 0; border-bottom: 1px solid var(--hair); }
  .app-grid { grid-template-columns: 1fr; }
  .membership-band { grid-template-columns: 1fr; }
  .mb-copy .btn-primary, .mb-copy > p { margin-left: 0; }
}

/* 知识库横幅（参考站 knowledge-band 版式复刻，配色走傻牛主题 token） */
.kb-band { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-block: 1px solid var(--hair); }
[data-theme="dark"] .kb-band { background: color-mix(in srgb, var(--accent) 10%, #17130E); }
.kb-band-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.kb-band-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: #FFFFFF; font-weight: 900; font-size: 15px; }
.kb-band-label { font-size: 20px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.kb-band-hand { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--accent); transform: rotate(-1.5deg); width: fit-content; border-bottom: 2px solid color-mix(in srgb, var(--amber) 70%, transparent); padding-bottom: 2px; }
.kb-band .cat-rail { border-left-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.kb-entry { display: flex; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--hair-2); text-decoration: none; color: inherit; transition: transform .18s ease; }
.kb-band .cat-rail .kb-entry:last-child { border-bottom: 0; }
.kb-entry:hover { transform: translateX(4px); }
.kb-entry:hover .kb-entry-name { color: var(--accent); }
.kb-entry-no { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 900; }
.kb-entry-icon { flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; background: color-mix(in srgb, #FFF 72%, transparent); border-radius: 12px; border: 1px solid var(--hair); }
[data-theme="dark"] .kb-entry-icon { background: color-mix(in srgb, #000 30%, transparent); }
.kb-entry-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kb-entry-name { font-size: 17px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); }
.kb-entry-desc { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.kb-entry-n { flex-shrink: 0; font-family: var(--mono); font-size: 11px; color: var(--mute-2); }
.kb-entry .arrow { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); transition: transform .18s ease; }
.kb-entry:hover .arrow { transform: translateX(3px); }

/* ============================================================
   深读文章排版（跟着阿晓学 · 技术深潜）——作用域锁定 .article-body
   来源：AI底层逻辑解析.html 内联浅色阅读版式；仅文章详情页生效
   ============================================================ */
.article-body .toc{background:#fff;border:1px solid #e6e2da;border-radius:10px;padding:18px 24px;margin:26px 0;color:#1d2024;}
.article-body .toc b{display:block;margin-bottom:8px;color:#2f6df0;}
.article-body .toc a{color:#33414f;text-decoration:none;}
.article-body .toc a:hover{text-decoration:underline;}
.article-body .lead{font-size:19px;color:#2a3036;}
.article-body .box{background:#fff;border:1px solid #e6e2da;border-left:5px solid #0f9d8a;border-radius:10px;padding:18px 22px;margin:22px 0;box-shadow:0 1px 3px rgba(0,0,0,.04);color:#1d2024;}
.article-body .box .t{font-weight:700;color:#0f9d8a;margin-bottom:6px;}
.article-body .term{color:#2f6df0;font-weight:600;}
.article-body .formula{display:block;text-align:center;background:#f3f0ea;border:1px solid #e6e2da;border-radius:8px;padding:14px;margin:18px 0;font-family:Georgia,"Times New Roman",serif;font-size:18px;color:#1d2024;}
.article-body code{background:#f3f0ea;padding:2px 7px;border-radius:5px;font-family:Consolas,monospace;font-size:15px;color:#b5341f;}
.article-body .note{font-size:15px;color:#5a636e;}
.article-body .tag{display:inline-block;background:#eef3ff;color:#2f6df0;border-radius:6px;padding:2px 10px;font-size:13px;margin-right:6px;}


/* ---- 系列导航（同分类章节进度 + 上下篇）---- */
.nd-series{margin:26px 0 6px;padding:18px 20px;border:1px solid rgba(29,32,36,.1);border-radius:12px;background:linear-gradient(180deg,rgba(255,250,242,.7),rgba(255,250,242,.35))}
.nd-series-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.nd-series-label{font-size:12px;color:rgba(29,32,36,.55);letter-spacing:.04em}
.nd-series-count{font-size:13px;font-weight:700;color:#8a5a2b}
.nd-series-track{flex:1;min-width:120px;height:5px;border-radius:3px;background:rgba(29,32,36,.1);overflow:hidden}
.nd-series-track i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#e8a34a,#c9762f)}
.nd-series-cat{font-size:12px;color:rgba(29,32,36,.5)}
.nd-series-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nd-series-btn{display:flex;flex-direction:column;gap:4px;padding:11px 14px;border:1px solid rgba(29,32,36,.1);border-radius:9px;background:#fff;text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s;min-width:0}
.nd-series-btn:hover{border-color:rgba(201,118,47,.5);transform:translateY(-1px);box-shadow:0 3px 10px rgba(29,32,36,.07)}
.nd-series-btn.is-next{text-align:right}
.nd-series-dir{font-size:11px;color:rgba(29,32,36,.5)}
.nd-series-t{font-size:13px;font-weight:600;color:#1d2024;line-height:1.45;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.nd-series-btn.is-off{opacity:.45;pointer-events:none;background:rgba(255,255,255,.5)}

/* ==== learn.html 落地页（由 work/learn-landing.css 同步，勿手改） ==== */
/* ---------- 正文容器宽度（2026-10-07 第二次修正）----------
   起因：用户看截图指出「两边留那么多给谁看的」。
   实测 1920 屏：`max-width:1240px` 死顶 → 左右各空 340px，
   而 .row-list 只有 866px、3 栏每栏 275px，卡得很挤。
   参考站 aitudou.cn 实测：正文 site-shell 1180px 固定，但卡片容器
   .kb-article-list 在 1920 屏是 972px —— 大屏会铺得更开。
   改法：死max-width 换成「百分比 + 大上限 1560px」，与顶栏对齐。 */
.page-container{/* 🔴 2026-10-07 参考站 aitudou.cn 实测内层 1402/1440 = 97.4%，
   92% 只有 1325（少 77px）。改用 calc(100% - 48px)：1440 下得 1392，
   小屏每边仍留 24px 呼吸，与参考站 px-6 一致。 */
  width:min(calc(100% - 48px),1600px);max-width:none;margin:0 auto;padding:0 32px}

/* ---------- 顶栏：不再在本文件重定义 ----------
   🔴 2026-10-07 撤除
   本文件曾自带一套 .site-nav/.sn-* 微调（13px 字+ 固定 1240px 容器），
   结果覆盖了 pet.css 全局的 14px 定义，把顶栏字压小 —— 全站 18 页一起变小。
   方向也搞反了：为了「不溢出」去缩字号+ 缩容器，而实测 1440px 下 nav 只占
   1074px、右侧空 366px，本来就有的是空间。
   顶栏样式现统一由 pet.css 全局定义（15.5px / 650字重 / 容器 min(92%,1560px)）
   + pet.css 里1400/1200/1040 三档降级断点负责。
   learn.html 不再有任何顶栏私有样式。 */

/* ---------- HERO ---------- */
/* 🔴 2026-10-07 改左文右图两栏。
   原来 .lch-hero 是纯左文通栏，容器放宽后右侧空得更大。
   参考站 aitudou.cn 实测 hero 为左文右图。
   用 grid 两栏而非 .list-hero 那种绝对定位 —— 通栏容器里绝对定位会随宽度漂移。 */
.lch-hero{padding:56px 0 44px;border-bottom:1px solid var(--hair,#e5dcc9);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px;align-items:start}
.lch-hero-main{min-width:0}
.lch-hero .kb-hero-art{position:static;transform:none;top:auto;right:auto;flex-direction:column;gap:14px;text-align:center;pointer-events:auto}
/* 窄屏右图收起（pet.css 1750 行已有 .kb-hero-art{display:none} 的断点，这里补 learn 专属） */
@media (max-width:1180px){ .lch-hero{grid-template-columns:1fr} }
.lch-hero{padding:56px 0 44px;border-bottom:1px solid var(--hair,#e5dcc9)}
.lch-hero-tag{display:inline-block;font-size:11.5px;letter-spacing:.2em;font-weight:800;color:var(--accent);margin-bottom:22px;padding:5px 12px;border:1px solid var(--hair,#e5dcc9);border-radius:99px;background:rgba(255,255,255,.55)}
.lch-hero h1{margin:0 0 22px;max-width:820px;font-size:clamp(38px,6.2vw,78px);line-height:1.06;letter-spacing:-.02em;font-weight:800}
.lch-hero h1 em{font-style:normal;color:var(--accent);position:relative}
.lch-hero h1 em::after{content:'';position:absolute;left:0;right:0;bottom:.08em;height:.1em;background:linear-gradient(90deg,#e8a34a,#c9762f);border-radius:2px;opacity:.55}
.lch-hero-desc{max-width:660px;font-size:16px;line-height:1.85;color:rgba(29,32,36,.72);margin:0 0 30px}
.lch-hero-desc strong{color:var(--accent);font-weight:700}

.lch-hero-stats{display:flex;flex-wrap:wrap;gap:26px;margin-bottom:32px;padding:18px 0;border-top:1px solid var(--hair,#e5dcc9);border-bottom:1px solid var(--hair,#e5dcc9)}
.lh-stat{display:flex;align-items:baseline;gap:6px}
.lh-stat b{font-size:30px;font-weight:800;letter-spacing:-.02em;color:var(--ink,#1d2024);font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace)}
.lh-stat span{font-size:12.5px;color:rgba(29,32,36,.55)}

.lch-hero-cta{display:flex;flex-wrap:wrap;gap:12px}
.lch-hero-cta .btn{text-decoration:none;padding:12px 24px;font-size:14px;border-radius:9px}
.lch-hero-cta .btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.lch-hero-cta .btn-ghost{border:1px solid var(--hair,#e5dcc9);color:var(--ink,#1d2024);background:rgba(255,255,255,.5)}

/* ---------- 分段标题 ---------- */
.lch-section{padding:52px 0 8px}
.lch-sec-head{margin-bottom:26px}
.lch-sec-tag{display:inline-block;font-size:11px;letter-spacing:.16em;font-weight:800;color:var(--accent);margin-bottom:12px;padding:4px 11px;border-radius:99px;background:rgba(232,163,74,.14)}
.lch-sec-tag.is-ground{background:rgba(104,158,120,.18);color:#3f7a52}
.lch-sec-tag.is-models{background:rgba(232,163,74,.18);color:var(--accent)}
.lch-sec-tag.is-tools{background:rgba(120,163,190,.18);color:#41708f}
.lch-sec-tag.is-cn{background:rgba(196,120,110,.18);color:#a3503f}
.lch-sec-tag.is-finale{background:rgba(120,130,190,.18);color:#5a63a8}
.lch-sec-head h2{margin:0 0 12px;font-size:clamp(24px,3.2vw,36px);line-height:1.24;letter-spacing:-.01em;font-weight:800}
.lch-sec-head p{margin:0;max-width:720px;font-size:14.5px;line-height:1.8;color:rgba(29,32,36,.66)}

/* ---------- 路线图 ----------
   🔴 修正（2026-10-07）：原来是 repeat(3,1fr)，但实际放了 **5 个节点**
   → 第三行只有 2 个、连接线left:12%/right:12% 也对不上，首屏右侧还被裁。
   改为 5 列一行放不下就auto-fit 自适应，且连接线按实际列数收口。 */
.lch-path{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;position:relative}
.lch-path::before{content:'';position:absolute;top:22px;left:10%;right:10%;height:2px;background:linear-gradient(90deg,#689e78 0%,#e8a34a 50%,#787abe 100%);border-radius:2px;opacity:.4;z-index:0}
.lp-node{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;padding:22px 20px 20px;border:1px solid var(--hair,#e5dcc9);border-radius:12px;background:rgba(255,255,255,.62);text-decoration:none;color:inherit;transition:transform .16s,box-shadow .16s,border-color .16s}
.lp-node:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(29,32,36,.08);border-color:rgba(232,163,74,.55)}
.lp-dot{width:12px;height:12px;border-radius:50%;background:var(--accent);border:3px solid #fffaf2;box-shadow:0 0 0 2px rgba(232,163,74,.35);margin-bottom:6px}
.lp-node.is-ground .lp-dot{background:#689e78;box-shadow:0 0 0 2px rgba(104,158,120,.35)}
.lp-node.is-finale .lp-dot{background:#787abe;box-shadow:0 0 0 2px rgba(120,122,190,.35)}
.lp-label{font-size:15px;font-weight:800;letter-spacing:-.01em}
.lp-cnt{font-size:12px;font-weight:700;color:var(--accent);font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace)}
.lp-desc{font-size:12.5px;line-height:1.65;color:rgba(29,32,36,.6)}

/* ---------- 快速跳转条 ---------- */
.lch-subnav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px;padding:11px 15px;border:1px solid var(--hair,#e5dcc9);border-radius:9px;background:rgba(255,255,255,.45)}
.lch-subnav-label{font-size:11.5px;letter-spacing:.1em;color:rgba(29,32,36,.5);font-weight:700;margin-right:4px}
.lch-subnav-item{font-size:12px;padding:3px 10px;border-radius:99px;background:rgba(232,163,74,.13);color:rgba(29,32,36,.72);font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace)}

/* ---------- 章节卡网格 ---------- */
.lch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:13px;margin-bottom:8px}
.lch-grid.is-wide{grid-template-columns:1fr}

/* 🔴 卡片等高修正：align-items:center 会让卡片随内容高度自适应，
   而 6 张卡的 lch-sub 为空（源数据 sub 字段为空）→ 高矮不齐、视觉参差。
   改 align-items:stretch + .lch-body 内 min-height，让同一行卡片等高。 */
.lch{position:relative;display:grid;grid-template-columns:34px 84px 1fr 20px;gap:13px;align-items:stretch;padding:13px;border:1px solid var(--hair,#e5dcc9);border-radius:11px;background:rgba(255,255,255,.6);text-decoration:none;color:inherit;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s}
.lch:hover{transform:translateX(3px);box-shadow:0 5px 18px rgba(29,32,36,.08);border-color:rgba(232,163,74,.5)}
.lch-n{font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace);font-size:15px;font-weight:800;color:rgba(29,32,36,.3);text-align:center;letter-spacing:-.02em;align-self:center}
.lch:hover .lch-n{color:var(--accent)}
.lch-thumb{width:84px;height:58px;border-radius:7px;overflow:hidden;background:#fffaf2;border:1px solid rgba(29,32,36,.07);flex-shrink:0;align-self:center}
.lch-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lch-body{display:flex;flex-direction:column;gap:3px;min-width:0;justify-content:center}
.lch-title{font-size:14.5px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lch-sub{font-size:12px;line-height:1.55;color:rgba(29,32,36,.58);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.4em}
.lch-meta{font-size:11px;color:rgba(29,32,36,.42);margin-top:auto}
.lch-go{font-size:15px;color:rgba(29,32,36,.22);transition:transform .15s,color .15s;align-self:center}
.lch:hover .lch-go{color:var(--accent);transform:translateX(3px)}

/* 宽卡（收口那一张） */
.lch-grid.is-wide .lch{grid-template-columns:44px 150px 1fr 20px;padding:17px}
.lch-grid.is-wide .lch-thumb{width:150px;height:100px}
.lch-grid.is-wide .lch-title{font-size:18px;white-space:normal}
.lch-grid.is-wide .lch-sub{font-size:13px;-webkit-line-clamp:3;min-height:3.9em}

/* ---------- 收口 ---------- */
.lch-outro{margin:52px 0 20px;padding:34px 30px;border-radius:14px;background:linear-gradient(135deg,rgba(232,163,74,.13),rgba(120,122,190,.1));border:1px solid var(--hair,#e5dcc9)}
.lch-outro-t{font-size:22px;font-weight:800;margin-bottom:10px;letter-spacing:-.01em}
.lch-outro p{margin:0 0 20px;font-size:14.5px;line-height:1.8;color:rgba(29,32,36,.7);max-width:640px}
.lch-outro-cta{display:flex;flex-wrap:wrap;gap:11px}
.lch-outro-cta .btn{text-decoration:none;padding:11px 22px;font-size:13.5px;border-radius:9px}
.lch-outro-cta .btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.lch-outro-cta .btn-ghost{border:1px solid var(--hair,#e5dcc9);color:var(--ink,#1d2024);background:rgba(255,255,255,.55)}

/* ---------- 响应式 ---------- */
@media (max-width:1100px){
  .lch-path{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
}
@media (max-width:900px){
  .lch-path{grid-template-columns:1fr}
  .lch-path::before{display:none}
  .lch-grid{grid-template-columns:1fr}
  .lch-grid.is-wide .lch{grid-template-columns:34px 110px 1fr 18px}
  .lch-grid.is-wide .lch-thumb{width:110px;height:74px}
}
@media (max-width:640px){
  .lch-hero{padding:38px 0 30px}
  .lch-hero-stats{gap:16px}
  .lh-stat b{font-size:24px}
  .page-container{padding:0 16px}
  .lch{grid-template-columns:30px 64px 1fr;gap:10px;padding:11px}
  .lch-thumb{width:64px;height:46px}
  .lch-go{display:none}
  .lch-grid.is-wide .lch{grid-template-columns:30px 64px 1fr;padding:12px}
  .lch-grid.is-wide .lch-thumb{width:64px;height:46px}
  .lch-grid.is-wide .lch-title{font-size:15px}
  .lch-outro{padding:24px 20px}
}
/* ==== /learn.html 落地页结束 ==== */

/* ==== 学习增强：收藏 / 进度 / 我的学习 ==== */
/* -*- coding: utf-8 -*- */
/* ============================================================
   学习增强样式：收藏按钮 / 侧栏面板 / 阅读进度条 / 卡片星标
   ============================================================ */

/* ---------- 文章页收藏按钮 ---------- */
.nd-fav-btn{display:inline-flex;align-items:center;gap:6px;margin:10px 0 4px;padding:6px 14px;border:1px solid var(--hair,#e5dcc9);border-radius:99px;background:rgba(255,255,255,.6);color:rgba(29,32,36,.7);font-size:13px;font-family:inherit;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.nd-fav-btn:hover{border-color:rgba(232,163,74,.6);background:#fff}
.nd-fav-btn[aria-pressed="true"]{border-color:rgba(232,163,74,.75);color:var(--accent,#c9762f);background:rgba(232,163,74,.1)}
.nd-fav-ico{font-size:14px;line-height:1}

/* ---------- 文章页阅读进度条 ---------- */
.nd-readbar{position:sticky;top:0;z-index:20;height:3px;background:rgba(29,32,36,.07);border-radius:2px;margin:0 0 6px}
.nd-readbar>i{display:block;height:100%;width:0;border-radius:2px;background:linear-gradient(90deg,#e8a34a,#c9762f);transition:width .15s}
.nd-readpct{font-size:11px;color:rgba(29,32,36,.42);font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace)}

/* ---------- 卡片收藏星标 + 阅读进度 ---------- */
.row-fav{position:absolute;top:8px;right:8px;z-index:3;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:1px solid var(--hair,#e5dcc9);border-radius:7px;background:rgba(255,255,255,.9);color:rgba(29,32,36,.32);font-size:14px;line-height:1;cursor:pointer;transition:color .15s,border-color .15s,background .15s}
.row-fav:hover{color:var(--accent,#c9762f);border-color:rgba(232,163,74,.6)}
.row-fav.is-on{color:#e8a34a;border-color:rgba(232,163,74,.7);background:rgba(232,163,74,.12)}
.row-prog{display:block;height:3px;border-radius:2px;background:rgba(29,32,36,.08);overflow:hidden;margin:0 0 6px}
.row-prog>i{display:block;height:100%;background:linear-gradient(90deg,#e8a34a,#c9762f);border-radius:2px}

/* ---------- 侧栏「我的学习」面板 ---------- */
.lz-box{margin:14px 10px 4px;border:1px solid var(--hair,#e5dcc9);border-radius:10px;background:rgba(255,255,255,.55);overflow:hidden}
.lz-head{display:flex;align-items:center;gap:7px;width:100%;padding:10px 12px;border:0;background:transparent;cursor:pointer;font-family:inherit;font-size:12.5px;font-weight:700;color:rgba(29,32,36,.8);text-align:left}
.lz-head:hover{background:rgba(232,163,74,.08)}
.lz-head-t{flex:1}
.lz-head-n{min-width:18px;padding:1px 6px;border-radius:99px;background:rgba(232,163,74,.18);color:var(--accent,#c9762f);font-size:11px;font-weight:700;text-align:center}
.lz-caret{font-size:10px;opacity:.5;transition:transform .18s}
.lz-head.is-open .lz-caret{transform:rotate(180deg)}
.lz-body{padding:2px 12px 12px;border-top:1px solid var(--hair,#e5dcc9)}
.lz-sec{margin:10px 0 6px;font-size:10.5px;letter-spacing:.12em;color:rgba(29,32,36,.45);font-weight:700}
.lz-stage{margin-bottom:8px}
.lz-stage-t{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;color:rgba(29,32,36,.7);margin-bottom:3px}
.lz-stage-t span:last-child{color:rgba(29,32,36,.45);font-size:10.5px}
.lz-track{display:block;height:4px;border-radius:2px;background:rgba(29,32,36,.08);overflow:hidden}
.lz-track>i{display:block;height:100%;background:linear-gradient(90deg,#689e78,#3f7a52);border-radius:2px}
.lz-note{margin-top:6px;font-size:11px;color:rgba(29,32,36,.5)}
.lz-favs{list-style:none;margin:0;padding:0}
.lz-favs li{margin-bottom:1px}
.lz-favs a{display:flex;align-items:baseline;gap:6px;padding:5px 6px;border-radius:6px;text-decoration:none;color:rgba(29,32,36,.78);font-size:12px;line-height:1.4}
.lz-favs a:hover{background:rgba(232,163,74,.1);color:var(--accent,#c9762f)}
.lz-fav-ep{flex-shrink:0;font-size:10px;color:rgba(29,32,36,.42)}
.lz-fav-t{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lz-empty{font-size:11.5px;line-height:1.6;color:rgba(29,32,36,.48)}

/* ---------- 响应式 ---------- */
@media (max-width:640px){
  .lz-box{margin:10px 8px 3px}
  .row-fav{width:24px;height:24px;top:6px;right:6px}
}

/* ==== 分享按钮 ==== */
.nd-share{display:inline-flex;flex-wrap:wrap;gap:8px;margin:6px 0 4px}
.nd-share-b{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border:1px solid var(--hair,#e5dcc9);border-radius:99px;background:rgba(255,255,255,.6);color:rgba(29,32,36,.68);font-size:12.5px;font-family:inherit;text-decoration:none;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.nd-share-b:hover{border-color:rgba(232,163,74,.6);background:#fff;color:var(--accent,#c9762f)}
.nd-share-ico{font-size:12px;opacity:.7}

/* ==== 自测题 ==== */
.nd-quiz{margin:30px 0 6px;padding:20px 22px;border:1px solid var(--hair,#e5dcc9);border-radius:12px;background:linear-gradient(180deg,rgba(255,250,242,.7),rgba(255,250,242,.35))}
.nd-quiz-head{display:flex;align-items:baseline;gap:10px;margin-bottom:4px}
.nd-quiz-tag{font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--accent,#c9762f);padding:3px 10px;border-radius:99px;background:rgba(232,163,74,.16)}
.nd-quiz-sub{font-size:12px;color:rgba(29,32,36,.5)}
.nd-quiz-done{margin:6px 0 12px;font-size:12.5px;color:rgba(29,32,36,.6)}
.nd-quiz-done b{color:var(--accent,#c9762f);font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace)}
.nd-quiz-list{list-style:none;margin:0;padding:0;counter-reset:nz}
.nd-quiz-item{counter-increment:nz;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid rgba(29,32,36,.06)}
.nd-quiz-item:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.nd-quiz-q{position:relative;margin:0 0 9px;padding-left:26px;font-size:14px;font-weight:600;line-height:1.55}
.nd-quiz-q::before{content:counter(nz);position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:rgba(29,32,36,.07);color:rgba(29,32,36,.6);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace)}
.nd-quiz-opts{display:flex;flex-direction:column;gap:5px;padding-left:26px}
.nd-quiz-o{display:flex;align-items:flex-start;gap:8px;width:100%;padding:8px 11px;border:1px solid var(--hair,#e5dcc9);border-radius:8px;background:rgba(255,255,255,.72);font-family:inherit;font-size:13px;line-height:1.5;text-align:left;color:rgba(29,32,36,.82);cursor:pointer;transition:border-color .14s,background .14s}
.nd-quiz-o:hover:not(.is-right):not(.is-wrong){border-color:rgba(232,163,74,.55);background:#fff}
.nd-quiz-k{flex-shrink:0;width:17px;height:17px;border-radius:5px;background:rgba(29,32,36,.06);color:rgba(29,32,36,.55);font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center;font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace);margin-top:1px}
.nd-quiz-o.is-picked{border-color:rgba(232,163,74,.7);background:rgba(232,163,74,.1)}
.nd-quiz-o.is-picked .nd-quiz-k{background:var(--accent,#c9762f);color:#fff}
.nd-quiz-o.is-right{border-color:rgba(63,122,82,.6);background:rgba(104,158,120,.14)}
.nd-quiz-o.is-right .nd-quiz-k{background:#3f7a52;color:#fff}
.nd-quiz-o.is-wrong{border-color:rgba(216,90,48,.5);background:rgba(216,90,48,.09)}
.nd-quiz-o.is-wrong .nd-quiz-k{background:#993c1d;color:#fff}
.nd-quiz-why{margin:8px 0 0 26px;padding:9px 12px;border-left:2px solid rgba(232,163,74,.6);border-radius:0 6px 6px 0;background:rgba(255,250,242,.85);font-size:12.5px;line-height:1.7;color:rgba(29,32,36,.72)}
.nd-quiz-foot{display:flex;align-items:center;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(29,32,36,.07)}
.nd-quiz-check{padding:8px 20px;border:1px solid var(--accent,#c9762f);border-radius:8px;background:var(--accent,#c9762f);color:#fff;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .15s}
.nd-quiz-check:hover:not(:disabled){opacity:.88}
.nd-quiz-check:disabled{opacity:.5;cursor:default}
.nd-quiz-score{font-size:13px;font-weight:600;color:var(--accent,#c9762f);font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace)}
@media (max-width:640px){.nd-quiz{padding:16px 15px}.nd-quiz-opts,.nd-quiz-why{padding-left:0}.nd-quiz-q{padding-left:24px}}

/* ==== 微信号代码块 ==== */
.wx-id-code{text-align:center;padding:4px 0}
.wx-id-lab{font-size:11px;letter-spacing:.12em;color:rgba(29,32,36,.5);font-weight:700;margin-bottom:7px}
.wx-id-val{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 14px;border:1px dashed rgba(232,163,74,.55);border-radius:10px;background:rgba(255,250,242,.9);font-family:inherit;cursor:pointer;transition:border-color .15s,background .15s}
.wx-id-val:hover{border-color:var(--accent,#c9762f);background:#fff}
.wx-id-text{font-size:19px;font-weight:800;letter-spacing:.06em;color:var(--ink,#1d2024);font-family:var(--mono,ui-monospace,Menlo,Consolas,monospace);word-break:break-all;text-align:left}
.wx-id-copy{flex-shrink:0;padding:3px 10px;border-radius:6px;background:rgba(232,163,74,.18);color:var(--accent,#c9762f);font-size:11.5px;font-weight:700}
@media (max-width:640px){.wx-id-text{font-size:17px}}

/* ==== 微信好友链接按钮 ==== */
.wx-link-btn{display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid rgba(232,163,74,.55);border-radius:11px;background:linear-gradient(135deg,rgba(232,163,74,.14),rgba(104,158,120,.1));text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s,border-color .15s}
.wx-link-btn:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(29,32,36,.09);border-color:var(--accent,#c9762f)}
.wx-link-ico{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#07c160;color:#fff;font-size:18px;font-weight:500;display:flex;align-items:center;justify-content:center;line-height:1;margin-top:1px}
.wx-link-tx{display:flex;flex-direction:column;gap:2px;min-width:0;text-align:left}
.wx-link-t{font-size:15px;font-weight:700;color:#1d2024;letter-spacing:-.01em}
.wx-link-s{font-size:11.5px;color:rgba(29,32,36,.55);line-height:1.45}

/* ==== 学习落地页页头 ==== */
.lch-topbar{display:flex;align-items:center;gap:18px;padding:14px 0 18px;margin-bottom:8px;border-bottom:1px solid var(--hair,#e5dcc9)}
.lch-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit;flex-shrink:0}
.lch-brand-mark{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:var(--accent,#c9762f);color:#fff;font-size:16px;font-weight:800}
.lch-brand-tx{display:flex;flex-direction:column;font-size:13.5px;font-weight:700;line-height:1.2}
.lch-brand-tx em{font-size:9.5px;font-style:normal;font-weight:400;letter-spacing:.1em;opacity:.5}
.lch-nav{display:flex;align-items:center;gap:16px;flex:1;flex-wrap:wrap}
.lch-nav a{font-size:13px;color:rgba(29,32,36,.68);text-decoration:none;padding:5px 2px;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.lch-nav a:hover{color:var(--accent,#c9762f)}
.lch-nav a.is-on{color:var(--accent,#c9762f);border-bottom-color:var(--accent,#c9762f);font-weight:600}
.lch-back{font-size:12.5px;color:rgba(29,32,36,.55);text-decoration:none;padding:6px 14px;border:1px solid var(--hair,#e5dcc9);border-radius:99px;white-space:nowrap;transition:border-color .15s,color .15s}
.lch-back:hover{border-color:var(--accent,#c9762f);color:var(--accent,#c9762f)}
@media (max-width:760px){.lch-topbar{flex-wrap:wrap;gap:10px}.lch-nav{order:3;width:100%;gap:13px}.lch-back{margin-left:auto}}

@media (max-width:640px){.nd-series{padding:15px 14px}.nd-series-nav{grid-template-columns:1fr}.nd-series-btn.is-next{text-align:left}}

/* 落地页收藏态 */
.lch.is-faved{box-shadow:0 0 0 2px rgba(232,163,74,.35)}
.lch.is-faved .lch-n{color:var(--accent)}
.lch.is-faved::after{content:"★";position:absolute;top:8px;right:10px;font-size:13px;color:#e8a34a}