:root {
  color-scheme: light;
  --text: #262b33;
  --muted: #787e87;
  --link: #315d84;
  --line: #e8ebee;
  --surface: #f8f9fb;
  --serif: Georgia, "Times New Roman", "Noto Serif CJK SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 6px; border-radius: 2px; }
svg { flex-shrink: 0; }
.skip-link { position: absolute; left: 20px; top: -70px; z-index: 2; background: #fff; border: 1px solid var(--link); padding: 7px 15px; font: 15px/1.6 var(--sans); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .page, .footer-inner { width: min(880px, calc(100% - 64px)); margin-inline: auto; }
.header-inner { min-height: 93px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.site-name { color: var(--text); font-size: 23px; font-weight: 700; letter-spacing: -.7px; line-height: 1.2; white-space: nowrap; }
.site-name:hover { text-decoration: none; }
.name-dot { color: var(--link); }
nav { display: flex; align-items: center; gap: 29px; font: 14px/1.5 var(--sans); }
nav a { color: #626973; white-space: nowrap; padding-block: 12px; }
nav a:hover { color: var(--link); }
.page { padding-top: 67px; }
.profile { display: grid; grid-template-columns: 150px 1fr; gap: 40px; align-items: center; }
.portrait { display: block; width: 150px; height: 200px; object-fit: cover; border-radius: 7px; border: 1px solid #f0f1f3; background: #fff; }
h1 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -.8px; line-height: 1.4; }
.chinese-name { display: inline-block; margin-left: 13px; color: #757b83; font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif; font-size: 23px; font-weight: 400; letter-spacing: 2px; vertical-align: 2px; }
.profile-details { min-width: 0; }
.profile-note { margin: 8px 0 9px; color: var(--text); font-size: 17px; line-height: 1.65; }
.profile-affiliation { color: var(--muted); font-size: 16px; }
.profile-email { display: inline-block; margin-bottom: 12px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.profile-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.profile-link { display: inline-flex; align-items: center; gap: 7px; font: 14px/1.6 var(--sans); }
.profile-link span { font-size: 14px; margin-left: 1px; }
.biography { margin-top: 43px; }
.biography p { margin: 0 0 17px; }
.biography p:last-child { margin-bottom: 0; }
.research-list { margin: 0; padding-left: 23px; }
.research-list li { padding-left: 3px; margin-block: 4px; }
.research-list li::marker { color: var(--link); font-size: .8em; }
h2 { margin: 0 0 18px; color: var(--text); font-size: 26px; font-weight: 500; letter-spacing: -.35px; line-height: 1.5; }
p { margin-top: 0; }
.placeholder { color: var(--muted); font-size: 17px; margin: 0; }
.content-section { margin-top: 39px; padding-top: 33px; border-top: 1px solid var(--line); }
.publications-section { margin-bottom: 62px; }
.empty-publications { min-height: 105px; display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: var(--surface); border-radius: 5px; color: var(--muted); }
.publication-icon { color: #8b97a3; }
.empty-publications p { margin: 0; font-size: 16px; }
.publication { margin-block: 24px; padding-left: 20px; border-left: 2px solid var(--line); }
.publication h3 { font-size: 18px; font-weight: 600; line-height: 1.6; margin: 0 0 5px; }
.publication p { font-size: 16px; margin: 0 0 5px; }
.publication .venue { color: var(--muted); font-style: italic; }
.publication-links { display: flex; gap: 14px; font: 13px/1.8 var(--sans); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 25px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 12px/1.8 var(--sans); color: #9298a0; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #7b838e; }
.footer-inner a span { margin-left: 5px; }

@media (max-width: 650px) {
  .header-inner, .page, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 103px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; padding-block: 16px 12px; }
  .site-name { font-size: 22px; }
  nav { width: 100%; gap: 25px; font-size: 12px; }
  nav a { padding-block: 3px; }
  .page { padding-top: 37px; }
  .profile { grid-template-columns: 104px minmax(0, 1fr); gap: 23px; align-items: start; }
  .portrait { width: 104px; height: 139px; border-radius: 5px; }
  h1 { font-size: 28px; line-height: 1.35; }
  .chinese-name { display: block; margin: 6px 0 0; font-size: 18px; }
  .profile-note { font-size: 14px; margin: 9px 0 10px; }
  .profile-affiliation { font-size: 13px; }
  .profile-email { font-size: 12px; margin-bottom: 10px; }
  .profile-links { gap: 13px; }
  .profile-link { font-size: 12px; }
  .biography { margin-top: 38px; }
  .biography, .research-list { font-size: 16px; }
  h2 { font-size: 24px; margin-bottom: 14px; }
  .placeholder { font-size: 16px; }
  .content-section { margin-top: 31px; padding-top: 27px; }
  .empty-publications { min-height: 96px; padding: 20px; gap: 12px; }
  .empty-publications p { font-size: 15px; }
  .publications-section { margin-bottom: 43px; }
  .footer-inner { font-size: 11px; padding-block: 21px 26px; }
}

@media (max-width: 359px) {
  nav { gap: 18px; font-size: 11px; }
  .profile { grid-template-columns: 89px minmax(0, 1fr); gap: 18px; }
  .portrait { width: 89px; height: 119px; }
  h1 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
