/* 皆易 AI · 样式表（S4 设计系统 · 2026-09-22 定案）
   唯一设计源：tools/samples/sample-s4.html 的 <style>——本文件是它的全站实现。
   设计语言：暖白 #FAF9F6 + 墨绿 #2F5D50 + 衬线刊题（只用于标题层）× 工具台骨架（常驻侧栏 + 搜索主角）。
   字体：衬线走自托管 Noto Serif SC 子集（Google Fonts 大陆被墙，不引外部字体）；正文用系统无衬线。 */

@font-face {
  font-family: 'Noto Serif SC';
  src: url('/assets/fonts/noto-serif-sc-vf.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAF9F6;
  --panel: #FFFFFF;
  --ink: #22252A;
  --ink2: #545A63;
  --muted: #767D76;
  --line: #EAE7E0;
  --line2: #F1EFE9;
  --accent: #2F5D50;
  --accent-soft: rgba(47, 93, 80, .08);
  --accent-line: rgba(47, 93, 80, .3);
  --accent-deep: #27493F;
  --death: #A4553D;
  --amber: #B07A2B;
  --sh: 0 1px 2px rgba(32, 35, 30, .04);
  --sh-h: 0 10px 26px rgba(32, 35, 30, .08);
  --serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC',
          'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum";
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- 顶栏（少数派式清爽） ---------- */
.site-header {
  height: 60px;
  background: rgba(250, 249, 246, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
}
.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #FAF9F6;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand em { font-style: normal; color: var(--accent); }

.nav-main { display: flex; gap: 26px; font-size: 14px; color: var(--ink2); }
.nav-main a { padding: 4px 0; border-bottom: 1.5px solid transparent; transition: color .15s ease; }
.nav-main a:hover { color: var(--ink); }
.nav-main a.on { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--accent); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.nav-right {
  font-size: 13.5px;
  color: #FAF9F6;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 8px 16px;
  background: var(--accent);
  transition: background .18s ease;
  white-space: nowrap;
}
.nav-right:hover { background: var(--accent-deep); color: #FAF9F6; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

/* 顶栏搜索（非首页；首页用主区大搜索框） */
.searchbox { position: relative; }
.side-search { display: none; margin-bottom: 14px; }
.side-search .sr-results { width: 100%; left: 0; right: 0; }
.searchbox input {
  width: 210px;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, width .2s ease;
}
.searchbox input::placeholder { color: var(--muted); }
.searchbox input:focus {
  border-color: rgba(47, 93, 80, .45);
  box-shadow: 0 0 0 4px var(--accent-soft);
  width: 250px;
}
.searchbox .ico {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.home .site-header .searchbox { display: none; }

/* 搜索下拉结果 */
.sr-results {
  position: absolute;
  top: 44px;
  right: 0;
  width: 380px;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--sh-h);
  padding: 6px;
  display: none;
  z-index: 60;
}
.sr-results.on { display: block; }
.sr-item { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; transition: background .15s ease; }
.sr-item:hover { background: var(--line2); }
.sr-item img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: var(--panel); border: 1px solid var(--line2); }
.sr-item .t { font-family: var(--serif); font-size: 14px; font-weight: 700; }
.sr-item .d { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.sr-empty { padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- 工具台骨架：常驻侧栏 + 主区 ---------- */
.layout {
  display: grid;
  grid-template-columns: 252px 1fr;
  max-width: 1320px;
  margin: 0 auto;
}
.side {
  border-right: 1px solid var(--line);
  padding: 26px 18px 60px;
  background: rgba(255, 255, 255, .5);
  min-height: calc(100vh - 60px);
}
.side-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  padding: 0 10px;
  margin: 18px 0 8px;
}
.side-label:first-child { margin-top: 0; }
.side a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink2);
  border: 1px solid transparent;
  transition: all .15s ease;
}
.side a:hover { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.side a.cur {
  background: #fff;
  color: var(--accent);
  font-weight: 500;
  box-shadow: var(--sh);
  border: 1px solid var(--line2);
}
.side a:not(.grp) { padding-left: 24px; }
.side a span { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.side .grp {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--ink);
  font-size: 15px;
  padding: 8px 10px;
}
.side .grp span { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: 12px; }

main { padding: 30px 40px 70px; min-width: 0; }
main h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .01em;
  margin: 0 0 18px;
}

/* ---------- 搜索主角 ---------- */
.search {
  position: relative; /* 候选下拉的定位锚点：缺这行 .sr-results 会飘到页面顶部 */
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--sh);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.search:focus-within {
  border-color: rgba(47, 93, 80, .45);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--sh);
}
.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  min-width: 0;
}
.search input::placeholder { color: var(--muted); }
.search button {
  background: var(--accent);
  color: #FAF9F6;
  border: 0;
  border-radius: 9px;
  padding: 11px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  flex: none;
  transition: transform .15s ease, background .18s ease;
}
.search button:hover { background: var(--accent-deep); }
.search button:active { transform: scale(.98); }
.search .sr-results { top: 58px; left: 0; right: 0; width: auto; text-align: left; }

