/* ============================================================================
 * 首页 v4（2026-11-15 去重重排）
 *
 * 改这一版的原因不是审美，是**入口数**：
 *   v3 首屏并排三个按钮（开始听写 / 练口算 / 做字帖），下面三张大卡各写一次
 *   「去听写 / 一键 20 道 / 做一张」，再下面的快捷入口又写一次「词语听写 /
 *   口算练习 / 生字字帖」。实测 /dictation 在首页出现 4 次，/copybook?from=home
 *   出现 3 次，「教材词表」还有两个不同落点（/library 与 /seo/）。
 *   一屏之内同一件事给三次，用户不知道点哪个，首页也被撑到四屏。
 *
 * v4 的骨架（对标同类学习工具首页的分层：一句主张 → 三件主功能 → 一组高频页
 * → 一份进度，越往后越轻）：
 *   hero         一个主张 + 一个「今日建议」CTA（去哪由"今天还没练什么"决定）
 *   tool-grid    三个工具各一次：图标 / 定位 / 今日进度 / 箭头
 *   icon-grid    6 格工具**内部**的高频页，与三宫格零重叠
 *   stats-strip  本周四格收成一条横条，整条进个人中心
 *   grid-note    词库规模一行说明（教材词表索引的落点说明，不另开入口）
 *
 * 去重后的入口账：/dictation 1、/arithmetic 3（主入口 + 错题 + 收藏）、
 * /copybook 3（主入口 + 英文 + 我的）、/seo/ 1、/lists 1、/me 1 —— 没有两个
 * 入口指向同一个 URL。
 *
 * 作用域仍是 `.nh-home`：删掉 index.html 里的那个 <link> 就退回 v3 视觉，
 * 不影响任何其他页面。圆角 24px / 蓝染阴影 / hero 天空蓝渐变是设计稿定稿值，
 * 按 tokens.json 的约定（渐变、阴影属复合值，就地定义）留在本文件。
 * ========================================================================== */

