:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-title: Georgia, "Times New Roman", Times, serif;
  --font-song: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --link-color: #1a73e8;
  --link-hover: #dd6b20;
  --text-color: #1a1a1a;
  --muted-text: #555555;
  --highlight: #eef6f6;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
td,
th,
tr,
p,
a {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-color);
}

body {
  margin: 0;
}

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

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

strong {
  font-weight: 700;
}

em {
  color: var(--muted-text);
  font-style: italic;
}

h2 {
  margin: 0;
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 27px;
}

.page {
  width: 100%;
  max-width: 984px;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.page-cell {
  padding: 0 16px;
}

.section {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.header {
  padding: 16px 0 0;
  text-align: center;
}

.name {
  padding-top: 16px;
  margin: 0;
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 400;
}

.name .zh {
  font-family: var(--font-song);
  font-size: 40px;
  margin-left: 8px;
}

.email {
  text-align: center;
  color: var(--muted-text);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 8px 0 0;
}

.intro td {
  padding-top: 16px;
  padding-bottom: 16px;
}

.bio {
  width: 60%;
  vertical-align: top;
}

.bio p:first-child {
  margin-top: 0;
}

.photo-cell {
  width: 40%;
  padding-left: 16px;
  vertical-align: top;
  text-align: center;
}

.profile-frame {
  display: inline-block;
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.7s ease-in-out;
}

.news td,
.section:not(.intro) > tbody > tr > td {
  padding: 16px 0;
  width: 100%;
  vertical-align: middle;
}

.news p {
  margin: 4px 0;
}

.news .date {
  display: inline-block;
  min-width: 82px;
  color: #333333;
  font-weight: 700;
}

.publications {
  width: 100%;
  border: 0;
  border-spacing: 0 12px;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.thumb-cell {
  padding: 12px 4px 12px 12px;
  width: 208px;
  vertical-align: middle;
}

.pub {
  padding: 12px 12px 12px 4px;
  width: auto;
  vertical-align: middle;
  font-size: 15px;
  line-height: 1.5;
}

.papertitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

tr.highlight td {
  background-color: var(--highlight);
}

tr.highlight td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

tr.highlight td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.thumb {
  width: 100%;
  max-width: 192px;
  border-radius: 8px;
}

.thumb-placeholder {
  width: 100%;
  max-width: 192px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef2f7, #d9e2ec);
  color: #486581;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 8px;
  box-sizing: border-box;
}

.empty-thumb {
  background: transparent;
}

.footer p {
  text-align: right;
  font-size: small;
}

@media (max-width: 720px) {
  .intro,
  .intro tbody,
  .intro tr,
  .intro td {
    display: block;
    width: 100%;
  }

  .photo-cell {
    padding-left: 0;
  }

  .publications,
  .publications tbody,
  .publications tr,
  .publications td {
    display: block;
    width: 100%;
  }

  .thumb-cell {
    box-sizing: border-box;
    padding: 12px 12px 4px;
  }

  .pub {
    box-sizing: border-box;
    padding: 4px 12px 12px;
  }

  tr.highlight td:first-child {
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
  }

  tr.highlight td:last-child {
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
  }
}
