/* ================= 主题变量 ================= */
  :root, html[data-theme="light"] {
    --paper: #f7f6f2;
    --paper-warm: #f1efe9;
    --ink: #101418;
    --ink-soft: #3d454d;
    --ink-mute: #6e767f;
    --line: #dcd9d0;
    --line-soft: #e8e6df;
    --accent: #1a4fd6;
    --accent-rgb: 26,79,214;
    --accent-deep: #123a9e;
    --teal: #0e7a6d;
    --teal-rgb: 14,122,109;
    --card: #ffffff;
    --grid-line: rgba(16,20,24,.035);
    --glow: none;
    --nav-bg: rgba(247,246,242,.9);
    --matrix-hover: #fafbfe;
    --shadow-card: 0 1px 2px rgba(16,20,24,.04), 0 12px 40px -24px rgba(16,20,24,.12);
    --shadow-card-hover: 0 2px 4px rgba(16,20,24,.05), 0 24px 48px -20px rgba(16,20,24,.18);
    --toggle-bg: #eceae3;
    /* 衍生应用卡片（随主题切换） */
    --app-bg: #ffffff;
    --app-ink: #101418;
    --app-soft: #3d454d;
    --app-mute: #6e767f;
    --app-border: #dcd9d0;
    --viz-bg: linear-gradient(160deg, #f2f4f6, #e9edf1);
    --viz-grid: rgba(16,20,24,.08);
    --viz-land: rgba(16,20,24,.07);
    --viz-label: rgba(16,20,24,.28);
    --viz-chip-bg: #141a22;
    --viz-chip-line: #2c3644;
  }
  html[data-theme="dark"] {
    --paper: #0a0d11;
    --paper-warm: #11151b;
    --ink: #e9edf2;
    --ink-soft: #cdd4dc;
    --ink-mute: #9ba5b1;
    --line: #272f39;
    --line-soft: #1c232c;
    --accent: #5b8cff;
    --accent-rgb: 91,140,255;
    --accent-deep: #7ba3ff;
    --teal: #2dd4bf;
    --teal-rgb: 45,212,191;
    --card: #12171e;
    --grid-line: rgba(233,237,242,.05);
    --glow: radial-gradient(ellipse 55% 38% at 50% -6%, rgba(91,140,255,.13), transparent 70%),
            radial-gradient(ellipse 30% 22% at 82% 4%, rgba(45,212,191,.07), transparent 70%);
    --nav-bg: rgba(10,13,17,.86);
    --matrix-hover: #161c24;
    --shadow-card: 0 1px 2px rgba(0,0,0,.3), 0 12px 40px -24px rgba(0,0,0,.6);
    --shadow-card-hover: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px -20px rgba(0,0,0,.7);
    --toggle-bg: #1a2029;
    --app-bg: #0f141a;
    --app-ink: #e9edf2;
    --app-soft: #c3cbd4;
    --app-mute: #9ba5b1;
    --app-border: #232c36;
    --viz-bg: radial-gradient(ellipse 70% 55% at 65% 40%, rgba(53,194,176,.10), transparent 65%),
              linear-gradient(160deg, #131a21, #0b1015);
    --viz-grid: rgba(233,237,242,.06);
    --viz-land: rgba(233,237,242,.06);
    --viz-label: rgba(233,237,242,.22);
    --viz-chip-bg: #171e27;
    --viz-chip-line: #2c3644;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .4s ease, color .4s ease;
  }
  :root {
    --font-sans: "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-serif: "Noto Serif SC", "Songti SC", serif;
    --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  }
  html[lang="en"] body { --font-serif: "Inter", -apple-system, sans-serif; }
  html[lang="en"] .hero h1, html[lang="en"] .sec-title { letter-spacing: -.02em; font-weight: 700; }
  ::selection { background: var(--accent); color: #fff; }

  /* ---------- 背景网格与辉光 ---------- */
  .grid-bg {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image:
      linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
      linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  }
  .glow-bg { position: fixed; inset: 0; z-index: -3; pointer-events: none; background: var(--glow); }

  /* ---------- 鼠标磁吸背景（粒子网络） ---------- */
  .mouse-bg {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    opacity: 0; transition: opacity .6s ease;
  }
  body.fx-ready .mouse-bg { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .mouse-bg { display: none; } }

  /* ---------- 自定义光标：指挥中枢准星 ---------- */
  .cursor-dot, .cursor-ring {
    position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999;
    opacity: 0; will-change: transform;
    transition: opacity .25s ease;
  }
  body.cur-active,
  body.cur-active a, body.cur-active button,
  body.cur-active [role="button"], body.cur-active summary { cursor: none; }
  body.cur-active .cursor-dot,
  body.cur-active .cursor-ring { opacity: 1; }

  .cursor-dot {
    width: 7.7px; height: 7.7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 1.5px rgba(255,255,255,.8),
                0 0 9px rgba(var(--accent-rgb), .55);
    transform: translate(-50%, -50%);
    transition: opacity .25s ease, transform .12s ease;
  }
  .cursor-ring {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), .5);
    box-shadow: 0 0 0 1px rgba(255,255,255,.35),
                0 0 10px rgba(var(--accent-rgb), .2);
    transform: translate(-50%, -50%);
    transition: width .25s ease, height .25s ease, border-color .25s ease,
                box-shadow .25s ease, opacity .25s ease;
  }
  /* 悬停可交互元素时出现的蓝色半透明十字瞄准准星 */
  .cursor-ring::before, .cursor-ring::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    background: rgba(var(--accent-rgb), .75);
    box-shadow: 0 0 0 1px rgba(255,255,255,.45);
    opacity: 0; transition: opacity .25s ease; pointer-events: none;
  }
  .cursor-ring::before { width: 140%; height: 1px; transform: translate(-50%, -50%); }
  .cursor-ring::after  { width: 1px; height: 140%; transform: translate(-50%, -50%); }
  body.cur-hover .cursor-ring::before,
  body.cur-hover .cursor-ring::after { opacity: .6; }
  .cursor-sweep {
    position: absolute; top: 50%; left: 50%;
    width: 100%; height: 100%;
    margin: -50% 0 0 -50%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    filter: drop-shadow(0 0 1.5px rgba(255,255,255,.7));
    opacity: 0;
    animation: curSpin 2.4s linear infinite;
    transition: opacity .25s ease;
  }
  body.cur-hover .cursor-ring {
    width: 45px; height: 45px;
    border-color: rgba(var(--accent-rgb), .9);
    box-shadow: 0 0 0 1px rgba(255,255,255,.55),
                0 0 18px rgba(var(--accent-rgb), .3);
  }
  body.cur-hover .cursor-dot { opacity: .5; transform: translate(-50%, -50%) scale(.7); }
  body.cur-hover .cursor-sweep { opacity: .9; }
  body.cur-click .cursor-ring { width: 30px; height: 30px; }
  @keyframes curSpin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .cursor-dot, .cursor-ring { display: none; } }

  /* ---------- 导航 ---------- */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 64px); height: 64px;
    background: var(--nav-bg);
    border-bottom: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(16,20,24,.03), 0 10px 30px -22px rgba(16,20,24,.35);
    transition: border-color .3s ease, background .4s ease, box-shadow .3s ease;
  }
  nav.scrolled { border-bottom-color: var(--line-soft); }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
  .brand-mark {
    width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 7px;
    display: grid; place-items: center; position: relative; overflow: hidden;
  }
  .brand-mark::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(91,140,255,.35) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: sheen 4.5s ease-in-out infinite;
  }
  @keyframes sheen { 0%,55% { transform: translateX(-100%);} 85%,100% { transform: translateX(100%);} }
  .brand-mark span { font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
  .brand-name { font-weight: 600; font-size: 14.5px; letter-spacing: .02em; }
  .brand-name em { font-style: normal; color: var(--ink-mute); font-weight: 400; }
  .nav-right { display: flex; align-items: center; gap: 20px; }
  .nav-links { display: flex; align-items: center; gap: 26px; }
  .nav-links a {
    color: var(--ink-soft); text-decoration: none; font-size: 13.5px; font-weight: 500;
    position: relative; transition: color .2s;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0;
    background: var(--accent); transition: width .28s cubic-bezier(.4,0,.2,1);
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { width: 100%; }

  /* 主题 + 语言切换 */
  .ctrl-group { display: flex; align-items: center; gap: 10px; }
  .theme-btn {
    width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
    background: var(--toggle-bg); color: var(--ink-soft); cursor: pointer;
    display: grid; place-items: center; transition: all .25s;
  }
  .theme-btn:hover { color: var(--ink); border-color: var(--ink-mute); transform: translateY(-1px); }
  .theme-btn svg { width: 16px; height: 16px; }
  html[data-theme="light"] .icon-sun { display: none; }
  html[data-theme="dark"] .icon-moon { display: none; }
  .lang-btn {
    height: 34px; padding: 0 4px; border-radius: 9px; border: 1px solid var(--line);
    background: var(--toggle-bg); cursor: pointer; display: flex; align-items: center;
    font-family: var(--font-mono); font-size: 11.5px; overflow: hidden; transition: border-color .25s;
  }
  .lang-btn:hover { border-color: var(--ink-mute); }
  .lang-btn span {
    padding: 0 10px; height: 100%; display: grid; place-items: center;
    color: var(--ink-mute); transition: all .25s;
  }
  .lang-btn span.on { color: var(--accent); font-weight: 500; background: color-mix(in srgb, var(--accent) 10%, transparent); }
  @media (max-width: 860px) { .nav-links { display: none; } }

  /* ---------- Hero 封面 ---------- */
  .hero {
    padding: clamp(120px, 17vh, 170px) clamp(20px, 5vw, 64px) clamp(40px, 6vh, 72px);
    max-width: 1200px; margin: 0 auto;
  }
  .hero-eyebrow {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
    color: var(--accent); text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  }
  .hero-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
  .hero h1 {
    font-family: var(--font-serif); font-weight: 900;
    font-size: clamp(36px, 6vw, 68px); line-height: 1.18; letter-spacing: .01em;
    max-width: 18em;
  }
  .hero h1 .thin { color: var(--ink-mute); }
  .hero-sub {
    margin-top: 24px; max-width: 680px; font-size: clamp(15px, 1.6vw, 17px);
    color: var(--ink-soft);
  }
  .hero-stats {
    margin-top: 44px; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px);
    padding-top: 26px; border-top: 1px solid var(--line);
  }
  .stat .num {
    font-family: var(--font-mono); font-size: clamp(26px, 3.4vw, 38px); font-weight: 500;
    color: var(--ink); line-height: 1.1;
  }
  .stat .num i { font-style: normal; color: var(--accent); }
  .stat .lbl { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; letter-spacing: .04em; }

  /* ---------- 通用区块 ---------- */
  section { max-width: 1200px; margin: 0 auto; padding: clamp(44px, 7vh, 80px) clamp(20px, 5vw, 64px); }
  .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
  .sec-title { font-family: var(--font-serif); font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; }
  .sec-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); letter-spacing: .12em; text-transform: uppercase; }

  /* ---------- 本周雷达 ---------- */
  .brief-wrap {
    border: 1px solid var(--line); border-radius: var(--radius, 14px);
    background: var(--card); box-shadow: var(--shadow-card); overflow: hidden;
  }
  .brief-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 14px 24px; background: var(--paper-warm); border-bottom: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); letter-spacing: .06em;
  }
  .brief-bar .live { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 500; }
  .brief-bar .live::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
    animation: blink 2s ease-in-out infinite;
  }
  @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
  .brief-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 1020px) { .brief-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .brief-grid { grid-template-columns: 1fr; } }
  .brief-col { padding: 24px 24px 20px; border-left: 1px solid var(--line-soft); }
  .brief-col:first-child { border-left: none; }
  @media (max-width: 1020px) {
    .brief-col:nth-child(3) { border-left: none; }
    .brief-col:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  }
  @media (max-width: 620px) {
    .brief-col { border-left: none; }
    .brief-col:nth-child(n+2) { border-top: 1px solid var(--line-soft); }
  }
  .brief-cat {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink); font-weight: 500; margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
  }
  .brief-cat::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cat, var(--accent)); }
  .brief-item { padding: 13px 0; border-top: 1px solid var(--line-soft); }
  .brief-item:first-of-type { border-top: none; padding-top: 0; }
  .brief-item h4 { font-size: 13.8px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; color: var(--ink); }
  .brief-item p { font-size: 12.6px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 8px; }
  .brief-src { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .brief-src a {
    font-family: var(--font-mono); font-size: 10.5px; color: var(--accent);
    text-decoration: none; letter-spacing: .02em; border-bottom: 1px solid transparent; transition: border-color .2s;
  }
  .brief-src a:hover { border-bottom-color: var(--accent); }

  /* 关键字 tag - 灰色小字，用 · 连接，无底色无描边 */
  .brief-tags {
    margin: 0 0 7px; font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: .04em; color: var(--ink-mute); line-height: 1.6;
  }
  .brief-tag { color: var(--ink-mute); }
  /* 折叠详情 - 无描边无底色的纯文字触发（来源链接移入折叠框内） */
  .brief-detail { margin: 0 0 7px; }
  .brief-detail summary {
    list-style: none; cursor: pointer; user-select: none;
    display: inline-flex; align-items: center; gap: 5px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .05em;
    color: var(--accent);
    padding: 2px 0; border: none; border-radius: 0; background: transparent;
    transition: color .15s ease;
  }
  .brief-detail summary::-webkit-details-marker { display: none; }
  .brief-detail summary::after { content: "▾"; transition: transform .2s; font-size: 9px; margin-left: 1px; }
  .brief-detail[open] summary::after { transform: rotate(180deg); }
  .brief-detail summary:hover,
  .brief-detail summary:active { color: var(--accent-deep); }
  /* 折叠面板内容区：描述+来源共享同一块暖色底板 */
  .brief-detail-body {
    margin-top: 7px; padding: 8px 10px; background: var(--paper-warm);
    border-left: 2px solid var(--line-soft); border-radius: 0 8px 8px 0;
  }
  .brief-detail-body > p {
    font-size: 11.6px; color: var(--ink-soft); line-height: 1.65;
    margin: 0 0 8px;
  }
  .brief-detail-body > p:last-child { margin-bottom: 0; }
  .brief-detail-body > .brief-src { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line-soft); }
  .brief-detail-body > .brief-src:first-child { margin-top: 0; padding-top: 0; border-top: none; }
  .brief-loading {
    grid-column: 1 / -1; padding: 40px 0; text-align: center;
    font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); letter-spacing: .04em;
  }

  /* 雷达控件 */
  .brief-ctrl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .brief-eyebrow {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em;
    color: var(--accent); text-transform: uppercase;
  }
  .brief-updated { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); white-space: nowrap; }
  .brief-updated b { color: var(--ink-soft); font-weight: 500; }
  .brief-auto { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); white-space: nowrap; opacity: .85; }
  @media (max-width: 560px) {
    .brief-eyebrow { display: none; }
  }

  /* ---------- 对比矩阵 ---------- */
  .matrix-wrap {
    border: 1px solid var(--line); border-radius: 14px;
    background: var(--card); overflow: hidden; box-shadow: var(--shadow-card);
    margin-bottom: 40px;
  }
  .matrix { width: 100%; border-collapse: collapse; font-size: 13.5px; table-layout: fixed; }
  .matrix-scroll { overflow-x: auto; }
  .matrix th:nth-child(1), .matrix td:nth-child(1) { width: 15%; }
  .matrix th:nth-child(2), .matrix td:nth-child(2) { width: 12%; }
  .matrix th:nth-child(3), .matrix td:nth-child(3) { width: 16%; }
  .matrix th:nth-child(4), .matrix td:nth-child(4) { width: 11%; }
  .matrix th:nth-child(5), .matrix td:nth-child(5) { width: 16%; }
  .matrix th:nth-child(6), .matrix td:nth-child(6) { width: 16%; }
  .matrix th:nth-child(7), .matrix td:nth-child(7) { width: 14%; }
  /* col2 header: allow wrap in English to avoid overlap with col3 */
  .matrix th {
    text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 11.5px;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute);
    padding: 16px 20px; background: var(--paper-warm); border-bottom: 1px solid var(--line);
    word-break: break-word;
  }
  .matrix td { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-soft); }
  .matrix td .model { font-weight: 600; color: var(--ink); }
  .matrix td .stack { display: block; color: var(--ink-mute); font-size: 12px; margin-top: 3px; }
  .matrix tr:last-child td { border-bottom: none; }
  .matrix tbody tr { transition: background .2s; }
  .matrix tbody tr:hover { background: var(--matrix-hover); }
  .matrix .m-name { font-weight: 600; color: var(--ink); white-space: normal; word-break: break-word; }
  .matrix .m-name small { display: block; font-weight: 400; color: var(--ink-mute); font-size: 12px; margin-top: 2px; white-space: normal; }
  .tag {
    display: inline-block; font-size: 11.5px; font-family: var(--font-mono);
    padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line);
    color: var(--ink-soft); background: var(--paper); margin: 1px 3px 1px 0; white-space: normal; word-break: break-word;
    transition: background .4s, border-color .4s, color .4s;
  }
  .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
  .matrix td b { color: var(--ink); font-weight: 600; }

  /* 次级区块标题 */
  .sub-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin: 8px 0 24px; padding-top: 4px;
  }
  .sub-title { font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: var(--ink); position: relative; padding-left: 16px; }
  .sub-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--accent); border-radius: 2px; }

  /* ---------- 报告卡片 ---------- */
  .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  @media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
  .card {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 30px 30px 26px;
    display: flex; flex-direction: column;
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s, background .4s;
    overflow: hidden;
  }
  .card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--card-accent, var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
  }
  .card:hover { transform: translateY(-5px); border-color: var(--ink-mute); box-shadow: var(--shadow-card-hover); }
  .card:hover::before { transform: scaleX(1); }
  .card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .card-tool {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
    padding: 4px 11px; border-radius: 6px; font-weight: 500;
    color: var(--card-accent, var(--accent));
    background: color-mix(in srgb, var(--card-accent, var(--accent)) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 28%, transparent);
  }
  .card-idx { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); }
  .card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 700; line-height: 1.35; margin-bottom: 4px; color: var(--ink); }
  .card .card-en { font-size: 12px; font-family: var(--font-mono); color: var(--ink-mute); margin-bottom: 14px; word-break: break-all; }
  .card p { font-size: 13.8px; color: var(--ink-soft); margin-bottom: 14px; }
  .card ul { list-style: none; margin-bottom: 18px; }
  .card ul li { font-size: 13.2px; color: var(--ink-soft); padding-left: 18px; position: relative; margin-bottom: 7px; }
  .card ul li::before {
    content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 1.5px;
    background: var(--card-accent, var(--accent));
  }
  .card .tags { margin-bottom: 22px; }
  .card-actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13.5px; font-weight: 600; text-decoration: none;
    padding: 10px 18px; border-radius: 9px;
    transition: all .25s cubic-bezier(.4,0,.2,1);
  }
  .btn-primary { background: var(--ink); color: var(--paper); }
  .btn-primary:hover { background: var(--card-accent, var(--accent)); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--card-accent, var(--accent)) 55%, transparent); }
  .btn-ghost { border: 1px solid var(--line); color: var(--ink-soft); background: transparent; }
  .btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
  .btn .arr { transition: transform .25s; }
  .btn:hover .arr { transform: translate(2px,-2px); }

  /* ---------- 衍生应用（主题统一） ---------- */
  .app-card {
    --card-accent: var(--teal);
    display: grid; grid-template-columns: 1.1fr .9fr;
    background: var(--app-bg); color: var(--app-ink);
    border: 1px solid var(--app-border); border-radius: 14px;
    overflow: hidden; box-shadow: var(--shadow-card);
    transition: background .4s, border-color .4s;
  }
  @media (max-width: 860px) { .app-card { grid-template-columns: 1fr; } }
  .app-left { padding: clamp(30px, 4vw, 48px); }
  .app-left h3 { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--app-ink); margin: 12px 0 4px; }
  .app-left .card-en { color: var(--app-mute); font-family: var(--font-mono); font-size: 12px; margin-bottom: 18px; }
  .app-left p { color: var(--app-soft); font-size: 14px; margin-bottom: 18px; }
  .app-left ul { list-style: none; margin-bottom: 26px; }
  .app-left ul li { color: var(--app-soft); font-size: 13.5px; padding-left: 18px; position: relative; margin-bottom: 8px; }
  .app-left ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 1.5px; background: var(--teal); }
  .app-left .btn-primary { background: var(--teal); color: #fff; }
  html[data-theme="dark"] .app-left .btn-primary { color: #fff; }
  .app-left .btn-primary:hover { filter: brightness(1.12); box-shadow: 0 6px 16px -6px rgba(45,212,176,.5); }
  .app-left .btn-ghost { border-color: var(--app-border); color: var(--app-soft); }
  .app-left .btn-ghost:hover { border-color: var(--app-ink); color: var(--app-ink); }
  .app-right {
    position: relative; min-height: 320px;
    background: var(--viz-bg);
    border-left: 1px solid var(--app-border);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    transition: background .4s, border-color .4s;
  }
  @media (max-width: 860px) { .app-right { border-left: none; border-top: 1px solid var(--app-border); } }
  .app-right svg { width: 92%; max-width: 460px; height: auto; }
  .viz-grid-line { stroke: var(--viz-grid); stroke-width: 1; }
  .viz-land { fill: var(--viz-land); }
  .viz-ocean { fill: var(--viz-label); font-family: "JetBrains Mono", monospace; letter-spacing: .25em; }
  .viz-route { fill: none; stroke-width: 1.5; stroke-dasharray: 5 6; animation: dashmove 3.4s linear infinite; }
  @keyframes dashmove { to { stroke-dashoffset: -44; } }
  .viz-chip-bg { fill: var(--viz-chip-bg); stroke: var(--viz-chip-line); stroke-width: 1; }
  .viz-chip-text { fill: #e9edf2; font-family: "JetBrains Mono", monospace; font-size: 8.5px; }
  .viz-warn { fill: #f0a13a; }
  .viz-alert { fill: #e05656; }
  .viz-ok { fill: #35c2b0; }
  .pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  @keyframes pulse { 0%,100% { opacity: .9; transform: scale(1);} 50% { opacity: .2; transform: scale(2.1);} }

  /* ---------- AI 补位缺口排行 ---------- */
  .gap-legend {
    display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 26px;
    font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); letter-spacing: .04em;
  }
  .gap-legend b { color: var(--ink); font-weight: 500; }
  .gap-list { display: flex; flex-direction: column; gap: 16px; }
  .gap-row {
    display: grid; grid-template-columns: 64px 1.05fr 1.35fr 96px; gap: clamp(16px, 3vw, 36px);
    align-items: center; background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 24px 28px; box-shadow: var(--shadow-card);
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s, background .4s;
  }
  .gap-row:hover { transform: translateY(-3px); border-color: var(--ink-mute); box-shadow: var(--shadow-card-hover); }
  @media (max-width: 900px) { .gap-row { grid-template-columns: 44px 1fr; } .gap-bars { grid-column: 2; } .gap-score { grid-column: 2; justify-self: start; } }
  .gap-rank {
    font-family: var(--font-mono); font-size: clamp(26px, 3vw, 36px); font-weight: 500;
    color: var(--ink-mute); line-height: 1;
  }
  .gap-row:first-child .gap-rank { color: var(--accent); }
  .gap-main h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
  .gap-main p { font-size: 13.2px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 10px; }
  .gap-evi { display: flex; flex-wrap: wrap; gap: 4px 8px; }
  .gap-evi span {
    font-family: var(--font-mono); font-size: 10.5px; color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    background: color-mix(in srgb, var(--accent) 7%, transparent);
    padding: 2px 8px; border-radius: 99px; white-space: nowrap;
  }
  .gap-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
  @media (max-width: 560px) { .gap-bars { grid-template-columns: 1fr; } }
  .gap-bar .gb-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-mute); margin-bottom: 4px; letter-spacing: .04em; }
  .gap-bar .gb-top b { color: var(--ink); font-weight: 500; }
  .gap-bar .gb-track { height: 4px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
  .gap-bar .gb-fill {
    display: block; height: 100%; width: 0; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--teal)));
    transition: width 1.1s cubic-bezier(.22,1,.36,1);
  }
  .reveal.in .gb-fill { width: var(--w); }
  .gap-score { text-align: center; }
  .gap-score .gs-num {
    font-family: var(--font-mono); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; color: var(--ink); line-height: 1;
  }
  .gap-score .gs-num i { font-style: normal; font-size: .5em; color: var(--ink-mute); }
  .gap-score .gs-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-mute); margin-top: 6px; text-transform: uppercase; }

  /* ---------- 页脚 ---------- */
  footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px clamp(20px, 5vw, 64px) 48px; transition: border-color .4s; }
  .foot-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
  .foot-inner p { font-size: 12.5px; color: var(--ink-mute); }
  .foot-inner .mono { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; }

  /* ---------- 入场动效 ---------- */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
  .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .brand-mark::after, .viz-route, .pulse, .brief-bar .live::before { animation: none; }
  }


  /* ================= 学习页专属：版式与动效 ================= */
  :root {
    --teal-rgb: 14,122,109;
  }

  /* 1. 增加顶部留白，解决标题贴导航的问题 */
  #learning {
    position: relative;
    padding-top: clamp(140px, 22vh, 220px);
    padding-bottom: clamp(64px, 10vh, 104px);
  }
  #learning .sec-head,
  #learning .sub-head,
  #learning .cards { position: relative; z-index: 1; }

  /* 标题上方蓝色小字 slogan（仿 landing hero-eyebrow） */
  #learning .sec-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .18em;
    color: var(--accent);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  #learning .sec-eyebrow::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--accent);
    border-radius: 1px;
  }

  /* 2. Hero 标题放大 + 动态下划线 */
  #learning .sec-title {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: .02em;
  }
  /* 标题下方横线已移除 */

  /* 3. 右上角 note（无前导圆点） */
  #learning .sec-head .sec-note {
    display: inline-flex; align-items: center; gap: 8px;
  }

  /* 4. 小标题强调条动效 */
  .sub-title::before {
    background: var(--accent);
    transform: scaleY(0); transform-origin: top;
    animation: barGrow .7s cubic-bezier(.22,1,.36,1) .5s forwards;
  }
  @keyframes barGrow { to { transform: scaleY(1); } }

  /* 6. 卡片更强的悬停动效 + 顶部辉光 */
  .card {
    transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s, border-color .35s, background .4s;
  }
  .card::before { transform-origin: left; }
  .card:hover {
    transform: translateY(-7px) scale(1.01);
    border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 55%, var(--line));
    box-shadow: 0 18px 46px -16px color-mix(in srgb, var(--card-accent, var(--accent)) 28%, rgba(0,0,0,.12));
  }
  .card:hover::before { transform: scaleX(1); }
  .card-tool {
    transition: transform .3s, box-shadow .3s;
  }
  .card:hover .card-tool {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--card-accent, var(--accent)) 45%, transparent);
  }

  /* 7. 按钮箭头弹性 */
  .btn .arr { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
  .btn:hover .arr { transform: translate(3px,-3px); }

  /* 8. 卡片"拉窗帘"预览：悬停时图谱截图（macOS 窗框）自顶部滑下，按钮行始终可见 */
  #learning .card { padding: 0; }
  #learning .card-stage {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
  }
  #learning .card-front { padding: 30px 30px 26px; transition: opacity .32s ease; }
  #learning .card-actions { margin-top: 0; padding: 0 30px 26px; }
  #learning .card-curtain {
    position: absolute; inset: 0; z-index: 2;
    overflow: hidden; /* 裁掉窗内溢出，避免顶端漏出边缘 */
    transform: translateY(-101%);
    transition: transform .65s cubic-bezier(.22,1,.36,1);
    background: transparent; /* 露白区透出卡片底色，比窗内图谱底色更浅 */
    padding: 0 0 28px;      /* 顶部贴卡片、左右通边；下缘与按钮行保持空隙 */
  }
  /* 窗帘拉下时正文淡出，避免透明露白区透出底层文字 */
  #learning .card:hover .card-front,
  #learning .card:focus-within .card-front {
    opacity: 0;
    transition: opacity .32s ease .16s; /* 等窗帘落下一半再淡出，避免空档 */
  }
  #learning .card:hover .card-curtain,
  #learning .card:focus-within .card-curtain { transform: translateY(0); }

  /* macOS 风格对话框窗框 */
  #learning .curtain-win {
    height: 100%;
    display: flex; flex-direction: column;
    border-radius: 12px; overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px -18px rgba(16,20,24,.35);
  }
  #learning .curtain-bar {
    flex: 0 0 auto;
    position: relative;
    height: 30px; display: flex; align-items: center; gap: 7px;
    padding: 0 12px;
    background: #ececea;
    border-bottom: 1px solid rgba(16,20,24,.08);
  }
  #learning .curtain-bar .tl {
    width: 11px; height: 11px; border-radius: 50%;
    display: inline-block;
  }
  #learning .tl-r { background: #ff5f57; }
  #learning .tl-y { background: #febc2e; }
  #learning .tl-g { background: #28c840; }
  #learning .curtain-title {
    position: absolute; left: 50%; transform: translateX(-50%);
    font-family: var(--font-mono); font-size: 10.5px;
    color: var(--ink-mute); letter-spacing: .04em;
    white-space: nowrap;
  }
  #learning .curtain-shot { flex: 1 1 auto; position: relative; min-height: 0; }
  /* 截图按容器等比拍摄（1200×1080 ≈ 卡片宽高比），cover 即可左右完整呈现，不做额外缩放 */
  #learning .curtain-shot img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    display: block;
  }

  /* 亮/暗主题各用对应截图 */
  html[data-theme="dark"] #learning .curtain-shot .shot-light { display: none; }
  html[data-theme="light"] #learning .curtain-shot .shot-dark { display: none; }
  /* 暗色主题的窗框 chrome */
  html[data-theme="dark"] #learning .curtain-win {
    background: #12171e;
    border-color: #232c36;
    box-shadow: 0 14px 34px -18px rgba(0,0,0,.65);
  }
  html[data-theme="dark"] #learning .curtain-bar {
    background: #262c35;
    border-bottom-color: rgba(233,237,242,.08);
  }

  /* 触屏无悬停：隐藏窗帘，保持信息卡原貌 */
  @media (hover: none) {
    #learning .card-curtain { display: none; }
  }

  /* reduced-motion 兜底 */
  @media (prefers-reduced-motion: reduce) {
    .sub-title::before { animation: none; transform: scaleY(1); }
    #learning .card-curtain { transition: none; }
    .card:hover { transform: none; }
  }
}