/* A · 编辑式学术：正式主页样式，无需 JavaScript 或外部字体。 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); }
h1, h2, h3, p { margin-top: 0; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.layout { display: grid; margin: 0 auto; }
.sidebar { position: sticky; align-self: start; }
.avatar { display: block; object-fit: cover; object-position: center 28%; }
.content { min-width: 0; }
.topnav { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.language-switch { display: flex; align-items: center; gap: 2px; margin-left: auto; color: var(--line); }
.language-switch[hidden] { display: none; }
.language-switch button { min-width: 36px; min-height: 36px; padding: 5px 7px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font: 12px/1.5 var(--body); cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--accent); background: var(--soft-accent); font-weight: 700; }
.language-switch button:hover { color: var(--accent); }
.language-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html[lang="zh-CN"] body { font-family: var(--body), "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif; letter-spacing: .04em; }
html[lang="zh-CN"] .cn-name { letter-spacing: .015em; white-space: nowrap; }
html[lang="zh-CN"] #about p { line-height: 1.9; }
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list li { display: grid; gap: 12px; border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.publication { display: grid; }
.pub-year { align-self: start; }
.pub-authors, .pub-venue { color: var(--muted); }
.pub-authors strong { color: var(--text); }
.pub-links { display: flex; flex-wrap: wrap; }
.timeline-item { display: grid; gap: 3px; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item span, .footer { color: var(--muted); }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 8px 14px; background: var(--bg); z-index: 10; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
::selection { background: #ead5d7; color: #2d2926; }
:root {
  --bg: #f8f5ef;
  --panel: #f8f5ef;
  --text: #2d2926;
  --muted: #6b625b;
  --line: #d7cec3;
  --link: #893b44;
  --accent: #893b44;
  --soft-accent: #efe8df;
  --heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --body: "Optima", "Candara", "Trebuchet MS", sans-serif;
  color-scheme: light;
}

html { scroll-padding-top: 90px; }
body { font-family: var(--body); font-size: 16px; line-height: 1.65; background: var(--bg); }
a { color: var(--link); text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.layout { width: min(1180px, calc(100% - 100px)); grid-template-columns: 238px minmax(0, 1fr); gap: 86px; padding: 56px 0 40px; }
.sidebar { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; top: 42px; }
.avatar { width: 170px; aspect-ratio: 4 / 5; border: 0; border-radius: 2px; margin-bottom: 26px; background: var(--soft-accent); }
h1, h2 { font-family: var(--heading); font-weight: 500; }
h1 { font-size: 39px; letter-spacing: -1.2px; line-height: 1.06; margin: 0 0 12px; }
.cn-name { font-size: 17px; letter-spacing: .25em; color: var(--accent); margin-bottom: 24px; }
.role { font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.links { display: flex; flex-wrap: wrap; flex-direction: column; gap: 0; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 14px; }
.links a { padding: 7px 0; background: transparent; border: 0; border-radius: 0; font-size: 14px; font-weight: 500; }
.links a::after { content: " ↗"; margin-left: 4px; font-size: 12px; }
.topnav { justify-content: flex-start; gap: 30px; padding: 0 0 20px; background: var(--bg); backdrop-filter: none; border-color: var(--line); position: static; }
.topnav a { color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.section { margin-top: 40px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; scroll-margin-top: 30px; }
h2 { font-size: 36px; letter-spacing: -.8px; border: 0; margin-bottom: 20px; padding: 0; }
h3 { font-family: var(--body); margin: 32px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--text); color: var(--text); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
#about p { max-width: 68ch; }
#about p:first-of-type { font-size: 21px; line-height: 1.6; }
.section-note { font-size: 13px; margin-bottom: 18px; }
.news-list li { grid-template-columns: 110px minmax(0, 1fr); padding: 10px 0; border-color: var(--line); font-size: 14px; }
.news-list .news-date { font-size: 12px; font-weight: 500; color: var(--muted); padding-top: 2px; }
.news-list li:first-child { color: var(--text); }
.publication, .publication.highlight { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 24px 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.publication.highlight .pub-title { color: var(--accent); }
.pub-year { background: transparent; color: var(--muted); border-radius: 0; padding: 3px 0; font-family: var(--body); font-size: 11px; text-align: left; letter-spacing: .02em; }
.pub-title { font-size: 19px; font-weight: 600; line-height: 1.4; margin-bottom: 9px; }
.pub-authors, .pub-venue { font-size: 13px; line-height: 1.65; margin-bottom: 7px; }
.pub-authors strong { font-weight: 700; }
.pub-links { font-size: 12px; gap: 16px; margin: 11px 0 0; }
.pub-links a { padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-weight: 600; }
.venue-badge { display: inline-block; padding: 2px 7px; margin: 0 6px 4px 0; color: var(--accent); background: var(--soft-accent); font-size: 11px; font-weight: 700; letter-spacing: .015em; white-space: nowrap; }
.timeline-item { border-color: var(--line); padding: 16px 0; font-size: 14px; }
.timeline-item span { font-size: 13px; }
.footer { margin-top: 50px; border-top: 1px solid var(--line); padding: 22px 0 0; font-size: 11px; }


@media (max-width: 980px) {
  .layout { width: calc(100% - 64px); grid-template-columns: 200px minmax(0, 1fr); gap: 38px; }
  h1 { font-size: 35px; }
}
@media (max-width: 720px) {
  .layout { display: block; width: calc(100% - 40px); padding-top: 28px; }
  .sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 92px; column-gap: 18px; position: static; padding: 0 0 22px; }
  .avatar { grid-column: 2; grid-row: 1 / 5; width: 92px; height: 115px; aspect-ratio: auto; margin: 0; }
  h1 { grid-column: 1; font-size: 32px; letter-spacing: -1px; margin: 0 0 9px; }
  .cn-name { grid-column: 1; margin: 0 0 12px; font-size: 14px; }
  .role { grid-column: 1; font-size: 12px; margin: 0; }
  .links { grid-column: 1 / -1; flex-direction: row; gap: 19px; padding: 14px 0 0; margin-top: 14px; }
  .links a { font-size: 12px; white-space: nowrap; }
  .topnav { gap: 15px; justify-content: space-between; padding: 12px 0; }
  .topnav a { font-size: 10px; letter-spacing: .025em; }
  .language-switch { flex-basis: 100%; justify-content: flex-end; }
  .section { margin-top: 30px; }
  h2 { font-size: 28px; margin-bottom: 16px; }
  #about p:first-of-type { font-size: 17px; }
  #about p { font-size: 14px; }
  .news-list li { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; font-size: 12px; }
  .news-list .news-date { font-size: 10px; }
  .publication, .publication.highlight { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .pub-year { display: none; }
  .pub-title { font-size: 17px; }
  .pub-authors, .pub-venue, .section-note { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { --bg: #fff; --text: #111; --muted: #444; --accent: #333; --link: #333; --line: #bbb; --soft-accent: #eee; }
  .layout { width: 100%; display: block; padding: 0; }
  .sidebar { position: static; }
  .avatar { width: 90px; }
  .topnav { display: none; }
  .publication { break-inside: avoid; }
}
