
/* ============ 设计令牌 ============ */
:root{
  --bg:#edf0f8;
  --card:#ffffff;
  --ink:#141720;
  --ink-2:#5c6472;
  --muted:#8b919c;
  --blue:#2b52ff;
  --blue-soft:#eaf0ff;
  --line:#e7eaf3;
  --shadow:0 1px 2px rgba(22,30,64,.04), 0 14px 30px -22px rgba(22,30,64,.45);
  --r-card:16px;
  --r-tile:9px;
}

*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
input{font:inherit}
img{max-width:100%}

/* ============ Hero ============ */
.hero{
  position:relative;
  text-align:center;
  padding:44px 16px 26px;
  background:
    radial-gradient(130% 100% at 50% -34%, #ffffff 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#f6f8fe 0%, rgba(246,248,254,0) 100%);
  border-bottom:1px solid #e6eaf5;
}
@media (min-width:768px){.hero{padding:70px 28px 34px}}
@media (min-width:1200px){.hero{padding:84px 40px 40px}}

.hero-mark{
  width:52px;height:52px;display:block;margin:0 auto;
  filter:drop-shadow(0 12px 20px rgba(43,62,255,.26));
}
@media (min-width:768px){.hero-mark{width:72px;height:72px}}

.hero h1{
  margin:20px 0 0;
  font-size:clamp(40px,7.2vw,74px);
  line-height:1.02;
  letter-spacing:-.02em;
  font-weight:800;
}
.hero-sub{
  margin:22px auto 0;max-width:620px;
  font-size:14.5px;line-height:1.8;color:var(--ink-2);
}
@media (min-width:768px){.hero-sub{font-size:15.5px}}
.hero-stat{
  margin:15px 0 0;
  font-size:12px;color:#98a0ad;letter-spacing:.09em;
}
.hero-stat b{color:var(--ink);font-weight:700;font-size:13.5px;letter-spacing:0}

/* 居中搜索 */
.search{
  display:flex;align-items:center;gap:10px;
  max-width:600px;margin:26px auto 0;
  height:52px;padding:0 16px;
  background:#fff;border:1px solid #e3e8f3;border-radius:14px;
  box-shadow:0 10px 26px -20px rgba(22,30,64,.6);
  transition:border-color .16s ease, box-shadow .16s ease;
}
.search:focus-within{border-color:#c3d0f8;box-shadow:0 12px 30px -18px rgba(43,82,255,.5)}
.search svg{width:18px;height:18px;flex:none;opacity:.5}
.search input{
  flex:1;min-width:0;height:100%;border:0;background:none;outline:none;
  font-size:16px;color:var(--ink);
}
.search input::placeholder{color:#a4aab6}
.search .clear{display:none;width:22px;height:22px;border-radius:50%;background:#e3e8f2;color:#5c6472;font-size:12px;line-height:22px;text-align:center;flex:none}
.search.has .clear{display:block}

/* ============ 主体 ============ */
.wrap,.container{max-width:1200px;margin:0 auto;padding:24px 24px 56px}
@media (min-width:768px){.wrap,.container{padding:32px 32px 64px}}
@media (min-width:1200px){.wrap,.container{padding:36px 40px 72px}}

/* 分类导航 */
.pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:1000px;margin:24px auto 0;padding:12px 16px;background:#fff;border:1px solid #e8ebf5;border-radius:16px;box-shadow:0 2px 8px rgba(79,70,229,.06)}
.pill{
  padding:7px 14px;border-radius:20px;
  font-size:13px;font-weight:500;color:#525a68;
  background:#fff;border:1px solid #e8ebf5;
  transition:all .2s ease;
  display:inline-flex;align-items:center;gap:4px;
}
.pill:hover{color:#4f46e5;background:#f0f3ff;border-color:#c7d2fe}
.pill[aria-pressed="true"],.pill.active{color:#fff;font-weight:600;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-color:transparent;box-shadow:0 2px 8px rgba(79,70,229,.2)}
.pill:focus-visible{outline:2px solid #b9c8ff;outline-offset:3px}

/* ============ 卡片栅格 ============ */
.grid{
  margin-top:16px;
  display:grid;grid-template-columns:1fr;gap:14px;
}
@media (min-width:720px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (min-width:1080px){.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:18px}}

/* 筛选后卡片数量变少时：整体居中、卡片加宽，避免挤在左侧 */
@media (min-width:720px){
  .grid.f1{grid-template-columns:minmax(0,600px);justify-content:center}
  .grid.f2{grid-template-columns:repeat(2,minmax(0,470px));justify-content:center}
  .grid.f3{grid-template-columns:repeat(3,minmax(0,380px));justify-content:center}
  .grid.f4{grid-template-columns:repeat(4,minmax(0,380px));justify-content:center}
}

.card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
  border:1px solid #eef0f8;
  padding:20px 18px 16px;
  min-width:0;
  transition:all .25s cubic-bezier(.4,0,.2,1);
  position:relative;
  overflow:hidden;
}
.card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:var(--card-accent,linear-gradient(90deg,#4f46e5,#7c3aed));
  opacity:.85;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(79,70,229,0.1);
  border-color:#d8dcff;
}
.card-footer{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:14px;padding-top:14px;border-top:1px solid #f0f0ff;
}
.enter-btn{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 18px;border-radius:20px;
  background:linear-gradient(135deg,#5b5bf0,#7c3aed);
  color:#fff !important;font-size:13px;font-weight:600;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(91,91,240,0.25);
  transition:all 0.2s;
}
.enter-btn:hover{
  box-shadow:0 6px 20px rgba(91,91,240,0.4);
  transform:translateX(2px);
}
@media (min-width:1080px){.card{padding:24px 20px 18px}}

/* 每个榜单板块不同颜色 */
.card:nth-child(1){--card-accent:linear-gradient(90deg,#f59e0b,#f97316);--bar-color:linear-gradient(180deg,#fbbf24,#f97316)}
.card:nth-child(2){--card-accent:linear-gradient(90deg,#ef4444,#f43f5e);--bar-color:linear-gradient(180deg,#f87171,#f43f5e)}
.card:nth-child(3){--card-accent:linear-gradient(90deg,#8b5cf6,#6366f1);--bar-color:linear-gradient(180deg,#a78bfa,#6366f1)}
.card:nth-child(4){--card-accent:linear-gradient(90deg,#ec4899,#f472b6);--bar-color:linear-gradient(180deg,#f472b6,#ec4899)}
.card:nth-child(5){--card-accent:linear-gradient(90deg,#06b6d4,#3b82f6);--bar-color:linear-gradient(180deg,#22d3ee,#3b82f6)}
.card:nth-child(6){--card-accent:linear-gradient(90deg,#10b981,#22c55e);--bar-color:linear-gradient(180deg,#34d399,#22c55e)}
.card:nth-child(7){--card-accent:linear-gradient(90deg,#f97316,#eab308);--bar-color:linear-gradient(180deg,#fb923c,#eab308)}
.card:nth-child(8){--card-accent:linear-gradient(90deg,#6366f1,#8b5cf6);--bar-color:linear-gradient(180deg,#818cf8,#8b5cf6)}
.card:nth-child(9){--card-accent:linear-gradient(90deg,#0ea5e9,#06b6d4);--bar-color:linear-gradient(180deg,#38bdf8,#06b6d4)}
.card:nth-child(10){--card-accent:linear-gradient(90deg,#d946ef,#a855f7);--bar-color:linear-gradient(180deg,#e879f9,#a855f7)}
.card:nth-child(11){--card-accent:linear-gradient(90deg,#84cc16,#22c55e);--bar-color:linear-gradient(180deg,#a3e635,#22c55e)}
.card:nth-child(12){--card-accent:linear-gradient(90deg,#f43f5e,#fb923c);--bar-color:linear-gradient(180deg,#fb7185,#fb923c)}
.card:nth-child(13){--card-accent:linear-gradient(90deg,#3b82f6,#8b5cf6);--bar-color:linear-gradient(180deg,#60a5fa,#8b5cf6)}
.card:nth-child(14){--card-accent:linear-gradient(90deg,#14b8a6,#06b6d4);--bar-color:linear-gradient(180deg,#2dd4bf,#06b6d4)}
.card:nth-child(15){--card-accent:linear-gradient(90deg,#e11d48,#f97316);--bar-color:linear-gradient(180deg,#f43f5e,#f97316)}
.card:nth-child(16){--card-accent:linear-gradient(90deg,#7c3aed,#ec4899);--bar-color:linear-gradient(180deg,#8b5cf6,#ec4899)}
.card:nth-child(17){--card-accent:linear-gradient(90deg,#059669,#10b981);--bar-color:linear-gradient(180deg,#10b981,#34d399)}
.card:nth-child(18){--card-accent:linear-gradient(90deg,#dc2626,#f59e0b);--bar-color:linear-gradient(180deg,#ef4444,#fbbf24)}

.ch{
  display:flex;align-items:center;gap:9px;
  margin:0 0 10px;padding-left:2px;
}
.ch .bar{
  width:4px;height:22px;border-radius:3px;flex:none;
  background:var(--bar-color,linear-gradient(180deg,#5b83ff,#2b52ff));
}
.ch h2{font-size:18px;font-weight:700;margin:0;letter-spacing:-.01em}

.list{display:flex;flex-direction:column;gap:2px}
.row{
  display:grid;
  grid-template-columns:20px 34px minmax(0,1fr) 13px;
  column-gap:10px;align-items:center;
  padding:11px 6px;margin:0 -6px;border-radius:10px;
  transition:background .16s ease;
}
.row:hover{background:#f5f7ff}
.row:focus-visible{outline:2px solid #b9c8ff;outline-offset:0}
.rank{
  font-family:"Times New Roman",Georgia,"Songti SC",serif;
  font-style:italic;font-weight:700;font-size:17px;line-height:1;
  text-align:right;letter-spacing:-.5px;
  padding-right:1px;
}
.r1{background:linear-gradient(180deg,#ff6a45,#dc1c17);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#e8382a}
.r2{background:linear-gradient(180deg,#ff8a45,#e8441a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#ee5b22}
.r3{background:linear-gradient(180deg,#ffb347,#f07417);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#f0901c}
.rx{color:#a8aeb9}

.ic{
  width:34px;height:34px;border-radius:var(--r-tile);
  display:grid;place-items:center;
  font-size:14px;font-weight:700;letter-spacing:-.3px;
  box-shadow:0 1px 2px rgba(20,28,50,.08);
  overflow:hidden;
}
.txt{min-width:0}
.nm{
  display:block;font-size:14px;font-weight:600;color:#191c24;
  line-height:1.35;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ds{
  display:block;font-size:11.5px;color:var(--muted);line-height:1.4;margin-top:1px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.go{width:13px;height:13px;opacity:0;transition:opacity .16s ease;color:#7b83f0}
.row:hover .go,.row:focus-visible .go{opacity:1}
.go svg{width:13px;height:13px;display:block}

.empty{
  display:none;text-align:center;padding:48px 16px;color:var(--ink-2);
  background:#fff;border-radius:var(--r-card);box-shadow:var(--shadow);
}
.empty h3{margin:0 0 6px;font-size:16px;font-weight:600;color:var(--ink)}
.empty p{margin:0;font-size:13.5px}
.empty .again{margin-top:14px;color:var(--blue);font-weight:600;font-size:13px;text-decoration:underline;text-underline-offset:3px}

/* ============ 页脚 ============ */
.foot{
  border-top:1px solid #e2e6f0;
  margin-top:6px;
  padding:54px 24px 76px;
  text-align:center;
  color:#959cab;font-size:12.5px;
}
.foot .fmark{width:28px;height:28px;display:block;margin:0 auto 18px;opacity:.8}
.foot .fc{margin:0;line-height:1.75}
.foot .links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;margin-top:16px}
.foot .links button{color:#7d8494;font-size:12.5px}
.foot .links button:hover{color:var(--ink)}

/* ============ Toast ============ */
.toast{
  position:fixed;left:50%;bottom:28px;z-index:80;
  transform:translate(-50%,14px);
  background:#191d26;color:#fff;font-size:13px;
  padding:9px 16px;border-radius:10px;
  opacity:0;pointer-events:none;transition:all .22s ease;
  max-width:80vw;
}
.toast.on{opacity:1;transform:translate(-50%,0)}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}


/* Prompt cards v2 */
.prompt-card{padding:20px 18px 16px}
.prompt-box{background:#f8f9ff;border-radius:12px;padding:16px;margin-top:8px}
.prompt-section{margin-bottom:12px}
.prompt-section:last-child{margin-bottom:0}
.prompt-label{display:inline-block;font-size:11px;font-weight:700;color:var(--blue);background:var(--blue-soft);padding:2px 8px;border-radius:6px;margin-bottom:6px}
.prompt-section p{margin:0;font-size:13.5px;line-height:1.6;color:#333;white-space:pre-line}
.prompt-section ul{margin:0;padding-left:18px;font-size:13px;line-height:1.7;color:#444}
.prompt-section li{margin-bottom:3px}
.prompt-icon{margin-right:4px}
.copy-btn{display:block;width:100%;margin-top:12px;padding:8px;background:var(--blue);color:#fff;border:none;border-radius:8px;font-size:13px;cursor:pointer;transition:background .2s}
.copy-btn:hover{background:#4a4ae8}

/* 返回顶部按钮 */
.back-to-top{position:fixed;bottom:40px;right:40px;width:48px;height:48px;background:linear-gradient(135deg,#5b5bf0,#7c3aed);color:#fff;border:none;border-radius:50%;font-size:18px;cursor:pointer;box-shadow:0 4px 12px rgba(91,91,240,0.4);display:none;align-items:center;justify-content:center;z-index:999;transition:all .3s}
.back-to-top.show{display:flex}
.back-to-top:hover{transform:translateY(-2px)}

/* ==================================================================
   AI大全 · 扩展频道样式（2026.11）
   沿用 style.css 的设计令牌，仅新增组件，不改动原有类
   ================================================================== */

/* ---------- 频道副导航 ---------- */
.subnav{
  max-width:1200px;margin:0 auto;padding:14px 24px 0;
  display:flex;flex-wrap:wrap;gap:6px;align-items:center;
}
.subnav a{
  padding:6px 12px;border-radius:9px;font-size:12.5px;font-weight:500;
  color:#5c6472;background:#fff;border:1px solid var(--line);
  transition:all .16s ease;white-space:nowrap;
}
.subnav a:hover{color:var(--blue);border-color:#c7d2fe;background:#f5f7ff}
.subnav a.on{
  color:#fff;font-weight:600;border-color:transparent;
  background:linear-gradient(135deg,#4f46e5,#7c3aed);
  box-shadow:0 2px 8px rgba(79,70,229,.22);
}
.subnav .lbl{font-size:12px;color:var(--muted);margin-right:2px;letter-spacing:.04em}

/* ---------- 通用小节 ---------- */
.sec{max-width:1200px;margin:0 auto;padding:36px 24px 0}
.sec-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:6px;flex-wrap:wrap}
.sec-hd h2{font-size:20px;font-weight:750;letter-spacing:-.01em;margin:0;display:flex;align-items:center;gap:9px}
.sec-hd h2 .bar{width:4px;height:20px;border-radius:3px;background:linear-gradient(180deg,#5b83ff,#2b52ff);flex:none}
.sec-hd .more{font-size:12.5px;color:var(--muted)}
.sec-note{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.7}

/* ---------- 徽标 ---------- */
.bd{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:6px;font-size:11px;font-weight:600;line-height:1.6;white-space:nowrap;border:1px solid transparent}
.bd-free{background:#e8f8ef;color:#0a7a45;border-color:#c9efdb}
.bd-freemium{background:#eef3ff;color:#2b52ff;border-color:#d8e2ff}
.bd-paid{background:#fff4e8;color:#a45a09;border-color:#ffe2c2}
.bd-cn{background:#f2f0ff;color:#5b45d6;border-color:#e2ddff}
.bd-global{background:#f1f4f8;color:#5c6472;border-color:#e2e8f0}
.bd-easy{background:#eafaf5;color:#0b7a63;border-color:#cbeee4}
.bd-mid{background:#f4f6fa;color:#54607a;border-color:#e2e7f1}
.bd-hard{background:#fdf0f0;color:#a33737;border-color:#fadede}
.bd-new{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff}

/* ---------- 筛选条 ---------- */
.filters{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:12px 14px;margin:18px 0 0;box-shadow:0 1px 2px rgba(22,30,64,.04);
}
.filters select{
  font:inherit;font-size:13px;color:var(--ink);background:#f8f9fd;
  border:1px solid var(--line);border-radius:9px;padding:7px 10px;outline:none;cursor:pointer;
}
.filters select:focus{border-color:#c3d0f8}
.filters .fl{font-size:12px;color:var(--muted);margin-right:1px}
.filters .cnt{margin-left:auto;font-size:12.5px;color:var(--muted)}
.filters .cnt b{color:var(--ink);font-weight:700}
.filters .reset{font-size:12.5px;color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ---------- 工具卡网格（场景频道用） ---------- */
.tgrid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}
@media(min-width:720px){.tgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1080px){.tgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
.tcard{
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 16px 13px;
  box-shadow:0 1px 2px rgba(22,30,64,.04),0 12px 26px -24px rgba(22,30,64,.5);
  transition:all .18s ease;display:flex;flex-direction:column;
}
.tcard:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(22,30,64,.05),0 18px 34px -24px rgba(43,82,255,.42);border-color:#dfe6fb}
.tcard-hd{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.tcard-hd .ic{width:36px;height:36px;font-size:14px;border-radius:10px;flex:none;display:grid;place-items:center;font-weight:700;letter-spacing:-.3px;box-shadow:0 1px 2px rgba(20,28,50,.08)}
.tcard-hd .meta{min-width:0;flex:1}
.tcard-hd .nm2{display:block;font-size:14.5px;font-weight:700;color:#191c24;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcard-hd .vn{display:block;font-size:11.5px;color:var(--muted);margin-top:1px}
.tcard p{margin:0;font-size:12.8px;line-height:1.65;color:#5c6472;min-height:42px}
.tcard .bds{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}
.tcard .act{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid #f0f3fa}
.tcard .go2{
  flex:none;width:100%;display:block;text-align:center;padding:9px 0;border-radius:9px;font-size:12.5px;font-weight:600;
  color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);transition:opacity .15s;
}
.tcard .go2:hover{opacity:.9}
.tcard .sc{flex:1;text-align:center;padding:6px 0;border-radius:9px;font-size:12px;color:#5c6472;background:#f5f7fd}

/* ---------- 数据对照表 ---------- */
.xtable{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:13px;margin-top:16px;box-shadow:0 1px 2px rgba(22,30,64,.04)}
.xtable th{background:#f6f8fd;text-align:left;padding:11px 13px;font-weight:700;color:var(--ink);border-bottom:1px solid var(--line);font-size:12.5px;white-space:nowrap}
.xtable td{padding:11px 13px;border-bottom:1px solid #f1f4fa;color:#4a5361;vertical-align:top;line-height:1.6}
.xtable tr:last-child td{border-bottom:none}
.xtable tbody tr:hover{background:#f9faff}
.xtable td b{color:var(--ink)}
.xtable .nmc{font-weight:700;color:#191c24;white-space:nowrap}
.xtable .scroll-note{font-size:12px;color:var(--muted);margin-top:8px}
.tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ---------- 对比卡 ---------- */
.vsgrid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:16px}
@media(min-width:900px){.vsgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vs{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(22,30,64,.04),0 14px 30px -26px rgba(22,30,64,.5)}
.vs-top{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #f0f3fa;background:linear-gradient(135deg,#fafbff,#f5f7ff)}
.vs-top .t{font-size:14.5px;font-weight:750;color:#191c24}
.vs-top .tag2{margin-left:auto;font-size:11.5px;color:#7c3aed;font-weight:600;background:#f3f0ff;padding:2px 8px;border-radius:6px}
.vs-body{display:grid;grid-template-columns:1fr 1fr}
.vs-col{padding:13px 15px}
.vs-col+.vs-col{border-left:1px solid #f0f3fa}
.vs-col h4{font-size:13.5px;font-weight:700;margin:0 0 3px;color:#191c24}
.vs-col .pro{font-size:12.5px;line-height:1.7;color:#0a7a45;margin:6px 0 0}
.vs-col .con{font-size:12.5px;line-height:1.7;color:#a33737;margin:5px 0 0}
.vs-col .lb{display:block;font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.05em;margin-bottom:2px}
.vs-foot{padding:11px 16px;border-top:1px solid #f0f3fa;background:#fcfdff;font-size:12.5px;color:#4a5361;line-height:1.65}
.vs-foot b{color:#191c24}
.vs-pick{display:inline-block;font-size:11px;font-weight:700;color:#fff;background:linear-gradient(135deg,#10b981,#059669);padding:1px 7px;border-radius:5px;margin-right:5px}

/* ---------- 榜单 ---------- */
.rankgrid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:16px}
@media(min-width:820px){.rankgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rankbox{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px 12px;box-shadow:0 1px 2px rgba(22,30,64,.04),0 14px 30px -26px rgba(22,30,64,.5)}
.rankbox .rh{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.rankbox .rh .bar{width:4px;height:19px;border-radius:3px;background:var(--bar,linear-gradient(180deg,#5b83ff,#2b52ff));flex:none}
.rankbox .rh h3{font-size:15px;font-weight:750;margin:0}
.rankbox .rh .sub2{margin-left:auto;font-size:11.5px;color:var(--muted)}
.rrow{display:grid;grid-template-columns:22px 30px minmax(0,1fr) 54px;column-gap:9px;align-items:center;padding:8px 6px;margin:0 -6px;border-radius:9px;transition:background .16s}
.rrow:hover{background:#f5f7ff}
.rrow .rk{font-family:"Times New Roman",Georgia,serif;font-style:italic;font-weight:700;font-size:15px;text-align:right;color:#a8aeb9;line-height:1}
.rrow .rk.hot{background:linear-gradient(180deg,#ff6a45,#dc1c17);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.rrow .ic2{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:12.5px;font-weight:700;box-shadow:0 1px 2px rgba(20,28,50,.08)}
.rrow .nm3{font-size:13px;font-weight:600;color:#191c24;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.rrow .hm{margin-top:2px;height:3px;border-radius:2px;background:#eef1f8;overflow:hidden}
.rrow .hm i{display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,#8aa2ff,#4f46e5)}
.rrow .dl{text-align:right;font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums}
.rrow .dl.up{color:#dc2626}
.rrow .dl.dn{color:#059669}
.rrow .dl.eq{color:#a8aeb9}

/* ---------- 手册卡 ---------- */
.mgrid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}
@media(min-width:720px){.mgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1080px){.mgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.mcard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 16px;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(22,30,64,.04);transition:all .18s ease}
.mcard:hover{border-color:#dfe6fb;box-shadow:0 12px 26px -22px rgba(43,82,255,.4);transform:translateY(-1px)}
.mcard .mt{display:flex;align-items:center;gap:8px;margin-bottom:7px}
.mcard .mt .k{font-size:10.5px;font-weight:700;color:#2b52ff;background:#eef3ff;padding:1px 7px;border-radius:5px;flex:none}
.mcard h4{margin:0;font-size:13.5px;font-weight:700;color:#191c24;line-height:1.45}
.mcard p{margin:0;font-size:12.5px;line-height:1.65;color:#5c6472;flex:1}
.mcard .mf{display:flex;align-items:center;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid #f0f3fa;font-size:11.5px;color:var(--muted)}
.mcard .mf .src{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mcard .mf .lk{margin-left:auto;color:var(--blue);font-weight:600;white-space:nowrap}

/* ---------- 术语 ---------- */
.gloss{display:grid;grid-template-columns:1fr;gap:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:16px}
@media(min-width:720px){.gloss{grid-template-columns:1fr 1fr}}
.gitem{padding:14px 17px;border-bottom:1px solid #f2f4fa}
@media(min-width:720px){.gitem:nth-child(odd){border-right:1px solid #f2f4fa}}
.gitem h4{margin:0 0 4px;font-size:13.5px;font-weight:750;color:#191c24;display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
.gitem h4 em{font-style:normal;font-size:11px;font-weight:600;color:#98a0ad;letter-spacing:.02em}
.gitem p{margin:0;font-size:12.5px;line-height:1.7;color:#5c6472}
.gitem .rel{margin-top:6px;font-size:11.5px;color:#8b919c}
.gitem .rel b{color:#5c6472;font-weight:600}

/* ---------- 提示条 ---------- */
.note-bar{
  max-width:1200px;margin:20px auto 0;padding:12px 16px;
  background:#fff8ed;border:1px solid #fde9c8;border-radius:12px;
  font-size:12.5px;line-height:1.7;color:#8a5a11;
}
.note-bar b{color:#6d4409}

/* ---------- 页内锚点目录 ---------- */
.toc{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.toc a{font-size:12px;padding:5px 10px;border-radius:8px;background:#fff;border:1px solid var(--line);color:#5c6472}
.toc a:hover{color:var(--blue);border-color:#c7d2fe}

/* ---------- 底部 ---------- */
.foot2{max-width:1200px;margin:44px auto 0;padding:26px 24px 60px;border-top:1px solid #e2e6f0;text-align:center;color:#959cab;font-size:12.5px;line-height:1.9}
.foot2 a{color:#7d8494}
.foot2 a:hover{color:var(--ink)}
.foot2 .fl2{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-top:12px}

@media(max-width:719px){
  .vs-body{grid-template-columns:1fr}
  .vs-col+.vs-col{border-left:none;border-top:1px solid #f0f3fa}
  .subnav{padding:10px 16px 0}
  .sec{padding:26px 16px 0}
}

/* ---------- 手册卡：下载/阅读动作条 ---------- */
.mcard .macts{display:flex;gap:7px;margin-top:10px;padding-top:10px;border-top:1px dashed #eef1f8;flex-wrap:wrap}
.mcard .macts a{
  flex:1;min-width:110px;text-align:center;padding:7px 10px;border-radius:9px;
  font-size:12.2px;font-weight:600;transition:all .16s ease;white-space:nowrap;
}
.mcard .macts a.rd{color:#3b45c9;background:#eef2ff;border:1px solid #dde4ff}
.mcard .macts a.rd:hover{background:#e2e8ff;border-color:#c7d2fe}
.mcard .macts a.dl{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);border:1px solid transparent;box-shadow:0 2px 8px rgba(79,70,229,.2)}
.mcard .macts a.dl:hover{opacity:.92}
.mcard .macts .nolink{
  flex:1;text-align:center;padding:7px 10px;border-radius:9px;font-size:12px;
  color:#98a0ad;background:#f7f8fb;border:1px dashed #e3e7f0;
}

/* ---------- 权威资源入口卡 ---------- */
.sgrid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}
@media(min-width:720px){.sgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1080px){.sgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.scard{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:13px;padding:14px 15px 12px;transition:all .18s ease;
  box-shadow:0 1px 2px rgba(22,30,64,.04);
}
.scard:hover{border-color:#cfd9f8;box-shadow:0 14px 28px -24px rgba(43,82,255,.45);transform:translateY(-2px)}
.scard .shd{display:flex;align-items:flex-start;gap:8px;margin-bottom:7px}
.scard .snm{flex:1;font-size:13.5px;font-weight:700;color:#191c24;line-height:1.45}
.scard .shd .bd{flex:none;margin-top:1px}
.scard p{margin:0;font-size:12.5px;line-height:1.65;color:#5c6472;flex:1}
.scard .sft{display:flex;align-items:center;gap:8px;margin-top:11px;padding-top:9px;border-top:1px solid #f2f4fa}
.scard .sorg{font-size:11.5px;color:#98a0ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scard .sgo{margin-left:auto;font-size:12px;font-weight:700;color:#4f46e5;white-space:nowrap}

/* ---------- 频道页速览条 ---------- */
.stats4{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px;
}
@media(min-width:640px){.stats4{grid-template-columns:repeat(4,1fr)}}
.st4{
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:13px 14px;text-align:center;box-shadow:0 1px 2px rgba(22,30,64,.04);
}
.st4 b{display:block;font-size:22px;font-weight:800;letter-spacing:-.02em;color:#191c24;line-height:1.2;font-variant-numeric:tabular-nums}
.st4 span{display:block;font-size:11.5px;color:var(--muted);margin-top:3px}

/* ---------- 一句话选型 ---------- */
.pick1{
  display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;
  margin-top:12px;padding:12px 15px;border-radius:12px;
  background:linear-gradient(135deg,#f4f7ff,#eef2ff);border:1px solid #dfe6fb;
  font-size:13px;line-height:1.7;
}
.pick1 .lb{
  flex:none;font-size:11px;font-weight:700;color:#3b45c9;background:#fff;
  border:1px solid #dde4ff;border-radius:6px;padding:1px 7px;letter-spacing:.03em;
}
.pick1 b{color:#191c24;font-weight:750;font-size:13.5px}
.pick1 .df{color:#5c6472}

/* ---------- 价格结构条 ---------- */
.costbar{margin-top:14px;padding:12px 15px;background:#fff;border:1px solid var(--line);border-radius:12px}
.costbar .cb-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin-bottom:8px;flex-wrap:wrap}
.costbar .cb-legend{display:flex;align-items:center;gap:5px;font-size:11.5px}
.costbar .cb-legend i{width:8px;height:8px;border-radius:2px;display:inline-block;margin-left:9px}
.costbar .cb-legend i:first-child{margin-left:0}
.costbar .cb-track{display:flex;height:7px;border-radius:5px;overflow:hidden;background:#eef1f8}
.costbar .cb-track i{display:block;height:100%}
.costbar i.cf{background:linear-gradient(90deg,#34d399,#10b981)}
.costbar i.cm{background:linear-gradient(90deg,#93a7ff,#5b7bff)}
.costbar i.cp{background:linear-gradient(90deg,#fbbf24,#f59e0b)}

/* ---------- 观点库卡片微调 ---------- */
.mcard .mf{flex-wrap:wrap;row-gap:2px}
.mcard .mf .lk{font-size:11px}
.mcard h4{word-break:break-word}
.mcard .macts .nolink{font-size:11.5px;line-height:1.5;padding:6px 8px}
