/* 站务001 —— 灰底白卡极简风（对齐 tourisain.cn）：
   #F2F2F2 页底、白色卡片、近黑文字、细灰边、系统无衬线字体、柔和小阴影。
   首页居中搜索；结果页左侧边栏 + 右侧结果。状态色 emerald / amber / rose。 */

:root {
  --bg: #f2f2f2;      /* 页底 */
  --surface: #ffffff; /* 卡片、输入框 */
  --fg: #111827;
  --muted: #667085;
  --faint: #9ca3af;
  --line: #e5e5e5;
  --soft: #ededed;
  --blue: #2563eb;
  --red: #e11d48;
  --yellow: #b45309;
  --green: #059669;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111827;
    --surface: #1f2937;
    --fg: #f3f4f6;
    --muted: #9ca3af;
    --faint: #6b7280;
    --line: #374151;
    --soft: #374151;
    --blue: #60a5fa;
    --red: #fb7185;
    --yellow: #fbbf24;
    --green: #34d399;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 首页 ---------- */
.center {
  max-width: 640px;
  margin: 0 auto;
  padding: 12vh 20px 40px;
  text-align: center;
}
/* 首页：站点图标 + 搜索框 */
.logo { display: block; margin: 0 auto 24px; }
.logo-h { margin: 0 0 18px; }
.logo-h .logo { margin: 0 auto; }
.icon-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--muted);
}
.icon-btn:hover { background: var(--soft); color: var(--fg); text-decoration: none; }

