@font-face {
  font-family: "Longchang Serif";
  src: url("https://blog.peterchen97.cn/ai-news/weekly/assets/longchang-serif.88a9efeb3d3f9657.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #202020;
  --muted: #666666;
  --secondary: #505050;
  --accent: #202020;
  --line: #dddddd;
  --wash: #f4f4f4;
  --footer: #f5f5f5;
  --button-border: #777777;
  --hover: #000000;
  --focus: #555555;
  --selection: #dedede;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #181818;
  --ink: #e8e8e8;
  --muted: #b2b2b2;
  --secondary: #c7c7c7;
  --accent: #dedede;
  --line: #444444;
  --wash: #272727;
  --footer: #202020;
  --button-border: #888888;
  --hover: #ffffff;
  --focus: #cccccc;
  --selection: #4a4a4a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #181818;
    --ink: #e8e8e8;
    --muted: #b2b2b2;
    --secondary: #c7c7c7;
    --accent: #dedede;
    --line: #444444;
    --wash: #272727;
    --footer: #202020;
    --button-border: #888888;
    --hover: #ffffff;
    --focus: #cccccc;
    --selection: #4a4a4a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Longchang Serif", serif;
  font-synthesis: none;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
::selection { background: var(--selection); color: var(--ink); }
a { color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: var(--hover); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { max-width: 820px; padding: 0 30px; margin: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; text-decoration: none; letter-spacing: .04em; }
.brand img { flex: none; width: 25px; height: 25px; }
.brand small { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .06em; margin-left: 6px; }
.site-header nav { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.site-header nav a { text-decoration: none; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--wash); }
.theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-icon-sun, :root[data-theme="dark"] .theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
.eyebrow { font-size: 13px; letter-spacing: .07em; line-height: 2; color: var(--muted); margin: 0 0 20px; }
.hero { padding: 56px 0 34px; }
.hero h1 { font-size: clamp(35px, 5vw, 49px); line-height: 1.43; font-weight: 700; letter-spacing: .015em; margin: 0 0 24px; }
.hero .dek { font-size: 18px; line-height: 2.05; font-weight: 400; margin: 0; color: var(--secondary); max-width: 670px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 12px; margin: 22px 0 0; }
.badge { font-size: 12px; display: inline-block; padding: 1px 9px; background: var(--wash); border-radius: 4px; color: var(--accent); }
.section-label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin: 25px 0 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-row { padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.issue-row h2 { font-size: 27px; line-height: 1.55; margin: 10px 0 12px; }
.issue-row h2 a { text-decoration: none; }
.issue-row p { margin: 0 0 16px; color: var(--secondary); }
.issue-row .meta { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; font-size: 12px; color: var(--muted); }
.tags span { border: 1px solid var(--line); padding: 1px 8px; }
.read-link { display: inline-block; font-size: 15px; margin-top: 18px; }
.about { margin: 48px 0 60px; }
.about h2 { font-size: 21px; }
.about p { color: var(--secondary); }
.toc { background: var(--wash); padding: 18px 22px; margin: 0 0 38px; font-size: 14px; border-radius: 4px; }
.toc summary { cursor: pointer; font-weight: 600; }
.toc ol { padding-left: 22px; margin: 12px 0 4px; }
.toc li { padding: 3px 0; }
.article { font-size: 18px; line-height: 2.08; letter-spacing: .01em; overflow-wrap: anywhere; }
.article h2 { font-size: 27px; font-weight: 650; line-height: 1.5; margin: 55px 0 22px; scroll-margin-top: 28px; }
.article h3 { font-size: 21px; font-weight: 600; line-height: 1.6; margin: 35px 0 18px; }
.article p { margin: 0 0 23px; }
.article ul, .article ol { padding-left: 1.35em; }
.article li { padding-left: 4px; margin: 12px 0; }
.article strong { font-weight: 650; }
.article figure { margin: 30px 0 32px; }
.article img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 5px; background: #f5f5f5; color-scheme: light; }
.article figcaption { font-size: 13px; line-height: 1.9; color: var(--muted); margin-top: 11px; }
.table-scroll { overflow-x: auto; margin: 24px 0 30px; }
.article table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.8; min-width: 570px; }
.article th { text-align: left; background: var(--wash); }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 12px; vertical-align: top; }
.article th:first-child, .article td:first-child { width: 26%; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 45px 0 28px; }
.article-end { margin: 48px 0 38px; padding: 26px 0; border-top: 1px solid var(--line); }
.personal-footer { line-height: 1.85; border-top: 1px solid var(--line); background: var(--footer); padding: 26px 0 23px; }
.footer-topline { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; letter-spacing: .06em; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.author-grid { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 44px; padding: 29px 0 28px; }
.author-label { font-size: 12px; color: var(--muted); margin: 0 0 8px; letter-spacing: .16em; }
.author-bio h2 { font-size: 30px; font-weight: 650; margin: 0 0 19px; line-height: 1.6; }
.author-bio h2 span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: .05em; }
.author-bio p:not(.author-label) { font-size: 15px; line-height: 2.05; margin: 0 0 16px; color: var(--secondary); }
.blog-cta { display: inline-block; border: 1px solid var(--button-border); border-radius: 3px; padding: 7px 15px; margin: 2px 0 19px; text-decoration: none; font-size: 14px; line-height: 1.8; }
.blog-cta:hover { background: var(--wash); }
.author-links { display: flex; flex-wrap: wrap; gap: 10px 19px; font-size: 12px; line-height: 2; }
.author-links a { text-decoration: none; border-bottom: 1px solid var(--button-border); }
.wechat { text-align: center; padding-top: 10px; display: flex; flex-direction: column; align-items: center; }
.wechat a { display: block; }
.wechat img { display: block; width: 144px; height: 144px; background: #ffffff; color-scheme: light; }
.wechat strong { font-size: 17px; font-weight: 600; margin-top: 10px; line-height: 1.8; }
.wechat span { font-size: 12px; color: var(--muted); line-height: 1.8; }
.wechat small { font-size: 10px; color: var(--muted); margin-top: 7px; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 19px; font-size: 11px; color: var(--muted); }
.footer-bottom a { color: inherit; text-decoration: none; }
.skip { position: absolute; left: 15px; top: -100px; background: var(--wash); padding: 10px; z-index: 2; }
.skip:focus { top: 10px; }
@media (max-width: 600px) {
  .wrap { padding: 0 22px; }
  .site-header .wrap { min-height: 72px; gap: 12px; }
  .site-header nav { gap: 12px; font-size: 13px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand small { display: none; }
  .hero { padding: 30px 0 28px; }
  .hero h1 { font-size: 35px; }
  .desktop-break { display: none; }
  .hero .dek { font-size: 17px; }
  .article { font-size: 17px; }
  .article h2 { font-size: 24px; margin-top: 42px; }
  .article h3 { font-size: 20px; }
  .article figure { margin: 26px -6px; }
  .issue-row h2 { font-size: 24px; }
  .toc { padding: 16px 18px; }
  .about { margin-top: 35px; }
  .author-grid { grid-template-columns: 1fr; gap: 29px; padding: 25px 0; }
  .author-bio h2 { font-size: 29px; }
  .footer-topline { font-size: 11px; flex-wrap: wrap; gap: 7px; }
  .wechat { border-top: 1px solid var(--line); padding-top: 27px; }
  .wechat img { width: 152px; height: 152px; }
  .footer-bottom { font-size: 10px; flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 360px) {
  .brand img { display: none; }
  .site-header .wrap { gap: 8px; }
  .site-header nav { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root, :root[data-theme], :root:not([data-theme]) {
    color-scheme: light;
    --paper: #ffffff;
    --ink: #202020;
    --muted: #666666;
    --secondary: #505050;
    --accent: #202020;
    --line: #dddddd;
    --wash: #f4f4f4;
    --footer: #f5f5f5;
    --button-border: #777777;
  }
  .site-header, .toc, .article-end { display: none; }
  .wrap { max-width: 100%; padding: 0; }
  .hero { padding-top: 0; }
  .article figure { break-inside: avoid; }
  .article h2 { break-after: avoid; }
}