/* ---------- 今日快讯条（编辑感） ---------- */
.newsbar {
  margin: 18px 0 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 18px;
  box-shadow: var(--sh);
}
.newsbar .lab {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.newsbar .items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.newsbar .it {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
}
.newsbar .t { font-family: var(--serif); font-size: 14px; font-weight: 700; line-height: 1.5; margin-bottom: 4px; }
.newsbar .src { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 6px; }

/* ---------- 区块标题（衬线刊题 + 英文小注） ---------- */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 16px;
}
.sec-head h2 { font-family: var(--serif); font-size: 20px; font-weight: 900; margin: 0; }
.sec-head h2 small {
  font-family: var(--serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--muted);
  margin-left: 10px;
}
.sec-head a, .sec-head .more { font-size: 13px; color: var(--muted); }
.sec-head a:hover { color: var(--accent); }

/* ---------- 产品卡 ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 34px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-products.g3 { grid-template-columns: repeat(3, 1fr); }

.pcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--sh);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  height: 100%;
}
.pcard:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--sh-h);
}
.logo-box {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: var(--sh);
  overflow: hidden;
}
.logo-box img { width: 30px; height: 30px; object-fit: contain; filter: saturate(.92); }
.logo-box.lg { width: 76px; height: 76px; border-radius: 18px; }
.logo-box.lg img { width: 44px; height: 44px; }
.logo-box .plogo-txt {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  background: var(--accent-soft);
  color: var(--accent);
}
.logo-box.lg .plogo-txt { font-size: 30px; }

.pcard h3 { font-family: var(--serif); font-size: 17px; font-weight: 900; margin: 0; line-height: 1.35; }
.pcard .cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  color: var(--ink2);
  background: rgba(34, 37, 42, .06);
  padding: 2px 9px;
  border-radius: 5px;
  margin: 4px 0 6px;
}
.pcard p { font-size: 12.5px; color: var(--ink2); line-height: 1.65; margin: 0; }
.pcard .tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; padding-top: 2px; }
.tag { font-size: 11px; color: var(--muted); background: var(--line2); padding: 2px 7px; border-radius: 5px; }
.pcard .ell { color: var(--muted); }

/* ---------- 列表（最近收录 / 赛道内分类） ---------- */
.list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh);
  overflow: hidden;
  margin-bottom: 34px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-top: 1px solid var(--line2);
  font-size: 13.5px;
  transition: background .15s ease;
}
.row:first-child { border-top: 0; }
.row:hover { background: #FCFBF8; }
.row .n { font-family: var(--serif); font-weight: 700; font-size: 14.5px; flex: none; }
.row .d {
  color: var(--muted);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row .c { margin-left: auto; color: var(--muted); font-size: 11.5px; flex: none; }

/* ---------- 面包屑 / 分页 ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 2px 0 16px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 7px; color: var(--line); }
.crumbs .cur { color: var(--ink2); }

.pager { display: flex; gap: 6px; justify-content: center; margin: 34px 0 0; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--ink2);
  background: var(--panel);
  transition: border-color .15s ease, color .15s ease;
}
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .cur { background: var(--accent); border-color: var(--accent); color: #FAF9F6; font-weight: 600; }
.pager .gap { border: none; background: none; color: var(--muted); }

/* ---------- 分类页 ---------- */
.cat-head { padding: 6px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.cat-head h1 { margin: 0 0 8px; }
.cat-head .lede { margin: 0; color: var(--ink2); max-width: 720px; font-size: 14.5px; text-wrap: pretty; }
.cat-head .meta { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- 产品详情 ---------- */
.pd-head { padding: 6px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pd-top { display: flex; gap: 20px; align-items: flex-start; }
.pd-title h1 { margin: 0 0 6px; }
.pd-title .cat { font-size: 13px; color: var(--muted); }
.pd-title .cat a:hover { color: var(--accent); }
.pd-cta { margin-left: auto; flex: none; display: flex; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  transition: all .16s ease;
  cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #FAF9F6;
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #FAF9F6; }

.pd-body { display: grid; grid-template-columns: 1fr 300px; gap: 34px; padding: 4px 0 20px; align-items: start; }
.pd-desc { font-size: 15.5px; line-height: 1.85; color: var(--ink2); }
.pd-desc p { margin: 0 0 16px; }
.pd-facts {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--sh);
}
.pd-facts h3 { font-family: var(--serif); margin: 0 0 12px; font-size: 15px; font-weight: 900; }
.pd-facts dl { margin: 0; display: grid; grid-template-columns: 74px 1fr; gap: 9px 12px; font-size: 13.5px; }
.pd-facts dt { color: var(--muted); }
.pd-facts dd { margin: 0; word-break: break-all; }
.pd-facts dd a { color: var(--accent); }

/* ---------- 静态页 / 快讯 ---------- */
.doc { max-width: 760px; padding: 0 0 40px; }
.doc h1 { margin: 0 0 18px; }
.doc h2 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--ink2); }
.doc h1 + p { font-size: 15.5px; }

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--sh);
}
.news-card h3 { font-family: var(--serif); margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.news-card p { margin: 0 0 8px; color: var(--ink2); font-size: 14px; }
.news-card .src { font-size: 12.5px; color: var(--muted); }

.news-strip { display: grid; gap: 10px; max-width: 820px; margin-bottom: 34px; }
.news-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
  box-shadow: var(--sh);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.news-item:hover { border-color: var(--accent-line); box-shadow: var(--sh-h); }
.news-item .date { font-size: 12.5px; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.news-item .ttl { font-family: var(--serif); font-size: 14.5px; font-weight: 700; }
.news-item .src { margin-left: auto; font-size: 12px; color: var(--muted); flex: none; }

.chip {
  font-size: 12.5px;
  color: var(--ink2);
  background: var(--line2);
  padding: 3px 9px;
  border-radius: 20px;
  transition: background .15s ease, color .15s ease;
}
.chip:hover { background: var(--accent-soft); color: var(--accent); }

.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
}
.site-footer .wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.foot-links { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--accent); }
.site-footer .r a:hover { color: var(--accent); }

/* ---------- 动效：区块滚动淡入（JS 加 .in；无 JS 全部可见） ---------- */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pcard, .news-item, .search button { transition: none; }
}

