/* ==========================================================================
 * DevKit SEO 页样式（工具详情页 / 分类页 / 索引页 / 正文排版）
 * ========================================================================== */

/* 工具页作为链接卡片时的静态形态（JS 接管前 / 爬虫视角） */
a.static-card { display: block; text-decoration: none; color: inherit; }
a.static-card:hover { border-color: var(--border-hover); }
a.static-card .tool-head { cursor: pointer; }

.page { padding: 30px 0 60px; }

.crumbs { font-size: 13px; color: var(--text-faint); margin-bottom: 14px; }
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.page h1 { font-size: 30px; line-height: 1.3; margin: 0 0 14px; }
.lead { font-size: 15.5px; color: var(--text-dim); line-height: 1.8; margin-bottom: 22px; }
.tip {
  font-size: 13.5px; color: var(--text-dim); background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 9px; padding: 10px 14px; margin: 12px 0 0;
}

.prose { margin-top: 34px; }
.prose h2 {
  font-size: 20px; margin: 30px 0 12px; padding-left: 12px;
  border-left: 3px solid var(--accent); line-height: 1.4;
}
.prose p, .prose li, .prose dd { font-size: 14.5px; color: var(--text-dim); line-height: 1.85; }
.prose ol, .prose ul.plain { padding-left: 22px; margin: 0; }
.prose ol li, .prose ul.plain li { margin-bottom: 7px; }
.prose b { color: var(--text); font-weight: 600; }

.faq { margin: 0; }
.faq dt {
  font-size: 15px; color: var(--text); font-weight: 600; margin-top: 16px;
}
.faq dd { margin: 6px 0 0; padding-left: 14px; border-left: 2px solid var(--border); }

.related { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border); }
.related h2 { font-size: 19px; margin-bottom: 16px; }
.more { margin-top: 16px; font-size: 14px; }
.more a { color: var(--accent); text-decoration: none; }
.more a:hover { text-decoration: underline; }

.list-section { margin-top: 30px; }
.list-section h2 {
  font-size: 19px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.list-section h2 a { color: var(--text); text-decoration: none; }
.list-section h2 a:hover { color: var(--accent); }
.list-section h2 i {
  font-style: normal; font-size: 12px; color: var(--text-dim);
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 1px 9px;
}

.cat-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 26px; }
.cat-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); color: var(--text-dim); text-decoration: none;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 13.5px; transition: all .18s;
}
.cat-link:hover { border-color: var(--accent); color: var(--accent); }
.cat-link i {
  font-style: normal; font-size: 11.5px; opacity: .75;
  background: color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 999px; padding: 0 6px; line-height: 1.6;
}

@media (max-width: 640px) {
  .page h1 { font-size: 24px; }
  .prose h2 { font-size: 18px; }
}
