/* 页级样式：index
   本页专属的页级规则写在此处，不写进 assets/css/style.css 的页级段（那一段是存量，只减不增）。
   引用在本页 HTML 内，排在按页样式之后。
   本档内 @media 块须排在顶层声明之后，否则窄屏终值被源序压掉。 */

/* ===== 首页 目录（.hm-page 作用域）===== */
/* ===== 首页 目录（仅 index.html 的 .hm-page 作用域） ===== */
/* 一种红、两级灰、一条线：红只做点缀（卷次二字与悬停），不做装饰 */
/* 条目是目录里的行，不是卡片 */
/* 全站强调令牌族在本页落到朱砂族：右侧直达箭头等共享件随本页取色，不漏出全站鎏金。
   本段未分片：页面容器为 .hm-page（无 page- 前缀），搬段工具的甲判据取不到页类，
   且目录类名出现在 index.html 内联脚本里，乙判据证明不了本页私有。 */
.hm-page{max-width:820px;margin:0 auto;padding:0 var(--sp-5) 0;text-rendering:optimizeLegibility;
  --gold:#a5321f;--gold2:#8a2a1a;--gold-brown:#8a2a1a;--foot-ink:#6f6a63}

/* 一级标题：站名与定位供检索与读屏，视觉题字由顶栏承担，故不占版面 */
.hm-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* 卷首 */
.hm-head{text-align:center;padding:var(--sp-5) 0 var(--sp-4)}
.hm-motto{display:inline-block;font-family:var(--font-serif);font-size:12.5px;letter-spacing:.5em;text-indent:.5em;
  color:#8a8478;padding:4px 0;border-top:1px solid #d8d1c2;border-bottom:1px solid #d8d1c2}
.hm-today{margin-top:var(--sp-4)}
.hm-solar{font-size:12px;letter-spacing:.3em;text-indent:.3em;color:#8a8478}
.hm-lunar-big{font-family:var(--font-serif);font-size:42px;font-weight:400;color:#1c1a17;
  letter-spacing:.18em;text-indent:.18em;line-height:1.35;margin-top:var(--sp-2);min-height:57px}
.hm-gz{font-family:var(--font-serif);font-size:15px;letter-spacing:.14em;text-indent:.14em;
  color:#57503f;margin-top:var(--sp-2);display:flex;justify-content:center;gap:var(--sp-4)}
.hm-gz i{font-style:normal;font-size:11px;color:#b3ac9e;letter-spacing:.2em;margin-right:var(--sp-1)}
.hm-extra{font-size:12px;color:#8a8478;margin-top:var(--sp-2);letter-spacing:.05em;min-height:18px}
.hm-head::after{content:'';display:block;width:1px;height:36px;background:#d8d1c2;margin:var(--sp-5) auto 0}

/* 分类卷次 */
.hm-cat{margin-bottom:var(--sp-5)}
.hm-cat:last-child{margin-bottom:0}
.hm-cat-h{display:flex;align-items:center;gap:var(--sp-4);margin-bottom:var(--sp-1);font-weight:400;font-size:inherit}
/* 卷次作竖标：二字竖排、右侧一道细线分隔，高度与正文行高同值故不撑高标题行 */
.hm-cat-h .num{writing-mode:vertical-rl;text-orientation:upright;flex:none;height:32px;
  font-family:var(--font-serif);font-size:12px;color:#a5321f;letter-spacing:.22em;
  line-height:1;text-align:center;border-right:1px solid #e6dfd0;padding-right:8px}
.hm-cat-h .nm{font-family:var(--font-serif);font-size:19px;font-weight:400;letter-spacing:.35em;color:#1c1a17}
.hm-cat-h .en{font-size:9.5px;letter-spacing:.24em;color:#9a9487;text-transform:uppercase}
.hm-cat-h .cnt{margin-left:auto;font-size:11px;color:#6f6a63;letter-spacing:.15em}

/* 条目：目录行，非卡片 */
.hm-list{columns:2;column-gap:56px;list-style:none}
.hm-list li{break-inside:avoid}
.hm-tool{display:flex;align-items:baseline;gap:var(--sp-2);
  padding:11px 0;border-bottom:1px solid #efe9db;text-decoration:none;transition:border-color .15s}
.hm-idx{font-family:var(--font-serif);font-size:11px;color:#6f6a63;width:20px;flex:none;
  font-variant-numeric:tabular-nums}
.hm-nm{font-family:var(--font-serif);font-size:15.5px;font-weight:400;color:#1c1a16;
  letter-spacing:.08em;flex:none;transition:color .15s}
.hm-line{flex:1;border-bottom:none;height:1px;align-self:center;min-width:12px;
  background-image:linear-gradient(90deg,currentColor 1px,transparent 1px);
  background-size:5px 1px;background-repeat:repeat-x;color:#c9c2b2;
  transition:color .15s}
.hm-de{font-size:11.5px;color:#6f6a63;white-space:nowrap;flex:none;letter-spacing:.02em}
.hm-tool:hover .hm-nm{color:#a5321f}
.hm-tool:hover .hm-line{color:#a5321f}

/* 尾线：卷首"横线夹题"的镜像收束，目录末行之后一条 184px 短横线，色与卷首题签线同取 #d8d1c2 */
.hm-page::after{content:'';display:block;width:184px;height:1px;
  background:#d8d1c2;margin:var(--sp-5) auto 0}

/* 页脚：注记色由 app.js 把 .page 上的本页深档桥接到 #footer，不重指深档的三页（首页、开源页、说明页）各自声明墨灰 */
#footer .os-link{border-bottom-color:#c4beb2}

/* 移动端 */
@media(max-width:640px){
  .hm-page{padding:0 var(--sp-4) 0}
  .hm-head{padding:var(--sp-4) 0 var(--sp-3)}
  .hm-lunar-big{font-size:32px;min-height:44px}
  .hm-gz{font-size:13px;gap:var(--sp-3)}
  .hm-head::after{height:26px;margin-top:var(--sp-4)}
  .hm-list{columns:1}
  /* 移动端保持同一内容结构（编号 名称 点线 小注），仅引导点加密一档 */
  .hm-line{background-size:4px 1px}
  .hm-de{font-size:12.5px}
  .hm-cat-h .en{display:none}
}

/* page-font:begin */
@font-face{font-family:"Noto Serif SC";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/pages/index-0.woff2) format("woff2");unicode-range:U+4e01, U+4e0a, U+4e11, U+4e18-4e19, U+4e24, U+4e2a, U+4e34, U+4e58, U+4e5d, U+4e5f, U+4e8b, U+4e8e, U+4e92, U+4ea5, U+4ea7, U+4eb2, U+4eca-4ecb, U+4ed9, U+4ef6, U+4efd, U+4f17, U+4f20, U+4f55, U+4f7f, U+4f9d, U+503c, U+505c, U+5143, U+5145, U+514b, U+5177, U+519c, U+51f6, U+522b, U+523b, U+529f-52a0, U+5343, U+5348, U+5366, U+536f, U+5373, U+5377, U+539f, U+53c8, U+53cc, U+53e3, U+53e5, U+53ea, U+53f3, U+53f8, U+5404, U+5409, U+559c, U+5668, U+56fe, U+586b, U+5904, U+5916, U+5929, U+5973, U+5999, U+5b50, U+5b8c, U+5b97-5b98, U+5ba2, U+5bab, U+5bb5-5bb6, U+5bc5, U+5c04, U+5c31, U+5c4f, U+5de5, U+5de8, U+5df1-5df3, U+5e1d, U+5e42, U+5e72, U+5e8f, U+5e9a, U+5ea7, U+5efa, U+5f15, U+5f53, U+5f62, U+5f85, U+5f97, U+5fcc, U+6001, U+620a, U+620c, U+6237, U+624d, U+6267, U+62c6, U+6302, U+6307, U+638c, U+6469, U+652f, U+658b, U+65ad, U+66dc, U+6708, U+671f, U+672c, U+6761, U+6765, U+67d3, U+67f1, U+680f, U+6837, U+683c, U+6b21, U+6bb5, U+6cc9, U+6ce8, U+6d3e, U+6d41, U+6e20, U+6e32, U+6f14, U+706d, U+715e, U+7167, U+7248, U+725b, U+72af, U+72ee, U+74f6, U+7533, U+754c, U+75e3, U+7678, U+767d, U+7684, U+76ee, U+76f4, U+79bd, U+79cd, U+79e4, U+79ef-79f0, U+7aef, U+7b26, U+7b49, U+7cfb, U+7ea6, U+7eaa, U+7eb3, U+7ebf, U+7ec4, U+7ecd, U+7edf, U+7eea, U+7ef4, U+7f8a, U+7faf, U+8005, U+8054, U+80fd, U+811a, U+81f4, U+8272, U+8282, U+843d, U+845b, U+874e, U+87f9, U+8865, U+8868, U+8bc4, U+8bd7, U+8be5, U+8bf8, U+8bfb, U+8bfe, U+8c31, U+8c61, U+8d56, U+8d77, U+8d8a, U+8e94, U+8f6c, U+8f6e, U+8f7d, U+8f85, U+8f9b, U+8f9e, U+8fb0, U+8fd9, U+8fe5, U+9010, U+9020, U+90a3, U+9149, U+91ce, U+91d1, U+9488, U+949f, U+94b1, U+94dc, U+95f4, U+9635, U+9700, U+9759, U+9879, U+9884, U+98de, U+9976, U+9a6c, U+9a8c, U+9aa8, U+9c7c, U+9f20, U+9f50, U+9f7f}
/* page-font:end */
