/* diff-highlight: CSS Custom Highlight API 规则（diff block 词级高亮）。
   从 src/app/globals.css 移出到此独立样式表，经 src/app/layout.tsx 的 <link> 加载——
   lightningcss（Turbopack / next 16.3+）不识别 ::highlight() 伪元素，留在被工具链处理的
   globals.css 里会报错中断 prod build（dev 仅警告）。浏览器原生支持 Custom Highlight API，
   故走静态 <link> 绕过 CSS 工具链解析。var(--muted-foreground) 由 globals.css 的 :root 全局提供。
   背景：diff-word-highlight.ts 登记 Range；::highlight 只支持 color / background 等少数属性。 */
::highlight(diff-word-removed) {
  background-color: rgba(248, 81, 73, 0.45);
}
::highlight(diff-context) {
  color: var(--muted-foreground);
}
