:root {
  --accent-border: rgba(108,77,255,0.22);
  --accent-cyan: #6c4dff;
  --accent-dim: rgba(108,77,255,0.12);
  --accent-green: #6c4dff;
  --accent-medium: rgba(139,92,246,0.14);
  --amber: #F59E0B;
  --amber-bg: rgba(245,158,11,.12);
  --bg: #ffffff;
  --bg-deep: #e8e1ff;
  --bg-mid: #f1ecff;
  --bg-soft: #f7f5fd;
  --brand: #6c4dff;
  --brand-e: #a855f7;
  --brand-soft: #f1ecff;
  --cyan-bg: rgba(108,77,255,.12);
  --fg-dim: #8A8F8A;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
      "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #e8e8ed;
  --line-2: #dcdce0;
  --maxw: 1060px;
  --radius: 20px;
  --radius-lg: 28px;
  --state-error: #EF4444;
  --state-error-bg: rgba(239,68,68,.12);
  --state-success: #10B981;
  --state-success-bg: rgba(16,185,129,.12);
  --violet: #8B5CF6;
  --violet-bg: rgba(139,92,246,.14);
}

.logo {
font-weight: 600; letter-spacing: -0.01em; font-size: 17px;
}

.logo span {
color: var(--brand);
}

/* 订阅更新按钮 + 正文主按钮：流光玻璃版本（从设计稿逐字复制）
   设计稿源：appin-homepage-hifi.html line 168-201 / model-plaza.html line 65-82
   - 紫渐变 padding-box + conic-gradient 流光边框（@property --border-angle 旋转）
   - backdrop-filter 玻璃模糊 + glassHue/borderFlow 持续动画
   - inset 高光 + 紫投影 + 紫色描边；hover 加强光晕
*/
@property --border-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.nav-cta, .btn-primary, .sub-form button, .shot-strip .pill.f, .try-btn, .read-link {
  color: #fff;
  border: 1.5px solid transparent;
  background:
    linear-gradient(135deg, rgba(168,85,247,0.90), rgba(108,77,255,0.66)) padding-box,
    conic-gradient(from var(--border-angle),
      rgba(124,58,237,0.22) 0%, #c4b5fd 16%, rgba(124,58,237,0.22) 34%,
      #a855f7 52%, rgba(124,58,237,0.22) 70%, #c4b5fd 88%, rgba(124,58,237,0.22) 100%) border-box;
  background-size: 220% 220%, auto;
  animation: glassHue 9s ease-in-out infinite, borderFlow 6s linear infinite;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 8px 24px rgba(124,58,237,0.40),
    0 0 0 1px rgba(124,58,237,0.18);
  transition: box-shadow .35s ease, transform .2s, opacity .2s;
  position: relative;
}
@keyframes glassHue {
  0%   { background-position: 0% 50%, 0 0; }
  50%  { background-position: 100% 50%, 0 0; }
  100% { background-position: 0% 50%, 0 0; }
}
@keyframes borderFlow { to { --border-angle: 360deg; } }

.nav-cta:hover, .btn-primary:hover, .sub-form button:hover, .shot-strip .pill.f:hover, .try-btn:hover, .read-link:hover {
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 12px 34px rgba(124,58,237,0.58),
    0 0 0 1px rgba(168,85,247,0.5),
    0 0 28px rgba(168,85,247,0.5);
}

.btn-primary:active, .nav-cta:active, .sub-form button:active, .shot-strip .pill.f:active, .try-btn:active, .read-link:active {
  transform: scale(0.97);
}

/* 各自基础尺寸（设计稿：sub-form 15px/26px, try-btn 13px/18px, read-link 13px/16px, nav-cta 13px/16px 胶囊） */
.sub-form button { font-size: 15px; padding: 13px 26px; border: none; font-family: inherit; border-radius: 980px; }
.try-btn  { font-size: 13px; padding: 8px 18px; border-radius: 980px; }
.read-link{ font-size: 13px; padding: 7px 16px; border-radius: 980px; }
.nav-cta  { font-size: 13px; padding: 7px 16px; border-radius: 980px; font-weight: 500; }

.nav-inner {
display: flex; align-items: center; justify-content: space-between; height: 54px;
}

.nav-links {
display: flex; gap: 28px; font-size: 14px; color: var(--ink-2);
}

.nav-links a {
position: relative; transition: color .2s;
    background-image: linear-gradient(var(--ink), var(--ink));
    background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
    padding-bottom: 4px;
}

.nav-links a.active {
color: var(--brand); background-image: linear-gradient(var(--brand), var(--brand)); background-size: 100% 1px;
}

.nav-links a:hover {
color: var(--ink); background-size: 100% 1px;
}

/* NAV */
nav {
position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}

ul.nav-links {
list-style: none; margin: 0; padding: 0;
}

.nav-logo {
font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.nav-logo span {
color: var(--brand);
}

.btn {
font-size: 15px; font-weight: 500; padding: 13px 28px; border-radius: 980px;
    transition: transform .2s, background .2s, opacity .2s;
}

.btn-ghost {
color: var(--ink); border: 1px solid var(--line-2); background: #fff;
}

.btn-ghost:hover {
border-color: var(--ink-3);
}

.aurora {
position: fixed; inset: -10%; z-index: 0; pointer-events: none; overflow: hidden;
}

.orb {
position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform, filter;
}

.orb-1 {
width: 560px; height: 560px; top: 2%; left: -9%;
    background: radial-gradient(circle, rgba(108,77,255,0.42), transparent 70%);
    animation: orbFloat1 16s ease-in-out infinite, orbHue 12s linear infinite;
}

.orb-2 {
width: 600px; height: 600px; bottom: -6%; right: -12%;
    background: radial-gradient(circle, rgba(168,85,247,0.38), transparent 70%);
    animation: orbFloat2 19s ease-in-out infinite reverse, orbHue 14s linear infinite reverse;
}

.orb-3 {
width: 460px; height: 460px; top: 46%; left: 30%;
    background: radial-gradient(circle, rgba(34,211,238,0.30), transparent 70%);
    animation: orbFloat3 14s ease-in-out infinite, orbHue 16s linear infinite;
}

.post-grid > .reveal:nth-child(even) {
transition-delay: 60ms;
}

.post-grid > .reveal:nth-child(odd) {
transition-delay: 0ms;
}

.reveal {
opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.6,.2,1);
}

.reveal.in {
opacity: 1; transform: none;
}

.scroll-progress {
position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; pointer-events: none; background: linear-gradient(90deg, var(--brand), var(--brand-e)); transition: width .08s linear;
}

@keyframes borderFlow {
to { --border-angle: 360deg; }
}

@keyframes glassHue {
0% { background-position: 0% 50%, 0 0; }
    50% { background-position: 100% 50%, 0 0; }
    100% { background-position: 0% 50%, 0 0; }
}

@keyframes orbFloat1 {
0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
    33%      { transform: translate(28%, -22%) rotate(18deg) scale(1.18); }
    66%      { transform: translate(-22%, 18%) rotate(-14deg) scale(1.10); }
}

@keyframes orbFloat2 {
0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
    40%      { transform: translate(-30%, 24%) rotate(-20deg) scale(1.22); }
    70%      { transform: translate(20%, -18%) rotate(15deg) scale(1.08); }
}

@keyframes orbFloat3 {
0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
    50%      { transform: translate(26%, -20%) rotate(22deg) scale(1.18); }
}

@keyframes orbHue {
0%   { filter: blur(72px) hue-rotate(0deg);   }
    50%  { filter: blur(80px) hue-rotate(40deg);  }
    100% { filter: blur(72px) hue-rotate(0deg);   }
}

@property --border-angle {
syntax: "<angle>"; initial-value: 0deg; inherits: false;
}

.foot-copy {
font-size: 12px; color: var(--ink-3);
}

.foot-inner {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

.foot-mon {
font-size: 13px; color: var(--ink-3);
}

.foot-mon a {
color: var(--brand);
    background-image: linear-gradient(var(--brand), var(--brand));
    background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
    padding-bottom: 2px; transition: background-size .3s ease;
}

.foot-mon a:hover {
background-size: 100% 1px;
}

.post-card .foot {
display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 10px;
}

.statbar {
display: flex; gap: 16px; justify-content: center; margin-top: 52px; flex-wrap: wrap;
}

.statcard {
background: rgba(255,255,255,0.78); backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 30px; text-align: center; min-width: 150px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 10px 26px rgba(99,70,200,0.07);
}

.statcard .lbl {
font-size: 13px; color: var(--ink-3); margin-top: 4px;
}

.statcard .num {
font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--brand); font-variant-numeric: tabular-nums;
}

.tool-foot {
margin-top: 22px;
}

.wrap {
max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1;
}

/* FOOTER */
footer {
padding: 36px 0; border-top: 1px solid var(--line); position: relative; z-index: 1;
}

.site-foot {
position: relative; z-index: 1; padding: 44px 0 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.07) 55%);
}
.site-foot .foot-grid {
max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
}
.site-foot .foot-brand .fb-logo { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.site-foot .foot-brand .fb-logo span { color: var(--brand); }
.site-foot .foot-brand p { margin-top: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.7; max-width: 260px; }
.site-foot .foot-col { display: flex; flex-direction: column; gap: 9px; }
.site-foot .foot-col h4 { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .06em; margin-bottom: 14px; }
.site-foot .foot-col a { font-size: 13.5px; color: var(--ink-3); text-decoration: none; transition: color .2s; width: fit-content; }
.site-foot .foot-col a:hover { color: var(--brand); }
.site-foot .foot-bottom {
max-width: var(--maxw); margin: 30px auto 0; padding: 18px 28px 0; border-top: 1px solid var(--line);
    font-size: 12.5px; color: var(--ink-3); text-align: center;
}
@media (max-width: 760px) { .site-foot .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

section {
padding: 80px 0; position: relative;
}

* {
margin: 0; padding: 0; box-sizing: border-box;
}

.b-chat {
background:var(--accent-dim);color:var(--accent-green)
}

.badge {
font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 980px;
    border: 1px solid transparent; white-space: nowrap;
}

.badge.live {
color: #1a7f37; background: #eef7f0;
}

.entry-grid {
display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 880px; margin: 0 auto;
}

.eyebrow {
font-size: 13px; color: var(--ink-3); font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px;
}

.eyebrow::before {
content: ""; display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--brand); margin-right: 10px; vertical-align: middle;
}

.eyebrow::before, .sec-head .k::before {
content: ""; display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--brand); margin-right: 10px; vertical-align: middle;
}

