/* Option C: Minimal — 极简留白、左侧固定栏 + 竖向链接 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}
a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.75; }

/* 左侧固定栏：不随滚轮滑动 */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-right: 1px solid #eee;
}
.sidebar .avatar-container { margin-bottom: 20px; }
.sidebar .avatar {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
}
.sidebar .name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.sidebar .title {
  font-size: 15px;
  color: #666;
  margin: 0 0 28px;
  font-weight: 500;
}
/* 联系链接竖向排列 */
.sidebar .contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.sidebar .contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
.sidebar .link-meta {
  font-size: 13px;
  color: #888;
  font-weight: 400;
  text-decoration: none;
}

/* 右侧主内容区：可滚动 */
.main {
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}
.main-content-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.main-inner {
  max-width: 1120px;
  width: 100%;
  padding: 64px 28px 80px;
}

/* 右侧半透明目录 */
.toc {
  flex-shrink: 0;
  width: 200px;
  position: sticky;
  top: 32px;
  padding: 20px 0;
  margin-right: 24px;
}
.toc-inner {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.toc-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
  padding-left: 2px;
}
.toc-link {
  display: block;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding: 8px 10px;
  margin: 2px -10px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: color 0.2s, background 0.2s;
}
.toc-link:hover {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.04);
}
.toc-link.active {
  color: #1a1a1a;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
  border-left-color: #1a1a1a;
}
.section { margin-bottom: 56px; }

/* Section title — 比正文大 */
.section-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin: 0 0 20px;
}
.details p { margin: 0 0 16px; }
.research-interests {
  margin: 12px 0 0;
  padding-left: 24px;
}
.research-interests li { margin-bottom: 10px; font-size: 17px; }

/* Experience */
.news-section .section-title { margin-bottom: 24px; }
.news-section ul { padding-left: 24px; margin: 12px 0 0; }
.experience-item .company {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.experience-item .company:first-of-type { margin-top: 0; }
.company-name { font-weight: 600; font-size: 17px; }
.time-period { font-size: 15px; color: #666; }
.role-title { font-size: 16px; color: #666; margin: 6px 0 12px; font-style: italic; }
.news-section li { margin-bottom: 14px; }

/* Paper card */
.paper-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #1a1a1a;
  overflow: hidden;
}
.paper-card + .paper-card {
  margin-top: 32px;
}
.paper-card-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.paper-card-fig {
  flex-shrink: 0;
  margin: 0;
  width: 480px;
  min-height: 260px;
  max-height: 420px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.paper-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.paper-card-body {
  flex: 1;
  min-width: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.paper-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.paper-authors {
  font-size: 15px;
  color: #555;
  margin: 0 0 6px;
}
.paper-authors strong {
  color: #1a1a1a;
  font-weight: 600;
}
.paper-author-note {
  font-size: 13px;
  color: #888;
  margin: -2px 0 6px;
}
.paper-meta {
  font-size: 14px;
  color: #888;
  margin: 0 0 16px;
}
.paper-abstract {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  margin: 0 0 20px;
}
.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.paper-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s;
}
.paper-link-arxiv {
  background: #1a1a1a;
  color: #fff;
}
.paper-link-arxiv:hover {
  opacity: 0.9;
  background: #333;
}
.paper-link-github {
  background: #f0f0f0;
  color: #1a1a1a;
}
.paper-link-github:hover {
  background: #e5e5e5;
}

.clustrmaps-wrap { margin: 48px 0; min-height: 120px; }

@media (max-width: 1024px) {
  .toc { display: none; }
}

@media (max-width: 720px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 40px 24px 24px;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #eee;
    background: #fff;
  }
  .sidebar .contact { align-items: center; }
  .main { margin-left: 0; display: block; }
  .main-content-wrap { display: block; }
  .main-inner { padding: 48px 20px 60px; max-width: none; }
  .experience-item .company { flex-direction: column; align-items: flex-start; }
  .paper-card-inner { flex-direction: column; }
  .paper-card-fig {
    width: 100%;
    min-height: 180px;
    max-height: 240px;
  }
  .paper-card-fig img { object-fit: contain; }
  .paper-card-body { padding: 20px; }
}
