:root {
  --bg: #ffffff;
  --text: #1f2328;
  --muted: #5f6b7a;
  --line: #d8dee6;
  --link: #1a73e8;
  --link-hover: #0b57d0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

.container {
  width: min(860px, 90vw);
  margin: 0 auto;
}

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

.nav {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  font-size: 15px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
}

.content {
  padding: 28px 0 56px;
}

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

.name-zh {
  font-size: 0.76em;
  font-weight: 500;
  color: #4f5b67;
  margin-left: 0.28em;
  letter-spacing: 0.02em;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 12px;
}

.links {
  margin: 0 0 26px;
}

.sep {
  color: var(--line);
  margin: 0 8px;
}

h2 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 24px;
}

p,
li {
  font-size: 16px;
}

a {
  color: var(--link);
}

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

ul {
  margin-top: 8px;
  padding-left: 22px;
}

.pub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
}

.pub-card {
  background: transparent;
  border: 1px solid #d6e3f8;
  border-radius: 14px;
  padding: 16px 16px 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pub-card:hover {
  transform: translateY(-5px);
  border-color: #9ec0f3;
  box-shadow: 0 10px 22px rgba(57, 98, 163, 0.1);
}

.pub-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

.pub-title a {
  text-decoration: none;
  color: #1f2b3d;
}

.pub-authors {
  margin: 10px 0 0;
  color: #334155;
}

.author-me {
  background: #e0e7fc;
  color: #000000;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 600;
}

.pub-venue {
  margin: 6px 0 0;
  color: #2563eb;
  font-style: italic;
  letter-spacing: 0.01em;
}

.pub-links {
  margin: 12px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pub-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9px;
  border: 1px solid #c6d4ea;
  background: #f7faff;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  transition: border-color 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.pub-btn:hover {
  border-color: #93b5ea;
  background: #edf4ff;
  transform: translateY(-1px);
}

.institution-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  padding: 0;
  color: #000000;
  text-decoration: none;
  vertical-align: -0.08em;
}

.institution-brand:hover {
  color: #8ee1ff;
}

.institution-brand img {
  width: 1em;
  height: 1em;
  display: block;
  transform: translateY(0.08em);
}

.institution-brand span {
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1;
}

.people-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
  padding: 0;
  color: #81A6C6;
  font-weight: 700;
  text-decoration: none;
  vertical-align: -0.02em;
}

.people-brand:hover {
  color: #8ee1ff;
}

@media (max-width: 640px) {
  .profile h1 {
    font-size: 30px;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
  }

  .pub-title {
    font-size: 17px;
  }
}
