/* GateRank v3 — 浅色极简设计系统 */
:root {
  --bg: #f5f8f7; --card: #ffffff; --card2: #fafcfc;
  --ink: #0d2120; --ink2: #44615d; --ink3: #8ba3a0;
  --line: #e7eeee; --line2: #dfe8e6;
  --dark: #0c2f2c; --dark2: #0f3d39; --dark3: #14514c;
  --teal: #0d9488; --teal2: #14b8a6; --teal-bg: #effaf8;
  --green: #059669; --green-bg: #ecfdf5;
  --blue: #2563eb; --blue-bg: #eff6ff;
  --violet: #7c3aed; --violet-bg: #f5f3ff;
  --amber: #b45309; --amber-bg: #fffbeb;
  --red: #dc2626; --red-bg: #fef2f2;
  --cyan: #0891b2; --cyan-bg: #ecfeff;
  --r: 12px; --r-lg: 20px; --r-xl: 26px; --full: 9999px;
  --shadow: 0 1px 2px rgba(12,47,44,.05), 0 8px 24px -12px rgba(12,47,44,.14);
  --shadow-lg: 0 24px 60px -20px rgba(12,47,44,.25);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter','Noto Sans SC',-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 44px 0 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, button, select, textarea { font-family: inherit; }

/* ===== 顶栏 ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; flex-shrink: 0; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 4px 12px rgba(13,148,136,.35);
}
.logo-dom { font-size: 11px; font-weight: 500; color: var(--ink3); margin-left: 2px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; flex: 1; }
.nav a {
  font-size: 13.5px; color: var(--ink2); padding: 7px 11px; border-radius: var(--full);
  transition: all .2s; display: inline-flex; align-items: center; gap: 5px;
}
.nav a:hover { color: var(--ink); background: #f2f4f7; }
.nav a.on { color: var(--ink); background: #eef0f4; font-weight: 600; }
.nav-flag {
  font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .04em;
  background: var(--red); color: #fff; padding: 1px 5px; border-radius: 4px; line-height: 1.5;
}
.header-act { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login {
  font-size: 13px; font-weight: 600; color: var(--ink2); padding: 8px 16px;
  border: 1px solid var(--line2); border-radius: var(--full); background: #fff; transition: all .2s;
}
.btn-login:hover { color: var(--ink); border-color: #cfd4dc; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #0f766e, #0d9488); padding: 9px 17px; border-radius: var(--full);
  border: none; cursor: pointer; transition: all .2s; box-shadow: 0 2px 10px rgba(13,148,136,.28);
  white-space: nowrap;
}
.btn-dark:hover { background: linear-gradient(135deg, #0c5f59, #0b7c72); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(13,148,136,.4); }
.arr { font-size: 11px; opacity: .7; }

/* 声明条 */
.notice-wrap { padding-top: 16px; }
.notice-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 16px; font-size: 13px; color: var(--ink2);
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}
.notice-arr { color: var(--ink3); font-size: 12px; }

