/* ============================================================
   clash for ios · deepdoc.css
   进阶手册页(docs.html)专属:文档头 / 章节节奏 / 收尾面板
   ============================================================ */

/* ---------- 文档头 ---------- */
.doc-head{padding-bottom:26px;}
.doc-head h1{margin-bottom:16px;}
.doc-lede{
  max-width:780px;
  font-size:15.5px;
  line-height:1.85;
  color:var(--ink);
  margin-bottom:12px;
}
.doc-lede strong{color:var(--accent-dark);font-weight:700;}
.doc-facts{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--ink-muted);
  letter-spacing:.05em;
  margin-bottom:24px;
}

/* ---------- 正文章节节奏 ---------- */
.doc-body{padding-bottom:12px;}
.doc-ch{
  border-top:2px dashed var(--border);
  padding-top:38px;
  margin-top:38px;
  scroll-margin-top:28px;
}
.doc-ch:first-of-type{
  border-top:none;
  padding-top:4px;
  margin-top:0;
}
.doc-ch h2{margin-top:0;}
.doc-ch .kicker{margin-bottom:10px;}

/* ---------- 收尾面板 ---------- */
.doc-next{padding-top:20px;}
.doc-next .panel{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px;
}
.doc-next-txt{flex:1 1 320px;min-width:0;}
.doc-next-txt h2{font-size:20px;margin-bottom:8px;}
.doc-next-txt p{
  font-size:14.5px;
  color:var(--ink-muted);
  line-height:1.75;
  margin-bottom:0;
}
.doc-next-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

@media (max-width:640px){
  .doc-ch{padding-top:30px;margin-top:30px;}
  .doc-lede{font-size:15px;}
}