/* 乐查 6CHA —— 极简高级设计系统 */
:root {
  --ink: #15171c;
  --ink-2: #414651;
  --muted: #858b97;
  --line: #eceef2;
  --line-2: #e2e5ec;
  --bg: #f7f8fa;
  --card: #ffffff;
  --accent: #2f5bff;
  --accent-ink: #1f3fb8;
  --accent-soft: #eef2ff;
  --gold: #a9824c;
  --green: #0f9d58;
  --red: #d93025;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.05);
  --shadow-hover: 0 2px 6px rgba(16, 24, 40, 0.06), 0 20px 44px rgba(16, 24, 40, 0.09);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; transition: color 0.16s ease; }
a:hover { color: var(--accent); }

.container { max-width: 1180px; }

h1, h2, h3, h4 { letter-spacing: -0.02em; color: var(--ink); }

/* ===== 顶部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 34px; width: 34px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 19px; letter-spacing: 4px; font-weight: 700; color: var(--ink); }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: 3px; }

.header-nav { display: flex; align-items: center; gap: 10px; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.lang-switch { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line-2); border-radius: 999px; background: #fafbfc; }
.lang-switch a { padding: 4px 13px; border-radius: 999px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.nav-list a {
  display: block;
  padding: 8px 15px;
  color: var(--ink-2);
  border-radius: 9px;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: all 0.16s ease;
}
.nav-list a:hover { background: #f2f3f6; color: var(--ink); }
.nav-list li.active a { color: var(--ink); font-weight: 600; background: #f2f3f6; }
.nav-toggle {
  display: none;
  background: #f2f3f6;
  color: var(--ink);
  border: 0;
  border-radius: 9px;
  font-size: 18px;
  padding: 5px 12px;
  cursor: pointer;
}

/* ===== 搜索区 ===== */
.search-section { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0 16px; }
.search-form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.search-input {
  flex: 1;
  height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  background: #fbfbfc;
  transition: all 0.16s ease;
}
.search-input::placeholder { color: #a7acb6; }
.search-input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.search-btn {
  height: 52px;
  padding: 0 34px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.search-btn:hover { background: #000; transform: translateY(-1px); }
.search-tips { text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; letter-spacing: 0.02em; }

/* ===== 主体 ===== */
.main-wrap { padding: 30px 12px 36px; }
.hero { text-align: center; padding: 26px 0 14px; }
.hero h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; margin: 0 0 12px; }
.hero-sub { color: var(--muted); margin: 0 0 30px; font-size: 15.5px; }

.stat-cards { display: flex; justify-content: center; flex-wrap: wrap; margin: 0 auto; max-width: 760px; }
.stat-card { padding: 4px 44px; border-left: 1px solid var(--line-2); }
.stat-card:first-child { border-left: 0; }
.stat-num { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 12.5px; letter-spacing: 0.08em; margin-top: 2px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 34px 0; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: block;
  transition: all 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-2); color: var(--ink); }
.feature-icon { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--accent); }
.feature-card h3 { font-size: 16px; margin: 14px 0 8px; font-weight: 600; }
.feature-card p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.65; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 { font-size: 17px; margin: 0; font-weight: 600; }
.panel-tight { padding-bottom: 16px; }
.panel-tight .panel-head { margin-bottom: 12px; }
.panel-head h1 { margin: 0; }
.h1-inline { font-size: 20px; font-weight: 700; }
.more { font-size: 13px; color: var(--muted); }
.more:hover { color: var(--accent); }
.source-tag { font-size: 12px; color: var(--muted); }
.panel-note { color: var(--muted); font-size: 13.5px; margin: 0; }
.empty { color: var(--muted); padding: 16px 0; margin: 0; }
.notice { background: #fff8ef; border: 1px solid #f3e2c7; color: #8a6320; border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13px; }

/* ===== 表格 ===== */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.data-table th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background 0.14s ease; }
.data-table tbody tr:hover td { background: #fafbfc; }
.price { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.price small { color: var(--muted); font-weight: 400; }
.domain-link { font-weight: 600; letter-spacing: -0.01em; }
.domain-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.kv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kv-table { table-layout: fixed; }
.kv-table th, .kv-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; word-break: break-word; overflow-wrap: anywhere; }
.kv-table tbody tr:last-child th, .kv-table tbody tr:last-child td { border-bottom: 0; }
.kv-table th { width: 120px; color: var(--muted); font-weight: 500; }
.kv-table.compact th { width: 76px; }
.ns-chip { display: inline-block; background: #f3f4f7; color: var(--ink-2); border-radius: 7px; padding: 2px 9px; margin: 2px 4px 2px 0; font-size: 12px; word-break: break-all; }

.factor-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.factor-table th, .factor-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.factor-table tbody tr:last-child td { border-bottom: 0; }
.factor-table th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; }
.factor-table td.up { color: var(--green); font-weight: 600; }
.factor-table td.down { color: var(--red); font-weight: 600; }

/* ===== 域名详情 ===== */
.breadcrumb-nav { color: var(--muted); font-size: 12.5px; margin-bottom: 18px; letter-spacing: 0.02em; }
.breadcrumb-nav span { margin: 0 6px; }
.breadcrumb-nav b { color: var(--ink-2); font-weight: 600; }

.domain-hero {
  background: #111318;
  border-radius: 20px;
  padding: 30px 32px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}
.domain-hero h1 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 10px; color: #fff; font-weight: 700; word-break: break-all; letter-spacing: -0.02em; }
.domain-meta span { display: inline-block; color: #9aa1ad; font-size: 13px; margin-right: 18px; }
.domain-hero-side { display: flex; align-items: center; gap: 18px; }
.hero-actions { display: flex; flex-direction: column; gap: 9px; }
.btn-line {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e7e9ee;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  text-align: center;
  transition: all 0.16s ease;
}
.btn-line:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.grade-box {
  width: 104px;
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.grade-box.big { width: 132px; padding: 20px 10px; }
.grade-score { font-size: 30px; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.grade-box.big .grade-score { font-size: 42px; }
.grade-letter { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; }
.grade-label { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; margin-top: 2px; }
.grade-a { background: #fff5f0; color: #b4441f; border-color: #f6ddce; }
.grade-b { background: #fff9ec; color: #9a6a12; border-color: #f2e3c4; }
.grade-c { background: #f2f5ff; color: #2743b8; border-color: #dfe5fb; }
.grade-d { background: #f5f6f8; color: #5a616e; border-color: #e6e8ee; }

.badge-grade { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.badge-grade.grade-a { background: #fff1ea; color: #b4441f; }
.badge-grade.grade-b { background: #fff7e6; color: #9a6a12; }
.badge-grade.grade-c { background: #eef2ff; color: #2743b8; }
.badge-grade.grade-d { background: #f1f2f5; color: #5a616e; }

.valuation-range { display: flex; gap: 14px; flex-wrap: wrap; }
.vr-item { flex: 1; min-width: 180px; background: #fafbfc; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.vr-label { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.vr-value { font-size: 16px; font-weight: 600; color: var(--ink); }

.history-list { display: flex; flex-direction: column; gap: 12px; }
.history-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fafbfc; transition: all 0.15s ease; }
.history-item:hover { border-color: var(--line-2); background: #fff; }
.history-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.history-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.history-date { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.history-ago { color: var(--muted); font-size: 12px; }
.history-source { margin-left: auto; color: var(--muted); font-size: 11px; border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 9px; }
.history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; }
.history-grid > div { min-width: 0; }
.history-grid dt { color: var(--muted); font-size: 12px; margin: 0 0 3px; }
.history-grid dd { margin: 0; font-size: 13.5px; color: var(--ink-2); word-break: break-word; overflow-wrap: anywhere; }

.hot-list { list-style: none; margin: 0; padding: 0; }
.hot-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hot-list li:last-child { border-bottom: 0; }
.hot-rank { width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 8px; background: #f2f3f6; color: var(--muted); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hot-rank.top3 { background: var(--ink); color: #fff; }
.hot-count { margin-left: auto; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }

.tld-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.tld-chip { background: #f7f8fa; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 13px; color: var(--ink-2); transition: all 0.16s ease; }
.tld-chip:hover { border-color: var(--ink); color: var(--ink); }
.tld-chip em { color: var(--muted); font-style: normal; font-size: 11px; }

.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.domain-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: all 0.16s ease;
}
.domain-pill:hover { border-color: var(--ink); color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.domain-pill .dp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.domain-pill .dp-time { flex: 0 0 auto; color: var(--muted); font-size: 11.5px; }
.domain-pill .dp-score { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; color: #b4441f; background: #fff1ea; border-radius: 999px; padding: 1px 9px; }

.quick-links { display: flex; flex-direction: column; gap: 9px; }
.quick-links a { background: #fafbfc; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; transition: all 0.16s ease; }
.quick-links a:hover { border-color: var(--ink); }

/* ===== 筛选/分页 ===== */
.filter-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.filter-form input, .filter-form select {
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  background: #fbfbfc;
  color: var(--ink);
  transition: all 0.16s ease;
}
.filter-form input:focus, .filter-form select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.filter-form .search-btn { height: 42px; border-radius: var(--radius-sm); padding: 0 24px; font-size: 14px; }
.result-count { color: var(--muted); font-size: 13px; }
.export-btn { height: 42px; border-radius: var(--radius-sm); padding: 0 18px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; cursor: pointer; }
.export-btn:hover { border-color: var(--ink); color: var(--ink); }
.trend-chart { display: flex; align-items: flex-end; gap: 6px; overflow-x: auto; padding: 12px 4px 0; }
.trend-col { flex: 1 0 auto; min-width: 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trend-bar { width: 100%; max-width: 34px; background: linear-gradient(180deg, #4f7cff, #2f5bff); border-radius: 6px 6px 0 0; min-height: 4px; }
.trend-year { font-size: 11px; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.pager a, .pager span { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 13px; transition: all 0.16s ease; }
.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ===== 评估结果 ===== */
.valuation-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 22px; box-shadow: var(--shadow); }
.vr-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.vr-domain { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; word-break: break-all; font-weight: 700; }
.vr-desc { color: var(--muted); margin: 0; }
.value-band { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; }
.value-band-item { flex: 1; min-width: 170px; background: #f7f8fa; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.value-band-item span { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.value-band-item strong { font-size: 21px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.vr-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-line { background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 22px; font-size: 14px; transition: all 0.16s ease; }
.btn-primary-line:hover { background: #000; color: #fff; transform: translateY(-1px); }
.valuation-result .btn-line { border-color: var(--line-2); color: var(--ink-2); }
.valuation-result .btn-line:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.model-item { background: #fafbfc; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.model-item h4 { font-size: 14.5px; margin: 0 0 6px; font-weight: 600; }
.model-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* ===== 文章/错误 ===== */
.article-list { padding-left: 20px; }
.article-list li { margin-bottom: 10px; }
.article-list code, .panel code { background: #f2f3f6; border-radius: 5px; padding: 1px 6px; font-size: 13px; }
.error-panel { text-align: center; padding: 80px 20px; }
.error-code { font-size: 64px; font-weight: 700; color: var(--line-2); letter-spacing: -0.04em; }

/* ===== 帮助页 ===== */
.help-hero {
  background: #111318;
  color: #fff;
  border-radius: 18px;
  padding: 34px 36px;
  margin-bottom: 24px;
}
.help-hero h1 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; font-weight: 700; }
.help-hero p { color: #9aa1ad; margin: 0; max-width: 720px; line-height: 1.8; }
.help-layout { display: grid; grid-template-columns: 232px 1fr; gap: 28px; align-items: start; }
.help-toc {
  position: sticky;
  top: 92px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: var(--shadow);
}
.help-toc h3 { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin: 0 0 10px; padding: 0 10px; font-weight: 600; }
.help-toc ul { list-style: none; margin: 0; padding: 0; }
.help-toc a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); transition: all 0.15s ease; }
.help-toc a:hover { background: #f2f3f6; color: var(--ink); }
.help-content { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 36px 20px; box-shadow: var(--shadow); }
.help-section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.help-section:last-child { border-bottom: 0; }
.help-section h2 { display: flex; align-items: baseline; gap: 12px; font-size: 19px; margin: 0 0 16px; font-weight: 600; }
.help-num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); flex: 0 0 auto; }
.help-section p { color: var(--ink-2); line-height: 2; margin: 0 0 14px; max-width: 780px; }
.help-section p:last-child { margin-bottom: 0; }
.help-list { margin: 0 0 14px; padding-left: 20px; }
.help-list li { color: var(--ink-2); line-height: 2; margin-bottom: 6px; }

/* ===== 域名工具 ===== */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tool-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: all 0.2s ease; display: block; color: var(--ink); }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-2); color: var(--ink); }
.tool-card-num { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--accent); }
.tool-card h3 { font-size: 17px; margin: 12px 0 8px; font-weight: 600; }
.tool-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; line-height: 1.7; }
.tool-card-link { color: var(--accent); font-size: 13px; }
.verdict { display: flex; align-items: center; gap: 14px; border-radius: 12px; padding: 16px 18px; border: 1px solid var(--line); background: #fafbfc; flex-wrap: wrap; }
.verdict-badge { font-weight: 700; padding: 4px 14px; border-radius: 999px; font-size: 14px; }
.verdict-text { color: var(--ink-2); }
.verdict-ok { background: #f0fdf4; border-color: #bbf7d0; }
.verdict-ok .verdict-badge { background: #16a34a; color: #fff; }
.verdict-blocked { background: #fef2f2; border-color: #fecaca; }
.verdict-blocked .verdict-badge { background: #dc2626; color: #fff; }
.verdict-dns-polluted { background: #fffbeb; border-color: #fde68a; }
.verdict-dns-polluted .verdict-badge { background: #d97706; color: #fff; }
.verdict-unresolved, .verdict-error { background: #f5f6f8; }
.verdict-unresolved .verdict-badge, .verdict-error .verdict-badge { background: #6b7280; color: #fff; }
.verdict-limited { background: #eff6ff; border-color: #bfdbfe; }
.verdict-limited .verdict-badge { background: #2563eb; color: #fff; }
.sub-title { font-size: 15px; margin: 22px 0 10px; font-weight: 600; }
.muted-sm { color: var(--muted); font-size: 12px; margin-left: 6px; }
.tag-ok, .tag-bad { display: inline-block; border-radius: 6px; padding: 1px 8px; font-size: 12px; }
.tag-ok { background: #ecfdf3; color: #067647; }
.tag-bad { background: #fef2f2; color: #b42318; }
.ua-cell { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.example-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: 13px; }
.example-links a { background: #f7f8fa; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; color: var(--ink-2); }
.example-links a:hover { border-color: var(--ink); color: var(--ink); }

/* ===== 页脚 ===== */
.site-footer { background: #0e0f12; color: #8d94a1; margin-top: 30px; padding: 44px 0 26px; font-size: 13px; }
.footer-cols { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 36px; max-width: 100%; }
.footer-brand { max-width: 300px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand-logo img { width: 40px; height: 40px; display: block; }
.footer-brand-logo b { display: block; color: #fff; font-size: 18px; letter-spacing: 3px; line-height: 1.1; }
.footer-brand-logo small { display: block; color: #6b7280; font-size: 10px; letter-spacing: 2px; }
.footer-brand-desc { color: #8d94a1; font-size: 12.5px; line-height: 1.75; margin: 0; }
.footer-tld-list { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: repeat(3, auto); gap: 8px 20px; }
.footer-tld-list li { margin-bottom: 0 !important; white-space: nowrap; }
.footer-col h4 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 600; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #8d94a1; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e2027; margin-top: 30px; padding-top: 18px; text-align: center; }
.footer-bottom p { margin: 5px 0; }
.footer-bottom a { color: #c9cdd6; }
.disclaimer { color: #616774; font-size: 12px; }
.footer-contact { color: #8d94a1; font-size: 13px; }
.footer-contact a { color: #cfe1ff; }

/* 友情链接 */
.friend-links { display: flex; gap: 16px; padding: 20px 0 0; margin-top: 26px; border-top: 1px solid #1e2027; align-items: flex-start; }
.friend-links-label { color: #6b7280; font-size: 13px; white-space: nowrap; padding-top: 1px; letter-spacing: 0.04em; }
.friend-links-list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.friend-links-list a { color: #8d94a1; font-size: 13px; }
.friend-links-list a:hover { color: #fff; }
.friend-links-more { color: #c9cdd6 !important; }

/* 友情链接页 */
.links-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.links-page-item { border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; display: flex; flex-direction: column; gap: 4px; transition: all 0.16s ease; }
.links-page-item:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.links-page-name { font-weight: 600; }
.links-page-desc { color: var(--muted); font-size: 12.5px; }

/* 评分环 */
.grade-ring {
  --ring: var(--accent);
  --pct: 0;
  position: relative;
  width: 134px;
  height: 134px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--ring) calc(var(--pct) * 1%), #e9ebef 0);
  display: grid;
  place-items: center;
}
.grade-ring::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.grade-ring.dark::after { background: #16181d; }
.grade-ring-inner { position: relative; z-index: 1; text-align: center; line-height: 1.05; }
.grade-ring .grade-score { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.grade-ring .grade-letter { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; }
.grade-ring.dark .grade-score { color: #fff; }
.grade-ring.dark .grade-letter { color: #9aa1ad; }
.grade-ring.small { width: 108px; height: 108px; }
.grade-ring.small .grade-score { font-size: 25px; }

@media (max-width: 992px) {
  .links-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .links-page-grid { grid-template-columns: 1fr; }
  .friend-links { flex-direction: column; gap: 10px; }
}

@media (max-width: 992px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .links-page-grid { grid-template-columns: repeat(2, 1fr); }
  .help-layout { grid-template-columns: 1fr; }
  .help-toc { position: static; }
}
@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    right: 12px;
    top: 62px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-hover);
    border-radius: 12px;
    flex-direction: column;
    padding: 8px;
    z-index: 60;
    min-width: 168px;
  }
  .nav-list.open { display: flex; }
  .search-form { flex-direction: column; }
  .search-btn { width: 100%; }
  .hero { padding: 16px 0 6px; }
  .stat-card { padding: 4px 22px; }
  .stat-num { font-size: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .footer-cols { flex-direction: column; max-width: 100%; gap: 22px; }
  .footer-brand { max-width: 100%; }
  .footer-tld-list { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .domain-hero { flex-direction: column; align-items: flex-start; padding: 24px; }
  .domain-hero-side { width: 100%; justify-content: space-between; }
  .panel { padding: 18px 16px; }
  .valuation-result { padding: 20px 16px; }
  .help-hero { padding: 24px 20px; }
  .help-content { padding: 4px 18px 16px; }
  .help-section h2 { font-size: 17px; }
  .history-grid { grid-template-columns: 1fr; gap: 8px; }
  .tool-grid { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .domain-pill { padding: 8px 12px; font-size: 13px; }
  .data-table th, .data-table td { padding: 11px 8px; }
}