/* ===== Hero 深色卡 ===== */
.hero-wrap { padding-top: 18px; }
.hero-card {
  display: grid; grid-template-columns: 1.8fr 1fr; gap: 30px;
  background: linear-gradient(118deg, #082823 0%, #0d3f3a 48%, #16455f 100%);
  border-radius: var(--r-xl); padding: 40px 40px 38px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::after {
  content: ''; position: absolute; width: 460px; height: 460px; right: -120px; top: -190px;
  background: radial-gradient(circle, rgba(45,212,191,.30), transparent 65%); pointer-events: none;
}
.hc-chip {
  display: inline-block; font-size: 12px; font-weight: 600; color: #b9f0e8;
  background: rgba(45,212,191,.14); border: 1px solid rgba(45,212,191,.28);
  padding: 4px 13px; border-radius: var(--full); margin-bottom: 18px;
}
.hc-left h1 {
  font-size: clamp(25px, 2.7vw, 33px); font-weight: 900; line-height: 1.34;
  letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; word-break: keep-all;
}
.hc-left p { font-size: 13.5px; color: #a7c9c2; max-width: 620px; line-height: 1.8; }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; position: relative; z-index: 1; }
.stat-tile {
  background: rgba(255,255,255,.09); border: 1px solid rgba(45,212,191,.18);
  border-radius: var(--r-lg); padding: 16px 16px 14px; backdrop-filter: blur(6px);
}
.stat-tile span { font-size: 11.5px; color: #9cc4bd; display: block; margin-bottom: 6px; }
.stat-tile b { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.stat-tile b.sm { font-size: 14px; font-weight: 600; color: #b9f0e8; line-height: 1.6; }

/* ===== 筛选卡 ===== */
.list-wrap { padding-top: 18px; }
.filter-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px 18px; box-shadow: var(--shadow);
}
.filter-row { display: flex; gap: 10px; align-items: center; }
.search-field {
  flex: 1; display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line2); border-radius: var(--r); padding: 0 14px; height: 44px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.search-field:focus-within { border-color: #b9c2d0; box-shadow: 0 0 0 3px rgba(17,24,39,.05); }
.sf-ico { font-size: 13px; opacity: .45; }
.search-field input { border: none; outline: none; flex: 1; font-size: 13.5px; color: var(--ink); background: none; }
.search-field input::placeholder { color: var(--ink3); }
.num-field {
  width: 120px; height: 44px; border: 1px solid var(--line2); border-radius: var(--r);
  padding: 0 14px; font-size: 13.5px; color: var(--ink); outline: none; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.num-field:focus { border-color: #b9c2d0; box-shadow: 0 0 0 3px rgba(17,24,39,.05); }
.num-field::placeholder { color: var(--ink3); }
.filter-row .btn-dark { height: 44px; padding: 0 26px; border-radius: var(--r); font-size: 14px; }
.filter-tip { font-size: 12.5px; color: var(--ink3); margin: 12px 0 4px; }
.chip-group { display: flex; gap: 14px; align-items: flex-start; padding: 9px 0; }
.cg-label { font-size: 12.5px; color: var(--ink3); width: 74px; flex-shrink: 0; padding-top: 6px; }
.cg-list { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12.5px; color: var(--ink2); background: #fff; border: 1px solid var(--line2);
  padding: 5px 12px; border-radius: 8px; transition: all .18s; white-space: nowrap;
}
.chip:hover { border-color: var(--teal2); color: var(--dark2); background: var(--teal-bg); }
.chip.on { background: var(--dark2); border-color: var(--dark2); color: #fff; font-weight: 600; }
.filter-reset { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line2); }
.filter-reset a { font-size: 12.5px; color: var(--blue); }
.filter-reset a:hover { text-decoration: underline; }

.list-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ink3); padding: 16px 4px 10px;
}
.list-meta b { color: var(--ink); }

/* ===== 表格 ===== */
.tbl-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.tbl-wrap { overflow-x: auto; }
.rank-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 940px; }
.rank-table thead th {
  text-align: left; font-size: 11.5px; font-weight: 600; color: var(--ink3);
  background: var(--card2); padding: 12px 14px; border-bottom: 1px solid var(--line);
  white-space: nowrap; letter-spacing: .02em;
}
.rank-table tbody td { padding: 12px 14px; border-bottom: 1px solid #f3f5f7; vertical-align: middle; color: var(--ink2); }
.rank-table tbody tr:last-child td { border-bottom: none; }
.rank-table tbody tr:hover { background: #fafbfc; }
.c-rank { width: 52px; }
.num { font-variant-numeric: tabular-nums; color: var(--ink2); }
.price { color: var(--ink); font-weight: 700; }

.rk-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 24px; padding: 0 6px; border-radius: 7px;
  font-size: 12px; font-weight: 700; font-style: normal;
  color: var(--ink2); background: #f2f4f7; border: 1px solid var(--line2);
}
.rb-1 { background: linear-gradient(135deg, #0f766e, #0d9488); color: #fff; border-color: #0f766e; }
.rb-2 { background: #d8efe9; color: #0c5f59; border-color: #bfe3da; }
.rb-3 { background: #fdf1e3; color: #9a5b18; border-color: #f5e0c8; }

.ap-cell { display: flex; align-items: center; gap: 11px; min-width: 190px; }
.ap-main { display: flex; flex-direction: column; line-height: 1.4; }
.ap-main b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ap-cell:hover .ap-main b { color: var(--blue); }
.ap-main small { font-size: 11.5px; color: var(--ink3); }

.ap-logo {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  color: #fff; font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  transition: transform .2s, box-shadow .2s;
}
.c1 { background: linear-gradient(135deg, #34d399, #059669); }
.c2 { background: linear-gradient(135deg, #f0abfc, #a21caf); }
.c3 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.c4 { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.c5 { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.c6 { background: linear-gradient(135deg, #fb7185, #be123c); }
.c7 { background: linear-gradient(135deg, #60a5fa, #7c3aed); }
.ap-logo.sm { width: 27px; height: 27px; font-size: 12px; border-radius: 8px; }
.ap-logo.lg { width: 64px; height: 64px; font-size: 27px; border-radius: 18px; box-shadow: 0 10px 26px rgba(16,24,40,.18); }
.ap-logo.red { background: linear-gradient(135deg, #fb7185, #b91c1c); }

/* 标签 */
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1.7;
  padding: 2px 9px; border-radius: 7px; margin: 1px 2px 1px 0;
  background: #f2f4f7; color: var(--ink2); border: 1px solid transparent; white-space: nowrap;
}
.t-green { background: var(--green-bg); color: var(--green); border-color: #d1fae5; }
.t-blue { background: var(--blue-bg); color: var(--blue); border-color: #dbeafe; }
.t-violet { background: var(--violet-bg); color: var(--violet); border-color: #ede9fe; }
.t-gold, .t-amber { background: var(--amber-bg); color: var(--amber); border-color: #fef3c7; }
.t-cyan { background: var(--cyan-bg); color: var(--cyan); border-color: #cffafe; }
.t-teal { background: var(--teal-bg); color: var(--teal); border-color: #c6efe8; }
.t-gray { background: #f2f4f7; color: var(--ink2); border-color: var(--line2); }
.t-red { background: var(--red-bg); color: var(--red); border-color: #fee2e2; }
.t-dark { background: #111827; color: #fff; border-color: #111827; }
.t-ok { background: #f0fdf4; color: #15803d; border-color: #dcfce7; }

.score-badge {
  display: inline-block; min-width: 48px; text-align: center;
  font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 7px;
  font-variant-numeric: tabular-nums;
}
.sb-high { background: #f0fdf4; color: #15803d; border: 1px solid #dcfce7; }
.sb-mid { background: var(--blue-bg); color: var(--blue); border: 1px solid #dbeafe; }
.sb-low { background: var(--amber-bg); color: var(--amber); border: 1px solid #fef3c7; }
.sb-bad { background: var(--red-bg); color: var(--red); border: 1px solid #fee2e2; }

.ops { white-space: nowrap; }
.mini-btn {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--ink); background: #fff;
  border: 1px solid var(--line2); padding: 5px 12px; border-radius: 8px;
  transition: all .2s; margin-right: 6px; cursor: pointer;
}
.mini-btn:hover { border-color: #c3cad6; background: #fafbfc; }
.mini-btn.dark { background: var(--dark2); border-color: var(--dark2); color: #fff; }
.mini-btn.dark:hover { background: #0b332f; }
.mini-btn.ghost { color: var(--ink2); }
.mini-btn.danger { color: var(--red); border-color: #fecaca; }

/* 移动端卡片 */
.rank-cards { display: flex; flex-direction: column; gap: 12px; }
.rank-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); }
.rc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rc-head .score-badge { margin-left: auto; }
.ap-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13.5px; }
.rc-meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink3); margin-top: 8px; flex-wrap: wrap; }
.rc-meta a { color: var(--blue); font-weight: 600; }
.empty-card { background: var(--card); border: 1px dashed var(--line2); border-radius: var(--r-lg); padding: 44px; text-align: center; }
.empty-card b { display: block; font-size: 15px; margin-bottom: 6px; }
.empty-card p { font-size: 13px; color: var(--ink3); margin-bottom: 16px; }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 24px; flex-wrap: wrap; }
.pg-btn {
  min-width: 34px; padding: 7px 12px; text-align: center; font-size: 12.5px; font-weight: 600;
  color: var(--ink2); background: #fff; border: 1px solid var(--line2); border-radius: 9px;
  transition: all .2s;
}
a.pg-btn:hover { border-color: #c3cad6; color: var(--ink); }
.pg-btn.on { background: var(--dark2); border-color: var(--dark2); color: #fff; }
.pg-dots { color: var(--ink3); }

/* ===== 区块标题 ===== */
.sec-head { text-align: center; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -.01em; }
.sec-head small { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 7px; }
.sec-head small a { color: var(--blue); }

/* ===== 探索区 ===== */
.explore {
  text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 46px 24px; box-shadow: var(--shadow);
}
.explore small { font-size: 10.5px; letter-spacing: .22em; color: var(--ink3); }
.explore h2 { font-size: 25px; font-weight: 800; margin: 10px 0 12px; letter-spacing: -.01em; }
.explore p { font-size: 13.5px; color: var(--ink2); max-width: 600px; margin: 0 auto 22px; line-height: 1.8; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; padding: 11px 22px; border-radius: var(--r); border: none; cursor: pointer; transition: all .2s; }
.btn.sm { padding: 8px 16px; font-size: 12.5px; }
.btn.ghost { background: #fff; border: 1px solid var(--line2); color: var(--ink2); }
.btn.ghost:hover { border-color: #c3cad6; color: var(--ink); }

/* ===== 广告位 ===== */
.ad-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ad-box {
  display: flex; flex-direction: column; gap: 6px; padding: 16px;
  background: var(--card); border: 1px dashed var(--line2); border-radius: var(--r-lg);
  font-size: 12.5px; color: var(--ink3); min-height: 116px; transition: all .2s;
}
.ad-box b { font-size: 13.5px; color: var(--ink2); }
.ad-box i { font-style: normal; font-size: 11px; margin-top: auto; }
.ad-box.live { border-style: solid; border-color: #d7dde7; background: var(--card); box-shadow: var(--shadow); }
.ad-box.live b { color: var(--ink); }
.ad-box.live:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== 新闻卡片 ===== */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.news-grid.three { grid-template-columns: repeat(3, 1fr); }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: all .2s; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #dde2ea; }
.nc-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #eef1f5; }
.nc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .nc-cover img { transform: scale(1.04); }
.nc-cat { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--ink2); }
.nc-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.nc-body b { font-size: 13.5px; line-height: 1.6; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .nc-body b { color: var(--blue); }
.nc-body time { font-size: 11.5px; color: var(--ink3); margin-top: auto; }

/* ===== 风险 / 理念 ===== */
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.risk-card {
  display: flex; flex-direction: column; gap: 4px; padding: 18px;
  background: var(--red-bg); border: 1px solid #fee2e2; border-radius: var(--r-lg); transition: all .2s;
}
.risk-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(220,38,38,.25); }
.risk-card b { font-size: 14px; color: #991b1b; }
.risk-card span { font-size: 12.5px; color: #b91c1c; opacity: .8; }
.risk-card i { font-style: normal; font-size: 11.5px; color: #b91c1c; opacity: .65; margin-top: 4px; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 17px; box-shadow: var(--shadow); transition: all .2s; }
.why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.why-card b { display: block; font-size: 13.5px; margin-bottom: 7px; }
.why-card span { font-size: 12px; color: var(--ink2); line-height: 1.7; }

/* ===== 场景体系 ===== */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scene-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); transition: all .2s; position: relative; overflow: hidden;
}
.scene-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--teal2), #38bdf8); opacity: 0; transition: opacity .25s;
}
.scene-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #bfe3da; }
.scene-card:hover::before { opacity: 1; }
.sc-ico {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 20px;
  background: var(--teal-bg); border: 1px solid #d5efe9;
}
.scene-card b { font-size: 15px; font-weight: 800; }
.scene-card span { font-size: 12.5px; color: var(--ink2); line-height: 1.75; flex: 1; }
.scene-card i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--teal); }
.scene-chip {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 6px; margin: 1px 3px 1px 0;
  background: var(--teal-bg); color: var(--teal); border: 1px solid #cfeee7; white-space: nowrap;
}
.scenes-cell { white-space: nowrap; }
.rc-scenes { margin: 2px 0 4px; }

/* ===== FAQ ===== */
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.faq-tab {
  font-size: 12.5px; font-weight: 600; color: var(--ink2); background: #fff;
  border: 1px solid var(--line2); padding: 7px 16px; border-radius: var(--full); cursor: pointer; transition: all .2s;
}
.faq-tab:hover { border-color: #c3cad6; color: var(--ink); }
.faq-tab.on { background: var(--dark2); border-color: var(--dark2); color: #fff; }
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 15px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-q i { font-style: normal; color: var(--ink3); font-size: 17px; transition: transform .25s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 18px 15px; font-size: 12.5px; color: var(--ink2); line-height: 1.85; }
.faq-item.open .faq-a { max-height: 320px; }

/* ===== 报告页 ===== */
.page-head { padding-top: 34px; }
.page-head h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.hero-sub { font-size: 13.5px; color: var(--ink2); margin-top: 8px; }
.report-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.report-score { margin-left: auto; text-align: center; }
.report-score .score-badge { font-size: 28px; padding: 8px 22px; border-radius: var(--r); min-width: 120px; display: inline-block; }
.report-score span { display: block; font-size: 11.5px; color: var(--ink3); margin: 8px 0 10px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 15px; margin-bottom: 14px; }
.kv { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv td { padding: 9px 4px; border-bottom: 1px solid #f3f5f7; color: var(--ink2); }
.kv td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
.kv tr:last-child td { border-bottom: none; }
.chart-bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; }
.chart-bars i { flex: 1; height: var(--h, 50%); background: linear-gradient(180deg, #60a5fa, #dbeafe); border-radius: 4px 4px 0 0; }
.chart-note { font-size: 11.5px; color: var(--ink3); margin-top: 9px; }
.unlock-grid { display: flex; gap: 7px; flex-wrap: wrap; }

.pkg-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.pkg-tbl th { text-align: left; font-size: 11px; font-weight: 600; color: var(--ink3); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.pkg-tbl td { padding: 11px 6px; border-bottom: 1px solid #f3f5f7; color: var(--ink2); }
.pkg-tbl tr:last-child td { border-bottom: none; }
.pkg-tbl td b { display: block; color: var(--ink); font-size: 13px; }
.pkg-tbl td small { font-size: 11px; color: var(--ink3); }
.pkg-tbl td.price { color: var(--ink); font-weight: 800; }

.dim-row { margin-bottom: 16px; }
.dim-row:last-child { margin-bottom: 0; }
.dim-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.dim-head b { font-size: 13px; }
.dim-head span { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.dim-bar { height: 7px; border-radius: var(--full); background: #f2f4f7; overflow: hidden; }
.dim-bar i { display: block; height: 100%; width: var(--w, 50%); min-width: 8px; background: linear-gradient(90deg, #34d399, #60a5fa); border-radius: var(--full); }
@keyframes grow { from { width: 0; } }

/* ===== 文章 ===== */
.article { max-width: 800px; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); }
.article-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article h1 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; margin: 12px 0 8px; letter-spacing: -.01em; line-height: 1.4; }
.article time { font-size: 12.5px; color: var(--ink3); }
.article-body { margin: 22px 0; }
.article-body p { font-size: 14.5px; color: var(--ink2); margin-bottom: 13px; line-height: 1.9; }

/* ===== 工具 ===== */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-card { display: flex; flex-direction: column; gap: 7px; padding: 22px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: all .2s; }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tool-card b { font-size: 14px; }
.tool-card span { font-size: 12.5px; color: var(--ink2); }
.tool-desc { font-size: 13.5px; color: var(--ink2); margin: 8px 0 14px; }
.plat-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.plat-chips .tag { padding: 5px 13px; font-size: 12px; }

/* ===== 侧榜 ===== */
.side-ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.side-rank { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 18px; box-shadow: var(--shadow); }
.side-rank h3 { font-size: 14.5px; margin-bottom: 12px; }
.side-rank h3 small { display: block; font-size: 11.5px; color: var(--ink3); font-weight: 500; }
.sr-item { display: flex; align-items: center; gap: 9px; padding: 8px 4px; border-radius: 9px; transition: background .2s; }
.sr-item:hover { background: #fafbfc; }
.sr-idx { width: 20px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink3); }
.sr-idx.top { color: var(--ink); }
.sr-name { flex: 1; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-days { font-size: 11.5px; color: var(--ink3); }
.sr-score { font-size: 12.5px; font-weight: 700; color: var(--blue); }

/* ===== 工具中心 ===== */
.tool-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tool-nav-card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); transition: all .2s;
}
.tool-nav-card:hover { transform: translateY(-2px); border-color: #bfe3da; box-shadow: var(--shadow-lg); }
.tn-ico { font-size: 22px; }
.tool-nav-card b { font-size: 13.5px; font-weight: 800; }
.tool-nav-card span { font-size: 11.5px; color: var(--ink2); line-height: 1.6; flex: 1; }
.tool-section .card { margin-bottom: 6px; }
.tool-card-l { padding-bottom: 22px; }
.tool-desc { font-size: 13px; color: var(--ink2); margin-bottom: 12px; line-height: 1.8; }
.tool-row { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.tool-row input, .tool-row select {
  background: #fff; border: 1px solid var(--line2); border-radius: 10px;
  color: var(--ink); font-size: 13.5px; padding: 10px 13px; outline: none; min-width: 140px;
  transition: border-color .2s, box-shadow .2s;
}
.tool-row input:focus, .tool-row select:focus { border-color: var(--teal2); box-shadow: 0 0 0 3px rgba(20,184,166,.12); }
.tool-row textarea {
  width: 100%; background: #fff; border: 1px solid var(--line2); border-radius: 10px;
  color: var(--ink); font-size: 13px; padding: 12px 14px; outline: none;
  font-family: Consolas, monospace; line-height: 1.7; margin-bottom: 12px;
}
.tool-out {
  margin-top: 14px; padding: 14px 16px; background: var(--card2);
  border: 1px solid var(--line); border-radius: var(--r); font-size: 13.5px;
  line-height: 2; color: var(--ink2); min-height: 48px;
}
.tool-out code { background: #eef4f3; padding: 2px 7px; border-radius: 6px; font-size: 12.5px; color: var(--dark2); }
.tool-out .tag { margin: 2px 4px 2px 0; }
.clean-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.calc-row input:first-child { flex: 2; }

@media (max-width: 1000px) { .tool-nav-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tool-nav-grid { grid-template-columns: 1fr 1fr; } .tool-row input, .tool-row select { flex: 1; } }

/* ===== 入驻申请 ===== */
.apply-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; align-items: start; }
.apply-grid .f-label { display: block; font-size: 12px; font-weight: 700; color: var(--ink2); margin: 13px 0 6px; }
.apply-grid input, .apply-grid select, .apply-grid textarea {
  width: 100%; background: #fff; border: 1px solid var(--line2); border-radius: 10px;
  color: var(--ink); font-size: 13.5px; padding: 10px 13px; outline: none; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.apply-grid textarea { resize: vertical; line-height: 1.7; }
.apply-grid input:focus, .apply-grid select:focus, .apply-grid textarea:focus {
  border-color: var(--teal2); box-shadow: 0 0 0 3px rgba(20,184,166,.12);
}
.flash { padding: 12px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.flash.ok { background: var(--green-bg); border: 1px solid #cdeedd; color: var(--green); }
.flash.err { background: var(--red-bg); border: 1px solid #f6d5d5; color: var(--red); }
@media (max-width: 800px) { .apply-grid { grid-template-columns: 1fr; } }

/* ===== 新闻栏目 ===== */
.news-cols { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.news-cols a {
  font-size: 12.5px; font-weight: 600; color: var(--ink2); background: #fff;
  border: 1px solid var(--line2); border-radius: 8px; padding: 7px 14px; transition: all .18s;
}
.news-cols a:hover { color: var(--teal); border-color: var(--teal2); background: var(--teal-bg); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); transition: all .2s; position: relative;
}
.cat-card.on { border-color: var(--teal2); background: var(--teal-bg); }
.cat-card:hover { transform: translateY(-2px); border-color: #bfe3da; box-shadow: var(--shadow-lg); }
.cc-ico { font-size: 20px; }
.cat-card b { font-size: 14px; font-weight: 800; }
.cat-card span { font-size: 11.5px; color: var(--ink2); line-height: 1.65; flex: 1; }
.cat-card i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--teal); }

.art-breadcrumb { font-size: 12px; color: var(--ink3); margin-bottom: 14px; }
.art-breadcrumb a:hover { color: var(--teal); }
.art-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink3); margin: 10px 0 4px; }
.art-nav {
  display: flex; justify-content: space-between; gap: 16px; margin: 26px 0 18px;
  padding: 14px 16px; background: var(--card2); border: 1px solid var(--line); border-radius: var(--r);
  flex-wrap: wrap;
}
.art-link { font-size: 13px; font-weight: 600; color: var(--dark2); }
.art-link:hover { color: var(--teal); }
.art-link.muted { color: var(--ink3); font-weight: 500; }

@media (max-width: 1000px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ===== 软件下载中心 ===== */
.dl-block { margin-bottom: 14px; }
.dl-block h3 { margin-bottom: 12px; }
.dl-tbl td.dim { color: var(--ink2); font-size: 12.5px; }
.dl-name { display: flex; align-items: center; gap: 10px; }
.dl-name b { font-size: 13.5px; }
.dl-ico { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-ico img { width: 28px; height: 28px; display: block; }
.dl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.dl-grid.half { grid-template-columns: repeat(4, 1fr); }
.dl-card {
  display: flex; flex-direction: column; gap: 9px; padding: 17px 15px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); transition: all .2s;
}
.dl-card:hover { transform: translateY(-2px); border-color: #bfe3da; box-shadow: var(--shadow-lg); }
.dl-head { display: flex; align-items: center; gap: 10px; }
.dl-head > div { min-width: 0; }
.dl-head b { font-size: 13.5px; font-weight: 800; display: block; }
.dl-head small { font-size: 10.5px; color: var(--ink3); display: block; margin-top: 1px; line-height: 1.5; }
.dl-card p { font-size: 12px; color: var(--ink2); line-height: 1.75; flex: 1; margin: 0; }
.dl-card .mini-btn { align-self: flex-start; }
@media (max-width: 1100px) { .dl-grid { grid-template-columns: repeat(3, 1fr); } .dl-grid.half { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .dl-grid, .dl-grid.half { grid-template-columns: 1fr 1fr; } }

/* ===== 软件详情页 ===== */
.os-ico { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }
.os-ico[src*="apple"], .os-ico[src*="android"] { filter: none; }
.sd-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); flex-wrap: wrap; }
.sd-left { display: flex; align-items: center; gap: 16px; }
.sd-left .dl-ico, .sd-left .ap-logo { width: 56px; height: 56px; }
.sd-left .dl-ico img { width: 48px; height: 48px; }
.sd-left h1 { font-size: 24px; font-weight: 900; margin: 0 0 8px; }
.sd-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sd-os { font-size: 12px; color: var(--ink3); }
.sd-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-link { color: var(--ink); }
.dl-link:hover { color: var(--teal); }
.dl-btns { white-space: nowrap; }
.sd-ico-lg { width: 56px; height: 56px; font-size: 26px; }
.rel-list { display: flex; flex-direction: column; gap: 2px; }
.rel-item { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-radius: 8px; transition: background .16s; min-width: 0; }
.rel-item:hover { background: var(--teal-bg); }
.rel-item b { font-size: 13px; flex-shrink: 0; color: var(--ink); }
.rel-item span { font-size: 11.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rel-item .dl-ico { width: 24px; height: 24px; }
.rel-item .dl-ico img { width: 22px; height: 22px; }
.rel-item .ap-logo { width: 24px; height: 24px; font-size: 12px; }

/* ===== 404 / 安装 ===== */
.err { text-align: center; padding: 110px 24px; }
.err-code { font-size: clamp(72px, 11vw, 120px); font-weight: 900; line-height: 1; color: var(--dark); letter-spacing: -.04em; }
.err-code span { animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.err h1 { margin: 14px 0 8px; font-size: 21px; }
.err p { color: var(--ink2); font-size: 13.5px; margin-bottom: 24px; }
.install { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.install-card { max-width: 560px; width: 100%; }
.install h1 { margin-bottom: 12px; font-size: 22px; }

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--line); background: #fff; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 28px; padding: 42px 24px 34px; }
.foot-logo { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.foot-desc { font-size: 12.5px; color: var(--ink3); max-width: 360px; line-height: 1.8; }
.foot-grid h5 { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink2); margin-bottom: 10px; text-transform: uppercase; }
.foot-grid div a { display: block; font-size: 12.5px; color: var(--ink3); padding: 3px 0; transition: color .2s; }
.foot-grid div a:hover { color: var(--ink); }
.foot-copy { border-top: 1px solid var(--line); padding: 16px 24px; text-align: center; font-size: 11.5px; color: var(--ink3); }

/* ===== 响应式 ===== */
.desktop-only { display: block; }
.mobile-only { display: none; }
@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  .hero-card { grid-template-columns: 1fr; padding: 30px; }
  .hc-stats { grid-template-columns: repeat(4, 1fr); }
  .stat-tile b { font-size: 20px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid.three { grid-template-columns: repeat(2, 1fr); }
  .ad-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
  .header-in { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .header-act { margin-left: auto; }
  .filter-row { flex-wrap: wrap; }
  .num-field { width: calc(50% - 5px); }
  .search-field { flex: 1 1 100%; }
  .filter-row .btn-dark { width: 100%; }
  .side-ranks, .risk-grid, .report-grid, .foot-grid, .scene-grid { grid-template-columns: 1fr 1fr; }
  .report-head .report-score { margin-left: 0; }
  .hc-stats { grid-template-columns: repeat(2, 1fr); }
  .cg-label { width: 100%; padding-top: 0; }
  .chip-group { flex-direction: column; gap: 6px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid.three { grid-template-columns: 1fr; }
  .ad-grid, .tool-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ad-grid, .tool-grid, .why-grid, .scene-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 24px 20px; }
  .hc-stats { grid-template-columns: 1fr 1fr; }
  .btn-login { display: none; }
}
