:root {
  --bg: #f7f8fa;
  --panel: #ffffff;
  --text: #20242a;
  --muted: #626a75;
  --line: #dfe4ea;
  --accent: #2f6f73;
  --accent-strong: #174f56;
  --link: #1d63a7;
  --shadow: 0 18px 45px rgba(30, 41, 59, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
}

.profile {
  position: sticky;
  top: 32px;
  align-self: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.avatar {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  margin: 0 auto 22px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.profile h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0;
}

.name-cn,
.role,
.affiliation,
.location {
  margin: 6px 0 0;
  color: var(--muted);
  text-align: center;
}

.role {
  margin-top: 18px;
  color: var(--text);
  font-weight: 600;
}

.icon-links {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.icon-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-strong);
  background: #fbfcfd;
  font-size: 19px;
}

.icon-links a:hover {
  border-color: var(--accent);
  background: #edf5f4;
  text-decoration: none;
}

.content {
  min-width: 0;
}

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

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

h2 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0 0 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  padding: 5px 10px;
  border: 1px solid #bfd0d1;
  border-radius: 6px;
  background: #edf5f4;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 600;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 0;
}

.timeline time {
  color: var(--accent-strong);
  font-weight: 700;
}

.news-list {
  padding-left: 20px;
  margin: 0;
}

.news-list li {
  margin: 0 0 9px;
}

.date {
  color: var(--accent-strong);
  font-weight: 700;
}

.star-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 3px;
  vertical-align: text-bottom;
}

.star-badge img {
  height: 20px;
  display: block;
}

.publication {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.publication:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.authors,
.venue {
  color: var(--muted);
}

.venue {
  font-style: italic;
}

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

.pub-links a {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  border-radius: 6px;
  padding: 4px 10px;
}

.pub-links a:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 28px, 680px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 24px;
  }

  .profile {
    position: static;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
