/* =========================================================
   AI 众评 · 内容详情页（body.news-cat.news-detail）
   设计语言与分类页 news-cat.css 一致：浅蓝底 + 白卡 + 蓝色点缀
   hero / 顶栏 / 页脚复用 news-cat.css，本文件只管详情页主体
   ========================================================= */
.news-detail{
  --nd-blue:#2563eb;
  --nd-blue-d:#1d4ed8;
  --nd-ink:#0f172a;
  --nd-txt:#334155;
  --nd-mut:#64748b;
  --nd-mut2:#94a3b8;
  --nd-line:#e6edf7;
  --nd-bg:#f5f8fe;
  --nd-sh:0 6px 20px rgba(30,64,175,.06);
  background:var(--nd-bg);
}

/* ---------- HERO ---------- */
.news-detail .nd-hero{
  position:relative;overflow:hidden;padding:16px 0 34px;
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 38%,rgba(255,255,255,.72) 56%,rgba(255,255,255,0) 80%),
    var(--nd-cat-bg, linear-gradient(135deg,#f4f9ff,#e6f0ff)),
    linear-gradient(135deg,#f8fbff,#e9f2ff);
  background-size:cover,cover,cover;
  background-position:center,center right,center;
  background-repeat:no-repeat;
}
.news-detail .nd-hero-in{max-width:1200px;margin:0 auto;padding:0 20px;position:relative;z-index:1}
/* 分类未上传图片时的装饰：淡蓝光斑 + 网格 */
.news-detail .nd-hero:not(.has-img)::after{
  content:"";position:absolute;right:-80px;top:-70px;width:780px;height:420px;pointer-events:none;
  background:
    radial-gradient(closest-side,rgba(59,130,246,.26),rgba(59,130,246,0) 74%) 74% 40%/430px 330px no-repeat,
    radial-gradient(closest-side,rgba(147,197,253,.40),rgba(147,197,253,0) 76%) 48% 68%/360px 290px no-repeat,
    radial-gradient(closest-side,rgba(191,219,254,.52),rgba(191,219,254,0) 78%) 88% 76%/310px 250px no-repeat;
}
.news-detail .nd-hero:not(.has-img)::before{
  content:"";position:absolute;right:24px;top:0;bottom:0;width:540px;pointer-events:none;
  background-image:
    linear-gradient(rgba(37,99,235,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(37,99,235,.055) 1px,transparent 1px);
  background-size:36px 36px;
  -webkit-mask-image:radial-gradient(closest-side at 58% 50%,#000 22%,transparent 76%);
  mask-image:radial-gradient(closest-side at 58% 50%,#000 22%,transparent 76%);
}

.news-detail .nd-crumb{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--nd-mut);flex-wrap:wrap}
.news-detail .nd-crumb a{color:var(--nd-mut)}
.news-detail .nd-crumb a:hover{color:var(--nd-blue)}
.news-detail .nd-crumb .sep{color:#c2cddd}
.news-detail .nd-crumb .cur{color:#7b8ba1;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.news-detail .nd-hero-txt{margin-top:18px;max-width:840px}
.news-detail .nd-flags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.news-detail .nd-badge{
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 13px;border-radius:999px;background:#e7efff;color:var(--nd-blue-d);
  font-size:12.5px;font-weight:600;letter-spacing:.3px;transition:.18s;
}
.news-detail .nd-badge:hover{background:#dbe8ff}
.news-detail .nd-badge-ghost{
  padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.82);
  border:1px solid #dbe7f6;color:#5b708c;font-size:12.5px;font-weight:500;letter-spacing:.2px;
}
.news-detail .nd-h1{
  margin:14px 0 0;font-size:36px;line-height:1.28;font-weight:800;
  color:var(--nd-ink);letter-spacing:-.6px;
}
.news-detail .nd-sub{margin:14px 0 0;font-size:15px;line-height:1.8;color:#4a5a70}
.news-detail .nd-meta{
  display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-top:18px;
  font-size:13px;color:#7b8ba1;
}
.news-detail .nd-meta .nd-mi{display:inline-flex;align-items:center;gap:5px}
.news-detail .nd-meta .mi{width:14px;height:14px;color:#a9b8cc;flex:none}
.news-detail .nd-meta .nd-sep{width:1px;height:12px;background:#cdd9e8}
.news-detail .nd-acts{
  display:flex;align-items:center;gap:2px;margin-left:4px;
  background:rgba(255,255,255,.94);border:1px solid #dbe7f6;border-radius:999px;
  padding:2px 5px;box-shadow:0 4px 12px rgba(30,64,175,.07);
}
.news-detail .nd-acts .fav-icons-inline{margin:0}
.news-detail .nd-acts .fav-icon-btn{width:34px;height:34px;border-radius:999px;color:#64748b}
.news-detail .nd-acts .fav-icon-btn svg{width:19px;height:19px}
.news-detail .nd-acts .fav-icon-sep{height:17px;background:#e2eaf6}

/* ---------- 分类 tab（与分类页同款） ---------- */
.news-detail .nd-tabs{max-width:1200px;margin:0 auto;padding:0 20px}
.news-detail .nd-tabs-in{
  display:flex;align-items:center;gap:4px;overflow-x:auto;
  background:#fff;border:1px solid var(--nd-line);border-radius:14px;
  padding:7px;box-shadow:var(--nd-sh);scrollbar-width:none;
}
.news-detail .nd-tabs-in::-webkit-scrollbar{display:none}
.news-detail .nd-tabs-in a{
  flex:none;padding:8px 16px;border-radius:9px;font-size:13.5px;color:#526276;
  white-space:nowrap;transition:.18s;
}
.news-detail .nd-tabs-in a:hover{color:var(--nd-blue);background:#f2f7ff}
.news-detail .nd-tabs-in a.on{background:#eaf1ff;color:var(--nd-blue-d);font-weight:600}

/* ---------- 主体栅格 ---------- */
.news-detail .nd-main{
  max-width:1200px;margin:18px auto 0;padding:0 20px 42px;
  display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:20px;align-items:start;
}
.news-detail .nd-left{min-width:0}
.news-detail .nd-article{
  background:#fff;border:1px solid var(--nd-line);border-radius:18px;
  padding:28px 34px 32px;box-shadow:var(--nd-sh);min-width:0;
}

/* ---------- 摘要 + 封面缩略 ---------- */
.news-detail .nd-lead{
  display:flex;align-items:center;gap:20px;
  margin:0 0 28px;padding:16px 18px;border-radius:14px;
  background:linear-gradient(135deg,#f4f9ff 0%,#eaf2ff 100%);
  border:1px solid #dce9fb;
}
.news-detail .nd-lead-txt{flex:1;min-width:0}
.news-detail .nd-lead-k{
  display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;
  color:var(--nd-blue-d);letter-spacing:.6px;
}
.news-detail .nd-lead-k::before{content:"";width:3px;height:13px;border-radius:2px;background:var(--nd-blue)}
.news-detail .nd-lead p{margin:8px 0 0;font-size:14px;line-height:1.85;color:#41536b}
.news-detail .nd-lead-img{
  flex:none;width:198px;aspect-ratio:3/2;border-radius:10px;overflow:hidden;
  background:linear-gradient(150deg,#dbeafe,#eff6ff);
  box-shadow:0 8px 20px rgba(30,64,175,.14);
}
.news-detail .nd-lead-img img{display:block;width:100%;height:100%;object-fit:cover}

/* ---------- 正文排版 ---------- */
.news-detail .a-content{font-size:16px;line-height:1.95;color:#374151;word-break:break-word;overflow-wrap:break-word}
.news-detail .a-content > *:first-child{margin-top:0}
.news-detail .a-content h2{
  position:relative;margin:2em 0 .75em;padding:0 0 0 14px;
  font-size:21px;line-height:1.45;font-weight:800;color:var(--nd-ink);letter-spacing:-.2px;
  border-bottom:0;
}
.news-detail .a-content h2::before{
  content:"";position:absolute;left:0;top:.28em;width:4px;height:1.02em;border-radius:3px;
  background:linear-gradient(180deg,#60a5fa,var(--nd-blue));
}
.news-detail .a-content h3{margin:1.7em 0 .6em;font-size:17.5px;font-weight:700;color:#16233a;line-height:1.5}
.news-detail .a-content h4{margin:1.4em 0 .5em;font-size:16px;font-weight:700;color:#1e2b42}
.news-detail .a-content p{margin:1em 0;color:#3b4a5f}
.news-detail .a-content strong{color:#0f172a;font-weight:700}
.news-detail .a-content ul,.news-detail .a-content ol{margin:1em 0;padding-left:0;list-style:none}
.news-detail .a-content ul > li{
  position:relative;padding-left:20px;margin:.62em 0;line-height:1.9;color:#3b4a5f;
}
.news-detail .a-content ul > li::before{
  content:"";position:absolute;left:4px;top:.78em;width:6px;height:6px;border-radius:50%;
  background:#93b8f7;box-shadow:0 0 0 3px rgba(147,184,247,.16);
}
.news-detail .a-content ol{counter-reset:ndli;padding-left:0}
.news-detail .a-content ol > li{
  position:relative;padding-left:30px;margin:.62em 0;line-height:1.9;counter-increment:ndli;color:#3b4a5f;
}
.news-detail .a-content ol > li::before{
  content:counter(ndli);position:absolute;left:0;top:.34em;
  width:20px;height:20px;border-radius:6px;display:grid;place-items:center;
  font-size:11.5px;font-weight:700;color:var(--nd-blue-d);background:#eaf1ff;
}
.news-detail .a-content a{color:var(--nd-blue);text-decoration:none;border-bottom:1px solid rgba(37,99,235,.28)}
.news-detail .a-content a:hover{border-bottom-color:var(--nd-blue)}
.news-detail .a-content img{max-width:100%;height:auto;border-radius:12px;margin:1.2em 0;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.news-detail .a-content blockquote{
  margin:1.3em 0;padding:14px 18px;border-radius:10px;
  background:#f6f9ff;border-left:3px solid #b9cff0;color:#4a5a70;font-size:15px;line-height:1.85;
}
.news-detail .a-content blockquote p{margin:.3em 0;color:inherit}
.news-detail .a-content pre{
  margin:1.3em 0;padding:15px 17px;border-radius:12px;overflow-x:auto;
  background:#0f172a;color:#e2e8f0;font-size:13px;line-height:1.75;
}
.news-detail .a-content code{
  font-family:Consolas,"Courier New",monospace;font-size:.9em;
  padding:.12em .38em;border-radius:4px;background:#eef4ff;color:#1d4ed8;
}
.news-detail .a-content pre code{padding:0;background:none;color:inherit;font-size:inherit}
.news-detail .a-content hr{margin:2em 0;border:0;border-top:1px dashed #dde7f4}
.news-detail .a-content table{
  width:100%;margin:1.3em 0;border-collapse:separate;border-spacing:0;
  font-size:14px;border:1px solid var(--nd-line);border-radius:10px;overflow:hidden;
}
.news-detail .a-content th,.news-detail .a-content td{padding:10px 13px;text-align:left;border-bottom:1px solid #eef4fb}
.news-detail .a-content th{background:#f5f9ff;font-weight:700;color:#1f2d45}
.news-detail .a-content tr:last-child td{border-bottom:0}
.news-detail .a-content tbody tr:hover{background:#fafcff}

/* ---------- GEO 区块 ---------- */
.news-detail .geo-box{
  margin:26px 0;padding:16px 20px;border-radius:14px;
  background:#f8fbff;border:1px solid #e6eefb;border-left:3px solid var(--nd-blue);
}
.news-detail .geo-box h2{
  margin:0 0 10px;padding:0;font-size:15px;font-weight:700;color:#16233a;border:0;
}
.news-detail .geo-box h2::before{display:none}
.news-detail .geo-box p{margin:0;font-size:14.5px;line-height:1.85;color:#43536a}
.news-detail .geo-box ul{margin:6px 0 0;padding-left:0;list-style:none}
.news-detail .geo-box ul > li{position:relative;padding-left:18px;margin:.45em 0;font-size:14.5px;line-height:1.85;color:#43536a}
.news-detail .geo-box ul > li::before{
  content:"";position:absolute;left:2px;top:.72em;width:5px;height:5px;border-radius:50%;background:#8fb6f2;
}
/* 标签 */
.news-detail .geo-tags .tag{
  display:inline-block;margin:0 7px 7px 0;padding:5px 14px;border-radius:999px;
  font-size:12.5px;color:#475569;background:#fff;border:1px solid #dbe7f6;transition:.18s;
}
.news-detail .geo-tags .tag:hover{border-color:#bfd4f2;color:var(--nd-blue)}
/* 问答 */
.news-detail .faq-item{margin:0;padding:13px 0;border-top:1px dashed #e7eefa}
.news-detail .faq-item:first-of-type{border-top:0;padding-top:2px}
.news-detail .faq-q{
  position:relative;margin:0 0 6px;padding-left:24px;font-size:15px;font-weight:700;color:#16233a;line-height:1.6;
}
.news-detail .faq-q::before{
  content:"Q";position:absolute;left:0;top:1px;width:17px;height:17px;border-radius:5px;
  display:grid;place-items:center;font-size:10.5px;font-weight:800;color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb);
}
.news-detail .faq-a p{margin:0;padding-left:24px;font-size:14px;line-height:1.85;color:#4d5d73}

.news-detail .a-keywords{
  margin-top:24px;padding:11px 15px;border-radius:10px;background:#f6f9ff;border:1px solid #e8effb;
  font-size:12.5px;color:#64748b;
}
.news-detail .a-keywords a{color:var(--nd-blue)}

/* ---------- 文末：上下篇 + 相关阅读 ---------- */
.news-detail .nd-pn{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.news-detail .nd-pn-item{
  display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:12px;
  background:#fff;border:1px solid var(--nd-line);transition:.2s;min-width:0;
}
.news-detail .nd-pn-item:hover{border-color:#cfdff7;background:#fafcff;transform:translateY(-1px)}
.news-detail .nd-pn-item.next{text-align:right;align-items:flex-end}
.news-detail .nd-pn-k{font-size:12px;color:var(--nd-mut2)}
.news-detail .nd-pn-t{
  font-size:14px;line-height:1.55;color:#26364e;font-weight:600;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;
}
.news-detail .nd-pn-item:hover .nd-pn-t{color:var(--nd-blue-d)}
.news-detail .nd-pn-item.is-empty{background:#fafcfe;border-style:dashed;pointer-events:none}
.news-detail .nd-pn-item.is-empty .nd-pn-t{color:#b6c2d3;font-weight:400}

.news-detail .nd-sec-h{display:flex;align-items:center;gap:8px;margin:34px 0 14px;padding-top:22px;border-top:1px solid #eef3fb}
.news-detail .nd-sec-h h2{margin:0;font-size:17px;font-weight:800;color:var(--nd-ink)}
.news-detail .nd-sec-h .nd-sec-more{margin-left:auto;font-size:12.5px;color:var(--nd-mut2)}
.news-detail .nd-sec-h .nd-sec-more:hover{color:var(--nd-blue)}

.news-detail .nd-rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.news-detail .nd-rel-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--nd-line);
  border-radius:12px;overflow:hidden;transition:.2s;min-width:0;
}
.news-detail .nd-rel-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(30,64,175,.10);border-color:#d7e6fa}
.news-detail .nd-rel-img{display:block;aspect-ratio:3/2;overflow:hidden;background:#eef5ff;position:relative}
.news-detail .nd-rel-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .38s}
.news-detail .nd-rel-card:hover .nd-rel-img img{transform:scale(1.05)}
.news-detail .nd-rel-ph{
  position:absolute;inset:0;display:grid;place-items:center;
  font-size:26px;font-weight:800;color:#fff;background:linear-gradient(150deg,#93b8f7,#5b8ef0);
}
.news-detail .nd-rel-bd{padding:11px 13px 13px;min-width:0}
.news-detail .nd-rel-t{
  font-size:13.5px;line-height:1.55;font-weight:600;color:#22314a;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.news-detail .nd-rel-card:hover .nd-rel-t{color:var(--nd-blue-d)}
.news-detail .nd-rel-m{margin-top:8px;font-size:11.5px;color:#a3b0c2}

/* ---------- 右栏 ---------- */
/* 右栏跟随页面滚动（不吸附）：右栏总高约 1160px，超过一屏，
   一吸附就会把「AI 集市 / 关于本站」压在折线以下再也看不到。
   目录仍有导航作用，只是不常驻。 */
.news-detail .nd-side{
  display:flex;flex-direction:column;gap:16px;min-width:0;
}
.news-detail .nd-panel{
  background:#fff;border:1px solid var(--nd-line);border-radius:16px;
  padding:15px 18px 16px;box-shadow:var(--nd-sh);min-width:0;overflow:hidden;
}
.news-detail .nd-pnh{display:flex;align-items:center;gap:7px;margin-bottom:11px}
.news-detail .nd-pnh h3{margin:0;font-size:15px;font-weight:700;color:var(--nd-ink)}
.news-detail .nd-more{margin-left:auto;font-size:12px;color:var(--nd-mut2)}
.news-detail .nd-more:hover{color:var(--nd-blue)}

/* 目录（JS 生成，无小标题时整块不显示） */
.news-detail .nd-toc{display:flex;flex-direction:column;gap:2px;max-height:calc(100vh - 260px);overflow:auto;scrollbar-width:thin}
.news-detail .nd-toc a{
  display:block;padding:6px 10px;border-radius:8px;font-size:13px;line-height:1.5;color:#526276;
  border-left:2px solid transparent;transition:.16s;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.news-detail .nd-toc a:hover{background:#f5f9ff;color:var(--nd-blue-d)}
.news-detail .nd-toc a.on{background:#eef5ff;color:var(--nd-blue-d);font-weight:600;border-left-color:var(--nd-blue)}

/* 热榜 */
.news-detail .nd-hot{display:flex;flex-direction:column;gap:11px;min-width:0}
.news-detail .nd-hot a{display:flex;gap:9px;font-size:13px;line-height:1.5;color:var(--nd-txt);min-width:0}
.news-detail .nd-hot a:hover{color:var(--nd-blue)}
.news-detail .nd-hot b{
  flex:none;width:17px;height:17px;margin-top:2px;border-radius:5px;display:grid;place-items:center;
  font-size:10.5px;font-weight:700;background:#f1f5f9;color:#94a3b8;
}
.news-detail .nd-hot a:nth-child(1) b{background:linear-gradient(135deg,#fb7185,#ef4444);color:#fff}
.news-detail .nd-hot a:nth-child(2) b{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff}
.news-detail .nd-hot a:nth-child(3) b{background:linear-gradient(135deg,#fdba74,#fb923c);color:#fff}
.news-detail .nd-hot span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 相关分类 */
.news-detail .nd-cats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.news-detail .nd-cat{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  padding:14px 8px 12px;border-radius:12px;border:1px solid #eef4fc;background:#fbfdff;transition:.2s;
}
.news-detail .nd-cat:hover{border-color:#cfdff7;background:#f5f9ff;transform:translateY(-2px)}
.news-detail .nd-cat-ic{
  position:relative;display:block;width:44px;height:44px;border-radius:13px;overflow:hidden;
  background:#eef5ff;box-shadow:0 6px 14px rgba(30,64,175,.10);
}
.news-detail .nd-cat-ic img{display:block;width:100%;height:100%;object-fit:cover}
.news-detail .nd-cat-mk{display:grid;place-items:center;width:100%;height:100%;color:#fff;font-size:17px;font-weight:800}
.news-detail .nd-cat-n{
  font-size:12.5px;color:#3f4f66;text-align:center;line-height:1.35;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

/* 相关AI工具（沿用原结构，换成新皮肤） */
.news-detail .at-list{display:flex;flex-direction:column;gap:10px}
.news-detail .at-card{
  display:flex;gap:11px;align-items:center;padding:10px;border-radius:11px;
  border:1px solid #eef4fc;background:#fbfdff;transition:.2s;min-width:0;
}
.news-detail .at-card:hover{border-color:#cfdff7;background:#f5f9ff;transform:translateY(-1px)}
.news-detail .at-logo{
  flex:none;width:40px;height:40px;border-radius:11px;overflow:hidden;display:grid;place-items:center;
  background:#eef5ff;font-weight:800;color:var(--nd-blue-d);font-size:16px;
}
.news-detail .at-logo img{width:100%;height:100%;object-fit:cover}
.news-detail .at-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.news-detail .at-name{font-size:13.5px;font-weight:600;color:#22314a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-detail .at-card:hover .at-name{color:var(--nd-blue-d)}
.news-detail .at-slogan,.news-detail .at-meta{font-size:11.5px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 后台广告位（news_about）注入的 .aside-box 在这里换成详情页面板外观 */
.news-detail .nd-adslot{min-width:0}
.news-detail .nd-adslot .aside-box{
  background:#fff;border:1px solid var(--nd-line);border-radius:16px;
  padding:15px 18px 16px;box-shadow:var(--nd-sh);
}
.news-detail .nd-adslot .row-head{
  display:flex;align-items:center;gap:7px;border-bottom:0;padding-bottom:0;margin-bottom:10px;
}
.news-detail .nd-adslot .row-title{margin:0;font-size:15px;font-weight:700;color:var(--nd-ink);letter-spacing:0}
.news-detail .nd-adslot .row-sub{font-size:11px;color:var(--nd-mut2);letter-spacing:1px;font-weight:600}
.news-detail .nd-adslot .aside-quote p{margin:0 0 12px;font-size:12.5px;line-height:1.8;color:#4a5a70}
.news-detail .nd-adslot .aside-cta{
  display:block;text-align:center;padding:9px 0;border-radius:999px;
  background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;font-size:13px;font-weight:600;
  box-shadow:0 8px 18px rgba(37,99,235,.22);
}
.news-detail .nd-adslot .aside-cta:hover{transform:translateY(-1px)}

/* ---------- 评论 ---------- */
.news-detail .comment-wrap{
  margin-top:30px;padding:22px 24px 24px;border-radius:16px;
  background:#fff;border:1px solid var(--nd-line);box-shadow:var(--nd-sh);
}
.news-detail .comment-head{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}
.news-detail .comment-title{margin:0;font-size:17px;font-weight:800;color:var(--nd-ink)}
.news-detail .comment-textarea,
.news-detail .comment-input{
  background:#fafcff;border:1px solid #dfe9f7;border-radius:10px;color:#334155;
}
.news-detail .comment-textarea:focus,
.news-detail .comment-input:focus{background:#fff;border-color:#9dc0f5}
.news-detail .comment-btn{
  height:36px;padding:0 22px;border-radius:999px;
  background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 8px 18px rgba(37,99,235,.24);
}

/* ---------- 响应式 ---------- */
@media(max-width:1100px){
  .news-detail .nd-article{padding:24px 26px 28px}
  .news-detail .nd-h1{font-size:32px}
}
@media(max-width:960px){
  .news-detail .nd-main{grid-template-columns:minmax(0,1fr);gap:18px}
  .news-detail .nd-side{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;position:static;top:auto}
  .news-detail .nd-side .nd-toc-panel{grid-column:1/-1}
  .news-detail .nd-side .nd-shop-panel{grid-column:1/-1}
  .news-detail .nd-toc{max-height:none}
}
@media(max-width:900px){
  .news-detail .nd-hero{padding:14px 0 26px}
  .news-detail .nd-h1{font-size:27px}
  .news-detail .nd-sub{font-size:14px}
  .news-detail .nd-lead-img{width:168px}
}
@media(max-width:640px){
  .news-detail .nd-hero::before,
  .news-detail .nd-hero:not(.has-img)::after{display:none}
  .news-detail .nd-hero-in,
  .news-detail .nd-tabs,
  .news-detail .nd-main{padding-left:14px;padding-right:14px}
  .news-detail .nd-h1{font-size:23px;letter-spacing:-.3px}
  .news-detail .nd-meta{gap:12px;font-size:12.5px}
  .news-detail .nd-article{padding:18px 16px 22px;border-radius:14px}
  .news-detail .nd-lead{gap:12px;padding:13px 14px}
  .news-detail .nd-lead-img{display:none}
  .news-detail .a-content{font-size:15.5px;line-height:1.9}
  .news-detail .a-content h2{font-size:19px}
  .news-detail .a-content h3{font-size:16.5px}
  .news-detail .nd-pn{grid-template-columns:minmax(0,1fr)}
  .news-detail .nd-pn-item.next{text-align:left;align-items:flex-start}
  .news-detail .nd-rel{grid-template-columns:minmax(0,1fr)}
  .news-detail .nd-side{grid-template-columns:minmax(0,1fr)}
  .news-detail .nd-side .nd-toc-panel,
  .news-detail .nd-side .nd-shop-panel{grid-column:auto}
  .news-detail .comment-wrap{padding:18px 16px 20px}
}
