:root {
  --bg: #f7f8fa;
  --panel: #ffffff;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dfe3e8;
  --accent: #1f6feb;
  --accent-soft: #eaf2ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

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

a:hover {
  text-decoration: underline;
}

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

.nav {
  display: flex;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 28px;
  overflow-x: auto;
  white-space: nowrap;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 44px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 28px 72px;
}

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

.portrait {
  width: 160px;
  height: 192px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #edf0f3;
}

.profile h1 {
  margin: 18px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.english-name {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 18px;
}

.role {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  color: #1554b7;
  background: var(--accent-soft);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.profile p {
  margin: 0 0 14px;
}

.links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.links a {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
  font-weight: 600;
}

.content {
  min-width: 0;
}

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

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

.section h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.25;
}

.section p {
  margin: 0 0 14px;
}

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

.timeline li,
.plain-list li {
  margin-bottom: 10px;
}

.timeline time {
  display: inline-block;
  min-width: 145px;
  color: var(--muted);
  font-weight: 700;
}

.publication {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

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

.publication h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.42;
}

.publication p {
  margin: 0 0 4px;
}

.pub-year {
  width: 58px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #1554b7;
  background: var(--accent-soft);
  border-radius: 6px;
  font-weight: 800;
}

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

.ccf {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  color: #1554b7;
  background: var(--accent-soft);
  border: 1px solid #c8dcff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  vertical-align: 1px;
}

.ccf-a {
  color: #8a4b05;
  background: #fff4df;
  border-color: #f2d09b;
}

address {
  font-style: normal;
}

@media (max-width: 820px) {
  .page {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 20px 56px;
  }

  .profile {
    position: static;
  }

  .nav {
    padding-inline: 20px;
  }

  .timeline time {
    display: block;
    min-width: 0;
  }
}

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

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