:root {
  --ink: #1d1d1f;
  --muted: #48484d;
  --link: #0066cc;
  --soft: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'PingFang SC', sans-serif;
  color: var(--ink);
  background: var(--soft);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #0071e3; outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: auto; padding: 0 48px; }
.header { position: sticky; top: 16px; z-index: 10; display: flex; justify-content: space-between; align-items: center; width: calc(100% - 48px); max-width: 1104px; min-height: 64px; padding: 12px 25px; margin-top: 16px; border: 1px solid #ffffffa6; border-radius: 20px; background: #ffffffd9; backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 4px 24px #00000004; }
.wordmark { font-size: 18px; font-weight: 650; color: var(--ink); letter-spacing: -.5px; white-space: nowrap; }
nav { display: flex; gap: 27px; align-items: center; font-size: 14px; }
nav a { color: #333336; }
nav button { border: 0; border-radius: 20px; padding: 5px 12px; background: #ececf1; color: #333336; font-size: 13px; }
.intro { padding: 68px 0 64px; text-align: left; }
.intro-copy { max-width: 880px; margin: 0; }
h1 { font-size: 44px; line-height: 1.2; font-weight: 650; margin: 0 0 18px; letter-spacing: -1.3px; }
.chinese-name { display: inline-block; vertical-align: middle; font-size: 25px; font-weight: 450; margin-left: 18px; letter-spacing: 3px; color: #424245; }
.affiliation { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 550; color: #424245; margin: 0 0 24px; background: #e8e8ed; padding: 5px 17px; border-radius: 30px; }
.bio { max-width: 840px; margin: 0; font-size: 19px; line-height: 1.75; color: #37373d; letter-spacing: -.25px; }
.intro-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 26px; }
.intro-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 8px 22px; border-radius: 30px; font-size: 16px; font-weight: 500; color: #1d1d1f; background: #e9e9ee; transition: background .2s ease; }
.intro-links a:first-child { background: #0071e3; color: #fff; }
.intro-links a:hover { text-decoration: none; background: #dddde5; }
.intro-links a:first-child:hover { background: #0077ed; }
.section { padding-bottom: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; padding: 0; }
.section-heading h2 { font-size: 27px; line-height: 1.3; font-weight: 600; margin: 0; letter-spacing: -.6px; }
.author-legend { margin: 0; font-size: 14px; color: #48484d; white-space: nowrap; }
.author-legend sup { font-size: 12px; margin-right: 3px; }
.paper { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: center; padding: 34px; background: #fff; border-radius: 26px; box-shadow: 0 5px 22px #00000004; transition: box-shadow .25s ease, transform .25s ease; }
.paper + .paper { margin-top: 22px; }
.paper-thumbnail { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 222px; height: 100%; padding: 18px; border-radius: 16px; background: #f5f7fb; }
.paper:has([data-citation="drassistant"]) .paper-thumbnail { background: #f4f3f9; }
.paper:has([data-citation="neuropump"]) .paper-thumbnail { background: #f0f7f8; }
.paper-thumbnail img { display: block; width: 100%; height: auto; max-height: 270px; object-fit: contain; mix-blend-mode: multiply; }
.paper-copy { min-width: 0; }
.paper h3 { font-size: 21px; line-height: 1.5; font-weight: 650; letter-spacing: -.3px; margin: 0 0 13px; }
.paper h3 a { color: #1d1d1f; }
.paper h3 a:hover { color: #0066cc; text-decoration: none; }
.authors { font-size: 17px; line-height: 1.8; color: #38383d; margin: 0 0 11px; }
.authors .own-name { color: #0054ad; font-weight: 750; }
.corresponding-marker { font-size: 12px; color: #38383d; margin-left: 1px; }
.paper-meta { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.badge { display: inline-block; font-size: 14px; font-weight: 600; color: #335477; background: #edf4fb; padding: 3px 10px; border-radius: 7px; }
.paper-description { font-size: 17px; line-height: 1.75; color: #424247; margin: 0 0 18px; }
.paper-links { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.paper-links a, .paper-links button { display: inline-flex; align-items: center; justify-content: center; color: #34343b; padding: 6px 15px; background: #f0f0f4; border: 0; border-radius: 24px; line-height: 1.6; font-size: 15px; font-weight: 500; transition: background .2s ease; }
.paper-links a:first-child { color: #fff; background: #0071e3; }
.paper-links a:hover, .paper-links button:hover { text-decoration: none; background: #e3e3eb; }
.paper-links a:first-child:hover { background: #0077ed; }
.education .section-heading { margin-bottom: 28px; }
.education-row { display: flex; align-items: center; gap: 24px; padding: 32px 34px; background: #fff; border-radius: 24px; }
.year { order: 2; margin-left: auto; font-size: 16px; color: #48484d; white-space: nowrap; }
.education-row h3 { font-size: 21px; font-weight: 600; margin: 0 0 5px; letter-spacing: -.5px; }
.education-row p { font-size: 17px; color: #424247; margin: 0; }
footer { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 36px; font-size: 14px; }
footer a { color: #48484d; }
footer > a:first-child span { margin-left: 7px; }
dialog { border: 0; border-radius: 24px; max-width: min(740px, 92vw); padding: 30px; background: #fff; color: var(--ink); box-shadow: 0 24px 120px #0003; }
dialog::backdrop { background: #16161c55; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { font-size: 22px; font-weight: 600; margin: 0; }
.dialog-heading button { display: grid; place-items: center; width: 34px; height: 34px; font-size: 25px; border: 0; border-radius: 50%; background: #eeeef2; color: #48484d; }
pre { font: 14px/1.8 monospace; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--soft); padding: 18px; border-radius: 12px; }
.copy-button { border: 0; border-radius: 24px; background: #0071e3; padding: 9px 19px; font-size: 15px; color: #fff; }
#copy-status { display: inline-block; font-size: 13px; margin-left: 12px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .paper:hover { transform: translateY(-3px); box-shadow: 0 12px 35px #00000009; } }
@media (max-width: 960px) {
  .wrap { padding: 0 32px; }
  .header { padding: 12px 22px; }
  .paper { grid-template-columns: 220px minmax(0, 1fr); padding: 26px; gap: 26px; }
  .paper-thumbnail { padding: 12px; }
  .paper h3 { font-size: 20px; }
}
@media (max-width: 760px) {
  .paper { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .paper-thumbnail { min-height: 180px; padding: 22px; }
  .paper-thumbnail img { max-height: 240px; }
  .intro { padding: 64px 0; }
  .section-heading h2 { font-size: 26px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .header { width: calc(100% - 24px); top: 10px; margin-top: 10px; min-height: 58px; padding: 11px 15px; gap: 12px; border-radius: 17px; flex-wrap: wrap; }
  .wordmark { font-size: 16px; }
  nav { gap: 13px; font-size: 12px; }
  nav button { font-size: 12px; padding: 4px 8px; }
  .intro { padding: 62px 9px 60px; }
  h1 { font-size: 36px; letter-spacing: -1px; margin-bottom: 18px; }
  .chinese-name { display: inline-block; font-size: 22px; margin: 0 0 0 15px; letter-spacing: 3px; }
  .affiliation { font-size: 15px; margin-bottom: 22px; }
  .bio { font-size: 18px; line-height: 1.8; letter-spacing: -.2px; }
  .intro-links { gap: 9px; margin-top: 25px; }
  .intro-links a { padding: 8px 16px; font-size: 15px; min-height: 43px; }
  .section { padding-bottom: 48px; }
  .section-heading { flex-wrap: wrap; gap: 10px; padding: 0; margin-bottom: 23px; }
  .section-heading h2 { font-size: 25px; letter-spacing: -.5px; }
  .author-legend { font-size: 13px; }
  .paper { padding: 20px; border-radius: 22px; gap: 23px; }
  .paper-thumbnail { min-height: 155px; padding: 12px; border-radius: 12px; }
  .paper-thumbnail img { max-height: 220px; }
  .paper h3 { font-size: 20px; line-height: 1.5; }
  .authors, .paper-description { font-size: 17px; }
  .paper-links { gap: 8px; }
  .paper-links a, .paper-links button { font-size: 15px; padding: 7px 14px; }
  .education-row { padding: 24px; flex-wrap: wrap; gap: 12px; border-radius: 22px; }
  .education-row h3 { font-size: 20px; }
  .education-row p { font-size: 16px; }
  .year { font-size: 15px; }
  footer { font-size: 13px; padding: 0 6px 26px; }
  dialog { padding: 23px; border-radius: 20px; }
}
@media (max-width: 360px) {
  nav { gap: 11px; }
  .wordmark { font-size: 15px; }
  .intro { padding-right: 4px; padding-left: 4px; }
  .paper { padding: 18px; }
  .paper h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .paper, .paper-links a, .paper-links button, .intro-links a { transition: none; }
}

.bio + .bio { margin-top: 16px; }
.bio a { color: #0054ad; font-weight: 550; }
