:root{
  --primary:#1a5cff;
  --primary-dark:#0a4ad0;
  --primary-light:#e9edff;
  --bg-body:#f4f6f9;
  --bg-white:#ffffff;
  --bg-soft:#f8faff;
  --text-dark:#1e1e2a;
  --text-mid:#2d2d3f;
  --text-light:#6b6b80;
  --border-light:#e6eaf0;
  --shadow-sm:0 1px 4px rgba(0,0,0,.04);
  --shadow-md:0 4px 16px rgba(0,0,0,.07);
  --shadow-lg:0 12px 40px rgba(0,0,0,.12);
  --radius:10px;
  --radius-sm:6px;
  --header-h:64px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --mono:"SF Mono",ui-monospace,Consolas,"Liberation Mono",monospace;
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
ul,ol{list-style:none}
button{font-family:inherit}
[hidden]{display:none !important}

/* 键盘可见焦点 */
:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:2px}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:3000;
  background:var(--primary);color:#fff;padding:10px 18px;border-radius:0 0 var(--radius-sm) 0;
  font-size:14px;font-weight:600;
}
.skip-link:focus{left:0}

/* 阅读进度 */
.progress{
  position:fixed;top:0;left:0;height:3px;width:0;
  background:linear-gradient(90deg,var(--primary),#6c4dff);
  z-index:2000;transition:width .1s linear;
}

/* ============================================================
   面包屑
   ============================================================ */
   .main-header {
    background: var(--bg-white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.breadcrumb-wrap {
    background: var(--bg-white);
    padding: 12px 0;
}
.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
}
.breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep {
    margin: 0 8px;
    font-size: 12px;
    color: var(--border-light);
}
.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ==================================================================
   4. 专题头图区
   ================================================================== */
.hero{padding:20px 0 0}
.hero-card{
  background:var(--bg-white);
  display:grid;
  grid-template-columns:1.66fr 1fr;
  overflow:hidden;
}
.hero-main{padding:34px 36px 32px;display:flex;flex-direction:column}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--primary-light);color:var(--primary);
  font-size:12px;font-weight:600;letter-spacing:.2px;
  padding:4px 12px;border-radius:30px;align-self:flex-start;margin-bottom:16px;
}
.eyebrow .dot{width:5px;height:5px;border-radius:50%;background:var(--primary)}
.hero h1{
  font-size:36px;line-height:1.24;letter-spacing:-.6px;font-weight:800;color:var(--text-dark);
}
.hero h1 em{font-style:normal;color:var(--primary)}
.hero .lead{
  margin-top:14px;font-size:15px;line-height:1.85;color:var(--text-mid);
}
.hero-meta{
  display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:20px;
  font-size:12.5px;color:var(--text-light);
}
.hero-meta span{display:inline-flex;align-items:center;gap:6px;align-items: baseline;}
.hero-meta em{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.btn{
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 22px;border-radius:30px;font-size:14px;font-weight:600;
  transition:all .2s;border:1px solid transparent;
}
.btn em{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-primary{background:var(--primary);color:#fff;}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-ghost{border-color:var(--border-light);color:var(--text-mid);background:#fff}
.btn-ghost:hover{border-color:var(--primary);color:var(--primary)}

/* 右侧收录面板 */
.hero-side{
  background:linear-gradient(170deg,#f7f9ff,#eef3ff);
  border-left:1px solid var(--border-light);
  padding:30px 28px;display:flex;flex-direction:column;
}
.hero-side h2{
  font-size:13px;font-weight:700;color:var(--text-light);
  letter-spacing:.6px;text-transform:uppercase;margin-bottom:14px;
}
.tool-chips{display:flex;flex-wrap:wrap;gap:7px}
.tool-chips li{
  background:#fff;border:1px solid var(--border-light);
  font-size:12.5px;color:var(--text-mid);font-weight:500;
  padding:4px 11px;border-radius:30px;white-space:nowrap;
  box-shadow:0 1px 2px rgba(26,92,255,.05);
  list-style:none;
}
.tool-chips li.more{background:transparent;border-style:dashed;color:var(--text-light)}
.cnt-link{
  display:inline-flex;align-items:center;gap:5px;
  margin-top:18px;padding-top:16px;border-top:1px solid #dde5f7;
  color:var(--primary);font-size:13.5px;font-weight:600;
}
.cnt-link em{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.cnt-link:hover em{transform:translateX(3px)}
.hero-facts{margin-top:auto;padding-top:20px;display:flex;flex-direction:column;gap:10px}
.fact{display:flex;gap:9px;font-size:12.5px;line-height:1.55;color:var(--text-mid)}
.fact b{color:var(--primary);font-size:15px;font-family:var(--mono);font-weight:700;line-height:1.2;flex-shrink:0;min-width:26px}

/* ==================================================================
   5. 吸顶章节导航
   ================================================================== */
.subnav{
  position:sticky;top:var(--header-h);z-index:900;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-light);
  margin-top:20px;
}
.subnav .container{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}
.subnav .container::-webkit-scrollbar{display:none}
.subnav a{
  position:relative;flex-shrink:0;
  font-size:14px;font-weight:600;color:var(--text-light);
  padding:13px 14px;transition:color .2s;white-space:nowrap;
}
.subnav a:hover{color:var(--text-dark)}
.subnav a::after{
  content:"";position:absolute;left:14px;right:14px;bottom:0;height:2.5px;
  background:var(--primary);border-radius:2px;transform:scaleX(0);
  transition:transform .25s ease;
}
.subnav a.is-active{color:var(--primary)}
.subnav a.is-active::after{transform:scaleX(1)}
.subnav .nav-count{
  font-size:11px;font-family:var(--mono);color:var(--text-light);
  background:var(--bg-body);border-radius:20px;padding:1px 7px;margin-left:2px;
}
.subnav a.is-active .nav-count{background:var(--primary-light);color:var(--primary)}

/* ==================================================================
   6. 通用区块标题
   ================================================================== */
.section{margin-top:20px;}
.section-header{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
  background:var(--bg-white);padding:18px 22px;margin-top:0;
  border-bottom: 1px solid var(--border-light);
}
.section-header h2{
  font-size:19px;font-weight:700;display:flex;align-items:center;gap:9px;letter-spacing:-.2px;
}
.section-header h2 .bar{
  width:4px;height:18px;border-radius:2px;background:var(--primary);flex-shrink:0;
}
.section-header .more{font-size:13.5px;color:var(--text-light);transition:color .2s;display:inline-flex;align-items:center;gap:5px}
.section-header .more:hover{color:var(--primary)}
.section-header .more em{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.section-body{background:var(--bg-white);padding:24px 22px 26px}

/* ---------- 进展时间线 ---------- */
.tl{margin:2px 0 4px}
.tl-item{display:grid;grid-template-columns:86px 26px minmax(0,1fr);align-items:start;padding-bottom:12px}
.tl-date{
  grid-column:1;grid-row:1;padding:15px 8px 0 0;text-align:right;
  font-family:var(--mono);font-size:11px;letter-spacing:-.2px;color:var(--text-light);white-space:nowrap;
}
.tl-axis{grid-column:2;grid-row:1;position:relative;align-self:stretch;display:flex;justify-content:center}
.tl-axis::before{
  content:"";position:absolute;left:50%;margin-left:-1px;top:0;bottom:-12px;
  width:2px;background:#e6eaf0;
}
.tl-item:first-child .tl-axis::before{top:17px}
.tl-item:last-child .tl-axis::before{bottom:auto;height:17px}
.tl-dot{
  position:relative;z-index:1;width:11px;height:11px;margin-top:16px;border-radius:50%;
  background:#fff;border:2px solid #c2d1f2;box-shadow:0 0 0 3px #fff;
}
.tl-item.key .tl-dot{border-color:var(--primary);box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(26,92,255,.12)}
.tl-card{
  grid-column:3;grid-row:1;background:var(--bg-white);border:1px solid var(--border-light);
  padding:12px 14px;transition:box-shadow .18s,border-color .18s;
}
.tl-card:hover{border-color:#dbe4f7;}
.tl-top{display:flex;align-items:center;gap:8px;margin-bottom:5px}
.tl-vendor{font-family:var(--mono);font-size:10.5px;font-weight:700;letter-spacing:.5px;color:#9aa1b3}
.tl-status{
  margin-left:auto;font-size:11px;font-weight:600;line-height:18px;
  padding:0 8px;border-radius:30px;white-space:nowrap;
}
.st-ga{background:#e8f6ef;color:#12724a}
.st-beta{background:#e9edff;color:#1443c4}
.st-ent{background:#fff3e4;color:#a4550a}
.st-policy{background:#f0ecff;color:#5a3fc4}
.tl-card h3{font-size:14.5px;font-weight:700;line-height:1.5;margin-bottom:4px}
.tl-card p{font-size:13px;line-height:1.72;color:var(--text-light)}
.tl-card p b{color:var(--text-mid);font-weight:600}

/* ---------- 安全事件复盘卡 ---------- */
.incident-list{display:flex;flex-direction:column;gap:14px}
.incident{
  background:var(--bg-white);border:1px solid var(--border-light);
  border-left:3px solid #f0b429;
  padding:15px 17px 14px;
}
.incident.high{border-left-color:#e5484d}
.incident:hover{border-color:#dbe4f7;}
.inc-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:7px}
.inc-idx{
  font-family:var(--mono);font-size:11px;font-weight:700;color:#fff;
  background:#c9cfdb;border-radius:5px;line-height:18px;padding:0 5px;
}
.incident.high .inc-idx{background:#e5484d}
.inc-head h3{font-size:15px;font-weight:700;line-height:1.5;flex:0 1 auto;max-width:100%}
.sev{font-size:11px;font-weight:700;line-height:19px;padding:0 8px;border-radius:30px;white-space:nowrap}
.sev.high{background:#fdeced;color:#b3261e}
.sev.mid{background:#fff4e5;color:#a4550a}
.inc-date{margin-left:auto;font-family:var(--mono);font-size:11.5px;color:var(--text-light)}
.inc-lead{
  font-size:13.5px;line-height:1.75;color:var(--text-mid);
  background:var(--bg-soft);border-radius:6px;padding:8px 11px;margin-bottom:11px;
}
.inc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.inc-grid h4{font-size:11px;font-weight:700;letter-spacing:.6px;color:#9aa1b3;margin-bottom:4px}
.inc-grid p{font-size:12.5px;line-height:1.72;color:var(--text-light)}
.inc-lesson{
  margin-top:12px;padding-top:10px;border-top:1px dashed var(--border-light);
  font-size:12.5px;line-height:1.75;color:var(--text-light);
}
.inc-lesson b{color:var(--text-mid);font-weight:700}

@media (min-width:901px){
  /* 目录有 8 条，整栏高于视口；限高并允许栏内滚动，避免滚到末节时顶部被吸顶导航吞掉 */
  .col-right{
    gap:12px;
    overflow-y:auto;
    padding-right:3px;
    scrollbar-width:thin;
    scrollbar-color:#d5dbe8 transparent;
  }
  .col-right::-webkit-scrollbar{width:6px}
  .col-right::-webkit-scrollbar-thumb{background:#d5dbe8;border-radius:3px}
  .col-right::-webkit-scrollbar-track{background:transparent}
  .col-right .rail-card{padding:16px 18px 17px}
  .col-right .rail-card h2{margin-bottom:10px}
  .col-right .toc a{padding:5px 10px;font-size:13px}
  .col-right .keypoints{gap:9px}
  .col-right .keypoints li{font-size:12.5px;line-height:1.7}
}

/* ==================================================================
   7. 数据概览
   ================================================================== */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}
.stat-card{
  border:1px solid var(--border-light);
  padding:14px 16px;background:var(--bg-soft);
  transition:border-color .2s,background .2s;
}
.stat-card:hover{border-color:#cfdcff;background:#fff}
.stat-card .num{
  font-family:var(--mono);font-size:26px;font-weight:700;line-height:1.1;color:var(--text-dark);
  letter-spacing:-.5px;
}
.stat-card .num small{font-size:13px;font-weight:600;color:var(--text-light);margin-left:3px;font-family:var(--font)}
.stat-card .label{font-size:12.5px;color:var(--text-light);margin-top:4px}
.stat-card.accent{background:var(--primary-light);border-color:#d5e0ff}
.stat-card.accent .num{color:var(--primary)}

.prose p{font-size:15px;line-height:1.92;color:var(--text-mid);margin-bottom:14px}
.prose p:last-child{margin-bottom:0}
.prose strong{color:var(--text-dark);font-weight:700}
.prose .hl{background:linear-gradient(180deg,transparent 62%,#d9e4ff 62%);padding:0 2px}

.notice{
  display:flex;gap:10px;align-items: baseline;
  background:var(--bg-soft);border:1px solid var(--border-light);border-left:3px solid var(--primary);
  padding:12px 15px;margin-top:18px;
  font-size:13px;line-height:1.75;color:var(--text-light);
}
.notice em{width:15px;height:15px;flex-shrink:0;margin-top:3px;fill:none;color:var(--primary);}
.notice b{color:var(--text-mid)}

/* ==================================================================
   8. 评分榜单表格
   ================================================================== */
.table-wrap{overflow-x:auto;border:1px solid var(--border-light);}
.table-wrap:focus-visible{outline-offset:3px}
table{width:100%;border-collapse:collapse;font-size:14px}
caption{
  text-align:left;padding:10px;font-size:13px;color:var(--text-light);
}
thead th{
  background:var(--bg-soft);text-align:left;font-size:12.5px;font-weight:600;color:var(--text-light);
  padding:11px 14px;border-bottom:1px solid var(--border-light);white-space:nowrap;
  position:sticky;top:0;z-index:1;
}
tbody td{padding:12px 14px;border-bottom:1px solid #eef1f6;vertical-align:middle}
tbody tr:last-child td{border-bottom:none}
tbody tr{transition:background .15s}
tbody tr:hover{background:#f7f9ff}
td.name{font-weight:600;color:var(--text-dark);white-space:nowrap}
td.name .sub{display:block;font-weight:400;font-size:12px;color:var(--text-light);margin-top:1px}
.rank{
  display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;border-radius:6px;
  font-family:var(--mono);font-size:11.5px;font-weight:700;color:#fff;background:#c9cfdb;
}
.rank.r1{background:linear-gradient(135deg,#ff5b5b,#ff2d55)}
.rank.r2{background:linear-gradient(135deg,#ff9f43,#ff7a18)}
.rank.r3{background:linear-gradient(135deg,#ffc94b,#f6a700)}
.type-pill{
  display:inline-block;font-size:11.5px;font-weight:600;line-height:20px;
  padding:0 9px;border-radius:30px;white-space:nowrap;
}
.t-ide{background:#e9edff;color:#1443c4}
.t-cli{background:#f0ecff;color:#5a3fc4}
.t-plugin{background:#e8f6ef;color:#12724a}
.t-model{background:#fff3e4;color:#a4550a}
/* 分数字在前、进度条在后（窄屏被裁切时仍能读到分数） */
.score{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:9px;min-width:112px}
.score .bar{flex:1;height:5px;border-radius:3px;background:#eef1f6;overflow:hidden}
.score .bar em{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#5b8bff,var(--primary))}
.score b{font-family:var(--mono);font-size:13.5px;font-weight:700;width:32px;text-align:left}
td.dim{color:var(--text-light);font-size:13px;white-space:nowrap}
td.price{font-family:var(--mono);font-size:13px;color:var(--text-mid);white-space:nowrap}

/* ==================================================================
   9. 工具逐评卡片
   ================================================================== */
.filter-bar{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  margin:-4px 0 20px;
}
.filter-bar .label{font-size:13px;color:var(--text-light);margin-right:2px}
.chip{
  background:#fff;border:1px solid var(--border-light);border-radius:30px;
  padding:5px 15px;font-size:13px;font-weight:500;color:var(--text-mid);
  cursor:pointer;transition:all .18s;
}
.chip:hover{border-color:#b9caff;color:var(--primary)}
.chip.is-active{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}
.chip small{font-family:var(--mono);font-size:11px;opacity:.7;margin-left:4px}
.result-count{margin-left:auto;font-size:12.5px;color:var(--text-light)}
.result-count b{color:var(--text-dark);font-family:var(--mono)}

.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.review-card{
  border:1px solid var(--border-light);
  padding:18px 18px 14px;display:flex;flex-direction:column;
  background:#fff;transition:box-shadow .22s,transform .22s,border-color .22s;
}
.review-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);border-color:#dbe4f7}
.rv-head{display:flex;align-items:center;gap:11px}
.rv-logo{
  width:42px;height:42px;border-radius:9px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:13px;font-weight:800;letter-spacing:-.5px;color:#fff;
}
.lg-ide{background:linear-gradient(135deg,#1a5cff,#4b7dff)}
.lg-cli{background:linear-gradient(135deg,#5a3fc4,#8069e0)}
.lg-plugin{background:linear-gradient(135deg,#12724a,#2fa174)}
.lg-model{background:linear-gradient(135deg,#a4550a,#d1832c)}
.t-image{background:#e8f6ef;color:#12724a}
.t-video{background:#e9edff;color:#1443c4}
.t-omni{background:#f0ecff;color:#5a3fc4}
.lg-image{background:linear-gradient(135deg,#12724a,#2fa174)}
.lg-video{background:linear-gradient(135deg,#1a5cff,#4b7dff)}
.lg-omni{background:linear-gradient(135deg,#5a3fc4,#8069e0)}
.t-orch{background:#e9edff;color:#1443c4}
.t-plat{background:#f0ecff;color:#5a3fc4}
.t-exec{background:#e8f6ef;color:#12724a}
.lg-orch{background:linear-gradient(135deg,#1a5cff,#4b7dff)}
.lg-plat{background:linear-gradient(135deg,#5a3fc4,#8069e0)}
.lg-exec{background:linear-gradient(135deg,#12724a,#2fa174)}
.rv-title{flex:1;min-width:0}
.rv-title h3{font-size:15.5px;font-weight:700;line-height:1.3;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rv-score{flex-shrink:0;text-align:right;font-family:var(--mono)}
.rv-score b{font-size:20px;font-weight:700;letter-spacing:-.5px}
.rv-score em{font-style:normal;font-size:11px;color:var(--text-light);margin-left:1px}
.rv-verdict{
  margin-top:13px;font-size:14.5px;line-height:1.7;font-weight:600;color:var(--text-dark);
  padding-left:11px;border-left:3px solid var(--primary-light);
}
.rv-points{margin-top:12px;display:flex;flex-direction:column;gap:7px;flex:1}
.rv-points li{
  position:relative;padding-left:19px;font-size:13.5px;line-height:1.72;color:var(--text-mid);
list-style:none;
}
.rv-points li::before{
  content:"";position:absolute;left:0;top:7px;width:11px;height:6px;
  border-left:1.8px solid var(--primary);border-bottom:1.8px solid var(--primary);
  transform:rotate(-45deg);
}
.rv-weak{
  margin-top:13px;font-size:12.5px;line-height:1.7;color:#8a5a12;
  background:#fffaf0;padding:8px 11px;
  display:flex;gap:7px;align-items: baseline;
}
.rv-weak em{width:13px;height:13px;flex-shrink:0;fill:none;stroke:#c98a1e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rv-weak b{font-weight:700;color:#7a4d0c}
.rv-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;
  margin-top:13px;padding-top:11px;border-top:1px solid var(--border-light);
  font-size:12px;color:var(--text-light);
}
.rv-meta .price{font-family:var(--mono);color:var(--text-mid);font-weight:600}
.rv-meta a{margin-left:auto;color:var(--primary);font-weight:600;display:inline-flex;align-items:center;gap:3px}
.rv-meta a em{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ==================================================================
   10. 场景选型
   ================================================================== */
.scene-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.scene{
  border:1px solid var(--border-light);
  padding:18px 18px 16px;background:#fff;transition:border-color .2s,box-shadow .2s;
}
.scene:hover{border-color:#cfdcff;box-shadow:var(--shadow-sm)}
.scene-tag{font-size:11.5px;font-weight:700;color:var(--primary);letter-spacing:.5px;margin-bottom:7px;display:block}
.scene h3{font-size:16px;font-weight:700;line-height:1.4;margin-bottom:6px}
.scene .pick{
  display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 11px;
}
.pick span{
  background:var(--primary-light);color:#1443c4;font-size:12px;font-weight:600;
  border-radius:30px;padding:3px 11px;
}
.scene p{font-size:13.5px;line-height:1.75;color:var(--text-light)}
.scene p b{color:var(--text-mid);font-weight:600}

/* ==================================================================
   11. 实践原则（步骤）
   ================================================================== */
.step-list{display:flex;flex-direction:column;gap:0}
.step{
  display:grid;grid-template-columns:44px 1fr;gap:16px;
  padding:16px 0;border-bottom:1px dashed var(--border-light);
}
.step:first-child{padding-top:2px}
.step:last-child{border-bottom:none;padding-bottom:2px}
.step-num{
  font-family:var(--mono);font-size:13px;font-weight:700;color:var(--primary);
  background:var(--primary-light);border-radius:8px;height:30px;
  display:flex;align-items:center;justify-content:center;letter-spacing:0;
}
.step h3{font-size:15px;font-weight:700;line-height:1.5;margin-bottom:4px}
.step p{font-size:13.5px;line-height:1.8;color:var(--text-light)}
.step p code{
  font-family:var(--mono);font-size:12.5px;background:var(--bg-body);
  border:1px solid var(--border-light);border-radius:4px;padding:1px 5px;color:var(--text-mid);
}

/* ==================================================================
   12. 避坑清单
   ================================================================== */
.pitfall-list{display:flex;flex-direction:column;gap:10px}
.pitfall{
  display:flex;gap:12px;align-items:flex-start;
  border-left:3px solid #e45757;
  background:#fffbfb;padding:13px 16px;
}
.pitfall .idx{
  font-family:var(--mono);font-size:12px;font-weight:700;color:#c53b3b;
  background:#fdeaea;border-radius:5px;width:24px;height:22px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
.pitfall h3{font-size:14px;font-weight:700;margin-bottom:3px}
.pitfall p{font-size:13px;line-height:1.75;color:var(--text-light)}
.pitfall p b{color:#a33b3b;font-weight:600}

/* 结语 */
.closing{
  margin-top:24px;padding:22px 24px;
  background:linear-gradient(135deg,#1a5cff,#6c4dff);color:#fff;
  display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;
}
.closing h3{font-size:17px;font-weight:700;margin-bottom:4px}
.closing p{font-size:13.5px;line-height:1.7;opacity:.9;max-width:62ch}
.closing .btn-white{
  background:#fff;color:var(--primary);padding:8px 24px;border-radius:30px;
  font-weight:600;font-size:14px;white-space:nowrap;transition:transform .15s;
}
.closing .btn-white:hover{transform:scale(1.03)}

/* ==================================================================
   13. 两栏 + 侧栏
   ================================================================== */
.two-col{display:grid;grid-template-columns:2.62fr 1fr;gap:24px;align-items:start;}
.col-left{min-width:0}
.col-right{display:flex;flex-direction:column;gap:16px;position:sticky;}
.rail-card{background:var(--bg-white);padding:18px 20px 20px}
.rail-card h2{font-size:15px;font-weight:700;display:flex;align-items:center;gap:7px;margin-bottom:12px}
.rail-card h2 em{width:15px;height:15px;fill:none;color:var(--primary);}
.toc{display:flex;flex-direction:column;gap:1px}
.toc a{
  font-size:13.5px;color:var(--text-light);padding:7px 10px;
  border-left:2px solid transparent;transition:all .18s;display:flex;justify-content:space-between;gap:8px;
}
.toc a:hover{background:var(--bg-soft);color:var(--text-dark)}
.toc a.is-active{color:var(--primary);background:var(--primary-light);border-left-color:var(--primary);font-weight:600}
.toc a span{font-family:var(--mono);font-size:11px;opacity:.65}

.keypoints{display:flex;flex-direction:column;gap:11px}
.keypoints li{position:relative;padding-left:20px;font-size:13px;line-height:1.75;color:var(--text-mid);list-style:none;}
.keypoints li::before{
  content:"";position:absolute;left:0;top:7px;width:7px;height:7px;border-radius:2px;
  background:var(--primary-light);border:1.5px solid var(--primary);
}

/* 相关专题（延续站点专题卡样式） */
.rel-list{display:flex;flex-direction:column;gap:0}
.rel-card{
  display:block;padding:13px 0;border-bottom:1px solid var(--border-light);
  transition:padding-left .2s;
}
.rel-card:first-child{padding-top:2px}
.rel-card:last-child{border-bottom:none;padding-bottom:0}
.rel-card:hover{padding-left:4px}
.rel-card h3{font-size:14.5px;font-weight:700;line-height:1.45;margin-bottom:5px;transition:color .2s}
.rel-card:hover h3{color:var(--primary)}
.rel-card p{
  font-size:12.5px;line-height:1.65;color:var(--text-light);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.rel-card .cnt{display:inline-block;margin-top:7px;font-size:12.5px;color:var(--primary);font-weight:600}

/* 数据说明 */
.method-note{margin-top:22px;padding-top:16px;border-top:1px solid var(--border-light);font-size:12.5px;line-height:1.85;color:var(--text-light)}
.method-note b{color:var(--text-mid)}
.method-note .upd{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-family:var(--mono);font-size:11.5px}

/* ==================================================================
  份额格局：条形图
   ================================================================== */
.share-list{
  display:flex;flex-direction:column;gap:11px;
  padding:18px 20px;border:1px solid var(--border-light);border-radius:var(--radius-sm);
  background:var(--bg-soft);
}
.share-row{
  display:grid;grid-template-columns:92px 1fr 54px 62px;
  align-items:center;gap:12px;
}
.sh-name{font-size:13.5px;font-weight:600;color:var(--text-dark);white-space:nowrap}
.sh-bar{height:10px;border-radius:5px;background:#e9edf5;overflow:hidden}
.sh-bar em{display:block;height:100%;border-radius:5px;font-style:normal}
.sh-bar em.b-na{background:linear-gradient(90deg,#9aabc9,#6b82ab)}
.sh-bar em.b-cn{background:linear-gradient(90deg,#5b8bff,var(--primary))}
.sh-bar em.b-cn2{background:linear-gradient(90deg,#93b3ff,#5b8bff)}
.sh-bar em.b-other{background:#c7d2e8}
.sh-val{font-family:var(--mono);font-size:14px;font-weight:700;color:var(--text-dark);text-align:right}
.sh-delta{font-family:var(--mono);font-size:11.5px;text-align:right;white-space:nowrap}
.sh-delta.up{color:#12724a}
.sh-delta.down{color:#c53b3b}
.share-foot{
  display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:space-between;
  margin-top:10px;font-size:12.5px;color:var(--text-light);
}
.share-foot strong{color:var(--primary);font-weight:700}

/* ==================================================================
   14. 更多专题（延续站点专题聚合卡样式）
   ================================================================== */

.more-topics{margin-top:30px}
.topic-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:16px}
.topic-text-card{
  background:var(--bg-white);border:1px solid var(--border-light);
  padding:18px 18px 16px;display:flex;flex-direction:column;
  transition:box-shadow .25s,transform .25s,border-color .25s;
}
.topic-text-card:hover{transform:translateY(-3px);border-color:#d5e0ff}
.topic-text-card h3{
  font-size:15.5px;font-weight:700;line-height:1.45;margin-bottom:7px;transition:color .2s;
}
.topic-text-card:hover h3{color:var(--primary)}
.topic-text-card p{
  font-size:13px;line-height:1.7;color:var(--text-light);flex:1;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.topic-text-card .cnt{
  margin-top:12px;padding-top:11px;border-top:1px solid var(--border-light);
  font-size:12.5px;font-weight:600;color:var(--primary);
  display:inline-flex;align-items:center;gap:4px;
}
.topic-text-card .cnt em{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.topic-text-card:hover .cnt em{transform:translateX(3px)}

/* 表格移动端提示 */
.table-hint{display:none;font-size:12px;color:var(--text-light);margin-bottom:8px}

/* 回到顶部 */
.to-top{
  position:fixed;right:22px;bottom:26px;width:42px;height:42px;border-radius:50%;
  background:#fff;border:1px solid var(--border-light);box-shadow:var(--shadow-md);
  color:var(--text-mid);display:flex;align-items:center;justify-content:center;
  cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:all .25s;z-index:800;
}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{color:var(--primary);border-color:var(--primary)}
.to-top em{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ==================================================================
   15. 响应式
   ================================================================== */
@media (max-width:1180px){
  .hero-card{grid-template-columns:1.5fr 1fr}
  .hero-main{padding:28px 26px}
  .hero h1{font-size:31px}
  .two-col{grid-template-columns:1fr}
  .col-right{position:static;flex-direction:row;flex-wrap:wrap}
  .col-right .rail-card{flex:1 1 280px}
  .topic-strip{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .hero-card{grid-template-columns:1fr}
  .hero-side{border-left:none;border-top:1px solid var(--border-light);padding:22px 24px}
  .hero-facts{flex-direction:row;flex-wrap:wrap;gap:14px 24px;padding-top:16px}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .review-grid,.scene-grid{grid-template-columns:1fr}
  .footer-cols{gap:28px}
}
@media (max-width:768px){
  :root{--header-h:56px}
  .container{padding:0 16px}
  .main-nav{
    display:none;flex-direction:column;align-items:stretch;
    position:absolute;top:calc(100% + 6px);left:0;right:0;
    background:#fff;padding:10px 16px 16px;gap:2px;
    border:1px solid var(--border-light);border-top:none;
    border-radius:0 0 var(--radius) var(--radius);
    box-shadow:0 12px 40px rgba(0,0,0,.12);
  }
  .main-nav.open{display:flex}
  .main-nav a{padding:11px 4px;border-bottom:1px solid var(--border-light);font-size:15px}
  .main-nav a:last-child{border-bottom:none}
  .main-nav a.active::after{display:none}
  .main-nav a.active{font-weight:600}
  .hamburger{display:flex}
  .logo-text{font-size:18px}
  .logo-tag{font-size:10px;padding:0 8px}
  .hero h1{font-size:26px;letter-spacing:-.4px}
  .hero .lead{font-size:14px;line-height:1.8}
  .hero-main{padding:22px 20px 24px}
  .hero-meta{font-size:12px;gap:6px 14px}
  .btn{padding:8px 18px;font-size:13.5px}
  .section-header{padding:15px 16px}
  .section-header h2{font-size:17px}
  .section-body{padding:18px 16px 20px}
  .prose p{font-size:14.5px;line-height:1.85}
  .review-card{padding:16px 15px 13px}
  .filter-bar .label{display:none}
  .chip{padding:5px 12px;font-size:12.5px}
  .chip small{margin-left:3px}
  .result-count{margin-left:0;width:100%}
  .table-hint{display:block}
  table{min-width:820px;font-size:13px}
  thead th,tbody td{padding:10px 12px}
  .closing{padding:18px 20px}
  .footer{padding:30px 0 20px}
  .to-top{right:14px;bottom:16px;width:38px;height:38px}
}
@media (max-width:480px){
  .topbar-left{font-size:11.5px;gap:10px}
  .topbar-left .hide-xs{display:none}
  .topbar-right{font-size:11.5px}
  .logo-tag{display:none}
  .hero h1{font-size:23px}
  .stat-grid{grid-template-columns:1fr 1fr;gap:10px}
  .stat-card .num{font-size:22px}
  .step{grid-template-columns:36px 1fr;gap:12px}
  .rv-score b{font-size:18px}
  .topic-strip{grid-template-columns:1fr}
}