/* 查404 · AI 工具箱（/ai/）→ 主站绿 桥接 v1  2026-11-29
   基准色：hd.css 横幅渐变 #0E8A5F → #12A970 → #2FBF83
   用法：/ai/index.html 的 </head> 前引入，必须在 style.css 之后 */
:root{
  --brand:#0E8A5F;
  --brand-hover:#0B6F4D;
  --footer-hover:#7FD4AE;
  --c404-soft:#EAF6F0;
  --c404-soft2:#F2FAF6;
  --c404-line:#C7E9D9;
}
/* 顶部通栏：原青→紫改绿 */
.top-ad{background:linear-gradient(90deg,#0B6F4D 0%,#0E8A5F 46%,#2FBF83 100%)!important}
/* 首页大标题渐变字 */
.ex-accent{background:linear-gradient(96deg,#0E8A5F,#12A970 55%,#2FBF83)!important;-webkit-background-clip:text!important;background-clip:text!important}
/* 浅蓝激活态 → 浅绿 */
.side-link.active,.side-link.active:hover{background:var(--c404-soft)!important;color:var(--brand)!important}
.cs-children a.on{background:var(--c404-soft)!important;color:var(--brand)!important}
.toc-list a:hover,.toc-list a.active{background:var(--c404-soft)!important;color:var(--brand)!important;border-left-color:var(--brand)!important}
.ex-tabs a:hover{background:var(--c404-soft)!important;color:var(--brand)!important}
.nav-drop-m a:hover{background:var(--c404-soft)!important;color:var(--brand)!important}
.cat-sub:hover,.cat-sub.on{color:var(--brand)!important;border-color:var(--c404-line)!important;background:var(--c404-soft2)!important}
/* 卡片 logo 占位底 */
.hot-logo,.ex-card .card-logo,.tool-logo{background-image:linear-gradient(135deg,var(--c404-soft),#DEF3E8)!important}
/* 封面装饰渐变 */
.ex-cover,.ex-topic-cover{background:linear-gradient(135deg,#EAF6F0 0%,#DEF3E8 50%,#F2FAF6 100%)!important}
/* 残留链接色兜底 */
a:hover,.link:hover{color:var(--brand-hover)}
@media (max-width:640px){
  .top-ad{background:linear-gradient(90deg,#0B6F4D 0%,#0E8A5F 60%,#12A970 100%)!important}
}