.hero-cta {
margin-top: 36px; display: flex; gap: 14px; justify-content: center;
}

.page-hero {
padding: 132px 0 56px; text-align: center; position: relative;
}

.page-hero h1 {
font-size: 64px; line-height: 1.05; font-weight: 600; letter-spacing: -0.04em;
}

.page-hero h1 .hl {
color: var(--brand);
}

.page-hero p.sub {
font-size: 19px; color: var(--ink-2); max-width: 60ch; line-height: 1.6; margin: 24px auto 0;
}

.plink {
font-size: 13px; font-weight: 500; color: var(--brand);
    background-image: linear-gradient(var(--brand), var(--brand)); background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
    padding-bottom: 2px; transition: background-size .3s; white-space: nowrap;
}

.plink:hover {
background-size: 100% 1px;
}

.plugin-note {
text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 44px;
}

/* 分类色（各栏目 data-cat 映射，未命中用品牌紫） */
.post-card[data-cat="ai"]{--cat-c:#a855f7}
.post-card[data-cat="tool"]{--cat-c:#22d3ee}
.post-card[data-cat="fe"]{--cat-c:#f59e0b}
.post-card[data-cat="tut"]{--cat-c:#34d399}
.post-card[data-cat="etc"]{--cat-c:#94a3b8}
.post-card[data-cat="ops"]{--cat-c:#a855f7}
.post-card[data-cat="think"]{--cat-c:#22d3ee}
.post-card[data-cat="aerial"]{--cat-c:#22d3ee}
.post-card[data-cat="tone"]{--cat-c:#f59e0b}
.post-card[data-cat="compare"]{--cat-c:#34d399}
.post-card{--cat-c:var(--brand)}

.post-card {
display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: var(--radius);
    background: rgba(255,255,255,0.80); backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(232,232,237,0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 28px rgba(99,70,200,0.07);
    transition: transform .5s cubic-bezier(.34,1.4,.5,1), box-shadow .3s, border-color .3s;
    position: relative; overflow: hidden;
}
/* 顶边分类色条 */
.post-card::before {
content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--cat-c); opacity: .55; transition: opacity .3s, height .3s;
}
.post-card:hover::before { opacity: 1; height: 4px; }
/* 序号角标 */
.post-grid { counter-reset: post; }
.post-card::after {
counter-increment: post; content: counter(post, decimal-leading-zero);
    position: absolute; top: 13px; right: 16px;
    font-size: 12px; font-weight: 700; color: var(--cat-c);
    font-variant-numeric: tabular-nums; opacity: .85; letter-spacing: .04em;
}

.post-card .cat {
align-self: flex-start; font-size: 11px; font-weight: 600; color: var(--brand);
    background: var(--brand-soft); border: 1px solid rgba(124,58,237,0.18); border-radius: 980px; padding: 3px 11px;
}

.post-card .meta {
font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums;
}

.post-card .pdesc {
color: var(--ink-2); font-size: 14px; margin-top: 9px; line-height: 1.58; flex: 1;
}

.post-card .ptitle {
font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.32; margin-top: 14px;
}

.post-card:hover {
transform: translateY(-6px);
    border-color: transparent;
    background:
        linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)) padding-box,
        conic-gradient(from var(--border-angle),
            rgba(124,58,237,0.25) 0%, #c4b5fd 18%, rgba(124,58,237,0.25) 36%,
            #a855f7 54%, rgba(124,58,237,0.25) 72%, #c4b5fd 90%, rgba(124,58,237,0.25) 100%) border-box;
    animation: borderFlow 6s linear infinite;
    box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 18px 44px rgba(99,70,200,0.16);
}

.post-grid {
display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}

.sec-head {
text-align: center; margin-bottom: 44px;
}

.sec-head h2 {
font-size: 38px; font-weight: 600; letter-spacing: -0.03em;
}

.sec-head p {
font-size: 16px; color: var(--ink-2); margin-top: 12px;
}

.tab {
font-size: 14px; color: var(--ink-2); border: 1px solid var(--line-2); background: #fff;
    border-radius: 980px; padding: 8px 18px; cursor: pointer; transition: all .2s;
}

.tab.active {
color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-e)); box-shadow: 0 6px 18px rgba(124,58,237,0.30);
}

.tab .cnt {
display: inline-block; min-width: 20px; margin-left: 6px; padding: 1px 6px;
    font-size: 11px; font-weight: 600; border-radius: 980px; text-align: center; line-height: 1.5;
    background: rgba(124,58,237,0.10); color: var(--brand);
}
.tab.active .cnt { background: rgba(255,255,255,0.22); color: #fff; }

.tab:hover {
border-color: var(--ink-3);
}

.tabs {
display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 8px 0 44px;
}

.tool-card {
position: relative; display: flex; flex-direction: column; padding: 30px 32px 28px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.80); backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(232,232,237,0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 14px 34px rgba(99,70,200,0.09);
    transition: transform .5s cubic-bezier(.34,1.4,.5,1), box-shadow .3s, border-color .3s;
}

.tool-card .desc {
color: var(--ink-2); font-size: 15px; margin-top: 16px; line-height: 1.65;
}

.tool-card .ico {
width: 46px; height: 46px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center;
    font-size: 22px; background: linear-gradient(135deg, var(--brand), var(--brand-e));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 10px rgba(124,58,237,0.30);
}

.tool-card .name {
font-size: 21px; font-weight: 600; letter-spacing: -0.02em;
}

.tool-card .tag {
font-size: 12px; color: var(--ink-3); margin-top: 2px;
}

.tool-card .top {
display: flex; align-items: center; gap: 14px;
}

.tool-card:hover {
transform: translateY(-5px); border-color: rgba(168,85,247,0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 20px 48px rgba(99,70,200,0.16), 0 0 0 1px rgba(168,85,247,0.14);
}

@media (max-width: 768px) {
.page-hero h1 { font-size: 40px; } .nav-links { display: none; } .post-grid { grid-template-columns: 1fr; } section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
.reveal { opacity: 1; transform: none; transition: none; } .aurora, .orb, .btn-primary, .nav-cta { animation: none; }
}

a {
color: inherit; text-decoration: none;
}

body {
font-family: var(--font);
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 24%, #f3eefd 50%, #faf8ff 76%, #ffffff 100%);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
scroll-behavior: smooth;
}
/* ══════════════════════════════════════════════════════════════
   内容页兼容层（craft / notes / daily-digest 文章）
   让文章组件类直接复用 appin.css 的设计 token，无需再引 article.css
   ══════════════════════════════════════════════════════════════ */
:root{
  --bg-primary:#ffffff;
  --bg-secondary:var(--bg-soft,#f7f5fd);
  --bg-elevated:#ffffff;
  --text-primary:var(--ink,#1d1d1f);
  --text-secondary:var(--ink-2,#6e6e73);
  --text-inverse:#ffffff;
  --accent-green:var(--brand,#6c4dff);
  --accent-cyan:var(--brand,#6c4dff);
  --accent-dim:var(--brand-soft,#f1ecff);
  --border-subtle:var(--line,#e8e8ed);
  --border-strong:var(--line-2,#dcdce0);
  --fg-dim:var(--ink-3,#86868b);
  --brand-dim:var(--brand,#6c4dff);
  --brand-bg:var(--brand-soft,#f1ecff);
  --cyan:var(--brand,#6c4dff);
  --cyan-bg:var(--brand-soft,#f1ecff);
  --amber-bg:rgba(245,158,11,.12);
  --max-text:760px;
  --radius-sm:10px;
  --radius-md:12px;
  --font-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --font-sans:var(--font);
}
@keyframes fx-heartbeat{0%,100%{transform:scale(.8);opacity:.6}50%{transform:scale(1.2);opacity:1}}

/* ═══════════ APPIN.SITE 共享文章皮肤 ═══════════
   2026-07-19 统一「极客暗黑终端风」（deepseek 细化版 de5545 蓝本）。
   设计 token 采用新蓝本命名(--bg-primary/--text-primary/--accent-green/...)，
   并保留旧名(--bg/--brand/--fg/--cyan/--border...)作向后兼容别名，
   确保 75+ 存量文章 HTML 不断裂。
   组件新增：.section-title(> marker) / .btn-ghost(> 前缀) / 提交式 hover。 */

:root {/* —— 新蓝本 token（deepseek 细化版 de5545） —— */
  --bg-primary:#F7F8F6;
  --bg-secondary:#F0F2ED;
  --bg-elevated:#FFFFFF;
  --text-primary:#1A1D1A;
  --text-secondary:#565D56;
  --text-inverse:#F7F8F6;
  --accent-green:#6c4dff;
  --accent-cyan:#6c4dff;
  --accent-dim:rgba(139,92,246,0.16);
  --border-subtle:#E5E8E2;
  --border-strong:#C8CCC8;
  --state-error:#EF4444;
  --state-success:#10B981;
  --font-mono:'JetBrains Mono','Fira Code','PingFang SC',monospace;
  /* 正文阅读用系统无衬线（中文清晰），等宽仅留给代码/终端元素 */
  --font-sans:'Space Grotesk','PingFang SC','Microsoft YaHei',system-ui,-apple-system,'Segoe UI',sans-serif;

  /* —— 向后兼容别名（存量 HTML 沿用旧名） —— */
  --bg:var(--bg-primary);
  --bg-card:var(--bg-elevated);
  --fg:var(--text-primary);
  --fg-muted:var(--text-secondary);
  --fg-dim:#6E756E;
  --brand:var(--accent-green);
  --brand-dim:#3D7A00;
  --brand-bg:var(--accent-dim);
  --cyan:var(--accent-cyan);
  --cyan-bg:rgba(108,77,255,0.10);
  --border:var(--border-subtle);
  --border-bright:var(--border-strong);
  --amber:#F59E0B;
  --amber-bg:rgba(245,158,11,.10);
  --radius:8px;
  --max-text:900px;}
/* ═══ SECTION TITLE（蓝本 .section-title：> marker） ═══ */
.section-title {font-size:28px;font-weight:600;margin-bottom:40px;
  display:flex;align-items:center;gap:12px;color:var(--text-primary);font-family:var(--font-mono)}
.section-title .marker {color:var(--accent-green);font-weight:400}
/* ═══ HERO（左对齐） ═══ */
.hero {padding:96px 0 36px;text-align:left;max-width:var(--max-text);margin:0 auto}
.hero-badge {display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:99px;
  background:var(--accent-dim);color:var(--accent-green);font-size:11px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:24px;font-family:var(--font-mono)}
.hero-badge .dot {width:6px;height:6px;border-radius:50%;background:var(--accent-green)}
.hero h1 {font-size:clamp(28px,4.2vw,42px);font-weight:700;letter-spacing:-.03em;line-height:1.18;
  max-width:var(--max-text);margin:0 0 16px;color:var(--text-primary)}
.hero h1 .hl {color:var(--accent-green)}
.hero-desc {color:var(--text-secondary);font-size:17px;max-width:680px;margin:0 0 24px;line-height:1.7}
.hero-meta .dot {width:3px;height:3px;border-radius:50%;background:var(--fg-dim)}
.hero-meta .hl {color:var(--accent-green)}
.hero-divider {display:none}
.hero-meta .dot {width:3px;height:3px;border-radius:50%;background:var(--fg-dim)}
.hero-meta .hl {color:var(--accent-green)}
.hero-stats {display:flex;gap:32px;margin-top:16px;padding:18px 24px;
  background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:var(--radius)}
.hero-stat {text-align:center}
.hero-stat .num {font-size:26px;font-weight:700;color:var(--accent-green);
  letter-spacing:-.5px;font-family:var(--font-mono);line-height:1.2}
.hero-stat .label {font-size:12px;color:var(--fg-dim);margin-top:4px}
/* ═══ PAGE / ARTICLE BODY（对齐蓝本 .detail-body：max-width 720 / line-height 1.8） ═══ */
.page {max-width:var(--max-text);margin:0 auto;padding:0 28px 80px}
.article-body,.content {flex:1;min-width:0;max-width:100%;line-height:1.8}
.content {max-width:var(--max-text);margin:0 auto;padding:0 28px 48px}
.article-body h2,.content h2 {font-size:clamp(22px,3vw,28px);font-weight:700;letter-spacing:-.02em;
  margin:56px 0 18px;color:var(--text-primary);line-height:1.3;position:relative;padding-left:18px}
.article-body h2::before,.content h2::before {content:'';position:absolute;left:0;top:6px;bottom:6px;width:4px;
  border-radius:2px;background:var(--accent-green)}
.article-body h2:first-child,.content h2:first-child {margin-top:0}
.article-body h3,.content h3 {font-size:20px;font-weight:600;margin:36px 0 12px;color:var(--text-primary)}
.article-body h4,.content h4 {font-size:14px;font-weight:700;margin:28px 0 10px;color:var(--accent-green);
  text-transform:uppercase;letter-spacing:.05em;font-family:var(--font-mono)}
.article-body p,.content p {margin-bottom:18px;color:var(--text-secondary);line-height:1.8}
.article-body strong,.content strong {font-weight:700;color:var(--text-primary)}
.article-body ul,.article-body ol,.content ul,.content ol {margin:0 0 18px 20px}
.article-body li,.content li {margin-bottom:8px;line-height:1.8;color:var(--text-secondary)}
.article-body a:hover,.content a:hover {border-bottom-color:var(--accent-green)}
.article-body code,.content code {font-family:var(--font-mono);font-size:.88em;background:var(--accent-dim);
  color:var(--accent-green);padding:2px 6px;border-radius:6px}
/* 重要句强调（全局规范：品牌绿，font-weight:700） */
.article-body .key,.content .key {color:var(--accent-green);font-weight:700}
/* ═══ HERO COVER（首图，横图 16:9） ═══ */
.hero-cover {max-width:var(--max-text);margin:8px auto 0;padding:0 28px;position:relative;z-index:2}
.hero-cover img {width:100%;height:auto;border-radius:14px;border:1px solid var(--border-subtle);
  box-shadow:none;display:block;max-height:460px;object-fit:cover}
/* ═══ TOC OVERLAY（悬浮目录，改绿） ═══ */
.toc-overlay {position:absolute;top:50%;right:24px;transform:translateY(-50%);z-index:5;
  background:var(--bg-elevated);border:1px solid var(--border-strong);border-radius:10px;
  padding:16px 20px;min-width:170px;box-shadow:0 4px 24px rgba(14,15,14,0.06)}
.toc-overlay .toc-title {font-size:10px;font-weight:700;color:var(--fg-dim);text-transform:uppercase;
  letter-spacing:.1em;margin-bottom:10px;font-family:var(--font-mono)}
.toc-overlay .toc-list {list-style:none}
.toc-overlay .toc-list li {margin-bottom:4px}
.toc-overlay .toc-list a:hover,.toc-overlay .toc-list a.active {color:var(--accent-green);
  background:var(--accent-dim);border-left-color:var(--accent-green)}
/* ═══ TOC WRAP（notes/随笔页内联目录，终端风） ═══ */
.toc-wrap {max-width:var(--max-text);margin:0 auto 8px;padding:0 28px}
.toc {background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:10px;
  padding:20px 24px;margin-bottom:32px}
.toc-title {font-size:11px;font-weight:700;color:var(--fg-dim);text-transform:uppercase;
  letter-spacing:.1em;margin-bottom:12px;font-family:var(--font-mono)}
.toc-list {list-style:none;padding:0;margin:0}
.toc-list li {margin-bottom:6px}
.toc-list a:hover,.toc-list a.active {color:var(--accent-green);
  border-left-color:var(--accent-green)}
.toc-list .num {color:var(--accent-green);font-weight:700;font-family:var(--font-mono);
  margin-right:4px;font-size:13px}
/* ═══ COMPONENTS ═══ */
.pull-quote {margin:36px 0;padding:20px 24px;border-left:3px solid var(--accent-green);
  background:var(--accent-dim);border-radius:0 8px 8px 0}
.pull-quote p {font-size:17px;font-weight:500;color:var(--text-primary);margin:0;line-height:1.7;font-style:italic}
.info-box {margin:28px 0;padding:20px 24px;background:var(--bg-elevated);
  border:1px solid var(--border-subtle);border-radius:var(--radius)}
.info-box .info-title {font-size:12px;font-weight:700;color:var(--accent-green);margin-bottom:8px;
  text-transform:uppercase;letter-spacing:.07em;font-family:var(--font-mono)}
.info-box p {margin-bottom:0;font-size:14px;color:var(--text-secondary);line-height:1.7}
.highlight-box {margin:28px 0;padding:22px 28px;
  background:linear-gradient(135deg,var(--accent-dim),var(--amber-bg));
  border:1px solid var(--border-strong);border-radius:var(--radius)}
.highlight-box p {margin-bottom:0;font-size:15px;color:var(--text-primary);line-height:1.75}
.table-wrap {margin:28px 0;overflow-x:auto;border:1px solid var(--border-subtle);border-radius:var(--radius)}
.table-wrap table {width:100%;border-collapse:collapse;font-size:14px}
.table-wrap thead {background:var(--bg-secondary)}
.table-wrap th {padding:12px 16px;text-align:left;font-weight:700;font-size:12px;color:var(--fg-dim);
  text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid var(--border-subtle)}
.table-wrap td {padding:12px 16px;border-bottom:1px solid var(--border-subtle);color:var(--text-secondary);line-height:1.65}
.table-wrap tr:last-child td {border-bottom:none}
.table-wrap tbody tr:hover {background:var(--accent-dim)}
/* ═══ 通用 table（裸<table>标签，覆盖 47 页文章） ═══ */
.article-body table,.content table {width:100%;border-collapse:collapse;font-size:14px;
  margin:28px 0!important;border:1px solid var(--border-subtle);border-radius:var(--radius);overflow:hidden}
.article-body table th,.content table th {padding:12px 16px;text-align:left;font-weight:700;font-size:12px;
  color:var(--fg-dim);text-transform:uppercase;letter-spacing:.05em;
  background:var(--bg-secondary);border-bottom:2px solid var(--border-subtle)}
.article-body table td,.content table td {padding:12px 16px;border-bottom:1px solid var(--border-subtle);
  color:var(--text-secondary);line-height:1.65}
.article-body table tr:last-child td,.content table tr:last-child td {border-bottom:none}
.article-body table tbody tr:hover,.content table tbody tr:hover {background:var(--accent-dim)}
/* ═══ 通用块级元素间距（防段落粘连） ═══ */
.article-body blockquote,.content blockquote {margin:24px 0;padding:16px 20px;
  border-left:3px solid var(--accent-green);background:var(--accent-dim);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--text-secondary)}
.article-body .note,.content .note {margin:20px 0;padding:14px 18px;
  background:var(--bg-elevated);border:1px solid var(--border-subtle);
  border-radius:var(--radius-sm);color:var(--text-secondary);line-height:1.7}
.article-body img,.content img {max-width:100%;height:auto;margin:24px 0;display:block;border-radius:var(--radius-md)}
/* ═══ NOTES 专有组件 ═══ */
.hero-badge {display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;
  color:var(--accent-green);font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.05em;
  padding:6px 14px;border-radius:99px;border:1px solid var(--accent-dim);background:var(--accent-dim);
  margin-bottom:16px}
.hero-badge .dot {width:7px;height:7px;border-radius:50%;background:var(--accent-green);
  box-shadow:0 0 8px var(--accent-green);animation:fx-heartbeat 2s ease-in-out infinite;
  flex-shrink:0}
/* 摘要卡：强制对齐阅读列，max-width !important 防止任何样式覆盖导致全宽 */
body .summary-card {display:block;width:auto;max-width:calc(var(--max-text) - 56px)!important;margin:28px auto!important;padding:20px 24px;background:var(--bg-elevated);
  border:1px solid var(--border-subtle);border-radius:var(--radius);border-left:3px solid var(--accent-green)}
/* 摘要卡外层包裹（仅 xpeng 用）：对齐阅读列 */
.summary-wrap {max-width:calc(var(--max-text) - 56px);margin:28px auto}
/* 正文外层包裹（仅 xpeng 用）：对齐阅读列，避免正文全宽 */
.content-wrap {max-width:var(--max-text);margin:0 auto;padding:0 28px}
.summary-card h3 {font-size:13px;font-weight:700;color:var(--accent-green);margin-bottom:10px;
  font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.05em}
.key-points {list-style:none;padding:0;margin:0}
.key-points li {position:relative;padding-left:18px;margin-bottom:8px;line-height:1.7;color:var(--text-secondary)}
.key-points li::before {content:'›';position:absolute;left:0;color:var(--accent-green);font-weight:700;font-size:15px}
.stat-row {display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin:24px 0}
.stat-card {background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:var(--radius);
  padding:20px;text-align:center;transition:.2s}
.stat-card:hover {border-color:var(--accent-green);box-shadow:0 4px 16px rgba(108,77,255,0.08)}
.stat-num {font-size:28px;font-weight:700;color:var(--accent-green);font-family:var(--font-mono);margin-bottom:4px}
.stat-label {font-size:12px;color:var(--fg-dim)}
.sec-num {color:var(--accent-green);font-weight:700;font-family:var(--font-mono);margin-right:6px;font-size:0.9em}
.step-list {counter-reset:step;list-style:none;margin:24px 0 36px}
.step-list li {counter-increment:step;margin-bottom:24px;padding:20px 24px;background:var(--bg-elevated);
  border:1px solid var(--border-subtle);border-radius:var(--radius);position:relative}
.step-list li::before {content:counter(step);position:absolute;top:-10px;left:20px;
  background:var(--accent-green);color:var(--bg-primary);width:28px;height:28px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;font-family:var(--font-mono)}
.step-list li .step-label {font-size:13px;font-weight:700;color:var(--accent-green);margin-bottom:6px;
  display:block;padding-top:8px}
.step-list li p {margin-bottom:4px;font-size:15px;color:var(--text-secondary)}
.checklist {list-style:none;margin:20px 0 32px}
.checklist li {padding:10px 16px;margin-bottom:8px;border-radius:8px;background:var(--bg-elevated);
  display:flex;align-items:center;gap:10px;font-size:14px;border:1px solid var(--border-subtle);color:var(--text-secondary)}
.checklist li::before {content:"✓";display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;border-radius:50%;background:var(--accent-dim);color:var(--accent-green);
  font-size:12px;font-weight:700;flex-shrink:0}
/* 代码块：终端感 */
.article-body pre,.content pre {background:#1A1B1A;color:#c9d1d9;padding:16px 20px;border-radius:8px;
  font-size:13px;line-height:1.7;overflow-x:auto;font-family:var(--font-mono);
  border:1px solid var(--border-subtle);margin:16px 0}
.article-body pre::before,.content pre::before {content:'$ ';color:var(--accent-green)}
/* ═══ TAG CLOUD ═══ */
.tag-cloud {display:flex;flex-wrap:wrap;gap:8px;margin:40px 0 0;padding-top:32px;border-top:1px solid var(--border-subtle)}
.tag-cloud a:hover {background:var(--accent-green);color:var(--bg-primary);border-color:var(--accent-green)}
/* ═══ BACK LINK（蓝本：< 前缀） ═══ */
.back-link {display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);text-decoration:none;
  font-size:14px;font-weight:500;margin:32px 0 0;transition:color .2s}
.back-link:hover {color:var(--accent-green)}
.back-link::before {content:"< ";color:var(--accent-green);font-size:16px}
.hero {padding:88px 20px 32px}
.toc-overlay {display:none}
.page {padding:0 20px 60px}
.hero-cover {padding:0 16px;margin-top:4px}
.hero h1 {font-size:24px}
.hero-desc {font-size:15px}
.article-body h2,.content h2 {font-size:22px;padding-left:14px}
.pull-quote p {font-size:15px}
.page {padding:0 16px 60px}
/* ═══ ARTICLE-WRAP（与 .page 等价，补全被遗漏的容器）═══ */
.article-wrap {max-width:var(--max-text);
  margin:0 auto;
  padding:0 28px 80px}
/* ═══ TOC-BAR（标题下方横向目录条） ═══ */
.toc-bar {max-width:var(--max-text);
  margin:24px auto 0;
  padding:0 28px;
  position:relative;
  z-index:3}
.toc-scroll {display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  padding:12px 16px;
  background:var(--bg-elevated);
  border:1px solid var(--border-subtle);
  border-radius:var(--radius)}
.toc-scroll a:hover,
.toc-scroll a.active {color:var(--bg-primary);
  background:var(--accent-green);
  border-color:var(--accent-green)}
/* ═══ PAGE-DOT（右侧悬浮圆点进度指示器） ═══ */
.page-dot {position:fixed;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  z-index:50;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px 8px;
  background:var(--bg-elevated);
  border:1px solid var(--border-subtle);
  border-radius:99px;
  box-shadow:0 4px 24px rgba(14,15,14,0.06)}
.page-dot a:hover,
.page-dot a.active {background:var(--accent-green);
  transform:scale(1.25)}
.page-dot {display:none}
.toc-bar {padding:0 20px}
.toc-scroll {gap:8px;padding:10px 12px}
.article-wrap {padding:0 16px 60px}
.toc-bar {padding:0 16px}
/* ═══ CODE-BLOCK（旧模板代码容器：等宽 + 终端黑底） ═══ */
.code-block {background:#1A1B1A;
  color:#c9d1d9;
  font-family:var(--font-mono);
  font-size:13px;
  line-height:1.7;
  padding:16px 20px;
  border-radius:8px;
  border:1px solid var(--border-subtle);
  margin:16px 0;
  overflow-x:auto;
  white-space:pre-wrap;
  word-break:break-all}
.code-block .comment {color:var(--text-secondary);opacity:.75}
/* ═══ DAILY-DIGEST 专用布局类（旧模板兜底，避免与终端风混搭时退化） ═══ */
.article-header {max-width:var(--max-text);
  margin:0 auto;
  padding:64px 28px 0;
  text-align:center}
.article-date-badge {display:inline-flex;align-items:center;gap:6px;
  font-family:var(--font-mono);font-size:11px;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--text-secondary);margin-bottom:16px}
.article-date-badge .dot {width:6px;height:6px;border-radius:50%;background:var(--accent-green)}
.article-header h1 {font-size:clamp(28px,4.2vw,42px);font-weight:700;letter-spacing:-.03em;line-height:1.18;color:var(--text-primary);margin:0 0 16px}
.article-meta .sep {opacity:.5}
.section-tags {display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px}
.section-tags span {display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:5px 12px;border-radius:99px;font-family:var(--font-mono)}
.section-tags .tag-dot {width:6px;height:6px;border-radius:50%;display:inline-block}
/* 章节与新闻条目 */
.article-body .section-block,.content .section-block {margin:48px 0}
.section-head {display:flex;align-items:center;gap:12px;margin-bottom:20px}
.section-icon {width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.section-head .section-title {font-size:22px;font-weight:700;color:var(--text-primary);font-family:var(--font-sans)}
.news-item {background:var(--bg-elevated);
  border:1px solid var(--border-subtle);
  border-radius:var(--radius);
  padding:18px 22px;
  margin-bottom:14px}
.item-header {display:flex;align-items:flex-start;gap:12px;margin-bottom:8px}
.item-header .num {flex-shrink:0;width:26px;height:26px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;color:#fff;font-family:var(--font-mono)}
.item-header h3 {font-size:16px;font-weight:600;line-height:1.45;color:var(--text-primary);margin:0}
.news-summary {font-size:14px;color:var(--text-secondary);line-height:1.7;margin-bottom:10px}
.news-link {display:inline-block;font-size:13px;font-weight:500;color:var(--accent-cyan);font-family:var(--font-mono)}
.news-link:hover {color:var(--accent-green)}
.divider {height:1px;background:var(--border-subtle);margin:40px 0;border:none}
.nav-back {font-size:14px;font-weight:500;color:var(--text-secondary);font-family:var(--font-mono)}
.nav-back:hover {color:var(--accent-green)}
.cta-btn {display:inline-flex;align-items:center;gap:6px;padding:10px 22px;border-radius:99px;background:var(--accent-green);color:var(--bg-primary);font-size:14px;font-weight:600;text-decoration:none}
.cta-btn:hover {opacity:.9;color:var(--bg-primary)}

/* ══════════════════════════════════════════════════════════════
   FONT FACES · 自托管字体（原 fonts.css 合并至此，单一真相源）
   中文走系统字体；西文/数字/代码用 Space Grotesk / JetBrains Mono
   ═════════════════════════════════════════════════════════════ */
/* Self-hosted fonts — 替换被墙的 Google Fonts，国内同机房秒开 */
/* latin 子集：中文走系统字体，西文/数字/代码用以下字体 */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/space-grotesk-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/space-grotesk-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/space-grotesk-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