/* ---------- 移动端：侧栏收进抽屉 ---------- */
.side-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(32, 35, 30, .3);
  z-index: 55;
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .side {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 272px;
    overflow-y: auto;
    background: var(--bg);
    z-index: 60;
    transform: translateX(-100%);
    transition: transform .22s ease;
  }
  body.side-open .side { transform: none; box-shadow: var(--sh-h); }
  body.side-open .side-backdrop { display: block; }
  .burger { display: inline-flex; }
  .grid, .grid-products, .grid-products.g3, .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .pd-body { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .site-header { gap: 16px; padding: 0 16px; }
  .nav-main { gap: 16px; }
  .grid, .grid-products, .grid-products.g3, .grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .newsbar .items { grid-template-columns: 1fr; gap: 12px; }
  .pd-top { flex-wrap: wrap; }
  .pd-cta { margin-left: 0; }
}
@media (max-width: 640px) {
  main { padding: 22px 16px 50px; }
  /* 顶栏收纳：三个导航项不许竖折（2026-09-26 生死簿上导航后 390/375 挤压折行修复） */
  .site-header { gap: 10px; padding: 0 12px; }
  .nav-main { gap: 10px; font-size: 12px; }
  .nav-main a { white-space: nowrap; }
  .nav-right { padding: 6px 10px; font-size: 12px; }
  /* 375 极限：品牌只留字块，正文不折行仍保三导航 */
  @media (max-width: 400px) {
    .site-header { gap: 8px; padding: 0 10px; }
    .brand { font-size: 0; }
    .brand .mark { font-size: 15px; }
    .nav-main { gap: 8px; font-size: 11.5px; }
    .nav-right { padding: 5px 8px; font-size: 11.5px; }
  }
  .grid, .grid-products { gap: 10px; }
  .pcard { padding: 16px 14px; gap: 10px; }
  .logo-box { width: 44px; height: 44px; border-radius: 11px; }
  .logo-box img { width: 26px; height: 26px; }
  .pcard h3 { font-size: 15.5px; }
  .search button { padding: 10px 18px; }
  /* 顶栏在手机上只留品牌 + 提交收录 + 分类按钮；搜索进抽屉 */
  .site-header .searchbox { display: none; }
  .side-search { display: block; }
  .side-search input { width: 100%; }
  .nav-right { padding: 7px 12px; }
  .site-footer .wrap { padding: 16px; }
}