.nh-home {
  /* ---- 令牌别名层：设计稿名 → 工程名 ---- */
  --brand-500: var(--primary);
  --brand-600: var(--primary-hover);
  --brand-100: var(--primary-light);
  --brand-50: var(--primary-light);
  --accent-500: var(--reward);
  --accent-600: #FF8A1F;
  --accent-100: var(--reward-light, #FFF0DB);
  --accent-50: #FFF7ED;
  --text-1: var(--text-h1);
  --text-2: var(--text-body);
  --text-3: var(--text-aux);
  --card: var(--bg-card);
  /* ---- 设计稿定稿值 ---- */
  --radius-l: 24px;
  --radius-m: 16px;
  --shadow-1: var(--shadow-card);
  --shadow-2: 0 6px 20px rgba(46, 127, 242, .07);
  --shadow-3: 0 10px 28px rgba(46, 127, 242, .10);
  --hero-grad: linear-gradient(180deg, #5FA8F8 0%, #8FC0F9 46%, #DCEBFD 100%);
  /* 三个工具各自的主色（只用于图标与胶囊文字，填充色另算） */
  --tool-dict: var(--primary);
  --tool-arith: var(--reward-text, #B26E22);
  --tool-copy: var(--success-text);
}

/* ============================================================ Hero
   hero 外框 = var(--shell) = 1200（与 .shell 完全重合），内距 24 →
   内容左沿与页头品牌、卡片、信任带、页脚同一条竖线（见 test_shell_unify ⑤）。 */
.nh-home .nh-hero {
  position: relative; background: var(--hero-grad);
  max-width: var(--shell); margin: 0 auto;
  padding: 18px var(--shell-pad) 22px;
  border-radius: 24px;
  overflow: hidden;
}
.nh-home .hero-ip {
  position: absolute; right: 2px; bottom: 0; width: 118px; z-index: 0;
  pointer-events: none; filter: drop-shadow(0 10px 18px rgba(31, 106, 224, .18));
}
.nh-home .hero-ip img { width: 100%; display: block; }

.nh-home .hero-top {
  display: flex; align-items: center; gap: 10px;
  position: relative; z-index: 2; min-height: 28px;
}
.nh-home .hero-kicker {
  font-size: var(--font-xs); font-weight: 700; letter-spacing: .12em;
  color: var(--text-on-primary); opacity: .9;
  text-shadow: 0 1px 4px rgba(31, 106, 224, .28);
}
.nh-home .hero-days {
  margin-left: auto; background: rgba(255, 255, 255, .92); color: var(--brand-600);
  font-size: var(--font-xs); font-weight: 700; padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow-1); display: flex; align-items: center; gap: 4px;
}
.nh-home .hero-days[hidden] { display: none; }

.nh-home .hero-slogan { margin-top: 10px; position: relative; z-index: 2; }
.nh-home .hero-slogan h1 {
  font-size: 26px; font-weight: 800; color: #fff; letter-spacing: .5px;
  line-height: 1.28; text-shadow: 0 2px 8px rgba(31, 106, 224, .28);
  margin: 0;
}
/* 副标题给恐龙头让位：390px 下恐龙占右侧 118px，不留白会被压掉半句 */
.nh-home .hero-lead {
  font-size: var(--font-sm); line-height: 1.6; margin: 8px 0 0;
  color: rgba(255, 255, 255, .95); padding-right: 104px;
  text-shadow: 0 1px 4px rgba(31, 106, 224, .25);
}
.nh-home .hero-stat {
  font-size: var(--font-xs); margin: 6px 0 0; padding-right: 104px;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 4px rgba(31, 106, 224, .25);
}

/* 首屏唯一的主行动。
   它是白底蓝字而不是蓝底白字：压在天蓝渐变上，蓝对蓝几乎看不出边界；
   白底在渐变最亮的一段（#A9CEFB）上也仍然是全场对比最高的一块。
   旁边那行灰白小字（.hero-why）说明"为什么推荐这个" —— 只给结果不给依据，
   推荐就变成了瞎猜，用户第二次就不信了。 */
.nh-home .hero-acts {
  position: relative; z-index: 2;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  margin-top: 16px;
}
.nh-home .hero-act {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  background: #fff; color: var(--brand-600);
  font-size: var(--font-sm); font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 16px rgba(31, 106, 224, .22);
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s, box-shadow .15s;
}
.nh-home .hero-act .ico { flex: none; }
.nh-home .hero-act:active { transform: scale(.97); }
/* 说明文字右侧留 104px —— 与 .hero-lead 同一口径，给右下角的恐龙让位。
   这份留白同时是换行的推手：手机 330px 的内容区里，按钮(160) + 间距(12) +
   这行(154+104) 放不下，它自动掉到按钮下一行独处，不会再压到恐龙身上。 */
.nh-home .hero-why {
  flex: 1 1 auto; min-width: 0; padding-right: 104px;
  font-size: var(--font-xs); line-height: 1.5;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 1px 4px rgba(31, 106, 224, .3);
}
@media (hover: hover) {
  .nh-home .hero-act:hover { box-shadow: 0 10px 22px rgba(31, 106, 224, .28); transform: translateY(-1px); }
}

/* ============================================================ 三宫格
   一张卡只回答两件事：这是什么工具、我今天练到哪。
   v3 的卡里塞了三行功能列表，与下面的 icon-grid 讲的是同一批能力 ——
   同一份信息说两遍，卡就从 118px 涨到 210px。 */
.nh-home .tool-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.nh-home .tool-card {
  display: grid; min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon name tag"
    "desc desc desc"
    "foot foot foot";
  column-gap: 12px; row-gap: 8px;
  padding: 14px 14px 12px;
  border-radius: var(--radius-l);
  text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.nh-home .tool-card:active { transform: scale(.995); }
@media (hover: hover) {
  .nh-home .tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
}
/* 三色浅底：样图的三宫格就是靠底色区分工具的（蓝 / 蓝 / 橙），
   比三张同色白卡更容易"一眼数清有三个"。渐变只到 150°，避免大面积纯色块。 */
.nh-home .tool-card.tone-dict { background: linear-gradient(150deg, #EDF4FE 0%, #DCEBFD 100%); }
.nh-home .tool-card.tone-arith { background: linear-gradient(150deg, #FFF7EC 0%, #FFEAD0 100%); }
.nh-home .tool-card.tone-copy { background: linear-gradient(150deg, #ECF9F2 0%, #D8F0E3 100%); }

.nh-home .tc-icon {
  grid-area: icon; width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(31, 106, 224, .10);
}
.nh-home .tone-dict .tc-icon { color: var(--tool-dict); }
.nh-home .tone-arith .tc-icon { color: var(--tool-arith); }
.nh-home .tone-copy .tc-icon { color: var(--tool-copy); }

.nh-home .tc-name {
  grid-area: name; align-self: center; min-width: 0;
  font-size: var(--font-title); font-weight: 800; color: var(--text-1);
  line-height: 1.2;
}
.nh-home .tc-tag {
  grid-area: tag; align-self: center;
  font-size: 10.5px; font-weight: 700; color: var(--text-3);
  background: rgba(255, 255, 255, .72); border-radius: 999px;
  padding: 3px 8px; white-space: nowrap;
}
.nh-home .tc-desc {
  grid-area: desc; margin: 0;
  font-size: var(--font-xs); line-height: 1.6; color: var(--text-2);
}
.nh-home .tc-foot {
  grid-area: foot;
  display: flex; align-items: center; gap: 10px;
  padding-top: 10px; border-top: 1px solid rgba(31, 106, 224, .10);
}
.nh-home .tc-stat {
  font-size: var(--font-xs); color: var(--text-3); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nh-home .tc-go {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 2px;
  padding: 5px 8px 5px 12px; border-radius: 999px;
  background: #fff; font-size: var(--font-xs); font-weight: 800;
  box-shadow: 0 2px 6px rgba(31, 106, 224, .10);
}
.nh-home .tone-dict .tc-go { color: var(--tool-dict); }
.nh-home .tone-arith .tc-go { color: var(--tool-arith); }
.nh-home .tone-copy .tc-go { color: var(--tool-copy); }

/* ============================================================ 常用工具（图标网格）
   6 格，只放工具内部的高频页。上一版是 3 组 × 3 行的分组列表，
   组标题（听写/口算/字帖）与上面的三宫格重复一遍，整块 460px。 */
.nh-home .icon-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  background: var(--card); border-radius: var(--radius-l);
  box-shadow: var(--shadow-2); padding: 18px 8px 14px;
}
.nh-home .ig-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 2px 8px; border-radius: var(--radius-m);
  text-decoration: none; color: inherit; text-align: center; min-width: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s;
}
.nh-home .ig-item:active { background: var(--brand-50); }
@media (hover: hover) { .nh-home .ig-item:hover { background: var(--brand-50); } }
.nh-home .ig-ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; flex: none;
}
.nh-home .ig-ico.tone-dict { background: var(--brand-50); color: var(--tool-dict); }
.nh-home .ig-ico.tone-arith { background: var(--accent-50); color: var(--tool-arith); }
.nh-home .ig-ico.tone-copy { background: var(--success-bg); color: var(--tool-copy); }
.nh-home .ig-item b {
  font-size: var(--font-xs); font-weight: 700; color: var(--text-1);
  line-height: 1.25; overflow-wrap: anywhere;
}
.nh-home .ig-item i {
  font-style: normal; font-size: 10.5px; color: var(--text-3);
  line-height: 1.2; overflow-wrap: anywhere;
}

/* 词库规模说明：教材词表索引（/seo/）的落点说明。
   它是文字不是入口 —— 入口在上面的网格里，同一个落点放两个可点块就是又一轮重复。 */
.nh-home .grid-note {
  margin: 8px 4px 0; font-size: var(--font-xs); line-height: 1.75; color: var(--text-3);
}

/* ============================================================ 本周学习（一条）
   v3 是「四格 + 一条蓝色 CTA『小龙陪你：查看学习报告』」，那张 CTA 与页头
   「个人中心」、与卡片自己的可点区域是三次重复引导。现在整条可点，右边一个箭头。 */
.nh-home .stats-strip {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head go"
    "grid grid";
  gap: 10px 12px;
  margin-top: 12px; padding: 14px 16px;
  background: var(--card); border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  text-decoration: none; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.nh-home .ss-head {
  grid-area: head; display: flex; align-items: center; gap: 7px; min-width: 0;
  font-size: var(--font-h1); font-weight: 700; color: var(--text-1);
}
.nh-home .ss-head .live {
  width: 7px; height: 7px; border-radius: 99px; background: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); flex: none;
}
.nh-home .ss-week {
  margin-left: auto; font-size: var(--font-xs); font-weight: 400; color: var(--text-3);
  font-variant-numeric: tabular-nums; padding-left: 8px;
}
.nh-home .ss-go {
  grid-area: go; width: 28px; height: 28px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
}
.nh-home .ss-grid {
  grid-area: grid;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.nh-home .ss-grid .stat { text-align: center; min-width: 0; }
.nh-home .ss-grid .stat b {
  display: block; font-size: var(--font-lg); font-weight: 800;
  color: var(--brand-500); line-height: 1.15; overflow-wrap: anywhere;
}
.nh-home .ss-grid .stat span {
  display: block; margin-top: 3px; font-size: 10.5px; color: var(--text-3);
}

.nh-home .sec-head {
  display: flex; align-items: baseline; gap: 8px;
  margin: 20px 0 12px;
}
.nh-home .sec-head b { font-size: var(--font-h1); font-weight: 800; color: var(--text-1); }
.nh-home .sec-head span { font-size: var(--font-xs); color: var(--text-3); }

/* ============================================================ 首页主体
   外层 .container 已提供 --shell-pad 的水平留白（见 styles.css 宽度基线），
   这里再补就变成 208 —— 比页头多出 24px，正是"头部比内容宽"的来源。
   所以本层只留纵向内距，水平方向交给 .container 一处管理。 */
.nh-home .nh-body { padding: 20px 0 0; max-width: var(--shell); margin: 0 auto; }

/* ============================================================ 首页底部的两段间距
   2026-11-14 实拍（390 / 1440 两档都量过）：
     「本周学习」卡底 → 信任带顶  = 108px（桌面）/ 84px（手机）
     信任带底 → 页脚那条分割线    = 0px
   上下差了一个数量级，看起来像两页拼在一起。三个来源叠在统计卡底下：
     .container 的 padding-bottom 40（≥1024）/ 20（手机）—— 全站通用，不动；
     .nh-body 的 padding-bottom 44 —— v2 时期"给页脚留呼吸"的遗留；
     .trust-strip 的 margin-top 24 —— 只在首页出现的一块。
   前两项在首页收掉，整段间距统一交给信任带的上下 margin（桌面 32 / 手机 24），
   于是「本周学习 → 信任带」和「信任带 → 页脚」是同一个数。
   注意 .container 的规则是 `padding: 24px … 40px` 简写、特异性 0,1,0，
   这里用 body.is-home 抬到 0,2,1 才压得住；is-home 只在 pageHome 为 true。 */
body.is-home .container { padding-bottom: 0; }
body.is-home .trust-strip { margin: 24px auto; }

/* hero 只在本域首页显示（与外层 .nh-home-bar 同源机制） */
.nh-home-bar { display: none; padding: 0 var(--shell-pad); }
body.is-home .nh-home-bar { display: block; }

/* 首页底色：工程 --bg-page 是暖米色，与天蓝 hero 撞成「白 / 蓝 / 米」三段。
   设计稿定的是浅蓝，与 hero 渐变末端自然衔接。只在首页生效，暗色不受影响。 */
body.is-home:not(.dark) { background: #F2F7FD; }
body.is-home:not(.dark) .site-header { background: rgba(255, 255, 255, .86); }

/* ---- 暗色 ----
   ① 品牌蓝当"正文色"用时不够亮：--brand-500/600 在亮色是 #2E7FF2 / #1F6AE0，
      压在深色卡（#1E1916）上只有 2.4~2.6:1，四格大数字会糊成一片。
      tokens.css 里没有"暗底上的品牌字"这一档，本文件就地给一支亮蓝。
   ② 三宫格的三色浅底在暗色下会变成三块发光板 —— 统一回卡片底色，
      颜色只剩在图标和胶囊文字上，靠色相而不是明度区分工具。 */
.dark .nh-home .ss-grid .stat b { color: #7FB2FF; }
.dark .nh-home .tool-card { background: var(--bg-card); }
.dark .nh-home .tc-icon { background: rgba(255, 255, 255, .07); }
.dark .nh-home .tc-tag { background: rgba(255, 255, 255, .08); }
.dark .nh-home .tc-foot { border-top-color: rgba(255, 255, 255, .08); }
.dark .nh-home .tc-go { background: rgba(255, 255, 255, .10); box-shadow: none; }
.dark .nh-home .tone-dict .tc-go { color: #7FB2FF; }
.dark .nh-home .tone-arith .tc-go { color: #F2B76B; }
.dark .nh-home .tone-copy .tc-go { color: #6FD8A0; }
.dark .nh-home .ss-go { background: rgba(255, 255, 255, .10); color: #7FB2FF; }

/* 页头品牌图标用 v1.5 品牌标 logo-mark-96.png（尺寸/圆角/白底在 styles.css 的 .site-header .brand-mark） */
.site-header .brand-mark-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================ 断点
   本仓的宽度断点序列是冻结基线（test_web_tokens 判据⑬），
   同一段样式里只开一个 768 块，不要再加第二档。 */
@media (min-width: 768px) {
  .nh-home .nh-hero { padding: 30px var(--shell-pad) 34px; }
  .nh-home .hero-slogan { margin-top: 14px; }
  .nh-home .hero-slogan h1 { font-size: 38px; }
  .nh-home .hero-lead { font-size: var(--font-body); max-width: 560px; padding-right: 0; }
  .nh-home .hero-stat { font-size: var(--font-sm); padding-right: 0; }
  .nh-home .hero-ip { width: 200px; right: 24px; bottom: 0; }
  .nh-home .hero-acts { margin-top: 22px; gap: 14px; }
  .nh-home .hero-act { min-height: 46px; padding: 0 24px; font-size: var(--font-body); }
  /* 桌面上按钮与说明同行，右侧没有恐龙，留白归零 */
  .nh-home .hero-why { padding-right: 0; }

  .nh-home .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .nh-home .tool-card { padding: 18px 18px 14px; }
  .nh-home .tc-icon { width: 46px; height: 46px; border-radius: 14px; }
  /* 三张卡并排时描述有的一行有的两行，下面那条进度行就会错位 ——
     撑到固定两行高，三卡的进度与胶囊才落在同一条水平线上。 */
  .nh-home .tc-desc { min-height: calc(2 * 1.6em); }

  .nh-home .icon-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 14px 12px; }
  .nh-home .ig-item { padding: 12px 4px 10px; }

  .nh-home .stats-strip {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "head grid go";
    gap: 24px; padding: 16px 20px; margin-top: 16px;
  }
  /* 桌面正文宽，同样的间距看着比手机松，所以抬到 32（手机保持 24） */
  body.is-home .trust-strip { margin: 32px auto; }
  /* 桌面把四格摊成一行「数字 + 标签」，比四块居中小方块更像一条统计 */
  .nh-home .ss-grid .stat { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
  .nh-home .ss-grid .stat span { margin-top: 0; font-size: var(--font-xs); }
  .nh-home .ss-grid .stat b { font-size: var(--font-title); }
}

/* 今日三样进度（2026-11-14）：紧跟 CTA 单独一行，
   比再开一张卡省一屏 —— "今天还差哪样"不值得占一块版面。 */
.nh-home .hero-today {
  flex: 1 1 100%;
  font-size: var(--font-xs);
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  text-shadow: 0 1px 4px rgba(31, 106, 224, .3);
}
.nh-home .hero-today.is-all { color: #fff; font-weight: 600; }



/* ============================================================ v1.3 风格迁移层（2026-11-15）
   依据 docs/ui-design/DESIGN-SPEC.md §12 与 home-preview.html。
   只在首页亮色生效：body.is-home:not(.dark) 前缀保证暗色模式、其余 8 个视图零影响。
   不搬 DOM：12 个真透明 3D 学习素材用 CSS 背景叠在既有节点上，既有 SVG 用 opacity 隐去；
   id / class / data-call / href 与所有 JS 绑定逐字未动。
   素材由 tmp/ui_v13_engine_assets.py 生成（--verify 可逐字节重算）。
   口径调整见 2026-11-15 工作区日志：WXSS 不支持本地背景图，故只有 Web 端能用此手法。 */

/* 12.2 放射光 + 漩涡光环 Banner */
body.is-home:not(.dark) .nh-home .nh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 8deg at 76% 24%,
    rgba(255,255,255,.17) 0deg 7deg, rgba(255,255,255,0) 7deg 21deg);
  -webkit-mask-image: radial-gradient(circle at 76% 24%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 76% 24%, #000 0%, transparent 62%);
}
body.is-home:not(.dark) .nh-home .nh-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -46px; top: -64px; width: 236px; height: 236px; border-radius: 50%;
  border: 18px solid rgba(255,255,255,.14);
  background: radial-gradient(circle, rgba(255,255,255,.42) 0%, rgba(255,255,255,.12) 46%, rgba(255,255,255,0) 72%);
}

/* 学习伙伴小龙：沿用 hero-ip 的既有定位，只换素材与尺寸（无教鞭/博士帽/人物） */
body.is-home:not(.dark) .nh-home .hero-ip {
  width: 168px; height: 168px; right: -14px; bottom: -18px; z-index: 1;
  background: url("/static/img/v13/dino-study.webp") no-repeat center / contain;
  filter: drop-shadow(0 10px 18px rgba(31,106,224,.22));
}
body.is-home:not(.dark) .nh-home .hero-ip img { display: none; }
/* v1.4（2026-11-15）：小龙在手机端占右侧 168px，文案相应让位；
   PC 端单独放大到 224px —— 此前 v1.3 层特异性高于 768px 基础层，
   桌面也被压成 132px，1280px 宽的 Banner 里显得很小、比例不协调。 */
body.is-home:not(.dark) .nh-home .hero-lead,
body.is-home:not(.dark) .nh-home .hero-stat { padding-right: 118px; }
@media (min-width: 768px) {
  body.is-home:not(.dark) .nh-home .hero-ip {
    width: 224px; height: 224px; right: 16px; bottom: -14px;
  }
  body.is-home:not(.dark) .nh-home .hero-lead,
  body.is-home:not(.dark) .nh-home .hero-stat { padding-right: 0; }
}
/* v1.5（2026-11-15）：手机端收紧字号与字距让整句尽量单行；balance 兜底，
   既消除「用」孤字成行，也避免把「字帖」从中间拆开。暗色同样生效，PC 不受影响。 */
@media (max-width: 767px) {
  .nh-home .hero-slogan h1 { font-size: 24px; letter-spacing: 0; text-wrap: balance; }
}

/* 首屏 CTA：刻意保留白底蓝字。home-v2.css 原有注释已论证「蓝底压在天蓝渐变上
   几乎看不出边界」——参考图的蓝色胶囊 CTA 是压在浅色区域上的，这里只加强投影。 */
body.is-home:not(.dark) .nh-home .hero-act.hero-act-main {
  box-shadow: 0 8px 22px rgba(31,106,224,.34), inset 0 0 0 2px rgba(255,255,255,.92);
}

/* 12.2 三张彩色渐变功能卡 + 立体图标 */
body.is-home:not(.dark) .nh-home .tool-card.tone-dict { background: linear-gradient(150deg,#EAF3FE 0%,#D5E7FD 100%); }
body.is-home:not(.dark) .nh-home .tool-card.tone-arith { background: linear-gradient(150deg,#FFF3DE 0%,#FFE2B4 100%); }
body.is-home:not(.dark) .nh-home .tool-card.tone-copy { background: linear-gradient(150deg,#E3F7F1 0%,#CDEBEF 100%); }
body.is-home:not(.dark) .nh-home .tool-card { grid-template-columns: 50px minmax(0,1fr) auto; }
body.is-home:not(.dark) .nh-home .tc-icon {
  width: 50px; height: 50px;
  background-color: rgba(255,255,255,.62);
  background-repeat: no-repeat; background-position: center; background-size: 44px 44px;
  box-shadow: 0 4px 12px rgba(31,106,224,.14);
}
body.is-home:not(.dark) .nh-home .tone-dict .tc-icon { background-image: url("/static/img/v13/tool-01-dictation.webp"); }
body.is-home:not(.dark) .nh-home .tone-arith .tc-icon { background-image: url("/static/img/v13/tool-06-report.webp"); }
body.is-home:not(.dark) .nh-home .tone-copy .tc-icon { background-image: url("/static/img/v13/tool-04-copybook.webp"); }
body.is-home:not(.dark) .nh-home .tc-icon .ico { opacity: 0; }

/* 12.2 3D 立体图标网格：工程实际只有 6 个真实入口，不虚构第 7~9 个 */
body.is-home:not(.dark) .nh-home .ig-ico {
  background-color: rgba(255,255,255,.74);
  background-repeat: no-repeat; background-position: center; background-size: 38px 38px;
  box-shadow: 0 3px 10px rgba(31,106,224,.12);
}
body.is-home:not(.dark) .nh-home .ig-ico .ico { opacity: 0; }
body.is-home:not(.dark) .nh-home .ig-item:nth-child(1) .ig-ico { background-image: url("/static/img/v13/tool-07-mylist.webp"); }
body.is-home:not(.dark) .nh-home .ig-item:nth-child(2) .ig-ico { background-image: url("/static/img/v13/tool-02-library.webp"); }
body.is-home:not(.dark) .nh-home .ig-item:nth-child(3) .ig-ico { background-image: url("/static/img/v13/tool-03-review.webp"); }
body.is-home:not(.dark) .nh-home .ig-item:nth-child(4) .ig-ico { background-image: url("/static/img/v13/tool-08-checkin.webp"); }
body.is-home:not(.dark) .nh-home .ig-item:nth-child(5) .ig-ico { background-image: url("/static/img/v13/tool-04-copybook.webp"); }
body.is-home:not(.dark) .nh-home .ig-item:nth-child(6) .ig-ico { background-image: url("/static/img/v13/tool-05-newword.webp"); }

/* 12.2 「今日学习计划」的视觉语言落到既有的「本周学习」条上：
   只换渐变底 / 蓝色 CTA 箭头，不新增任何假数据或新卡片。
   2026-11-16：删掉右上的 vip-badge 装饰——它压在右侧箭头上，
   且「VIP 徽章」与这条真实学习数据无关，纯噪音。 */
body.is-home:not(.dark) .nh-home .stats-strip {
  background: linear-gradient(115deg,#EEF5FF 0%,#F8FBFF 58%,#FFF6E6 100%);
  border: 1px solid rgba(47,127,242,.12);
  box-shadow: 0 8px 24px rgba(31,106,224,.10);
}
body.is-home:not(.dark) .nh-home .ss-go {
  background: var(--brand-600); color: #fff;
}
/* 2026-11-16：删除 grid-note 右侧的 study-cluster 装饰图（Boss 反馈纯多余）。
   说明行恢复为纯文字，不占位、不撑高，也不再为装饰留 68px 右内边距。 */
