/* 公开前台统一链接反馈：文字链接悬停／键盘聚焦显示下划线，正文链接常驻。 */
a {
  color: inherit;
  text-decoration-line: none;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-skip-ink: auto;
}

/* 保持低优先级，控件与主题可以覆盖外观，无需逐页重写文字链接。 */
:where(a[href]):is(:hover, :focus-visible) { text-decoration-line: underline; }
a:hover { color: var(--blue-hover); }

:where(.article-body, .article-references, .document-body) a[href] {
  color: var(--blue);
  text-decoration-line: underline;
}
:where(.article-body, .article-references, .document-body) a[href]:is(:hover, :focus-visible) {
  color: var(--blue-hover);
}

/* 有独立背景、边框或选中标识的控件，以及品牌和图片入口，不叠加文字下划线。 */
:is(a.button, a.brand, a.footer-logo, a.voice-avatar, a.article-thumbnail,
  a.filter-chip, a.service-card, a.article-neighbor, a.link-control),
:is(.desktop-nav, .mobile-nav, .article-categories, .site-pagination, .work-scene-nav) a {
  text-decoration-line: none;
}
