/* ==========================================================================
   Shadowrocket官方下载 · deepdoc.css
   App Store 指南深文档页专属样式:
   目录页头 / 章节节奏 / 正文链接 / 表格横滑容器
   ========================================================================== */

.doc-head{
  padding-top:clamp(40px,5vw,64px);
  padding-bottom:clamp(32px,4vw,48px);
  border-bottom:1px solid var(--border);
}

.doc-head-inner{
  max-width:880px;
  min-width:0;
}

.doc-lede{
  margin:0 0 18px;
  font-size:17px;
  line-height:1.8;
  color:var(--text-muted);
}

.doc-lede:last-of-type{margin-bottom:0}

.doc-lede strong{
  font-weight:700;
  color:var(--accent-dark);
}

.doc-head .badge-row{margin:26px 0 30px}

.doc-head .toc{margin-bottom:0}

.doc-prose a{
  color:var(--accent-dark);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:var(--accent-38);
  transition:color .18s ease,text-decoration-color .18s ease;
}

.doc-prose a:hover{
  color:var(--accent-dark-hi);
  text-decoration-color:var(--accent);
}

.doc-chapter{
  min-width:0;
  margin-top:clamp(48px,6vw,80px);
}

.doc-chapter:first-child{margin-top:0}

.doc-chapter > h2{
  margin-top:0;
  padding-top:clamp(24px,3vw,36px);
  border-top:1px solid var(--border);
}

.doc-chapter:first-child > h2{
  padding-top:0;
  border-top:0;
}

.doc-table-wrap{
  max-width:100%;
  min-width:0;
  margin:0 0 1.5em;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

@media (max-width:768px){
  .doc-head-inner{max-width:none}
  .doc-lede{font-size:16px}
}