/* ---------- 快讯改版（2026-09-25）：S4 细线语言 ---------- */
/* 相关工具导流块（导流=基础 KPI 的本体，质量杆做成正式组件） */
.tool-row { margin: 12px 0 4px; border-top: 1px solid rgba(47, 93, 80, .14); padding-top: 10px; }
.tool-row .lab { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-bottom: 6px; }
.tool-mini { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid rgba(47, 93, 80, .12); border-radius: 10px; margin-bottom: 6px; transition: border-color .15s, background .15s; }
.tool-mini img { border-radius: 6px; flex: none; }
.tool-mini .n { font-weight: 600; font-size: 13.5px; flex: none; }
.tool-mini .d { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.tool-mini .go { color: var(--accent); font-size: 12.5px; flex: none; }
.tool-mini:hover { border-color: var(--accent-line); background: var(--accent-soft); }

/* 单日页 前一天 / 后一天 导航 */
.day-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; font-size: 13.5px; }
.day-nav a { color: var(--accent); }
.day-nav a:hover { text-decoration: underline; }

/* 索引页加厚：每天展开条目标题（一次解决「索引太薄」SEO 与「不知哪天有啥」体验） */
.news-index { margin-top: 8px; }
.day-block { display: block; padding: 14px 0; border-bottom: 1px solid rgba(47, 93, 80, .1); }
.day-head { font-weight: 600; }
.day-head:hover { color: var(--accent); }
.day-items { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.9; }
.day-items a { color: var(--accent); }
.day-items a:hover { text-decoration: underline; }

/* 快讯页脚 AI 聚合标注（防「AI 内容农场」标签） */
.ai-note { max-width: 820px; margin: 0 auto 10px; font-size: 12px; color: var(--muted); text-align: center; }

/* ══════════ 产品生死簿 /graveyard/（2026-09-27 r2 排版重做：对峙双栏 v2）
   保留生死对照+山日意象；英文铭牌/粗黑线/每行徽章已删；行内单值化+分组呼吸 */
/* 语义色（刺绣不做油漆）：--death 只表死亡；--amber 只表官方倒计时；改名沿 --accent */
.gb-hero { position: relative; height: 170px; overflow: hidden; }
.gb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; z-index: 1;
  background: linear-gradient(180deg, rgba(250, 249, 246, 0), var(--bg)); pointer-events: none; }