.search { display: flex; gap: 8px; align-items: stretch; }
.search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  font-size: 16px;
  font-family: inherit;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  outline: none;
}
.search-input:focus {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: var(--shadow), 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.search-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  background: var(--blue);
  border: 1px solid transparent;
  border-radius: 24px;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) { .search-btn { color: #111827; } }
.search-btn:hover { background: #1d4ed8; }
@media (prefers-color-scheme: dark) { .search-btn:hover { background: #93c5fd; } }
.search-btn:disabled { opacity: 0.7; cursor: default; }

.hint { color: var(--faint); font-size: 13px; margin: 26px 0 0; }
.search-note { color: var(--faint); font-size: 12px; margin: 10px 0 0; text-align: left; }
.search-side + .search-note { margin-top: 2px; }
.hint-error { color: var(--red); font-size: 13px; margin: 18px 0 0; }

/* ---------- 批量体检：多行输入与横向对比表 ---------- */
.bulk-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 92px;
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.6;
  font-family: inherit;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  outline: none;
  resize: vertical;
}
.bulk-input:focus {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: var(--shadow), 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.bulk-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.bulk-table th,
.bulk-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.bulk-table th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--soft); }
.bulk-table tr:last-child td { border-bottom: 0; }
.bulk-table a { color: var(--blue); }

/* ---------- 结果页：左侧边栏 + 右侧结果 ---------- */
.layout {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}
.side {
  position: sticky;
  top: 20px;
  flex: 0 0 228px;
  width: 228px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-brand { display: inline-flex; align-items: center; text-decoration: none; }
.side-brand:hover { text-decoration: none; }
.side-logo { display: block; border-radius: 6px; }
.content { flex: 1 1 auto; min-width: 0; }

.search-side .search-input { height: 36px; font-size: 14px; padding: 0 14px; }
.search-side .search-btn { height: 36px; padding: 0 14px; font-size: 13px; }

.side-nav { display: flex; flex-direction: column; gap: 1px; }
.side-nav a {
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--fg);
  font-size: 13.5px;
}
.side-nav a:hover { background: var(--soft); text-decoration: none; }
.side-nav a.active { background: var(--soft); font-weight: 500; }
.side-nav .nav-fix { font-weight: 500; }
.nav-n {
  display: inline-block;
  min-width: 18px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-align: center;
}
.side-foot {
  border-top: 1px solid var(--soft);
  padding-top: 10px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.7;
}
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  margin: 8px 0;
  scroll-margin-top: 16px;
}
.card-title { font-size: 15px; font-weight: 500; margin: 0 0 10px; }
.card-title .cnt { color: var(--faint); font-weight: 400; font-size: 13px; }

/* 概览条：分数、结论、关键事实，一屏看完 */
.head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}
.head-l { text-align: center; min-width: 72px; }
.score-num { font-size: 42px; line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.score-num.good { color: var(--green); }
.score-num.mid { color: var(--yellow); }
.score-num.bad { color: var(--red); }
.score-grade { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 5px; }
.head-c { min-width: 0; }
.head-host { font-size: 17px; font-weight: 500; word-break: break-all; }
.head-verdict { font-size: 13px; color: var(--muted); margin-top: 3px; }
.head-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; margin-top: 9px; max-width: 420px; }
.hb { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.hb i { font-style: normal; }
.hb b { font-size: 13px; font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.hbar { display: inline-block; width: 64px; height: 5px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.hbar i { display: block; height: 100%; border-radius: 3px; }
.hbar i.good { background: var(--green); }
.hbar i.mid { background: #d97706; }
.hbar i.bad { background: var(--red); }
/* 六列横排会把 .head 的 auto 轨道撑到 700px、中间结论列被挤没，改 2×3 */
.head-r { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; min-width: 340px; }
.hb-i { min-width: 0; }
.hb-i i { display: block; font-style: normal; font-size: 11px; color: var(--faint); }
.hb-i b { display: block; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; margin-top: 1px; overflow-wrap: anywhere; }

/* 紧凑键值表：一行一项，值右对齐 */
.tbl { margin-top: 2px; }
.tr {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1px 16px;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  align-items: baseline;
}
.tbl .tr:last-child { border-bottom: none; }
.tr .k { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.tr .k-name { color: var(--fg); }
.tr .v { font-size: 13.5px; word-break: break-word; font-variant-numeric: tabular-nums; }
.tr .n { margin-left: 8px; font-size: 12px; color: var(--faint); word-break: break-word; }

/* 优先处理：每条都带这个域名的实测值 */
.fix-list { list-style: none; margin: 0; padding: 0; }
.fix-list li {
  display: grid;
  grid-template-columns: 62px minmax(120px, 210px) 128px;
  gap: 3px 12px;
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  align-items: baseline;
}
.fix-list li:last-child { border-bottom: none; }
.fx-k { grid-column: 2; font-size: 13.5px; font-weight: 500; }
.fx-v { grid-column: 3; font-size: 13px; color: var(--muted); }
.fx-a { grid-column: 2 / -1; font-size: 12.5px; color: var(--muted); }
.fix-more { font-size: 12.5px; color: var(--faint); padding-top: 8px; }

/* 底部相关工具：点开就带上当前域名 */
.rel-l { display: flex; flex-wrap: wrap; gap: 6px; }
.rel-c {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 1px 11px;
}
.rel-c:hover { background: var(--surface); border-color: var(--blue); text-decoration: none; }
.rel-all { background: var(--surface); border-color: var(--line); color: var(--muted); }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.kv-item span { display: block; font-size: 12px; color: var(--muted); }
.kv-item b { font-size: 15px; font-weight: 500; word-break: break-all; }

.row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--soft);
}
.row:last-child { border-bottom: none; }
.row-main { flex: 1; min-width: 0; }
.row-label { font-size: 13px; color: var(--muted); }
.row-value { font-size: 14px; word-break: break-word; }
.row-detail { font-size: 13px; color: var(--faint); margin-top: 2px; word-break: break-word; }
.row-advice { font-size: 13px; color: var(--blue); margin-top: 2px; }

.pill {
  display: inline-block;
  font-size: 12px;
  padding: 1px 9px;
  border-radius: 12px;
  margin-right: 8px;
  vertical-align: 1px;
}
.pill.good { background: #ecfdf5; color: #059669; }
.pill.mid { background: #fffbeb; color: #b45309; }
.pill.bad { background: #fff1f2; color: #e11d48; }
.pill.info { background: var(--soft); color: var(--muted); }
@media (prefers-color-scheme: dark) {
  .pill.good { background: #064e3b; color: #34d399; }
  .pill.mid { background: #451a03; color: #fbbf24; }
  .pill.bad { background: #4c0519; color: #fb7185; }
}

.foot {
  border-top: 1px solid var(--soft);
  color: var(--faint);
  font-size: 12px;
  text-align: center;
  padding: 20px 16px 32px;
}

@media (max-width: 900px) {
  .layout { flex-direction: column; gap: 8px; padding: 16px 16px 32px; }
  .side { position: static; width: 100%; flex: none; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .center { padding: 8vh 16px 32px; }
  .foot { padding: 16px 12px 24px; }
  .head { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .head-r { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); }
  .hb-i { text-align: left; }
  .tr { grid-template-columns: 1fr; }
  .tr .v { text-align: left; }
  .tr .n { grid-column: 1; }
  .fix-list li { grid-template-columns: 62px minmax(0, 1fr); }
  .fx-k { grid-column: 2; }
  .fx-v { grid-column: 2; text-align: left; }
  .fx-a { grid-column: 1 / -1; }
}

/* ---------- 工具箱 ---------- */
.center.wide { max-width: 980px; }
.layout-narrow { max-width: 1000px; }
.tool-group {
  font-size: 15px;
  font-weight: 500;
  margin: 32px 0 12px;
  text-align: left;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  text-align: left;
}
.tool-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px; /* 胶囊：卡片矮，999 会被钳成半高圆端 */
  padding: 12px 18px;
  color: var(--fg);
}
.tool-card:hover { border-color: var(--blue); text-decoration: none; }
.tool-card b { display: block; font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.tool-card span { font-size: 12px; color: var(--muted); }
.tool-desc { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.tool-summary {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 10px;
}
.tool-summary.good { background: #ecfdf5; color: #059669; }
.tool-summary.mid { background: #fffbeb; color: #b45309; }
.tool-summary.bad { background: #fff1f2; color: #e11d48; }
.tool-summary.info { background: var(--soft); color: var(--muted); }
@media (prefers-color-scheme: dark) {
  .tool-summary.good { background: #064e3b; color: #34d399; }
  .tool-summary.mid { background: #451a03; color: #fbbf24; }
  .tool-summary.bad { background: #4c0519; color: #fb7185; }
}
.tool-foot { color: var(--faint); font-size: 12px; margin: 16px 0 0; }

/* 结论层：针对这个域名的具体动作 */
.tool-advice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 28px; /* 胶囊感大圆角；超高时 999 会把首行文字吞出框外 */
  padding: 12px 16px;
  margin: 4px 0 14px;
  background: var(--soft);
}
.tool-advice-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
}
.tool-advice ul { margin: 0; padding-left: 18px; }
.tool-advice li { font-size: 13px; color: var(--muted); margin: 4px 0; line-height: 1.65; }
.tool-advice li::marker { color: var(--blue); }

/* ---------- 服务区：最近被服务过的域名 ---------- */
.svc-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 44px;
}
.svc-top { margin-top: -26px; } /* 首页：紧跟搜索框，别离太远 */
.svc-h { font-size: 11px; color: var(--faint); text-align: center; margin-bottom: 7px; }
.svc-h a { color: var(--faint); }
.svc-l { display: flex; flex-wrap: wrap; gap: 4px 6px; justify-content: center; }
.svc-c {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--soft);
  border-radius: 10px;
  padding: 1px 8px;
  white-space: nowrap;
}
.svc-c:hover { background: #e7e7e7; color: var(--fg); text-decoration: none; }
@media (prefers-color-scheme: dark) { .svc-c:hover { background: #374151; } }

/* 服务展示页 */
.svc-tbl { text-align: left; margin-top: 18px; }
.svc-tbl .tr { grid-template-columns: minmax(0, 1fr) 72px 64px; }
.svc-d { color: var(--fg); }
.svc-pager {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--faint);
}

/* 今日额度 */
.quota {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 9;
  font-size: 11px;
  color: var(--faint);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 3px 10px;
  opacity: 0.75;
}
.quota:hover { opacity: 1; }
@media (max-width: 900px) { .quota { display: none; } }


/* ---------- 管理后台 ---------- */
.adm-top {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.adm-brand { display: flex; align-items: center; gap: 8px; color: var(--fg); }
.adm-brand:hover { text-decoration: none; }
.adm-brand img { display: block; }
.adm-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.adm-nav a { color: var(--muted); padding: 4px 2px; }
.adm-nav a.on { color: var(--blue); font-weight: 600; }
.adm-logout { margin-left: auto; }
.adm { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }
.adm-h { font-size: 20px; margin: 4px 0 18px; }
.adm-h2 { font-size: 15px; margin: 26px 0 12px; color: var(--muted); }
.adm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.adm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.adm-card-k { color: var(--muted); font-size: 12px; }
.adm-card-v { font-size: 24px; font-weight: 600; margin: 2px 0; }
.adm-card-d { color: var(--faint); font-size: 12px; }
.adm-card-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px 12px; overflow-x: auto; }
.adm-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-tbl th { text-align: left; color: var(--muted); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-sub { color: var(--faint); font-size: 12px; margin-top: 2px; }
.adm-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--muted); }
.adm-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.adm-acts form { display: inline-flex; gap: 4px; align-items: center; }
.adm-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; }
.adm-tag.on { background: rgba(5, 150, 105, 0.12); color: var(--green); }
.adm-tag.off { background: var(--soft); color: var(--faint); }
.adm-btn { border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 8px; padding: 5px 10px; font-size: 12px; cursor: pointer; }
.adm-btn:hover { background: var(--soft); }
.adm-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.adm-btn.danger { color: var(--red); border-color: rgba(225, 29, 72, 0.4); }
.adm-btn[disabled] { opacity: 0.45; cursor: default; }
.adm-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 10px 0 6px; }
.adm-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.adm-form input { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 13px; background: var(--surface); color: var(--fg); min-width: 150px; }
.adm-form .adm-check { flex-direction: row; align-items: center; gap: 6px; }
.adm-inp { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font-size: 12px; background: var(--surface); color: var(--fg); width: 84px; }
.adm-note { color: var(--faint); font-size: 12px; margin-top: 14px; }
.adm-notice { border: 1px solid rgba(37, 99, 235, 0.35); background: rgba(37, 99, 235, 0.08); border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; font-size: 13px; }
.adm-login { flex-direction: column; align-items: stretch; gap: 10px; }
.adm-alt code { background: rgba(127,127,127,.14); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.adm-alt { color: var(--faint); font-size: 12px; margin-top: 14px; }
.adm-bar-row { display: grid; grid-template-columns: 56px 1fr 150px; gap: 10px; align-items: center; padding: 3px 0; }
.adm-bar-day { color: var(--faint); font-size: 12px; }
.adm-bar { background: var(--soft); border-radius: 4px; height: 12px; overflow: hidden; }
.adm-bar i { display: block; height: 100%; background: var(--blue); }
.adm-bar-n { color: var(--muted); font-size: 12px; text-align: right; }

/* ---------- 大模型输出 ---------- */
.tool-llm { border: 1px solid var(--line); border-radius: 28px; padding: 12px 18px; margin: 12px 0; background: var(--soft); }
.tool-llm-title { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.tool-llm pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; line-height: 1.7; }

/* ---------- 页脚 ---------- */
.foot { margin-top: 36px; padding: 14px 0 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--blue); }

/* ---------- 说明页（关于/常见问题） ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 24px 16px 8px; line-height: 1.8; }
.prose h1 { font-size: 26px; margin: 8px 0 16px; }
.prose p { margin: 0 0 14px; color: var(--fg); }
.faq-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0 0 10px; background: var(--surface); }
.faq-item h2 { font-size: 16px; margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 工具页说明与 FAQ ---------- */
.tool-guide, .tool-faq { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.tool-guide h2, .tool-faq h2 { font-size: 17px; margin: 0 0 8px; }
.tool-guide p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.tool-faq .faq-item h3 { font-size: 14px; margin: 0 0 4px; }

/* ---------- 输入输出 UX：示例、进度反馈、导航定位 ---------- */
.ex { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 14px; }
.ex-h { font-size: 12px; color: var(--faint); }
.ex-chip {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--soft);
  border-radius: 10px;
  padding: 1px 10px;
}
.ex-chip:hover { background: #e7e7e7; color: var(--fg); text-decoration: none; }
@media (prefers-color-scheme: dark) { .ex-chip:hover { background: #374151; } }
/* 工具页空态的示例靠左排，跟正文对齐 */
.tool-guide ~ .ex, main .card .ex { justify-content: flex-start; }

.search-progress {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 14px 20px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  max-width: 560px;
}
.search-progress b { display: block; color: var(--fg); font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.search-progress i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 7px;
  animation: sp-pulse 1s ease-in-out infinite alternate;
}
@keyframes sp-pulse { from { opacity: 0.35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .search-progress i { animation: none; } }

.to-top {
  position: fixed;
  right: 14px;
  bottom: 46px;
  z-index: 9;
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 14px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.to-top.on { display: block; }
.to-top:hover { color: var(--fg); background: var(--soft); }

.verdict-fix { color: var(--blue); white-space: nowrap; }
.fix-note { font-size: 12.5px; color: var(--faint); margin: -4px 0 8px; }
.tool-retry { display: block; margin: -4px 0 10px; }
.tool-acts { margin: 2px 0 8px; }

/* 长列表扫读时跟住当前行 */
.tbl .tr:hover, .fix-list li:hover { background: var(--soft); border-radius: 6px; }
