:root {
  --bg: #ffffff;
  --panel: #f7f8fa;
  --panel-strong: #f2f5f9;
  --text: #1f2933;
  --muted: #667085;
  --line: #d9dee7;
  --line-soft: #e8edf3;
  --link: #2b6cb0;
  --link-hover: #174a7c;
  --accent: #eef5ff;
  --accent-strong: #dbeafe;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f8fafc 0, #ffffff 260px),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 52px;
  padding: 38px 0 60px;
}

.profile-card {
  position: sticky;
  top: 28px;
  align-self: start;
  width: 100%;
  min-width: 0;
  padding: 24px 22px 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.content {
  min-width: 0;
}

.portrait {
  width: 220px;
  height: 220px;
  display: block;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.16);
  object-fit: cover;
  object-position: 58% 42%;
}

.profile-card h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.chinese-name {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.role {
  margin: 12px 0 4px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}

.affiliation {
  margin: 0;
  color: var(--muted);
}

.profile-links {
  display: grid;
  gap: 9px;
  max-width: 100%;
  margin-top: 24px;
}

.profile-links a {
  display: block;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.topbar {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.07);
  backdrop-filter: blur(16px);
}

.topbar a {
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.topbar a:hover {
  background: var(--accent);
  color: var(--link-hover);
  text-decoration: none;
}

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

.section:first-of-type {
  padding-top: 42px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--link);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 18px;
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.intro h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 18px;
}

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

p {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

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

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

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  background: var(--accent);
  border: 1px solid var(--accent-strong);
  border-radius: 6px;
  color: #234b73;
  font-weight: 650;
}

.news-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.news-list time,
.timeline time,
.venue {
  color: var(--muted);
  font-weight: 650;
}

.publication {
  padding: 20px 0;
}

.publication + .publication {
  border-top: 1px solid var(--line-soft);
}

.authors,
.venue,
.doi {
  margin-bottom: 4px;
}

.doi {
  color: var(--muted);
  font-size: 0.95rem;
}

.highlight-publication {
  padding: 20px;
  background: var(--panel-strong);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.publication + .highlight-publication,
.highlight-publication + .publication {
  margin-top: 16px;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.paper-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #b7cee8;
  border-radius: 5px;
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 0.18s ease, border-color 0.18s ease;
}

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

.patent-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.patent-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 12px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.logo-list article {
  grid-template-columns: 68px 160px minmax(0, 1fr);
  align-items: start;
}

.logo-frame {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.org-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-sdu {
  width: 62px;
  height: 62px;
}

.logo-haier {
  width: 58px;
}

.timeline p {
  color: var(--muted);
}

.timeline p + p {
  margin-top: -8px;
}

.award-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.award-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.award-list time {
  color: var(--muted);
  font-weight: 650;
}

.award-list span {
  font-weight: 650;
}

.empty-section {
  min-height: 96px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(720px, calc(100% - 32px));
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
  }

  .profile-card {
    position: static;
    display: grid;
    justify-items: center;
    padding: 22px 18px 24px;
  }

  .portrait {
    width: 176px;
    height: 176px;
  }

  .profile-links {
    width: min(420px, 100%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .profile-links a {
    font-size: 0.95rem;
  }

  .topbar {
    overflow-x: auto;
    top: 8px;
  }
}

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

  .page-shell {
    width: min(100% - 24px, 720px);
  }

  .profile-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 6px;
  }

  .topbar a {
    flex: 1 1 calc(33.333% - 6px);
    padding: 7px 5px;
    text-align: center;
    font-size: 0.82rem;
  }

  .news-list li,
  .timeline article,
  .logo-list article,
  .award-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .logo-frame {
    margin-bottom: 6px;
  }

  .footer {
    flex-direction: column;
  }
}