.gb-hero svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gb-hero-copy { position: relative; z-index: 2; padding: 34px 60px 0; }
.gb-hero-copy h1 { font-family: var(--serif); font-size: 40px; font-weight: 900; letter-spacing: .02em; margin: 0 0 6px; }
.gb-hero-copy .sub { font-family: var(--serif); font-size: 15px; color: rgba(34, 37, 42, .92); font-weight: 700; }
.gb-hero-copy h1, .gb-hero-copy .sub { transition: color .6s ease; }
body[data-scene="dusk"] .gb-hero-copy h1 { color: #F7F2E8; }
body[data-scene="dusk"] .gb-hero-copy .sub { color: rgba(247, 242, 230, .96); }
/* 顶栏不随场景变色（2026-09-26 胜宇：导航跟着变眼花）——日落氛围只留在页面内 */
.gb-zone { transition: background .6s ease; }
body[data-scene="dusk"] .gb-zone.dead { background: linear-gradient(180deg, rgba(61, 69, 87, .17), rgba(61, 69, 87, .07) 240px); }

.gb-stats { display: flex; justify-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.gb-stat { padding: 16px 40px; border-left: 1px solid var(--line2); text-align: center; }
.gb-stat:first-child { border-left: 0; }
.gb-stat .num { font-family: var(--serif); font-size: 24px; font-weight: 900; line-height: 1.2; font-feature-settings: "tnum"; }
.gb-stat .num small { font-size: 12.5px; color: var(--ink2); margin-left: 3px; font-weight: 700; }
.gb-stat .lab { font-size: 12px; color: var(--ink2); margin-top: 2px; }
.gb-stat.d .num { color: var(--death); }

.gb-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.gb-zone { padding: 30px 40px 30px; }
.gb-zone.alive { background: linear-gradient(180deg, rgba(247, 227, 182, .16), rgba(247, 227, 182, .05) 240px); }
.gb-zone.dead { background: linear-gradient(180deg, rgba(61, 69, 87, .09), rgba(61, 69, 87, .03) 240px); }
.gb-zone-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 4px; }
.gb-zone-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 900; }
.gb-zone-head .sort { font-size: 12px; color: var(--ink2); }

/* 分组呼吸（r2 核心：列内按时长档位/年份分组，组头浅线不钉死） */
.gb-grp { margin-top: 22px; }
.gb-grp-head { display: flex; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--ink2);
  padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.gb-grp-head .g-cnt { font-weight: 400; color: var(--muted); margin-left: 8px; }

/* 行内单值化：名称+一个关键值一行，其余压第二行灰字 */
.gb-row { padding: 8px 2px; transition: background .15s ease; }
.gb-row:hover { background: rgba(255, 255, 255, .7); }
.gb-row .r-line { display: flex; align-items: baseline; gap: 12px; }
.gb-row .gb-name { font-family: var(--serif); font-size: 15px; font-weight: 700; flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-row:hover .gb-name { color: var(--death); }
.gb-zone.alive .gb-row:hover .gb-name { color: var(--accent); }
.gb-tag { display: inline-block; font-size: 10.5px; color: #55503F; border: 1px solid #C5BCA9;
  border-radius: 4px; padding: 0 5px; transform: translateY(-2px); white-space: nowrap; }
.gb-zone.alive .gb-dur { font-family: var(--serif); font-weight: 700; color: var(--ink2); white-space: nowrap;
  font-size: 13px; font-feature-settings: "tnum"; }
.gb-zone.dead .gb-when { color: var(--death); white-space: nowrap; font-size: 12.5px; font-feature-settings: "tnum"; }
.gb-row .gb-desc { margin-top: 2px; color: var(--muted); font-size: 12px; }
.gb-row .gb-desc .meta-inline { overflow-wrap: anywhere; }

.gb-boards { display: grid; grid-template-columns: 1fr 1.6fr; border-top: 1px solid var(--line); }
.gb-board { padding: 20px 40px; }
.gb-board:first-child { border-right: 1px solid var(--line); }
.gb-board-head { padding-bottom: 10px; }
.gb-board-head h2 { font-family: var(--serif); font-size: 15px; font-weight: 900; }
.gb-count-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--panel); }
.gb-count-card h3 { font-family: var(--serif); font-size: 15px; font-weight: 900; }
.gb-count-card .big { font-family: var(--serif); font-size: 27px; font-weight: 900; line-height: 1.25; color: var(--amber); margin-top: 2px; }
.gb-count-card .big small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.gb-count-card .ends { display: flex; gap: 12px; align-items: center; margin-top: 10px; font-family: var(--serif); font-size: 11px; color: var(--muted); }
.gb-count-card .ends .tag { color: var(--amber); font-family: var(--font); font-size: 10px; margin-right: 2px; }
.gb-count-card .ends .line { flex: 1; height: 1px; background: var(--line); position: relative; }
.gb-count-card .ends .line::before, .gb-count-card .ends .line::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.gb-count-card .ends .line::before { left: 0; }
.gb-count-card .ends .line::after { right: 0; }

