/* ==========================================================================
   V2Ray测评 — deepdoc.css
   配置进阶页专属样式
   ========================================================================== */

/* 页面头部 */
.deepdoc-hero {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 56px;
}

.deepdoc-hero__inner {
  max-width: 820px;
}

.deepdoc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.deepdoc-hero h1 {
  margin-bottom: 18px;
}

.deepdoc-hero p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 28px;
}

.deepdoc-hero__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 正文容器 */
.deepdoc {
  padding-bottom: 96px;
}

.deepdoc section {
  scroll-margin-top: 24px;
}

.deepdoc section + section {
  margin-top: 96px;
}

.deepdoc section > h2:first-child {
  margin-top: 0;
}

/* 章节标题锚点视觉 */
.deepdoc section > h2 {
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.deepdoc section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--honey);
}

/* 表格容器内间距微调 */
.deepdoc .table-wrap {
  margin: 1.6em 0;
}

/* 代码块内滚动条美化 */
.deepdoc pre::-webkit-scrollbar {
  height: 8px;
}

.deepdoc pre::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.deepdoc pre::-webkit-scrollbar-track {
  background: transparent;
}

/* 窄屏适配 */
@media (max-width: 640px) {
  .deepdoc-hero {
    padding: 48px 0 40px;
  }

  .deepdoc-hero__links {
    flex-direction: column;
  }

  .deepdoc-hero__links .btn {
    width: 100%;
  }

  .deepdoc section + section {
    margin-top: 64px;
  }
}