:root {
    --article-bg: #070a12;
    --article-panel: rgba(255,255,255,.035);
    --article-line: rgba(255,255,255,.09);
    --article-ink: #eef2fa;
    --article-muted: rgba(231,237,248,.62);
    --article-dim: rgba(231,237,248,.4);
    --article-blue: #5c86ff;
    --article-shell: 1160px;
    /* 正文 780 / 17px：中文约 46 字/行。宽屏下 720 显得细长，
       780 是"还在舒适区里能给到的最大值"。 */
    --article-content: 780px;
    /* 封面和正文里的图片视频都用同一个宽度 —— 页面上只保留一条竖直边界。
       之前让媒体出血到 880 是想做出层级，但三栏时出血必须关掉（会压到侧栏），
       于是"有目录的文章"和"没目录的文章"媒体宽度不一样，反而制造了不一致。 */
    --article-media: var(--article-content);
    --ease: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { display: flex; min-height: 100vh; margin: 0; overflow-x: hidden; flex-direction: column; background-color: var(--article-bg); background-image: radial-gradient(52vw 44vw at 20% 0,rgba(47,107,255,.2),transparent 66%),radial-gradient(48vw 38vw at 92% 20%,rgba(109,67,255,.13),transparent 70%),radial-gradient(60vw 34vw at 50% 100%,rgba(47,107,255,.12),transparent 72%); color: var(--article-ink); font-family: "PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif; -webkit-font-smoothing: antialiased; }
body > main { width: 100%; flex: 1; }
body::after { position: fixed; z-index: 999; inset: 0; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); content: ''; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
[hidden] { display: none !important; }
.article-page-grid { position: fixed; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 68px 68px; -webkit-mask-image: radial-gradient(ellipse 90% 58% at 50% 0,#000,transparent 80%); mask-image: radial-gradient(ellipse 90% 58% at 50% 0,#000,transparent 80%); }
.article-shell { width: min(calc(100% - 48px),var(--article-shell)); margin: 0 auto; }
.article-content-shell { width: min(calc(100% - 48px),var(--article-content)); margin-right: auto; margin-left: auto; }
.article-wide-shell { width: min(calc(100% - 48px),1050px); margin-right: auto; margin-left: auto; }

.article-site-header { position: sticky; z-index: 60; top: 0; border-bottom: 1px solid var(--article-line); background: rgba(7,10,18,.84); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.article-header-inner { display: flex; min-height: 66px; align-items: center; justify-content: space-between; }
.article-brand { display: flex; min-width: 0; align-items: center; gap: 11px; }
.article-brand img { width: 35px; height: 35px; object-fit: contain; }
.article-brand span { max-width: 520px; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
/* 品牌图标带光晕，和首页顶栏用同一套做法，避免文章页看着像另一个站 */
.article-brand-mark { position: relative; display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; }
.article-brand-mark::after { position: absolute; inset: 5px; border-radius: 50%; background: rgba(47,107,255,.55); content: ''; filter: blur(10px); animation: article-brand-aura 2.6s ease-in-out infinite; }
.article-brand-mark img { position: relative; z-index: 1; }
@keyframes article-brand-aura { 0%,100% { opacity: .3; transform: scale(.8); } 50% { opacity: .75; transform: scale(1.25); } }

/* 顶栏导航（2026-08-27 重做）
   原来三个入口里有两个都回首页（「产品入口」/#products 和「返回官网」/），
   重复且分不出主次；当前页用一块灰底方块标记，看着像没擦掉的 hover 残留。
   现在：两个真实入口用下划线标记当前页，「产品入口」升级成主行动按钮，
   与首页顶栏右侧的胶囊按钮同款。 */
/* 顶栏导航：两个页面入口收进一颗分段胶囊，当前页是胶囊里被"点亮"的那一格；
   右边是真正的主行动按钮（实心渐变 + 投影）。
   之前是三段同样重量的灰字 + 一条细下划线，看不出主次。 */
.article-header-inner nav { display: flex; align-items: center; gap: 12px; }
.article-nav-links { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.075); border-radius: 999px; background: rgba(255,255,255,.038); }
.article-nav-links a { position: relative; padding: 7px 15px; border-radius: 999px; color: var(--article-muted); font-size: 12.5px; transition: color .22s,background .22s,box-shadow .22s; }
.article-nav-links a:hover { color: #fff; }
.article-nav-links a.is-current { background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.09),0 2px 8px rgba(0,0,0,.28); color: #fff; font-weight: 600; }
.article-nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 17px; border: 1px solid rgba(122,158,255,.42); border-radius: 999px; background: linear-gradient(145deg,#4b81ff,#2a55d8); box-shadow: 0 8px 22px rgba(47,107,255,.34),inset 0 1px 0 rgba(255,255,255,.22); color: #fff; font-size: 12.5px; font-weight: 600; transition: transform .25s var(--ease),box-shadow .25s,filter .25s; }
.article-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(47,107,255,.46),inset 0 1px 0 rgba(255,255,255,.28); filter: brightness(1.07); }
.article-nav-cta i { font-style: normal; opacity: .85; transition: transform .25s var(--ease); }
.article-nav-cta:hover i { transform: translateX(3px); }
.article-header-inner nav a:focus-visible { outline: 2px solid #7d9cff; outline-offset: 3px; }

.article-index-main { padding: 76px 0 100px; }
.article-category-section { margin-bottom: 54px; }
.article-category-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }
.article-category-heading p { margin: 0 0 3px; color: #88a8ff; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.article-category-heading h2 { margin: 0; font-size: 17px; }
.article-category-heading > a,.article-category-heading > span { color: var(--article-dim); font-size: 10px; }
.article-category-heading > a:hover { color: #a9bdff; }
.article-category-cards { display: flex; gap: 10px; margin: -8px -4px -12px; padding: 8px 4px 14px; overflow-x: auto; scrollbar-width: none; }
.article-category-cards::-webkit-scrollbar { display: none; }
.article-category-card { position: relative; display: block; width: 204px; height: 80px; flex: 0 0 204px; overflow: hidden; border: 1px solid var(--article-line); border-radius: 12px; background: linear-gradient(145deg,#111b31,#19152b); box-shadow: 0 10px 28px rgba(0,0,0,.16); transition: transform .32s var(--ease),border-color .32s,box-shadow .32s var(--ease); }
.article-category-card:hover { z-index: 1; transform: translateY(-5px); border-color: rgba(112,148,255,.48); box-shadow: 0 18px 38px rgba(0,0,0,.3),0 8px 24px rgba(74,111,220,.12); }
.article-category-card.is-active { border-color: rgba(112,148,255,.68); box-shadow: inset 0 0 0 1px rgba(112,148,255,.22),0 12px 30px rgba(0,0,0,.22); }
.article-category-card > img { display: block; width: 100%; height: 100%; object-fit: fill; }
.article-category-card:focus-visible { outline: 2px solid #7d9cff; outline-offset: 2px; }
.article-index-layout { display: block; }
.article-index-intro { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--article-line); }
.article-list-copy { min-width: 0; }
.article-list-copy p { margin: 0 0 7px; color: #88a8ff; font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.article-list-copy h1 { margin: 0; font-size: clamp(28px,3vw,38px); letter-spacing: -.042em; line-height: 1.16; }
.article-list-copy > span { display: block; max-width: 600px; margin-top: 9px; color: var(--article-muted); font-size: 12px; line-height: 1.75; }
.article-search-form { display: flex; width: min(340px,100%); height: 42px; flex: 0 0 340px; padding: 3px; border: 1px solid var(--article-line); border-radius: 10px; background: rgba(255,255,255,.035); box-shadow: 0 12px 34px rgba(0,0,0,.14); transition: border-color .25s,background .25s; }
.article-search-form:focus-within { border-color: rgba(104,143,255,.58); background: rgba(255,255,255,.05); }
.article-search-form input { min-width: 0; flex: 1; padding: 0 11px; border: 0; outline: 0; background: transparent; color: white; font-size: 12.5px; }
.article-search-form input::placeholder { color: var(--article-dim); }
.article-search-form button { padding: 0 16px; border: 0; border-radius: 7px; background: #416fe9; color: white; font-size: 12px; cursor: pointer; transition: background .25s; }
.article-search-form button:hover { background: #527fff; }
.article-list-section { min-width: 0; }
.article-list-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.article-list-heading > div { display: flex; align-items: baseline; gap: 10px; }
.article-list-heading h2 { margin: 0; font-size: 17px; }
.article-list-heading > div > span { color: var(--article-dim); font-size: 10px; }
.article-list-heading > span { color: var(--article-dim); font-size: 8px; font-weight: 750; letter-spacing: .14em; }
.article-list-heading > a { color: #91adfa; font-size: 10.5px; }
.article-card-grid { display: grid; }
.article-card { display: grid; min-height: 176px; grid-template-columns: minmax(0,1fr) 240px; margin: 0 -14px; padding: 17px 14px; overflow: hidden; border-bottom: 1px solid var(--article-line); border-radius: 13px; background: transparent; transition: border-color .3s,background .3s,transform .3s var(--ease); }
.article-card:first-child { border-top: 1px solid var(--article-line); }
.article-card:hover { transform: translateY(-2px); border-color: rgba(112,148,255,.34); background: rgba(255,255,255,.018); }
.article-card-cover { position: relative; grid-column: 2; grid-row: 1; display: block; height: 136px; align-self: center; overflow: hidden; border: 1px solid var(--article-line); border-radius: 12px; background: linear-gradient(145deg,rgba(47,107,255,.4),rgba(109,67,255,.2)); box-shadow: 0 15px 38px rgba(0,0,0,.2); }
.article-card-cover::after { position: absolute; inset: 0; background: linear-gradient(145deg,transparent 70%,rgba(7,10,18,.18)); content: ''; pointer-events: none; }
.article-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.article-card:hover .article-card-cover img { transform: scale(1.025); }
.article-card-cover.is-empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%,rgba(85,136,255,.45),transparent 45%),linear-gradient(145deg,#14295e,#211747); }
.article-card-cover.is-empty span { color: rgba(255,255,255,.16); font-size: 42px; font-weight: 900; letter-spacing: -.08em; }
.article-card-body { position: relative; grid-column: 1; grid-row: 1; display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 14px 42px 14px 4px; }
.article-card-meta { display: flex; min-height: 18px; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--article-dim); font-size: 10px; }
.article-card-meta a { color: #91aaf1; }.article-card-meta a:hover { color: #bdd0ff; }
.article-card-meta b { padding: 2px 7px; border-radius: 999px; background: rgba(92,134,255,.14); color: #9db8ff; font-weight: 650; }
.article-card-body h2 { margin: 9px 0 6px; font-size: 22px; letter-spacing: -.025em; line-height: 1.4; }
.article-card-body h2 a:hover { color: #a9beff; }
.article-card-body p { display: -webkit-box; max-width: 700px; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--article-muted); font-size: 12px; line-height: 1.8; }
.article-read-more { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; margin-top: 14px; color: #9bb5ff; font-size: 11px; font-weight: 650; }
.article-read-more i { font-style: normal; transition: transform .25s; }.article-read-more:hover i { transform: translateX(4px); }
.article-pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 42px; color: var(--article-muted); font-size: 12px; }
.article-pagination a { padding: 8px 13px; border: 1px solid var(--article-line); border-radius: 8px; }.article-pagination a:hover { color: white; }
.article-public-empty { display: grid; min-height: 260px; place-content: center; gap: 7px; border: 1px dashed var(--article-line); border-radius: 16px; color: var(--article-muted); text-align: center; }
.article-public-empty strong { color: white; font-size: 19px; }

.article-detail-main { padding-top: 1px; }
.article-detail-hero { padding-top: 80px; padding-bottom: 44px; text-align: center; }
/* 面包屑替代原来那个孤零零的「← 分类名」。
   原按钮居中悬空、去向不明（回分类还是回列表？），而且下方 meta 行里
   已经又出现了一次分类名。改成层级明确的三段，meta 行里那次去掉。 */
/* 面包屑收进一颗玻璃胶囊：原先是三个浮在背景上的小灰字，没有边界 */
.article-crumbs { display: flex; width: fit-content; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin: 0 auto 22px; padding: 6px 15px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: rgba(255,255,255,.03); color: var(--article-dim); font-size: 11.5px; }
.article-crumbs a { color: var(--article-muted); transition: color .22s; }
.article-crumbs a:hover { color: #a9beff; }
.article-crumbs a.is-current { color: #8ca6e8; font-weight: 600; }
.article-crumbs i { font-style: normal; opacity: .45; }
.article-detail-hero h1 { margin: 0; font-size: clamp(34px,5.4vw,58px); letter-spacing: -.052em; line-height: 1.2; }
/* 详情页不再输出摘要段落（正文紧接其后，等于开头说两遍），相关样式一并撤掉 */
.article-detail-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 24px; color: var(--article-dim); font-size: 11px; }
.article-detail-meta a { color: #91aaf1; }
.article-detail-meta span { position: relative; }.article-detail-meta span::before { position: absolute; top: 50%; left: -11px; width: 2px; height: 2px; border-radius: 50%; background: var(--article-dim); content: ''; }
/* 2/1 时 880 宽的封面有 440 高，几乎吃掉整个首屏。2.4/1 + 收窄到正文宽度
   之后是 780×325，标题、封面、正文第一段能同屏看到。 */
.article-hero-cover { width: min(calc(100% - 48px),var(--article-media)); aspect-ratio: 2.4/1; overflow: hidden; margin-bottom: 40px; border: 1px solid var(--article-line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.article-hero-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 默认单栏。三栏（有目录）是宽屏才启用的增强，写在文件末尾的
   @media (min-width: 1241px) 里 —— 避免"窄屏再改回来"的重复定义。 */
.article-detail-layout { position: relative; display: grid; grid-template-columns: minmax(0,var(--article-content)); justify-content: center; }

/* line-height 2 是英文正文的做法，中文方块字本来就密，2.0 会让段落散成
   一行一行独立的条，读不出"段"。1.85 是中文长文的舒适区。 */
.article-prose { min-width: 0; color: #d2dae7; font-size: 17px; line-height: 1.85; }
.article-prose > :first-child { margin-top: 0; }
.article-prose h2,.article-prose h3,.article-prose h4 { scroll-margin-top: 100px; color: #f5f7fb; letter-spacing: -.025em; line-height: 1.45; }
.article-prose h2 { margin: 2.25em 0 .78em; font-size: 28px; }.article-prose h3 { margin: 2em 0 .7em; font-size: 22px; }.article-prose h4 { margin: 1.8em 0 .65em; font-size: 18px; }
.article-prose p { margin: 1.1em 0; }.article-prose strong { color: #f3f5f9; }.article-prose a { border-bottom: 1px solid rgba(104,143,255,.5); color: #8baaff; }
.article-prose mark { padding: .08em .22em; border-radius: 3px; background: rgba(255,201,83,.22); color: #ffe2a1; }
.article-prose blockquote { margin: 1.8em 0; padding: 8px 0 8px 22px; border-left: 3px solid #6289fa; color: #aeb9cc; font-size: 17px; }
.article-prose ul,.article-prose ol { padding-left: 1.55em; }.article-prose li { margin: .4em 0; }
.article-prose ul[data-type=taskList] { padding: 0; list-style: none; }.article-prose ul[data-type=taskList] li { display: flex; gap: 10px; }
.article-prose pre { overflow-x: auto; margin: 1.8em 0; padding: 20px 22px; border: 1px solid var(--article-line); border-radius: 12px; background: #05080e; color: #b9cbea; font: 13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace; }
.article-prose :not(pre)>code { padding: 2px 6px; border-radius: 5px; background: rgba(106,124,158,.14); color: #d3dded; }
.article-prose hr { margin: 2.8em 0; border: 0; border-top: 1px solid var(--article-line); }
.article-prose img,.article-prose .article-image { display: block; max-width: 100%; height: auto; margin: 2.1em auto; border-radius: 13px; box-shadow: 0 18px 50px rgba(0,0,0,.26); cursor: zoom-in; }
.article-prose figure { margin: 2.1em 0; }.article-prose figure img { margin-bottom: 9px; }.article-prose figcaption { color: var(--article-dim); font-size: 11px; text-align: center; }
.article-prose video,.article-prose .article-video { display: block; width: 100%; margin: 2.1em 0; border-radius: 13px; background: #000; box-shadow: 0 20px 55px rgba(0,0,0,.34); }
.article-prose .article-callout { margin: 1.8em 0; padding: 17px 20px; border: 1px solid rgba(83,128,255,.28); border-radius: 12px; background: rgba(83,128,255,.08); }.article-prose .article-callout--warning { border-color: rgba(255,181,71,.3); background: rgba(255,181,71,.08); }.article-prose .article-callout--success { border-color: rgba(45,207,145,.28); background: rgba(45,207,145,.07); }
.article-prose .article-callout > :first-child { margin-top: 0; }.article-prose .article-callout > :last-child { margin-bottom: 0; }
.article-prose .article-cta { display: inline-flex; margin: .65em 0; padding: 10px 18px; border: 0; border-radius: 9px; background: linear-gradient(145deg,#527fff,#315ee8); box-shadow: 0 9px 25px rgba(49,94,232,.25); color: white; font-weight: 700; }
.article-prose table { display: block; width: 100%; margin: 1.9em 0; overflow-x: auto; border-collapse: collapse; }.article-prose th,.article-prose td { min-width: 120px; padding: 10px 12px; border: 1px solid var(--article-line); }.article-prose th { background: rgba(255,255,255,.045); color: white; text-align: left; }
.article-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 66px; padding-top: 28px; border-top: 1px solid var(--article-line); }
.article-linked-products{margin-top:32px}.article-linked-products h2{font-size:18px;margin:0 0 12px}.article-linked-product{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid rgba(99,139,255,.2);border-radius:11px;background:rgba(78,118,231,.045)}.article-linked-product+.article-linked-product{margin-top:8px}.article-linked-product>div{min-width:0}.article-linked-product strong{font-size:14px;overflow-wrap:anywhere}.article-linked-product p{margin:5px 0 0;font-size:12px;color:var(--article-muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.article-linked-product a{flex-shrink:0;font-size:12px;color:#a9c1ff;padding:8px;border:1px solid rgba(99,139,255,.2);border-radius:7px}.article-linked-product a:hover,.article-linked-product a:focus-visible{color:white;border-color:#8eaeff}@media(max-width:600px){.article-linked-product{padding:12px;gap:10px}.article-linked-product strong{font-size:13px}.article-linked-product a{font-size:11px;padding:7px}}
.article-product-recommend { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 48px; padding: 22px 24px; border: 1px solid rgba(99,139,255,.25); border-radius: 14px; background: linear-gradient(135deg,rgba(78,118,231,.10),rgba(255,255,255,.018)); }
.article-product-recommend > div { min-width: 0; }
.article-product-recommend span { display: block; margin-bottom: 5px; color: #7798f6; font-size: 8.5px; font-weight: 800; letter-spacing: .18em; }
.article-product-recommend strong { display: block; color: #f2f5fb; font-size: 17px; }
.article-product-recommend p { margin: 5px 0 0; color: var(--article-muted); font-size: 11.5px; line-height: 1.7; }
.article-product-recommend a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid rgba(112,148,255,.36); border-radius: 9px; background: rgba(78,118,231,.12); color: #dbe5ff; font-size: 12px; font-weight: 700; }
.article-product-recommend a:hover { border-color: rgba(126,160,255,.65); background: rgba(78,118,231,.20); }
.article-neighbors a { display: grid; gap: 5px; padding: 15px 17px; border: 1px solid var(--article-line); border-radius: 11px; background: rgba(255,255,255,.02); }.article-neighbors a.is-next { text-align: right; }.article-neighbors span { color: var(--article-dim); font-size: 10px; }.article-neighbors strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.related-articles { margin-top: 92px; padding: 64px 0 80px; border-top: 1px solid var(--article-line); background: rgba(255,255,255,.015); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.related-grid a { padding: 22px; border: 1px solid var(--article-line); border-radius: 13px; background: rgba(255,255,255,.025); transition: transform .3s var(--ease); }.related-grid a:hover { transform: translateY(-4px); }.related-grid time { color: var(--article-dim); font-size: 10px; }.related-grid h3 { margin: 10px 0 7px; font-size: 16px; line-height: 1.5; }.related-grid p { margin: 0; color: var(--article-muted); font-size: 11.5px; line-height: 1.75; }

.article-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 40px; background: rgba(0,0,0,.88); }.article-lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }.article-lightbox button { position: absolute; top: 20px; right: 24px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(0,0,0,.4); color: white; font-size: 26px; cursor: pointer; }.has-lightbox { overflow: hidden; }
.article-copy-toast { position: fixed; z-index: 1001; right: 24px; bottom: 24px; padding: 10px 14px; border: 1px solid var(--article-line); border-radius: 9px; background: #172136; color: white; font-size: 12px; }
.article-site-footer { border-top: 1px solid var(--article-line); }.article-site-footer > div { display: flex; min-height: 90px; align-items: center; justify-content: space-between; color: var(--article-dim); font-size: 11px; }.article-site-footer a:hover { color: white; }

/* 目录退场的阈值（1240）和列表卡片换版的阈值（1100）本来就是两回事，分开写 */
@media (max-width: 1240px) { .article-toc { display: none; } }
@media (max-width: 1100px) { .article-card { grid-template-columns: minmax(0,1fr) 220px; }.article-card-cover { height: 128px; } }
@media (max-width: 800px) { .article-index-main { padding-top: 52px; }.article-category-section { margin-bottom: 44px; }.article-index-intro { align-items: start; flex-direction: column; gap: 20px; }.article-search-form { width: min(360px,100%); flex-basis: auto; }.related-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .article-shell,.article-content-shell,.article-wide-shell { width: min(calc(100% - 30px),var(--article-shell)); }
    /* 窄屏只留「文章」+ 产品入口按钮；首页由左上角 logo 承担 */
    .article-header-inner { min-height: 58px; }.article-brand span { max-width: calc(100vw - 230px); font-size: 12px; }
    .article-header-inner nav { gap: 7px; }.article-nav-links a:first-child { display: none; }.article-nav-links a { padding: 6px 12px; font-size: 11px; }
    .article-nav-cta { padding: 7px 13px; font-size: 11.5px; }.article-nav-cta i { display: none; }
    .article-crumbs { margin-bottom: 16px; padding: 5px 12px; font-size: 11px; }
    .article-index-main { padding: 36px 0 72px; }.article-category-section { width: 100%; margin-bottom: 38px; padding-left: 15px; }.article-category-heading { padding-right: 15px; }.article-category-cards { padding-right: 15px; }.article-category-card { width: 178px; height: 72px; flex-basis: 178px; }.article-index-intro { gap: 18px; margin-bottom: 24px; padding-bottom: 24px; }.article-list-copy h1 { font-size: 30px; }.article-list-copy > span { margin-top: 8px; font-size: 11.5px; line-height: 1.7; }.article-search-form { width: 100%; }
    .article-list-heading { margin-bottom: 5px; }.article-list-heading > div { gap: 7px; }.article-card { min-height: 120px; grid-template-columns: minmax(0,1fr) 112px; margin: 0; padding: 13px 0; border-radius: 0; }.article-card-cover { width: 112px; height: 78px; border-radius: 9px; }.article-card-body { padding: 9px 12px 9px 0; }.article-card-body h2 { margin-top: 6px; font-size: 16px; }.article-card-body p { display: none; }.article-card-meta { gap: 6px; font-size: 9px; }.article-card-meta span { display: none; }.article-read-more { margin-top: 8px; font-size: 10px; }
    .article-detail-hero { padding-top: 48px; padding-bottom: 34px; }.article-detail-hero h1 { font-size: 34px; }.article-hero-cover { width: calc(100% - 30px); aspect-ratio: 2/1; margin-bottom: 28px; border-radius: 11px; }
    .article-prose { font-size: 15.5px; line-height: 1.8; }.article-prose h2 { font-size: 24px; }.article-prose h3 { font-size: 20px; }
    .article-neighbors { grid-template-columns: 1fr; }.article-neighbors a.is-next { text-align: left; }.related-articles { margin-top: 68px; padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* =============================================================
   版式优化（2026-08-27）
   核心问题不是"不好看"，是用了内容多时才成立的版式：
   三栏、目录、搜索、分类墙 —— 内容不够时只能撑出空白。
   这里让这些结构在内容少时自动收起，而不是空着。
   ============================================================= */

/* ---- 首屏收紧 ----
   原先顶栏到封面之间约 350px 只放了四行居中文字，信息密度太低 */
.article-detail-hero { padding-top: 52px; padding-bottom: 30px; }
/* 摘要段落撤掉后 meta 直接接在大标题下，18px 顶得太近，放到 22px */
.article-detail-meta { margin-top: 22px; }

/* ---- 浅色封面必须收边 ----
   封面多是白蓝色插图，直接贴在 #070a12 上像一块膏药。
   内描边 + 暗角让它"陷"进页面，和首页轮播用的是同一个做法。 */
.article-hero-cover,
.article-card-cover,
.article-category-card {
    position: relative;
    isolation: isolate;
}
.article-hero-cover::after,
.article-card-cover::after,
.article-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .12),
        inset 0 0 60px rgba(7, 10, 18, .5);
}
.article-hero-cover { margin-bottom: 30px; }

/* ---- 目录少于 3 条时整体降为单栏 ----
   一两条的目录没有导航价值，却让左右两栏各自空着 */
.article-detail-layout.is-solo {
    grid-template-columns: minmax(0, var(--article-content));
    justify-content: center;
}
.article-detail-layout.is-solo .article-share {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--article-line);
}
.article-detail-layout.is-solo .article-share span { margin: 0; }

/* ---- 分类少于 3 个时收紧 ----
   卡片保持纯图不加文字，只把标题降级、留白收窄 */
.article-category-section.is-few { margin-bottom: 34px; }
.article-category-section.is-few .article-category-heading h2 { font-size: 15px; }
.article-category-section.is-few .article-category-heading p { font-size: 9.5px; opacity: .8; }

/* 分类区已移到主标题之后，与上方标题拉开一点距离 */
.article-category-section { margin-top: 26px; }

/* ---- 文章卡片：缩略图别贴到最右 ----
   原先文字贴最左、图贴最右，中间几百像素空白，视线要跨很远 */
.article-card-grid { gap: 16px; }
.article-card { max-width: 1000px; }

/* =============================================================
   详情页收紧与质感（2026-08-27 第二轮）

   量出来的问题，不是感觉：
   - 封面 760px、正文里的视频 800px，两个大块上下堆着差 40px 对不齐
   - 正文 line-height 32px（=2.0），中文段落散架；每行 50 字，横扫太远
   - 正文→分享栏 72px、分享栏→上下篇 66px，块间留白全是同一档，没节奏
   - 「上下篇」在没有上一篇/下一篇时照样渲染：一条分隔线 + 29px 空气
   - 页面下半部分背景是纯 #070a12 死黑，没有任何氛围
   ============================================================= */

/* ---- 媒体宽度 = 正文宽度 ----
   撤掉了原先的"出血到 880"：三栏时出血必须关掉（会压到侧栏），结果
   有目录/没目录两种文章的媒体宽度不一样，反而制造了不一致。
   现在全页只有一条竖直边界：封面、正文、图片、视频、上下篇全部对齐。 */
.article-prose > img,
.article-prose > figure,
.article-prose > video,
.article-prose > .article-image,
.article-prose > .article-video { width: 100%; max-width: 100%; margin-right: auto; margin-left: auto; }
.article-prose > figure > img { width: 100%; margin: 0 0 9px; }

/* 媒体块自己也需要更大的呼吸 —— 它比正文宽，用正文的段间距会显得挤 */
.article-prose img,.article-prose .article-image,
.article-prose video,.article-prose .article-video,
.article-prose figure { margin-top: 2.4em; margin-bottom: 2.4em; }

/* ---- 正文节奏 ----
   末尾元素的下边距要清掉：编辑器常在文末留一个空段落，它的 1.05em 会
   逃逸出正文盒，和下面分享栏的间距叠在一起，白白多出十几像素。 */
.article-prose > :last-child { margin-bottom: 0; }

/* =============================================================
   正文排版（2026-08-28 第二轮）

   前面三轮改的全是"外框"：顶栏、面包屑、目录卡片、图标条、间距对齐。
   但正文区占了屏幕约 90% 的像素，一直没动过 —— 所以翻页看到的还是
   同一堵灰字墙，用户两次反馈"感觉变化不大"，是对的。

   这一轮只改正文本身。按这篇长文的实际构成排优先级：
   段落 128、列表项 43、h2 9、hr 9、h3 7、引用 4、图片 3。
   ============================================================= */

/* ---- 段落节奏 ---- */
.article-prose p { margin: 1.15em 0; }
/* 每节第一段稍亮稍大：把"新章节开始了"这件事用字重说出来，
   而不是只靠一个标题 */
.article-prose h2 + p { color: #e3e9f5; font-size: 17.5px; }
.article-prose strong { font-weight: 700; }

/* ---- h2：章节编号 + 渐变细线 ----
   原来只是一行大字，9 个章节长得一模一样，滚动时分不出走到哪了。 */
.article-prose { counter-reset: article-h2; }
.article-prose h2 {
    position: relative;
    margin: 2.9em 0 .85em;
    padding-top: 26px;
    counter-increment: article-h2;
    font-size: 30px;
}
.article-prose h2::after {
    position: absolute;
    top: 7px; right: 0; left: 0;
    height: 1px;
    background: linear-gradient(90deg,rgba(108,147,255,.5),rgba(255,255,255,.07) 38%,transparent);
    content: '';
}
/* 编号只在长文（有目录 = 标题 ≥3 条）上出现。
   一篇只有一个标题的短文顶着"01"很滑稽。 */
.has-toc .article-prose h2::before {
    position: absolute;
    top: 0; left: 0;
    color: #7f9dff;
    content: counter(article-h2,decimal-leading-zero);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}
.has-toc .article-prose h2::after { left: 36px; }

/* ---- h3：左侧渐变短条 ---- */
.article-prose h3 {
    position: relative;
    margin: 2em 0 .65em;
    padding-left: 16px;
    font-size: 21px;
}
.article-prose h3::before {
    position: absolute;
    top: .3em; bottom: .3em; left: 0;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg,#6c93ff,#8f6dff);
    content: '';
}

/* ---- 引用：从一条竖杠变成玻璃卡片 ----
   文章里的 4 个引用都是作者最想让人记住的话，原先的样式比正文还轻。 */
.article-prose blockquote {
    position: relative;
    margin: 2.3em 0;
    padding: 24px 60px;
    border: 1px solid rgba(108,147,255,.2);
    border-left: 0;
    border-radius: 14px;
    background: linear-gradient(135deg,rgba(92,134,255,.11),rgba(143,109,255,.05));
    box-shadow: 0 14px 36px rgba(0,0,0,.22);
    color: #dde4f4;
    font-size: 17.5px;
    line-height: 1.8;
}
.article-prose blockquote::before,
.article-prose blockquote::after {
    position: absolute;
    color: rgba(124,158,255,.42);
    font: 700 52px/1 Georgia,"Times New Roman",serif;
    pointer-events: none;
}
.article-prose blockquote::before { top: 12px; left: 22px; content: '\201C'; }
.article-prose blockquote::after { right: 20px; bottom: 2px; content: '\201D'; opacity: .72; }
.article-prose blockquote > :first-child { margin-top: 0; }
.article-prose blockquote > :last-child { margin-bottom: 0; }
.article-prose blockquote p { font-size: inherit; }

/* ---- 无序列表：菱形标记 ----
   43 个列表项是正文里仅次于段落的第二大块，默认的圆点太没存在感。 */
.article-prose ul:not([data-type=taskList]) { padding-left: 0; list-style: none; }
.article-prose ul:not([data-type=taskList]) > li { position: relative; margin: .55em 0; padding-left: 25px; }
.article-prose ul:not([data-type=taskList]) > li::before {
    position: absolute;
    top: .66em; left: 5px;
    width: 6px; height: 6px;
    border-radius: 2px;
    background: linear-gradient(145deg,#6c93ff,#8f6dff);
    content: '';
    transform: rotate(45deg);
}

/* ---- 有序列表：编号胶囊 ---- */
.article-prose ol { padding-left: 0; counter-reset: article-li; list-style: none; }
.article-prose ol > li { position: relative; margin: .7em 0; padding-left: 36px; counter-increment: article-li; }
.article-prose ol > li::before {
    position: absolute;
    top: .16em; left: 0;
    display: grid;
    width: 22px; height: 22px;
    border: 1px solid rgba(108,147,255,.32);
    border-radius: 50%;
    background: rgba(92,134,255,.15);
    color: #a8bfff;
    content: counter(article-li);
    font-size: 11.5px;
    font-weight: 700;
    place-items: center;
}

/* ---- 分隔线 ----
   这篇文章每个 h2 前面都有一条 <hr>，和 h2 自带的渐变线叠在一起是噪音。
   紧跟 h2 的直接隐藏；独立出现的做成居中小菱形，不再横穿整个版面。
   :has() 不支持时最多是多出一条细线，不会坏版。 */
.article-prose hr:has(+ h2) { display: none; }
.article-prose hr {
    position: relative;
    height: 6px;
    margin: 2.6em auto;
    border: 0;
    background: none;
}
.article-prose hr::before {
    position: absolute;
    top: 0; left: 50%;
    width: 6px; height: 6px;
    border-radius: 2px;
    background: rgba(124,158,255,.4);
    content: '';
    transform: translateX(-50%) rotate(45deg);
}

/* ---- 图片：和封面用同一套收边 ---- */
.article-prose img,.article-prose .article-image { border: 1px solid rgba(255,255,255,.09); }

/* ---- 渐变发丝线 ----
   纯色 1px 横线在深色底上是一条生硬的灰杠。两端淡出的渐变线是同一个
   分隔作用，但不会把页面切成一段一段。 */
.article-neighbors,
.related-articles,
.article-site-footer,
.article-share {
    border-top: 0;
    background-image: linear-gradient(90deg,transparent,rgba(255,255,255,.13) 20%,rgba(255,255,255,.13) 80%,transparent);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 1px;
}
.related-articles { background-color: rgba(255,255,255,.015); }

/* ---- 块间节奏：块内紧、块间松，不再是到处 66~92px ---- */
.article-neighbors { margin-top: 52px; padding-top: 26px; }
.related-articles { margin-top: 76px; padding: 56px 0 72px; }
.article-site-footer > div { min-height: 76px; }

/* ---- 分享栏：默认是正文下方一排居中胶囊 ----
   和顶栏「产品入口」同一套语言。宽屏有目录时会变成右侧竖排图标条。 */
.article-detail-layout { row-gap: 0; }
.article-share {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
    padding-top: 24px;
    font-size: 11.5px;
}
.article-share > span { margin: 0 4px 0 0; color: var(--article-dim); }
.article-share button,
.article-share a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 17px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    color: var(--article-muted);
    font-size: 11.5px;
    cursor: pointer;
    transition: border-color .25s,background .25s,color .25s;
}
.article-share button:hover,
.article-share a:hover {
    border-color: rgba(112,148,255,.45);
    background: rgba(92,134,255,.12);
    color: #fff;
}
.article-share svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---- 上下篇：只有一侧时不留空位 ---- */
.article-neighbors.is-single { grid-template-columns: minmax(0,1fr); }
.article-neighbors.is-single a.is-next { text-align: left; }

/* ---- 阅读进度 ----
   一条 2px 渐变，贴在顶栏底边。成本极低，但它把"这是一篇长文、你读到
   哪了"这件事说清楚了，是深色阅读页里最划算的一个质感细节。 */
.article-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; overflow: hidden; }
.article-progress i {
    display: block;
    width: 100%; height: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg,#5c86ff,#8f6dff 55%,#2dd4bf);
    will-change: transform;
}

/* ---- 首屏再收一档 ----
   标题区不跟着正文收到 720：它是居中排的展示性文字，盒宽本身看不见，
   只影响长标题在哪断行。留 800 让标题少断一行。 */
.article-detail-hero { width: min(calc(100% - 48px),800px); padding-top: 44px; padding-bottom: 26px; }
.article-detail-meta { margin-top: 20px; font-size: 11.5px; color: rgba(231,237,248,.5); }
.article-hero-cover { margin-bottom: 34px; }

@media (max-width: 600px) {
    .article-prose img,.article-prose .article-image,
    .article-prose video,.article-prose .article-video,
    .article-prose figure { margin-top: 1.9em; margin-bottom: 1.9em; }
    .article-share { margin-top: 36px; padding-top: 22px; }
    .article-neighbors { margin-top: 42px; }
}

/* =============================================================
   三栏阅读版（2026-08-28）

   反馈：「目录太贴近文章」「两侧元素没有边界感全堆在一起」。
   量出来的三条硬问题：

   1. 左右栏宽度不等（150 / 96），grid 居中的是"整组"，于是正文中轴
      比页面中轴右偏 27px —— 上面的封面和标题都是页面居中的，往下一滚
      正文就悄悄歪了。这是"乱"最说不清但最难受的一条。
   2. 两条侧栏都是裸文字浮在背景上，和正文只隔 40px，三块文字挨在一起，
      读者分不出哪块是内容、哪块是导航。
   3. 目录条目全是同一档灰色小字，13 条平铺，还用 nowrap 截断成
      "为什么很多人看了不少项目…"，等于没有导航价值。

   对策：左右栏等宽（正文回到页面中轴）、拉开间距、给目录一个玻璃卡片
   容器、右栏收成圆形图标条。
   ============================================================= */
@media (min-width: 1241px) {
    /* 190 + 52 + 780 + 52 + 190 = 1264（满宽）。
       两条侧栏用 minmax 且完全相同 —— 空间不够时一起收窄，正文永远在页面中轴上。
       gap 用 clamp 跟着视口走，1241 的临界宽度也放得下。 */
    .article-detail-layout.has-toc {
        width: min(calc(100% - 48px),1264px);
        grid-template-columns: minmax(150px,190px) minmax(0,var(--article-content)) minmax(150px,190px);
        column-gap: clamp(32px,3.4vw,52px);
    }
    .article-detail-layout.has-toc .article-prose { grid-column: 2; }

    /* ---- 目录卡片 ---- */
    .article-detail-layout.has-toc .article-toc {
        position: sticky;
        top: 92px;
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        max-height: calc(100vh - 130px);
        padding: 0 0 14px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.075);
        border-radius: 16px;
        background: linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
        box-shadow: 0 18px 44px rgba(0,0,0,.28);
    }
    /* 标题独立成一栏，下面压一条发丝线 —— 卡片内部也要有层级 */
    .article-detail-layout.has-toc .article-toc strong {
        display: flex;
        align-items: center;
        gap: 7px;
        margin: 0 0 10px;
        padding: 13px 15px 11px;
        border-bottom: 1px solid rgba(255,255,255,.06);
        color: #a9bcff;
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: .16em;
    }
    .article-detail-layout.has-toc .article-toc strong::before {
        width: 3px; height: 11px;
        border-radius: 2px;
        background: linear-gradient(180deg,#6c93ff,#8f6dff);
        content: '';
    }
    /* 条目区单独滚动，上下用遮罩淡出，滚动时不会被硬切一刀 */
    .article-detail-layout.has-toc .article-toc nav {
        display: grid;
        max-height: calc(100vh - 210px);
        margin-left: 16px;
        padding-left: 0;
        overflow-y: auto;
        border-left: 1px solid rgba(255,255,255,.09);
        gap: 0;
        -webkit-mask-image: linear-gradient(180deg,transparent,#000 10px,#000 calc(100% - 10px),transparent);
        mask-image: linear-gradient(180deg,transparent,#000 10px,#000 calc(100% - 10px),transparent);
        scrollbar-width: none;
    }
    .article-detail-layout.has-toc .article-toc nav::-webkit-scrollbar { display: none; }
    /* 长标题给两行而不是截成省略号：截断后的目录没有导航价值 */
    .article-detail-layout.has-toc .article-toc a {
        position: relative;
        display: -webkit-box;
        margin-left: -1px;
        padding: 7px 14px 7px 13px;
        overflow: hidden;
        border-left: 2px solid transparent;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: rgba(231,237,248,.56);
        font-size: 11.5px;
        line-height: 1.5;
        text-overflow: clip;
        white-space: normal;
        transition: color .22s,border-color .22s,background .22s;
    }
    /* 子项用一个小短横标出层级，比单纯缩进更清楚 */
    .article-detail-layout.has-toc .article-toc a.is-sub {
        padding-left: 26px;
        color: rgba(231,237,248,.4);
        font-size: 10.5px;
    }
    .article-detail-layout.has-toc .article-toc a.is-sub::before {
        position: absolute;
        top: 14px; left: 14px;
        width: 5px; height: 1px;
        background: rgba(255,255,255,.22);
        content: '';
    }
    .article-detail-layout.has-toc .article-toc a:hover { background: rgba(255,255,255,.035); color: #cdd8f5; }
    .article-detail-layout.has-toc .article-toc a.is-active {
        border-left-color: #6c93ff;
        background: linear-gradient(90deg,rgba(92,134,255,.18),rgba(92,134,255,0));
        color: #e2e9ff;
        font-weight: 600;
    }
    .article-detail-layout.has-toc .article-toc a.is-active.is-sub::before { background: #6c93ff; }

    /* ---- 右栏：收成圆形图标条 ----
       和左边等宽（保证正文居中），但内容只占一小条，视觉重量远低于目录，
       两边不会看起来像两个并列的模块。 */
    .article-detail-layout.has-toc .article-share {
        position: sticky;
        top: 92px;
        grid-column: 3;
        grid-row: 1;
        display: grid;
        justify-items: center;
        align-self: start;
        gap: 9px;
        width: 44px;
        margin: 0;
        padding: 0;
        background-image: none;
    }
    /* 两个图标已经自解释，再顶一行"分享文章"是多余的重量 */
    .article-detail-layout.has-toc .article-share > span { display: none; }
    .article-detail-layout.has-toc .article-share button,
    .article-detail-layout.has-toc .article-share a {
        display: grid;
        width: 38px; height: 38px;
        padding: 0;
        border-radius: 50%;
        place-items: center;
        font-size: 0;
    }
    .article-detail-layout.has-toc .article-share svg { width: 16px; height: 16px; }
}

@media (max-width: 600px) {
    .article-product-recommend { align-items: stretch; flex-direction: column; gap: 16px; margin-top: 36px; padding: 19px; }
    .article-product-recommend a { justify-content: center; }
}