/* 新上线：四条一行网格，名称+日期类目两行（替掉旧横向时间线） */
.gb-news { margin-top: 10px; display: grid; grid-template-columns:repeat(4, 1fr); gap: 0 24px; }
.gb-news-item { padding: 6px 0 4px; }
.gb-news-item .n { display: block; font-size: 13.5px; font-weight: 500; }
.gb-news-item .d { display: block; margin-top: 1px; font-size: 11.5px; color: var(--muted);
  white-space: nowrap; font-feature-settings: "tnum"; }

/* 产品页两态：已下线横幅 + 产品生平（横幅/时间线一律静态，无表演性动效） */
.gb-banner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 14px 0 4px;
  padding: 12px 16px; background: rgba(164, 85, 61, .05); border-left: 3px solid var(--death); border-radius: 0 8px 8px 0; font-size: 13px; }
.gb-banner .st { color: var(--death); font-weight: 700; }
.gb-banner .dt { color: var(--ink2); font-feature-settings: "tnum"; }
.gb-banner .dtl { color: var(--ink2); }
.gb-banner .alt { margin-left: auto; color: var(--ink2); }
.gb-banner .alt a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.gb-life { margin-top: 26px; }
.gb-tl { list-style: none; margin: 10px 0 0; padding-left: 18px; border-left: 2px solid var(--line); }
.gb-tl li { position: relative; padding: 6px 0 6px 14px; font-size: 13.5px; color: var(--ink2); }
.gb-tl li::before { content: ""; position: absolute; left: -25px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.gb-tl li.evo::before { background: var(--accent); }
.gb-tl li.cnt::before { background: var(--amber); }
.gb-tl li.dead::before { background: var(--death); }
.gb-tl li.dead { color: var(--death); }
.gb-tl .from { color: var(--muted); text-decoration: line-through; }
.gb-tl .to { color: var(--accent); font-weight: 700; }
.gb-src { margin-top: 12px; font-size: 12px; color: var(--muted); }
.gb-src summary { cursor: pointer; color: var(--ink2); }
.gb-src ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.9; }
.gb-src a { color: var(--accent); word-break: break-all; }

/* 手机端：两列转单列、场景压高度、分组呼吸收紧（硬约束 3：390/375 无横向溢出） */
@media (max-width: 900px) {
  .gb-hero { height: 110px; }
  .gb-hero-copy { padding: 22px 18px 0; }
  .gb-hero-copy h1 { font-size: 30px; }
  .gb-hero-copy .sub { font-size: 13.5px; }
  .gb-stats { flex-wrap: wrap; }
  .gb-stat { flex: 1 1 40%; padding: 12px 8px; border-left: 0; }
  .gb-split { grid-template-columns: 1fr; }
  .gb-zone { padding: 24px 18px; }
  .gb-zone.dead { border-top: 1px solid var(--line); }
  .gb-row { min-height: 44px; }
  .gb-row .gb-name { white-space: normal; }
  .gb-row .gb-desc { white-space: normal; }
  .gb-boards { grid-template-columns: 1fr; }
  .gb-board { padding: 20px 18px 24px; }
  .gb-board:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .gb-news { grid-template-columns: 1fr; }
  .gb-news-item .d { white-space: normal; }
  .gb-banner .alt { margin-left: 0; }
}
