:root {
  --background: #ffffff;
  --text: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --link: #1a73e8;
  --link-hover: #174ea6;
  --soft: #f8fafd;
  --max-width: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-width);
  min-height: 56px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

nav a {
  color: #3c4043;
}

nav a.is-active {
  color: var(--link);
  font-weight: 700;
}

.page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 24px 56px;
}

.profile {
  align-self: start;
  position: sticky;
  top: 88px;
  text-align: center;
}

.portrait {
  display: block;
  width: 168px;
  height: 208px;
  margin: 0 auto 20px;
  border-radius: 4px;
  object-fit: cover;
  object-position: center top;
}

.profile h1 {
  margin-bottom: 2px;
  font-size: 1.72rem;
  line-height: 1.2;
}

.name-cn {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.role,
.affiliation {
  margin-bottom: 4px;
  color: #3c4043;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.contact-list a,
.contact-list button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  font: inherit;
  cursor: pointer;
}

.contact-list a:hover,
.contact-list button:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.content {
  min-width: 0;
}

.section {
  padding: 0 0 32px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.25;
}

.intro p {
  font-size: 1.02rem;
}

.section p {
  margin-bottom: 10px;
}

.pub-year {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.publication {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
}

.publication + .publication {
  border-top: 1px solid #eceff1;
}

.pub-main h3 {
  margin-bottom: 6px;
  color: #202124;
  font-size: 1.04rem;
  line-height: 1.42;
}

.pub-main p {
  margin-bottom: 4px;
}

.venue {
  color: #3c4043;
  font-style: italic;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
}

.pub-links a {
  font-size: 0.94rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .page {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px 42px;
  }

  .profile {
    position: static;
  }

  .portrait {
    width: 144px;
    height: 178px;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 4px;
  }

}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .page,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section h2 {
    font-size: 1.34rem;
  }

  .contact-list {
    gap: 6px 12px;
  }
}

.section {
  scroll-margin-top: 88px;
}

.contact-list a {
  overflow-wrap: anywhere;
  max-width: 100%;
}
