/* ==========================================================================
   reference.html · 安装大全（深文档页）专属样式
   依赖 base.css / components.css 的设计令牌与组件
   ========================================================================== */

/* 页头事实行（等宽小字，紧随 page-lede） */
.doc-facts{
  margin-top:16px;
  font-size:12.5px;
  letter-spacing:1.5px;
}

/* 章节讲义纸序列：每章一张纸，钉在黑板上 */
.deepdoc-list{
  display:flex;
  flex-direction:column;
  gap:38px;
  margin-top:6px;
  padding-bottom:var(--sec-y);
}
.deepdoc-ch{scroll-margin-top:80px;min-width:0}
/* 微倾斜轮换用独立 rotate 属性，不与 .reveal 的 transform 冲突 */
.deepdoc-ch:nth-child(odd){rotate:-.25deg}
.deepdoc-ch:nth-child(even){rotate:.22deg}

/* 章内小节锚点同样避开吸顶目录 */
.deepdoc-ch [id]{scroll-margin-top:80px}

@media (max-width:640px){
  .deepdoc-list{gap:26px}
  .deepdoc-ch{padding:26px 20px;min-width:0;max-width:100%}
  .deepdoc-ch pre{font-size:12.5px;max-width:100%;overflow-x:auto}
  .deepdoc-ch .table-wrap{max-width:100%}
  .toc-sticky{top:0}
}